:root {
  --ink: #111418;
  --ink-2: #2C3038;
  --muted: #6A6F79;
  --navy: #0E1B2E;
  --navy-2: #16273F;
  --blue: #1C9AD6;
  --blue-soft: #8FD0F0;
  --paper: #FAF8F4;
  --white: #FFFFFF;
  --line: #E6E1D8;
  --line-dark: rgba(255,255,255,.12);
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -0.02em; line-height: 1; }
h1 { font-size: clamp(52px, 7.4vw, 104px); }
h2 { font-size: clamp(40px, 5vw, 68px); }
h1 em, h2 em, blockquote em, .footer-statement em { font-style: italic; color: var(--blue); }
h3 { font-family: var(--sans); font-weight: 500; font-size: 20px; letter-spacing: -0.01em; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; border-radius: 4px; }

.container { max-width: 1240px; margin: 0 auto; padding-inline: 32px; }
.eyebrow { font-size: 12.5px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.eyebrow-light { color: var(--blue-soft); }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--white); text-decoration: none; border: 0; cursor: pointer; font: 500 15.5px/1 var(--sans); letter-spacing: .01em; padding: 18px 30px; border-radius: 999px; transition: background .3s var(--ease), transform .3s var(--ease); }
.btn:hover { background: var(--navy-2); transform: translateY(-2px); }
.btn-small { padding: 12px 22px; font-size: 14.5px; }
.btn-light { background: var(--white); color: var(--ink); }
.btn-light:hover { background: var(--blue-soft); }
.btn-full { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; transform: none; }
.arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; transition: transform .35s var(--ease); }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; text-decoration: none; padding: 12px 4px; border-bottom: 1px solid currentColor; }
.link-arrow:hover .arrow { transform: translateX(4px); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: rgba(250,248,244,.86); backdrop-filter: saturate(1.4) blur(16px); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 84px; }
.brand img { width: 128px; }
.nav { display: flex; align-items: center; gap: 4px; font-size: 15px; font-weight: 450; }
.nav > a:not(.btn), .dropdown summary { color: var(--ink-2); text-decoration: none; cursor: pointer; padding: 10px 14px; border-radius: 999px; transition: color .2s ease; }
.nav > a:not(.btn):hover, .dropdown summary:hover, .dropdown[open] summary { color: var(--blue); }
.nav .btn { margin-left: 12px; }
.dropdown { position: relative; }
.dropdown summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: ""; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.dropdown ul { position: absolute; top: calc(100% + 12px); left: -8px; margin: 0; padding: 10px; list-style: none; background: var(--white); border-radius: 18px; box-shadow: 0 30px 60px -24px rgba(14,27,46,.28), 0 0 0 1px rgba(14,27,46,.06); min-width: 280px; }
.dropdown ul a { display: block; padding: 11px 14px; border-radius: 10px; text-decoration: none; }
.dropdown ul a:hover { background: var(--paper); color: var(--blue); }

