/* Archfile website v6. Tokens follow the Archfile brand guide (v1, 8 Oct 2026). v6 adds: quotes, story, previews, ict. */
:root {
  --navy: #0C3560;
  --blue: #1F84C6;
  --teal: #3CBED6;
  --action: #1B76B3;
  --action-hover: #155E90;
  --ink: #14243A;
  --muted: #586579;
  --line: #DDE4EC;
  --page: #F6F8FB;
  --surface: #FFFFFF;
  --navy-line: rgba(255, 255, 255, .16);
  --navy-muted: #B9C7D8;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --container: 1160px;
  --radius: 12px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--action); }
a:hover { color: var(--action-hover); }
:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { color: var(--navy); margin: 0; text-wrap: balance; }
p { margin: 0; }
.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }

/* Brand colour band */
.band { height: 6px; background: linear-gradient(90deg, var(--navy) 0 45%, var(--blue) 45% 75%, var(--teal) 75% 100%); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex: none; }
.brand img { width: 148px; }
.nav { display: flex; gap: 28px; margin-left: auto; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; }
.nav a:hover { color: var(--action); }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px; border-radius: 8px;
  font-weight: 600; font-size: 16px; text-decoration: none;
  border: 1px solid transparent; transition: background-color .15s, border-color .15s;
}
.button-small { min-height: 40px; padding: 0 16px; font-size: 15px; }
.button-primary { background: var(--action); color: #fff; }
.button-primary:hover { background: var(--action-hover); color: #fff; }
.button-secondary { background: var(--surface); color: var(--navy); border-color: #C9D3DE; }
.button-secondary:hover { border-color: var(--navy); color: var(--navy); }

/* Shared type */
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--action); margin-bottom: 14px; }
h1 { font-size: clamp(36px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.3; font-weight: 600; }
.lead { font-size: 19px; color: var(--muted); max-width: 34em; }

/* Screenshots */
.shot { margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); box-shadow: 0 24px 60px -32px rgba(12, 53, 96, .35); }
.shot figcaption { padding: 12px 18px; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); background: var(--surface); }

/* Hero */
.hero { padding-block: 72px 88px; background: linear-gradient(180deg, var(--page), var(--surface)); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 56px; align-items: center; }
.hero-copy { display: grid; gap: 22px; }
.hero-copy .eyebrow { margin-bottom: -6px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 6px 0 0; padding: 0; list-style: none; font-size: 15px; color: var(--muted); }
.facts li { display: flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); }

/* Sections */
.section { padding-block: 96px; }
.section-tint { background: var(--page); }
.section-head { display: grid; gap: 14px; max-width: 760px; margin-bottom: 48px; }
.section-head .eyebrow { margin-bottom: 0; }
.section-head p:not(.eyebrow) { color: var(--muted); font-size: 18px; }

/* Modules */
.modules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-bottom: 56px; }
.module { display: grid; gap: 14px; align-content: start; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.module h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 2px; background: var(--blue); margin-bottom: 16px; }
.module:nth-child(2) h3::before { background: var(--navy); }
.module:nth-child(3) h3::before { background: var(--teal); }
.module p { color: var(--muted); }
.module ul { margin: 0; padding-left: 1.1em; font-size: 15px; display: grid; gap: 6px; }

