/* Fourthright Communications */

@font-face { font-family: "Schibsted Grotesk"; src: url("../fonts/schibsted-grotesk.woff2") format("woff2"); font-weight: 400 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4.woff2") format("woff2"); font-weight: 400 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Source Serif 4"; src: url("../fonts/source-serif-4-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --ink: #15232d;
  --ink-soft: #4b5b65;
  --petrol: #0e4f5e;
  --petrol-dark: #0a3c48;
  --bay: #08303a;
  --mist: #edf2f1;
  --rule: #cfd9d8;
  --marigold: #e3a833;
  --sans: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--serif); font-size: 1.125rem; line-height: 1.68; color: var(--ink); background: #fff; font-optical-sizing: auto; }
img, svg { max-width: 100%; }
a { color: var(--petrol); text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--petrol-dark); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--sans); color: var(--ink); margin: 0 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.1rem); line-height: 1.03; letter-spacing: -.028em; font-weight: 760; }
h2 { font-size: clamp(1.75rem, 3vw, 2.45rem); line-height: 1.1; letter-spacing: -.02em; font-weight: 700; }
h3 { font-size: 1.28rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 650; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }
address { font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--rule); position: relative; z-index: 20; }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { font-family: var(--sans); text-decoration: none; color: var(--ink); font-size: 1.32rem; letter-spacing: -.02em; line-height: 1; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand-mark { flex: none; width: 30px; height: 30px; color: var(--petrol); }
.brand-mark-4 { stroke: var(--marigold); }
.brand-name { font-weight: 400; color: var(--petrol); }
.brand-name b { font-weight: 800; color: var(--ink); }
@media (max-width: 420px) { .brand { font-size: 1.12rem; gap: 9px; } .brand-mark { width: 26px; height: 26px; } }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) { display: block; padding: 10px 14px; font-family: var(--sans); font-size: .98rem; font-weight: 500; color: var(--ink); text-decoration: none; border-bottom: 2px solid transparent; }
.site-nav a:not(.btn):hover { color: var(--petrol); }
.site-nav a[aria-current="page"]:not(.btn) { color: var(--petrol); border-bottom-color: var(--petrol); }
.site-nav .nav-cta { margin-left: 14px; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--rule); }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: 8px var(--gutter) 22px; gap: 0; }
  .site-nav a:not(.btn) { padding: 13px 0; border-bottom: 1px solid var(--mist); }
  .site-nav a[aria-current="page"]:not(.btn) { border-bottom-color: var(--mist); }
  .site-nav .nav-cta { margin: 16px 0 0; }
  .site-nav .btn { display: block; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Buttons & links ---------- */
.btn { display: inline-block; font-family: var(--sans); font-size: 1rem; font-weight: 600; line-height: 1.2; padding: 15px 24px; border: 1px solid var(--petrol); border-radius: 3px; background: var(--petrol); color: #fff; text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s; }
.btn:hover { background: var(--petrol-dark); border-color: var(--petrol-dark); color: #fff; }
.btn--small { padding: 11px 18px; font-size: .95rem; }
.btn--inverse { background: #fff; border-color: #fff; color: var(--petrol-dark); }
.btn--inverse:hover { background: var(--mist); border-color: var(--mist); color: var(--petrol-dark); }
.btn--line { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--line:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn[disabled] { opacity: .65; cursor: progress; }
.text-link { font-family: var(--sans); font-weight: 600; font-size: 1rem; }

/* ---------- Home: hero ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 80px); align-items: center; }
.hero h1 { max-width: 13ch; margin-bottom: .45em; }
.hero-lead { font-size: clamp(1.2rem, 1.8vw, 1.4rem); line-height: 1.55; color: var(--ink-soft); max-width: 34ch; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.band { padding: clamp(64px, 9vw, 112px) 0; }
.band--mist { background: var(--mist); }
.band--bay { background: var(--bay); color: #c9d8da; }
.band--bay h2, .band--bay h3 { color: #fff; }

/* Side-heading layout: heading in a narrow column, text beside it */
.side { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px clamp(40px, 6vw, 96px); }
.side > h2 { margin: 0; }
.side-body { max-width: 66ch; }
.side-body > p:first-child { font-size: 1.22rem; line-height: 1.6; color: var(--ink); }
@media (max-width: 860px) { .side { grid-template-columns: 1fr; } }

/* Figure lists (local SEO) */
.figures { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 56px); }
.figures li { padding: 26px 0 30px; }
.figure-num { display: block; font-family: var(--sans); font-weight: 700; line-height: 1; letter-spacing: -.03em; margin-bottom: 12px; }
.figures p { font-size: 1.02rem; line-height: 1.55; margin: 0; max-width: 34ch; }
.figures--light li { border-top: 1px solid var(--rule); }
.figures--light .figure-num { color: var(--petrol); font-size: clamp(2rem, 3vw, 2.5rem); }
.figures--light p { color: var(--ink-soft); }
.side-body .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 40px; }
@media (max-width: 900px) { .figures { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .figures, .side-body .figures { grid-template-columns: 1fr; } }

/* Hero facts */
.hero-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin: 52px 0 0; max-width: 560px; }
.hero-facts div { border-top: 1px solid var(--rule); padding-top: 14px; }
.hero-facts dt { font-family: var(--sans); font-weight: 700; font-size: 1.05rem; color: var(--ink); }
.hero-facts dd { margin: 4px 0 0; font-size: .98rem; line-height: 1.45; color: var(--ink-soft); }
@media (max-width: 520px) { .hero-facts { grid-template-columns: 1fr; gap: 16px; margin-top: 40px; } }

/* Section intro: heading left, summary right */
.section-head { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 14px clamp(40px, 6vw, 96px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { margin: 0; }
.section-head p { margin: 0; font-size: 1.15rem; line-height: 1.55; color: var(--ink-soft); max-width: 52ch; }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* What we do: ruled grid of services */
.offer-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.offer { display: flex; flex-direction: column; background: #fff; padding: 32px 30px 28px; text-decoration: none; color: var(--ink); transition: background-color .15s; }
.offer:hover { background: #f7faf9; color: var(--ink); text-decoration: none; }
.offer h3 { font-size: 1.25rem; margin-bottom: .55em; }
.offer p { font-size: 1.02rem; line-height: 1.6; color: var(--ink-soft); margin: 0 0 24px; }
.offer-more { margin-top: auto; font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--petrol); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.offer:hover .offer-more { text-decoration-thickness: 2px; }
@media (max-width: 960px) { .offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .offer-grid { grid-template-columns: 1fr; } }

/* Photography */
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; border-radius: 6px; background: var(--mist); }
.photo figcaption { margin-top: 12px; font-size: .95rem; font-style: italic; color: var(--ink-soft); }
.photo--4x3 img { aspect-ratio: 4 / 3; object-fit: cover; }
.photo--wide { margin-bottom: clamp(48px, 6vw, 72px); }
.photo--wide img { aspect-ratio: 21 / 9; object-fit: cover; }
@media (max-width: 600px) { .photo--wide img { aspect-ratio: 4 / 3; } }

/* The four rights */
.rights { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px clamp(40px, 6vw, 88px); align-items: center; }
.rights-diagram { margin: 0; background: var(--mist); border-radius: 6px; padding: clamp(16px, 3vw, 36px); }
.rights-diagram svg { display: block; width: 100%; height: auto; font-family: var(--sans); }
.rd-n { fill: var(--ink-soft); font-size: 17px; font-weight: 500; }
.rd-l { fill: var(--ink); font-size: 26px; font-weight: 700; letter-spacing: -.01em; }
.rights-list { list-style: none; margin: 0; padding: 0; }
.rights-list li { display: grid; grid-template-columns: 44px 1fr; gap: 20px; padding: 24px 0; border-top: 1px solid var(--rule); }
.rights-list li:last-child { border-bottom: 1px solid var(--rule); }
.rights-icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--petrol); color: #fff; }
.rights-icon svg { width: 22px; height: 22px; }
.rights-list li:nth-child(2) .rights-icon svg { transform: rotate(90deg); }
.rights-list li:nth-child(3) .rights-icon svg { transform: rotate(180deg); }
.rights-list li:nth-child(4) .rights-icon { background: var(--marigold); color: var(--ink); }
.rights-list li:nth-child(4) .rights-icon svg { transform: rotate(-90deg); }
.rights-list h3 { margin: 0 0 2px; }
.rights-sub { font-family: var(--sans); font-size: .95rem; font-weight: 600; color: var(--petrol); margin: 0 0 8px; }
.rights-list p:last-child { font-size: 1.02rem; line-height: 1.6; color: var(--ink-soft); }
@media (max-width: 900px) { .rights { grid-template-columns: 1fr; } .rights-diagram { max-width: 560px; } }

/* Icons (Lucide, ISC licence) */
.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.offer > .icon { width: 30px; height: 30px; stroke-width: 1.6; color: var(--petrol); margin-bottom: 18px; }
.hero-facts dt { display: flex; align-items: center; gap: 8px; }
.hero-facts dt .icon { width: 19px; height: 19px; color: var(--petrol); }
.service h2 .icon { display: block; width: 34px; height: 34px; stroke-width: 1.5; color: var(--petrol); margin-bottom: 16px; }
.industry-list li { display: flex; align-items: center; gap: 18px; }
.industry-list .icon { width: 30px; height: 30px; stroke-width: 1.5; color: var(--petrol); }
.contact-list { list-style: none; margin: 32px 0 0; padding: 24px 0 0; border-top: 1px solid var(--rule); }
.contact-list li { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; margin-bottom: 16px; line-height: 1.6; }
.contact-list .icon { width: 22px; height: 22px; color: var(--petrol); margin-top: 3px; }
.contact-list strong { font-family: var(--sans); font-weight: 650; display: block; }

/* Hero photo */
.hero-photo img { aspect-ratio: 4 / 5; object-fit: cover; border-radius: 6px; }
@media (max-width: 900px) { .hero-photo img { aspect-ratio: 4 / 3; object-position: 50% 35%; } }

/* Statistics: one hero figure, three themed groups with proportion bars */
.stats-lead { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; margin-bottom: clamp(56px, 7vw, 88px); }
.stats-lead h2 { max-width: 20ch; margin-bottom: 1.1em; }
.stats-hero { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.stats-hero-num { font-family: var(--sans); font-weight: 750; font-size: clamp(4.5rem, 10vw, 7.4rem); line-height: .9; letter-spacing: -.045em; color: #fff; }
.stats-hero p { margin: 0; max-width: 18ch; font-size: 1.28rem; line-height: 1.45; color: #d6e4e6; }
.photo--stats img { aspect-ratio: 1 / 1; object-fit: cover; }
.meter { position: relative; display: block; height: 8px; border-radius: 4px; background: #1d4f5b; overflow: hidden; }
.meter > span { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 4px; background: #8fc3cc; }
.meter > .meter-range { border-radius: 0 4px 4px 0; background: repeating-linear-gradient(135deg, #8fc3cc 0 3px, #1d4f5b 3px 6px); }
.meter--hero { height: 12px; border-radius: 6px; max-width: 520px; margin-top: 28px; }
.meter--hero > span { border-radius: 6px; }
.stats-groups { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px clamp(28px, 4vw, 56px); }
.stats-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin: 0; padding-bottom: 14px; border-bottom: 1px solid rgba(255, 255, 255, .2); }
.stats-group h3 .icon { width: 22px; height: 22px; color: #8fc3cc; }
.meters { list-style: none; margin: 0; padding: 0; }
.meters li { padding: 20px 0 4px; }
.meter-val { display: block; font-family: var(--sans); font-weight: 700; font-size: 1.7rem; line-height: 1; letter-spacing: -.02em; color: #fff; margin-bottom: 6px; }
.meter-text { display: block; font-size: .98rem; line-height: 1.5; color: #c9d8da; margin-bottom: 12px; }
.compare { padding: 20px 0 4px; }
.compare-title { font-family: var(--sans); font-weight: 600; font-size: 1rem; color: #fff; margin: 0 0 14px; }
.compare-row { display: grid; grid-template-columns: 1fr 4.2em; align-items: center; gap: 6px 12px; margin-bottom: 14px; }
.compare-label { grid-column: 1 / -1; font-size: .95rem; line-height: 1.4; color: #c9d8da; }
.compare-bar { position: relative; height: 22px; border-left: 1px solid rgba(255, 255, 255, .45); }
.compare-bar > span { position: absolute; top: 0; bottom: 0; left: 0; border-radius: 0 4px 4px 0; background: #8fc3cc; }
.compare-row--muted .compare-bar > span { background: #5f8f99; }
.compare-val { font-family: var(--sans); font-weight: 700; font-size: 1.15rem; color: #fff; }
.speed { list-style: none; margin: 10px 0 0; padding: 0; border-top: 1px solid rgba(255, 255, 255, .2); }
.speed li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding-top: 18px; }
.speed .icon { width: 22px; height: 22px; color: #8fc3cc; margin-top: 4px; }
.speed p { margin: 0; font-size: .98rem; line-height: 1.5; color: #c9d8da; }
.speed b { font-family: var(--sans); font-size: 1.2rem; color: #fff; margin-right: 4px; }
@media (max-width: 960px) { .stats-groups { grid-template-columns: 1fr 1fr; } .stats-group:last-child { grid-column: 1 / -1; } }
@media (max-width: 860px) { .stats-lead { grid-template-columns: 1fr; } .photo--stats img { aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .stats-groups { grid-template-columns: 1fr; } }

/* New + existing customers */
.grow { display: grid; grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 5vw, 72px); }
.photo--grow { margin-bottom: 24px; }
.photo--grow img { aspect-ratio: 3 / 2; object-fit: cover; }
.grow-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.2rem; margin: 0; padding-bottom: 12px; border-bottom: 2px solid var(--petrol); }
.grow-col h3 .icon { color: var(--petrol); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li { font-family: var(--sans); font-size: 1.02rem; padding: 12px 0; border-bottom: 1px solid var(--rule); }
@media (max-width: 760px) { .grow { grid-template-columns: 1fr; } }

/* Blog empty state with photo */
.empty-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px clamp(40px, 6vw, 96px); align-items: center; }
@media (max-width: 860px) { .empty-split { grid-template-columns: 1fr; } }

/* Text + illustration */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px clamp(40px, 6vw, 96px); align-items: center; }
.feature--flip { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature--flip .feature-text { order: 2; }
.feature-text { max-width: 62ch; }
.feature-text > p:first-of-type { font-size: 1.22rem; line-height: 1.6; }
@media (max-width: 900px) { .feature, .feature--flip { grid-template-columns: 1fr; } .feature--flip .feature-text { order: 0; } }

.photo--portrait img { aspect-ratio: 4 / 5; object-fit: cover; }
.figures--three { margin-top: clamp(48px, 6vw, 72px); }

/* Industries */
.side-note { color: var(--ink-soft); font-size: 1rem; line-height: 1.55; margin-top: 14px; max-width: 30ch; }
.industry-list { list-style: none; margin: 0; padding: 0; }
.industry-list li { font-family: var(--sans); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 650; letter-spacing: -.02em; line-height: 1.2; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.industry-list li:first-child { border-top: 1px solid var(--rule); }

.side-body .service-items { margin-top: 28px; }

/* Call to action */
.cta { background: var(--petrol); color: #d6e6e8; padding: clamp(56px, 7vw, 84px) 0; }
.cta .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta h2 { color: #fff; margin: 0 0 .3em; max-width: 24ch; }
.cta p { margin: 0; max-width: 50ch; }
.cta-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-mail { font-family: var(--sans); font-weight: 500; color: #fff; }
.cta-mail:hover { color: #fff; }

/* ---------- Inner pages ---------- */
.page-head { position: relative; overflow: hidden; background: var(--mist); border-bottom: 1px solid var(--rule); padding: clamp(52px, 7vw, 88px) 0 clamp(44px, 6vw, 72px); }
.page-head .wrap { position: relative; z-index: 1; }
.page-head:not(.page-head--photo)::after { content: ""; position: absolute; top: 50%; right: max(-70px, calc((100% - var(--wrap)) / 2 - 40px)); width: clamp(200px, 28vw, 360px); aspect-ratio: 1; transform: translateY(-50%); background: url("../images/mark.svg") center / contain no-repeat; opacity: .1; pointer-events: none; }
.page-head-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 36px clamp(40px, 6vw, 96px); align-items: center; }
.page-head--photo .photo img { aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 62%; }
@media (max-width: 860px) { .page-head-grid { grid-template-columns: 1fr; } .page-head:not(.page-head--photo)::after { opacity: .06; } }
.page-head h1 { margin-bottom: .3em; }
.page-head p { font-size: clamp(1.15rem, 1.7vw, 1.32rem); color: var(--ink-soft); max-width: 52ch; margin: 0; }

/* Services */
.service { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 20px clamp(40px, 6vw, 96px); padding: clamp(40px, 5vw, 60px) 0; border-top: 1px solid var(--rule); scroll-margin-top: 24px; }
.service:first-child { border-top: 0; padding-top: 0; }
.service h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 0; }
.service-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.service-items li { font-family: var(--sans); font-size: 1.05rem; font-weight: 500; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.service-items li:nth-child(-n+2) { border-top: 1px solid var(--rule); }
.service-intro { color: var(--ink-soft); margin-bottom: 18px; }
@media (max-width: 860px) { .service { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .service-items { grid-template-columns: 1fr; } .service-items li:nth-child(2) { border-top: 0; } }

/* Contact + quote */
.contact-layout { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); align-items: start; }
.contact-aside h2 { font-size: 1.5rem; }
.photo--aside { margin-bottom: 28px; }
.photo--aside img { aspect-ratio: 4 / 3; object-fit: cover; object-position: 50% 58%; }
.contact-aside p { color: var(--ink-soft); }
.contact-aside address { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--rule); line-height: 1.6; }
.contact-aside address strong { font-family: var(--sans); font-weight: 650; display: block; margin-bottom: 4px; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

/* Forms */
.form-panel { background: var(--mist); border-radius: 6px; padding: clamp(24px, 4vw, 44px); }
.fr-form { font-family: var(--sans); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: .95rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.form-row label .opt { font-weight: 400; color: var(--ink-soft); }
.fr-form input:not([type=checkbox]):not([type=radio]), .fr-form textarea { display: block; width: 100%; font: 400 1.02rem/1.4 var(--sans); color: var(--ink); background: #fff; border: 1px solid #b9c7c6; border-radius: 3px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s; }
.fr-form textarea { min-height: 150px; resize: vertical; }
.fr-form input::placeholder, .fr-form textarea::placeholder { color: #8a989f; }
.fr-form input:focus, .fr-form textarea:focus { outline: none; border-color: var(--petrol); box-shadow: 0 0 0 3px rgba(14, 79, 94, .18); }
.fr-form .is-invalid { border-color: #b3261e !important; box-shadow: 0 0 0 3px rgba(179, 38, 30, .12) !important; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 4px; }
.form-foot small { font-size: .9rem; color: var(--ink-soft); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { margin-top: 20px; font-size: 1rem; font-weight: 500; padding: 14px 16px; border-radius: 3px; }
.form-status:empty { display: none; }
.form-status.is-success { background: #e3f1ea; color: #145233; box-shadow: inset 4px 0 0 #2a8a5a; }
.form-status.is-error { background: #fbe9e7; color: #8c1d18; box-shadow: inset 4px 0 0 #b3261e; }

/* Long-form text */
.prose { max-width: 68ch; }
.prose h2 { font-size: 1.6rem; margin: 1.9em 0 .5em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.18rem; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.prose li { margin-bottom: .35em; }

/* Empty state */
.empty { max-width: 52ch; }
.empty h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.empty p { color: var(--ink-soft); margin-bottom: 1.6em; }
.empty .hero-actions { margin-top: 8px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bay); color: #a9c0c4; font-family: var(--sans); font-size: .98rem; line-height: 1.6; }
.footer-main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; padding-top: 64px; padding-bottom: 52px; }
.footer-brand .brand { color: #fff; font-size: 1.4rem; }
.footer-brand .brand-name { color: #8fc3cc; }
.footer-brand .brand-name b { color: #fff; }
.footer-brand .brand-mark { color: #8fc3cc; }
.footer-brand p { margin: 14px 0 0; max-width: 30ch; }
.site-footer h2 { font-size: 1rem; font-weight: 650; letter-spacing: 0; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a:not(.btn) { color: #d4e3e5; text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fff; text-decoration: underline; }
.site-footer address { margin-bottom: 12px; }
.footer-base { position: relative; padding-top: 22px; padding-bottom: 26px; font-size: .88rem; color: #87a3a8; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.footer-base::before { content: ""; position: absolute; top: 0; left: var(--gutter); right: var(--gutter); border-top: 1px solid rgba(255, 255, 255, .12); }
@media (max-width: 860px) { .footer-main { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Motion (only when html.motion is set; see <head> script) ---------- */
:root { --ease-out: cubic-bezier(.2, .7, .2, 1); }
.site-header { position: sticky; top: 0; transition: box-shadow .25s; }
.site-header.is-scrolled { box-shadow: 0 8px 24px -16px rgba(8, 48, 58, .45); }
.btn:active { transform: translateY(1px); }
.offer > .icon { transition: transform .25s var(--ease-out); }
.offer:hover > .icon { transform: translateY(-3px); }

/* Reveal on scroll: JS adds .rv to targets and .in when they enter the viewport */
.motion .rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease-out), transform .8s var(--ease-out); transition-delay: var(--d, 0s); }
.motion .rv.in { opacity: 1; transform: none; }

/* Photos ease out of a slight zoom */
.motion .photo { overflow: hidden; border-radius: 6px; }
.motion .photo img { transition: transform 1.6s var(--ease-out); }
.motion .photo:not(.in) img { transform: scale(1.08); }
.motion .photo--wide:not(.in) img { transform: none; }

/* Statistics: meters fill and figures count up */
.meter > span, .compare-bar > span { transform-origin: left center; transition: transform 1.3s var(--ease-out); }
.motion .stats-lead > div:not(.in) .meter--hero > span,
.motion .stats-group:not(.in) .meter > span,
.motion .stats-group:not(.in) .compare-bar > span { transform: scaleX(0); }
.meter--hero > span { transition-delay: .35s; }
.meters li:nth-child(1) .meter > span { transition-delay: .25s; }
.meters li:nth-child(2) .meter > span { transition-delay: .4s; }
.meters li:nth-child(3) .meter > span { transition-delay: .55s; }
.meters li:nth-child(4) .meter > span { transition-delay: .7s; }
.meter > .meter-range { transition-delay: 1s !important; }
.compare-row:nth-child(2) .compare-bar > span { transition-delay: .3s; }
.compare-row:nth-child(3) .compare-bar > span { transition-delay: .5s; }

/* Four rights: arrows draw in order, labels follow */
.motion .rights-diagram path { stroke-dasharray: 1 1; transition: stroke-dashoffset .7s ease-in-out; }
.motion .rights-diagram:not(.in) path { stroke-dashoffset: 1; }
.motion .rights-diagram text { transition: opacity .5s ease; }
.motion .rights-diagram:not(.in) text { opacity: 0; }

/* Home only: the logo mark draws itself once on load */
.motion .page-home .site-header .brand-mark path { stroke-dasharray: 1 1; animation: mark-draw .45s ease-out both; }
.motion .page-home .site-header .brand-mark g path:nth-child(1) { animation-delay: .15s; }
.motion .page-home .site-header .brand-mark g path:nth-child(2) { animation-delay: .35s; }
.motion .page-home .site-header .brand-mark g path:nth-child(3) { animation-delay: .55s; }
.motion .page-home .site-header .brand-mark .brand-mark-4 { animation-delay: .75s; }
@keyframes mark-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
