/* Five Stones concept. Brand system taken from the live fivestones.ai (navy #1B3D57 / #214560, slate #5F6F7A,
   cream #FBEEDF, amber #CC7D14; Newsreader italics, Lato body, Archivo labels) and pushed further:
   real photography, the logo's chamfered corner as a motif, one wide container shared by every section. */
:root {
  --ink: #0F2433; --navy: #1B3D57; --steel: #214560; --slate: #5F6F7A; --mist: #C9D3D9;
  --cream: #FBEEDF; --sand: #F2E4D3; --paper: #FFFBF6; --white: #fff;
  --amber: #CC7D14; --amber-hi: #E9A23B; --amber-ink: #8E5409;
  --text: #22272B; --muted: #545B5F; --line: #E4D6C4;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans: 'Lato', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --label: 'Archivo', 'Lato', system-ui, sans-serif;
  --max: 1760px; --pad: clamp(16px, 4vw, 64px);
  --band: clamp(64px, 9vw, 128px);
  --cut: 22px; --r: 4px;
  --shadow: 0 1px 2px rgba(15, 36, 51, .06), 0 12px 32px -12px rgba(15, 36, 51, .18);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; min-height: 100dvh; display: flex; flex-direction: column; background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
main { flex: 1 0 auto; display: flex; flex-direction: column; }
main > .nf { flex: 1 0 auto; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(42px, 6.4vw, 96px); }
h2 { font-size: clamp(32px, 3.8vw, 58px); }
h3 { font-size: clamp(22px, 1.8vw, 28px); }
h1 em, h2 em { font-style: italic; font-weight: 400; }
p { margin: 0 0 1em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--white); color: var(--navy); padding: 10px 16px; border-radius: var(--r); }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--amber-hi); outline-offset: 3px; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.cham { clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }

/* labels */
.eyebrow { font: 600 13px/1.3 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--amber-ink); margin: 0 0 18px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; flex: none; }
.eyebrow--light { color: var(--amber-hi); }
.lead { font-size: clamp(18px, 1.5vw, 22px); line-height: 1.55; max-width: 40em; }
.big { font-size: clamp(18px, 1.45vw, 22px); line-height: 1.6; color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; font: 700 16px/1 var(--label); letter-spacing: .01em; text-decoration: none; border: 2px solid transparent; border-radius: 0; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.btn svg { transition: transform .2s; flex: none; }
.btn:hover svg { transform: translateX(3px); }
.btn--amber { background: var(--amber); color: var(--ink); }
.btn--amber:hover { background: var(--amber-hi); }
.btn--ghost { color: var(--white); border-color: rgba(255, 255, 255, .55); background: rgba(15, 36, 51, .25); backdrop-filter: blur(6px); clip-path: none; }
.btn--ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .12); }
.btn--line-light { color: var(--white); border-color: rgba(255, 255, 255, .45); clip-path: none; }
.btn--line-light:hover { border-color: var(--amber-hi); color: var(--amber-hi); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* concept banner */
.concept { background: var(--ink); color: var(--mist); font: 600 12px/1 var(--label); letter-spacing: .12em; text-transform: uppercase; text-align: center; padding: 8px 16px; position: relative; z-index: 60; }

/* header: transparent over the photo hero with a white logo; solid paper with a navy logo once scrolled */
.hdr { position: sticky; top: 0; z-index: 50; color: var(--white); margin-bottom: -84px; transition: background .25s, color .25s, box-shadow .25s; }
.hdr__in { display: flex; align-items: center; gap: 28px; height: 84px; }
.hdr.solid, .hdr.open { background: var(--paper); color: var(--navy); box-shadow: 0 1px 0 var(--line); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; flex: none; }
.logo .mark { flex: none; }
.logo__words { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font: 500 22px/1 var(--serif); letter-spacing: -.005em; white-space: nowrap; }
.logo__tag { font: 600 9.5px/1 var(--label); letter-spacing: .34em; text-transform: uppercase; margin-top: 6px; opacity: .85; white-space: nowrap; }
.hdr__nav { display: flex; gap: clamp(18px, 2.2vw, 40px); margin-left: auto; }
.hdr__nav a { font: 600 15px/1 var(--label); text-decoration: none; padding: 10px 0; position: relative; }
.hdr__nav a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--amber-hi); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.hdr__nav a:hover::after, .hdr__nav a[aria-current]::after { transform: scaleX(1); }
.hdr.solid .hdr__nav a::after { background: var(--amber); }
.hdr__menu { display: none; margin-left: auto; width: 48px; height: 48px; border: 0; background: none; color: inherit; cursor: pointer; padding: 12px; flex-direction: column; justify-content: center; gap: 6px; }
.hdr__menu span:not(.sr) { display: block; height: 2px; background: currentColor; transition: transform .2s, opacity .2s; }
.hdr.open .hdr__menu span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hdr.open .hdr__menu span:nth-child(2) { opacity: 0; }
.hdr.open .hdr__menu span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.drawer { background: var(--paper); border-top: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(15, 36, 51, .35); }
.drawer__in { display: flex; flex-direction: column; padding-top: 8px; padding-bottom: 24px; }
.drawer__in a:not(.btn) { font: 500 26px/1 var(--serif); text-decoration: none; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--navy); }
.drawer__in a[aria-current] { color: var(--amber-ink); }
.drawer__in .btn { margin-top: 20px; }

