/* Odyssey site stylesheet. Palette A. Light theme only. */

@font-face { font-family: "Montserrat"; font-weight: 600; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/montserrat-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 400; font-style: normal; font-display: swap; src: url("/assets/fonts/lato-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Lato"; font-weight: 700; font-style: normal; font-display: swap; src: url("/assets/fonts/lato-latin-700-normal.woff2") format("woff2"); }

:root {
  --navy: #233B75;
  --navy-dark: #1B2F5E;
  --accent: #F15A27;        /* decoration, borders, large headings only */
  --accent-strong: #C8420F; /* buttons and links: 4.95:1 with white, 4.7:1 on subtle */
  --sky: #9CD2EF;
  --surface: #FFFFFF;
  --surface-alt: #E0E5F0;
  --surface-subtle: #F8F9FB;
  --text: #403D53;

  --font-head: "Montserrat", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --measure: 70ch;
  --gutter: clamp(1rem, 4vw, 2rem);
  --radius: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font-body); font-size: 1.125rem; line-height: 1.65; color: var(--text); background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 700; }
h1 { font-size: clamp(2rem, 4.5vw + .5rem, 3.1rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 2.2vw + .8rem, 2.1rem); font-weight: 600; }
h3 { font-size: 1.3rem; font-weight: 600; }
p, ul, ol { margin: 0 0 1.1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: .45em; }
strong { font-weight: 700; color: var(--navy-dark); }

a { color: var(--accent-strong); text-underline-offset: .15em; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 3px; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

.container { width: 100%; max-width: 72rem; margin-inline: auto; padding-inline: var(--gutter); }
.container-narrow { max-width: calc(var(--measure) + 2 * var(--gutter)); margin-inline: auto; }
.container-narrow > *, .page-head .container > *, .hero-inner > * { max-width: var(--measure); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--surface); border-bottom: 1px solid var(--surface-alt); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.logo img { height: 3.2rem; width: auto; }
.nav-list { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-list li { margin: 0; }
.nav-list a:not(.btn) { color: var(--navy); font-family: var(--font-head); font-weight: 600; font-size: .95rem; text-decoration: none; padding: .4rem 0; border-bottom: 2px solid transparent; }
.nav-list a:not(.btn):hover, .nav-list a[aria-current="page"] { border-bottom-color: var(--accent); }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); color: var(--navy); font: 600 .95rem var(--font-head); padding: .5rem .9rem; border-radius: var(--radius); cursor: pointer; }

/* Buttons and CTA */
.btn { display: inline-block; background: var(--accent-strong); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; padding: .95rem 1.5rem; border: 2px solid var(--accent-strong); border-radius: var(--radius); cursor: pointer; }
.btn:hover { background: #A93509; border-color: #A93509; color: #fff; }
.btn-sm { padding: .6rem 1rem; font-size: .9rem; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin: 1.6rem 0 0; }
.cta-link { color: var(--navy); font-weight: 700; }
.cta-link:hover { color: var(--accent-strong); }

/* Page structure */
.hero { background: var(--surface-subtle); padding-block: clamp(3rem, 8vw, 6rem); border-bottom: 1px solid var(--surface-alt); }
.hero h1 { max-width: 20ch; }
.hero p:first-of-type { font-size: 1.3rem; }
.page-head { padding-block: clamp(2.5rem, 6vw, 4.5rem) 1rem; }
.page-head p { font-size: 1.2rem; }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-light { background: var(--surface-subtle); }
.section-white { background: var(--surface); }
.section h2::after { content: ""; display: block; width: 3rem; height: 4px; background: var(--accent); margin-top: .6rem; border-radius: 2px; }

/* How I work: step cards */
.section-step { padding-block: 1.25rem; }
.step-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--surface-alt); background: var(--surface); }
.step-main { background: var(--navy); color: #fff; padding: 2rem; }
.step-main h2 { color: #fff; }
.step-main h2::after { background: var(--sky); }
.step-main p { font-size: 1.2rem; margin: 0; }
.step-detail { padding: 2rem; }
.step-detail p:first-child { margin-bottom: .5em; font-family: var(--font-head); }
.step-detail ul { margin: 0; }

/* Accordion */
.qa { border-bottom: 1px solid var(--surface-alt); }
.qa summary { cursor: pointer; list-style: none; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--font-head); font-weight: 600; color: var(--navy); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; position: absolute; right: .25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; color: var(--accent-strong); }
.qa[open] summary::after { content: "\2212"; }
.qa-body { padding: 0 0 .6rem; }

/* Cards */
.cards { display: grid; gap: 1.5rem; margin-top: 2rem; }
.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--surface-alt); border-top: 4px solid var(--accent); border-radius: var(--radius); padding: 1.75rem; }
.section-white .card { background: var(--surface-subtle); }
.card h3 { margin-bottom: .8em; }
.card p:last-child { margin-bottom: 0; }
.row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: .25rem 1.5rem; padding: .9rem 0; border-top: 1px solid var(--surface-alt); }
.row p { margin: 0; }
.row-label strong { font-family: var(--font-head); font-size: .95rem; color: var(--navy); }

