/* ==========================================================================
   Harriet Robinson Virtual PA — shared styles
   --------------------------------------------------------------------------
   To change the colours or fonts across the whole website, edit the values
   in the "Brand settings" section directly below. Everything else picks
   them up automatically.
   ========================================================================== */

/* ---------- Fonts (stored locally in the fonts folder) ----------
   Cormorant Garamond and Jost, both under the SIL Open Font License 1.1
   (licence files: fonts/cormorant-garamond/OFL.txt and fonts/jost/OFL.txt).
   Each file is a variable font covering all the weights listed. "latin"
   covers English and Western European text; "latin-ext" adds accented
   letters used in other European languages (e.g. names typed into the form). */
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("../fonts/cormorant-garamond/cormorant-garamond-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/jost/jost-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 400 500; font-display: swap;
  src: url("../fonts/jost/jost-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Brand settings ---------- */
:root {
  /* Backgrounds */
  --ivory: #FBF8F3;        /* main page background */
  --cream: #F4EEE4;        /* alternate section background */
  --cream-deep: #ECE3D6;   /* panels and arches */

  /* Sage and grey-green (text and buttons) */
  --sage-900: #46513F;     /* headings */
  --sage-700: #5F6D58;     /* buttons, links */
  --sage-500: #8A9A82;     /* decorative lines, icons */
  --sage-300: #BCC6B4;
  --sage-100: #E4E9DF;
  --text: #4A5446;         /* body text */
  --muted: #646D60;        /* softer supporting text */

  /* Blush accents (decorative only — not used for text) */
  --blush: #E9CFC8;
  --blush-soft: #F6E8E3;
  --blush-deep: #C99B90;

  /* Lines */
  --line: #DDD5C8;

  /* Typography */
  --font-serif: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, system-ui, sans-serif;

  /* Layout */
  --container: 1120px;
  --gutter: 1.25rem;
  --radius: 6px;
  --shadow: 0 18px 40px -28px rgba(70, 81, 63, 0.45);
}

/* ---------- Base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--sage-900);
  line-height: 1.15;
  margin: 0 0 0.6em;
  letter-spacing: 0.005em;
}
h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 2.85rem); }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.7rem); }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--sage-700); }

p { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }

a { color: var(--sage-700); text-decoration-color: var(--blush-deep); text-underline-offset: 0.2em; }
a:hover { color: var(--sage-900); }
.email-link { overflow-wrap: anywhere; }

:focus-visible { outline: 2px solid var(--sage-700); outline-offset: 3px; border-radius: 2px; }

::selection { background: var(--blush); color: var(--sage-900); }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--sage-900); color: var(--ivory); padding: 0.6rem 1rem; border-radius: var(--radius);
}
.skip-link:focus { top: 1rem; color: var(--ivory); }

/* ---------- Small text styles ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75rem;
  font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.1rem; font-weight: 500;
}
.eyebrow::before { content: ""; width: 2.25rem; height: 1px; background: var(--blush-deep); }
.centre .eyebrow::after { content: ""; width: 2.25rem; height: 1px; background: var(--blush-deep); }

.lead { font-size: clamp(1.1rem, 1.6vw, 1.22rem); color: var(--muted); line-height: 1.8; }
.centre { text-align: center; }
.centre .lead { margin-left: auto; margin-right: auto; max-width: 640px; }

/* "To confirm" placeholders — easy to spot, search for TO CONFIRM to find them all */
.todo {
  background: var(--blush-soft);
  border: 1px dashed var(--blush-deep);
  border-radius: 4px;
  padding: 0.05em 0.4em;
  color: var(--sage-900);
  font-style: normal;
}
div.todo, p.todo { padding: 1rem 1.15rem; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-sans); font-size: 0.85rem; font-weight: 500;
  letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none;
  padding: 0.95rem 1.9rem; border-radius: 999px; border: 1px solid var(--sage-700);
  background: var(--sage-700); color: var(--ivory); cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.btn:hover { background: var(--sage-900); border-color: var(--sage-900); color: var(--ivory); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--sage-700); }
.btn-outline:hover { background: var(--blush-soft); color: var(--sage-900); border-color: var(--sage-900); }
.btn-small { padding: 0.6rem 1.3rem; font-size: 0.75rem; }
.btn-group { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.centre .btn-group { justify-content: center; }

.text-link {
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--blush-deep); padding-bottom: 0.2rem;
}

/* ---------- Header and navigation ---------- */
/* The header shows the logo large at the top of the page, then eases into a
   slimmer bar once you scroll. Heights are set here and in the mobile section. */
:root {
  --header-h: 156px;        /* header height at the top of the page */
  --header-compact: 108px;  /* header height after scrolling */
  --logo-h: 124px;          /* logo height at the top of the page */
  --logo-compact: 88px;     /* logo height after scrolling */
}
html { scroll-padding-top: calc(var(--header-compact) + 1rem); }
body { padding-top: var(--header-h); }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(251, 248, 243, 0.96);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.35s ease;
}
.site-header.is-compact { box-shadow: 0 10px 30px -24px rgba(70, 81, 63, 0.5); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  height: var(--header-h); transition: height 0.35s ease;
}
.site-header.is-compact .header-inner { height: var(--header-compact); }

