/* ==========================================================================
   Avalon Digital Marketing - mock website stylesheet (v2, image-led)
   --------------------------------------------------------------------------
   Same section order as every Avalon mockup:
     1. Tokens        - the only block that changes per client
     2. Base          - resets, type, links, grain
     3. Layout        - containers, sections, split layouts
     4. Components    - nav, buttons, wordmark, figure, quote, stats, notes
     5. Page sections - hero, image bands, mood strip, cta
     6. Motion        - slow reveals, reduced-motion safe
     7. Responsive
   Readable twin: design-system.md. Mood source: visual-brief.md.
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
  /* Brand palette (tone-of-voice.md, confirmed by the Pinterest board and Canva brand board) */
  --sand:      #eae8df;
  --tan:       #b8a28e;
  --bark:      #76614f;
  --walnut:    #524133;
  --olive:     #5b5545;
  --charcoal:  #2e302b;
  --slate:     #23241f;   /* one step darker than charcoal, for page ground */
  --cream:     #f3f0e8;   /* highlight on dark, never pure white */

  /* Semantic roles */
  --bg:            var(--slate);
  --bg-warm:       var(--sand);
  --text:          var(--sand);
  --text-soft:     rgba(234, 232, 223, 0.72);
  --text-on-warm:  var(--charcoal);
  --text-on-warm-soft: var(--olive);
  --accent:        var(--tan);
  --rule:          rgba(234, 232, 223, 0.16);
  --rule-on-warm:  rgba(82, 65, 51, 0.22);

  /* Image treatment */
  --scrim-dark:  linear-gradient(180deg, rgba(35,36,31,0.25) 0%, rgba(35,36,31,0.55) 60%, rgba(35,36,31,0.92) 100%);
  --scrim-side:  linear-gradient(90deg, rgba(35,36,31,0.88) 0%, rgba(35,36,31,0.55) 45%, rgba(35,36,31,0.15) 100%);
  --warm-tint:   rgba(118, 97, 79, 0.28);   /* bark, laid over photos so they all sit in one temperature */
  --grain-opacity: 0.09;

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-support: "Bodoni Moda", "Playfair Display", Georgia, serif;   /* stand-in for Walbaum Italic */
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --fs-xs:  0.75rem;
  --fs-sm:  0.9375rem;
  --fs-md:  1.0625rem;
  --fs-lg:  1.3125rem;
  --fs-xl:  1.75rem;
  --fs-2xl: clamp(2.25rem, 4vw, 3.25rem);
  --fs-3xl: clamp(3rem, 7vw, 6rem);

  --lh-tight: 1.05;
  --lh-body:  1.7;
  --track-label: 0.22em;

  /* Spacing */
  --s-1: 0.25rem; --s-2: 0.5rem; --s-3: 1rem; --s-4: 1.5rem;
  --s-5: 2.5rem;  --s-6: 4.5rem; --s-7: 8rem;

  --radius: 0;
  --measure: 58ch;
  --container: 1240px;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: var(--lh-body);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

/* Film grain over everything. Pure CSS, no image request. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 50;
  opacity: var(--grain-opacity);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.9  0 0 0 0 0.88  0 0 0 0 0.82  0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: var(--lh-tight);
  letter-spacing: -0.005em;
  margin: 0 0 var(--s-4);
  color: inherit;
}
h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }

em, .it { font-family: var(--font-support); font-style: italic; font-weight: 400; }

p { margin: 0 0 var(--s-3); max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: inherit; text-decoration: none; border-bottom: 1px solid var(--accent); padding-bottom: 1px; transition: border-color 0.2s ease, color 0.2s ease; }
a:hover { color: var(--accent); }

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

.label {
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 var(--s-4);
}

.lede { font-size: var(--fs-lg); font-weight: 300; color: var(--text-soft); max-width: 44ch; }
.soft { color: var(--text-soft); }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: min(100% - var(--s-5) * 2, var(--container)); margin-inline: auto; }
.narrow { max-width: 42rem; }

.section { padding-block: var(--s-7); position: relative; }
.section-tight { padding-block: var(--s-5); }
.section-warm { background: var(--bg-warm); color: var(--text-on-warm); }
.section-warm .label { color: var(--bark); }
.section-warm .lede, .section-warm .soft { color: var(--text-on-warm-soft); }
.section-warm a { border-color: var(--bark); }
.section-warm a:hover { color: var(--bark); }

/* Sand sections carry a faint leaf-shadow image, like the board. */
.section-warm.shadowed::before {
  content: "";
  position: absolute; inset: 0;
  background: url("https://images.unsplash.com/photo-1616628254015-5b6ddfc8f116?auto=format&fit=crop&w=1800&q=60") center / cover no-repeat;
  opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
}
.section-warm.shadowed > * { position: relative; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-6); align-items: center; }
.split.text-first .copy { order: -1; }
.split .copy { max-width: 34rem; }
.split.offset .fig { margin-top: var(--s-6); }

.stack { display: grid; gap: var(--s-6); }
.rule { border: 0; border-top: 1px solid var(--rule); margin: var(--s-6) 0; }
.section-warm .rule { border-color: var(--rule-on-warm); }

