/* Pressure Vessel Services: site.css
   Layout: an engineering drawing sheet. 12-column grid, hairline rules and title-block panels.
   Primer-grey sheets alternate with hull-navy night sections. PVS green, taken from the logo,
   is reserved for action and for the one thing on screen that matters. */

:root {
  color-scheme: light;

  /* colour */
  --bg: #f1f3f5;          /* primer grey */
  --paper: #ffffff;
  --ink: #0a1622;         /* hull navy */
  --ink-2: #3a4858;
  --ink-3: #5b6979;
  --line: #d5dbe2;
  --line-2: #b9c3cd;
  --grid: rgba(10, 22, 34, 0.045);
  --night: #07111b;
  --night-2: #0c1924;
  --night-3: #142435;
  --on-night: #eaf0f5;
  --on-night-2: #a3b1c0;
  --night-line: rgba(234, 240, 245, 0.14);
  --signal: #4fc81b;     /* PVS logo green */
  --signal-hi: #6bd93a;
  --ok: #23704a;
  --ok-bg: rgba(35, 112, 74, 0.1);
  --error: #b3261e;

  /* drawing + data plate */
  --tank-a1: #e2e7da;     /* pale vessel finish, used in the coating section */
  --plate-ink: #1b2631;
  --plate-a: #e9edf0; --plate-b: #c6cdd4; --plate-c: #eef1f3; --plate-d: #b3bcc5;

  /* type */
  --f-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --t-label: 0.75rem;
  --t-sm: 0.9375rem;
  --t-base: 1.0625rem;
  --t-md: 1.25rem;
  --t-lg: clamp(1.5rem, 1.15rem + 1.1vw, 2.125rem);
  --t-xl: clamp(2rem, 1.3rem + 2.6vw, 3.5rem);
  --t-2xl: clamp(2.55rem, 1.3rem + 5vw, 6.25rem);
  --t-page: clamp(2.35rem, 1.4rem + 3.6vw, 4.75rem);
  --t-mega: clamp(4.5rem, 2rem + 10vw, 11rem);

  /* space */
  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1360px;
  --sec: clamp(72px, 9vw, 144px);
  --hdr-h: 104px;
  --radius: 3px;

  /* semantic, light sheet by default; night sections redefine these */
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --rule: var(--line);
  --rule-strong: var(--ink);
  --tb-line: var(--ink);
  --tb-bg: var(--paper);
  --focus: var(--ink);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 20px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 var(--t-base)/1.6 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--f-display);
  font-stretch: 112%;
  font-weight: 640;
  letter-spacing: -0.022em;
  line-height: 1.04;
  text-wrap: balance;
  color: var(--fg);
}
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.site { overflow-x: clip; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.night, .sec--night, .hero, .ftr, .menu {
  --fg: var(--on-night);
  --fg-2: var(--on-night-2);
  --fg-3: var(--on-night-2);
  --rule: var(--night-line);
  --rule-strong: rgba(234, 240, 245, 0.42);
  --tb-line: var(--night-line);
  --tb-bg: var(--night);
  --focus: var(--signal);
  color: var(--fg);
}

/* ---------- type helpers ---------- */
.label, .eyebrow {
  font: 500 var(--t-label)/1.25 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.eyebrow { display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; background: var(--signal); flex: none; }
.h2 { font-size: var(--t-xl); }
.h3 { font-size: var(--t-lg); }
.lede { font-size: var(--t-md); line-height: 1.55; color: var(--fg-2); max-width: 56ch; }
.prose { display: grid; gap: 1em; color: var(--fg-2); max-width: 62ch; }
.prose strong { color: var(--fg); font-weight: 600; }
.mono { font-family: var(--f-mono); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------- buttons + links ---------- */
.btn {
  --b-bg: transparent; --b-fg: var(--fg); --b-bd: var(--rule-strong);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7em;
  min-height: 50px; padding: 0.8em 1.35em;
  border: 1px solid var(--b-bd); border-radius: var(--radius);
  background: var(--b-bg); color: var(--b-fg);
  font: 600 var(--t-sm)/1.2 var(--f-body); letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.btn::after {
  content: ""; width: 14px; height: 10px; flex: none; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s cubic-bezier(.2,.7,.1,1);
}
.btn:hover::after { transform: translateX(4px); }
.btn--plain::after { display: none; }
.btn--back::after { display: none; }
.btn--back::before {
  content: ""; width: 14px; height: 10px; background: currentColor; transform: scaleX(-1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.btn--signal { --b-bg: var(--signal); --b-fg: var(--ink); --b-bd: var(--signal); }
.btn--signal:hover { --b-bg: var(--signal-hi); --b-bd: var(--signal-hi); }
.btn--ink { --b-bg: var(--ink); --b-fg: #fff; --b-bd: var(--ink); }
.btn--ink:hover { --b-bg: #1b2b3c; --b-bd: #1b2b3c; }
.btn--line:hover { --b-bd: var(--fg); }
.btn--sm { min-height: 40px; padding: 0.55em 1em; font-size: 0.875rem; }
.btn--lg { min-height: 56px; padding: 1em 1.6em; font-size: 1rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.55em;
  font-weight: 600; font-size: var(--t-sm); text-decoration: none; color: var(--fg);
  padding-bottom: 3px; border-bottom: 1px solid var(--rule-strong);
  transition: border-color 0.2s;
}
.link-arrow::after {
  content: ""; width: 13px; height: 9px; background: currentColor; flex: none;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s;
}
.link-arrow:hover { border-color: var(--signal); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- header ---------- */
.skip {
  position: fixed; left: 12px; top: -80px; z-index: 100;
  background: var(--signal); color: var(--ink); padding: 10px 14px; font-weight: 600; text-decoration: none;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(7, 17, 27, 0.95);
  color: var(--on-night);
  border-bottom: 1px solid var(--night-line);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
          backdrop-filter: saturate(140%) blur(14px);
  transition: background-color 0.35s ease, border-color 0.35s ease;
  --focus: var(--signal);
}
.hdr--overlay:not(.is-solid):not(.is-open) { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.hdr__in { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 40px); height: var(--hdr-h); transition: height 0.35s cubic-bezier(.2,.7,.1,1); }
.hdr.is-scrolled .hdr__in { height: 76px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: inherit; flex: none; }
.brand__logo { display: block; width: 88px; height: 88px; transition: width 0.35s cubic-bezier(.2,.7,.1,1), height 0.35s cubic-bezier(.2,.7,.1,1); }
.hdr.is-scrolled .brand__logo { width: 62px; height: 62px; }
/* Homepage: the logo is twice the size at the top of the page and hangs below the bar; it compacts on scroll. */
.hdr--overlay:not(.is-scrolled):not(.is-open) .brand { align-self: flex-start; margin-top: 12px; }
.hdr--overlay:not(.is-scrolled):not(.is-open) .brand__logo { width: 176px; height: 176px; }
.ftr .brand__logo { width: 160px; height: 160px; }
.nav { margin-left: auto; }
.nav ul { display: flex; gap: clamp(14px, 1.8vw, 30px); }
.nav a {
  position: relative; display: block; padding: 8px 0;
  font-size: 0.9rem; font-weight: 500; text-decoration: none; color: var(--on-night-2);
  transition: color 0.2s;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--on-night); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--signal); }
.hdr__actions { display: flex; align-items: center; gap: 18px; }
.hdr__tel { font: 500 0.9rem var(--f-mono); text-decoration: none; color: var(--on-night); white-space: nowrap; font-variant-numeric: tabular-nums; }
.hdr__tel span { color: var(--on-night-2); margin-right: 6px; }
.burger {
  display: none; align-items: center; gap: 10px; height: 40px; padding: 0 12px;
  border: 1px solid var(--night-line); border-radius: var(--radius); background: none; color: var(--on-night);
  font: 500 0.75rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer;
}
.burger__lines, .burger__lines::before, .burger__lines::after { display: block; width: 18px; height: 2px; background: currentColor; transition: transform 0.25s, background-color 0.2s; }
.burger__lines { position: relative; }
.burger__lines::before, .burger__lines::after { content: ""; position: absolute; left: 0; }
.burger__lines::before { top: -6px; }
.burger__lines::after { top: 6px; }
.burger[aria-expanded="true"] .burger__lines { background: transparent; }
.burger[aria-expanded="true"] .burger__lines::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__lines::after { transform: translateY(-6px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 45; overflow-y: auto;
  display: flex; flex-direction: column; gap: 32px;
  padding: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + 24px) var(--gutter) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--night);
}
.menu ul { border-top: 1px solid var(--night-line); }
.menu li a {
  display: flex; justify-content: space-between; align-items: center; padding: 18px 0;
  border-bottom: 1px solid var(--night-line); text-decoration: none;
  font: 620 1.6rem/1.1 var(--f-display); font-stretch: 112%; letter-spacing: -0.02em;
}
.menu li a[aria-current="page"] { color: var(--signal); }
.menu__foot { margin-top: auto; display: grid; gap: 16px; }
.menu__foot .hdr__tel { font-size: 1.1rem; }
html.menu-open { overflow: hidden; }

@media (max-width: 1220px) { .hdr .hdr__tel { display: none; } }
@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: inline-flex; }
  .hdr__actions { margin-left: auto; }
}
@media (max-width: 560px) {
  .hdr__actions .btn { display: none; }
  :root { --hdr-h: 84px; }
  .hdr .brand__logo { width: 68px; height: 68px; }
  .hdr--overlay:not(.is-scrolled):not(.is-open) .brand { margin-top: 8px; }
  .hdr--overlay:not(.is-scrolled):not(.is-open) .brand__logo { width: 136px; height: 136px; }
  .hdr.is-scrolled .brand__logo { width: 50px; height: 50px; }
  .hdr.is-scrolled .hdr__in { height: 64px; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; isolation: isolate; background: var(--night); overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; animation: settle 2.6s cubic-bezier(.2,.7,.1,1) both; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(7,17,27,.94) 0%, rgba(7,17,27,.78) 34%, rgba(7,17,27,.3) 66%, rgba(7,17,27,.45) 100%),
    linear-gradient(0deg, rgba(7,17,27,.92) 0%, rgba(7,17,27,0) 46%);
}
.hero__in {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px;
  padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(48px, 9vh, 150px));
  padding-top: max(calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(48px, 9vh, 150px)), calc(212px + env(safe-area-inset-top, 0px)));
  padding-bottom: clamp(40px, 7vh, 88px);
}
.hero__copy { display: grid; gap: 28px; justify-items: start; container-type: inline-size; }
.hero__title { font-size: var(--t-2xl); font-size: min(var(--t-2xl), 13.5cqi, 10.5vh); font-weight: 660; font-stretch: 115%; line-height: 0.95; letter-spacing: -0.032em; }
.hero__title > span { display: block; animation: rise 0.95s cubic-bezier(.2,.7,.1,1) both; }
.hero__title > span:nth-child(2) { animation-delay: 0.08s; }
.hero__title > span:nth-child(3) { animation-delay: 0.16s; }
.hero__title > span:nth-child(4) { animation-delay: 0.24s; }
.hero__lede { max-width: 60ch; font-size: var(--t-md); line-height: 1.55; color: var(--on-night-2); animation: rise 0.95s 0.34s cubic-bezier(.2,.7,.1,1) both; }
.hero__lede strong { color: var(--on-night); font-weight: 500; }
.hero .actions { animation: rise 0.95s 0.42s cubic-bezier(.2,.7,.1,1) both; }
.hero .eyebrow { animation: rise 0.8s cubic-bezier(.2,.7,.1,1) both; }

@media (max-width: 560px) {
  .hero__in { padding-top: max(calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(48px, 9vh, 150px)), calc(164px + env(safe-area-inset-top, 0px))); }
}

/* data plate: the stamped nameplate every pressure vessel carries */
.plate {
  position: relative; width: min(100%, 384px);
  padding: 24px 26px 18px;
  color: var(--plate-ink);
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0) 0 2px, rgba(255,255,255,.2) 2px 3px),
    linear-gradient(128deg, var(--plate-a) 0%, var(--plate-b) 36%, var(--plate-c) 56%, var(--plate-d) 100%);
  border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 -1px 0 rgba(0,0,0,.22) inset, 0 34px 70px -24px rgba(0,0,0,.7);
  font-family: var(--f-mono);
  text-shadow: 0 1px 0 rgba(255,255,255,.55);
  animation: slideIn 1s 0.45s cubic-bezier(.2,.7,.1,1) both;
}
.plate__head { display: grid; gap: 2px; padding-bottom: 12px; margin-bottom: 6px; border-bottom: 1.5px solid rgba(27,38,49,.55); }
.plate__head strong { font: 700 0.86rem/1.2 var(--f-display); font-stretch: 122%; letter-spacing: 0.06em; text-transform: uppercase; }
.plate__head span { font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; opacity: 0.8; }
.plate dl { margin: 0; display: grid; }
.plate dl > div { display: flex; align-items: baseline; gap: 8px; padding: 7px 0; font-size: 0.78rem; }
.plate dt { text-transform: uppercase; letter-spacing: 0.06em; white-space: nowrap; }
.plate dl > div::after { content: ""; order: 1; flex: 1; border-bottom: 1.5px dotted rgba(27,38,49,.45); transform: translateY(-3px); }
.plate dd { order: 2; margin: 0; font-weight: 600; font-size: 0.86rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.plate__foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; padding-top: 10px; border-top: 1.5px solid rgba(27,38,49,.55); font-size: 0.66rem; letter-spacing: 0.14em; text-transform: uppercase; }
.rv { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffffff 0, #b9c2cb 45%, #6c7782 100%); box-shadow: 0 1px 1px rgba(0,0,0,.35); }
.rv:nth-of-type(1) { top: 9px; left: 9px; } .rv:nth-of-type(2) { top: 9px; right: 9px; }
.rv:nth-of-type(3) { bottom: 9px; left: 9px; } .rv:nth-of-type(4) { bottom: 9px; right: 9px; }

@media (max-width: 1100px) {
  .hero__in { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 40px; }
  .hero__shade { background: linear-gradient(0deg, rgba(7,17,27,.96) 0%, rgba(7,17,27,.82) 45%, rgba(7,17,27,.55) 100%); }
  .plate { max-width: 440px; }
}

/* ---------- credentials strip ---------- */
.strip { background: var(--paper); border-bottom: 1px solid var(--line); }
.strip__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; padding-block: 22px; }
.strip__list { display: flex; flex-wrap: wrap; gap: 10px 0; }
.strip__list li { padding-inline: 22px; border-left: 1px solid var(--line); font-size: var(--t-sm); color: var(--fg-2); }
.strip__list li:first-child { padding-left: 0; border-left: 0; }
.strip__list strong { color: var(--fg); font-weight: 600; }
@media (max-width: 760px) {
  .strip__list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .strip__list li { padding: 0; border: 0; }
}

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.sec--tight { padding-block: clamp(56px, 6vw, 96px); }
.sec--night { background: var(--night); }
.sec--paper { background: var(--paper); --tb-bg: var(--paper); }
.sec--grid {
  background-color: var(--bg);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center top;
}
.sec__head { display: grid; gap: 20px; margin-bottom: clamp(40px, 5vw, 72px); max-width: 880px; }
.sec__head--split { max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 24px clamp(24px, 5vw, 96px); }
.sec__head--split > div { display: grid; gap: 20px; }
.sec__intro { color: var(--fg-2); font-size: var(--t-md); line-height: 1.55; max-width: 52ch; }
.sec__intro strong { color: var(--fg); font-weight: 600; }
.sec__foot { margin-top: clamp(36px, 4vw, 56px); display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
@media (max-width: 880px) { .sec__head--split { grid-template-columns: minmax(0, 1fr); } }

/* ---------- title block (drawing sheet info panel) ---------- */
.tb {
  display: grid; grid-template-columns: repeat(var(--tb-cols, 4), minmax(0, 1fr));
  gap: 1px; margin: 0; background: var(--tb-line); border: 1px solid var(--tb-line);
}
.tb > div { display: grid; gap: 5px; align-content: start; padding: 12px 14px; background: var(--tb-bg); min-width: 0; }
.tb dt, .tb .tb__k { font: 500 0.66rem/1.2 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.tb dd, .tb .tb__v { margin: 0; font: 500 0.88rem/1.35 var(--f-mono); color: var(--fg); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.tb--stack { grid-template-columns: minmax(0, 1fr); }
.tb--stack > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 16px; }
.tb--stack dd { text-align: right; }
.tb .ok { color: var(--ok); }
.tb--big > div { padding: 22px 22px 24px; gap: 10px; }
.tb--big dd { font: 640 var(--t-lg)/1.1 var(--f-display); font-stretch: 110%; letter-spacing: -0.015em; }
@media (max-width: 640px) {
  .tb:not(.tb--stack) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tb:not(.tb--stack) > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- audience routes ---------- */
.routes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule-strong); }
.route { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px 28px 34px; border-left: 1px solid var(--rule); }
.route:first-child { border-left: 0; padding-left: 0; }
.route::before { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 3px; background: var(--signal); transform: scaleX(0); transform-origin: left; transition: transform 0.4s cubic-bezier(.2,.7,.1,1); }
.route:hover::before, .route:focus-within::before { transform: scaleX(1); }
.route h3 { font-size: var(--t-md); font-stretch: 106%; line-height: 1.18; }
.route p { color: var(--fg-2); font-size: var(--t-sm); }
.route__links { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 10px 20px; }
@media (max-width: 1100px) {
  .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route:nth-child(3) { border-left: 0; padding-left: 0; }
  .route:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 640px) {
  .routes { grid-template-columns: minmax(0, 1fr); }
  .routes .route { padding: 26px 0 30px; border-left: 0; }
  .routes .route + .route { border-top: 1px solid var(--rule); }
}

/* ---------- lifecycle ---------- */
.cycle__track { position: relative; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: clamp(36px, 4vw, 60px); }
.cycle__pipe { position: absolute; left: calc(100% / 12); right: calc(100% / 12); top: 11px; height: 4px; border-radius: 2px; background: var(--night-3); overflow: hidden; }
.cycle__flow { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(79,200,27,.6) 0 16px, transparent 16px 44px); animation: flow 2.6s linear infinite; }
.cycle__node {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 10px;
  padding: 0 6px 8px; background: none; border: 0; cursor: pointer; text-align: center; color: var(--on-night-2);
}
.cycle__dot { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--night); border: 2px solid var(--on-night-2); transition: border-color .3s, box-shadow .3s; }
.cycle__dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: transparent; transition: background-color .3s; }
.cycle__node:hover .cycle__dot { border-color: var(--on-night); }
.cycle__node[aria-selected="true"] .cycle__dot { border-color: var(--signal); box-shadow: 0 0 0 7px rgba(79,200,27,.16); }
.cycle__node[aria-selected="true"] .cycle__dot::after { background: var(--signal); }
.cycle__step { font: 500 0.68rem/1 var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.cycle__name { font: 620 var(--t-md)/1.1 var(--f-display); font-stretch: 110%; letter-spacing: -0.015em; transition: color .2s; }
.cycle__node:hover .cycle__name, .cycle__node[aria-selected="true"] .cycle__name { color: var(--on-night); }
.cycle__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.cycle__panel:not([hidden]) { animation: fadeUp .5s cubic-bezier(.2,.7,.1,1) both; }
.cycle__copy { display: grid; gap: 18px; justify-items: start; }
.cycle__copy h3 { font-size: var(--t-lg); }
.cycle__copy p { color: var(--on-night-2); font-size: var(--t-md); line-height: 1.55; }
.cycle__fig { position: relative; }
.cycle__fig img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); }
.cycle__fig figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 10px; background: rgba(7,17,27,.78); color: var(--on-night); font: 500 0.68rem var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.cycle__return { display: flex; align-items: center; gap: 10px; margin-top: clamp(28px, 3vw, 44px); color: var(--on-night-2); }
.cycle__return svg { flex: none; }
@media (max-width: 900px) {
  .cycle__track { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 22px; }
  .cycle__pipe { display: none; }
  .cycle__panel { grid-template-columns: minmax(0, 1fr); }
  .cycle__fig { order: -1; }
}