/* Split sections */
.split { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 56px; align-items: center; }
.split-copy { display: grid; gap: 18px; }
.split-copy .eyebrow { margin-bottom: -4px; }
.split-copy > p:not(.eyebrow) { color: var(--muted); }
.sentences { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 12px; }
.sentences li { padding: 16px 18px 16px 20px; border-left: 3px solid #B3261E; background: var(--surface); border-radius: 0 8px 8px 0; font-size: 15.5px; color: var(--ink); }
.sentences b { display: block; color: var(--navy); margin-bottom: 4px; }

/* Relief (navy) */
.section-navy { background: var(--navy); color: #E6EDF5; }
.section-navy h2 { color: #fff; }
.section-navy .eyebrow { color: var(--teal); }
.section-navy .split-copy > p:not(.eyebrow) { color: var(--navy-muted); }
.split-reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.points { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 14px; }
.points li { padding-top: 14px; border-top: 1px solid var(--navy-line); color: var(--navy-muted); font-size: 15.5px; }
.points b { color: #fff; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.phone { margin: 0; border-radius: 22px; overflow: hidden; border: 6px solid #0A2A4C; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .55); background: #fff; }
.phone-raised { margin-top: -28px; }

/* Fit list */
.fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 32px; margin: 0 0 56px; }
.fit div { padding: 22px 0; border-top: 1px solid var(--line); }
.fit dt { font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.fit dd { margin: 0; color: var(--muted); font-size: 15.5px; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding: 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before { content: counter(step); width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--navy); color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.steps b { color: var(--navy); }
.steps span { color: var(--muted); font-size: 15.5px; }

/* CTA */
.cta { padding-block: 88px; }
.cta-inner { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding: 48px; border-radius: 16px; border: 1px solid var(--line); background: var(--page); position: relative; overflow: hidden; }
.cta-inner::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--navy) 0 45%, var(--blue) 45% 75%, var(--teal) 75% 100%); }
.cta-inner > div:first-child { display: grid; gap: 12px; max-width: 600px; }
.cta-inner p { color: var(--muted); }
.cta-actions { display: grid; gap: 10px; justify-items: start; }
.contact { font-size: 15px; }

/* Footer */
.footer { background: var(--navy); color: var(--navy-muted); padding-block: 44px; font-size: 14px; }
.footer-grid { display: flex; flex-wrap: wrap; gap: 24px 48px; justify-content: space-between; align-items: flex-end; }
.footer-brand { display: grid; gap: 14px; }
.footer-brand img { width: 132px; }
.footer-legal { display: grid; gap: 4px; text-align: right; }

/* Compact */
@media (max-width: 959px) {
  .nav { display: none; }
  .nav-wrap > .button { margin-left: auto; }
  .hero { padding-block: 48px 64px; }
  .hero-grid, .split, .split-reverse { grid-template-columns: 1fr; gap: 40px; }
  .modules { grid-template-columns: 1fr; }
  .fit { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .section { padding-block: 72px; }
}

/* Phone */
@media (max-width: 599px) {
  body { font-size: 16px; }
  .container { width: min(100% - 32px, var(--container)); }
  .brand img { width: 124px; }
  .nav-wrap { min-height: 64px; }
  .lead { font-size: 17px; }
  .section { padding-block: 56px; }
  .section-head { margin-bottom: 32px; }
  .fit, .steps { grid-template-columns: 1fr; }
  .phones { gap: 10px; }
  .phone { border-width: 4px; border-radius: 16px; }
  .phone-raised { margin-top: -16px; }
  .cta-inner { padding: 32px 22px; }
  .footer-legal { text-align: left; }
  .actions .button { flex: 1 1 100%; }
}

/* ---- v6 additions ---- */
.nav-wrap > .button { flex: none; }

/* What we hear */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.quote { margin: 0; padding: 26px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: 12px; align-content: start; }
.quote .tag { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.quote p { font-size: 18px; line-height: 1.5; color: var(--ink); }
.quote p::before { content: "\201C"; color: var(--blue); font-weight: 700; margin-right: 2px; }
.quote p::after { content: "\201D"; color: var(--blue); font-weight: 700; margin-left: 1px; }
.footnote { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* Relief story */
.story { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.story li { display: grid; gap: 14px; align-content: start; }
.story .time { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.story h3 { color: #fff; font-size: 18px; }
.story p { color: var(--navy-muted); font-size: 15.5px; }
.story .phone, .story .shot { margin: 0; }
.story figure img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top left; }
.story .shot { border-color: var(--navy-line); }
.points-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 28px; }

/* Previews */
.previews { display: grid; gap: 48px; }
.preview { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 40px; align-items: center; }
.preview:nth-child(2) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.preview:nth-child(2) .shot { order: 2; }
.preview-copy { display: grid; gap: 12px; }
.preview .shot { position: relative; }
.badge { position: absolute; bottom: 12px; right: 12px; padding: 4px 10px; border-radius: 6px; font-size: 12px; font-weight: 600; letter-spacing: .04em; color: var(--navy); background: #FFF4D6; border: 1px solid #F0D9A0; }
.preview p { color: var(--muted); font-size: 15.5px; }
.principle { margin-top: 36px; padding: 18px 22px; border-left: 3px solid var(--teal); background: var(--surface); border-radius: 0 8px 8px 0; color: var(--ink); max-width: 760px; }

/* Two shots side by side */
.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 56px; }

@media (max-width: 959px) {
  .story, .points-grid { grid-template-columns: 1fr 1fr; }
  .pair, .preview, .preview:nth-child(2) { grid-template-columns: 1fr; gap: 20px; }
  .preview:nth-child(2) .shot { order: 0; }
}
@media (max-width: 599px) {
  .quotes, .story, .points-grid { grid-template-columns: 1fr; }
  .quote p { font-size: 17px; }
  .story figure { max-width: 280px; }
}

/* Relief rows */
.rows { display: grid; gap: 64px; margin-bottom: 64px; }
.row { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.row-flip .row-media { order: 2; }
.row-copy { display: grid; gap: 12px; max-width: 30em; }
.row-copy .time { font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); }
.row-copy h3 { color: #fff; font-size: 24px; }
.row-copy p { color: var(--navy-muted); }
.row-media .shot { border-color: var(--navy-line); }
.shot-narrow { max-width: 440px; }
.phones-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 520px; }
.phones-1 { max-width: 280px; }
.wide-shot { margin-bottom: 56px; }
.split-after { margin-top: 64px; align-items: start; }
.split-after h3 { font-size: 24px; }
@media (max-width: 959px) {
  .row, .row-flip { grid-template-columns: 1fr; gap: 24px; }
  .row-flip .row-media { order: 0; }
}
