@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #2b3e4f;
  --deep: #2b3e4f;
  --muted: #475a6b;
  --accent: #0075b0;
  --accent-light: #bfebff;
  --surface: #eef3f8;
  --field-border: #6e8294;
  --paper: #ffffff;
  --line: #bfbfc1;
  font-family: "Instrument Sans", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; width: 100%; object-fit: cover; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 3px white; }
.wrap { width: min(100% - 3rem, 78rem); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 2; background: white; padding: .5rem; transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); }
.header-inner, .footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header-inner { min-height: 5rem; padding-block: .7rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; flex: none; }
.brand-text { display: grid; justify-items: start; gap: .2rem; }
.brand img { width: 3rem; height: auto; flex: none; }
.brand-tagline { font-size: .75rem; font-style: italic; font-weight: 600; line-height: 1.2; white-space: nowrap; color: var(--muted); }
.brand-name { font-weight: 700; line-height: 1.1; white-space: nowrap; }
nav { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem 1.35rem; }
nav a { display: inline-flex; align-items: center; min-height: 2.75rem; text-decoration: none; font-weight: 650; }
nav a:hover, footer a:hover { text-decoration: underline; }
.utility { padding-inline: .85rem; border: 1px solid var(--field-border); }
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); background: var(--deep); color: white; }
.hero-copy { padding: clamp(3rem, 7vw, 7rem) clamp(1.5rem, 5vw, 5.5rem); align-self: center; }
.label { margin: 0 0 1.2rem; font-weight: 750; font-size: .875rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.hero .label { color: var(--accent-light); }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
}
h1 { font-size: clamp(3.15rem, 7.5vw, 7.4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2rem, 4.3vw, 4rem); margin-bottom: 1.35rem; max-width: 19ch; }
h3 { margin-bottom: .45rem; font-size: 1.25rem; }
.lead { font-size: clamp(1.12rem, 1.75vw, 1.45rem); max-width: 33ch; }
.button { display: inline-block; padding: .8rem 1.25rem; margin-top: .65rem; background: var(--accent); color: white; text-decoration: none; font-weight: 750; }
.button:hover { background: var(--deep); }
.hero .button:hover { background: white; color: var(--deep); }
.hero-photo { position: relative; min-height: 25rem; background: var(--deep); }
.hero-photo img { position: absolute; inset: 0; height: 100%; }
.hero-photo span { position: absolute; bottom: 1rem; right: 1rem; padding: .45rem .75rem; background: var(--deep); font-size: .875rem; }
.expertise, .fieldwork, .about { padding-block: clamp(3rem, 7vw, 6rem); }
.expertise { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; }
.details article { padding-block: 1.2rem; border-top: 1px solid var(--line); }
.details p, .about > p:last-child, .orientation-panel p { color: var(--muted); margin-bottom: 0; max-width: 64ch; }
.fieldwork { background: var(--surface); }
.photo-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 1rem; margin-top: 2rem; }
figure { margin: 0; }
figure img { height: clamp(15rem, 34vw, 31rem); background: var(--surface); }
figcaption { margin-top: .6rem; color: var(--muted); }
footer { background: var(--deep); color: white; padding-block: 1.4rem; }
footer a { color: var(--accent-light); }
.orientation { background: var(--surface); padding-block: clamp(3rem, 8vw, 7rem); min-height: 75vh; }
.orientation h1 { font-size: clamp(2.75rem, 6vw, 5.5rem); }
.orientation-panel { background: var(--paper); max-width: 42rem; padding: clamp(1.25rem, 4vw, 2.25rem); border-top: 4px solid var(--accent); }
.orientation-panel .notice { background: var(--surface); padding: .85rem 1rem; }
.orientation-panel ol { padding-left: 1.5rem; margin-bottom: 0; }
.orientation-panel li { padding: .8rem 0 .4rem .35rem; }
.orientation-panel li::marker { font-weight: 750; }
.orientation-panel h2 { font-size: 1.3rem; letter-spacing: -.02em; margin-bottom: .4rem; }
@media (max-width: 52rem) {
  .header-inner { align-items: flex-start; flex-direction: column; gap: .65rem; }
  nav { gap: .1rem .85rem; }
  .hero, .expertise { grid-template-columns: 1fr; }
  .hero-photo { min-height: clamp(15rem, 61vw, 30rem); }
}
@media (max-width: 34rem) {
  .wrap { width: calc(100% - 2rem); }
  .photo-grid { grid-template-columns: 1fr; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
}

nav a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-underline-offset: .3em; }
.hero h1 { font-size: clamp(2.65rem, 5.4vw, 5.75rem); }
.hero-copy > p:not(.label) { max-width: 55ch; }
.page-intro { background: var(--deep); color: white; }
.page-intro .label { color: var(--accent-light); }
.cares { background: var(--surface); border-top: 1px solid var(--line); }
.cares h2 { margin-bottom: 0; }
.cares p:last-child { margin-bottom: 0; font-size: 1.125rem; max-width: 65ch; }
.page-intro, .section { padding-block: clamp(2.75rem, 6vw, 5rem); }
.page-intro h1 { max-width: 20ch; font-size: clamp(2.65rem, 6vw, 5.5rem); }
.page-intro p:not(.label) { max-width: 68ch; }
.cards, .project-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.cards article, .inquiry { background: var(--surface); border-top: 3px solid var(--accent); padding: clamp(1.2rem, 3vw, 2rem); }
.cards p:last-child { margin-bottom: 0; }
.project-grid img { height: auto; aspect-ratio: 4 / 3; }
.project-grid figcaption span { display: block; }
.modalities { display: flex; flex-wrap: wrap; gap: .7rem; padding: 0; list-style: none; }
.modalities li { padding: .55rem .7rem; border: 1px solid var(--field-border); }
.pending { font-weight: 650; }
button.button { border: 0; font: inherit; font-weight: 750; }
button.button:disabled { background: #e2e8ef; color: var(--muted); }
.inquiry fieldset { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.inquiry label { display: block; margin-bottom: .8rem; font-weight: 650; }
.inquiry input, .inquiry textarea { display: block; width: 100%; margin-top: .25rem; padding: .55rem; border: 1px solid var(--field-border); border-radius: 0; background: var(--paper); font: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (min-width: 53rem) { .contact-layout { grid-template-columns: 2fr 3fr; } }

.photo-split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.photo-split p:last-child { margin-bottom: 0; }
.home-feature img { object-position: 35% center; }
.cares img { height: auto; }
.cares p:last-child { margin: 1.5rem auto 0; }
.values { padding-bottom: clamp(2.75rem, 6vw, 5rem); }
.value-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}
.value-list article, .service-steps li, .resource-list li {
  border-top: 1px solid var(--line);
  padding-block: 1rem;
}
.value-list p, .service-steps p, .resource-list p { margin-bottom: 0; }
.service-steps { max-width: 70ch; padding-inline-start: 2rem; margin-bottom: 0; }
.service-steps li { padding-inline-start: .5rem; }
.service-steps li::marker { color: var(--accent); font-weight: 750; }
.portfolio-feature { margin-bottom: clamp(2rem, 5vw, 4rem); }
.portfolio-pair {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  align-items: start;
  gap: 1rem;
}
.portfolio-pair img { height: auto; }
.safety-practices h2 { max-width: none; }
.safety-feature figure img { height: auto; }
.safety-topics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 4rem);
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.safety-topics p { margin-bottom: 0; }
@media (max-width: 52rem) {
  .safety-topics { grid-template-columns: minmax(0, 1fr); }
}
.resource-list { list-style: none; padding: 0; max-width: 60ch; margin-bottom: 0; }
.resource-list a { color: var(--accent); font-weight: 750; }
.contact-details figure { margin-top: 1.5rem; }
.contact-details img { height: auto; aspect-ratio: 2 / 1; }
.orientation-panel { max-width: 56rem; }
.orientation-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  margin-block: 1rem .6rem;
  background: var(--deep);
}
@media (max-width: 52rem) {
  .photo-split { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 34rem) {
  .value-list, .portfolio-pair { grid-template-columns: minmax(0, 1fr); }
  .value-list { gap: .5rem; }
}

.gallery-hint { color: var(--muted); }
.project-photo { display: block; }
.project-photo:hover { outline: 2px solid var(--accent); outline-offset: 2px; }

body:has(.project-viewer[open]) { overflow: hidden; }
.project-photo { cursor: zoom-in; }
.project-viewer {
  width: min(72rem, calc(100% - 1rem));
  max-height: calc(100% - 1rem);
  padding: clamp(.75rem, 2vw, 1.5rem);
  border: 0;
  color: var(--ink);
  background: var(--paper);
}
.project-viewer::backdrop { background: rgb(15 26 37 / 87%); }
.viewer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}
.viewer-toolbar h2 { margin: 0; font-size: 1.25rem; }
.viewer-toolbar button {
  min-height: 2.75rem;
  padding: .5rem .8rem;
  border: 1px solid var(--field-border);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}
.viewer-toolbar button:hover { background: var(--surface); }
.viewer-toolbar button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.viewer-image {
  display: block;
  height: min(66dvh, 52rem);
  margin-block: .75rem;
  object-fit: contain;
  background: var(--deep);
}
.viewer-status { margin: 0; text-align: center; font-size: .875rem; }
@media (max-width: 34rem) {
  .viewer-navigation { flex-wrap: wrap; }
  .viewer-status { order: 1; flex: 0 0 100%; }
}

.service-process {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 5vw, 5rem);
}
.service-process figure { width: min(100%, 22rem); justify-self: center; }
.service-process img { height: auto; }
@media (min-width: 53rem) {
  .service-process { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}

.worker-resources-intro { max-width: 65ch; }
