/*
  Inventix theme: tokens and components (DESIGN.md). Loaded after the taste kit (assets/kit: system.css,
  motion.css, layout.css), whose grid, section rhythm, nav, footer.closing and motion this file keeps.
  It sets the brand tokens, the few places DESIGN.md decides a different look than the kit's default, and
  the work-product visuals. Class prefix: ix-.
*/

/* ---------------------------------------------------------------- fonts (self-hosted, OFL) */
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2190-2199, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Schibsted Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("../fonts/schibsted-grotesk-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* size-adjusted Arial so the swap does not shift layout (DESIGN.md starting values) */
@font-face {
  font-family: "Schibsted Fallback"; src: local("Arial"), local("ArialMT");
  size-adjust: 103%; ascent-override: 96%; descent-override: 25%; line-gap-override: 0%;
}

/* ---------------------------------------------------------------- tokens (DESIGN.md token block) */
:root {
  --p-bg: #ffffff; --p-surface: #f0f2f8; --p-ink: #000068; --p-muted: #4b5470; /* override */
  --p-accent: #ffcc00; --p-accent-ink: #000068; --p-action: #000068; --p-action-ink: #ffffff;
  --p-inv-bg: #000068; --p-inv-surface: #1c1c84; /* override */ --p-inv-ink: #ffffff; --p-inv-muted: #a9b4d6;
  --p-inv-accent: #ffcc00; --p-inv-accent-ink: #000068; --p-inv-action: #ffcc00; --p-inv-action-ink: #000068;
  --font-display: "Schibsted Grotesk", "Schibsted Fallback", Arial, sans-serif;
  --font-text: "Schibsted Grotesk", "Schibsted Fallback", Arial, sans-serif;
  --font-code: "JetBrains Mono", ui-monospace, Menlo, Consolas, monospace;
  --display-weight: 400;
  --display-tracking: -0.035em;
  --display-tracking-xl: -0.042em;
  --ly-scale: 0.98;
  --line: #d5dae5; --line-strong: #000068; --frame-line: #c9cedb;

  /* the rest of DESIGN.md's named colours */
  --navy-hover: #1c1c84; --navy-deep: #00004a; --yellow: #ffcc00; --yellow-hover: #ffd633;
  --surface-strong: #e6e9f0; --surface-strong-hover: #d9deea; --on-navy-line: #2e2e8f;
  --font-mono: var(--font-code);
  --trace: 2px;
  --node: 8px;
}
@media (max-width: 639px) { :root { --trace: 1.5px; --node: 6px; } }
/* the kit recomputes the hairlines per ground; DESIGN.md fixes them */
:root, .ground-base, .ground-surface { --line: #d5dae5; --line-strong: #000068; }
.ground-inverse { --line: var(--on-navy-line); --line-strong: var(--on-navy-line); }

/* ---------------------------------------------------------------- base (DESIGN.md › Typography, Focus) */
html { scroll-padding-top: 88px; }
body { line-height: 1.6; }
h2, .t-h2 { line-height: 1.08; letter-spacing: -0.03em; }
h3, .t-h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.t-label { font-weight: 600; letter-spacing: 0.01em; }
:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; }
::selection { background: var(--yellow); color: var(--p-ink); }
.ix-icon { flex: none; display: block; }

/* ---------------------------------------------------------------- buttons (tonal, explicit hexes) */
.btn--primary:hover { background: var(--navy-hover); }
html[data-buttons="tonal"] .btn--secondary { background: var(--surface-strong); color: var(--p-ink); }
html[data-buttons="tonal"] .btn--secondary:hover { background: var(--surface-strong-hover); }
.ground-inverse .btn--primary:hover { background: var(--yellow-hover); }
html[data-buttons="tonal"] .ground-inverse .btn--secondary { background: var(--p-inv-surface); color: #fff; }
html[data-buttons="tonal"] .ground-inverse .btn--secondary:hover { background: #2a2a93; }

/* ---------------------------------------------------------------- links: a #D5DAE5 underline that turns navy */
.link { text-decoration-color: var(--line); }
.link:hover { text-decoration-color: currentColor; }
.ground-inverse .link { color: #fff; text-decoration-color: var(--on-navy-line); }
.ground-inverse .link:hover { text-decoration-color: var(--yellow); }

/* ---------------------------------------------------------------- header */
.nav__logo img { height: 28px; width: auto; } /* 28px: the X's thin outline traces fade at 24 (owner review) */
@media (max-width: 639px) { .nav__logo img { height: 22px; } }
.nav:not(.is-open) .ix-sheet-only { display: none; }
.ix-menu-flow { display: block; height: 160px; border-radius: var(--r-md); background: var(--p-surface); }
.ix-menu-flow svg { width: 100%; height: 100%; }
.ix-menu-flow__box { fill: #fff; stroke: var(--frame-line); stroke-width: 1; }
.nav__menu .ix-menu-all { grid-column: 1 / span 6; justify-self: start; margin-top: var(--s-2); }

/* ---------------------------------------------------------------- traces (the brand motif) */
.ix-trace__line { fill: none; stroke: var(--p-ink); stroke-width: var(--trace); stroke-linecap: round; stroke-linejoin: round; }
.ix-trace__node { fill: var(--p-ink); }
.ix-dot { display: block; flex: none; width: var(--node); height: var(--node); border-radius: 50%; background: var(--p-ink); }

/* ---------------------------------------------------------------- H1: the split hero's picture */
.hero-text.hero__grid { position: relative; }
.ix-hero-visual.hero__media { background: none; overflow: visible; border-radius: 0; }
.ix-hero-visual > .ix-hero-window { position: absolute; inset: 0 0 48px 0; height: auto; }
.ix-float {
  position: absolute; z-index: 2; left: var(--s-5); bottom: 0; width: 300px; max-width: calc(100% - 48px);
  padding: var(--s-4); background: #fff; border: 1px solid var(--frame-line); border-radius: var(--r-md);
}
@media (max-width: 639px) {
  .ix-hero-visual > .ix-hero-window { inset: 0; }
  .ix-float { display: none; }
}

/* ---------------------------------------------------------------- window frame */
.ix-window {
  container-type: inline-size; position: relative; display: flex; flex-direction: column; width: 100%; height: 100%; min-height: 0;
  overflow: hidden; background: #fff; border: 1px solid var(--frame-line); border-radius: var(--r-md);
  font: 400 14px/1.45 var(--font-text); color: var(--p-ink); text-align: left;
}
.ix-window__bar { flex: none; display: flex; align-items: center; gap: var(--s-3); height: 40px; padding: 0 var(--s-4); background: var(--p-surface); border-bottom: 1px solid var(--frame-line); }
.ix-window__dots { display: flex; gap: 6px; flex: none; }
.ix-window__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--frame-line); }
.ix-window__url { flex: 0 1 300px; min-width: 0; height: 24px; display: flex; align-items: center; padding: 0 var(--s-3); overflow: hidden; white-space: nowrap;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-sm); font-size: 13px; color: var(--p-muted); }
.ix-window__title { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; }
.ix-window__body { flex: 1 1 auto; min-height: 0; position: relative; overflow: hidden; }

/* shared mock pieces: skeleton lines, buttons, the flat navy-and-white picture */
.ix-sk { display: block; flex: none; height: 8px; width: 60%; border-radius: 4px; background: var(--surface-strong); }
.ix-sk--tall { height: 10px; }
.ix-sk--on { background: rgb(255 255 255 / .75); }
.ix-sk--w10 { width: 10%; } .ix-sk--w12 { width: 12%; } .ix-sk--w30 { width: 30%; } .ix-sk--w40 { width: 40%; } .ix-sk--w50 { width: 50%; }
.ix-sk--w60 { width: 60%; } .ix-sk--w70 { width: 70%; } .ix-sk--w90 { width: 90%; }
.ix-mock-btn { display: inline-flex; align-items: center; justify-content: center; flex: none; height: 28px; min-width: 64px; padding: 0 var(--s-3);
  border-radius: 6px; background: var(--p-ink); color: #fff; font: 500 13px/1 var(--font-text); white-space: nowrap; }
.ix-mock-btn > .ix-sk { width: 40px; }
.ix-mock-btn--2 { background: var(--surface-strong); }
.ix-mock-btn--sm { height: 20px; min-width: 48px; margin-left: auto; }
.ix-art { position: relative; display: block; overflow: hidden; background: var(--p-ink); border-radius: 6px; aspect-ratio: 4 / 3; }
.ix-art::before { content: ""; position: absolute; width: 34%; aspect-ratio: 1; border-radius: 50%; background: #fff; right: 14%; top: 16%; }
.ix-art::after { content: ""; position: absolute; left: 12%; bottom: 16%; width: 46%; height: 12%; background: #fff; }

/* the block editor (wp-editor.php) */
.ix-ed { display: flex; flex-direction: column; height: 100%; }
.ix-ed__top { flex: none; display: flex; align-items: center; gap: var(--s-3); height: 44px; padding: 0 var(--s-3); border-bottom: 1px solid var(--line); }
.ix-ed__wp { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: var(--p-ink); color: #fff; }
.ix-ed__plus { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; border: 1px solid var(--frame-line); }
.ix-ed__top > .ix-sk { margin-inline: auto; }
.ix-ed__save { width: 56px; height: 28px; border-radius: 6px; background: var(--p-ink); }
.ix-ed__main { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 132px minmax(0, 1fr) 150px; }
.ix-ed__blocks { display: grid; align-content: start; gap: 2px; padding: var(--s-3) var(--s-2); border-right: 1px solid var(--line); font-size: 13px; font-weight: 500; }
.ix-ed__blocks li { display: flex; align-items: center; gap: var(--s-2); height: 32px; padding: 0 var(--s-2); border-radius: 6px; }
.ix-ed__blocks li:first-child { background: var(--p-surface); }
.ix-ed__canvas { min-width: 0; overflow: hidden; }
.ix-ed__page { display: flex; flex-direction: column; gap: var(--s-3); padding: var(--s-5); }
.ix-ed__nav { display: flex; align-items: center; gap: var(--s-2); }
.ix-ed__logo { width: 14px; height: 14px; border-radius: 50%; background: var(--p-ink); margin-right: auto; }
.ix-ed__hero { display: grid; gap: var(--s-2); justify-items: start; padding: var(--s-3); outline: 2px solid var(--p-ink); outline-offset: 0; border-radius: 4px; }
.ix-ed__h { font: 600 clamp(20px, 6cqi, 26px)/1.1 var(--font-display); letter-spacing: -0.02em; }
.ix-ed__p { font-size: 13px; color: var(--p-muted); max-width: 30ch; }
.ix-ed__btns { display: flex; gap: var(--s-2); margin-top: var(--s-1); }
.ix-ed__img { display: block; }
.ix-ed__img > .ix-art { aspect-ratio: 16 / 7; }
.ix-ed__side { display: grid; align-content: start; gap: var(--s-4); padding: var(--s-3); border-left: 1px solid var(--line); }
.ix-ed__panel { display: grid; gap: var(--s-2); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
.ix-ed__panel > p { font-size: 13px; font-weight: 600; }
.ix-ed__field { display: flex; align-items: center; height: 28px; padding: 0 var(--s-2); border: 1px solid var(--frame-line); border-radius: 6px; }
.ix-ed__field > .ix-sk { width: 70%; }
.ix-ed__pair { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-2); }
.ix-ed__sizes, .ix-ed__swatches { display: flex; gap: 6px; }
.ix-ed__sizes i { flex: 1; height: 24px; border: 1px solid var(--frame-line); border-radius: 4px; }
.ix-ed__sizes i:nth-child(2) { border: 2px solid var(--p-ink); }
.ix-ed__swatches i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--frame-line); }
.ix-ed__swatches i:nth-child(1) { background: var(--p-ink); border-color: var(--p-ink); outline: 2px solid var(--p-ink); outline-offset: 2px; }
.ix-ed__swatches i:nth-child(2) { background: var(--yellow); }
.ix-ed__swatches i:nth-child(3) { background: #fff; }
.ix-ed__swatches i:nth-child(4) { background: var(--p-surface); }
@container (max-width: 560px) { .ix-ed__main { grid-template-columns: 120px minmax(0, 1fr); } .ix-ed__side { display: none; } }
@container (max-width: 420px) { .ix-ed__main { grid-template-columns: minmax(0, 1fr); } .ix-ed__blocks { display: none; } .ix-ed__canvas { padding: var(--s-3); } }

/* a search result (serp.php; the hero's float card and H2 frame 2) */
.ix-result { display: grid; gap: var(--s-1); justify-items: start; }
.ix-result__site { display: flex; align-items: center; gap: var(--s-2); }
.ix-result__site > span:last-child { display: grid; }
.ix-result__fav { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--yellow); border: 7px solid var(--p-ink); }
.ix-result__name { font-size: 13px; font-weight: 500; line-height: 1.3; }
.ix-result__url { font-size: 13px; line-height: 1.3; color: var(--p-muted); }
.ix-result__title { margin-top: var(--s-1); font-size: 18px; font-weight: 500; line-height: 1.3; color: var(--p-ink); text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.ix-result__desc { font-size: 14px; line-height: 1.45; color: var(--p-muted); }
.ix-result--sk { gap: var(--s-2); width: 100%; }
.ix-serp { display: grid; align-content: start; gap: var(--s-5); padding: var(--s-5); }
.ix-serp__field { display: flex; align-items: center; gap: var(--s-2); height: 36px; padding: 0 var(--s-3); border: 1px solid var(--frame-line); border-radius: var(--r-sm); color: var(--p-ink); }
.ix-serp__field svg { color: var(--p-muted); flex: none; }
@container (max-width: 360px) { .ix-serp { padding: var(--s-3); gap: var(--s-3); } .ix-result--sk, .ix-serp .ix-result__desc { display: none; } }

/* the "Your business" homepage (site-home.php) */
.ix-site { display: flex; flex-direction: column; gap: var(--s-4); height: 100%; padding: var(--s-4) var(--s-5); }
.ix-site__nav { display: flex; align-items: center; gap: var(--s-3); }
.ix-site__brand { font-size: 13px; font-weight: 600; margin-right: auto; white-space: nowrap; }
.ix-site__menu { display: grid; gap: 4px; } .ix-site__menu i { display: block; width: 16px; height: 2px; background: var(--p-ink); }
.ix-site__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s-4); align-items: center; }
.ix-site__words { display: grid; gap: var(--s-2); justify-items: start; }
.ix-site__h { font: 600 22px/1.1 var(--font-display); letter-spacing: -0.02em; }
.ix-site__p { font-size: 13px; color: var(--p-muted); }
.ix-site__list { display: grid; }
.ix-site__list li { display: flex; align-items: center; gap: var(--s-3); height: 32px; border-top: 1px solid var(--line); }
.ix-site__list .ix-dot { width: 6px; height: 6px; }
.ix-site--phone { padding: var(--s-3); gap: var(--s-3); }
.ix-site--phone .ix-site__hero { grid-template-columns: 1fr; gap: var(--s-3); }
.ix-site--phone .ix-site__h { display: none; } /* the bar is too narrow for the name; the copy reads by its shapes */
.ix-site--phone .ix-site__p { display: none; }
.ix-site--phone .ix-art { aspect-ratio: 16 / 9; }
.ix-site--phone .ix-site__list li { height: 24px; }
@container (max-width: 380px) { .ix-site { padding: var(--s-3); gap: var(--s-3); } .ix-site__hero { grid-template-columns: 1fr; } .ix-site__hero > .ix-art { display: none; } .ix-site__list li:nth-child(n + 3) { display: none; } }

/* ads (ads.php) */
.ix-ads { display: grid; align-content: start; gap: var(--s-5); padding: var(--s-5); }
.ix-ad { display: grid; gap: var(--s-1); justify-items: start; }
.ix-ad__meta { font-size: 13px; color: var(--p-muted); } .ix-ad__meta b { color: var(--p-ink); font-weight: 600; }
.ix-ad__links { display: flex; gap: var(--s-4); margin-top: var(--s-1); font-size: 14px; text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 3px; }
.ix-feed { display: grid; gap: var(--s-2); width: min(100%, 260px); padding: var(--s-3); border: 1px solid var(--frame-line); border-radius: var(--r-md); }
.ix-feed__head { display: flex; align-items: center; gap: var(--s-2); font-size: 13px; line-height: 1.3; }
.ix-feed__head > span:last-child { display: grid; color: var(--p-muted); } .ix-feed__head b { color: var(--p-ink); font-weight: 600; }
.ix-art--feed { aspect-ratio: 16 / 9; }
.ix-feed__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--s-3); }
@container (max-width: 360px) { .ix-ads { padding: var(--s-3); gap: var(--s-3); } .ix-ad__links, .ix-art--feed, .ix-ad .ix-result__desc { display: none; } }

/* the enquiry flow (flow.php): boxes joined by navy traces ending in nodes */
.ix-flow { display: grid; align-content: center; gap: 32px; height: 100%; padding: var(--s-5) var(--s-6); }
.ix-flow__step { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-2) var(--s-3); min-height: 48px; padding: var(--s-2) var(--s-4);
  background: #fff; border: 1px solid var(--frame-line); border-radius: var(--r-sm); font-size: 14px; font-weight: 500; }
.ix-flow__step--ai { border: 2px solid var(--p-ink); }
.ix-flow__step + .ix-flow__step::before { content: ""; position: absolute; left: 28px; bottom: 100%; width: var(--trace); height: 32px; margin-bottom: 1px; background: var(--p-ink); }
.ix-flow__step + .ix-flow__step::after { content: ""; position: absolute; left: calc(29px - var(--node) / 2); top: calc(var(--node) / -2 - 1px); width: var(--node); height: var(--node); border-radius: 50%; background: var(--p-ink); }
@container (max-width: 360px) { .ix-flow { gap: 16px; padding: var(--s-3); } .ix-flow__step { min-height: 32px; padding: 4px var(--s-3); font-size: 13px; } .ix-flow__step + .ix-flow__step::before { height: 16px; } }

/* a phone frame (chat-phone.php; the phone copy in H2 frame 1) */
.ix-phone { display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--frame-line); border-radius: var(--r-lg); }
.ix-phone__head { flex: none; display: flex; align-items: center; gap: var(--s-3); height: 64px; padding: 0 var(--s-4); border-bottom: 1px solid var(--line); font-size: 14px; font-weight: 600; }
.ix-phone__head img { width: 32px; height: 32px; border-radius: 50%; }
.ix-phone__body { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; justify-content: flex-start; padding: var(--s-5) var(--s-4); background: var(--p-surface); }
.ix-bubble { align-self: flex-end; max-width: 86%; padding: var(--s-3) var(--s-4); border-radius: 12px 12px 4px 12px; background: var(--p-ink); color: #fff; font-size: 14px; line-height: 1.45; }
.ix-phone__foot { flex: none; display: flex; align-items: center; gap: var(--s-2); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--line); }
.ix-phone__field { flex: 1; display: flex; align-items: center; height: 40px; padding: 0 var(--s-3); border: 1px solid var(--frame-line); border-radius: var(--r-sm); font-size: 14px; color: var(--p-muted); }
.ix-phone__send { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--p-ink); color: #fff; }

