/* CWA concept site, v2 (27 Oct 2026). Layout language inspired by mahilcpa.ca, in CWA's own colours.
   Superseded v1 stylesheet kept at ../deprecated-v1/site-v1.css. */
@font-face { font-family: 'Inter Tight'; src: url('/assets/fonts/inter-tight-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/newsreader-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: 'Newsreader'; src: url('/assets/fonts/newsreader-latin-wght-italic.woff2') format('woff2'); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --stone: #F3F1EB; --stone-2: #ECE9E1; --white: #FFFFFF; --ink: #0E1E29; --muted: #5B6670; --line: #E2DED4;
  --navy: #1B2D3A; --navy-2: #24394A; --on-navy: #C9D3DB; --green: #6AB446; --green-ink: #2F6B23; --green-soft: #E6F1DF;
  --hl: #232E1F; --hl-soft: #EEF2E7; --ll-forest: #232E1F; --ll-fern: #3A4633; --ll-cream: #EDEFE5;
  --serif: 'Newsreader', Georgia, 'Times New Roman', serif; --sans: 'Inter Tight', system-ui, -apple-system, sans-serif;
  --wrap: 1120px; --r: 6px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 450 16.5px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-ink); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 .45em; color: var(--ink); }
h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); }
h3 { font-size: 1.4rem; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; font-weight: 450; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 800px; }
.small { font-size: .9rem; color: var(--muted); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* faint column guides, as on the reference site */
.guides-bg { position: relative; }
.guides-bg::before { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: linear-gradient(to right, var(--line) 1px, transparent 1px);
  background-size: calc((min(100vw, var(--wrap)) - 56px) / 4) 100%; background-position: center top;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); opacity: .7; }
.guides-bg > * { position: relative; z-index: 1; }

/* header */
.top { background: rgba(255,255,255,.92); backdrop-filter: saturate(140%) blur(8px); position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 70px; }
.logo img { width: 86px; }
.nav { list-style: none; display: flex; gap: 2px; margin: 0 0 0 auto; padding: 0; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 12px; border-radius: var(--r); font-weight: 520; }
.nav a:hover, .nav a[aria-current] { background: var(--stone); }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; font: 560 1rem/1 var(--sans); background: var(--ink); color: var(--white); border: 1.5px solid var(--ink); border-radius: var(--r); padding: 14px 22px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--navy-2); border-color: var(--navy-2); color: var(--white); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--white); }
.btn-green { background: var(--green); border-color: var(--green); color: var(--ink); }
.btn-green:hover { background: #7CC459; border-color: #7CC459; color: var(--ink); }
.btn-small { padding: 10px 16px; font-size: .95rem; }
.hero-btns, .cta-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }

/* information points */
.ip { display: inline-flex; align-items: center; gap: 7px; font: 600 .78rem/1 var(--sans); color: var(--ll-cream); cursor: pointer; border: 0; padding: 5px 10px 5px 5px; margin: 0 0 14px; border-radius: var(--r); background: var(--ll-forest); box-shadow: 0 1px 0 rgba(14,19,13,.12); }
.ip-flask { width: 11px; height: 15px; flex: none; margin-left: 1px; }
.ip:hover { background: var(--ll-fern); }
.ip-mark { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ll-cream); color: var(--ll-forest); font: italic 700 12px/1 var(--serif); }
body.ip-off .ip { display: none; }
.built-list .ip, .tbl .ip { margin: 0; text-align: left; line-height: 1.2; }