/* ---------- new vessel range ---------- */
.range { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.range__item {
  display: grid; gap: 14px; height: 100%; padding: 28px 28px 22px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--fg); text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.25s, transform 0.25s cubic-bezier(.2,.7,.1,1);
}
.range__item:hover { border-color: var(--ink); box-shadow: 0 24px 48px -32px rgba(10,22,34,.4); transform: translateY(-2px); }
.range__cap { font: 660 clamp(2.6rem, 1.7rem + 2.8vw, 4.4rem)/0.95 var(--f-display); font-stretch: 115%; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.range__cap small { margin-left: 0.18em; font-size: 0.42em; letter-spacing: 0; }
.range__meta { color: var(--fg-2); }
.range__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 6px; padding-top: 16px; border-top: 1px solid var(--line); }
.range__go { display: inline-flex; align-items: center; gap: 0.5em; font-weight: 600; font-size: var(--t-sm); }
.range__go::after {
  content: ""; width: 13px; height: 9px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.25s;
}
.range__item:hover .range__go::after { transform: translateX(4px); }
.range__spec { display: flex; flex-wrap: wrap; gap: 10px 0; margin-top: 24px; }
.range__spec li { padding-inline: 16px; border-left: 1px solid var(--line-2); font: 500 0.8rem var(--f-mono); color: var(--fg-2); }
.range__spec li:first-child { padding-left: 0; border-left: 0; }
@media (max-width: 760px) {
  .range { grid-template-columns: minmax(0, 1fr); }
  .range__spec { display: grid; gap: 8px; }
  .range__spec li { padding: 0; border: 0; }
}

