/* ============================================================================
   ANCHOR SEQ, STYLESHEET
   Design tokens are taken from the Anchor SEQ brand pack. Do not invent
   colours or sizes: change the token, not the component.
   ========================================================================== */

/* Fonts are linked directly from each page head (assets/fonts/fonts.css)
   rather than imported here, so the browser can start fetching them early. */

:root {
  /* Colour palette (brand pack, section 3, reconciled to the extended
     token set supplied with the opportunities build brief). 60/30/10
     usage ratio: navy carries the page, slate carries structure, steel
     is the accent and the CTA owns it. */
  --ink-navy: #0B1426;
  --navy: #0B1426;
  --navy2: #101d31;
  --navy3: #16233A;
  --slate: #3E4F63;
  --off-white: #F4F1EC;
  --offwhite: #F4F1EC;
  --paper: #FBFAF7;
  --charcoal: #222A30;
  --steel: #AFB5BD;
  --steel-hi: #E6E8EB;
  --steel-lo: #6B7582;
  --steel-deep: #8E9AA6;
  --gold: #C9A06A;
  --available: #C9A06A;
  --offer: #8D95A0;
  --settled: #4a5666;
  --line: rgba(11, 20, 38, 0.13);
  --line-d: rgba(230, 232, 235, 0.14);
  --display: 'Zodiak', 'Cormorant Garamond', Georgia, serif;
  --body: 'Inter', system-ui, sans-serif;
  --sc: 'Noto Serif SC', serif;
  --fallback: linear-gradient(135deg, #0B1426, #16233A 60%, #0B1426);

  /* Derived alphas of pack colours (tints of tokens, not new colours) */
  --ink-70: rgba(244, 241, 236, 0.72);
  --ink-45: rgba(244, 241, 236, 0.6); /* floor for WCAG AA contrast on navy */
  --hairline: rgba(194, 202, 211, 0.28);      /* steel at low opacity */
  --steel-5: rgba(194, 202, 211, 0.05);       /* brushed steel 5% texture */

  /* Type scale (brand pack, section 4): size/line */
  --h1-size: 48px;   --h1-line: 56px;
  --h2-size: 32px;   --h2-line: 40px;
  --h3-size: 24px;   --h3-line: 32px;
  --body-size: 16px; --body-line: 24px;
  --cap-size: 12px;  --cap-line: 16px;
  --legal-size: 10px; --legal-line: 14px;

  /* Spacing scale (brand pack, section 18) */
  --s-4: 4px; --s-8: 8px; --s-12: 12px; --s-16: 16px;
  --s-24: 24px; --s-32: 32px; --s-48: 48px; --s-64: 64px;
  /* 96 derived as 48 x 2 from the scale for large section rhythm */
  --s-96: 96px;

  /* Radius tokens (brand pack): 2 4 8 16 24. This site uses the small end. */
  --r-2: 2px; --r-4: 4px;

  /* Hairline stroke 0.5px (brand pack) */
  --stroke: 0.5px;

  /* Motion (brand pack motion board): deliberate, weighted, restrained */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --dur: 0.8s;
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
img, svg { max-width: 100%; display: block; }
body {
  background: var(--ink-navy);
  color: var(--off-white);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: var(--body-size);
  line-height: var(--body-line);
  -webkit-font-smoothing: antialiased;
}

/* ------------------------------------------------------------ typography */
h1, h2, h3, .serif {
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0.01em;
}
h1 { font-size: var(--h1-size); line-height: var(--h1-line); }
h2 { font-size: var(--h2-size); line-height: var(--h2-line); }
h3 { font-size: var(--h3-size); line-height: var(--h3-line); }
p + p { margin-top: var(--s-16); }
a { color: inherit; text-decoration: none; }
p a, li a { border-bottom: var(--stroke) solid var(--steel-deep); }
strong { font-weight: 500; }
em { font-style: italic; }

.eyebrow {
  font-size: var(--cap-size);
  line-height: var(--cap-line);
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel-deep);
  display: block;
  margin-bottom: var(--s-16);
}
.caption { font-size: var(--cap-size); line-height: var(--cap-line); color: var(--ink-45); }
.legal { font-size: var(--legal-size); line-height: var(--legal-line); color: var(--ink-45); }
.muted { color: var(--ink-70); }

/* Chinese text: Noto Serif SC Light, looser leading, no faux bold,
   no letter-spacing on CJK (brand pack rule). */
[lang="zh-Hans"] {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.9;
}
[lang="zh-Hans"] h1, [lang="zh-Hans"] h2, [lang="zh-Hans"] h3,
h1[lang="zh-Hans"], h2[lang="zh-Hans"], h3[lang="zh-Hans"], .zh-serif {
  font-family: "Noto Serif SC", "Songti SC", "SimSun", serif;
  font-weight: 300;
  letter-spacing: 0;
}
[lang="zh-Hans"] h1 { line-height: 1.35; }
[lang="zh-Hans"] h2 { line-height: 1.4; }
[lang="zh-Hans"] strong { font-weight: 500; }

/* --------------------------------------------------------------- layout */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 var(--s-24); }
.narrow { max-width: 720px; }
section { padding: var(--s-64) 0; }
@media (min-width: 768px) { section { padding: var(--s-96) 0; } }