/* home hero */
.hero { position: relative; min-height: min(100svh, 980px); display: flex; flex-direction: column; justify-content: flex-end; color: var(--white); background: var(--ink); isolation: isolate; }
.hero__media, .phero__media, .cta__media, .nf__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__media img, .phero__media img, .cta__media img, .nf__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center); }
.hero__media img { object-position: 72% 50%; animation: settle 1.6s ease-out both; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 36, 51, .6) 0, rgba(15, 36, 51, 0) 180px), linear-gradient(90deg, rgba(15, 36, 51, .94) 0%, rgba(27, 61, 87, .82) 38%, rgba(27, 61, 87, .25) 72%, rgba(27, 61, 87, .1) 100%), linear-gradient(0deg, rgba(15, 36, 51, .85) 0%, rgba(15, 36, 51, 0) 40%); }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero__in { padding-top: 160px; padding-bottom: 48px; }
.hero h1 { max-width: 11em; margin-bottom: 28px; }
.hero h1 em, .phero h1 em, .nf h1 em { color: var(--amber-hi); }
.hero .lead { color: rgba(255, 255, 255, .88); max-width: 34em; margin-bottom: 36px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__dock { padding-bottom: 40px; }
.dock { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255, 255, 255, .25); }
.dock li { padding: 22px 28px 0 0; display: flex; flex-direction: column; gap: 6px; }
.dock li + li { padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .18); }
.dock strong { font: 500 clamp(24px, 2.2vw, 34px)/1.1 var(--serif); color: var(--white); }
.dock span { color: rgba(255, 255, 255, .78); font-size: 15px; line-height: 1.5; max-width: 26em; }

/* inner page hero */
.phero { position: relative; color: var(--white); background: var(--ink); isolation: isolate; min-height: clamp(460px, 62vh, 680px); display: flex; align-items: flex-end; }
.phero__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 36, 51, .75) 0, rgba(15, 36, 51, 0) 200px), linear-gradient(90deg, rgba(15, 36, 51, .92) 0%, rgba(27, 61, 87, .78) 45%, rgba(27, 61, 87, .3) 100%), linear-gradient(0deg, rgba(15, 36, 51, .6), rgba(15, 36, 51, 0) 50%); }
.phero--dense .phero__media::after { background: linear-gradient(180deg, rgba(15, 36, 51, .8) 0, rgba(15, 36, 51, 0) 200px), linear-gradient(90deg, rgba(15, 36, 51, .96) 0%, rgba(15, 36, 51, .9) 55%, rgba(27, 61, 87, .62) 100%); }
.phero__in { padding-top: 150px; padding-bottom: clamp(48px, 6vw, 88px); }
.phero h1 { max-width: 13em; font-size: clamp(40px, 5.4vw, 84px); margin-bottom: 22px; }
.phero .lead { color: rgba(255, 255, 255, .88); margin-bottom: 0; }