/* specification panel */
.spec > div { padding: 16px 20px; }
.spec dt { font-size: 0.7rem; }
.spec dd { font-size: 0.95rem; }

/* order builder */
.order { --ocols: minmax(0, 1fr) minmax(0, 1.6fr) auto; display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 44px); align-items: start; }
.order__lines { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.order__head { display: grid; grid-template-columns: var(--ocols); gap: 16px; padding: 14px 24px; border-bottom: 1px solid var(--ink); font: 500 0.68rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); }
.order__head span:last-child { width: 138px; text-align: center; }
.oline { display: grid; grid-template-columns: var(--ocols); gap: 16px; align-items: center; padding: 16px 24px; border-bottom: 1px solid var(--line); transition: background-color 0.25s; }
.oline.is-active { background: rgba(79,200,27,.08); }
.oline.is-focus { animation: rowFocus 2.4s ease both; }
.oline__cap strong { font: 640 1.45rem/1 var(--f-display); font-stretch: 110%; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.oline__type { font-weight: 500; }
.qty { display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.qty button { width: 44px; height: 44px; border: 0; background: var(--bg); color: var(--ink); font: 500 1.25rem/1 var(--f-body); cursor: pointer; transition: background-color 0.2s; }
.qty button:hover { background: var(--line); }
.qty button:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; }
.qty input { width: 50px; height: 44px; padding: 0; border: 0; border-inline: 1px solid var(--line-2); background: var(--paper); color: var(--ink); text-align: center; font: 600 1rem var(--f-mono); -moz-appearance: textfield; appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty input:focus { outline: 3px solid var(--focus); outline-offset: -3px; }
.order__bespoke { padding: 16px 24px; font-size: var(--t-sm); color: var(--fg-2); }
.order__bespoke a { color: var(--fg); font-weight: 600; }
.order__sum { position: sticky; top: calc(var(--hdr-h) + 24px); display: grid; gap: 16px; padding: 28px; background: var(--night); border-radius: var(--radius); }
.order__total { font: 640 var(--t-md) var(--f-display); font-stretch: 108%; color: var(--on-night-2); }
.order__total strong { margin-right: 6px; font-size: 3rem; line-height: 1; color: var(--on-night); font-variant-numeric: tabular-nums; }
.order__list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--night-line); font: 500 0.85rem var(--f-mono); color: var(--on-night); }
.order__list li.order__empty { color: var(--on-night-2); font-family: var(--f-body); }
.order__go { width: 100%; }
.order__go[aria-disabled="true"] { opacity: 0.45; cursor: not-allowed; }
.order__hint { color: var(--signal); font-size: 0.875rem; font-weight: 500; }
.order__note { font-size: 0.85rem; color: var(--on-night-2); }
.order-recap { display: grid; gap: 10px; justify-items: start; padding: 16px 18px; background: var(--bg); border-radius: var(--radius); }
.order-recap ul { display: grid; gap: 4px; font: 500 0.9rem var(--f-mono); }
@keyframes rowFocus { 0%, 60% { background: rgba(79,200,27,.18); } 100% { background: transparent; } }
@media (max-width: 1000px) {
  .order { grid-template-columns: minmax(0, 1fr); }
  .order__sum { position: static; }
}
@media (max-width: 640px) {
  .order__head { display: none; }
  .oline { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; padding: 16px 18px; }
  .oline__cap { grid-column: 1; }
  .oline__type { grid-column: 1; font-size: var(--t-sm); color: var(--fg-2); }
  .oline__stock { display: none; }
  .qty { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
}

.note-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 32px; margin-top: clamp(36px, 4vw, 56px); padding-top: 24px; border-top: 1px solid var(--rule); }
.note-row p { color: var(--fg-2); max-width: 70ch; }
.note-row strong { color: var(--fg); font-weight: 600; }