.rule { border: 0; border-top: var(--stroke) solid var(--hairline); }
.section-head { margin-bottom: var(--s-32); }
@media (min-width: 768px) { .section-head { margin-bottom: var(--s-48); } }

/* Fine engraved grid, used sparingly as a background texture */
.engraved {
  background-image:
    linear-gradient(var(--steel-5) 0.5px, transparent 0.5px),
    linear-gradient(90deg, var(--steel-5) 0.5px, transparent 0.5px);
  background-size: 48px 48px;
}

/* ------------------------------------------------------------ header/nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 20, 38, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: var(--stroke) solid var(--hairline);
}
.site-header .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: var(--s-12); }
.brand img { height: 30px; width: auto; }
.brand .wordmark {
  font-family: var(--display);
  font-size: 19px; letter-spacing: 0.14em; font-weight: 400;
  color: var(--off-white); white-space: nowrap;
}
.brand .wordmark .zh { font-family: "Noto Serif SC", serif; font-size: 15px; letter-spacing: 0; margin-left: 6px; color: var(--ink-70); }

.nav-toggle { display: none; }
.nav-links { display: flex; align-items: center; gap: var(--s-24); list-style: none; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.08em; color: var(--ink-70);
  transition: color 0.6s var(--ease);
  border-bottom: 0;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--off-white); }
.nav-links .nav-cta a { color: var(--off-white); border: var(--stroke) solid var(--steel-deep); border-radius: var(--r-2); padding: 9px 16px; }

/* language switch: EN | 中文, always visible in the header */
.bar-right { display: flex; align-items: center; gap: var(--s-16); }
.lang-switch {
  display: flex; align-items: center; gap: 2px;
  font-size: 12px; letter-spacing: 0.08em;
}
.lang-switch a, .lang-switch .cur { color: var(--ink-45); padding: 6px 6px; white-space: nowrap; }
.lang-switch a:hover { color: var(--off-white); }
.lang-switch .cur { color: var(--off-white); border-bottom: 1px solid var(--steel); }
.lang-switch .sep { color: var(--hairline); }
@media (max-width: 520px) {
  .brand .wordmark .zh { display: none; }
  .brand .wordmark { font-size: 17px; letter-spacing: 0.1em; }
  .bar-right { gap: var(--s-8); }
}

.menu-btn {
  display: none; background: none; border: var(--stroke) solid var(--hairline);
  border-radius: var(--r-2); color: var(--off-white);
  font: 400 12px/1 "Inter", sans-serif; letter-spacing: 0.18em;
  text-transform: uppercase; padding: 10px 14px; cursor: pointer;
}
@media (max-width: 860px) {
  .menu-btn { display: block; }
  .nav-links {
    display: none; position: absolute; left: 0; right: 0; top: 64px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink-navy);
    border-bottom: var(--stroke) solid var(--hairline);
    padding: var(--s-8) 0 var(--s-16);
  }
  .nav-links li { padding: var(--s-12) var(--s-24); }
  .nav-links .nav-cta a { display: inline-block; }
  .site-header.open .nav-links { display: flex; }
}

