/* Painted Picture, Miles Hopwood
   Layout: alternating light "canvas" and night-blue bands, one photo framed as a stretched canvas,
   offers as three tabs with a shared detail panel. Palette kept from the May 2026 validation (bleu nuit). */
:root {
  --nuit: #0c1626;         /* main dark, text on light */
  --prusse: #1d3a5c;       /* secondary dark */
  --ceruleen: #5b8dbe;     /* single accent */
  --ceruleen-pale: #dbe7f3;
  --lac: #a8c3de;          /* accent on dark */
  --toile: #f1f4f7;        /* light background, cool canvas */
  --blanc: #ffffff;
  --gris: #4a5668;         /* secondary text on light */
  --gris-clair: #aab6c6;   /* secondary text on dark */
  --trait: #d6dee8;
  --f-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --f-body: "Source Sans 3", "Segoe UI", Arial, sans-serif;
  --radius: 4px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--toile); color: var(--nuit); font-family: var(--f-body); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; text-wrap: balance; }
h2 { font-family: var(--f-display); font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.02; letter-spacing: -.01em; }
p { margin: 0; }

.wrap { max-width: 1160px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--ceruleen); margin-bottom: 18px; }
.eyebrow-light { color: var(--lac); }
.lead { font-size: 1.25rem; line-height: 1.55; color: var(--nuit); max-width: 60ch; }
.lead-light { color: var(--toile); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s; font-family: inherit; }
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .offer:focus-visible, .nav-links a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--ceruleen); outline-offset: 3px; }
.btn-primary { background: var(--ceruleen); color: var(--blanc); }
.btn-primary:hover { background: var(--prusse); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: var(--blanc); }
.btn-ghost:hover { background: rgba(255,255,255,.08); }
.btn-block { width: 100%; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(12,22,38,.96); color: var(--blanc); backdrop-filter: blur(8px); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; }
.brand { text-decoration: none; display: grid; line-height: 1.1; }
.brand-name { font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gris-clair); font-weight: 600; }
.brand-sub { font-family: var(--f-display); font-size: 1.45rem; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links a { text-decoration: none; font-size: .95rem; color: var(--gris-clair); }
.nav-links a:hover { color: var(--blanc); }
.nav-links .nav-cta { color: var(--blanc); background: var(--ceruleen); padding: 10px 18px; border-radius: 999px; font-weight: 600; }
.nav-toggle { display: none; background: none; border: 1px solid rgba(255,255,255,.35); color: var(--blanc); border-radius: 999px; padding: 8px 16px; font: inherit; font-size: .9rem; cursor: pointer; }

/* Hero */
.hero { background: var(--nuit); color: var(--blanc); padding-block: 72px 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero h1 { font-family: var(--f-display); font-size: clamp(3.4rem, 9vw, 7.4rem); line-height: .9; letter-spacing: -.02em; font-weight: 600; }
.stroke { position: relative; display: inline-block; color: var(--lac); isolation: isolate; }
.stroke::after { content: ""; position: absolute; left: -2%; right: -4%; bottom: .02em; height: .22em; background: var(--ceruleen); opacity: .55; border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; transform: rotate(-1.5deg); z-index: -1; }
.hero-lede { margin-top: 34px; font-size: 1.35rem; line-height: 1.5; max-width: 34ch; }
.hero-sub { margin-top: 16px; color: var(--gris-clair); max-width: 56ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 12px; }

/* Photo as a stretched canvas: white edge, visible side (tranche), soft shadow */
.canvas { margin: 0; background: var(--blanc); padding: 12px 12px 0; box-shadow: 10px 12px 0 var(--prusse), 0 30px 60px rgba(0,0,0,.35); transform: rotate(1.2deg); color: var(--nuit); }
.canvas img { width: 100%; aspect-ratio: 602 / 640; object-fit: cover; }
.canvas figcaption { display: grid; gap: 2px; padding: 14px 4px 16px; }
.canvas figcaption strong { font-family: var(--f-display); font-size: 1.5rem; font-weight: 600; }
.canvas figcaption span { font-size: .92rem; color: var(--gris); }

/* Sections */
.section { padding-block: 104px; }
.section-white { background: var(--blanc); }
.section-dark { background: var(--nuit); color: var(--blanc); }
.two-col { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; }
.two-col-wide { grid-template-columns: 1fr 1fr; align-items: start; }
.two-col > * { min-width: 0; }
.prose { display: grid; gap: 22px; }
.prose blockquote { margin: 8px 0; padding-left: 24px; border-left: 3px solid var(--ceruleen); font-family: var(--f-display); font-size: clamp(1.6rem, 3vw, 2.1rem); line-height: 1.25; font-style: italic; }
.prose p { color: var(--gris); max-width: 62ch; }
.prose p.lead { color: var(--nuit); }
.aside { font-size: .9rem; border-top: 1px solid var(--trait); padding-top: 14px; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 48px; }
.section-head > div { max-width: 720px; }
.section-intro { max-width: 38ch; color: var(--gris); }

h2 + .lead, h2 + p { margin-top: 26px; }

/* Offers */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.offer { text-align: left; font: inherit; color: var(--nuit); background: var(--toile); border: 1px solid var(--trait); border-radius: var(--radius); padding: 28px 26px 30px; cursor: pointer; display: grid; gap: 10px; align-content: start; transition: background .2s, color .2s, transform .2s; }
.offer:hover { transform: translateY(-3px); }
.offer-num { font-family: var(--f-display); font-size: 2.4rem; line-height: 1; color: var(--ceruleen); }
.offer-kicker { font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gris); margin-top: 14px; }
.offer-title { font-family: var(--f-display); font-size: 1.75rem; line-height: 1.1; font-weight: 600; }
.offer-text { color: var(--gris); font-size: 1rem; }
.offer.is-active { background: var(--nuit); color: var(--blanc); border-color: var(--nuit); }
.offer.is-active .offer-kicker, .offer.is-active .offer-text { color: var(--gris-clair); }
.offer.is-active .offer-num { color: var(--lac); }
.offer-panel { margin-top: 14px; background: var(--ceruleen-pale); border-radius: var(--radius); padding: 32px; display: grid; grid-template-columns: 1fr 1.2fr; gap: 28px; align-items: center; }
.offer-panel-title { font-family: var(--f-display); font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.1; font-weight: 600; }
.points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.points li { background: var(--blanc); padding: 14px 16px 14px 40px; border-radius: var(--radius); position: relative; font-weight: 500; }
.points li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 12px; height: 7px; border-left: 2px solid var(--ceruleen); border-bottom: 2px solid var(--ceruleen); transform: translateY(-70%) rotate(-45deg); }