/* bands */
.band { padding: var(--band) 0; position: relative; }
.band--paper { background: var(--paper); }
.band--cream { background: var(--cream); }
.band--navy { background: var(--navy); color: var(--white); }
.band--navy p { color: rgba(255, 255, 255, .84); }
.band--navy h2, .band--navy h3 { color: var(--white); }
.rings { overflow: hidden; isolation: isolate; }
.rings::before { content: ''; position: absolute; right: -8vw; top: 50%; width: min(64vw, 900px); aspect-ratio: 1; transform: translateY(-50%); z-index: -1; opacity: .07;
  background: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='white' stroke-width='.9'%3E%3Cpath d='M46 35V8Q46 2 40 2H8Q2 2 2 8V40Q2 46 8 46H35'/%3E%3Cpath d='M41.8 32.8V11.2Q41.8 6.2 36.8 6.2H11.2Q6.2 6.2 6.2 11.2V36.8Q6.2 41.8 11.2 41.8H32.8'/%3E%3Cpath d='M37.6 30.6V14.4Q37.6 10.4 33.6 10.4H14.4Q10.4 10.4 10.4 14.4V33.6Q10.4 37.6 14.4 37.6H30.6'/%3E%3Cpath d='M33.4 28.4V17.6Q33.4 14.6 30.4 14.6H17.6Q14.6 14.6 14.6 17.6V30.4Q14.6 33.4 17.6 33.4H28.4'/%3E%3Cpath d='M29.2 26.2V20.8Q29.2 18.8 27.2 18.8H20.8Q18.8 18.8 18.8 20.8V27.2Q18.8 29.2 20.8 29.2H26.2'/%3E%3Cpath d='M47 37.5 37.5 47'/%3E%3C/svg%3E"); }
.col-head { max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.col-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }
.band--navy .col-head p:not(.eyebrow) { color: rgba(255, 255, 255, .8); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 112px); align-items: center; }
.split--intro { align-items: end; margin-bottom: clamp(48px, 5vw, 72px); }
.split--intro h2 { margin: 0; }
.split--intro .big { margin: 0; }
.split--myth, .split--ai { grid-template-columns: 1.05fr 1fr; }
.split--story { grid-template-columns: .9fr 1.1fr; align-items: start; }
.split--reasons { align-items: start; }
.split--values { align-items: start; grid-template-columns: .9fr 1.1fr; }
.split--case { grid-template-columns: 1fr 1.05fr; }
.split--contact { grid-template-columns: 1.25fr 1fr; align-items: start; }
.split--name { grid-template-columns: auto 1fr; justify-items: start; }
.split--name .mark { color: var(--amber-hi); width: clamp(110px, 12vw, 180px); height: auto; }
.split--name p { max-width: 38em; margin: 0; }

/* image frames */
.myth__img, .ai__img, .case__img, .story__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel); }
.myth__img img, .ai__img img, .case__img img, .story__img img, .path__img img, .work__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.story__img { aspect-ratio: 4 / 5; position: sticky; top: 110px; }
.myth__copy .btn { margin-top: 8px; }

/* paths (home) */
.paths { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 32px); }
.path { display: flex; flex-direction: column; text-decoration: none; background: var(--white); box-shadow: var(--shadow); transition: transform .25s; }
.path:hover { transform: translateY(-4px); }
.path:hover img { transform: scale(1.04); }
.path__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.path__body { padding: 28px clamp(22px, 2vw, 32px) 32px; display: flex; flex-direction: column; flex: 1; }
.path__k { font: 700 13px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--amber-ink); margin-bottom: 14px; }
.path h3 { color: var(--navy); }
.path p { color: var(--muted); }
.path__go { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 700 15px/1 var(--label); color: var(--navy); }

/* industries (home) */
.inds { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 1.4vw, 24px); }
.ind { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: var(--white); text-decoration: none; background: var(--steel); clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%); }
.ind img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.ind::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 36, 51, .9), rgba(15, 36, 51, 0) 55%); }
.ind:hover img { transform: scale(1.05); }
.ind__label { position: absolute; left: 24px; right: 24px; bottom: 22px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 12px; font: 500 clamp(22px, 1.8vw, 28px)/1.15 var(--serif); }
.ind__label svg { color: var(--amber-hi); flex: none; }

/* steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; counter-reset: s; }
.step { padding: 28px 28px 8px 0; border-top: 2px solid var(--navy); position: relative; }
.step + .step { padding-left: 28px; border-left: 1px solid var(--line); }
.step::before { content: ''; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; background: var(--amber); transform: rotate(45deg); }
.step + .step::before { left: 28px; }
.step__n { display: block; font: 600 13px/1 var(--label); letter-spacing: .2em; color: var(--amber-ink); margin-bottom: 16px; }
.step h3 { color: var(--navy); }
.step p { color: var(--muted); font-size: 16px; margin: 0; }

/* values */
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.value { padding: 28px 0 0; border-top: 2px solid var(--navy); }
.value h3 { color: var(--navy); }
.value p { color: var(--muted); margin: 0; }
.values--four { grid-template-columns: repeat(4, 1fr); }
.values--four .value { background: var(--white); border-top: 4px solid var(--amber); padding: 32px 28px 36px; box-shadow: var(--shadow); }
.value__n { display: block; font: 600 13px/1 var(--label); letter-spacing: .2em; color: var(--amber-ink); margin-bottom: 18px; }

/* services */
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.svc__card { background: var(--white); padding: clamp(28px, 2.6vw, 40px); box-shadow: var(--shadow); border-top: 4px solid var(--navy); scroll-margin-top: 110px; }
.svc__n { display: block; font: 600 13px/1 var(--label); letter-spacing: .2em; color: var(--amber-ink); margin-bottom: 18px; }
.svc__card h2 { font-size: clamp(26px, 2.2vw, 34px); color: var(--navy); margin-bottom: 10px; }
.svc__card > p { color: var(--muted); }
.svc__card--photo { padding: 0; position: relative; color: var(--white); border-top-color: var(--amber); background: var(--navy); display: flex; flex-direction: column; justify-content: flex-end; min-height: 380px; overflow: hidden; }
.svc__card--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.svc__card--photo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15, 36, 51, .95) 10%, rgba(15, 36, 51, .35)); }
.svc__card--photo > div { position: relative; z-index: 1; padding: clamp(28px, 2.6vw, 40px); }
.svc__card--photo h2 { color: var(--white); }
.svc__card--photo p { color: rgba(255, 255, 255, .85); }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; line-height: 1.45; }
.ticks svg { color: var(--amber); flex: none; margin-top: 2px; }
.ticks--light li { color: rgba(255, 255, 255, .9); }
.ticks--light svg { color: var(--amber-hi); }
.models { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 28px); }
.model { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .16); padding: clamp(28px, 3vw, 48px); }
.model__k { font: 700 13px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--amber-hi) !important; margin-bottom: 16px; }
.model h3 { font-size: clamp(28px, 2.6vw, 40px); }