/* ------------------------------------------------------------------ CTA */
/* Single steel-outline CTA (brand pack hero spec). The one accent per
   viewport. Metallic light sweep on hover, never a glow. */
.btn {
  position: relative; display: inline-block; overflow: hidden;
  border: 1px solid var(--steel);
  border-radius: var(--r-2);
  color: var(--off-white);
  font: 400 13px/1 "Inter", sans-serif;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 16px 28px;
  background: transparent;
  cursor: pointer;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.btn::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(194, 202, 211, 0.22), transparent);
  transform: skewX(-18deg);
  transition: left 0.9s var(--ease);
}
.btn:hover::after, .btn:focus-visible::after { left: 120%; }
/* steel outline inverts to solid on hover (opportunities brief rule) */
.btn:hover { border-color: var(--steel-hi); background: var(--steel-hi); color: var(--ink-navy); }
.btn:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
.btn[lang="zh-Hans"] { letter-spacing: 0; text-transform: none; font-family: "Noto Serif SC", serif; font-size: 15px; }

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden;
  padding: var(--s-64) 0 var(--s-64);
  border-bottom: var(--stroke) solid var(--hairline);
}
@media (min-width: 768px) { .hero { padding: var(--s-96) 0; } }
.hero-media {
  position: absolute; inset: 0; z-index: -2;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.82; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg,
    rgba(11, 20, 38, 0.22) 0%,
    rgba(11, 20, 38, 0.6) 62%,
    var(--ink-navy) 100%);
}
/* keeps the headline legible now that the photo shows through clearly */
.hero h1, .hero .lede, .hero .eyebrow { text-shadow: 0 1px 24px rgba(11, 20, 38, 0.85), 0 1px 4px rgba(11, 20, 38, 0.6); }
.hero h1 { max-width: 15ch; }
.hero .lede { max-width: 52ch; margin-top: var(--s-24); color: var(--ink-70); }
.hero .btn { margin-top: var(--s-32); }

/* Two-column hero: copy left, the window countdown card right */
.hero-grid { display: grid; grid-template-columns: 1fr; gap: var(--s-48); align-items: end; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 7fr 4fr; } }

/* The window card: a glass panel carrying the countdown to the date.
   Replaces the old stand-alone window section on this page. */
.window-card {
  background: rgba(11, 20, 38, 0.62);
  backdrop-filter: blur(10px);
  border: var(--stroke) solid var(--line-d);
  border-radius: var(--r-4);
  padding: var(--s-24);
  max-width: 400px;
}
.window-card .wc-label {
  font-size: var(--cap-size); line-height: var(--cap-line);
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--steel-deep);
}
.window-card .wc-days {
  display: flex; align-items: baseline; gap: var(--s-12);
  margin-top: var(--s-12);
}
.window-card .wc-days .n {
  font-family: var(--display); font-weight: 300;
  font-size: 72px; line-height: 1; color: var(--off-white);
  font-variant-numeric: lining-nums;
}
.window-card .wc-days .u {
  font-size: var(--cap-size); letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--steel);
}
.window-card .wc-date {
  margin-top: var(--s-12); padding-top: var(--s-12);
  border-top: var(--stroke) solid var(--line-d);
  color: var(--ink-70); font-size: 14px; line-height: 22px;
}
.window-card .wc-link { display: inline-block; margin-top: var(--s-12); font-size: 13px; letter-spacing: 0.08em; color: var(--steel); border-bottom: var(--stroke) solid var(--steel-deep); }
.window-card .wc-link:hover { color: var(--off-white); }

/* The ledger: the three buyer answers as one ruled band fused to the
   hero's base. Replaces the old boxed stat strip. */