/* 4. Components ------------------------------------------------------------ */

/* Wordmark, after the Canva brand board */
.wordmark { display: inline-block; text-align: center; border: 0; line-height: 1; }
.wordmark .name { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.85rem; letter-spacing: 0.16em; padding-left: 0.16em; }
.wordmark .sub { display: block; font-family: var(--font-support); font-style: italic; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.3rem; color: var(--accent); white-space: nowrap; } /* size set by wordmark.js to match the name's width */
.wordmark.large .name { font-size: clamp(3.4rem, 10vw, 8rem); letter-spacing: 0.18em; padding-left: 0.18em; }
.wordmark.large .sub { margin-top: 0.8rem; }

/* Nav */
/* Fixed to the top of the screen on every page, on a see-through, blurred band (Angela wanted it more transparent); the blur and a soft text shadow keep the links readable over any photo. */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(35, 36, 31, 0.55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
html { scroll-padding-top: 6rem; }
.site-header .wordmark { text-shadow: 0 1px 6px rgba(0, 0, 0, 0.5); }
.site-header .wordmark .sub { color: var(--sand); opacity: 0.85; }
.nav { display: flex; align-items: center; justify-content: space-between; padding-block: var(--s-3); }
.nav-links { display: flex; gap: var(--s-4); list-style: none; margin: 0; padding: 0; }
.nav-links li { margin: 0; }
.nav-links a { font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; border: 0; color: var(--cream); opacity: 1;  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }
.nav-links a:hover, .nav-links a[aria-current="page"] { opacity: 1; color: var(--accent); }

/* Buttons: quiet, text-led */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  font-weight: 400;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  padding: 1rem 1.75rem;
  border: 1px solid var(--sand);
  color: var(--sand);
  background: transparent;
  transition: background 0.25s ease, color 0.25s ease;
}
.btn:hover { background: var(--sand); color: var(--charcoal); }
.btn-solid { background: var(--sand); color: var(--charcoal); }
.btn-solid:hover { background: var(--accent); border-color: var(--accent); color: var(--charcoal); }
.section-warm .btn { border-color: var(--charcoal); color: var(--charcoal); }
.section-warm .btn:hover { background: var(--charcoal); color: var(--sand); }
.section-warm .btn-solid { background: var(--charcoal); color: var(--sand); }
.section-warm .btn-solid:hover { background: var(--walnut); border-color: var(--walnut); }
.btn-row { display: flex; gap: var(--s-3); flex-wrap: wrap; margin-top: var(--s-5); }
.text-link { font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; border-bottom: 1px solid var(--accent); }

/* Figures: every photo gets the same warm tint so the set feels shot together */
.fig { position: relative; overflow: hidden; background: var(--charcoal); }
.fig img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); filter: saturate(0.8) contrast(0.98); }
.fig::after { content: ""; position: absolute; inset: 0; background: var(--warm-tint); mix-blend-mode: multiply; pointer-events: none; }
.fig.tall { aspect-ratio: 4 / 5; }
.fig.wide { aspect-ratio: 16 / 10; }
.fig.square { aspect-ratio: 1; }
.fig figcaption { position: absolute; left: var(--s-3); bottom: var(--s-3); font-size: var(--fs-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--sand); opacity: 0.75; z-index: 1; }

/* Full-bleed image band with copy on top */
.band { position: relative; min-height: 80vh; display: grid; align-items: end; color: var(--sand); isolation: isolate; }
.band .bg { position: absolute; inset: 0; z-index: -2; }
.band .bg img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--scrim-dark); }
.band.side::before { background: var(--scrim-side); }
.band.side { align-items: center; }
.band.topped::before { background: linear-gradient(180deg, rgba(35,36,31,0.6) 0%, rgba(35,36,31,0) 28%), var(--scrim-side); }   /* keeps the nav readable over a bright sky */
.band.topped { min-height: 90vh; }
.band.topped .bg img { object-position: 67% 55%; }   /* about hero: Angela sits right of the copy */
.band .container { padding-block: var(--s-7); }
.band .copy { max-width: 40rem; }
.band .label { color: var(--accent); }

/* Quote */
.quote { margin: 0; font-family: var(--font-support); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 3vw, 2.5rem); line-height: 1.3; max-width: 30ch; }
.quote cite { display: block; margin-top: var(--s-4); font-family: var(--font-body); font-style: normal; font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-6); }
.stat { border-top: 1px solid var(--rule); padding-top: var(--s-3); }
.stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; margin-bottom: var(--s-2); }
.stat span { font-size: var(--fs-sm); color: var(--text-soft); }

/* Mood strip: a row of images that just sets tone */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s-2); }
.strip .fig { aspect-ratio: 3 / 4; }
.strip .fig:nth-child(2) { margin-top: var(--s-5); }
.strip .fig:nth-child(4) { margin-top: var(--s-4); }