/* low code */
.reasons { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.reason { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--line); }
.reason:last-child { border-bottom: 1px solid var(--line); }
.reason__n { width: 48px; height: 48px; display: grid; place-items: center; background: var(--navy); color: var(--white); font: 500 22px/1 var(--serif); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.reason h3 { color: var(--navy); margin-bottom: 6px; font-size: clamp(21px, 1.6vw, 25px); }
.reason p { color: var(--muted); margin: 0; }
.shadow__copy p { color: var(--muted); }
.shadow__copy strong, .shadow__copy em { color: var(--text); }
.shadow__fig { margin: 0; background: var(--white); box-shadow: var(--shadow); padding: clamp(24px, 3vw, 44px); display: grid; grid-template-columns: 1fr auto 1.15fr; gap: clamp(14px, 2vw, 28px); align-items: center; }
.sf__col { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.sf__h { font: 700 12px/1 var(--label); letter-spacing: .2em; text-transform: uppercase; color: var(--slate); margin: 0 0 4px; }
.sf__file { font: 400 13.5px/1.2 ui-monospace, 'Cascadia Mono', Consolas, monospace; padding: 10px 12px; background: var(--sand); border-left: 3px solid #B5543A; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf__file:nth-child(odd) { transform: translateX(8px); }
.sf__arrow { width: 44px; height: 44px; display: grid; place-items: center; background: var(--amber); color: var(--ink); border-radius: 50%; }
.sf__app { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--navy); color: var(--white); }
.sf__app .mark { color: var(--amber-hi); flex: none; }
.sf__app div { display: flex; flex-direction: column; gap: 4px; }
.sf__app strong { font: 500 20px/1.1 var(--serif); }
.sf__app span { font-size: 13.5px; color: rgba(255, 255, 255, .8); line-height: 1.4; }
.sf__col--after .ticks { margin-top: 6px; font-size: 15px; }

/* work */
.work { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 2vw, 32px); }
.work__card { background: var(--white); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; scroll-margin-top: 110px; }
.work__img { overflow: hidden; min-height: 280px; background: var(--steel); }
.work__body { padding: clamp(24px, 2.6vw, 40px); align-self: center; }
.work__body h3 { color: var(--navy); font-size: clamp(26px, 2.2vw, 34px); }
.work__body p { color: var(--muted); margin: 0; }
.caps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2vw, 28px); }
.cap { background: var(--white); padding: 32px 28px 36px; border-top: 4px solid var(--navy); box-shadow: var(--shadow); }
.cap__n { display: block; font: 600 13px/1 var(--label); letter-spacing: .2em; color: var(--amber-ink); margin-bottom: 18px; }
.cap h3 { color: var(--navy); }
.cap p { color: var(--muted); margin: 0; }

/* about */
.mission { max-width: 1180px; }
.mission blockquote { margin: 0; font: 400 clamp(28px, 3.4vw, 52px)/1.22 var(--serif); color: var(--navy); text-wrap: pretty; }
.mission blockquote::before { content: '“'; color: var(--amber); }
.mission blockquote::after { content: '”'; color: var(--amber); }
.story__copy p { color: var(--muted); font-size: 18px; }
.story__copy h2 { color: var(--navy); }

/* contact */
.form { background: var(--white); box-shadow: var(--shadow); padding: clamp(24px, 3.2vw, 48px); display: grid; gap: 20px; border-top: 4px solid var(--amber); }
.form h2 { color: var(--navy); margin: 0; font-size: clamp(30px, 2.6vw, 40px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form label:not(.chip) { display: grid; gap: 8px; font: 600 14px/1.2 var(--label); color: var(--navy); }
.opt { font-weight: 500; color: var(--slate); }
.form input:not([type=radio]), .form textarea { width: 100%; font: 400 17px/1.4 var(--sans); color: var(--text); padding: 13px 14px; min-height: 50px; border: 1.5px solid #CFC2B1; background: var(--paper); border-radius: 0; }
.form textarea { resize: vertical; min-height: 140px; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 61, 87, .15); }
.form [aria-invalid=true] { border-color: #B23B2A !important; }
.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { font: 600 14px/1.2 var(--label); color: var(--navy); margin-bottom: 10px; padding: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1.5px solid #CFC2B1; font: 600 14.5px/1 var(--label); color: var(--navy); background: var(--paper); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.chip input:focus-visible + span { outline: 3px solid var(--amber-hi); outline-offset: 2px; }
.form .btn { justify-self: start; }
.form__err { margin: 0; color: #9E2F20; font-weight: 700; }
.form__note { margin: 0; font-size: 14px; color: var(--slate); }
.form__done { display: flex; gap: 14px; align-items: center; padding: 18px; background: var(--cream); color: var(--navy); }
.form__done[hidden] { display: none; }
.form__done svg { color: var(--amber-ink); width: 28px; height: 28px; flex: none; }
.form__done div { display: flex; flex-direction: column; gap: 2px; }
.form__done span { color: var(--muted); font-size: 15px; }
.reach { display: grid; gap: 28px; }
.reach__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.reach__list li { display: flex; gap: 16px; align-items: flex-start; }
.reach__ico { width: 48px; height: 48px; flex: none; display: grid; place-items: center; background: var(--navy); color: var(--white); clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%); }
.reach__list div { display: flex; flex-direction: column; gap: 2px; font-size: 18px; min-width: 0; }
.reach__list a { color: var(--navy); font-weight: 700; text-decoration-color: var(--amber); text-underline-offset: 4px; overflow-wrap: anywhere; }
.reach__k { font: 700 12px/1.3 var(--label); letter-spacing: .18em; text-transform: uppercase; color: var(--slate); }
.map { aspect-ratio: 4 / 3; background: var(--sand); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.next { margin: 0; padding: 0 0 0 22px; display: grid; gap: 10px; color: var(--muted); }
.next strong { color: var(--navy); }

/* keyword eyebrow inside each page's h1 */
h1 .eyebrow { margin-bottom: 18px; }
.phero__cta { margin-top: 32px; }

/* FAQ */
.split--faq { grid-template-columns: .8fr 1.2fr; align-items: start; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; color: var(--navy); font-size: clamp(20px, 1.6vw, 24px); }
.faq__ico { width: 32px; height: 32px; flex: none; position: relative; border: 1.5px solid var(--navy); border-radius: 50%; }
.faq__ico::before, .faq__ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--navy); transform: translate(-50%, -50%); transition: transform .2s; }
.faq__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__ico { background: var(--navy); }
.faq details[open] .faq__ico::before { background: var(--white); }
.faq details[open] .faq__ico::after { transform: translate(-50%, -50%) rotate(0); background: var(--white); }
.faq details p { color: var(--muted); margin: 0 0 24px; max-width: 46em; padding-right: 52px; }
.faq details a { color: var(--navy); font-weight: 700; text-decoration-color: var(--amber); text-underline-offset: 3px; }
.svc__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font: 700 15px/1 var(--label); color: var(--navy); text-decoration: none; }
.svc__more:hover svg { transform: translateX(3px); }

/* rescue: warning signs */
.signs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2vw, 28px); }
.sign { background: var(--white); padding: 30px 28px 34px; box-shadow: var(--shadow); border-left: 4px solid var(--amber); }
.sign h3 { color: var(--navy); }
.sign p { color: var(--muted); margin: 0; }
.steps--four { grid-template-columns: repeat(4, 1fr); }