.ledger {
  display: grid; grid-template-columns: 1fr;
  border-bottom: var(--stroke) solid var(--hairline);
}
.ledger > div {
  padding: var(--s-24) 0;
  border-top: var(--stroke) solid var(--hairline);
}
@media (min-width: 768px) {
  .ledger { grid-template-columns: repeat(3, 1fr); }
  .ledger > div { padding: var(--s-32) var(--s-32) var(--s-32) 0; }
  .ledger > div + div { padding-left: var(--s-32); border-left: var(--stroke) solid var(--hairline); }
}
.ledger .figure {
  font-family: var(--display);
  font-size: var(--h2-size); line-height: var(--h2-line); font-weight: 300;
  color: var(--off-white);
}
.ledger .label { margin-top: var(--s-8); font-size: 14px; line-height: 22px; }

/* Orbit arc, the signature line motif from the pack's graphic language.
   One thin steel arc drawn across the hero on load. */
.orbit { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.orbit path {
  fill: none; stroke: var(--steel); stroke-width: 0.75; opacity: 0.5;
  stroke-dasharray: 1300; stroke-dashoffset: 1300;
}

/* Hero entrance: the ONLY page-load motion. One element at a time
   (brand motion board): arc draws, then copy settles. */
@media (prefers-reduced-motion: no-preference) {
  .orbit path { animation: draw 1.6s var(--ease) 0.2s forwards; }
  .hero .rise { opacity: 0; transform: translateY(12px); animation: rise 0.9s var(--ease) forwards; }
  .hero .rise:nth-child(2) { animation-delay: 0.9s; }
  .hero .rise:nth-child(3) { animation-delay: 1.1s; }
  .hero .rise:nth-child(4) { animation-delay: 1.3s; }
  .hero .rise:first-child { animation-delay: 0.7s; }
}
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ------------------------------------------------------------ stat strip */
.strip {
  display: grid; grid-template-columns: 1fr;
  border-top: var(--stroke) solid var(--hairline);
  border-bottom: var(--stroke) solid var(--hairline);
}
.strip > div { padding: var(--s-24); border-bottom: var(--stroke) solid var(--hairline); }
.strip > div:last-child { border-bottom: 0; }
@media (min-width: 768px) {
  .strip { grid-template-columns: repeat(3, 1fr); }
  .strip > div { border-bottom: 0; border-right: var(--stroke) solid var(--hairline); padding: var(--s-32); }
  .strip > div:last-child { border-right: 0; }
}
.strip .figure {
  font-family: var(--display);
  font-size: var(--h2-size); line-height: var(--h2-line); font-weight: 300;
  color: var(--off-white);
}
.strip .label { margin-top: var(--s-8); }

/* ---------------------------------------------------------------- cards */
.grid { display: grid; gap: var(--s-16); grid-template-columns: 1fr; }
@media (min-width: 700px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }

.card {
  background: var(--charcoal);
  border: var(--stroke) solid var(--hairline);
  border-radius: var(--r-2);
  padding: var(--s-24);
}
.card h3 { margin-bottom: var(--s-12); }
.card .caption { margin-top: var(--s-12); }

/* ------------------------------------------------------------- process */
.steps { list-style: none; counter-reset: step; }
.steps li {
  counter-increment: step;
  position: relative;
  padding: var(--s-24) 0 var(--s-24) var(--s-64);
  border-top: var(--stroke) solid var(--hairline);
}
.steps li:last-child { border-bottom: var(--stroke) solid var(--hairline); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: var(--s-24);
  font-family: var(--display);
  font-size: var(--h3-size); color: var(--steel-deep);
}
.steps h3 { font-size: 20px; line-height: 28px; margin-bottom: var(--s-8); }
.steps .verify { margin-top: var(--s-12); }

/* --------------------------------------------------------- window block */
.window-block {
  background: var(--charcoal);
  border: var(--stroke) solid var(--steel-deep);
  border-radius: var(--r-2);
  padding: var(--s-32) var(--s-24);
}
@media (min-width: 768px) { .window-block { padding: var(--s-48); } }
.window-block .date {
  font-family: var(--display);
  font-size: var(--h1-size); line-height: var(--h1-line);
  color: var(--off-white);
}

/* -------------------------------------------------------- for / not for */
.forlist { list-style: none; }
.forlist li { padding: var(--s-12) 0 var(--s-12) var(--s-32); position: relative; border-top: var(--stroke) solid var(--hairline); color: var(--ink-70); }
.forlist li::before { position: absolute; left: 0; color: var(--steel-deep); }
.forlist.yes li::before { content: "\2713"; }   /* check mark */
.forlist.no li::before { content: "\00D7"; }    /* multiplication x */

/* ----------------------------------------------------------------- form */
.lead-form { max-width: 560px; }
.lead-form .field { margin-bottom: var(--s-24); }
.lead-form label {
  display: block; font-size: var(--cap-size); line-height: var(--cap-line);
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-deep);
  margin-bottom: var(--s-8);
}
.lead-form [lang="zh-Hans"] label { letter-spacing: 0; text-transform: none; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%;
  background: transparent;
  border: 0; border-bottom: 1px solid var(--slate);
  border-radius: 0;
  color: var(--off-white);
  font: 300 var(--body-size)/var(--body-line) "Inter", sans-serif;
  padding: var(--s-8) 0 var(--s-12);
  transition: border-color 0.6s var(--ease);
}
.lead-form select { appearance: none; }
.lead-form select option { background: var(--charcoal); color: var(--off-white); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: none; border-bottom-color: var(--steel);
}
.lead-form textarea { min-height: 96px; resize: vertical; }
.form-note { margin-top: var(--s-16); }
.form-status { margin-top: var(--s-16); min-height: 24px; }
.form-status.ok { color: var(--off-white); }
.form-status.err { color: var(--off-white); }
/* honeypot: visually removed, still in the DOM for bots */
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

