:root {
  --navy: #17455c;
  --deep: #0d4b60;
  --blue: #2c6a8e;
  --light: #8fb7d0;
  --mist: #eef4f8;
  --ink: #122f3f;
  --line: #d3e1ea;
  --muted: #405c6b;
  --white: #fff;
  --shadow: 0 12px 32px rgba(18, 47, 63, .09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font: 1rem/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
body, header, main, section, footer, div, article, figure, form, ul, ol, dl { min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
figure { margin: 0; }
figcaption { margin-top: .7rem; color: var(--muted); font-size: .82rem; line-height: 1.5; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: .08em; overflow-wrap: anywhere; }
a:hover { color: var(--deep); }
p, li, dd, dt, h1, h2, h3, summary, label { overflow-wrap: anywhere; }
p { margin: 0 0 1rem; }
h1, h2, h3 { color: var(--navy); font-weight: 700; letter-spacing: -.025em; }
h1 { margin: 0 0 1.4rem; font-size: clamp(2.25rem, 7vw, 4.65rem); line-height: 1.06; }
h2 { margin: 0 0 1rem; font-size: clamp(1.85rem, 4vw, 2.65rem); line-height: 1.15; }
h3 { margin: 0 0 .85rem; font-size: 1.27rem; line-height: 1.25; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
section[id], article[id] { scroll-margin-top: 1.5rem; }
::selection { color: var(--white); background: var(--deep); }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 100;
  padding: .65rem 1rem;
  color: var(--white);
  background: var(--deep);
  border-radius: .3rem;
  transform: translateY(-180%);
}
.skip-link:focus { color: var(--white); transform: translateY(0); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.wrap { width: min(100% - 2rem, 74rem); margin-inline: auto; }
.narrow { max-width: 54rem; }
.section { padding-block: clamp(3.75rem, 8vw, 7rem); }
.section-mist { background: var(--mist); }
.section-heading { max-width: 44rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-heading > p:last-child { color: var(--muted); font-size: 1.08rem; }
.eyebrow {
  margin-bottom: .75rem;
  color: var(--blue);
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .12em;
  line-height: 1.4;
  text-transform: uppercase;
}
.chip {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  margin-bottom: .9rem;
  padding: .24rem .65rem;
  color: var(--deep);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .025em;
  line-height: 1.4;
}
.chip-draft { color: var(--navy); background: var(--white); border-style: dashed; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: fit-content;
  min-height: 2.85rem;
  padding: .7rem 1.15rem;
  color: var(--white);
  background: var(--deep);
  border: 1px solid var(--deep);
  border-radius: .4rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.button:hover { color: var(--white); background: var(--navy); box-shadow: var(--shadow); transform: translateY(-2px); }
.button-small { min-height: 2.4rem; padding: .45rem .8rem; font-size: .85rem; }
.text-link { display: inline-flex; gap: .4rem; align-items: baseline; font-weight: 700; }
.text-link span[aria-hidden="true"] { text-decoration: none; }

.site-header { position: relative; z-index: 20; padding-block: .75rem; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-direction: column; align-items: center; gap: .65rem; }
.brand { display: flex; align-items: center; flex-shrink: 0; color: var(--navy); font-size: .94rem; font-weight: 700; text-decoration: none; }
.nav-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .25rem .8rem; margin: 0; padding: 0; list-style: none; }
.nav-list a:not(.button) { display: block; padding: .35rem .1rem; color: var(--navy); font-size: .9rem; font-weight: 600; text-decoration: none; }
.nav-list a:not(.button):hover { color: var(--blue); text-decoration: underline; }
.nav-list .button { margin-top: .35rem; }

.services-grid { display: grid; gap: 1rem; }
.service-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1.4rem; background: var(--white); border: 1px solid var(--line); border-top: 3px solid var(--blue); border-radius: .55rem; transition: transform .2s ease, box-shadow .2s ease; }
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-card h3 { margin-top: .1rem; }
.service-card p { color: var(--muted); font-size: .94rem; }
.service-card .promise { color: var(--ink); font-size: 1rem; font-weight: 600; }
.service-card .evidence { margin-top: auto; padding-top: .5rem; font-size: .86rem; }
.service-card > .text-link { margin-top: .3rem; }
.service-card-compact { padding: 1.05rem; background: var(--mist); border-top-width: 1px; }
.service-card-compact h3 { font-size: 1.08rem; }
.service-card-compact p { font-size: .87rem; }
.placeholder-box { width: 100%; margin: .1rem 0 1rem; padding: .8rem; background: var(--mist); border: 1px dashed var(--light); border-radius: .35rem; }
.placeholder-box p { margin: 0; font-size: .85rem; }

.work-item { display: grid; gap: 1.6rem; padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.work-item:first-of-type { padding-top: 0; border-top: 0; }
.work-media { align-self: start; }
.work-media > img, .work-media > figure > img { width: 100%; border: 1px solid var(--line); border-radius: .45rem; background: var(--white); }
.work-copy { align-self: center; }
.work-heading { margin-bottom: 1.2rem; }
.work-heading h3 { margin-bottom: .65rem; font-size: clamp(1.45rem, 3vw, 1.85rem); }
.work-heading .chip { margin-bottom: 0; }
.case-facts { margin: 0 0 1.4rem; }
.case-facts > div { padding-block: .8rem; border-top: 1px solid var(--line); }
.case-facts dt { margin-bottom: .25rem; color: var(--navy); font-size: .75rem; font-weight: 750; letter-spacing: .065em; text-transform: uppercase; }
.case-facts dd { margin: 0 0 .65rem; color: var(--muted); font-size: .93rem; }
.case-facts dd:last-child { margin-bottom: 0; }
.paired-media { display: grid; gap: 1rem; }
.paired-media img { width: 100%; border: 1px solid var(--line); border-radius: .45rem; background: var(--white); }
.mini-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .5rem; margin-top: 1.25rem; }
.mini-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border: 1px solid var(--line); border-radius: .3rem; }
.mini-gallery figcaption { font-size: .7rem; }

.yt { width: 100%; }
.yt-facade, .yt iframe {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--navy);
  border: 0;
  border-radius: .45rem;
}
.yt-facade { padding: 0; cursor: pointer; }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s ease; }
.yt-facade:hover img { opacity: .85; }
.yt-facade:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.yt-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(3rem, 18%, 4.5rem);
  aspect-ratio: 1;
  background: rgba(23, 69, 92, .88);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background-color .2s ease;
}
.yt-play::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 54%;
  border-top: .55rem solid transparent;
  border-bottom: .55rem solid transparent;
  border-left: .85rem solid var(--white);
  transform: translate(-50%, -50%);
}
.yt-facade:hover .yt-play { background: var(--deep); transform: translate(-50%, -50%) scale(1.06); }
.yt-note { margin: .65rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.media-sub { margin: 1.25rem 0 .75rem; color: var(--navy); font-size: .75rem; font-weight: 750; letter-spacing: .065em; line-height: 1.4; text-transform: uppercase; }
.video-work { padding-block: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.video-work > h3 { margin-bottom: 1rem; font-size: clamp(1.45rem, 3vw, 1.85rem); }
.video-work > p { max-width: 55rem; margin-bottom: 1.5rem; color: var(--muted); }
.video-grid { display: grid; gap: 1rem; }
.video-card { display: flex; flex-direction: column; align-items: flex-start; padding: 1rem; background: var(--white); border: 1px solid var(--line); border-radius: .55rem; }
.video-card h4 { margin: 1rem 0 .75rem; color: var(--navy); font-size: 1.05rem; line-height: 1.35; overflow-wrap: anywhere; }
.video-card .chip { margin-bottom: .75rem; }
.video-credit { margin: auto 0 0; color: var(--muted); font-size: .82rem; }

.approach-intro { display: grid; gap: 0; max-width: 55rem; }
.approach-intro p { color: var(--muted); font-size: 1.12rem; }
.process { margin-block: 2rem 3rem; padding: 1.4rem; background: var(--mist); border-left: 4px solid var(--blue); border-radius: 0 .45rem .45rem 0; }
.process-line { margin-bottom: .6rem; color: var(--navy); font-size: clamp(1.05rem, 3.5vw, 1.5rem); font-weight: 750; line-height: 1.7; }
.process-line span { color: var(--blue); }
.process > p:last-child { margin: 0; color: var(--muted); font-size: .9rem; }
.working h3 { font-size: 1.55rem; }
.steps { display: grid; gap: .8rem; margin: 1.5rem 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { position: relative; padding: 1rem 1rem 1rem 3.6rem; background: var(--white); border: 1px solid var(--line); border-radius: .45rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 1rem; left: 1rem; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; color: var(--white); background: var(--blue); border-radius: 50%; font-size: .82rem; font-weight: 700; }
.steps strong, .steps span { display: block; }
.steps strong { margin-bottom: .2rem; color: var(--navy); }
.steps span { color: var(--muted); font-size: .9rem; }
.working > p { max-width: 55rem; color: var(--muted); }

.about-grid { display: grid; gap: 1.5rem; align-items: center; }
.portrait-wrap { display: flex; justify-content: center; }
.portrait-wrap picture { width: 100%; }
.portrait { width: 100%; max-width: 9rem; margin-inline: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: center top; border: 4px solid var(--white); border-radius: .75rem; box-shadow: 0 0 0 1px var(--line); }
.about-grid p:not(.eyebrow) { color: var(--muted); }

.laser-band { color: var(--white); background: var(--deep); }
.laser-grid { display: grid; gap: 2rem; }
.laser-band h2 { margin-top: .3rem; color: var(--white); }
.laser-band p { color: #e4eff5; }
.chip-on-dark { color: var(--white); background: var(--navy); border-color: var(--light); }
.form-panel { padding: 1.25rem; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: .55rem; box-shadow: var(--shadow); }
.field { margin-bottom: 1rem; }
.field label { display: block; margin-bottom: .3rem; color: var(--navy); font-size: .9rem; font-weight: 700; }
.optional { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 2.85rem;
  padding: .65rem .75rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #6f8b9a;
  border-radius: .35rem;
}
.field textarea { min-height: 6rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--deep); }
.form-panel .privacy-note { margin: .9rem 0 0; color: var(--muted); font-size: .78rem; line-height: 1.5; }
.form-status { margin-top: 1rem; color: var(--navy); font-size: .9rem; }
.form-status:not(:empty) { padding: .85rem; background: var(--mist); border-left: 3px solid var(--blue); border-radius: 0 .3rem .3rem 0; }
.form-status a { display: inline-block; margin-top: .55rem; font-weight: 700; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { position: relative; padding: 1.1rem 2rem 1.1rem 0; color: var(--navy); font-weight: 700; cursor: pointer; }
.faq-list summary::after { content: "+"; position: absolute; top: 1rem; right: .25rem; color: var(--blue); font-size: 1.3rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { padding: 0 0 1.2rem; margin: 0; color: var(--muted); }
.faq-list details .chip { margin-right: .35rem; }

.contact-section { background: var(--mist); }
.contact-grid { display: grid; gap: 2rem; }
.contact-grid > div > p:not(.eyebrow) { max-width: 35rem; color: var(--muted); }
.contact-email { font-size: clamp(1.05rem, 4vw, 1.35rem); font-weight: 700; }
.contact-form { box-shadow: none; }
.site-footer { padding-block: 2.5rem; color: #dce9f0; background: var(--navy); font-size: .84rem; text-align: center; }
.site-footer p { margin-bottom: .65rem; }
.site-footer p:last-child { margin-bottom: 0; }
.site-footer a { color: var(--white); }
.site-footer :focus-visible { outline-color: var(--white); }

.js .reveal { opacity: 0; transform: translateY(1rem); }
.js .reveal.is-visible { opacity: 1; transform: none; transition: opacity .65s ease, transform .65s ease; }

.service-card .evidence + .evidence { margin-top: 0; padding-top: 0; }

@media (min-width: 40rem) {
  .wrap { width: min(100% - 3rem, 74rem); }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-card { padding: 1.65rem; }
  .service-card-compact { padding: 1.1rem; }
  .approach-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid { grid-template-columns: 12rem minmax(0, 1fr); gap: 2.5rem; }
  .portrait { max-width: 12rem; }
  .form-panel { padding: 1.6rem; }
  .paired-media { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
}

@media (min-width: 60rem) {
  section[id], article[id] { scroll-margin-top: 5.5rem; }
  .site-header { position: sticky; top: 0; }
  .header-inner { flex-direction: row; justify-content: space-between; gap: 1.5rem; }
  .nav-list { flex-wrap: nowrap; gap: .2rem 1rem; }
  .nav-list .button { margin-top: 0; margin-left: .25rem; }
  .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .work-item { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(2rem, 5vw, 4.5rem); }
  .work-item:nth-of-type(even) .work-media { order: 2; }
  .work-item:nth-of-type(even) .work-copy { order: 1; }
  .laser-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
  .contact-grid { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 4rem; align-items: start; }
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .steps li { padding: 3.8rem 1rem 1rem; }
  .steps li::before { top: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .button:hover, .service-card:hover { transform: none; }
  .yt-facade:hover .yt-play { transform: translate(-50%, -50%); }
  .js .reveal, .js .reveal.is-visible { opacity: 1; transform: none; }
}

/* Old landing page top: legacy values, namespaced to avoid v2 clashes. */
.old-top {
  font: 1rem/1.6 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #fff;
}
.old-top a { color: var(--blue); text-underline-offset: auto; text-decoration-thickness: auto; overflow-wrap: normal; }
.old-top a:hover { color: var(--navy); }
.old-top a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 2px; }
.old-top .ol-wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.25rem; }
.old-top .ol-hero { background: linear-gradient(180deg, #fff 0%, var(--mist) 100%); border-bottom: 1px solid var(--line); text-align: center; padding: 3rem 0 3.25rem; }
.old-top .ol-picture { display: inline; }
.old-top .ol-logo { display: block; margin: 0 auto 1.5rem; width: min(300px, 72vw); height: auto; }
.old-top .ol-title { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.old-top .ol-lead { margin: 0 auto; max-width: 36rem; font-size: clamp(1.15rem, 2.8vw, 1.45rem); line-height: 1.45; color: var(--navy); overflow-wrap: normal; }
.old-top .ol-region { display: inline-block; max-width: 100%; margin-top: 1.25rem; padding: .3rem .9rem; border: 1px solid var(--light); border-radius: 999px; color: var(--navy); font-size: .95rem; background: #fff; overflow-wrap: normal; }
.old-top .ol-btn { display: inline-block; margin-top: 1.5rem; padding: .8rem 1.6rem; background: var(--navy); color: #fff; text-decoration: none; border-radius: 6px; font-weight: 600; }
.old-top .ol-btn:hover { background: var(--deep); color: #fff; }
.old-top .ol-main { padding: 3rem 0 2rem; }
.old-top .ol-heading { margin: 0 0 1.25rem; font-size: 1.5rem; line-height: 1.6; color: var(--navy); letter-spacing: normal; overflow-wrap: normal; }
.old-top .ol-services { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 38rem) {
  .old-top .ol-services { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 60rem) {
  .old-top .ol-services { grid-template-columns: repeat(4, 1fr); }
}
.old-top .ol-services li { padding: 1.25rem 1.25rem 1.1rem; border: 1px solid var(--line); border-top: 4px solid var(--blue); border-radius: 6px; background: #fff; overflow-wrap: normal; }
.old-top .ol-services h3 { margin: 0 0 .35rem; font-size: 1.1rem; line-height: 1.6; color: var(--navy); letter-spacing: normal; overflow-wrap: normal; }
.old-top .ol-services p { margin: 0; font-size: .97rem; overflow-wrap: normal; }
@media (max-width: 30rem) {
  .old-top .ol-hero { padding: 2rem 0 2.5rem; }
  .old-top .ol-main { padding-top: 2.25rem; }
}