/* hero */
.hero { background: var(--stone); padding: 84px 0 96px; }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 8px; border: 1px solid #B9C6B0; color: var(--green-ink); background: rgba(255,255,255,.5); border-radius: var(--r); padding: 5px 12px; font-size: .85rem; font-weight: 550; margin-bottom: 18px; }
.badge svg { width: 15px; height: 15px; }
.lede { font-size: 1.15rem; line-height: 1.55; color: var(--ink); max-width: 34em; }
.hero-card { position: relative; }
.ledger { background: var(--white); border-radius: var(--r); padding: 26px 28px 60px; box-shadow: 0 24px 60px -24px rgba(14,30,41,.28), 0 2px 6px rgba(14,30,41,.05); }
.ledger h2 { font-size: 1.6rem; margin-bottom: 8px; }
.dl { list-style: none; margin: 0; padding: 0; }
.dl li { display: grid; grid-template-columns: 6.8em 1fr; gap: 2px 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.dl time { font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.dl .dl-links { grid-column: 2; font-size: .85rem; display: flex; gap: 14px; }
.ledger-note { font-size: .8rem; color: var(--muted); margin: 6px 0 0; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; background: var(--white); border-radius: var(--r); padding: 10px 14px; box-shadow: 0 14px 30px -12px rgba(14,30,41,.3); font-size: .85rem; line-height: 1.3; max-width: 250px; }
.chip strong { display: block; font-size: .9rem; }
.chip .ico { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green-soft); display: grid; place-items: center; color: var(--green-ink); }
.chip .ico svg { width: 18px; height: 18px; }
.chip-a { left: -34px; bottom: -26px; }

/* sections */
.sec { padding: 96px 0; }
.sec-stone { background: var(--stone); }
.sec-head { max-width: 760px; margin-bottom: 40px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.statement { font: 450 clamp(1.6rem, 3vw, 2.35rem)/1.25 var(--serif); letter-spacing: -0.015em; max-width: 26em; margin-bottom: 56px; }
.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.feature .ico { width: 30px; height: 30px; color: var(--ink); margin-bottom: 10px; }
.feature p { margin: 0; max-width: 32em; }
.feature strong { display: block; font-size: 1.05rem; margin-bottom: 2px; }

.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.svc { display: block; padding: 26px 24px 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); background: var(--white); }
.svc:hover { background: var(--stone); }
.svc .ico { width: 28px; height: 28px; color: var(--green-ink); margin-bottom: 14px; }
.svc-n { display: block; font: 500 1.3rem/1.2 var(--serif); margin-bottom: 6px; }
.svc-d { display: block; color: var(--muted); font-size: .95rem; }
.svc-group { font: 600 .9rem/1 var(--sans); color: var(--muted); margin: 0 0 12px; }

.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; margin: 0 0 16px; }
.facts div { border-top: 1px solid var(--ink); padding-top: 14px; }
.facts dt { font: 500 2.1rem/1.1 var(--serif); letter-spacing: -0.02em; }
.facts dd { margin: 6px 0 0; color: var(--muted); }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.two-tight { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; }
.guide-list { list-style: none; padding: 0; margin: 0 0 12px; }
.guide-list a { display: block; padding: 18px 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.g-q { display: block; font: 500 1.25rem/1.25 var(--serif); }
.guide-list a:hover .g-q { text-decoration: underline; text-decoration-thickness: 1px; }
.g-a { display: block; color: var(--muted); margin-top: 4px; }
.empty { border: 1.5px dashed #B8BFB0; border-radius: var(--r); padding: 24px; background: var(--white); }

.faq-list details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { font: 500 1.2rem/1.3 var(--serif); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: '+'; font: 400 1.5rem/1 var(--sans); color: var(--muted); }
.faq-list details[open] summary::after { content: '\2212'; }
.faq-list details p { margin: 10px 0 0; color: var(--muted); max-width: 46em; }

.offices { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.office { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 26px; }
.office h3 a { color: var(--ink); text-decoration: none; }
.office h3 a:hover { text-decoration: underline; }
.placeholder { background: var(--hl-soft); border: 1px dashed #6E7A5E; padding: 8px 12px; border-radius: var(--r); font-size: .9rem; color: var(--ll-forest); }
.addr { font-size: 1.1rem; }

/* inner pages */
.page-head { background: var(--stone); padding: 64px 0 48px; }
.kicker { font-weight: 600; margin-bottom: 10px; font-size: .95rem; }
.kicker a { text-decoration: none; }
.answer { margin: 18px 0 24px; }
.answer p { font: 450 1.35rem/1.5 var(--serif); margin: 0; }
.answer .ip { margin-bottom: 10px; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { position: relative; padding: 7px 0 7px 30px; border-bottom: 1px solid var(--line); }
.ticks li::before { content: ''; position: absolute; left: 4px; top: 15px; width: 11px; height: 6px; border-left: 2px solid var(--green-ink); border-bottom: 2px solid var(--green-ink); transform: rotate(-45deg); }
.factbox { background: var(--stone); border-radius: var(--r); padding: 24px 26px 10px; margin: 32px 0; }
.factbox h2 { font-size: 1.6rem; }
.factbox ul { padding-left: 18px; }
.factbox li { margin-bottom: 8px; }
.src { font-size: .85rem; color: var(--muted); }
.faq { margin: 40px 0; }
.related ul { padding-left: 18px; }
.guide-tease { font-weight: 600; }
.author { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); }
.author-k { font-weight: 650; margin-bottom: 6px; }
.prose p { font: 400 1.15rem/1.65 var(--serif); }
.prose h2 { margin-top: 1.4em; font-size: 2rem; }
.example { background: var(--stone); border-radius: var(--r); padding: 14px 18px; }
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.person { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.crumbs { background: var(--stone); padding-top: 18px; font-size: .9rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; }
.crumbs li + li::before { content: '/'; color: var(--muted); margin-right: 6px; }

.form label { display: block; font-weight: 600; margin: 16px 0 6px; }
.form input, .form textarea { width: 100%; font: 450 1rem/1.4 var(--sans); padding: 12px 14px; border: 1.5px solid #8C969E; border-radius: var(--r); background: var(--white); color: var(--ink); }
.form input:focus, .form textarea:focus { border-color: var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }
.form .btn { margin-top: 18px; }
.form-done { margin-top: 14px; background: var(--green-soft); padding: 12px 14px; border-radius: var(--r); }
.form [aria-invalid="true"] { border-color: #B3261E; }

/* closing call to action and footer, one dark block as on the reference site */
.closing { background: var(--navy); color: var(--on-navy); padding: 96px 0 40px; position: relative; overflow: hidden; }
.closing h2 { color: var(--white); }
.closing p { color: var(--on-navy); max-width: 34em; }
.closing a { color: var(--white); }
.closing a.btn-green, .closing a.btn-green:hover { color: var(--ink); }
.closing .btn-ghost { color: var(--white); border-color: var(--white); }
.closing .btn-ghost:hover { background: var(--white); color: var(--ink); }
.closing-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding-bottom: 72px; }
.closing-logo { width: 100%; max-width: 380px; height: auto; justify-self: end; align-self: center; opacity: .92; }
.closing .ip { margin-top: 18px; }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 28px; border-top: 1px solid rgba(201,211,219,.2); padding-top: 40px; }
.foot-in p { margin: 0 0 .5em; }
.foot-in a { display: inline-block; padding: 3px 0; text-decoration: none; color: var(--on-navy); }
.foot-in a:hover { color: var(--white); text-decoration: underline; }
.foot-name { color: var(--white); font-weight: 650; }
.foot-logo { width: 74px; margin-bottom: 12px; }
.foot-note { margin-top: 32px; font-size: .85rem; color: #9FB2C1; }

.built { padding: 28px 0; background: var(--stone); border-top: 1px solid var(--line); }
body.ip-off .built, body.built-off .built { display: none; }
.built h2 { font: 600 1rem/1.3 var(--sans); color: var(--muted); letter-spacing: 0; }
.built-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }

.table-wrap { overflow-x: auto; }
.tbl { border-collapse: collapse; width: 100%; background: var(--white); }
.tbl th, .tbl td { text-align: left; vertical-align: top; padding: 14px; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--ink); color: var(--white); font-weight: 600; }
.tbl.small td { font-size: .9rem; font-variant-numeric: tabular-nums; }
.work { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* floating contact pill, as on the reference site */
.pill { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 25; display: flex; border-radius: var(--r); overflow: hidden; box-shadow: 0 12px 30px -10px rgba(14,30,41,.45); }
.pill a { display: flex; align-items: center; gap: 8px; padding: 12px 16px; text-decoration: none; font-weight: 600; font-size: .95rem; }
.pill a:first-child { background: var(--white); color: var(--ink); }
.pill a:last-child { background: var(--ink); color: var(--white); }
.pill svg { width: 16px; height: 16px; }
body.pill-off .pill { display: none; }

/* concept controls: Laurelin Labs forest green, 40% transparent. The backdrop is dimmed and blurred so cream text keeps AA contrast over any page colour. */
.cpanel { --ll-cream: #EDEFE5; --ll-sage: #C3CAB6; --ll-gold: #C9A24B; --ll-lime: #8FB85A; --ll-line: rgba(237,239,229,.18);
  position: fixed; left: 16px; bottom: 16px; z-index: 35; width: min(340px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  background: rgba(35,46,31,.6); backdrop-filter: blur(14px) brightness(.42) saturate(120%); -webkit-backdrop-filter: blur(14px) brightness(.42) saturate(120%);
  border: 1px solid rgba(201,162,75,.45); border-radius: var(--r); padding: 14px 16px; color: var(--ll-cream); font-size: .88rem; box-shadow: 0 16px 40px -18px rgba(14,19,13,.6); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .cpanel, .cp-open { background: rgba(27,35,24,.94); } }
.cpanel[hidden] { display: none; }
.cp-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.cp-logo { width: 27px; height: 36px; flex: none; }
.cp-name { line-height: 1.2; }
.cp-name strong { display: block; font-size: .95rem; color: var(--ll-cream); }
.cp-name span { font: 500 .68rem/1.2 ui-monospace, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: #EAD494; }
.cp-x { margin-left: auto; font: 600 .8rem/1 var(--sans); background: transparent; border: 1px solid rgba(237,239,229,.45); border-radius: var(--r); padding: 6px 10px; cursor: pointer; color: var(--ll-cream); }
.cp-x:hover { background: var(--ll-cream); color: #141B12; }
.cpanel p { margin: 0 0 10px; line-height: 1.45; color: var(--ll-cream); }
.cpanel :focus-visible { outline: 2px solid var(--ll-gold); outline-offset: 2px; }
.sw { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 0; border-top: 1px solid var(--ll-line); cursor: pointer; font-weight: 550; }
.sw small { display: block; font-weight: 450; font-size: .75rem; color: var(--ll-sage); margin-top: 1px; }
.built.flash { animation: builtflash 1.6s ease; }
@keyframes builtflash { 0%, 40% { box-shadow: inset 0 0 0 3px var(--ll-forest); } 100% { box-shadow: none; } }
.sw input { appearance: none; -webkit-appearance: none; width: 38px; height: 22px; border-radius: 999px; background: rgba(237,239,229,.28); position: relative; cursor: pointer; flex: none; margin: 0; }
.sw input::after { content: ''; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--ll-cream); transition: left .15s; }
.sw input:checked { background: var(--ll-lime); }
.sw input:checked::after { left: 19px; background: #141B12; }
.cp-links { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 0; border-top: 1px solid var(--ll-line); }
.cp-links a, .cp-links button { font: 600 .8rem/1 var(--sans); background: transparent; border: 1px solid rgba(237,239,229,.45); border-radius: var(--r); padding: 7px 11px; cursor: pointer; color: var(--ll-cream); text-decoration: none; }
.cp-links a:hover, .cp-links button:hover { background: var(--ll-cream); color: #141B12; }
.cp-ver { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 8px 0; border-top: 1px solid var(--ll-line); }
.cp-ver span { font-weight: 550; margin-right: auto; }
.cp-ver a { font: 600 .8rem/1 var(--sans); border: 1px solid rgba(237,239,229,.45); border-radius: var(--r); padding: 7px 11px; color: var(--ll-cream); text-decoration: none; }
.cp-ver a:hover { background: var(--ll-cream); color: #141B12; }
.cp-ver a[aria-current] { background: var(--ll-lime); border-color: var(--ll-lime); color: #141B12; }
.cp-fb { border-top: 1px solid var(--ll-line); padding-top: 8px; }
.cp-fb summary { cursor: pointer; font-weight: 650; padding: 2px 0; color: var(--ll-cream); }
.cp-fb label { display: block; font-weight: 600; margin: 8px 0 4px; }
.cp-fb textarea, .cp-fb input { width: 100%; font: 450 .9rem/1.4 var(--sans); padding: 8px 10px; border: 1px solid rgba(237,239,229,.4); border-radius: var(--r); background: rgba(14,19,13,.55); color: var(--ll-cream); }
.cp-fb button { margin-top: 10px; font: 600 .85rem/1 var(--sans); background: var(--ll-gold); color: #141B12; border: 0; border-radius: var(--r); padding: 10px 14px; cursor: pointer; }
.cp-fb .small { color: var(--ll-sage); font-size: .78rem; margin-top: 6px; }
.cp-open { position: fixed; left: 16px; bottom: 16px; z-index: 35; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(201,162,75,.55); display: grid; place-items: center; padding: 0;
  background: rgba(35,46,31,.6); backdrop-filter: blur(10px) brightness(.42); -webkit-backdrop-filter: blur(10px) brightness(.42); cursor: pointer; box-shadow: 0 10px 24px -10px rgba(14,19,13,.6); }
.cp-open img { width: 21px; height: 28px; }
.cp-open[hidden] { display: none; }

/* drawer */
.scrim { position: fixed; inset: 0; background: rgba(14,30,41,.35); z-index: 40; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(620px, 100%); background: var(--white); z-index: 50; overflow-y: auto; padding: 26px 28px 40px; box-shadow: -12px 0 32px rgba(14,30,41,.18); border-left: 6px solid var(--ll-forest); }
.drawer-close { float: right; font: 600 .9rem/1 var(--sans); background: var(--stone); border: 1px solid var(--line); border-radius: var(--r); padding: 8px 14px; cursor: pointer; }
.drawer h2 { font-size: 2rem; margin-top: 30px; }
.drawer h3 { font: 650 .95rem/1.3 var(--sans); color: var(--muted); margin: 18px 0 6px; letter-spacing: 0; }
.drawer p { margin-bottom: .6em; }
.drawer code { word-break: break-all; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 4px 0 6px; padding: 0; list-style: none; }
.chips li { font-size: .8rem; font-weight: 650; background: var(--green-soft); color: var(--green-ink); border-radius: var(--r); padding: 4px 10px; }
.today { background: var(--hl-soft); border-left: 4px solid var(--ll-fern); padding: 10px 14px; }
.ev { padding-left: 18px; font-size: .95rem; }
.ev li { margin-bottom: 10px; }
.ev a { display: block; font-size: .82rem; margin-top: 2px; }
.serp { border: 1px solid var(--line); border-radius: var(--r); padding: 14px 16px; font-family: Arial, Helvetica, sans-serif; background: var(--white); }
.serp-url { color: #202124; font-size: 13px; margin-bottom: 4px; }
.serp-t { color: #1A0DAB; font-size: 19px; line-height: 1.3; margin-bottom: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.serp-d { color: #4D5156; font-size: 14px; line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ld { font-size: .75rem; background: var(--ink); color: #DCE6EE; padding: 12px; border-radius: var(--r); overflow-x: auto; max-height: 320px; }
.cbtn { font: 600 .85rem/1 var(--sans); color: var(--ink); background: var(--white); border: 1px solid var(--ink); border-radius: var(--r); padding: 7px 12px; cursor: pointer; }

@media (max-width: 960px) {
  .hero-in, .two, .two-tight, .closing-top, .work { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .people { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .chip-a { left: 12px; }
  .closing-logo { justify-self: start; max-width: 220px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .top-in { flex-wrap: wrap; gap: 4px 16px; padding-top: 10px; padding-bottom: 4px; min-height: 0; }
  .top-in > nav { order: 3; width: 100%; min-width: 0; }
  .nav { overflow-x: auto; margin: 0 -10px; }
  .nav a { padding: 8px 10px; white-space: nowrap; display: block; }
  .top-cta { margin-left: auto; }
  .wrap { padding: 0 18px; }
  .hero { padding: 48px 0 72px; }
  .sec { padding: 64px 0; }
  .svc-grid, .features, .offices { grid-template-columns: 1fr; }
  .tbl.small td, .tbl.small th { word-break: break-all; }
  .pill { bottom: 12px; left: auto; right: 12px; transform: none; }
  .pill a { padding: 11px 13px; font-size: .9rem; }
  .cpanel { left: 10px; bottom: 70px; }
  .cp-open { left: 12px; bottom: 12px; }
}
@media (max-width: 480px) { .facts, .foot-in { grid-template-columns: 1fr; } .dl li { grid-template-columns: 1fr; } .dl .dl-links { grid-column: 1; } .chip-a { position: static; margin-top: 14px; max-width: none; } .ledger { padding-bottom: 18px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* home hero: London at night (Tower Bridge and the Shard), full bleed, darkened on the left for the headline */
.hero-night { position: relative; overflow: hidden; color: #E6ECF1; padding: 96px 0 104px; background: #0A121A; }
.hero-photo { position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 22%; z-index: 0; }
.hero-shade { position: absolute; inset: 0; z-index: 0; background: linear-gradient(90deg, rgba(7,12,18,.86) 0%, rgba(7,12,18,.66) 42%, rgba(7,12,18,.2) 75%, rgba(7,12,18,.15) 100%), linear-gradient(0deg, rgba(7,12,18,.45) 0%, rgba(7,12,18,0) 30%); }
.hero-night .hero-in { position: relative; z-index: 1; }
.hero-night h1 { color: #fff; }
.hero-night .lede { color: #DCE4EA; }
.hero-night .badge { color: #DCEBD3; border-color: rgba(220,235,211,.45); background: rgba(7,12,18,.4); }
.hero-night .ip { box-shadow: 0 0 0 1px rgba(237,239,229,.35); }
.hero-night .btn-ghost { color: #fff; border-color: rgba(255,255,255,.85); background: rgba(7,12,18,.25); }
.hero-night .btn-ghost:hover { background: #fff; color: var(--ink); }
@media (max-width: 760px) { .hero-night { padding: 48px 0 64px; } .hero-shade { background: linear-gradient(180deg, rgba(7,12,18,.8) 0%, rgba(7,12,18,.62) 100%); } }

/* key dates carousel */
.kd { background: var(--white); border-radius: var(--r); padding: 24px 26px 18px; box-shadow: 0 24px 60px -24px rgba(5,10,15,.6); color: var(--ink); }
.kd-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.kd-head h2 { font-size: 1.6rem; margin: 0; }
.kd-ctrl { display: flex; gap: 6px; }
.kd-ctrl[hidden] { display: none; }
.kd-btn { width: 36px; height: 36px; border-radius: var(--r); border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; font-size: .95rem; line-height: 1; }
.kd-btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.kd-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; gap: 16px; margin: 16px 0 10px; scrollbar-width: none; }
.kd-track::-webkit-scrollbar { display: none; }
.kd-slide { flex: 0 0 100%; scroll-snap-align: start; border-top: 1px solid var(--line); padding-top: 16px; min-height: 196px; }
.kd-slide[hidden] { display: none; }
.kd-when { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 6px; }
.kd-when time { font-family: var(--serif); font-size: 2.1rem; line-height: 1.05; }
.kd-left { font-size: .82rem; font-weight: 650; color: var(--green-ink); background: var(--green-soft); border-radius: var(--r); padding: 3px 10px; }
.kd-left:empty { display: none; }
.kd-slide h3 { font-size: 1.2rem; margin: 4px 0 6px; }
.kd-slide h3 a { color: var(--ink); text-decoration: none; }
.kd-slide h3 a:hover { text-decoration: underline; }
.kd-slide p { color: var(--muted); margin: 0 0 12px; }
.kd-links { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.kd-links .btn { color: #fff; }
.kd-dots { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 8px; }
.kd-dot { width: 28px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.kd-dot::before { content: ''; width: 22px; height: 4px; border-radius: 2px; background: var(--line); }
.kd-dot[aria-current="true"]::before { background: var(--ll-forest); }
.kd-list li { grid-template-columns: 7.5em 1fr; }
@media (max-width: 760px) { .kd-when time { font-size: 1.7rem; } }
@media (prefers-reduced-motion: reduce) { .kd-track { scroll-behavior: auto; } }
.hero-in > *, .kd, .kd-track { min-width: 0; }
.kd-when { color: var(--ink); }
@media (max-width: 960px) { .hero-in { grid-template-columns: minmax(0, 1fr); } }

/* services on the Thames at dusk: spaced cards over the photograph */
.sec-photo { position: relative; overflow: hidden; background: #10213A; color: #fff; }
.sec-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; z-index: 0; }
.sec-photo::before { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(8,16,30,.8) 0%, rgba(8,16,30,.58) 26%, rgba(8,16,30,.3) 60%, rgba(8,16,30,.7) 100%); }
.sec-photo .wrap { position: relative; z-index: 1; }
.sec-photo .sec-head h2 { color: #fff; }
.sec-photo .sec-head p { color: #DCE4EA; }
.sec-photo .ip { box-shadow: 0 0 0 1px rgba(237,239,229,.35); }
.sec-photo .btn-ghost { color: #fff; border-color: rgba(255,255,255,.85); background: rgba(8,16,30,.35); }
.sec-photo .btn-ghost:hover { background: #fff; color: var(--ink); }
.svc-grid.svc-cards { gap: 18px; border: 0; }
.svc-cards .svc { border: 0; border-radius: var(--r); background: rgba(255,255,255,.95); box-shadow: 0 18px 40px -22px rgba(0,0,0,.6); transition: transform .15s ease, box-shadow .15s ease; }
.svc-cards .svc:hover { background: #fff; transform: translateY(-2px); box-shadow: 0 24px 46px -22px rgba(0,0,0,.7); }
@media (prefers-reduced-motion: reduce) { .svc-cards .svc { transition: none; } .svc-cards .svc:hover { transform: none; } }

/* client reviews: same pattern as the guides list (placeholder text until genuine reviews are connected) */
.review-list li { padding: 18px 0; border-top: 1px solid var(--line); }
.review-list figure { margin: 0; }
.review-list blockquote { margin: 0; }
.review-list .rv-by { display: block; margin-top: 6px; font-size: .85rem; font-weight: 600; color: var(--ink); }
/* parallax: background photos move slower than the page (script in site.js; off for reduced motion) */
.sec-photo .sec-bg { left: 0; right: 0; top: -15%; bottom: auto; height: 130%; }
.js-parallax { will-change: transform; }
/* key dates card matches the height of the headline column beside it */
@media (min-width: 961px) {
  .hero-night .hero-in { align-items: stretch; }
  .hero-night .hero-card { display: flex; }
  .kd { display: flex; flex-direction: column; width: 100%; padding: 30px 32px 22px; }
  .kd-track { flex: 1 1 auto; align-items: stretch; }
  .kd-slide { display: flex; flex-direction: column; justify-content: center; min-height: 0; }
  .kd-when time { font-size: clamp(2.4rem, 3.6vw, 3.4rem); }
  .kd-slide h3 { font-size: 1.45rem; }
  .kd-slide p { font-size: 1.05rem; }
}
.kd > .ip { align-self: flex-start; }
.kd-slide .kd-when { color: var(--ink); }
@media (max-width: 960px) { .kd-slide { min-height: 0; } }

/* closing call to action over the aerial view of the Thames at dusk */
.closing-media { position: absolute; left: 0; right: 0; top: 0; height: 780px; overflow: hidden; z-index: 0; pointer-events: none; }
.closing-bg { position: absolute; left: 0; top: -12%; width: 100%; height: 124%; object-fit: cover; object-position: center 45%; }
.closing-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,45,58,.64) 0%, rgba(27,45,58,.78) 45%, rgba(27,45,58,.94) 78%, #1B2D3A 100%); }
.closing > .wrap { position: relative; z-index: 1; }
.sec-photo::before { z-index: 1; }
.sec-photo .wrap { z-index: 2; }

/* Laurelin Labs mark at the top of every information point */
.drawer-brand { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 6px 12px 6px 8px; border-radius: var(--r); background: var(--hl-soft); border: 1px solid #D5DDC9; }
.drawer-brand img { width: 18px; height: 24px; }
.drawer-brand > span { font: 500 .72rem/1.25 ui-monospace, Menlo, monospace; letter-spacing: .08em; text-transform: uppercase; color: var(--ll-forest); }
.drawer-brand strong { display: block; font-weight: 700; }