/* Hero */
.hero { padding-block: 56px 0; }
.hero-inner { display: grid; grid-template-columns: 1.08fr 1fr; gap: 64px; align-items: center; }
.hero-copy { display: grid; gap: 30px; }
.lede { font-size: 19px; line-height: 1.65; color: var(--muted); max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; }
.hero-visual { margin: 0; position: relative; border-radius: 28px; background: radial-gradient(120% 90% at 50% 40%, #FFFFFF 0%, #FFFFFF 52%, #EEF1F4 100%); padding: 44px 40px 72px; box-shadow: 0 0 0 1px rgba(14,27,46,.05), 0 50px 100px -60px rgba(14,27,46,.45); overflow: hidden; }
.hero-visual img { width: 88%; margin-inline: auto; mix-blend-mode: multiply; }
.hero-visual figcaption { position: absolute; left: 24px; right: 24px; bottom: 22px; display: flex; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.hero-visual figcaption span:last-child { color: var(--ink); font-weight: 500; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 72px 0 0; border-top: 1px solid var(--line); }
.stats div { display: flex; flex-direction: column-reverse; gap: 6px; padding: 28px 24px 30px 0; }
.stats div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.stats dt { font-size: 14px; color: var(--muted); }
.stats dd { margin: 0; font-family: var(--serif); font-size: clamp(38px, 4vw, 54px); line-height: 1; letter-spacing: -0.02em; }

/* Clients */
.clients { border-block: 1px solid var(--line); background: var(--white); }
.clients-inner { display: grid; grid-template-columns: auto 1fr; gap: 48px; align-items: center; padding-block: 26px; }
.clients-title { font-size: 12.5px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.client-logos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; align-items: center; }
.client-logos img { max-height: 64px; width: auto; margin-inline: auto; mix-blend-mode: multiply; filter: grayscale(1) contrast(1.1); opacity: .7; transition: opacity .3s ease, filter .3s ease; }
.client-logos img:hover { opacity: 1; filter: none; }

/* Sections */
.section { padding-block: 128px; }
.section-tight { padding-block: 72px 128px; }
.section-head { margin-bottom: 64px; }
.section-head.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: end; }
.section-lede { color: var(--muted); font-size: 18px; max-width: 38ch; justify-self: end; }

.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.service { display: grid; gap: 14px; align-content: start; padding-top: 28px; border-top: 1px solid var(--ink); }
.service h3 { font-family: var(--serif); font-size: 34px; letter-spacing: -0.01em; line-height: 1.05; }
.service p { color: var(--muted); max-width: 32ch; }

/* Dark ranges */
.section-dark { background: var(--navy); color: var(--white); }
.section-dark h2 em { color: var(--blue-soft); }
.section-dark .section-lede { color: rgba(255,255,255,.62); }
.ranges { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.ranges li { border-bottom: 1px solid var(--line-dark); }
.range { position: relative; display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 32px; align-items: center; padding: 30px 8px; text-decoration: none; color: var(--white); transition: padding .4s var(--ease), color .3s ease; }
.range-title { font-family: var(--serif); font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.01em; }
.range-blurb { color: rgba(255,255,255,.6); font-size: 16px; }
.range .arrow { width: 26px; height: 26px; }
.range:hover { padding-left: 20px; color: var(--blue-soft); }
.range:hover .arrow { transform: translateX(6px); }
.range-peek { position: absolute; right: 18%; top: 50%; width: 170px; aspect-ratio: 23 / 30; object-fit: cover; border-radius: 10px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); opacity: 0; transform: translateY(-50%) rotate(-4deg) scale(.9); transition: opacity .35s ease, transform .45s var(--ease); pointer-events: none; z-index: 2; }
.range:hover .range-peek { opacity: 1; transform: translateY(-50%) rotate(-2deg) scale(1); }

/* About */
.about { display: grid; gap: 40px; max-width: 1040px; }
.about-quote { margin: 0; font-family: var(--serif); font-size: clamp(38px, 5vw, 70px); line-height: 1.05; letter-spacing: -0.02em; }
.about-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; color: var(--ink-2); font-size: 17.5px; line-height: 1.75; padding-top: 32px; border-top: 1px solid var(--line); }

/* Contact */
.contact { background: var(--navy); color: var(--white); padding-block: 128px; }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-copy { display: grid; gap: 28px; }
.contact-copy h2 em { color: var(--blue-soft); }
.contact-copy > p { color: rgba(255,255,255,.66); font-size: 18px; max-width: 42ch; }
.details { margin: 12px 0 0; display: grid; border-top: 1px solid var(--line-dark); }
.details div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding-block: 18px; border-bottom: 1px solid var(--line-dark); }
.details dt { font-size: 12.5px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: .16em; padding-top: 3px; }
.details dd { margin: 0; font-size: 17px; }
.details a { text-decoration: none; }
.details a:hover { color: var(--blue-soft); }
.form { background: var(--white); color: var(--ink); border-radius: 28px; padding: 40px; display: grid; gap: 20px; }
.field { display: grid; gap: 8px; }
label { font-size: 13px; font-weight: 500; letter-spacing: .04em; color: var(--ink-2); }
.opt { color: var(--muted); font-weight: 400; }
input, textarea { font: 400 16px/1.4 var(--sans); color: var(--ink); border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 10px 0 12px; width: 100%; background: transparent; transition: border-color .2s ease; }
textarea { resize: vertical; min-height: 110px; }
input:focus, textarea:focus { outline: none; border-bottom-color: var(--ink); }
.field.invalid input, .field.invalid textarea { border-bottom-color: #C9372C; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { margin-top: 6px; }
.form-status { font-size: 14.5px; min-height: 1.4em; }
.form-status.ok { color: #1B7A43; font-weight: 500; }
.form-status.err { color: #C9372C; }

/* Category pages */
.page-hero { padding-block: 72px 64px; border-bottom: 1px solid var(--line); }
.page-hero .container { display: grid; gap: 24px; }
.page-hero .lede { max-width: 62ch; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px 32px; }
.tile { display: grid; gap: 18px; align-content: start; text-decoration: none; color: var(--ink); }
.tile-frame { display: block; background: var(--white); border-radius: 22px; padding: 22px; box-shadow: 0 0 0 1px rgba(14,27,46,.06); transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.tile-frame img { width: 100%; aspect-ratio: 23 / 30; object-fit: cover; border-radius: 8px; box-shadow: 0 18px 36px -22px rgba(14,27,46,.5); }
a.tile:hover .tile-frame { transform: translateY(-4px); box-shadow: 0 0 0 1px rgba(14,27,46,.06), 0 40px 70px -40px rgba(14,27,46,.45); }
.tile-meta { display: grid; gap: 6px; padding-inline: 4px; }
.tile-name { font-family: var(--serif); font-size: 26px; line-height: 1.1; }
.tile-cta { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); white-space: nowrap; }
.tile-cta .arrow { width: 15px; height: 15px; }
a.tile:hover .tile-cta { color: var(--blue); }
.tile-cta-muted { white-space: normal; }
.callout { margin-top: 112px; display: grid; gap: 22px; justify-items: start; padding: 64px; border-radius: 28px; background: var(--navy); color: var(--white); }
.callout h2 { font-size: clamp(34px, 4vw, 54px); }
.callout h2 em { color: var(--blue-soft); }
.callout p { color: rgba(255,255,255,.66); max-width: 52ch; font-size: 18px; }
.other-cats { margin-top: 72px; display: grid; gap: 18px; }
.other-cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.other-cats a { display: inline-block; padding: 11px 20px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); text-decoration: none; font-size: 15px; transition: box-shadow .2s ease, color .2s ease; }
.other-cats a:hover { box-shadow: inset 0 0 0 1px var(--ink); }

/* Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.58); font-size: 15px; padding-top: 96px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 32px; padding-bottom: 64px; border-bottom: 1px solid var(--line-dark); }
.footer-statement { font-family: var(--serif); color: var(--white); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -0.02em; max-width: 16ch; }
.footer-statement em { color: var(--blue-soft); }
.footer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; padding-block: 56px; }
.footer-head { color: var(--white); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color .2s ease; }
.site-footer a:hover { color: var(--white); }
address { font-style: normal; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line-dark); padding-block: 26px; font-size: 13.5px; }

/* Responsive */
@media (max-width: 1024px) {
  .hero-inner { gap: 40px; }
  .section-head.split { grid-template-columns: 1fr; gap: 20px; }
  .section-lede { justify-self: start; }
  .contact-inner { grid-template-columns: 1fr; gap: 56px; }
  .range-peek { display: none; }
}
@media (max-width: 860px) {
  .container { padding-inline: 22px; }
  .hero { padding-block: 32px 0; }
  .hero-inner { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .clients-inner { grid-template-columns: 1fr; gap: 16px; }
  .client-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section, .contact { padding-block: 88px; }
  .services { grid-template-columns: 1fr; gap: 32px; }
  .range { grid-template-columns: 1fr auto; gap: 8px 16px; padding-block: 24px; }
  .range-blurb { grid-column: 1; grid-row: 2; }
  .range .arrow { grid-column: 2; grid-row: 1 / span 2; }
  .about-copy { grid-template-columns: 1fr; gap: 20px; }
  .nav > a:not(.btn) { display: none; }
  .brand img { width: 108px; }
  .dropdown ul { left: auto; right: -110px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .callout { padding: 36px 28px; }
  .details div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 480px) {
  .container { padding-inline: 18px; }
  .form { padding: 26px 22px; }
  .nav .btn { margin-left: 4px; }
  .btn-small { padding: 11px 16px; }
  .hero-visual { padding: 28px 20px 56px; }
  .hero-visual figcaption span:first-child { display: none; }
  .hero-visual figcaption { justify-content: center; }
  .footer-base { flex-direction: column; }
}