/* About */
.about-open { display: grid; grid-template-columns: minmax(0, 1fr) 18rem; gap: 2.5rem; align-items: start; }
.about-text > * { max-width: var(--measure); }
.photo { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--surface-alt); }
.photo-placeholder { aspect-ratio: 4 / 5; background: var(--surface-alt); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem; font-size: .9rem; color: var(--text); }

/* Audit page */
.steps-row { counter-reset: step; list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; max-width: none; }
.steps-row li { counter-increment: step; background: var(--surface); border: 1px solid var(--surface-alt); border-radius: var(--radius); padding: 1.25rem; margin: 0; }
.steps-row li::before { content: counter(step); display: flex; align-items: center; justify-content: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--navy); color: #fff; font: 700 1rem var(--font-head); margin-bottom: .8rem; }

/* Forms */
.form-panel { background: var(--surface); border: 1px solid var(--surface-alt); border-radius: var(--radius); padding: clamp(1.25rem, 4vw, 2.25rem); max-width: 40rem; }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 700; color: var(--navy-dark); margin-bottom: .35rem; }
.field input, .field textarea { width: 100%; font: inherit; color: var(--text); padding: .75rem .85rem; border: 2px solid #8C93A8; border-radius: 8px; background: #fff; }
.field input:focus, .field textarea:focus { border-color: var(--navy); outline: 3px solid var(--sky); outline-offset: 0; }
.opt { font-weight: 400; }
.err { display: none; color: #A32608; font-size: .95rem; margin-top: .3rem; }
.field input:user-invalid ~ .err { display: block; }
.field input:user-invalid { border-color: #A32608; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-note { font-size: .95rem; margin: 1rem 0 0; }
.booking iframe { width: 100%; min-height: 700px; border: 0; border-radius: var(--radius); background: var(--surface-subtle); }

/* Footer */
.site-footer { background: #121C3D; color: #fff; padding-block: 3rem 2rem; margin-top: 0; font-size: 1rem; }
.site-footer a { color: #fff; }
.site-footer a:hover { color: var(--sky); }
.site-footer strong { color: #fff; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2rem; }
.footer-grid p { margin: 0 0 .5rem; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.25); margin-top: 2rem; padding-top: 1.25rem; font-size: .9rem; }

/* Mobile */
@media (max-width: 62rem) {
  .cards-3 { grid-template-columns: 1fr; }
  .steps-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 52rem) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--surface-alt); display: none; padding: 1rem var(--gutter) 1.5rem; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-list a:not(.btn) { display: block; padding: .8rem 0; font-size: 1.05rem; }
  .nav-list .btn { display: block; text-align: center; margin-top: .75rem; }
  .step-card { grid-template-columns: 1fr; }
  .about-open { grid-template-columns: 1fr; }
  .photo, .photo-placeholder { max-width: 16rem; }
  .row { grid-template-columns: 1fr; }
}
@media (max-width: 34rem) {
  .steps-row { grid-template-columns: 1fr; }
  .btn { width: 100%; text-align: center; }
  .cta-link { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

/* Cookie consent */
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: #fff; text-decoration: underline; cursor: pointer; }
.link-btn:hover { color: var(--sky); }
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: var(--surface); border-top: 4px solid var(--navy); box-shadow: 0 -4px 20px rgba(27,47,94,.18); padding: 1.25rem var(--gutter); }
.consent-inner { max-width: 72rem; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; }
.consent p { margin: 0; flex: 1 1 24rem; font-size: 1rem; }
.consent-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.btn-outline { background: var(--surface); color: var(--accent-strong); }
.btn-outline:hover { background: var(--surface-subtle); color: #A93509; }

/* Articles and Insights */
.article { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.article h2 { margin-top: 2.2em; }
.article h2::after { content: ""; display: block; width: 3rem; height: 4px; background: var(--accent); margin-top: .5rem; border-radius: 2px; }
.insight-list { list-style: none; padding: 0; }
.insight-list li { border-top: 1px solid var(--surface-alt); padding: 1.5rem 0; margin: 0; }
.insight-list h2 { font-size: 1.4rem; margin-bottom: .4em; }
.insight-list h2 a { color: var(--navy); }
.insight-list p { margin: 0; }

/* Collapse the menu earlier so six links never wrap */
@media (max-width: 70rem) {
  .nav-toggle { display: inline-block; }
  .site-nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--surface-alt); display: none; padding: 1rem var(--gutter) 1.5rem; }
  .site-nav.is-open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; gap: .25rem; }
  .nav-list a:not(.btn) { display: block; padding: .8rem 0; font-size: 1.05rem; }
  .nav-list .btn { display: block; text-align: center; margin-top: .75rem; }
}

/* ===== Visual pass: the eye motif and structured home sections ===== */
.eye { display: block; width: 100%; height: auto; }

/* Hero */
.hero { background: var(--navy-dark); color: #fff; border-bottom: 0; padding-block: clamp(3rem, 8vw, 6.5rem); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.hero h1 { color: #fff; max-width: 15ch; font-size: clamp(2.3rem, 5.2vw + .4rem, 4rem); line-height: 1.08; letter-spacing: -.02em; }
.hero p:first-of-type { font-size: 1.3rem; color: #E0E5F0; }
.hero .eye { max-width: 26rem; justify-self: end; }
.hero .btn, .section-cta .btn { background: #fff; color: var(--navy-dark); border-color: #fff; }
.hero .btn:hover, .section-cta .btn:hover { background: var(--sky); border-color: var(--sky); color: var(--navy-dark); }
.hero .cta-link, .section-cta .cta-link { color: #fff; }
.hero .cta-link:hover, .section-cta .cta-link:hover { color: var(--sky); }
.hero :focus-visible, .section-cta :focus-visible { outline-color: #fff; }

/* Closing call-to-action band */
.section-cta { background: var(--navy-dark); color: #fff; }
.section-cta h2 { color: #fff; }
.section-cta h2::after { background: var(--accent); }
.section-cta a:not(.btn) { color: #fff; }
.cta-band { display: grid; grid-template-columns: minmax(0, 1fr) 11rem; gap: 2rem; align-items: center; }
.cta-text > * { max-width: var(--measure); }
.cta-band .eye { opacity: .95; }

/* Lead panels: bold lead-in paragraphs become panels */
.section .container > :not(.lead-grid):not(.cards):not(.more) { max-width: var(--measure); }
.lead-grid { display: grid; gap: 1.5rem; margin: 1.75rem 0; max-width: none; }
.lead-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lead-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lead { background: var(--surface); border: 1px solid var(--surface-alt); border-radius: var(--radius); padding: 1.6rem; }
.section-white .lead { background: var(--surface-subtle); }
.lead p { margin: 0; }
.lead > p > strong { display: block; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.3; color: var(--navy); margin-bottom: .5rem; }
.lead > p > strong a { color: inherit; text-decoration-thickness: 2px; text-decoration-color: var(--accent); }
.lead-cards .lead { border-top: 4px solid var(--accent); transition: transform .15s ease; }
.lead-cards .lead:hover { transform: translateY(-2px); }

/* Gather, Analyse, Build: a real sequence, so numbered */
.section-process .lead-steps { counter-reset: step; }
.section-process .lead { counter-increment: step; position: relative; padding-top: 3.6rem; }
.section-process .lead::before { content: counter(step); position: absolute; top: 1.1rem; left: 1.6rem; width: 2rem; height: 2rem; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 1rem var(--font-head); }
.section-process .lead:nth-child(2)::before { background: var(--accent-strong); }
.section-process .lead:nth-child(3)::before { background: var(--navy-dark); box-shadow: 0 0 0 4px var(--sky); }
.more { margin: 1.5rem 0 0; }

/* Quiet credentials band */
.section-quiet p:first-of-type { font-size: 1.3rem; line-height: 1.55; color: var(--navy-dark); }

@media (max-width: 62rem) {
  .lead-3 { grid-template-columns: 1fr; }
}
@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .eye { max-width: 11rem; justify-self: start; order: -1; }
  .lead-2 { grid-template-columns: 1fr; }
  .cta-band { grid-template-columns: 1fr; }
  .cta-band .eye { max-width: 8rem; }
}

/* ===== Editorial pass (inspired by paligan.com): bigger type, gradient navy, heading-left layout, hairlines ===== */

/* Gradient navy: darker navy to the brand navy */
.hero, .section-cta { background: linear-gradient(155deg, #0D1735 0%, #14234D 45%, #1B2F5E 100%); }

/* Hero: very large, tightly set headline; later lines hang in from the first */
.hero { padding-block: clamp(3.5rem, 9vw, 7.5rem); position: relative; }
.hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.hero h1 { max-width: 11.5em; font-size: clamp(2.5rem, 4.6vw + .3rem, 4.9rem); line-height: 1.04; letter-spacing: -.035em; padding-left: 1.1em; text-indent: -1.1em; margin-bottom: .5em;
  background: linear-gradient(180deg, #FFFFFF 35%, #B9DEF3 100%); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.hero p:first-of-type { max-width: 34rem; }

/* Hero artwork: abstract image with soft, faded edges */
.hero-art { width: 100%; max-width: 30rem; justify-self: end; aspect-ratio: 1; object-fit: cover; }
img.hero-art { aspect-ratio: auto; height: auto; max-width: 40rem; mix-blend-mode: screen; -webkit-mask-image: radial-gradient(farthest-side, #000 72%, transparent 100%); mask-image: radial-gradient(farthest-side, #000 72%, transparent 100%); }
.hero-art-placeholder { border-radius: 50%; filter: blur(22px);
  background: radial-gradient(circle at 32% 38%, rgba(156,210,239,.75), transparent 52%), radial-gradient(circle at 72% 66%, rgba(241,90,39,.55), transparent 48%), radial-gradient(circle at 60% 24%, rgba(61,95,170,.9), transparent 58%); }

/* Page headings on inner pages: larger and tighter */
.page-head h1 { font-size: clamp(2.4rem, 5vw + .3rem, 4.2rem); letter-spacing: -.03em; line-height: 1.05; max-width: 16ch; }
.page-head { padding-block: clamp(3rem, 7vw, 5.5rem) 1.5rem; }

/* Sections: heading on the left, content on the right */
.section:not(.section-cta):not(.section-step) > .container { display: grid; grid-template-columns: minmax(11rem, 1fr) minmax(0, 2.4fr); column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: 0; max-width: 76rem; }
.section:not(.section-cta):not(.section-step) > .container > h2 { grid-column: 1; grid-row: 1 / span 60; align-self: start; position: sticky; top: 6rem; margin: 0; font-size: clamp(1.4rem, 1.4vw + 1rem, 2rem); letter-spacing: -.02em; }
.section:not(.section-cta):not(.section-step) > .container > :not(h2) { grid-column: 2; max-width: none; }
.section:not(.section-cta):not(.section-step) > .container > p, .section:not(.section-cta):not(.section-step) > .container > ul, .section:not(.section-cta):not(.section-step) > .container > ol { max-width: var(--measure); }
.section h2::after { width: 2.5rem; height: 3px; }

/* Hairlines instead of boxes */
.lead { background: none !important; border: 0; border-top: 1px solid #C3CBE0; border-radius: 0; padding: 1.1rem 0 0; }
.lead:first-child { border-top: 2px solid var(--navy); }
.lead-cards .lead, .lead-cards .lead:first-child { border-top: 3px solid var(--accent); }
.card, .section-white .card { background: none; border: 0; border-top: 3px solid var(--accent); border-radius: 0; padding: 1.25rem 0 0; }
.cards { gap: 2.25rem; }
.section-process .lead { padding-top: 1.1rem; }
.section-process .lead::before { position: static; display: block; width: auto; height: auto; background: none !important; box-shadow: none !important; border-radius: 0; color: var(--accent-strong); content: counter(step, decimal-leading-zero); font: 700 1rem var(--font-head); margin-bottom: .6rem; place-items: initial; }
.section-process .lead:nth-child(n)::before { background: none; box-shadow: none; }

@media (max-width: 52rem) {
  .section:not(.section-cta):not(.section-step) > .container { display: block; }
  .section:not(.section-cta):not(.section-step) > .container > h2 { position: static; margin-bottom: .8em; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 14rem; justify-self: start; order: -1; }
  .hero h1 { padding-left: 0; text-indent: 0; }
}

@media (max-width: 52rem) {
  img.hero-art, .hero-art { order: 0; max-width: 17rem; justify-self: center; margin-top: 1rem; }
}

/* Hero artwork, larger and more blended into the navy */
.hero { position: relative; overflow: hidden; }
.hero-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
.hero-grid > :not(.hero-art) { position: relative; z-index: 1; }
img.hero-art { position: absolute; z-index: 0; top: 50%; right: -12%; transform: translateY(-50%); width: min(78vw, 1150px); max-width: none; margin: 0; opacity: .55; pointer-events: none;
  -webkit-mask-image: radial-gradient(farthest-side, #000 45%, transparent 100%); mask-image: radial-gradient(farthest-side, #000 45%, transparent 100%); }
@media (max-width: 52rem) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  img.hero-art, .hero-art { position: absolute; z-index: 0; width: 140%; max-width: none; right: -45%; top: auto; bottom: -5%; transform: none; margin: 0; opacity: .4; order: 0; pointer-events: none; }
}