/* Numbered list, editorial */
.list { list-style: none; padding: 0; margin: 0; }
.list li { display: grid; grid-template-columns: 4rem 1fr; gap: var(--s-4); padding: var(--s-5) 0; border-top: 1px solid var(--rule); margin: 0; }
.list li:last-child { border-bottom: 1px solid var(--rule); }
.section-warm .list li { border-color: var(--rule-on-warm); }
.list .n { font-family: var(--font-support); font-style: italic; font-size: var(--fs-xl); color: var(--accent); line-height: 1.2; }
.list h3 { margin-bottom: var(--s-2); }
.list p { color: var(--text-soft); }
.section-warm .list p { color: var(--text-on-warm-soft); }
.list .meta { display: flex; gap: var(--s-5); flex-wrap: wrap; margin-top: var(--s-3); font-size: var(--fs-sm); }
.list .meta span { display: block; font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.2rem; }

/* Review notes: only in mockups. Delete before anything goes live. */
.review-note { display: inline-block; font-size: var(--fs-xs); font-family: var(--font-body); font-weight: 400; letter-spacing: 0.04em; background: #f6e7b8; color: #5a4a00; border: 1px dashed #c9ad3d; padding: 0.25rem 0.6rem; margin-bottom: var(--s-3); position: relative; z-index: 2; }

/* Footer */
.site-footer { padding-block: var(--s-6) var(--s-5); border-top: 1px solid var(--rule); font-size: var(--fs-sm); color: var(--text-soft); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: var(--s-5); align-items: start; }
.site-footer h4 { font-family: var(--font-body); font-weight: 400; font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent); margin: 0 0 var(--s-3); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: var(--s-2); }
.site-footer a { border: 0; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { margin-top: var(--s-6); padding-top: var(--s-3); border-top: 1px solid var(--rule); font-size: var(--fs-xs); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-2); letter-spacing: 0.06em; }

/* 5. Page sections --------------------------------------------------------- */
.hero { min-height: 100vh; }
.hero .container { padding-block: var(--s-7) var(--s-6); }
.hero h1 { max-width: 12ch; margin-bottom: var(--s-4); }
.hero .lede { color: rgba(234,232,223,0.8); }

.cta { text-align: center; }
.cta h2 { max-width: 18ch; margin-inline: auto; }
.cta .lede { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

.intro-text { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.35; max-width: 32ch; }

/* 6. Motion ---------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.1s ease, transform 1.1s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* 7. Responsive ------------------------------------------------------------ */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: var(--s-5); }
  .split.text-first .copy { order: 0; }
  .split.offset .fig { margin-top: 0; }
  .strip { grid-template-columns: repeat(2, 1fr); }
  .strip .fig:nth-child(n) { margin-top: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .section { padding-block: var(--s-6); }
  .band { min-height: 70vh; }
}
@media (max-width: 640px) {
  /* Phones: the fixed header stays slim. Wordmark on top, small links that wrap to a second row only if they must. */
  .nav { flex-direction: column; gap: var(--s-2); align-items: flex-start; padding-block: var(--s-2); }
  .site-header .wordmark .name { font-size: 1.35rem; }
  .site-header .wordmark .sub { margin-top: 0.15rem; }
  .nav-links { flex-wrap: wrap; gap: 0.35rem 1.1rem; }
  .nav-links a { font-size: 0.66rem; letter-spacing: 0.08em; white-space: nowrap; line-height: 1.6; }
  .nav-links li { line-height: 1.6; }
  .stats, .footer-grid { grid-template-columns: 1fr; }
  .list li { grid-template-columns: 1fr; gap: var(--s-2); }
  .hero .container { padding-top: 7rem; }   /* slim phone header with the menu button */
  /* Portrait hero on a phone: photo stacked on top, fading into slate, copy below it */
  .band.topped { display: block; min-height: 0; }
  .band.topped::before { display: none; }
  .band.topped .bg { position: relative; height: 68vh; z-index: auto; }
  .band.topped .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,36,31,0.82) 0%, rgba(35,36,31,0.45) 30%, rgba(35,36,31,0) 48%, rgba(35,36,31,0) 70%, var(--slate) 100%); }
  .band.topped .bg img { object-position: 60% 20%; }
  .band.topped .container { padding-block: var(--s-4) var(--s-6); }
  .band .container { padding-block: var(--s-6); }
  .wordmark.large .name { letter-spacing: 0.12em; padding-left: 0.12em; }
}

/* Blog post cards */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-5); margin-top: var(--s-5); }
.posts:empty { display: none; }
.post { display: block; border: 0; color: inherit; }
.post .fig { margin-bottom: var(--s-3); }
.post-meta { display: flex; justify-content: space-between; gap: var(--s-3); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-2); }
.post h3 { font-size: var(--fs-lg); margin-bottom: var(--s-2); }
.post p { color: var(--text-soft); font-size: var(--fs-sm); }
.post:hover h3 { color: var(--accent); }
@media (max-width: 960px) { .posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .posts { grid-template-columns: 1fr; } }

/* Dash marker for un-numbered editorial lists */
.list .n.dash::before { content: ""; display: block; width: 1.5rem; height: 1px; background: var(--accent); margin-top: 0.9rem; }