.brand { display: flex; align-items: center; text-decoration: none; color: var(--sage-900); flex-shrink: 0; }
.brand-logo { display: none; height: var(--logo-h); width: auto; transition: height 0.35s ease; }
.site-header.is-compact .brand-logo { height: var(--logo-compact); }
.brand.has-logo .brand-logo { display: block; }
.brand.has-logo .brand-wordmark { display: none; }
.brand-wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-size: 1.65rem; font-weight: 500; letter-spacing: 0.02em; }
.brand-tag { font-size: 0.66rem; letter-spacing: 0.34em; text-transform: uppercase; color: var(--muted); margin-top: 0.4rem; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2.1rem; }
.site-nav a:not(.btn) {
  position: relative; text-decoration: none; color: var(--text);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.4rem 0;
}
.site-nav a:not(.btn)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: var(--blush-deep); transform: scaleX(0); transition: transform 0.3s ease;
}
.site-nav a:not(.btn):hover::after,
.site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--sage-900); }
.site-nav .btn[aria-current="page"] { background: var(--sage-900); color: var(--ivory); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 0.6rem; cursor: pointer; color: var(--sage-900);
}
.nav-toggle-bar { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 860px) {
  :root {
    --header-h: 120px;
    --header-compact: 86px;
    --logo-h: 100px;
    --logo-compact: 70px;
  }
  .brand-name { font-size: 1.4rem; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--ivory); border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; visibility: hidden;
    transition: max-height 0.35s ease, visibility 0.35s;
  }
  .site-nav.is-open { max-height: 420px; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.5rem var(--gutter) 1.5rem; }
  .site-nav li { border-bottom: 1px solid var(--line); }
  .site-nav li:last-child { border-bottom: 0; padding-top: 1.25rem; }
  .site-nav a:not(.btn) { display: block; padding: 1rem 0; font-size: 0.85rem; }
  .site-nav a:not(.btn)::after { display: none; }
  .site-nav a[aria-current="page"] { color: var(--sage-700); }
  .site-nav .btn { width: 100%; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section-cream { background: var(--cream); }
.section-header { margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }

/* Fine botanical divider: line — sprig — line */
.divider {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  max-width: 420px; margin: 0 auto; padding: 0 var(--gutter);
}
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.divider img { width: 92px; height: auto; opacity: 0.9; }
.section-divider { padding: 0.5rem 0; }
.divider-left { margin: 0 0 1.5rem; padding: 0; justify-content: flex-start; max-width: 200px; }
.divider-left::before { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6.5rem) 0 clamp(4rem, 9vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.hero h1 { margin-bottom: 0.45em; }
.hero .lead { max-width: 560px; }
.hero-note { margin-top: 1.75rem; font-size: 0.92rem; color: var(--muted); display: flex; align-items: center; gap: 0.6rem; }
.hero-note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--blush-deep); flex-shrink: 0; }

.hero-sprig { position: absolute; width: 380px; opacity: 0.35; pointer-events: none; }
.hero-sprig-top { top: -30px; right: -90px; transform: rotate(160deg); }
.hero-sprig-bottom { bottom: -70px; left: -150px; transform: rotate(-12deg); opacity: 0.25; }