/* ---------- refurbishment ---------- */
.refurb__head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(28px, 5vw, 96px); align-items: end; margin-bottom: clamp(48px, 6vw, 88px); }
.refurb__head > div { display: grid; gap: 16px; }
.mega { font: 700 var(--t-mega)/0.84 var(--f-display); font-stretch: 120%; letter-spacing: -0.05em; color: var(--on-night); }
.mega span { color: var(--signal); }
.refurb__body { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.refurb__side { display: grid; gap: 28px; justify-items: start; }
.refurb__side > .coat, .refurb__side > .photo-cap { justify-self: stretch; }
.steps { counter-reset: step; border-top: 1px solid var(--rule-strong); }
.steps li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.steps li::before { content: counter(step, decimal-leading-zero); grid-row: span 2; padding-top: 5px; font: 500 0.85rem var(--f-mono); color: var(--fg-3); }
.sec--night .steps li::before, .night .steps li::before { color: var(--signal); }
.steps h3 { font-size: var(--t-md); font-stretch: 106%; }
.steps p { color: var(--fg-2); font-size: var(--t-sm); }
.coat { padding: 20px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--night-2); }
.coat svg { display: block; width: 100%; height: auto; }
.coat text { font-family: var(--f-mono); }
.ct-steel { fill: #26394c; }
.ct-in { fill: var(--ink); font-size: 11px; font-weight: 600; letter-spacing: .12em; }
.ct-hatch { stroke: var(--on-night-2); stroke-width: 1; opacity: .35; }
.ct-primer { fill: #8e9aa7; }
.ct-top { fill: var(--tank-a1); }
.ct-edge { fill: none; stroke: var(--on-night); stroke-width: 1; opacity: .7; }
.ct-dim { stroke: var(--signal); stroke-width: 1.4; fill: none; }
.ct-t { fill: var(--on-night); font-size: 12px; letter-spacing: .1em; }
.ct-s { fill: var(--on-night-2); font-size: 11px; letter-spacing: .06em; }
.ct-y { fill: var(--signal); font-size: 13px; font-weight: 600; }
.ct-tick { stroke: var(--on-night-2); stroke-width: 1; }
.photo-cap { display: grid; gap: 10px; }
.photo-cap img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.photo-cap figcaption { font-size: var(--t-sm); color: var(--fg-3); }
@media (max-width: 960px) {
  .refurb__head, .refurb__body { grid-template-columns: minmax(0, 1fr); }
}

/* workshop facilities + quality items */
.facilities { display: grid; width: 100%; border-top: 1px solid var(--rule-strong); }
.facilities li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 6px 20px; padding: 22px 0 24px; border-bottom: 1px solid var(--rule); }
.facilities .label { padding-top: 5px; }
.facilities h3 { font-size: var(--t-md); font-stretch: 106%; }
.facilities li p:not(.label) { margin-top: 6px; color: var(--fg-2); font-size: var(--t-sm); }
.sec--night .facilities .label { color: var(--signal); }

/* illustrative vessel record (quality platform) */
.record { align-self: center; overflow: hidden; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 6px; box-shadow: 0 40px 80px -40px rgba(0,0,0,.85); font-family: var(--f-mono); --tb-bg: var(--night-2); }
.record__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 18px; background: var(--night-3); border-bottom: 1px solid var(--night-line); }
.record__bar strong { font: 600 0.78rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-night); }
.record__tag { padding: 3px 9px; border: 1px solid var(--night-line); border-radius: 999px; font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-2); white-space: nowrap; }
.record .tb { --tb-cols: 3; border: 0; border-bottom: 1px solid var(--night-line); }
.record__ok { color: var(--signal) !important; }
.record__stages { display: grid; padding: 6px 18px 10px; }
.record__stages li { display: grid; grid-template-columns: 20px 92px minmax(0, 1fr); align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--night-line); font-size: 0.8rem; color: var(--on-night-2); }
.record__stages li:last-child { border-bottom: 0; }
.record__stages li::before { content: "\2713"; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: var(--signal); color: var(--ink); font: 700 0.7rem/1 var(--f-body); }
.record__stages strong { color: var(--on-night); font-weight: 500; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.74rem; }
.record__foot { padding: 12px 18px; border-top: 1px solid var(--night-line); font-size: 0.66rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-2); }
@media (max-width: 560px) {
  .record__stages li { grid-template-columns: 20px minmax(0, 1fr); }
  .record__stages li span { grid-column: 2; margin-top: -8px; }
}