/* --------------------------------------------------------------- footer */
.site-footer {
  border-top: var(--stroke) solid var(--hairline);
  padding: var(--s-48) 0 var(--s-64);
  position: relative; overflow: hidden;
}
.site-footer .cols { display: grid; gap: var(--s-32); grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer .cols { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer .watermark {
  position: absolute; right: -40px; bottom: -60px; width: 280px; opacity: 0.05;
  pointer-events: none;
}
.site-footer .fh {
  font-size: var(--cap-size); letter-spacing: 0.22em; text-transform: uppercase;
  font-weight: 400; color: var(--steel-deep); margin-bottom: var(--s-16);
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: var(--s-8); }
.site-footer li a { font-size: 14px; color: var(--ink-70); }
.site-footer li a:hover { color: var(--off-white); }
.compliance { margin-top: var(--s-32); padding-top: var(--s-24); border-top: var(--stroke) solid var(--hairline); }
.compliance p { margin-top: var(--s-8); }

/* -------------------------------------------------------- page banners */
.page-head {
  padding: var(--s-64) 0 var(--s-48);
  border-bottom: var(--stroke) solid var(--hairline);
  position: relative; overflow: hidden;
}
.page-head h1 { max-width: 18ch; }
.page-head .lede { max-width: 56ch; margin-top: var(--s-24); color: var(--ink-70); }

/* --------------------------------------------------------- image slots */
.img-slot {
  position: relative; overflow: hidden; border-radius: var(--r-2);
  border: var(--stroke) solid var(--hairline);
}
.img-slot img { width: 100%; height: 100%; object-fit: cover; }
.img-slot .slot-tag {
  position: absolute; left: var(--s-12); bottom: var(--s-12);
  font-size: var(--legal-size); line-height: var(--legal-line);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-45); background: rgba(11, 20, 38, 0.7);
  padding: 4px 8px; border-radius: var(--r-2);
}
.ar-16x9 { aspect-ratio: 16 / 9; }
.ar-4x5 { aspect-ratio: 4 / 5; }
.ar-21x9 { aspect-ratio: 21 / 9; }

/* -------------------------------------------------------- photo strips */
.gallery { display: grid; gap: var(--s-16); grid-template-columns: 1fr 1fr; }
.gallery .img-slot:first-child { grid-column: 1 / -1; }
@media (min-width: 768px) {
  .gallery { grid-template-columns: 1fr 1fr 1fr; }
  .gallery .img-slot:first-child { grid-column: auto; }
}

/* ------------------------------------------------------- package cards */
.pkg-grid { display: grid; gap: var(--s-16); grid-template-columns: 1fr; }
@media (min-width: 768px) { .pkg-grid { grid-template-columns: repeat(3, 1fr); } }
.pkg-card {
  background: var(--charcoal);
  border: var(--stroke) solid var(--hairline);
  border-radius: var(--r-2);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.pkg-card .img-slot { border: 0; border-radius: 0; border-bottom: var(--stroke) solid var(--hairline); }
.pkg-card .body { padding: var(--s-24); display: flex; flex-direction: column; gap: var(--s-8); flex: 1; }
.pkg-card h3 { font-size: 20px; line-height: 28px; }
.pkg-tag {
  align-self: flex-start;
  font-size: var(--legal-size); line-height: var(--legal-line);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--steel-deep);
  border: var(--stroke) solid var(--steel-deep);
  border-radius: var(--r-2);
  padding: 3px 8px;
}
.pkg-card .yield { color: var(--off-white); font-family: var(--display); font-size: var(--h3-size); line-height: var(--h3-line); }
.example-note {
  border: var(--stroke) solid var(--steel-deep);
  border-radius: var(--r-2);
  padding: var(--s-12) var(--s-16);
  margin-bottom: var(--s-24);
}

/* --------------------------------------------- services, photo-led shell */
/* Light section: photo panel beside a 2x2 service grid (index.html). */
.svc-section { padding: 96px 0; background: var(--offwhite); }
.svc-section .wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.svc-shell { display: grid; grid-template-columns: 5fr 7fr; gap: 0; border: 0.5px solid var(--line); border-radius: 6px; overflow: hidden; }

/* photo panel: layered gradient tint + real image, graceful fallback */
.svc-photo { position: relative; min-height: 540px; display: flex; align-items: flex-end; color: var(--steel-hi);
  /* layers, top to bottom: legibility tint, the photo, then the navy
     gradient that shows if the photo file is missing */
  background-image:
    linear-gradient(90deg, rgba(11,20,38,.85) 0%, rgba(11,20,38,.4) 55%, rgba(11,20,38,.15)),
    url('../assets/img/img-05-facade-eve.jpg'),
    var(--fallback);
  background-size: cover; background-position: center; background-color: var(--navy); }
.svc-photo-cap { padding: 32px; }
.svc-photo-cap .eyebrow { font-family: var(--body); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--steel); }
.svc-photo-cap h2 { font-family: var(--display); font-weight: 300; font-size: clamp(28px, 3vw, 42px); line-height: 1.12; margin: 16px 0 12px; }
.svc-photo-cap p { font-family: var(--body); font-size: 14.5px; color: var(--steel); max-width: 36ch; line-height: 1.6; }