/* Arch panel — echoes soft, elegant stationery */
.arch {
  position: relative; background: var(--cream-deep);
  border-radius: 999px 999px var(--radius) var(--radius);
  padding: clamp(4rem, 8vw, 5.5rem) 2rem clamp(2.5rem, 5vw, 3rem);
  text-align: center; aspect-ratio: 4 / 5; display: flex; flex-direction: column; justify-content: center; align-items: center;
  max-width: 420px; width: 100%; justify-self: center;
}
.arch::before {
  content: ""; position: absolute; inset: 14px;
  border: 1px solid rgba(201, 155, 144, 0.65);
  border-radius: 999px 999px 3px 3px; pointer-events: none;
}
.arch img.arch-sprig { width: 130px; margin: 0 auto 1.5rem; }
.arch-title { font-family: var(--font-serif); font-size: clamp(1.6rem, 2.6vw, 2rem); font-style: italic; color: var(--sage-900); line-height: 1.25; margin-bottom: 1.5rem; }
.arch-list { list-style: none; padding: 0; margin: 0; font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.arch-list li { padding: 0.55rem 0; }
.arch-list li + li { border-top: 1px solid rgba(201, 155, 144, 0.45); }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(3rem, 7vw, 5rem); background: var(--cream); text-align: center; }
.page-hero .lead { max-width: 640px; margin: 0 auto; }
.page-hero .hero-sprig-top { width: 300px; right: -80px; top: -40px; }
.page-hero .hero-sprig-bottom { width: 300px; left: -100px; bottom: -40px; }

/* ---------- Two-column text layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.split-top { align-items: start; }

/* ---------- Cards (services) ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.card {
  background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2.25rem 1.75rem; position: relative; transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.section-cream .card { background: var(--ivory); }
.card::after {
  content: ""; position: absolute; left: 1.75rem; right: 1.75rem; top: -1px; height: 2px;
  background: var(--blush); transform: scaleX(0.25); transform-origin: left; transition: transform 0.4s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-300); }
.card:hover::after { transform: scaleX(1); }
.card h3 { margin-bottom: 0.5em; }
.card p { font-size: 0.98rem; color: var(--muted); }

.icon {
  width: 52px; height: 52px; border-radius: 50%; background: var(--blush-soft);
  display: grid; place-items: center; color: var(--sage-700); margin-bottom: 1.5rem;
}
.icon svg { width: 24px; height: 24px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; counter-reset: step; list-style: none; padding: 0; margin: 0; }
.step { text-align: center; padding: 0 0.5rem; }
.step-number {
  font-family: var(--font-serif); font-size: 2.6rem; font-style: italic; color: var(--blush-deep);
  line-height: 1; display: block; margin-bottom: 0.75rem;
}
.step h3 { font-size: 1.5rem; }
.step p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Feature list with fine bullets ---------- */
.fine-list { list-style: none; padding: 0; margin: 1.25rem 0 0; }
.fine-list li { position: relative; padding: 0.55rem 0 0.55rem 1.9rem; border-bottom: 1px solid var(--line); }
.fine-list li:last-child { border-bottom: 0; }
.fine-list li::before {
  content: ""; position: absolute; left: 0; top: 1.25rem; width: 0.9rem; height: 1px; background: var(--blush-deep);
}

/* ---------- Service detail blocks (services page) ---------- */
.service-detail { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); padding: clamp(3rem, 6vw, 4.5rem) 0; border-bottom: 1px solid var(--line); }
.service-detail:first-of-type { padding-top: 0; }
.service-detail:last-of-type { border-bottom: 0; padding-bottom: 0; }
.service-detail .service-number { font-family: var(--font-serif); font-style: italic; color: var(--blush-deep); font-size: 1.3rem; display: block; margin-bottom: 0.5rem; }
.service-detail h4 { font-family: var(--font-sans); font-size: 0.78rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin: 0; }

/* ---------- Values (about page) ---------- */
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ivory); }
.value h3 { font-size: 1.5rem; display: flex; align-items: center; gap: 0.75rem; }
.value h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--blush); border: 1px solid var(--blush-deep); flex-shrink: 0; }
.value p { color: var(--muted); font-size: 0.98rem; }