/* 8. Contact form ---------------------------------------------------------- */
/* Native markup styled to the site; contact-form.js posts it to HubSpot's Forms API. */
.form { text-align: left; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4); }
.field { margin-bottom: var(--s-4); }
.field label {
  display: block;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--text-on-warm-soft);
  margin-bottom: var(--s-2);
}
.field .req { font-family: var(--font-support); font-style: italic; text-transform: none; letter-spacing: 0; font-size: var(--fs-sm); line-height: 0; opacity: 0.75; margin-left: 0.35em; } /* line-height 0: the larger italic must not make its label taller, or inputs in a row stop lining up */
.field input, .field textarea, .field select {
  display: block;
  width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-md);
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-on-warm);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--rule-on-warm);
  border-radius: 0;
  padding: 0.6rem 0;
  outline: none;
  transition: border-color 0.25s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { border-bottom-color: var(--charcoal); }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--sand) inset; -webkit-text-fill-color: var(--text-on-warm); }
.field textarea { resize: vertical; min-height: 7rem; }
/* Select styled like the inputs: underline only, a small chevron drawn in bark. */
.field select {
  -webkit-appearance: none; appearance: none; cursor: pointer; padding-right: 1.5rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--bark) 50%), linear-gradient(135deg, var(--bark) 50%, transparent 50%);
  background-position: calc(100% - 9px) 55%, calc(100% - 4px) 55%;
  background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field select:invalid { color: var(--text-on-warm-soft); }
.field select option { color: var(--charcoal); background: var(--sand); }
.form-group-label { font-family: var(--font-support); font-style: italic; font-size: var(--fs-lg); color: var(--bark); margin: var(--s-5) 0 var(--s-3); }
.check { position: relative; display: flex; gap: var(--s-3); align-items: flex-start; font-size: var(--fs-sm); line-height: 1.55; color: var(--text-on-warm-soft); margin: var(--s-4) 0; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check .box { flex: 0 0 auto; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; border: 1px solid var(--bark); position: relative; transition: border-color 0.2s ease; }
.check:hover .box { border-color: var(--charcoal); }
.check input:checked + .box::after { content: ""; position: absolute; inset: 3px; background: var(--charcoal); }
.check input:focus-visible + .box { outline: 2px solid var(--bark); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: var(--fs-xs); line-height: 1.6; color: var(--text-on-warm-soft); max-width: 52ch; margin: 0 0 var(--s-4); }
.form-actions { display: flex; gap: var(--s-4); align-items: center; flex-wrap: wrap; }
.form-actions .btn { cursor: pointer; }
.form-actions .btn:disabled { opacity: 0.5; cursor: wait; }
.form-status { font-size: var(--fs-sm); color: var(--text-on-warm-soft); }
.form-status.error { color: var(--walnut); }
.form-done { text-align: left; }
.form-done h3 { max-width: 22ch; }
.form-done p:not(.label) { color: var(--text-on-warm-soft); max-width: 44ch; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; gap: 0; } }

/* 9. FAQ -------------------------------------------------------------------- */
/* Five questions per page, native <details> so it works without script. Marked up as FAQPage JSON-LD in each page's head. */
.faq { margin-top: var(--s-5); border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-4); align-items: baseline;
  padding: var(--s-4) 0; font-family: var(--font-display); font-size: var(--fs-lg); line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 300; color: var(--accent); flex: 0 0 auto; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.faq details p { color: var(--text-soft); margin: 0 0 var(--s-4); }
.section-warm .faq { border-top-color: var(--rule-on-warm); }
.section-warm .faq details { border-bottom-color: var(--rule-on-warm); }
.section-warm .faq details p { color: var(--text-on-warm-soft); }

/* 10. Headings set on fixed lines ----------------------------------------- */
/* Each .line is its own line; on wider screens lines never wrap, even past the copy column. */
.h-lines { line-height: 1.18; }
.h-lines .line { display: block; }
@media (min-width: 700px) { .h-lines .line { white-space: nowrap; } }

/* 11. Room for the fixed header ------------------------------------------- */
/* Hero text starts below the fixed header on every screen size (taller header on phones). */
.band.hero .container { padding-top: max(var(--s-7), 7rem); }
@media (max-width: 640px) { .band.hero .container { padding-top: 7rem; } }   /* slim phone header with the menu button */