/* CTA band */
.cta { position: relative; isolation: isolate; color: var(--white); background: var(--ink); }
.cta__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 36, 51, .93) 0%, rgba(27, 61, 87, .82) 55%, rgba(27, 61, 87, .55) 100%); }
.cta__media img { object-position: center 65%; }
.cta__in { padding-top: clamp(72px, 9vw, 128px); padding-bottom: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: 1.4fr auto; gap: 40px; align-items: end; }
.cta__copy h2 { max-width: 16em; }
.cta__copy p { color: rgba(255, 255, 255, .85); max-width: 38em; margin: 0; font-size: 18px; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* 404 */
.nf { position: relative; isolation: isolate; color: var(--white); background: var(--ink); display: flex; align-items: center; min-height: 520px; }
.nf__media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 36, 51, .94), rgba(27, 61, 87, .55)); }
.nf__in { padding-top: 140px; padding-bottom: 80px; }
.nf .lead { color: rgba(255, 255, 255, .86); margin-bottom: 32px; }

/* footer: one compact full-width band in the shared wide container */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .78); font-size: 14.5px; flex: none; }
.ftr__in { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 36px; padding-top: 22px; padding-bottom: 22px; }
.logo--ftr { color: var(--white); }
.logo--ftr .mark { width: 32px; height: 32px; }
.logo--ftr .logo__name { font-size: 18px; }
.logo--ftr .logo__tag { font-size: 8px; }
.ftr__links { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ftr__links a, .ftr__contact a { text-decoration: none; }
.ftr__links a:hover, .ftr__contact a:hover { color: var(--amber-hi); }
.ftr__contact { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-left: auto; }
.ftr__legal { margin: 0; color: rgba(255, 255, 255, .55); }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1280px) {
  .hdr__nav { gap: 22px; }
  .signs { grid-template-columns: 1fr 1fr; }
  .work__card { grid-template-columns: 1fr; }
  .work__img { min-height: 0; aspect-ratio: 16 / 9; }
  .ftr__contact { margin-left: 0; }
}
@media (min-width: 701px) and (max-width: 1280px) {
  .steps { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .steps:not(.steps--four) .step:nth-child(4) { padding-left: 0; border-left: 0; }
  .steps:not(.steps--four) .step:nth-child(4)::before { left: 0; }
  .steps--four { grid-template-columns: repeat(2, 1fr); }
  .steps--four .step:nth-child(3) { padding-left: 0; border-left: 0; }
  .steps--four .step:nth-child(3)::before { left: 0; }
}
@media (max-width: 1100px) {
  .hdr__nav, .hdr__cta { display: none; }
  .hdr__menu { display: flex; }
  .split, .split--myth, .split--ai, .split--story, .split--values, .split--case, .split--contact, .split--faq { grid-template-columns: 1fr; }
  .split--intro { align-items: start; }
  .story__img { position: static; aspect-ratio: 16 / 10; }
  .paths { grid-template-columns: 1fr 1fr; }
  .paths .path:last-child { grid-column: 1 / -1; }
  .paths .path:last-child .path__img { aspect-ratio: 21 / 9; }
  .inds { grid-template-columns: 1fr 1fr; }
  .ind { aspect-ratio: 4 / 3; }
  .svc { grid-template-columns: 1fr 1fr; }
  .values--four, .caps { grid-template-columns: 1fr 1fr; }
  .cta__in { grid-template-columns: 1fr; align-items: start; }
  .cta__actions { justify-content: flex-start; }
  .reach { grid-template-columns: 1fr 1fr; align-items: start; }
  .reach .map { grid-row: span 2; }
}
@media (max-width: 860px) {
  .dock { grid-template-columns: 1fr; }
  .dock li, .dock li + li { padding: 16px 0; border-left: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); flex-direction: row; align-items: baseline; gap: 16px; }
  .dock li:last-child { border-bottom: 0; }
  .dock strong { min-width: 5.2em; font-size: 24px; }
  .work, .models { grid-template-columns: 1fr; }
  .shadow__fig { grid-template-columns: 1fr; }
  .sf__arrow { transform: rotate(90deg); justify-self: center; }
  .reach { grid-template-columns: 1fr; }
  .reach .map { grid-row: auto; }
}
@media (max-width: 700px) {
  body { font-size: 16.5px; }
  .hdr { margin-bottom: -72px; }
  .hdr__in { height: 72px; gap: 12px; }
  .logo .mark { width: 34px; height: 34px; }
  .logo__name { font-size: 19px; }
  .logo__tag { font-size: 8px; letter-spacing: .28em; }
  .hero { min-height: 0; }
  .hero__media img { object-position: 64% 50%; }
  .hero__media::after { background: linear-gradient(0deg, rgba(15, 36, 51, .96) 0%, rgba(15, 36, 51, .82) 55%, rgba(27, 61, 87, .5) 100%); }
  .hero__in { padding-top: 132px; }
  .hero__cta .btn, .nf .hero__cta .btn { flex: 1 1 100%; }
  .dock li, .dock li + li { flex-direction: column; gap: 4px; }
  .phero { min-height: 420px; }
  .phero__in { padding-top: 120px; }
  .phero__media::after { background: linear-gradient(0deg, rgba(15, 36, 51, .95), rgba(27, 61, 87, .6)); }
  .paths, .inds, .svc, .values, .values--four, .caps { grid-template-columns: 1fr; }
  .paths .path:last-child .path__img { aspect-ratio: 16 / 10; }
  .steps, .steps--four { grid-template-columns: 1fr; row-gap: 0; }
  .signs { grid-template-columns: 1fr; }
  .faq details p { padding-right: 0; }
  .steps .step:nth-child(n) { padding: 22px 0 22px 28px; border-left: 2px solid var(--navy); border-top: 0; }
  .steps .step:nth-child(n)::before { top: 28px; left: -7px; }
  .phero__cta .btn { flex: 1 1 100%; }
  .form__row { grid-template-columns: 1fr; }
  .form .btn { justify-self: stretch; }
  .cta__actions .btn { flex: 1 1 100%; }
  .split--name { grid-template-columns: 1fr; }
  .ftr__in { flex-direction: column; align-items: flex-start; gap: 14px; }
  .ftr__links, .ftr__contact { gap: 8px 18px; }
}
@media (max-width: 380px) {
  .logo__tag { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