/* Photo placeholder arch (about page) */
.photo-arch {
  aspect-ratio: 4 / 5; max-width: 400px; width: 100%; justify-self: center; overflow: hidden;
  border-radius: 999px 999px var(--radius) var(--radius); background: var(--cream-deep);
  display: grid; place-items: center; position: relative;
}
.photo-arch img.photo { width: 100%; height: 100%; object-fit: cover; }
.photo-arch .photo-placeholder { text-align: center; padding: 2rem; color: var(--muted); font-size: 0.9rem; }
.photo-arch .photo-placeholder img { width: 110px; margin: 0 auto 1rem; }

/* Portrait photo (about page): soft rounded corners with a fine offset blush frame */
.portrait {
  position: relative; margin: 0 18px 18px 0; justify-self: center;
  width: 100%; max-width: 420px;
}
.portrait::before {
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid rgba(201, 155, 144, 0.7); border-radius: 14px; background: var(--blush-soft);
}
.portrait img:not(.portrait-sprig) {
  position: relative; width: 100%; height: auto; aspect-ratio: 4 / 5;
  object-fit: cover; object-position: 43% 30%;
  border-radius: 14px; background: var(--cream-deep); box-shadow: var(--shadow);
}
.portrait-sprig { position: absolute; width: 120px; left: -44px; bottom: -26px; transform: rotate(-18deg); opacity: 0.9; }
@media (min-width: 861px) {
  .portrait { position: sticky; top: 120px; }
}
@media (max-width: 860px) {
  .portrait { max-width: min(340px, calc(100% - 18px)); }
  .portrait-sprig { width: 96px; left: -20px; bottom: -22px; }
}

/* ---------- Highlight band (worldwide / quote) ---------- */
.band {
  background: var(--sage-700); color: var(--ivory); position: relative; overflow: hidden;
}
.band h2, .band h3 { color: var(--ivory); }
.band h2 em { color: var(--blush); }
.band p { color: rgba(251, 248, 243, 0.88); }
.band .eyebrow { color: var(--blush); }
.band .eyebrow::before, .band .eyebrow::after { background: var(--blush); }
.band .btn { background: var(--ivory); color: var(--sage-900); border-color: var(--ivory); }
.band .btn:hover { background: var(--blush-soft); border-color: var(--blush-soft); }
.band .btn-outline { background: transparent; color: var(--ivory); border-color: rgba(251, 248, 243, 0.6); }
.band .btn-outline:hover { background: rgba(251, 248, 243, 0.1); color: var(--ivory); }
.band .hero-sprig { opacity: 0.18; filter: brightness(2.2); }

/* ---------- CTA panel ---------- */
.cta-panel {
  background: var(--blush-soft); border-radius: var(--radius); padding: clamp(3rem, 7vw, 4.5rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-panel::before {
  content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201, 155, 144, 0.55); border-radius: 3px; pointer-events: none;
}
.cta-panel > * { position: relative; }
.cta-panel .lead { max-width: 560px; margin: 0 auto; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }

.form-card { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.75rem, 4vw, 3rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.35rem 1.25rem; }
.form-field { display: flex; flex-direction: column; }
.form-field.full { grid-column: 1 / -1; }

label, legend {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-900); margin-bottom: 0.5rem;
}
.optional { text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); font-size: 0.85rem; }
.hint { font-size: 0.85rem; color: var(--muted); margin: 0.4rem 0 0; line-height: 1.5; }

input[type="text"], input[type="email"], input[type="tel"], select, textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text);
  background: #FFFDF9; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 0.85rem 1rem; transition: border-color 0.2s ease, box-shadow 0.2s ease; appearance: none; -webkit-appearance: none;
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%235F6D58' stroke-width='1.3'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; background-size: 12px; padding-right: 2.5rem;
}
textarea { min-height: 170px; resize: vertical; line-height: 1.6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sage-500); box-shadow: 0 0 0 3px var(--sage-100); }
input:user-invalid, textarea:user-invalid { border-color: var(--blush-deep); box-shadow: 0 0 0 3px var(--blush-soft); }

fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem 1rem; margin-top: 0.25rem; }
.choice {
  display: flex; align-items: flex-start; gap: 0.7rem; padding: 0.75rem 0.9rem; border: 1px solid var(--line);
  border-radius: var(--radius); background: #FFFDF9; cursor: pointer; transition: border-color 0.2s ease, background-color 0.2s ease;
  text-transform: none; letter-spacing: 0; font-weight: 400; font-size: 0.97rem; color: var(--text); margin: 0; line-height: 1.45;
}
.choice:hover { border-color: var(--sage-300); }
.choice:has(input:checked) { border-color: var(--sage-500); background: var(--sage-100); }
.choice input { accent-color: var(--sage-700); width: 1.05rem; height: 1.05rem; margin: 0.15rem 0 0; flex-shrink: 0; }
.consent { border: 0; background: none; padding: 0; }
.consent:has(input:checked) { background: none; }

.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.75rem; }
.form-footer .hint { margin: 0; }
.form-status { margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--sage-100); color: var(--sage-900); font-size: 0.95rem; display: none; }
.form-status.is-visible { display: block; }
.honeypot { position: absolute; left: -9999px; }

.contact-aside { display: flex; flex-direction: column; gap: 1.5rem; }
.aside-block { padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.aside-block:last-child { border-bottom: 0; }
.aside-block h3 { font-size: 1.45rem; margin-bottom: 0.4em; }
.aside-block p { color: var(--muted); font-size: 0.98rem; }
.aside-block ol { padding-left: 1.2rem; margin: 0; color: var(--muted); font-size: 0.98rem; }
.aside-block ol li { padding: 0.25rem 0; }
.aside-block ol li::marker { color: var(--blush-deep); font-family: var(--font-serif); font-style: italic; }

/* ---------- Privacy policy / long text ---------- */
.prose h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-top: 2.5em; padding-top: 1.25em; border-top: 1px solid var(--line); }
.prose h2:first-of-type { margin-top: 1.5em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: 0.45em; }
.prose li::marker { color: var(--blush-deep); }
.prose table { width: 100%; border-collapse: collapse; margin: 1.25rem 0 1.5rem; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.8rem 0.9rem; border-bottom: 1px solid var(--line); }
.prose th { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage-900); background: var(--cream); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.notice {
  border-left: 2px solid var(--blush-deep); background: var(--blush-soft); padding: 1.25rem 1.5rem; border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.97rem; margin-bottom: 2rem;
}
.notice strong { color: var(--sage-900); font-weight: 500; }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); border-top: 1px solid var(--line); padding-top: clamp(3.5rem, 7vw, 5rem); font-size: 0.95rem; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 0.8fr 1fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-logo { width: 250px; height: auto; margin: 0 0 1.5rem; }
.footer-brand p { color: var(--muted); max-width: 320px; }
.site-footer h2 { font-family: var(--font-sans); font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage-900); font-weight: 500; margin-bottom: 1.1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { padding: 0.25rem 0; }
.footer-links a { text-decoration: none; color: var(--text); }
.footer-links a:hover { color: var(--sage-900); text-decoration: underline; text-decoration-color: var(--blush-deep); }
.footer-contact p { color: var(--muted); }
.footer-contact .btn { margin-top: 0.5rem; }
.footer-base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.5rem;
  padding-top: 1.5rem; padding-bottom: 1.75rem; border-top: 1px solid var(--line);
  font-size: 0.82rem; color: var(--muted);
}
.footer-base p { margin: 0; }

/* ---------- Gentle reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-grid, .split, .contact-grid, .service-detail { grid-template-columns: 1fr; }
  .hero { text-align: left; }
  .arch { max-width: 340px; aspect-ratio: auto; padding-top: 4.5rem; }
  .photo-arch { max-width: 320px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .hero-sprig { width: 260px; }
  .steps { grid-template-columns: 1fr; gap: 2.5rem; max-width: 440px; margin: 0 auto; }
}

@media (max-width: 600px) {
  body { font-size: 1rem; }
  .card-grid, .values, .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { width: 100%; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-base { flex-direction: column; }
  .footer-logo { width: 220px; }
  .form-footer { flex-direction: column; align-items: stretch; }
  .form-footer .btn { width: 100%; }
  .hero-sprig-top { right: -140px; }
  .prose th, .prose td { padding: 0.65rem 0.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .site-footer, .hero-sprig, .btn { display: none !important; }
  body { background: #fff; padding-top: 0; }
}