/* Testimonials */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.quote { margin: 0; display: grid; gap: 22px; align-content: start; }
.quote blockquote { margin: 0; font-family: var(--f-display); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.35; }
.quote figcaption { display: grid; gap: 2px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.18); }
.quote figcaption strong { font-weight: 600; }
.quote figcaption span { color: var(--gris-clair); font-size: .95rem; }

/* Fit */
.fit { display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.fit h3 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 20px; }
.fit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fit-yes { background: var(--blanc); border-radius: var(--radius); padding: 34px; }
.fit-yes h3 { color: var(--ceruleen); }
.fit-yes ul { grid-template-columns: 1fr 1fr; }
.fit-yes li { padding: 14px 16px; background: var(--toile); border-radius: var(--radius); font-weight: 500; }
.fit-no { border: 1px solid var(--trait); border-radius: var(--radius); padding: 34px; }
.fit-no h3 { color: var(--gris); }
.fit-no li { color: var(--gris); padding-bottom: 12px; border-bottom: 1px solid var(--trait); }
.fit-no li:last-child { border-bottom: 0; }
.statement { margin-top: 72px; text-align: center; font-family: var(--f-display); font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; font-weight: 600; }
.statement em { color: var(--ceruleen); }

/* Philosophy */
.philo { background: var(--prusse); color: var(--blanc); padding-block: 110px; }
.philo-line { font-family: var(--f-display); font-size: clamp(2.8rem, 7.5vw, 6rem); line-height: .95; font-weight: 600; letter-spacing: -.015em; }
.philo-line em { color: var(--lac); }
.philo-sub { margin-top: 30px; max-width: 46ch; color: var(--ceruleen-pale); font-size: 1.15rem; }