/* 12. Investment calculator (home) ------------------------------------------ */
.calc { margin-top: var(--s-5); border-top: 1px solid var(--rule); padding-top: var(--s-5); }
.calc-inputs { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); }
.calc .field label { color: var(--text-soft); }
.calc-money { display: flex; align-items: baseline; gap: 0.35rem; border-bottom: 1px solid var(--rule); }
.calc-money span { font-family: var(--font-display); font-size: var(--fs-xl); color: var(--accent); }
.calc-money input {
  width: 100%; background: transparent; border: 0; outline: none; color: var(--text);
  font-family: var(--font-display); font-size: var(--fs-xl); padding: 0.4rem 0;
}
.calc-money:focus-within { border-bottom-color: var(--accent); }
.calc-results { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-4); margin-top: var(--s-5); }
.calc-results .stat strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: var(--fs-2xl); line-height: 1.1; color: var(--cream); }
.calc-results .stat span { display: block; margin-top: var(--s-2); font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.calc-note { margin-top: var(--s-5); font-size: var(--fs-sm); color: var(--text-soft); max-width: 60ch; }
@media (max-width: 760px) { .calc-inputs, .calc-results { grid-template-columns: 1fr; } }
.calc-money input::placeholder { color: var(--text-soft); opacity: 0.5; }
.calc-note a { color: var(--accent); }

/* 13. Weekly email sign-up ------------------------------------------------- */
.nl-form { margin-top: var(--s-4); }
.nl-done { font-family: var(--font-support); font-style: italic; font-size: var(--fs-lg); color: var(--bark); margin-top: var(--s-4); }
.nl-footer .nl-row { display: flex; border-bottom: 1px solid var(--rule); max-width: 22rem; }
.nl-footer input { flex: 1; min-width: 0; background: transparent; border: 0; outline: none; color: var(--text); font: inherit; padding: 0.5rem 0; }
.nl-footer input::placeholder { color: var(--text-soft); opacity: 0.6; }
.nl-footer button { background: none; border: 0; color: var(--accent); font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; cursor: pointer; padding: 0 0 0 var(--s-3); }
.nl-footer button:disabled { opacity: 0.5; cursor: wait; }
.nl-footer .nl-consent { font-size: var(--fs-xs); color: var(--text-soft); margin-top: var(--s-2); max-width: 22rem; }
.nl-footer .form-status { font-size: var(--fs-xs); }
.site-footer .nl-done { font-size: var(--fs-md); color: var(--accent); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 14. Blog post ------------------------------------------------------------- */
/* One readable column on the dark ground. Headings in Playfair, body in Inter at the site measure. */
.post-byline { font-size: var(--fs-xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-soft); margin-top: var(--s-4); }
.prose { max-width: var(--measure); margin-inline: auto; }
.prose p { line-height: var(--lh-body); }
.prose .lede { max-width: none; color: var(--text); margin-bottom: var(--s-4); }
.prose h2 { font-size: var(--fs-xl); margin: var(--s-6) 0 var(--s-3); }
.prose strong { font-weight: 400; color: var(--cream); }
.prose a { color: var(--accent); }
.prose .steps { margin: var(--s-4) 0; padding-left: 1.4rem; }
.prose .steps li { margin-bottom: var(--s-2); line-height: var(--lh-body); }
.prose .steps li::marker { font-family: var(--font-support); font-style: italic; color: var(--accent); }
.worked { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--s-4) 0; margin: var(--s-4) 0; }
.worked-label { font-size: var(--fs-xs); letter-spacing: var(--track-label); text-transform: uppercase; color: var(--accent); margin-bottom: var(--s-3); }
.worked dl { margin: 0; }
.worked dl div { display: flex; justify-content: space-between; gap: var(--s-3); padding: var(--s-2) 0; }
.worked dt { color: var(--text-soft); }
.worked dd { margin: 0; font-family: var(--font-display); font-size: var(--fs-lg); color: var(--cream); white-space: nowrap; }
@media (max-width: 640px) { .prose h2 { margin-top: var(--s-5); } }

/* 14. Home hero: brand shoot photo (Ang-09875, added 2026-11-14) ---------- */
/* A bright photo: copy sits left over the empty wall, Angela stays bright on the right. */
.home-hero { align-items: center; }
.home-hero .bg img { object-position: 70% 40%; filter: none; }
.home-hero::before { background:
  linear-gradient(180deg, rgba(35,36,31,0.55) 0%, rgba(35,36,31,0) 18%),
  linear-gradient(90deg, rgba(35,36,31,0.86) 0%, rgba(35,36,31,0.62) 34%, rgba(35,36,31,0.12) 58%, rgba(35,36,31,0) 75%); }
.home-hero .container > * { margin-left: 0 !important; margin-right: 0 !important; text-align: left !important; }
.home-hero .container > .wordmark { text-align: center !important; }   /* tagline stays as wide as AVALON (wordmark.js) */
.home-hero .wordmark.large .name { font-size: clamp(3.4rem, 7vw, 6.5rem); }
.home-hero h1 .line { display: block; }
@media (max-width: 760px) {
  /* Phones: photo on top, copy on slate below */
  .home-hero { display: block; min-height: 0; padding-top: 4.5rem; }   /* photo starts below the phone header */
  .home-hero::before { display: none; }
  .home-hero .bg { position: relative; height: 62vh; z-index: auto; }
  .home-hero .bg img { object-position: 74% 12%; }
  .home-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,36,31,0) 0%, rgba(35,36,31,0) 75%, var(--slate) 100%); }
  .home-hero .container { padding-block: var(--s-4) var(--s-6) !important; }
}

/* 15. Brand shoot photos (from 2026-11-14) -------------------------------- */
/* Real shoot photos keep the photographer's colour: no stock grade or warm tint. */
.fig.brand img { filter: none; }
.fig.brand::after { display: none; }
.fig.portrait { aspect-ratio: 2 / 3; margin: 0; }
.intro-split { grid-template-columns: 5fr 6fr; }
@media (max-width: 960px) {
  .intro-split { grid-template-columns: 1fr; }
  .intro-split .fig.portrait { aspect-ratio: 4 / 5; --pos: 50% 55%; }
}