/* ---------------------------------------------------------------- H2: the four areas (pinned-chapters) */
.ix-areas { --accent: var(--p-ink); }
.ix-areas .mo-pc__text > .section-head { margin-bottom: var(--s-4); }
.ix-areas .mo-pc__step h3 { font: 600 var(--t-h3)/1.2 var(--font-display); letter-spacing: -0.01em; }
.ix-step-links { display: flex; flex-wrap: wrap; gap: 0 var(--s-5); }
/* at rest the held section is exactly its two screens (the kit lets it grow) */
main > section.ix-areas[data-moment]:not(.is-live) { min-height: calc(2 * 100vh); min-height: calc(2 * 100svh); }
@media (min-width: 640px) { [data-moment="pinned-chapters"]:not(.is-live) .ix-step-links { grid-column: 1; } }
@media (max-width: 639px) {
  /* PM review item 1: on a phone these sections take their natural height instead of padding out to whole screens */
  main > section.ix-areas[data-moment]:not(.is-live), main > section.section.ix-start, footer.closing.ix-closing { min-height: 0; }
  .ix-areas .ix-pc-visual { aspect-ratio: 4 / 3; margin-top: var(--s-3); }
}
/* every frame: a 4:3 surface holding its window; at rest it sits under (phone) or beside (640 up) its step */
.ix-pc-visual { position: relative; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); aspect-ratio: 4 / 3; padding: var(--s-5); background: var(--p-surface); border-radius: var(--r-md); }
.ix-pc-visual > * { grid-area: 1 / 1; min-height: 0; }
[data-moment="pinned-chapters"].is-live .ix-pc-visual { display: grid; padding: var(--s-7); background: transparent; }
.mo-pc__visuals.frame { padding: 0; }
.ix-pc-visual--1 > .ix-phone--site { position: relative; z-index: 1; justify-self: end; align-self: end; width: 28%; height: 74%; margin: 0 var(--s-3) var(--s-3) 0; }
@media (max-width: 639px) { .ix-pc-visual { padding: var(--s-3); } }
/* live: the frame fills the column down to the screen's foot, the window fills the frame, and the words stay put
   while the steps open (no vertical jump between the first and second screen) */