/* Painted Picture */
.facts { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; gap: 8px; }
.facts li { padding-left: 22px; position: relative; color: var(--gris); }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--ceruleen); }
.facts strong { color: var(--nuit); }
.note { margin-top: 14px; font-size: .9rem; color: var(--gris); max-width: 46ch; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.steps li { background: var(--blanc); border-top: 4px solid var(--ceruleen); border-radius: var(--radius); padding: 26px 24px 30px; min-height: 220px; display: grid; align-content: start; gap: 10px; }
.steps li:nth-child(2) { border-top-color: var(--prusse); }
.steps li:nth-child(3) { border-top-color: var(--lac); }
.steps li:nth-child(4) { border-top-color: var(--nuit); }
.step-n { font-size: .8rem; font-weight: 700; letter-spacing: .14em; color: var(--gris); }
.steps h3 { font-family: var(--f-display); font-size: 2.2rem; margin-top: 30px; }
.steps p { color: var(--gris); font-size: 1rem; }

/* Contact form */
.contact-meta { margin-top: 28px; color: var(--gris-clair); }
.form { background: var(--blanc); color: var(--nuit); border-radius: var(--radius); padding: 34px; display: grid; gap: 18px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.row > *, .field { min-width: 0; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: .95rem; }
.opt { font-weight: 400; color: var(--gris); font-size: .85rem; }
input, select, textarea { font: inherit; font-size: 1rem; color: var(--nuit); background: var(--toile); border: 1px solid var(--trait); border-radius: var(--radius); padding: 13px 14px; width: 100%; }
textarea { resize: vertical; }
input.invalid, textarea.invalid { border-color: #b3261e; }
.form-error { color: #b3261e; font-size: .95rem; }
.form-note { font-size: .85rem; color: var(--gris); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.footer { background: var(--nuit); color: var(--gris-clair); border-top: 1px solid rgba(255,255,255,.1); padding-block: 34px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: .9rem; }
.footer-inner > div { display: grid; gap: 4px; }
.footer .brand-name { color: var(--blanc); }
.footer-sub { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }

/* Insights (blog): narrow reading column, night-blue header band like the hero */
.wrap-narrow { max-width: 760px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.insight-head { background: var(--nuit); color: var(--blanc); padding-block: 72px 64px; }
.insight-head h1 { font-family: var(--f-display); font-size: clamp(2.4rem, 6vw, 4rem); line-height: 1.02; letter-spacing: -.01em; }
.insight-head .eyebrow a { text-decoration: none; }
.insight-lede { margin-top: 22px; font-size: 1.2rem; color: var(--toile); max-width: 60ch; }
.insight-meta { margin-top: 22px; color: var(--gris-clair); font-size: .95rem; }
.insight-body { padding-block: 64px 88px; font-size: 1.12rem; line-height: 1.75; }
.insight-body > * + * { margin-top: 1.1em; }
.insight-body h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); margin-top: 1.6em; }
.insight-body h3 { font-size: 1.25rem; margin-top: 1.4em; }
.insight-body ul, .insight-body ol { padding-left: 1.3em; }
.insight-body li + li { margin-top: .4em; }
.insight-body blockquote { margin-left: 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--ceruleen); font-family: var(--f-display); font-size: 1.6rem; line-height: 1.3; color: var(--prusse); }
.insight-body a:not(.btn) { color: var(--prusse); text-underline-offset: 3px; }
.insights-index { padding-block: 56px 88px; }
.insight-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.insight-card a { display: grid; gap: 8px; padding: 28px 30px; background: var(--blanc); border: 1px solid var(--trait); border-radius: var(--radius); text-decoration: none; transition: transform .2s, border-color .2s; }
.insight-card a:hover { transform: translateY(-2px); border-color: var(--ceruleen); }
.insight-card time { font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ceruleen); }
.insight-card h2 { font-size: clamp(1.6rem, 3.5vw, 2.1rem); line-height: 1.1; }
.nav-links a[aria-current="page"] { color: var(--blanc); }
.insight-card p { color: var(--gris); }
.insight-more { font-weight: 600; color: var(--prusse); font-size: .95rem; }
.insights-empty { font-size: 1.15rem; color: var(--gris); }
.insight-cta { margin-top: 56px; padding: 32px; background: var(--ceruleen-pale); border-radius: var(--radius); display: grid; gap: 14px; justify-items: start; }
.insight-cta .eyebrow { margin-bottom: 0; }
.insight-cta-text { font-family: var(--f-display); font-size: 1.6rem; line-height: 1.25; }
.insights-more { background: var(--blanc); padding-block: 64px; }
.footer-inner a { color: var(--blanc); }
.preview-banner { background: #b3261e; color: var(--blanc); text-align: center; padding: 10px 20px; font-weight: 600; font-size: .95rem; }

/* Responsive */
@media (max-width: 960px) {
  .nav-toggle { display: inline-block; }
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--nuit); flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(20px, env(safe-area-inset-right, 0px)) 18px max(20px, env(safe-area-inset-left, 0px)); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links .nav-cta { margin-top: 12px; text-align: center; }
  .hero-grid, .two-col, .two-col-wide, .quotes, .fit, .offer-panel { grid-template-columns: 1fr; }
  .canvas { max-width: 420px; }
  .offers { grid-template-columns: 1fr; }
  .section { padding-block: 76px; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .points, .fit-yes ul, .steps, .row { grid-template-columns: 1fr; }
  .form, .fit-yes, .fit-no, .offer-panel { padding: 24px; }
  .steps li { min-height: 0; }
  .steps h3 { margin-top: 12px; }
}