/* ---------- services ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: stretch; }
.svc__feature { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 420px; background: var(--night); }
.svc__feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.1,1); }
.svc__feature:hover img { transform: scale(1.035); }
.svc__feature figcaption { position: absolute; inset: auto 0 0 0; display: grid; gap: 8px; padding: 80px 26px 26px; background: linear-gradient(0deg, rgba(7,17,27,.92), rgba(7,17,27,0)); color: var(--on-night); --fg-3: var(--on-night-2); }
.svc__feature figcaption p { font: 600 var(--t-md)/1.3 var(--f-display); font-stretch: 106%; max-width: 30ch; }
.svc__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 48px); border-top: 1px solid var(--rule-strong); align-content: start; }
.svc__list li { display: grid; gap: 8px; align-content: start; padding: 24px 0 28px; border-bottom: 1px solid var(--rule); }
.svc__list h3 { font-size: var(--t-md); font-stretch: 106%; }
.svc__list p { color: var(--fg-2); font-size: var(--t-sm); }
@media (max-width: 960px) { .svc { grid-template-columns: minmax(0, 1fr); } .svc__feature { min-height: 360px; } }
@media (max-width: 600px) { .svc__list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- proof ---------- */
.proof__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 88px); }
.quote { display: grid; gap: 24px; align-content: start; padding-top: 30px; border-top: 1px solid var(--rule-strong); }
.quote blockquote { margin: 0; }
.quote p { font: 400 var(--t-lg)/1.3 var(--f-display); font-stretch: 100%; letter-spacing: -0.014em; text-wrap: pretty; color: var(--fg); }
.quote p::before { content: "\201C"; }
.quote p::after { content: "\201D"; }
.standards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.standards li { display: grid; grid-template-rows: auto auto 1fr auto; gap: 12px; padding: clamp(24px, 2.6vw, 38px); background: var(--paper); }
.standards h3 { font-size: clamp(1.3rem, 1.05rem + 0.7vw, 1.65rem); font-stretch: 108%; }
.standards li > p:nth-of-type(2) { color: var(--fg-2); font-size: var(--t-sm); }
.standards__proof { display: flex; align-items: center; gap: 10px; margin-top: 8px; padding-top: 16px; border-top: 1px solid var(--line); font: 500 0.8rem var(--f-mono); letter-spacing: 0.04em; color: var(--fg); }
.standards__proof::before { content: ""; width: 8px; height: 8px; flex: none; background: var(--signal); }
.standards__voices { display: grid; gap: 32px; margin-top: clamp(64px, 8vw, 120px); }
@media (max-width: 1000px) { .standards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .standards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 860px) { .proof__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- company / split ---------- */
.company__in { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 96px); align-items: center; }
.company__fig { display: grid; gap: 12px; }
.company__fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.company__copy { display: grid; gap: 24px; justify-items: start; }
.company__copy .tb { --tb-cols: 2; width: 100%; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.split--even { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.split__sticky { position: sticky; top: calc(var(--hdr-h) + 40px); }
.stack { display: grid; gap: 22px; align-content: start; justify-items: start; }
@media (max-width: 900px) {
  .company__in, .split, .split--even { grid-template-columns: minmax(0, 1fr); }
  .split__sticky { position: static; }
}

/* ---------- quote starter ---------- */
.cta__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px clamp(32px, 5vw, 96px); align-items: start; }
.cta__head { display: grid; gap: 20px; }
.cta__head p:not(.eyebrow) { color: var(--fg-2); font-size: var(--t-md); max-width: 42ch; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--night-line); border: 1px solid var(--night-line); }
.choice { display: grid; align-content: space-between; gap: 18px; min-height: 152px; padding: 26px 26px 24px; background: var(--night); text-decoration: none; transition: background-color .25s; }
.choice:hover { background: var(--night-3); }
.choice__k { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; font: 620 var(--t-md)/1.15 var(--f-display); font-stretch: 108%; color: var(--on-night); }
.choice__k::after {
  content: ""; width: 16px; height: 12px; margin-top: 6px; flex: none; background: var(--signal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M0 5h12.5M8.5 1l4 4-4 4' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s;
}
.choice:hover .choice__k::after { transform: translateX(4px); }
.choice__d { color: var(--on-night-2); font-size: var(--t-sm); }
.cta__direct { grid-column: 2; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 28px; }
.cta__tel { font: 600 var(--t-lg) var(--f-mono); color: var(--signal); text-decoration: none; font-variant-numeric: tabular-nums; }
.cta__mail { color: var(--on-night); }
@media (max-width: 960px) { .cta__in { grid-template-columns: minmax(0, 1fr); } .cta__direct { grid-column: auto; } }
@media (max-width: 560px) { .choices { grid-template-columns: minmax(0, 1fr); } .choice { min-height: 0; } }

/* ---------- page head (sub pages) ---------- */
.phead { padding-top: calc(var(--hdr-h) + env(safe-area-inset-top, 0px) + clamp(48px, 7vw, 112px)); padding-bottom: clamp(48px, 6vw, 88px); }
.phead__in { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(280px, 1fr); gap: 40px clamp(32px, 5vw, 96px); align-items: end; }
.phead__text { display: grid; gap: 22px; justify-items: start; }
.phead__title { font-size: var(--t-page); line-height: 0.98; letter-spacing: -0.03em; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li { font: 500 0.7rem var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.crumbs li + li::before { content: "/"; margin-right: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--fg); }
.band { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 12px; margin-top: clamp(44px, 5vw, 80px); }
.band figure { display: grid; gap: 10px; align-content: start; min-width: 0; }
.band img { width: 100%; height: clamp(220px, 27vw, 430px); object-fit: cover; border-radius: var(--radius); }
.band figcaption { font: 500 0.68rem var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
@media (max-width: 900px) {
  .phead__in { grid-template-columns: minmax(0, 1fr); }
  .band { grid-template-columns: 1fr 1fr; }
  .band figure:first-child { grid-column: 1 / -1; }
  .band img { height: clamp(180px, 42vw, 360px); }
}

/* ---------- content rows ---------- */
.rows { display: grid; gap: clamp(64px, 8vw, 128px); }
.row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 96px); align-items: center; }
.row:nth-child(even) .row__fig { order: 2; }
.row__fig { display: grid; gap: 10px; }
.row__fig img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }
.row__fig figcaption { font: 500 0.68rem var(--f-mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-3); }
.row__copy { display: grid; gap: 20px; justify-items: start; }
.row__copy .h3 + p { margin-top: -4px; }
@media (max-width: 900px) { .row { grid-template-columns: minmax(0, 1fr); } .row:nth-child(even) .row__fig { order: 0; } }