main [data-moment="pinned-chapters"][data-moment].is-live > .mo-pc__grid { align-content: start; padding-top: calc(var(--nav) + 48px); }
[data-moment="pinned-chapters"].is-live .mo-pc__visuals.frame { aspect-ratio: auto; height: calc(100svh - var(--nav) - 48px - 72px); max-height: none; }
[data-moment="pinned-chapters"].is-live .ix-pc-visual { aspect-ratio: auto; padding: var(--s-5); }
.ix-pc-visual--1:has(> .ix-phone--site), .ix-pair { grid-template-columns: minmax(0, 1fr) 28%; column-gap: var(--s-4); }
.ix-pc-visual--1 > .ix-window, .ix-pair > .ix-window { grid-area: 1 / 1; }
.ix-pc-visual--1 > .ix-phone--site, .ix-pair > .ix-phone--site { grid-area: 1 / 2; width: 100%; height: 86%; align-self: center; margin: 0; }

/* ---------------------------------------------------------------- H3: the statement (word-highlight) */
.ix-statement { --accent: var(--p-ink); }
.ix-statement > .wrap { justify-content: center; }
.ix-statement .mo-wh__text { font: 400 clamp(28px, 2.3vw + 19px, 52px)/1.15 var(--font-display); letter-spacing: -0.025em; max-width: 22ch; }
.ix-statement__grid { height: 100%; align-items: center; row-gap: var(--s-7); }
.ix-statement--split .mo-wh__text { max-width: 16ch; }
.ix-statement__visual { position: relative; align-self: center; }
.ix-brief { width: 100%; height: auto; max-height: min(560px, calc(100svh - 240px)); margin-inline: auto; overflow: visible; }
.ix-brief__t { font: 500 16px var(--font-text); fill: var(--p-ink); }
.ix-brief__t--b { font-weight: 600; }
.ix-brief__apart .ix-trace__line, .ix-brief__apart .ix-trace__node { stroke: var(--p-muted); }
.ix-brief__apart .ix-trace__node { fill: var(--p-muted); }
.ix-brief__apart .ix-brief__t { fill: var(--p-muted); }
.ix-brief__box { fill: #fff; stroke: var(--frame-line); stroke-width: 1; }
.ix-brief__team { fill: var(--p-ink); }
.ix-brief__rule { stroke: var(--line); stroke-width: 1; }
@media (max-width: 1023px) { .ix-statement--split .mo-wh__text { max-width: 22ch; } .ix-brief { max-height: 420px; } }
.ix-statement:not(.mo-wh) strong, .ix-statement strong .mo-w.is-on { background: var(--yellow); color: var(--p-ink); }
.ix-statement strong { font-weight: inherit; }

/* ---------------------------------------------------------------- H4: how it starts */
.ix-start__text { display: flex; flex-direction: column; gap: var(--s-6); }
.ix-orders { display: grid; }
.ix-order { display: grid; row-gap: var(--s-1); padding: var(--s-5) 0; border-top: 1px solid var(--line); }
.ix-order:last-child { border-bottom: 1px solid var(--line); }
.ix-order > h3 { display: flex; align-items: center; gap: var(--s-3); }
.ix-order > p { color: var(--p-muted); max-width: 52ch; }
.ix-start__email { align-self: start; }
.ix-start__visual { margin: 0; min-height: 0; display: flex; justify-content: center; }
/* a phone held upright: about 1 : 2, never wider than a phone */
.ix-start__visual > .ix-phone { height: 100%; max-height: 640px; aspect-ratio: 9 / 18; width: auto; max-width: 100%; }
/* a tablet keeps the split (text, then the phone on the page's split line); a phone stacks them */
@media (min-width: 640px) and (max-width: 1023px) {
  .ix-start .ix-start__text { grid-column: 1 / span 6; }
  .ix-start .ix-start__visual { grid-column: 7 / span 6; }
}
@media (max-width: 639px) {
  main > .ix-start > .wrap > .ix-start__grid.fill { flex: none; row-gap: var(--s-7); }
  .ix-start__visual { justify-content: flex-start; }
  .ix-start__visual > .ix-phone { height: 520px; }
}

/* ---------------------------------------------------------------- footer: the yellow close band, then the navy directory */
footer.closing.ix-closing:not(.ix-closing--plain) { padding-top: 0; }
.ix-close {
  position: relative; isolation: isolate; padding: var(--s-9) 0;
  --bg: var(--yellow); --ink: var(--p-ink); --muted: var(--p-ink); --action: var(--p-ink); --action-ink: #fff;
  --line: rgb(0 0 104 / .3); --line-strong: var(--p-ink); color: var(--ink);
}
/* the band runs edge to edge; its first row is the perforation (6px navy dots at 12px pitch) */
.ix-close::before { content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: 50%; width: 100vw; margin-left: -50vw; background: var(--yellow); }
.ix-close::after {
  content: ""; position: absolute; top: 0; left: 50%; width: 100vw; margin-left: -50vw; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='6'%3E%3Ccircle cx='6' cy='3' r='3' fill='%23000068'/%3E%3C/svg%3E") 0 0 / 12px 6px repeat-x;
}
.ix-close { display: flex; flex-direction: column; justify-content: center; }
.ix-close .section-head--split { align-items: center; }
.ix-close .section-head--split > div:first-child { max-width: 737px; }
.ix-close h2 { max-width: 20ch; }
.ix-close .btn--primary:hover { background: var(--navy-hover); }
.ix-close__act { display: grid; justify-items: start; gap: var(--s-3); }
.ix-close .btn--xl { width: auto; min-width: 360px; height: auto; min-height: 56px; padding: var(--s-3) var(--s-6); font: 500 16px/1.25 var(--font-text); letter-spacing: 0; white-space: normal; text-align: center; }
.ix-close .link { min-height: 44px; color: var(--ink); text-decoration-color: var(--line); }
.ix-close .link:hover { text-decoration-color: currentColor; }
.ix-close .link::after { content: none; }
.closing__links .footer__col .footer__title { margin: 0 0 var(--s-4); font: 600 13px/1.3 var(--font-text); letter-spacing: 0.01em; color: var(--muted); }
.closing__links .footer__col ul { font-size: 14px; }
.closing__links .footer__col a { display: inline-flex; align-items: center; gap: var(--s-2); min-height: 24px; }
.ix-foot-logo .nav__logo img { height: 40px; width: auto; }
.ix-closing .footer__legal { font-size: 14px; color: var(--muted); }
.ix-closing .footer__legal a:hover { color: var(--action); }
@media (max-width: 1023px) { .ix-nowrap { white-space: nowrap; }
.ix-foot-logo .nav__logo img { height: 32px; } }
@media (max-width: 639px) {
  .ix-close { padding: var(--s-8) 0; }
  .ix-close__act, .ix-close .btn--xl { width: 100%; }
  .ix-close .btn--xl { min-width: 0; padding: var(--s-3) var(--s-4); font-size: 16px; }
}
@media (min-width: 640px) and (max-width: 1023px) { .ix-closing .closing__links .footer__col { grid-column: auto / span 4; } }
/* stacked under the words, the close's button and link run the container's width */
@media (max-width: 1023px) { .ix-close__act { width: 100%; } .ix-close .btn--xl { width: 100%; min-width: 0; } .ix-close .link { width: 100%; } }
.actionbar .btn { gap: var(--s-2); }

/* ---------------------------------------------------------------- phase A page shell */
.ix-stub .hero-text { display: grid; align-content: start; gap: var(--s-6); }

/* ---------------------------------------------------------------- reduced motion: nothing moves, nothing hidden */
@media (prefers-reduced-motion: reduce) {
  .ix-trace * { transition: none !important; animation: none !important; }
}

/* ================================================================ Phase B components */

/* ---------------------------------------------------------------- the home hero system (page plan 14.1):
   the website, its search result, an ad and the AI step, joined by traces the script draws from where they sit */
.ix-sys.hero__media { container-type: size; position: relative; overflow: visible; background: none; border-radius: 0; }
.ix-sys__part { position: absolute; z-index: 1; }
.ix-sys__win { left: 0; top: 0; width: 100%; height: 46%; }
.ix-sys__card { padding: var(--s-4); background: #fff; border: 1px solid var(--frame-line); border-radius: var(--r-md); font-size: 14px; line-height: 1.45; color: var(--p-ink); }
.ix-sys__serp { left: 0; top: 50%; width: calc(50% - 8px); }
.ix-sys__ad { right: 0; top: 50%; width: calc(50% - 8px); display: grid; gap: var(--s-1); padding: var(--s-4) 0; overflow: hidden; }
.ix-sys__ad > img { display: none; }
.ix-sys__ad > span { padding-inline: var(--s-4); }
.ix-sys__ad-h { font-size: 16px; font-weight: 600; line-height: 1.3; }
.ix-sys__ai { left: 0; bottom: 0; width: 100%; }
.ix-sys__steps { grid-template-columns: repeat(3, auto); justify-content: space-between; align-items: center; }
.ix-sys__steps { display: grid; gap: var(--s-3); font-size: 14px; font-weight: 500; }
.ix-sys__steps li { display: flex; align-items: center; gap: var(--s-3); }
.ix-sys__steps li:last-child { padding: var(--s-2) var(--s-3); margin-left: calc(var(--s-3) * -1); border: 2px solid var(--p-ink); border-radius: var(--r-sm); }
.ix-sys__traces { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ix-sys > .ix-pause { right: 8px; bottom: auto; top: 8px; }

/* ---------------------------------------------------------------- the website mock: words, photograph, rows */
.ix-site__link { font-size: 13px; color: var(--p-muted); white-space: nowrap; }
.ix-site__nav .ix-site__link:first-of-type { margin-left: auto; }
.ix-site__hero--photo { grid-template-columns: 1fr 1fr; align-items: stretch; }
.ix-site__photo { width: 100%; height: 100%; min-height: 0; max-height: 220px; object-fit: cover; border-radius: 6px; order: 2; }
.ix-site__list li > span:not(.ix-sk):not(.ix-chip) { font-size: 13px; }
.ix-site__list li.is-building { border: 1px dashed var(--p-ink); border-radius: 4px; padding-inline: var(--s-2); }
.ix-site__list li .ix-chip { margin-left: auto; }
.ix-site--wire .ix-site__brand, .ix-site--wire .ix-site__link, .ix-site--wire .ix-site__h, .ix-site--wire .ix-site__p, .ix-site--wire .ix-mock-btn { color: transparent; }
.ix-site--wire .ix-site__brand, .ix-site--wire .ix-site__h, .ix-site--wire .ix-site__p, .ix-site--wire .ix-site__link { background: none; outline: 1px solid var(--frame-line); border-radius: 2px; }
.ix-site--wire .ix-mock-btn { background: none; outline: 1px solid var(--frame-line); }
.ix-site--wire .ix-art, .ix-site--wire .ix-dot { background: none; outline: 1px solid var(--frame-line); }
.ix-site--wire .ix-art::before, .ix-site--wire .ix-art::after { display: none; }
.ix-site--wire .ix-sk { background: none; outline: 1px solid var(--frame-line); }
@container (max-width: 380px) { .ix-site__link { display: none; } }

/* ---------------------------------------------------------------- ads */
.ix-ads--side { grid-template-columns: 1.2fr 1fr; align-items: start; }
.ix-ads__mark { display: block; width: 16px; height: 16px; margin-bottom: var(--s-2); background: var(--p-ink); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.ix-feed__text { font-size: 13px; line-height: 1.4; }
.ix-feed__img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; border-radius: 6px; }
@container (max-width: 520px) { .ix-ads--side { grid-template-columns: 1fr; } .ix-ads--side .ix-feed { display: none; } }

/* ---------------------------------------------------------------- traces: states, pulses, the pause button */
.ix-trace__line--dashed { stroke-dasharray: 4 6; }
.ix-trace__ring { fill: var(--p-bg); stroke: var(--p-ink); stroke-width: 2; }
.ix-trace__box { fill: #fff; stroke: var(--frame-line); stroke-width: 1; }
.ix-trace__pulse { fill: var(--yellow); stroke: var(--p-ink); stroke-width: 2; }
.ix-pause.loop-pause { position: absolute; right: 0; bottom: 0; z-index: 4; box-shadow: none; border: 1px solid var(--frame-line); background: #fff; color: var(--p-ink); }
.ix-pause[aria-pressed="true"] svg path { d: path("M5 3.5l8 4.5-8 4.5z"); fill: currentColor; stroke: none; }

/* ---------------------------------------------------------------- chips and the field label */
.ix-chip { display: inline-flex; align-items: center; gap: 6px; flex: none; height: 22px; padding: 0 var(--s-2); border: 1px solid var(--frame-line); border-radius: 6px; background: #fff; font: 500 13px/1 var(--font-text); color: var(--p-ink); white-space: nowrap; }
.ix-chip--node::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--p-ink); }
.ix-window__bar .ix-chip { margin-left: auto; }
.ix-field { display: flex; align-items: baseline; gap: var(--s-3); padding-top: var(--s-3); border-top: 2px solid var(--line-strong); font: 600 13px/1.3 var(--font-text); letter-spacing: 0.01em; }
.ix-field__n { color: var(--p-ink); font-variant-numeric: tabular-nums; }
.ix-field__name { color: var(--p-muted); }
.hero__text > .ix-field + h1 { margin-top: var(--s-5); }
.section-head > .ix-field { margin-bottom: var(--s-2); }
.ix-close .ix-field { border-top-color: var(--p-ink); margin-bottom: var(--s-2); }
.ix-close .ix-field__name { color: var(--p-ink); }

/* ---------------------------------------------------------------- order lines: the linked row */
.ix-order--link { padding: 0; }
.ix-order__a { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: var(--s-4); row-gap: var(--s-1); padding: var(--s-5) 0; color: inherit; }
.ix-order__a > h3, .ix-order__a > p { grid-column: 1; }
.ix-order__a > p { color: var(--p-muted); }
.ix-order__arrow { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 20px; transition: transform var(--dur) var(--ease); }
.ix-order__a > h3 { text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 5px; text-decoration-thickness: 1px; transition: text-decoration-color var(--dur) var(--ease); }
.ix-order__a:hover > h3 { text-decoration-color: currentColor; }
.ix-order__a:hover .ix-dot { background: var(--yellow); box-shadow: none; outline: 2px solid var(--p-ink); outline-offset: 0; }
@media (hover: hover) and (pointer: fine) { .ix-order__a:hover .ix-order__arrow { transform: translateX(4px); } }
[id].ix-order { scroll-margin-top: 96px; }

/* ---------------------------------------------------------------- list sections (fields 02 and 03), tools, cross-links */
.ix-list .section-head { margin-bottom: var(--s-6); }
.ix-list__grid { align-items: start; }
.ix-list .ix-orders .ix-order { padding-block: var(--s-3); }
.ix-list--large .ix-order > h3 { font-size: 28px; }
.ix-tools { display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); margin-top: var(--s-7); font-size: 14px; font-weight: 500; }
.ix-tools li { display: flex; align-items: center; gap: var(--s-3); }
.ix-tools img { width: 28px; height: 28px; object-fit: contain; }
.ix-cross { margin-top: var(--s-5); max-width: 52ch; }
.ix-cross .link::after { content: none; }
.ix-list__visual { margin: 0; height: 100%; min-height: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.ix-list__visual > * { grid-area: 1 / 1; min-height: 0; }
@media (max-width: 1023px) { .ix-list__visual { height: 420px; margin-top: var(--s-6); } .ix-list__side { margin-top: var(--s-2); } }
@media (max-width: 639px) { .ix-list__visual { height: 340px; } }

/* ---------------------------------------------------------------- FAQ */
.ix-faq .faq { max-width: 760px; }
.ix-faq .faq > .faq__item { padding: var(--s-6) 0; }
.ix-faq .faq__item > h3 { font: 600 22px/1.3 var(--font-display); letter-spacing: -0.01em; }
.ix-faq .faq__item p { font-size: var(--t-lead); line-height: 1.5; }

/* ---------------------------------------------------------------- footer directory: three columns on the right */
.ix-foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-6); }
.ix-closing .ix-foot-nav .footer__col { grid-column: auto; }
@media (max-width: 1023px) { .ix-foot-nav { margin-top: var(--s-6); } }
@media (max-width: 639px) { .ix-foot-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ix-foot-nav .footer__col:last-child { grid-column: 1 / -1; } }

/* ---------------------------------------------------------------- the WordPress admin (wp-admin.php) */
.ix-wpa { display: grid; grid-template-columns: 136px minmax(0, 1fr); height: 100%; }
.ix-wpa__menu { display: grid; align-content: start; gap: 2px; padding: var(--s-2) 0; background: var(--p-ink); color: #fff; font-size: 13px; }
.ix-wpa__menu li { padding: var(--s-2) var(--s-3); }
.ix-wpa__menu li.is-on { background: var(--navy-hover); font-weight: 600; box-shadow: none; border-left: 0; }
.ix-wpa__menu li.ix-wpa__wp { padding-block: var(--s-3); }
.ix-wpa__main { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s-4); padding: var(--s-5); background: var(--p-surface); min-width: 0; }
.ix-wpa__title { font: 600 18px/1.3 var(--font-display); }
.ix-wpa__form { display: grid; gap: var(--s-2); width: 100%; max-width: 360px; }
.ix-wpa__label { font-size: 13px; font-weight: 600; }
.ix-wpa__input { display: flex; align-items: center; justify-content: space-between; height: 32px; padding: 0 var(--s-3); background: #fff; border: 1px solid var(--frame-line); border-radius: 6px; font-size: 13px; white-space: nowrap; overflow: hidden; }
.ix-wpa__toggle { display: flex; align-items: center; gap: var(--s-3); margin-block: var(--s-2); font-size: 13px; }
.ix-wpa__toggle i { flex: none; position: relative; width: 32px; height: 18px; border-radius: 9px; background: var(--p-ink); }
.ix-wpa__toggle i::after { content: ""; position: absolute; right: 3px; top: 3px; width: 12px; height: 12px; border-radius: 50%; background: #fff; }
.ix-wpa__table { display: grid; width: 100%; background: #fff; border: 1px solid var(--frame-line); border-radius: 6px; }
.ix-wpa__row { display: grid; gap: var(--s-1); padding: var(--s-3) var(--s-4); border-top: 1px solid var(--line); font-size: 13px; }
.ix-wpa__row:first-child { border-top: 0; }
.ix-wpa__row--on { border-left: 3px solid var(--p-ink); }
.ix-wpa__row--on b { font-weight: 600; }
@container (max-width: 420px) { .ix-wpa { grid-template-columns: 1fr; } .ix-wpa__menu { display: none; } }

/* ---------------------------------------------------------------- documents and lists in a window (doc-window.php) */
.ix-doc { display: grid; align-content: start; gap: var(--s-3); height: 100%; padding: var(--s-5); overflow: hidden; }
.ix-doc__h { font: 600 18px/1.3 var(--font-display); }
.ix-doc__rows { display: grid; }
.ix-doc__row { display: flex; align-items: center; gap: var(--s-3); min-height: 36px; padding-block: 6px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.35; }
.ix-doc__row:first-child { border-top: 0; }
.ix-doc__row--head { padding-top: var(--s-3); font-weight: 600; border-top: 0; }
.ix-doc__row--l2 { padding-left: var(--s-5); } .ix-doc__row--l3 { padding-left: var(--s-8); }
.ix-doc__mark { flex: none; display: grid; place-items: center; color: var(--p-ink); }
.ix-doc__label { flex: none; min-width: 64px; font-size: 13px; font-weight: 600; color: var(--p-muted); }
.ix-doc__text { min-width: 0; }
.ix-doc__field { flex: 1; min-width: 0; padding: 6px var(--s-3); background: #fff; border: 1px solid var(--frame-line); border-radius: 6px; }
.ix-doc__row .ix-chip { margin-left: auto; }
.ix-doc__legend { display: flex; gap: var(--s-5); padding-top: var(--s-2); font-size: 13px; color: var(--p-muted); }
.ix-doc__legend span { display: inline-flex; align-items: center; gap: var(--s-2); }
.ix-doc__legend svg { color: var(--p-ink); }
@container (max-width: 360px) { .ix-doc { padding: var(--s-3); gap: var(--s-2); } .ix-doc__row { min-height: 28px; font-size: 13px; } .ix-doc__row:nth-child(n + 6) { display: none; } .ix-doc__h { font-size: 15px; } }

/* ---------------------------------------------------------------- diagram panels (trace-diagram.php) */
.ix-panel { position: relative; display: grid; place-items: center; padding: var(--s-6); background: var(--p-surface); border-radius: var(--r-lg); }
.hero__media.ix-panel { overflow: visible; }
.ix-diagram { position: relative; width: 100%; max-height: 100%; }
.ix-panel { container-type: size; }
.ix-panel > .ix-diagram, .ix-window__body > .ix-dwrap > .ix-diagram { width: min(100cqw, 100cqh * var(--ar)); height: auto; max-width: none; }
.ix-diagram > svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.ix-dlabel { position: absolute; z-index: 1; display: inline-flex; align-items: center; gap: 6px; font: 500 14px/1.2 var(--font-text); color: var(--p-ink); white-space: nowrap; transform: translate(12px, -50%); }
.ix-dlabel--l { transform: translate(calc(-100% - 12px), -50%); }
.ix-dlabel--a { transform: translate(-50%, calc(-100% - 10px)); }
.ix-dlabel--b { transform: translate(-50%, 10px); }
.ix-dlabel--ar { transform: translate(6px, calc(-100% - 8px)); }
.ix-dlabel--al { transform: translate(calc(-100% - 6px), calc(-100% - 8px)); }
.ix-dlabel--bl { transform: translate(-6px, 12px); }
.ix-dlabel--c { transform: translate(-50%, -50%); font-size: 13px; }
a.ix-dlabel { text-decoration: underline; text-decoration-color: var(--frame-line); text-underline-offset: 4px; padding-block: 6px; }
a.ix-dlabel:hover { text-decoration-color: currentColor; }
.ix-window .ix-diagram { margin: auto; }
.ix-window__body > .ix-dwrap { container-type: size; display: grid; place-items: center; height: 100%; padding: var(--s-4) var(--s-5); }
@media (max-width: 639px) { .ix-dlabel { font-size: 13px; } .ix-panel { padding: var(--s-4); } }

/* ---------------------------------------------------------------- photographs inside a page (About, Contact) */
.ix-photo { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-lg); background: var(--p-surface); }
.ix-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------- Services: the grouped index */
.ix-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-6); align-items: start; }
.ix-groups > div > .t-label { color: var(--p-muted); margin-bottom: var(--s-2); }
.ix-groups .ix-order__a { padding-block: var(--s-4); }
.ix-groups .ix-order > .ix-order__a > h3 { font-size: 22px; }
@media (max-width: 1023px) { .ix-groups { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- About: the word hero and its facts */
.ix-word h1 { font-size: clamp(54px, 8.6vw + 20px, 144px); line-height: 0.92; letter-spacing: -0.042em; }
.ix-facts { display: grid; margin: 0; }
.ix-facts > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s-4); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.ix-facts > div:last-child { border-bottom: 1px solid var(--line); }
.ix-facts dt { font-size: 14px; color: var(--p-muted); }
.ix-facts dd { margin: 0; font-weight: 500; }

/* ---------------------------------------------------------------- Contact: the navy statement hero */
.ix-navy { background: var(--p-inv-bg); color: #fff; }
.ix-navy h1 { font-size: clamp(34px, 2.1vw + 25.8px, 56px); line-height: 1.1; letter-spacing: -0.03em; max-width: 21ch; color: #fff; }
.ix-navy .hero__lead { color: var(--p-inv-muted); }
.ix-channels { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gutter); row-gap: var(--s-5); margin: 0; padding-top: var(--s-6); }
.ix-channels > svg { position: absolute; left: 0; top: -1px; width: 100%; height: 2px; overflow: visible; }
.ix-channels .ix-trace__line { stroke: var(--on-navy-line); }
.ix-channels > div { position: relative; display: grid; gap: var(--s-2); }
.ix-channels > div::before { content: ""; position: absolute; left: 0; top: calc(var(--s-6) * -1 - 4px); width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); }
.ix-channels dt { font: 600 13px/1.3 var(--font-text); color: var(--p-inv-muted); }
.ix-channels dd { margin: 0; font-size: 20px; color: #fff; }
.ix-channels a { color: #fff; display: inline-flex; align-items: center; gap: var(--s-2); text-decoration: underline; text-decoration-color: var(--on-navy-line); text-underline-offset: 5px; }
.ix-channels a:hover { text-decoration-color: var(--yellow); }
@media (max-width: 639px) { .ix-channels { grid-template-columns: 1fr; } .ix-channels > div::before { display: none; } .ix-channels dd { font-size: 18px; } }

/* ---------------------------------------------------------------- Privacy: facts row and the reading column */
.ix-reading { max-width: 680px; }
@media (min-width: 1024px) { .ix-reading { margin-left: calc((100% + var(--gutter)) / 12 * 2); } }
.ix-reading h2 { font-size: clamp(26px, 1vw + 22px, 34px); margin: var(--s-7) 0 var(--s-4); }
.ix-reading h2:first-child { margin-top: 0; }
.ix-reading p, .ix-reading li { font-size: 16px; line-height: 1.6; max-width: 64ch; }
.ix-reading p + p { margin-top: var(--s-4); }
.ix-reading ul { display: grid; gap: var(--s-2); margin: var(--s-4) 0; padding-left: var(--s-5); list-style: disc; }
.ix-reading a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.ix-reading a:hover { text-decoration-color: currentColor; }

/* ---------------------------------------------------------------- simple heroes: a statement hero's facts docked at the foot */
.ix-hero-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gutter); margin: 0; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.ix-hero-facts > div { display: grid; gap: var(--s-1); }
.ix-hero-facts dt { font-size: 14px; color: var(--p-muted); }
.ix-hero-facts dd { margin: 0; font-weight: 500; }
@media (max-width: 639px) { .ix-hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: var(--s-4); } }

/* ================================================================ page plan 15: the floating header, feedback, motion */

/* ---------------------------------------------------------------- the floating pill header */
.nav {
  --pill-x: max(12px, calc((100vw - var(--container)) / 2 - 24px));
  inset: auto; /* over navy and yellow the fill stays near white: a lighter one turns lavender over navy */ top: 12px; left: var(--pill-x); right: var(--pill-x);
  height: 60px; border-radius: 999px; border: 1px solid rgb(0 0 104 / .12);
  background: rgb(255 255 255 / .86); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 12px 32px -20px rgb(0 0 104 / .45), 0 1px 2px rgb(0 0 104 / .06);
  transition: top .25s var(--ease), height .25s var(--ease), background-color .25s var(--ease), box-shadow .25s var(--ease);
  view-transition-name: site-header;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav { background: rgb(255 255 255 / .96); } }
.nav.is-scrolled { top: 8px; height: 54px; background: rgb(255 255 255 / .93); }
/* the pill's contents sit on the page's own left and right lines; the button keeps the page's one button shape */
.nav > .wrap.nav__bar { width: 100%; padding-inline: calc(max(var(--gut), (100vw - var(--container)) / 2) - var(--pill-x)); }
.nav.is-open { background: #fff; }
@media (max-width: 639px) { .nav { --pill-x: 8px; top: 8px; height: 48px; } .nav.is-scrolled { top: 6px; height: 46px; } .nav__toggle { border-radius: 999px; width: 40px; height: 40px; } }
@media (min-width: 640px) and (max-width: 1023px) { .nav__toggle { border-radius: 999px; } }
/* the panel hangs under the pill as a rounded card, eased in; its links stagger in */
@media (min-width: 1024px) {
  .nav__menu { top: calc(100% + 10px); left: 0; right: 0; border-radius: 28px; border: 1px solid rgb(0 0 104 / .12); background: rgb(255 255 255 / .97); box-shadow: 0 24px 48px -28px rgb(0 0 104 / .45); padding: var(--s-6) 0 var(--s-7); }
  .nav__menu::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 12px; }
  .nav__menu > .wrap { width: calc(100% - 64px); }
  /* the Services button: visible on desktop beside the word; hover previews, the button pins it open */
  .nav__expand { display: inline-grid; place-items: center; width: 28px; height: 28px; margin-left: -6px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ink); cursor: pointer; }
  .nav__expand svg { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
  .nav__expand:hover { background: var(--surface-strong); }
  .nav__item.is-expanded .nav__expand svg, .nav__item:hover .nav__expand svg { transform: rotate(180deg); }
  .nav__item:not(:hover):not(.is-expanded) > .nav__menu { opacity: 0; visibility: hidden; transform: translateY(-6px); transition-delay: 0s; }
  .nav__item.is-expanded > .nav__menu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
@media (prefers-reduced-motion: no-preference) {
  .nav__item:is(:hover, .is-expanded) > .nav__menu :is(.menu-col > *, .menu-card, .ix-menu-all) { animation: ix-rise .32s var(--ease) both; }
  .nav__item:is(:hover, .is-expanded) > .nav__menu .menu-col:nth-child(2) > * { animation-delay: .05s; }
  .nav__item:is(:hover, .is-expanded) > .nav__menu .menu-card { animation-delay: .1s; }
  .nav__item:is(:hover, .is-expanded) > .nav__menu .ix-menu-all { animation-delay: .14s; }
  .nav.is-open .nav__links { animation: ix-sheet .28s var(--ease) both; }
  .nav.is-open .nav__item { animation: ix-rise .3s var(--ease) both; }
  .nav.is-open .nav__item:nth-child(2) { animation-delay: .04s; } .nav.is-open .nav__item:nth-child(3) { animation-delay: .08s; } .nav.is-open .nav__item:nth-child(4) { animation-delay: .12s; }
  .nav.is-open .nav__actions { animation: ix-rise .3s .14s var(--ease) both; }
}
@keyframes ix-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes ix-sheet { from { opacity: 0; transform: translateY(-8px); } }

/* ---------------------------------------------------------------- page-to-page: a soft crossfade, the header stays put */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
}

/* ---------------------------------------------------------------- feedback: buttons, links, frames, focus */
.btn .ix-icon { transition: transform var(--dur) var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .btn:hover .ix-icon { transform: translateY(-1px) scale(1.1); }
  .ix-window, .ix-phone, .ix-code, .ix-sys__card, .ix-panel { transition: transform .22s var(--ease), border-color .22s var(--ease); }
  :is(.ix-pc-visual, .ix-list__visual, .ix-start__visual, .ix-sys__win) > :is(.ix-window, .ix-phone, .ix-code):hover, .ix-sys__card:hover { transform: translateY(-2px); border-color: #aeb5c9; }
  .ix-order:hover > h3 > .ix-dot { background: var(--yellow); outline: 2px solid var(--p-ink); outline-offset: 0; }
}
@media (prefers-reduced-motion: no-preference) { :focus-visible { animation: ix-focus .18s var(--ease); } }
@keyframes ix-focus { from { outline-offset: 7px; } }
/* the secondary button reads as a button on white: a hairline edge on the tonal fill (PM review item 10) */
html[data-buttons="tonal"] .btn--secondary { border-color: var(--frame-line); }
/* a phone keeps both hero buttons as buttons (the kit turns the second into a text link; PM review item 5) */
@media (max-width: 639px) { .btn-row > .btn--secondary { background: var(--surface-strong); border-color: var(--frame-line); text-decoration: none; } }

/* ---------------------------------------------------------------- home: the hero words sit in the middle of their column (PM item 1) */
/* the hero system under 1280 (its column is under 640px wide, or stacked): no card covers another part (PM item 3) */
@media (max-width: 1279px) { .ix-sys__steps { grid-template-columns: 1fr; gap: var(--s-2); } }
@media (max-width: 1023px) {
  .ix-sys__win { height: 58%; }
  .ix-sys__serp, .ix-sys__ad { top: auto; bottom: 0; }
  .ix-sys__ai { display: none; }
}
@media (max-width: 639px) { .ix-sys__win { height: calc(100% - 110px); } .ix-sys__serp { width: 100%; } }
/* the close band: the dot row sits below the floating header on a whole-screen view (a white strip above the band,
   continuing the white section before it; PM item 4), and the heading is set larger */
footer.closing.ix-closing:not(.ix-closing--plain) { padding-top: var(--nav); }
footer.closing.ix-closing:not(.ix-closing--plain)::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--nav); background: var(--p-bg); }
.ix-close h2 { font-size: clamp(34px, 2.1vw + 25.8px, 56px); line-height: 1.1; letter-spacing: -0.03em; }
@media (max-width: 639px) { .ix-brief__t { font-size: 22px; } }

/* ================================================================ Phase B pages */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* service heroes: the window with its float card; under 1280 the card sits under the window, covering nothing */
.ix-float--code { padding: 0; width: 360px; border: 0; background: none; }
.ix-float--fields { width: 360px; padding: 0; }
.ix-float--fields .ix-doc { padding: var(--s-4); }
.ix-email { font-size: 14px; line-height: 1.5; margin-bottom: var(--s-3); }
@media (max-width: 1279px) {
  .ix-hero-visual.hero__media { display: flex; flex-direction: column; gap: var(--s-4); }
  .ix-hero-visual > .ix-hero-window { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; }
  .ix-hero-visual > .ix-float { position: relative; left: auto; bottom: auto; width: 100%; max-width: none; flex: none; }
}
@media (max-width: 639px) { .ix-hero-visual > .ix-float { display: none; } }
/* web 03: the homepage at desktop and phone width, the phone over the window's lower right */


/* the services index: two screens of grouped order lines */
.ix-all .ix-groups { margin-top: 0; }

/* About: the oversized word hero, its foot with the facts beside a photograph */
.ix-word__in { display: flex; flex-direction: column; height: 100%; gap: var(--s-6); }
.ix-word__foot { flex: 1 1 auto; min-height: 0; align-items: stretch; }
.ix-word__foot > .span-6 { display: flex; flex-direction: column; gap: var(--s-5); justify-content: flex-end; }
.ix-word__photo { min-height: 260px; }
@media (max-width: 1023px) { .ix-word__photo { min-height: 0; aspect-ratio: 4 / 3; margin-top: var(--s-6); } .ix-word__in { height: auto; } }

/* Contact: navy hero, the words at the top, the three channels docked at the foot */
.ix-contact-hero__in, .ix-privacy-hero__in { display: flex; flex-direction: column; justify-content: space-between; height: 100%; gap: var(--s-7); }
.ix-navy .btn--primary { background: var(--yellow); color: var(--p-ink); }
.ix-navy .btn--primary:hover { background: var(--yellow-hover); }
.ix-navy .btn--secondary { background: var(--p-inv-surface); color: #fff; border-color: var(--on-navy-line); }
.ix-navy .btn--secondary:hover { background: #2a2a93; }
.ix-navy :focus-visible { outline-color: var(--yellow); }
.ix-statement__photo { align-self: center; aspect-ratio: 4 / 3; }
@media (max-width: 1023px) { .ix-statement__photo { aspect-ratio: 16 / 9; } }

/* Privacy: the policy reads at its natural length (Read mode) */
main > section.section.ix-policy { height: auto; min-height: 0; }

/* ---------------------------------------------------------------- review fixes after the first full-site screenshots */
/* service heroes: the window, then its card under it, at every width: no card covers the window's contents */
.ix-hero-visual.hero__media { display: flex; flex-direction: column; gap: var(--s-4); }
.ix-hero-visual > .ix-hero-window { position: relative; inset: auto; flex: 1 1 auto; min-height: 0; height: auto; }
.ix-hero-visual > .ix-float { position: relative; left: auto; bottom: auto; flex: none; width: min(100%, 420px); max-width: none; }
.ix-hero-visual > .ix-float--code { width: min(100%, 560px); }
/* order-line lists inside field sections: five rows fit one screen beside their picture */
.ix-list .ix-order > h3 { font-size: 20px; }
.ix-list--large .ix-order > h3 { font-size: 26px; }
.ix-list .ix-order > p { font-size: 16px; line-height: 1.45; color: var(--p-ink); }
.ix-order > p, .ix-order__a > p { color: var(--p-ink); }
/* a field section without a picture sits in the middle of its screen (PM review item 1) */
.ix-list:not(:has(.ix-list__visual)) > .wrap { justify-content: center; }
.ix-list:not(:has(.ix-list__visual)) .ix-list__grid.fill { flex: none; }
.ix-faq > .wrap { justify-content: center; }
/* the services index: one screen */
.ix-all .ix-groups .ix-order__a { padding-block: var(--s-3); }
.ix-all .ix-groups .ix-order > .ix-order__a > h3 { font-size: 20px; }
/* 404: the directory alone takes its natural height */
footer.closing.ix-closing--plain { height: auto; min-height: 0; }
/* stacked (under 1024) a field section grows with its list and picture instead of squeezing them into one screen */
@media (max-width: 1023px) { main > .ix-list.section > .wrap > .ix-list__grid.fill { flex: none; } }

/* checker round 1: one-height group cells, small phone diagram links, full-width FAQ rows, a span-7 close head */
.ix-groups { align-items: stretch; }
@media (max-width: 639px) { a.ix-dlabel { padding-block: 2px; } }
.ix-faq .faq { max-width: none; }
.ix-faq .faq__item p { max-width: 64ch; }
@media (min-width: 1024px) { .ix-close .section-head--split > div:first-child { flex: 0 0 calc((100% + var(--gutter)) * 7 / 12 - var(--gutter)); max-width: none; } }

/* owner review 2: frames fill (the site grows, the flow sits larger), the statement diagram has presence,
   the chat phone is sized to its thread */
.ix-site { min-height: 100%; }
.ix-site__hero { flex: 1 1 auto; }
.ix-site__hero--photo .ix-site__photo { max-height: none; min-height: 180px; }
.ix-flow { gap: 40px; padding: var(--s-6) var(--s-7); }
.ix-flow__step { min-height: 64px; font-size: 16px; }
.ix-flow__step + .ix-flow__step::before { height: 40px; }
.ix-brief .ix-trace__line { stroke-width: 3.5; }
.ix-brief__apart .ix-trace__line { stroke-width: 2; stroke: #8b93ad; stroke-dasharray: 2 6; }
.ix-brief__apart .ix-trace__node { fill: #8b93ad; stroke: none; }
.ix-brief__apart .ix-brief__t { fill: var(--p-muted); }
.ix-brief__t { font-size: 20px; }
.ix-brief__one .ix-trace__node { fill: var(--yellow); stroke: var(--p-ink); stroke-width: 3; }
.ix-brief__one .ix-brief__t--b { font-size: 22px; }
@media (max-width: 639px) { .ix-brief__t { font-size: 24px; } .ix-brief__one .ix-brief__t--b { font-size: 26px; } }
.ix-start__visual > .ix-phone { height: auto; aspect-ratio: auto; width: min(100%, 340px); align-self: center; }
.ix-start__visual > .ix-phone .ix-phone__body { min-height: 260px; justify-content: center; }
.ix-site__hero--photo { align-items: center; }
.ix-site__hero--photo .ix-site__photo { height: auto; aspect-ratio: 4 / 3; min-height: 0; max-height: 260px; }

/* ================================================================ PM page review (A1 to A12) */
/* A2/A3: sections whose content is short take their natural height with the page's padding, instead of a mostly
   empty screen (statements without a picture, "who it's for" lists, FAQs) */
main > section.section.ix-natural { height: auto; min-height: 0; padding-block: var(--padt) var(--padt); }
main > section.section.ix-natural > .wrap { height: auto; }
@media (max-width: 639px) { main > section.section.ix-natural { padding-block: 72px; } }
/* A1/A4/A5: every window takes the height of its contents and sits in the middle of its frame or column */
.ix-pc-visual { align-items: center; }
.ix-pc-visual > :is(.ix-window, .ix-code, .ix-phone) { height: auto; max-height: 100%; align-self: center; }
.ix-pc-visual > .ix-phone:not(.ix-phone--site) { width: min(100%, 320px); justify-self: center; }
.ix-pc-visual > .ix-phone:not(.ix-phone--site) .ix-phone__body { min-height: 200px; }
[data-moment="pinned-chapters"].is-live .mo-pc__visuals.frame { height: min(calc(100svh - var(--nav) - 48px - 72px), 560px); }
.ix-list__visual { align-items: center; height: auto; }
.ix-list__visual > :is(.ix-window, .ix-code) { height: auto; }
.ix-list__visual.ix-panel { height: auto; aspect-ratio: 1 / 1; max-height: 620px; }
.ix-site { min-height: 0; }
.ix-site__hero { flex: none; }
.ix-window .ix-diagram { width: 100%; }
.ix-window__body > .ix-dwrap { height: auto; container-type: normal; }
.ix-window__body > .ix-dwrap > .ix-diagram { width: 100%; }
@media (min-width: 1024px) {
  .ix-hero .hero__grid { align-items: center; }
  .ix-hero .hero__text { align-self: center; }
  .ix-hero-visual.hero__media { height: auto; max-height: 100%; justify-content: center; }
  .ix-hero-visual > .ix-hero-window { flex: none; }
}
.ix-ads--side .ix-feed { width: 100%; }
/* A6: the second mock button reads */
.ix-mock-btn--2.ix-mock-btn--text { color: var(--p-ink); }
/* A7: one field label size everywhere */
.ix-field, .section-head > .ix-field, .ix-close .ix-field { font: 600 14px/1.3 var(--font-text); }
/* A8: diagrams with presence: heavier lines, larger nodes and labels */
.ix-diagram .ix-trace__line { stroke-width: 3; }
.ix-diagram .ix-trace__node { r: 7; }
.ix-diagram .ix-trace__ring { r: 7; stroke-width: 3; }
.ix-dlabel { font-size: 16px; font-weight: 600; }
.ix-dlabel--r { transform: translate(16px, -50%); }
.ix-dlabel--c { font-size: 14px; }
@media (max-width: 639px) { .ix-dlabel { font-size: 13px; } .ix-diagram .ix-trace__line { stroke-width: 2.5; } }
/* A9: the node on the title's line in linked rows; the index in two balanced columns */
.ix-order__a > h3 { display: flex; align-items: center; gap: var(--s-3); }
.ix-groups__col { display: grid; gap: var(--s-6); align-content: start; }
/* A10: phones */
@media (max-width: 639px) {
  .ix-pc-visual { aspect-ratio: auto; }
  footer.closing.ix-closing > .wrap { grid-template-rows: auto auto; }
  .ix-close { padding-block: var(--s-8); }
}
/* code: each line wraps at spaces inside the panel, its number beside it (no clipped lines) */
.ix-code__pre { white-space: normal; overflow: hidden; }
.ix-code__line { display: block; position: relative; padding-left: 60px; white-space: pre-wrap; overflow-wrap: break-word; }
.ix-code__line > .ix-code__ln { position: absolute; left: 0; top: 0; margin: 0; }
/* Contact: words, buttons and the channels as one composed block; the channels large and tappable */
.ix-contact-hero__in { justify-content: center; }
.ix-channels dd a { display: inline-flex; align-items: center; gap: var(--s-3); min-height: 44px; font-size: 22px; color: #fff; }
.ix-channels > div::before { top: calc(var(--s-6) * -1 - 4px); }
.ix-statement__chat { align-self: center; }
/* Privacy: the reading column centred at a comfortable measure; the hero's block centred in its screen */
.ix-reading { margin-inline: auto !important; }
.ix-privacy-hero__in { justify-content: center; }

/* final gate pass fixes */
@media (max-width: 639px) { .ix-hero-visual > .ix-hero-window { max-height: 280px; } }
.ix-word h1 { font-size: clamp(48px, 5.6vw + 18px, 104px); }
@media (max-width: 639px) { .ix-panel a.ix-dlabel, .ix-panel span.ix-dlabel { white-space: normal; max-width: 44vw; } }

/* ================================================================ round 3 */
/* 7: focus rings that contrast with their ground: navy on yellow, yellow on navy */
.ix-close :focus-visible { outline-color: var(--p-ink); }
:is(.ground-inverse, .ix-navy) :focus-visible { outline-color: var(--yellow); }
/* 7: the long wp-admin address shows in full where the window allows */
.ix-window__url { flex: 1 1 auto; max-width: none; text-overflow: ellipsis; }
/* 1: in a live pinned section the frame hugs its windows (the script sets its height from the tallest window) */
[data-moment="pinned-chapters"].is-live .ix-pc-visual { padding: var(--s-5); }
[data-moment="pinned-chapters"]:not(.is-live) .ix-pc-visual { aspect-ratio: auto; }
/* 4: the home hero system as one grid: window, two cards, the AI strip; no empty band */
.ix-sys.hero__media { display: grid; grid-template: "w w" minmax(0, 1fr) "s a" auto "i i" auto / minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-6) var(--s-4); align-content: center; }
.ix-sys__part { position: relative; inset: auto; width: auto; height: auto; top: auto; left: auto; right: auto; bottom: auto; }
.ix-sys__win { grid-area: w; min-height: 0; }
.ix-sys__win > .ix-window { height: 100%; }
.ix-sys__serp { grid-area: s; }
.ix-sys__ad { grid-area: a; }
.ix-sys__ai { grid-area: i; padding-right: var(--s-8); }
.ix-sys > .ix-pause { top: auto; bottom: var(--s-3); right: var(--s-3); }
@media (max-width: 1023px) { .ix-sys.hero__media { grid-template: "w w" minmax(0, 1fr) "s a" auto / minmax(0, 1fr) minmax(0, 1fr); } .ix-sys > .ix-pause { bottom: auto; top: var(--s-3); } }
@media (max-width: 639px) { .ix-sys.hero__media { grid-template: "w" minmax(0, 1fr) "s" auto / minmax(0, 1fr); } }
/* 5: the separate-suppliers half reads as a real state (solid muted ink), each half captioned */
.ix-brief__apart .ix-trace__line { stroke: var(--p-muted); stroke-width: 2.5; stroke-dasharray: none; }
.ix-brief__apart .ix-trace__node { fill: var(--p-muted); }
.ix-brief__apart .ix-brief__box { stroke: var(--p-muted); stroke-width: 1.5; }
.ix-brief__cap { font: 600 15px var(--font-text); fill: var(--p-muted); }
@media (max-width: 639px) { .ix-brief__cap { font-size: 22px; } }
/* 6: Privacy on one axis: the reading column on the hero's left line */
.ix-reading { margin-inline: 0 !important; }
/* 2: the kit's pinned-chapters styles every <p> in a step (ink colour, collapsed when closed); a mock-up's own
   paragraphs inside a step's frame keep their own look */
[data-moment="pinned-chapters"] .mo-pc__step .ix-pc-visual p { display: block; opacity: 1; max-width: none; grid-template-rows: none; }
[data-moment="pinned-chapters"] .mo-pc__step .ix-pc-visual .ix-bubble { color: #fff; max-width: 86%; }
.ground-inverse .btn--secondary, html[data-buttons="tonal"] .ground-inverse .btn--secondary { border-color: transparent; }
/* the home system keeps the hero column's full height (the service heroes' centring must not collapse its grid) */
.ix-hero .hero__grid > .ix-sys.hero__media { align-self: stretch; height: 100%; }
.ix-sys__win { min-height: 220px; }
@media (min-width: 1024px) { .ix-hero .hero__grid > .ix-sys.hero__media { min-height: min(calc(100svh - var(--nav) - 112px), 716px); } }
@media (max-width: 639px) { .ix-sys__ad { display: none; } }
[data-moment="pinned-chapters"].is-live .mo-pc__visuals.frame { transition: height .3s var(--ease); }
[data-moment="pinned-chapters"].is-live .ix-pc-visual > :is(.ix-window, .ix-code, .ix-phone) { max-height: none; }
.ix-related__p { max-width: 60ch; }
main > section.section.ix-related.ix-natural { padding-block: var(--s-8); }
.ix-related .link::after { content: none; }

/* ================================================================ round 6 */
/* 2: on a phone the two-width frame shows the phone copy alone, full size */
@media (max-width: 1279px) {
  .ix-pc-visual--1:has(> .ix-phone--site) { grid-template-columns: minmax(0, 1fr); }
  .ix-pc-visual--1:has(> .ix-phone--site) > .ix-window { display: none; }
  .ix-pc-visual--1 > .ix-phone--site { grid-area: 1 / 1; width: min(100%, 260px); height: auto; justify-self: center; }
}
@media (max-width: 639px) {
  /* 3: a chat mock in a phone-width frame takes the frame's width */
  .ix-pc-visual > .ix-phone:not(.ix-phone--site) { width: 100%; }
  .ix-flow { padding: var(--s-4); gap: 24px; }
  .ix-flow__step + .ix-flow__step::before { height: 24px; }
}
/* 4: the related-services line reads as the last line of the section before it */
main > section.section.ix-related.ix-natural { margin-top: calc(var(--padt) * -1 + var(--s-6)); padding-block: 0 var(--s-9); }
.ix-areas.ground-surface + .ix-related, .ix-list.ground-surface + .ix-related { background: var(--p-surface); }
@media (max-width: 639px) { main > section.section.ix-related.ix-natural { margin-top: calc(var(--padt) * -1 + var(--s-5)); padding-bottom: var(--s-8); } }

/* ================================================================ round 7 */
/* the website mock's photograph stays at every width: beside the words, never under them */
.ix-site__hero--photo { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.ix-site__photo { display: block; }
/* the pinned section: content from the top of its screen, and the section ends where its content ends (the held
   grid is as tall as its content). `html` raises these over the kit's moment.css, which is linked after this file. */
html main [data-moment="pinned-chapters"][data-moment].is-live > .mo-pc__grid { align-content: start; padding-top: calc(var(--nav) + 40px); }
/* a short screen (1024 x 768, 1280 x 800): the held text and frame fit one screen */
@media (max-height: 820px) {
  html main [data-moment="pinned-chapters"][data-moment].is-live > .mo-pc__grid { padding-top: calc(var(--nav) + 24px); }
  [data-moment="pinned-chapters"].is-live .mo-pc__text { gap: var(--s-5); }
  [data-moment="pinned-chapters"].is-live .section-head h2 { font-size: clamp(28px, 2.4vw, 40px); }
  [data-moment="pinned-chapters"].is-live .section-head p { font-size: 17px; }
  [data-moment="pinned-chapters"].is-live .mo-pc__steps { gap: var(--s-4); }
  [data-moment="pinned-chapters"].is-live .mo-pc__step h3 { font-size: 20px; }
  [data-moment="pinned-chapters"].is-live .mo-pc__step p { font-size: 15px; }
}
/* the kit's 640-1279 rule (sections height:auto, their .wrap flex 1 0 auto) out-ranks the live moment's own heights,
   so between 1024 and 1279 the held grid grew to the whole section and never stuck: restore the moment's heights */
html main > section[data-moment="pinned-chapters"].is-live { display: block; height: calc(2 * 100vh); height: calc(2 * 100svh); min-height: 0; }
html main > section[data-moment="pinned-chapters"].is-live > .mo-pc__grid { flex: none; height: 100vh; height: 100svh; }