.svc-grid { display: grid; grid-template-columns: 1fr 1fr; background: var(--offwhite); }
.svc { border-left: 0.5px solid var(--line); border-bottom: 0.5px solid var(--line); padding: 32px 24px; min-height: 250px; display: flex; flex-direction: column; transition: background .5s var(--ease); }
.svc:nth-child(2n+1) { border-left: 0; }
.svc:nth-child(n+3) { border-bottom: 0; }
.svc:hover { background: #fff; }
.svc-no { font-family: var(--display); font-size: 24px; color: var(--steel-lo); margin-bottom: 24px; font-weight: 400; }
.svc h3 { font-family: var(--display); font-weight: 400; font-size: 19px; line-height: 1.3; margin-bottom: 12px; color: var(--charcoal); }
.svc p { font-family: var(--body); font-size: 14px; color: var(--slate); line-height: 1.55; flex: 1; }
.svc .arrowlink { display: inline-flex; align-items: center; gap: 9px; margin-top: 24px; font-family: var(--body); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--navy); border-bottom: 0; }
.svc .arrowlink svg { width: 13px; height: 13px; transition: transform .4s var(--ease); }
.svc:hover .arrowlink svg { transform: translateX(4px); }

@media (max-width: 1024px) {
  .svc-shell { grid-template-columns: 1fr; }
  .svc-photo { min-height: 340px; }
}
@media (max-width: 640px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc { border-left: 0; }
  .svc:nth-child(3) { border-bottom: 0.5px solid var(--line); }
}