/* About hero: Ang-09954 (added 2026-11-14). Angela sits centre frame, so the photo
   stands alone and bright, and the copy sits on slate beneath it, on every screen size. */
.band.topped.about-hero { display: block; min-height: 0; padding-top: 4.6rem; }   /* photo starts below the fixed header */
.band.topped.about-hero::before { display: none; }
.band.topped.about-hero { --topped-h: max(min(86vh, 62vw), 56vw); }   /* never shorter than 56vw, so wide, short screens don't crop the photo hard (Angela, 2026-11-16) */
.band.topped.about-hero .bg { position: relative; inset: auto; height: var(--topped-h); z-index: auto; }
.band.topped.about-hero .bg img { object-position: 50% 62%; filter: none; }
.band.topped.about-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,36,31,0) 82%, var(--slate) 100%); }
.band.topped.about-hero .container { padding-block: var(--s-6) var(--s-6) !important; }
@media (max-width: 640px) {
  .band.topped.about-hero { padding-top: 4.5rem; }
  .band.topped.about-hero .bg { height: 62vh; }
  .band.topped.about-hero .bg img { object-position: 50% 50%; }
}

/* About, Where it started: Sydney Harbour (IMG_7093, added 2026-11-14), photo right of the copy */
.started-split { grid-template-columns: 6fr 5fr; }
.started-split .fig.portrait { aspect-ratio: 3 / 4; }
@media (max-width: 960px) {
  .started-split { grid-template-columns: 1fr; }
  .started-split .fig.portrait { aspect-ratio: 4 / 5; --pos: 50% 45%; }
}

/* Home, How a month works: Ang-00010 (filming) large, Ang-09819 (analytics) overlapping its corner.
   Option 3 of three, chosen by Angela 2026-11-14. */
.month-split { grid-template-columns: 6fr 5fr; }
.month-collage { position: relative; padding-bottom: 22%; }
.month-collage .fig { margin: 0; }
.month-collage .big { aspect-ratio: 4 / 5; width: 82%; }
.month-collage .big img { object-position: 42% 50%; }
.month-collage .small { position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 3 / 2; outline: 10px solid var(--slate); }
@media (max-width: 960px) { .month-split { grid-template-columns: 1fr; } }

/* Intelligence system hero: Ang-09762 (added 2026-11-14). Bright photo, copy left over the wall,
   Angela walking on the right. Same treatment as the home hero; reusable for other bright heroes. */
.band.side.bright-hero::before { background:
  linear-gradient(180deg, rgba(35,36,31,0.55) 0%, rgba(35,36,31,0) 18%),
  linear-gradient(90deg, rgba(35,36,31,0.88) 0%, rgba(35,36,31,0.66) 36%, rgba(35,36,31,0.14) 58%, rgba(35,36,31,0) 72%); }
.bright-hero .bg img { object-position: 62% 100%; filter: none; }   /* Angela prefers the bottom of the photo (2026-11-16) */
.band.side.bright-hero { min-height: 100vh !important; }
.band.side.bright-hero .bg { top: 4.6rem; }   /* photo starts below the fixed header, so her head isn't under it */
@media (max-width: 760px) {
  .band.side.bright-hero { display: block; min-height: 0 !important; padding-top: 4.5rem; }
  .band.side.bright-hero::before { display: none; }
  .band.side.bright-hero .bg { position: relative; top: 0; height: 58vh; z-index: auto; }
  .bright-hero .bg img { object-position: 64% 100%; }
  .bright-hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,36,31,0) 75%, var(--slate) 100%); }
  .bright-hero .container { padding-block: var(--s-4) var(--s-6) !important; }
}

/* Blog hero: Ang-09878 (added 2026-11-14). Split hero: photo fills the left, copy on slate to the right.
   A landscape photo in a wide, short banner crops too hard, so the photo gets its own column. */
.hero-split { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); min-height: 78vh; padding-top: 4.6rem; align-items: stretch; }
.hero-split .fig { margin: 0; height: 100%; min-height: 26rem; }
.hero-split .fig img { object-position: 32% 45%; }
.hero-split .copy { align-self: center; box-sizing: border-box; min-width: 0; padding: var(--s-6) clamp(1.5rem, 5vw, 5rem); }
@media (min-width: 1101px) { .hero-split h1 { font-size: clamp(1.9rem, 2.6vw, 3rem) !important; } }   /* the two set lines always fit the column */
@media (max-width: 1100px) {
  /* Tablets and phones: photo on top, copy below, so the headline keeps its two set lines */
  .hero-split { grid-template-columns: 1fr; min-height: 0; }
  .hero-split .fig { height: 62vh; min-height: 0; }
  .hero-split .fig img { object-position: 35% 40%; }
  .hero-split .copy { padding: var(--s-5) max(40px, calc((100% - var(--container)) / 2)) var(--s-6); }
}
@media (max-width: 760px) {
  .hero-split { padding-top: 4.5rem; }
  .hero-split .fig { height: 58vh; }
  .hero-split .copy { padding: var(--s-4) 40px var(--s-6); }
}