.ticks { display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--fg-2); }
.ticks li::before {
  content: ""; width: 16px; height: 16px; margin-top: 4px; background: var(--fg);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8.5l4 4 8-9' fill='none' stroke='black' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}
.sec--night .ticks li::before { background: var(--signal); }
.ticks strong { color: var(--fg); font-weight: 600; }

/* ---------- stock table ---------- */
.table-wrap { position: relative; overflow-x: auto; min-width: 0; max-width: 100%; }
.split > *, .row > *, .company__in > *, .cta__in > *, .quote-wrap > *, .refurb__body > *, .svc > * { min-width: 0; }
.stock { width: 100%; min-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stock th, .stock td { padding: 18px 14px; text-align: left; vertical-align: middle; border-bottom: 1px solid var(--rule); }
.stock th:first-child, .stock td:first-child { padding-left: 0; }
.stock th:last-child, .stock td:last-child { padding-right: 0; text-align: right; }
.stock thead th { font: 500 0.68rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); border-bottom: 1px solid var(--rule-strong); }
.stock tbody th { font: 640 var(--t-md) var(--f-display); font-stretch: 110%; letter-spacing: -0.01em; }
.stock td { color: var(--fg-2); font-size: var(--t-sm); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 5px 11px; border-radius: 999px; background: var(--ok-bg); color: var(--ok); font: 500 0.78rem var(--f-mono); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

.bespoke { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(28px, 5vw, 96px); align-items: center; margin-top: clamp(56px, 7vw, 104px); padding: clamp(28px, 4vw, 56px); background: var(--night); border-radius: var(--radius); }
.bespoke .stack p { color: var(--fg-2); }
.bespoke .tb { --tb-cols: 1; }
@media (max-width: 860px) { .bespoke { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule-strong); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 24px 0; cursor: pointer; list-style: none;
  font: 600 var(--t-md)/1.3 var(--f-display); font-stretch: 104%; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; margin-top: 7px;
  background: linear-gradient(currentColor, currentColor) center / 14px 2px no-repeat, linear-gradient(currentColor, currentColor) center / 2px 14px no-repeat;
  transition: transform .25s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink-2); }
.faq details > p { max-width: 68ch; padding-bottom: 26px; color: var(--fg-2); }

/* ---------- quote form ---------- */
.quote-wrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(28px, 4vw, 72px); align-items: start; }
.qf { padding: clamp(22px, 3.6vw, 52px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); scroll-margin-top: calc(var(--hdr-h) + 16px); }
.qf__bar { display: block; height: 3px; margin-bottom: 14px; background: var(--line); }
.qf__bar i { display: block; height: 100%; width: 33.333%; background: var(--signal); transition: width .45s cubic-bezier(.2,.7,.1,1); }
.qf__status { margin-bottom: 30px; }
.qf__step { border: 0; padding: 0; margin: 0; min-width: 0; }
.qf__legend { display: block; width: 100%; padding: 0; margin-bottom: 26px; font: 640 var(--t-lg)/1.1 var(--f-display); font-stretch: 112%; letter-spacing: -0.02em; outline: none; }
.qf__body { display: grid; gap: 24px; }
.qf__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.qf__nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 10px; padding-top: 24px; border-top: 1px solid var(--line); }
.qf__nav > :only-child { margin-left: auto; }
.qf__group { display: grid; gap: 24px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.opt { position: relative; display: grid; gap: 3px; align-content: start; padding: 16px 18px 16px 50px; border: 1px solid var(--line-2); border-radius: var(--radius); cursor: pointer; transition: border-color .2s, background-color .2s, box-shadow .2s; }
.opt:hover { border-color: var(--ink-3); }
.opt input { position: absolute; left: 18px; top: 18px; width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--bg); box-shadow: inset 0 0 0 1px var(--ink); }
.opt:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }
.opt__k { font-weight: 600; }
.opt__d { font-size: 0.875rem; color: var(--fg-3); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 10px 15px; border: 1px solid var(--line-2); border-radius: var(--radius); font: 500 0.9rem var(--f-mono); transition: background-color .2s, color .2s, border-color .2s; }
.chip:hover span { border-color: var(--ink-3); }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.field { display: grid; gap: 9px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > label, .field > legend { padding: 0; font-size: var(--t-sm); font-weight: 600; }
.field > legend { margin-bottom: 9px; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  background: var(--paper); color: var(--ink);
  border: 1px solid var(--line-2); border-radius: var(--radius);
  font-size: 1rem; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 116px; resize: vertical; line-height: 1.5; }
.field :is(input, select, textarea):focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(79,200,27,.45); }
.field [aria-invalid="true"] { border-color: var(--error); }
.field ::placeholder { color: #8994a1; }
.opt-tag { font-weight: 400; color: var(--fg-3); }
.qf__err { color: var(--error); font-size: 0.875rem; font-weight: 500; }
.qf__privacy { font-size: 0.875rem; color: var(--fg-3); }
.qf__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.qf__summary { display: grid; gap: 0; padding: 4px 18px; background: var(--bg); border-radius: var(--radius); }
.qf__summary div { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.qf__summary div:last-child { border-bottom: 0; }
.qf__summary dt { color: var(--fg-3); font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 2px; }
.qf__summary dd { margin: 0; text-align: right; font-weight: 500; }
.qf__done { display: grid; gap: 18px; justify-items: start; outline: none; }
.qf__done h2 { font-size: var(--t-lg); }
.qf__done p { color: var(--fg-2); max-width: 56ch; }
.qf__notice { padding: 14px 16px; border: 1px dashed var(--line-2); border-radius: var(--radius); font-size: 0.9rem; color: var(--fg-2); }
.aside { display: grid; gap: 28px; }
.aside .tb { --tb-bg: var(--bg); }
.next { counter-reset: n; display: grid; gap: 16px; }
.next li { counter-increment: n; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; font-size: var(--t-sm); color: var(--fg-2); }
.next li::before { content: counter(n, decimal-leading-zero); font: 500 0.8rem var(--f-mono); color: var(--fg-3); padding-top: 2px; }
@media (max-width: 1000px) { .quote-wrap { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) { .opts, .qf__row { grid-template-columns: minmax(0, 1fr); } }

/* ---------- buyer's guide ---------- */
.guide { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 8fr); gap: clamp(32px, 5vw, 96px); align-items: start; }
.toc { position: sticky; top: calc(var(--hdr-h) + 32px); display: grid; gap: 14px; }
.toc ol { display: grid; border-left: 1px solid var(--line); }
.toc a { display: block; margin-left: -1px; padding: 7px 0 7px 16px; border-left: 2px solid transparent; color: var(--fg-2); font-size: 0.9rem; line-height: 1.4; text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.toc a:hover { color: var(--fg); border-color: var(--signal); }
.guide__body { display: grid; gap: clamp(56px, 6vw, 88px); min-width: 0; }
.guide__body > section { display: grid; gap: 20px; scroll-margin-top: calc(var(--hdr-h) + 24px); }
.guide__body h2 { font-size: var(--t-lg); }
.guide__body p { max-width: 68ch; color: var(--fg-2); }
.guide__body p a:not(.link-arrow), .guide__body td a { color: var(--fg); font-weight: 600; }
.guide__answer { font-size: var(--t-md); line-height: 1.55; }
.guide__body .guide__answer { color: var(--fg); }
.routes3 { border-top: 1px solid var(--rule-strong); }
.routes3 li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 6px 28px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.routes3 h3 { font-size: var(--t-md); font-stretch: 106%; }
.ctable { width: 100%; min-width: 560px; border-collapse: collapse; font-size: var(--t-sm); }
.ctable th, .ctable td { padding: 14px 16px 14px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--rule); }
.ctable thead th { font: 500 0.68rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-3); border-bottom: 1px solid var(--rule-strong); }
.ctable tbody th { width: 24%; font-weight: 600; }
.ctable td { color: var(--fg-2); }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.duo > div { display: grid; gap: 10px; align-content: start; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.duo h3 { font-size: var(--t-md); font-stretch: 106%; }
.glossary { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0; border-top: 1px solid var(--rule-strong); }
.glossary > div { padding: 16px 0; border-bottom: 1px solid var(--rule); }
.glossary dt { font-weight: 600; }
.glossary dd { margin: 4px 0 0; color: var(--fg-2); font-size: var(--t-sm); }
.privacy__table { min-width: 760px; }
.privacy__table tbody th { width: 34%; font-weight: 500; color: var(--fg); }
.privacy__table td { font-size: 0.9rem; }
.privacy__contact { max-width: 560px; }
.privacy ul.ticks li { color: var(--fg-2); }
.qf__privacy a { color: var(--fg); font-weight: 600; }
.guide__body p.entity { max-width: none; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--fg); }
@media (max-width: 900px) {
  .guide { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
  .routes3 li, .duo, .glossary { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- accreditation badges ---------- */
/* Logos sit on white cards, as supplied, so the official artwork is never recoloured. */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: flex; align-items: center; gap: 14px; padding: 10px 20px 10px 12px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); }
.badge__logo { display: block; height: 56px; flex: none; }
.badge__logo img { width: auto; height: 100%; }
.badge__text { display: grid; gap: 3px; line-height: 1.25; }
.badge__text strong { font-size: 0.95rem; font-weight: 600; color: var(--ink); }
.badge__text span { font: 500 0.7rem var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.ftr .badges { display: flex; gap: 12px; }
.ftr .badge { border-color: transparent; }
.ftr__creds { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; margin-bottom: 28px; padding-top: 28px; border-top: 1px solid var(--night-line); }
.row__copy .badges, .aside .badges { margin-top: 4px; }
.strip__cred { display: flex; align-items: center; gap: 10px; }
.strip__cred img { width: auto; height: 34px; }

/* ---------- footer ---------- */
.ftr { background: var(--night-2); padding-top: clamp(64px, 8vw, 112px); padding-bottom: calc(36px + env(safe-area-inset-bottom, 0px)); --tb-bg: var(--night-2); }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: clamp(48px, 6vw, 80px); }
.ftr__brand { display: grid; gap: 22px; justify-items: start; align-content: start; }
.ftr__brand p { color: var(--on-night-2); max-width: 38ch; font-size: var(--t-sm); }
.ftr h2 { margin-bottom: 18px; font: 500 0.7rem var(--f-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-night-2); }
.ftr ul { display: grid; gap: 11px; }
.ftr a:not(.btn) { text-decoration: none; color: var(--on-night); }
.ftr a:not(.btn):hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--signal); }
.ftr address, .ftr__contact { display: grid; gap: 4px; color: var(--on-night-2); font-size: var(--t-sm); }
.ftr__contact a { font-family: var(--f-mono); }
.ftr .tb { --tb-cols: 5; }
@media (max-width: 900px) {
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 760px) { .ftr { padding-bottom: calc(104px + env(safe-area-inset-bottom, 0px)); } }

/* ---------- mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1.25fr; gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(7,17,27,.96); border-top: 1px solid var(--night-line);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  .mbar a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: var(--radius); font-weight: 600; font-size: 0.95rem; text-decoration: none; }
  .mbar__call { color: var(--on-night); border: 1px solid var(--night-line); font-family: var(--f-mono); font-weight: 500; }
  .mbar__quote { background: var(--signal); color: var(--ink); }
  html.menu-open .mbar { display: none; }
}

/* ---------- motion ---------- */
@keyframes settle { from { transform: scale(1.09); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes slideIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes flow { to { background-position: 44px 0; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