/* Below-the-fold sections skip layout and paint until scrolled near,
   which keeps first paint fast on long pages. */
.cv-auto { content-visibility: auto; contain-intrinsic-size: auto 700px; }

/* ---------------------------------------------------------- utilities */
.mt-8 { margin-top: var(--s-8); } .mt-16 { margin-top: var(--s-16); }
.mt-24 { margin-top: var(--s-24); } .mt-32 { margin-top: var(--s-32); }
.mt-48 { margin-top: var(--s-48); } .mt-64 { margin-top: var(--s-64); }
.center { text-align: center; }
sup { font-size: 0.65em; color: var(--steel-deep); }

/* ------------------------------------------------- brand intro overlay */
/* The logo sting video: full on first open, a short tail on every page
   change so hard cuts land on the mark instead of a white flash.
   js/main.js drives it; without JS the noscript style hides it. */
#brand-intro {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ink-navy);
  display: flex; align-items: center; justify-content: center;
  opacity: 1;
  transition: opacity 0.6s var(--ease);
}
#brand-intro.fade { opacity: 0; pointer-events: none; }
/* refresh / between-pages mode: everything snappier */
#brand-intro.quick { transition-duration: 0.3s; }
#brand-intro.quick video { transition-duration: 0.15s; }
#brand-intro.quick .intro-skip { display: none; }

/* between-pages transition: the crisp logo mark on flat ink navy with a
   metallic light sweep, built from the real logo asset instead of the
   video so it stays sharp at any size and on brand. */
#brand-intro.cssmode { background: var(--ink-navy); }
/* the mark box paints the same navy the overlay uses, so the
   screen-blended video sits on an identical backdrop inside its own
   stacking context: mathematically seamless */
#brand-intro .tmark { position: relative; width: min(64vw, 300px); opacity: 0; transform: scale(0.94); background: var(--ink-navy); }
#brand-intro .tmark img { width: 100%; height: auto; }
#brand-intro .tmark video {
  width: 100%; height: auto; display: block;
  /* the clip is composited on pure black; screen blending lets the
     overlay's navy show through exactly, so no seam can ever appear.
     The inset clip removes the source's boundary pixels. */
  mix-blend-mode: screen;
  clip-path: inset(2%);
}
@media (prefers-reduced-motion: no-preference) {
  #brand-intro.cssmode .tmark { animation: tmarkIn 0.3s var(--ease) forwards; }
}
@keyframes tmarkIn { to { opacity: 1; transform: scale(1); } }
#brand-intro video {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
/* phones in portrait: letterbox instead of cropping the wordmark */
@media (orientation: portrait) { #brand-intro video { object-fit: contain; } }
#brand-intro.playing video { opacity: 1; }
#brand-intro .intro-skip {
  position: absolute; right: var(--s-24); bottom: var(--s-24);
  background: none;
  border: var(--stroke) solid var(--hairline);
  border-radius: var(--r-2);
  color: var(--ink-45);
  font: 400 11px/1 "Inter", sans-serif;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 10px 16px; cursor: pointer;
}
#brand-intro .intro-skip:hover { color: var(--off-white); border-color: var(--steel-deep); }
@media (prefers-reduced-motion: reduce) { #brand-intro { display: none; } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--off-white); color: var(--ink-navy); padding: 12px 16px;
}
.skip-link:focus { left: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
