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

:root {
  --paper: #f5f5ed;
  --white: #fcfcf6;
  --ink: #11292c;
  --deep: #092a34;
  --blue: #008dc4;
  --lime: #c9dc43;
  --brand-lime: #b6c931;
  --muted: #465a58;
  --line: #cfd5c9;
  --pad: clamp(22px, 5.1vw, 96px);
  --header: 78px;
  font-family: "Instrument Sans", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; }
[hidden] { display: none !important; }
h1, h2, p { margin: 0; }
h1, h2 { text-wrap: balance; }
h2 { font-size: clamp(2.65rem, 5.8vw, 6.15rem); font-weight: 600; line-height: .99; letter-spacing: -.055em; word-spacing: .04em; }
.wrap { width: min(100%, 1760px); padding-inline: var(--pad); margin-inline: auto; }
.section { padding-block: clamp(76px, 10vw, 157px); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 10; inset: 9px auto auto 9px; padding: 14px; background: var(--white); }
.micro, .section-label, .eyebrow { font-size: .71rem; line-height: 1.2; font-weight: 700; letter-spacing: .145em; text-transform: uppercase; }

.site-header { position: sticky; top: 0; z-index: 5; background: var(--paper); border-bottom: 1px solid #243b3b17; }
.nav-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: calc(var(--header) - 1px); gap: 32px; }
.wordmark { display: inline-block; justify-self: start; }
.wordmark img { width: 136px; height: auto; }
.nav-row nav, .nav-actions { display: flex; align-items: center; }
.nav-row nav { gap: clamp(24px, 3vw, 55px); font-size: .94rem; font-weight: 600; }
.nav-row nav a:hover, .language:hover, .footer-row a:hover { text-decoration: underline; text-underline-offset: .3em; }
.nav-actions { justify-self: end; gap: 24px; }
.language { display: grid; place-items: center; min-height: 44px; min-width: 36px; font-weight: 700; font-size: .74rem; letter-spacing: .1em; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 23px; padding: 0 22px; min-height: 54px; width: fit-content; border: 1px solid transparent; border-radius: 100px; font-weight: 700; font-size: .93rem; transition: background .2s, color .2s, border-color .2s; }
.button .arrow { font-size: 1.25em; line-height: 1; transition: transform .2s; }
.button:hover .arrow { transform: translate(2px,-2px); }
.nav-cta { min-height: 44px; padding-inline: 17px; border-color: #263e3b; font-size: .86rem; }
.nav-cta:hover, .outline:hover { color: var(--white); background: var(--ink); border-color: var(--ink); }
.menu-toggle, .mobile-nav { display: none; }

.hero { min-height: clamp(590px, calc(100svh - var(--header)), 870px); display: flex; align-items: center; position: relative; isolation: isolate; overflow: hidden; color: var(--white); background: var(--deep); }
.hero-image { position: absolute; inset: -4% 0; width: 100%; height: 108%; object-fit: cover; object-position: 63% 52%; z-index: -2; animation: settle 1.5s ease-out both; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(4,24,26,.85), rgba(6,29,31,.70) 30%, rgba(6,28,29,.15) 78%), linear-gradient(0deg, #041e22ac, transparent 31%); }
.hero-content { padding-block: 84px 119px; }
.hero-content > * { animation: enter .78s cubic-bezier(.22,.75,.27,1) both; }
.hero-content > h1 { animation-delay: .09s; }
.hero-content > .hero-description { animation-delay: .18s; }
.hero-content > .hero-actions { animation-delay: .27s; }
@keyframes enter { from { opacity: 0; transform: translateY(20px); } }
@keyframes settle { from { scale: 1.04; } }
.eyebrow, .section-label { display: flex; align-items: center; gap: 12px; }
.eyebrow span, .section-label span { width: 9px; height: 9px; border-radius: 50%; flex: none; background: var(--brand-lime); }
.eyebrow { margin-bottom: 28px; }
.hero h1 { width: fit-content; font-size: clamp(4.2rem, 9vw, 10.4rem); line-height: .84; letter-spacing: -.058em; word-spacing: .035em; font-weight: 600; }
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description { max-width: 39ch; margin-top: 32px; color: #f2f5ea; font-size: clamp(1rem, 1.45vw, 1.24rem); line-height: 1.5; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 15px 27px; margin-top: 29px; }
.primary { color: #182612; background: var(--lime); }
.primary:hover { background: #e2f085; }
.hero-link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; padding-block: 5px; border-bottom: 1px solid #ffffff80; font-size: .93rem; font-weight: 650; }
.hero-link:hover { color: var(--lime); border-color: var(--lime); }
.hero-foot { position: absolute; inset: auto 0 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.hero-foot a { display: grid; place-items: center; width: 45px; aspect-ratio: 1; border-radius: 50%; border: 1px solid #ffffff80; transition: background .2s; }
.hero-foot a:hover { background: #ffffff26; }
.hero-foot > span { color: #edf4ea; font-size: .62rem; text-align: right; }

.services .section-label, .projects .section-label { margin-bottom: 26px; }
.services-grid { display: grid; grid-template-columns: 1.13fr .87fr; gap: clamp(30px, 7.5vw, 145px); align-items: start; }
.services h2 { max-width: 13ch; overflow-wrap: anywhere; font-size: clamp(2.6rem, 5.2vw, 5.7rem); }
.lead, .projects-heading > p, .company-copy > p { color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.18rem); line-height: 1.6; }
.lead { max-width: 39ch; margin-top: 25px; }
.accordion { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; align-items: center; padding-block: 19px; min-height: 75px; gap: 16px; cursor: pointer; list-style: none; font-size: clamp(1.06rem, 1.64vw, 1.4rem); font-weight: 600; letter-spacing: -.03em; }
summary::-webkit-details-marker { display: none; }
summary > span { position: relative; flex: none; width: 36px; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: background .2s, border-color .2s; }
summary > span::before, summary > span::after { content: ""; position: absolute; inset: 50% auto auto 50%; width: 12px; height: 1px; background: currentColor; transform: translate(-50%,-50%); }
summary > span::after { transform: translate(-50%,-50%) rotate(90deg); }
details[open] summary > span, summary:hover > span { background: var(--lime); border-color: var(--lime); }
details[open] summary > span::after { opacity: 0; }
details p { padding: 0 42px 24px 0; max-width: 51ch; color: var(--muted); line-height: 1.55; }

.projects { background: #e9eee5; }
.projects-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; }
.projects-heading > p { max-width: 31ch; padding-bottom: 4px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; margin-block: 36px 22px; }
.filters button { border: 1px solid #80918c; background: transparent; border-radius: 100px; min-height: 42px; padding: 0 16px; font-size: .87rem; font-weight: 650; }
.filters button:hover { border-color: var(--ink); background: #dce6d6; }
.filters button[aria-pressed="true"] { color: var(--white); background: var(--ink); border-color: var(--ink); }
.filters[hidden] + .sr-only + .projects-grid { margin-top: 28px; }
.projects-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); column-gap: clamp(15px, 2vw, 32px); row-gap: 32px; }
.project-link { display: block; }
.project-image { background: #bdc8bb; overflow: hidden; border-radius: 4px; aspect-ratio: 1.32; }
.project-image img { width: 100%; height: 100%; object-fit: cover; transition: scale .6s cubic-bezier(.2,.65,.3,1); }
.project-link:hover img, .project-link:focus-visible img { scale: 1.06; }
.project-meta { position: relative; display: grid; gap: 8px; padding: 17px 42px 17px 0; border-bottom: 1px solid #b9c7bb; }
.project-meta .micro { color: var(--muted); font-size: .65rem; }
.project-meta strong { font-size: clamp(1.15rem, 2.1vw, 2.08rem); font-weight: 600; letter-spacing: -.055em; line-height: 1.05; }
.project-arrow { display: grid; place-items: center; position: absolute; inset: 21px 0 auto auto; width: 36px; aspect-ratio: 1; border: 1px solid #a7b8ac; border-radius: 50%; transition: background .2s, border-color .2s; }
.project-link:hover .project-arrow { background: var(--lime); border-color: var(--lime); }
.outline { border-color: var(--ink); background: transparent; }
.see-all { margin-top: 30px; }

.company { background: var(--deep); color: var(--white); display: grid; grid-template-columns: 1.05fr 1fr; }
.company-image { overflow: hidden; min-height: 500px; }
.company-image img { width: 100%; height: 100%; object-fit: cover; object-position: 35%; }
.company-copy { align-self: center; padding: clamp(48px, 7vw, 120px) var(--pad); }
.company-copy h2 { font-size: clamp(2.6rem, 4.8vw, 5.6rem); margin-block: 20px; }
.company-copy > p { color: #d0dfdd; max-width: 43ch; }
.text-link { display: inline-flex; align-items: center; gap: 16px; width: fit-content; border-bottom: 1px solid currentColor; min-height: 44px; font-weight: 650; }
.company .text-link { margin-top: 19px; color: var(--lime); }
.text-link:hover { opacity: .76; }

.contact { background: var(--brand-lime); }
.contact-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(32px, 8vw, 120px); align-items: end; }
.contact .section-label { margin-bottom: 20px; }
.contact .section-label span { background: var(--ink); }
.contact h2 { max-width: 13ch; }
.dark { background: var(--ink); color: var(--white); margin-top: 27px; }
.dark:hover { background: #29453a; }
address { font-style: normal; border-top: 1px solid #203a3670; }
address a { display: block; position: relative; padding: 13px 35px 13px 0; border-bottom: 1px solid #203a3670; font-weight: 600; font-size: clamp(1.01rem, 1.75vw, 1.55rem); letter-spacing: -.025em; }
address a:hover { text-decoration: underline; text-underline-offset: 4px; }
address a > .arrow { position: absolute; right: 1px; top: 14px; }
footer { background: var(--paper); }
.footer-row { min-height: 110px; padding-block: 21px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 25px; font-size: .82rem; font-weight: 600; }
.footer-logo img { width: 104px; }
.footer-row > div { display: flex; flex-wrap: wrap; gap: 14px 20px; }
.footer-row > div a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; }

dialog { padding: 0; width: min(670px, calc(100% - 32px)); max-height: calc(100% - 32px); border: 0; border-radius: 9px; color: var(--ink); background: var(--paper); }
dialog::backdrop { background: #051e24b8; backdrop-filter: blur(4px); }
dialog[open] { animation: enter .25s ease-out both; }
.dialog-close { position: absolute; top: 12px; right: 12px; border: 0; border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; background: var(--white); font-size: 1.55rem; }
.dialog-close:hover { background: var(--lime); }
.dialog-photo { width: 100%; height: auto; max-height: 45vh; object-fit: contain; background: var(--deep); }
.dialog-body { padding: clamp(23px, 4vw, 44px); }
.dialog-body h2 { margin-block: 12px 16px; font-size: clamp(2rem, 5vw, 4rem); }
.dialog-body > p:not(.micro) { line-height: 1.55; }
.dialog-body .text-link { margin-top: 12px; }

@media (max-width: 950px) {
  .services-grid { gap: 32px; }
  .company { grid-template-columns: 1fr 1fr; }
  .company-image { min-height: 395px; }
}
@media (max-width: 730px) {
  :root { --header: 64px; }
  .nav-row { display: flex; justify-content: space-between; }
  .wordmark img { width: 111px; }
  .nav-row nav, .nav-cta { display: none; }
  .nav-actions { gap: 10px; }
  .menu-toggle { background: transparent; width: 44px; height: 44px; border: 1px solid #a9b8af; border-radius: 50%; display: grid; align-content: center; justify-items: center; gap: 5px; }
  .menu-toggle span { width: 15px; height: 1px; background: var(--ink); transition: transform .2s; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .mobile-nav { display: grid; position: absolute; inset: 100% 0 auto; padding: 9px var(--pad) 15px; background: var(--paper); box-shadow: 0 14px 16px #0a25251f; }
  .mobile-nav a { padding: 14px 0; font-weight: 600; border-top: 1px solid var(--line); }

  .hero { min-height: clamp(580px, calc(100svh - var(--header)), 760px); }
  .hero-image { object-position: 62%; }
  .hero::after { background: linear-gradient(90deg,#061e23d9,#061e234d), linear-gradient(0deg,#041e22a6,transparent 33%); }
  .hero h1 { font-size: clamp(2.8rem, 13.75vw, 5.9rem); }
  .hero-content { padding-block: 65px 101px; }
  .eyebrow { margin-bottom: 22px; }
  .hero-description { margin-top: 23px; }
  .hero-actions { margin-top: 23px; }
  .hero-foot { bottom: 18px; }
  .services-grid, .contact-grid, .company { grid-template-columns: 1fr; }
  .projects-heading { display: grid; gap: 14px; }
  .projects-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .company-image { min-height: 0; aspect-ratio: 1.6; }
  .company-copy { padding-block: 55px; }
  .contact h2 { max-width: 14ch; }
}
@media (max-width: 440px) {
  .project-image { aspect-ratio: 1.12; }
  .project-meta { padding-right: 33px; min-height: 72px; }
  .project-arrow { width: 28px; }
  .footer-row { gap: 11px 18px; }
  .footer-row > div { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.nav-row a[aria-current="page"], .mobile-nav a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-color: var(--brand-lime);
  text-decoration-thickness: 2px;
  text-underline-offset: .45em;
}
.section-more { margin-top: 25px; }
.inner-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 138px);
  background: #e9eee5;
}
.inner-hero.has-photo { color: var(--white); background: var(--deep); }
.inner-hero img, .inner-hero.has-photo::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.inner-hero img { object-fit: cover; }
.inner-hero.has-photo::after {
  content: "";
  background: linear-gradient(90deg, #071f24e8, #071f2466);
}
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-size: .9rem; margin-bottom: 27px; }
.breadcrumbs a { text-decoration: underline; text-underline-offset: .25em; padding-block: 7px; }
.inner-hero h1 {
  font-size: clamp(2.85rem, 7.4vw, 8rem);
  font-weight: 600;
  line-height: .97;
  letter-spacing: -.057em;
  overflow-wrap: anywhere;
  max-width: 14ch;
}
.inner-hero p { max-width: 49ch; margin-top: 22px; font-size: clamp(1.05rem, 1.65vw, 1.33rem); line-height: 1.55; }
.inner-body, .case-gallery, .inner-cta { padding-block: clamp(52px, 7vw, 100px); }
.reading { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px clamp(30px,7vw,120px); }
.reading article { border-top: 1px solid var(--line); padding-top: 24px; }
.reading h2, .case-grid h2, .case-gallery h2, .inner-cta h2 {
  font-size: clamp(2rem, 4vw, 4.35rem);
  margin-bottom: 16px;
}
.reading p, .case-grid p:not(.micro) { line-height: 1.6; color: var(--muted); max-width: 55ch; font-size: 1.06rem; }
.case-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 32px; align-items: start; }
.case-grid .micro { margin-bottom: 16px; }
.case-grid dl { border-top: 1px solid var(--line); padding-top: 20px; margin: 0; }
.case-grid dd { font-size: clamp(2rem, 5vw, 5rem); margin: 6px 0 0; letter-spacing: -.05em; }
.case-gallery { background: #e9eee5; }
.case-gallery .wrap > div { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-top: 24px; }
.case-gallery img { width: 100%; height: auto; aspect-ratio: 1.45; object-fit: cover; border-radius: 4px; }
.inner-cta { background: var(--brand-lime); }
.inner-cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.inner-cta h2, .inner-cta .button { margin: 0; }
.inner-hero + .projects { padding-top: 25px; }
@media(max-width: 680px) {
  .reading, .case-grid { grid-template-columns: 1fr; }
  .case-gallery .wrap > div { grid-template-columns: 1fr; }
}

/* Draw arrows independently of the system font. */
.arrow {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
}
.arrow { rotate: var(--arrow-angle, 0deg); }
.arrow::before, .arrow::after {
  content: "";
  position: absolute;
  top: 50%;
}
.arrow::before {
  left: 1px;
  width: 11px;
  height: 1.5px;
  background: currentColor;
  transform: translateY(-50%);
}
.arrow::after {
  right: 2px;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.arrow--diagonal { --arrow-angle: -45deg; }
.arrow--down { --arrow-angle: 90deg; }
.arrow--up { --arrow-angle: -90deg; }
.arrow--left { --arrow-angle: 180deg; }