/* Contact hero: Ang-09806 (chosen by Angela 2026-11-14, option 5 of five). Photo anchored top right at full
   brightness; the page's dark ground wraps its left and bottom edges like an L. The label sits in the strip beside
   the photo and the headline starts under it, so no fade goes over the photo. */
.contact-hero { padding-top: 4.6rem; padding-bottom: var(--s-6); }
.contact-hero .bg { width: 76vw; height: 68vh; margin-left: auto; }
.contact-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 35%; }
.contact-hero .copy { margin-top: -2.4rem; max-width: 52rem; }
.contact-hero .label { margin-bottom: 3rem; }
.contact-hero h1 { font-size: clamp(1.9rem, 3vw, 3.25rem); }
.contact-hero .lede { color: rgba(234,232,223,0.85); }
@media (max-width: 900px) {
  .contact-hero .bg { width: 100%; height: 60vh; }
  .contact-hero .copy { margin-top: 0; padding-top: var(--s-4); }
  .contact-hero .label { margin-bottom: var(--s-3); }
  .contact-hero h1 { font-size: var(--fs-2xl); }
}
@media (max-width: 640px) { .contact-hero { padding-top: 4.5rem; } }

/* Home, The Avalon email: Ang-09914 (feet up, laptop on her knees) beside the sign-up (2026-11-14) */
.weekly-split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); }
.weekly-split .fig { margin: 0; }
.weekly-split .fig img { object-position: 50% 40%; }
.weekly-split .copy { max-width: 36rem; }
@media (min-width: 961px) { .weekly-split h2 { font-size: clamp(1.6rem, 2.4vw, 2.25rem); } }   /* the longer set line is ~15.8em; keeps both lines whole in the column */
@media (max-width: 960px) {
  .weekly-split { grid-template-columns: 1fr; }
  .weekly-split .fig { aspect-ratio: 4 / 5; }
  .weekly-split .fig img { object-position: 50% 40%; }
}

/* Home, Let's talk: Ang-00151 (on the phone at the red telephone box), right of the form (2026-11-14).
   The form is long, so the photo stays in view beside it while the visitor fills it in. */
.talk-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: start; }
.talk-split .fig { margin: 0; aspect-ratio: 2 / 3; position: sticky; top: 6rem; }
.talk-split .fig img { object-position: 45% 40%; }
@media (max-width: 960px) {
  .talk-split { grid-template-columns: 1fr; }
  .talk-split .fig { order: -1; position: static; aspect-ratio: 4 / 5; }
}

/* How it works hero: Ang-09979 (2026-11-14). The left of the photo is clean white wall, so the copy sits
   straight on it in dark slate: no fade over the photo. Phones stack the copy below on slate. */
.wall-hero { position: relative; min-height: 88vh; padding-top: 4.6rem; display: grid; align-items: center; isolation: isolate; }
.wall-hero .bg { position: absolute; top: 4.6rem; right: 0; bottom: 0; left: 0; z-index: -1; }
.wall-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.wall-hero .copy { max-width: min(46vw, 40rem); padding-block: var(--s-6); }
.wall-hero .label { color: var(--bark); }
.wall-hero h1 { color: var(--charcoal); font-size: clamp(2rem, 3.4vw, 3.6rem) !important; }
.wall-hero .lede { color: #3d3f38; }
@media (max-width: 760px) {
  .wall-hero { display: block; min-height: 0; padding-top: 4.5rem; }
  .wall-hero .bg { position: relative; top: 0; height: 58vh; }
  .wall-hero .bg img { object-position: 74% 50%; }
  .wall-hero .copy { max-width: none; padding-block: var(--s-4) var(--s-6); }
  .wall-hero .label { color: var(--accent); }
  .wall-hero h1 { color: var(--cream); font-size: var(--fs-2xl) !important; }
  .wall-hero .lede { color: var(--text-soft); }
}

/* Tablet menu (2026-11-14). Between phone and laptop the full-size links (681px) ran out of room and wrapped
   inside themselves ("How it / works"). Here the menu tightens a step so it stays one row and the header stays slim. */
@media (min-width: 641px) and (max-width: 960px) {
  .site-header .wordmark .name { font-size: 1.35rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.66rem; letter-spacing: 0.08em; white-space: nowrap; }
}
@media (min-width: 641px) and (max-width: 720px) {
  .nav-links { gap: 0.7rem; }
  .nav-links a { font-size: 0.63rem; letter-spacing: 0.04em; }
}

/* About intro: "usually with a coffee in hand" photo (IMG_6829, converted from HEIC) right of "Hi, I'm Angela." (2026-11-14) */
.about-intro { display: block; }   /* coffee photo removed 2026-11-16; words sit below the hero photo */
.about-intro .fig { margin: 0; aspect-ratio: 4 / 5; }
@media (max-width: 960px) {
  .about-intro { grid-template-columns: 1fr; gap: var(--s-5); }
  .about-intro .fig { max-width: 22rem; }
}

/* Whole picture marketing (home): copy on solid dark left, brand photo to the right edge, no fade (Ang-00020) */
.whole-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 88vh; align-items: stretch; }
.whole-split .copy { align-self: center; box-sizing: border-box; min-width: 0; padding: var(--s-6) clamp(2rem, 4vw, 4.5rem) var(--s-6) max(40px, calc((100vw - var(--container)) / 2)); }
.whole-split .fig { margin: 0; height: 100%; min-height: 32rem; }
.whole-split .fig img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 50%; }
@media (min-width: 961px) { .whole-split h2 { font-size: clamp(1.7rem, 2.3vw, 2.6rem); } }
@media (max-width: 960px) {
  .whole-split { grid-template-columns: 1fr; min-height: 0; }
  .whole-split .fig { order: -1; height: 56vh; min-height: 0; }
  .whole-split .copy { padding: var(--s-5) 40px var(--s-6); }
}
@media (max-width: 640px) { .whole-split .copy { padding: var(--s-4) 24px var(--s-6); } }
/* Mirror of whole-split: photo left, copy right (Investment, home, Ang-09744) */
@media (min-width: 961px) {
  .whole-split.flip .copy { padding: var(--s-6) max(40px, calc((100vw - var(--container)) / 2)) var(--s-6) clamp(2rem, 4vw, 4.5rem); }
}

/* Home hero: Ange's trademark line, "I believe in you", as the closing beat under the h1 */
.home-hero .hero-belief { margin: 1.75rem auto 0; text-align: center; font-family: var(--font-display); font-style: italic; font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1.2; color: var(--cream); letter-spacing: 0.005em; }
/* Topped hero with nothing laid over the photo (Services, Ang-00010: notebook and book sit on the bottom edge) */
.band.topped.about-hero.no-fade .bg::after { display: none; }

/* Phone menu (menu.js): on phones the links fold into a three-line button at the top right.
   The header stays one slim row, and the links drop down as a full-width panel when opened. */
.menu-toggle { display: none; }
@media (max-width: 640px) {
  .nav { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s-3); padding-block: 0.85rem; }
  .menu-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; margin-right: -10px; padding: 0 10px;
    background: none; border: 0; cursor: pointer; -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle span { display: block; height: 1.5px; width: 100%; background: var(--cream); border-radius: 1px; transition: transform 0.25s ease, opacity 0.2s ease; box-shadow: 0 1px 4px rgba(0,0,0,0.35); }
  .menu-toggle:focus-visible { outline: 1px solid var(--accent); outline-offset: 2px; }
  .site-header.menu-open .menu-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .site-header.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
  .site-header.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .site-header nav { position: absolute; top: 100%; left: 0; right: 0; }
  .site-header .nav-links {
    display: none; flex-direction: column; gap: 0;
    padding: var(--s-2) 24px var(--s-4);
    background: var(--slate); border-bottom: 1px solid var(--rule);
  }
  .site-header.menu-open .nav-links { display: flex; }
  .site-header .nav-links li { border-top: 1px solid var(--rule); line-height: 1; }
  .site-header .nav-links li:first-child { border-top: 0; }
  .site-header .nav-links a { display: block; padding: 1.05rem 0; font-size: 0.78rem; letter-spacing: 0.16em; text-shadow: none; }
  .site-header.menu-open { background: var(--slate); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* About hero, desktop: all the intro text in dark slate straight on the white wall, starting in the top-left panel
   and staying left of the ladder. No fade, no box. On narrower screens it sits below the photo. Angela, 2026-11-16. */
@media (min-width: 961px) {
  .band.topped.about-hero { position: relative; }
  .band.topped.about-hero .container.on-wall-intro {
    position: absolute; z-index: 1; left: 5vw;
    /* "About" lines up with the top moulding of the left wall panel: that line is 22.4% down the photo, which is cropped to cover (66.67vw tall, 62% offset) */
    top: calc(4.6rem + 0.224 * 66.667vw - 0.62 * (66.667vw - var(--topped-h)) + 0.9rem);
    width: 28vw; max-width: none; margin: 0; padding: 0 !important;
  }
  .on-wall-intro .label { color: var(--bark); margin-bottom: 1.1rem; }
  .on-wall-intro h1 { color: var(--charcoal); font-size: clamp(1.3rem, 2.25vw, 2.8rem) !important; line-height: 1.08; margin-bottom: 1.4rem; }
  .on-wall-intro .lede { color: #3d3f38; font-size: clamp(0.82rem, 1.05vw, 1.2rem); line-height: 1.55; max-width: 25vw; }
}

/* Services: the website build, set apart from the monthly list as an add-on (Angela, 2026-11-16) */
.addon { margin-top: var(--s-5); max-width: 44rem; }   /* the list above already ends with a rule */
.addon .label { margin-bottom: 0.6rem; }
.addon h3 { margin: 0 0 0.6rem; }
.addon p:last-child { margin: 0; }
/* Services hero: the same on-the-wall text as About, placed in the open wall left of Ange (Ang-00010). Angela, 2026-11-16. */
@media (min-width: 961px) {
  .band.topped.about-hero .container.on-wall-intro.svc-wall { top: calc(4.6rem + var(--topped-h) * 0.17); width: 30vw; }
  .on-wall-intro.svc-wall h1 { font-size: clamp(1.2rem, 1.95vw, 2.5rem) !important; }
}
