/* ==========================================================================
   Annette Serio Haddad — annetteseriohaddad.com
   Editorial earth-tone design system
   Palette : cream / sage / moss / sand / forest / terracotta
   Type    : Playfair Display (display serif) + Jost (sans)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces */
  --cream:        #e2d8cc;
  --cream-2:      #efe8dd;
  --cream-3:      #f7f3ec;
  --white:        #ffffff;

  /* Ink
     ink-3 was #7d7364, which scored 3.31:1 on cream and failed WCAG AA for the
     small uppercase labels it is used on. Every ink and accent below now clears
     4.5:1 against cream, cream-2 and white. */
  --ink:          #2b261f;
  --ink-2:        #574e42;
  --ink-3:        #635b4e;

  /* Accents */
  --sage:         #a7ad89;
  --sage-dark:    #566044;
  --sage-tint:    #e6e8da;
  --forest:       #4d543c;
  --terra:        #92735c;      /* decorative only: rules, dots, borders */
  --terra-dark:   #6f523d;      /* text-safe: 5.06:1 on cream */
  --terra-deep:   #55402f;
  --terra-tint:   #eddfd0;
  --gold:         #cbb28d;

  /* Lines & shadow */
  --line:         #cdc2ae;
  --line-soft:    rgba(43, 38, 31, .12);
  --shadow-sm:    0 2px 8px -3px rgba(43, 38, 31, .18);
  --shadow:       0 14px 36px -18px rgba(43, 38, 31, .34);
  --shadow-lg:    0 30px 70px -30px rgba(43, 38, 31, .46);

  /* Geometry */
  --radius:       4px;
  --radius-lg:    12px;
  --maxw:         1200px;
  --gutter:       clamp(20px, 5vw, 40px);

  /* Type */
  --serif: "Playfair Display", "Iowan Old Style", Georgia, serif;
  --sans:  "Jost", "Avenir Next", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --t-xs:   0.78rem;
  --t-sm:   0.875rem;
  --t-base: 1.0625rem;
  --t-md:   clamp(1.08rem, 1.02rem + .3vw, 1.22rem);
  --t-lg:   clamp(1.35rem, 1.2rem + .7vw, 1.7rem);
  --t-xl:   clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  --t-2xl:  clamp(2.1rem, 1.6rem + 2.4vw, 3.2rem);
  --t-3xl:  clamp(2.6rem, 1.7rem + 4.2vw, 4.6rem);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

/* Anchor links (#help, #order, #vision) were landing underneath the sticky
   header. This offsets every jump target by the header height. */
:target, [id] { scroll-margin-top: 88px; }

::selection { background: var(--terra-tint); color: var(--terra-deep); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--t-base);
  font-weight: 400;
  line-height: 1.68;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.012em;
  margin: 0 0 .5em;
  color: var(--ink);
  text-wrap: balance;
}
button { font: inherit; }

/* Subtle paper grain — sells the editorial feel at ~1KB */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
}
body > * { position: relative; z-index: 2; }

/* ---------- Focus & a11y ---------- */
:focus-visible {
  outline: 2px solid var(--terra-dark);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible) { outline: none; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--cream-3);
  padding: .85em 1.3em; font-size: var(--t-sm); font-weight: 600;
}
.skip-link:focus { left: 8px; top: 8px; }

.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;
}

/* ---------- Layout ---------- */
.container        { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 780px;       margin: 0 auto; padding: 0 var(--gutter); }

section { padding: clamp(56px, 8vw, 104px) 0; }
section.tight { padding: clamp(36px, 5vw, 60px) 0; }
section.alt   { background: var(--cream-2); }
section.dark  { background: var(--ink); color: var(--cream-2); }
section.dark h1, section.dark h2, section.dark h3 { color: var(--cream-3); }
section.dark p { color: #cdc5b8; }
section.terra { background: var(--terra-tint); }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 36px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 52px); }
.split  { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .grid-3, .grid-2, .split { grid-template-columns: 1fr; } }

.text-center { text-align: center; }
.small { font-size: var(--t-sm); color: var(--ink-2); }
.divider { height: 1px; background: var(--line); border: none; margin: clamp(40px, 6vw, 64px) 0; }

/* ---------- Kicker / section heads ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 11px;
  font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--terra-dark); margin-bottom: 16px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
section.dark .kicker { color: var(--gold); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head > p { color: var(--ink-2); font-size: var(--t-md); margin-bottom: 0; }

h1.display { font-size: var(--t-2xl); }
h2.display { font-size: var(--t-xl); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--t-sm); font-weight: 600;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 15px 28px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: transform .25s var(--ease), background .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(4px); }

.btn-primary { background: var(--ink); color: var(--cream-3); }
.btn-primary:hover { background: var(--terra-dark); box-shadow: var(--shadow); }
.btn-outline { border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream-3); }
.btn-terra { background: var(--terra); color: #fff; }
.btn-terra:hover { background: var(--terra-dark); box-shadow: var(--shadow); }
.btn-light { background: var(--cream-3); color: var(--terra-deep); }
.btn-light:hover { background: #fff; box-shadow: var(--shadow); }
.btn-ghost-light { border-color: rgba(247,243,236,.55); color: var(--cream-3); }
.btn-ghost-light:hover { background: var(--cream-3); color: var(--terra-deep); border-color: var(--cream-3); }

.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn-row.center { justify-content: center; }

/* On a narrow phone, wrapped buttons of different widths look accidental.
   Below 520px they go full width and read as a stack of clear choices. */
@media (max-width: 520px) {
  .btn-row .btn { width: 100%; justify-content: center; }
}

/* Reassurance line that sits directly under a primary CTA */
.cta-note {
  font-size: var(--t-xs); letter-spacing: .04em;
  color: var(--ink-3); margin: 14px 0 0;
}
.cta-band .cta-note { color: #cbbcad; }

/* Quiet inline text link */
.link-underline {
  color: var(--terra-dark); font-weight: 600;
  border-bottom: 1px solid rgba(122,92,70,.4);
  transition: border-color .2s var(--ease);
}
.link-underline:hover { border-bottom-color: var(--terra-dark); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: rgba(247, 243, 236, .82);
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
}
.site-header.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px -18px rgba(43,38,31,.5);
}
.nav-wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; max-width: var(--maxw); margin: 0 auto;
  padding: 14px var(--gutter);
}
.logo { display: inline-flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; letter-spacing: .01em; }
.logo .mono {
  width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%;
  border: 1.5px solid var(--terra-dark); color: var(--terra-dark);
  display: grid; place-items: center;
  font-size: .82rem; letter-spacing: .06em; font-weight: 600;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.logo:hover .mono { background: var(--terra-dark); color: var(--cream-3); }
.logo .logo-name { white-space: nowrap; }
@media (max-width: 420px) { .logo .logo-name { display: none; } }

.primary-nav { display: flex; align-items: center; gap: 2px; }
.primary-nav a {
  position: relative; padding: 9px 13px; border-radius: var(--radius);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2);
  transition: color .2s var(--ease);
}
.primary-nav a::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 3px;
  height: 1.5px; background: var(--terra-dark);
  transform: scaleX(0); transform-origin: left; transition: transform .28s var(--ease);
}
.primary-nav a:hover { color: var(--terra-dark); }
.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after { transform: scaleX(1); }
.primary-nav a[aria-current="page"] { color: var(--terra-dark); }

/* Language switcher, sits at the end of the primary nav */
.lang-switch {
  display: inline-flex; align-items: center;
  margin-left: 10px; padding-left: 12px;
  border-left: 1px solid var(--line);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase;
}
/* The active language is a span, not a link: linking your current language to
   itself sends people nowhere, and on inner pages it used to bounce them to
   the home page. */
.lang-switch a,
.lang-switch span[aria-current] {
  padding: 6px 8px; border-radius: var(--radius);
  color: var(--ink-3); transition: color .2s var(--ease);
}
.lang-switch a:hover { color: var(--terra-dark); }
.lang-switch span[aria-current="true"] { color: var(--terra-dark); }
.lang-switch .sep { color: var(--line); padding: 0; }
@media (max-width: 880px) {
  .lang-switch {
    margin: 18px 0 0; padding: 0; border-left: none;
    justify-content: center; width: 100%;
  }
  .lang-switch a, .lang-switch span[aria-current] { padding: 12px 14px; }
}

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 10px; margin-right: -6px;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.8px; background: var(--ink);
  border-radius: 2px; transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.8px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav-toggle { display: block; }
  .primary-nav {
    /* 68px, not 66px: the header is 14px padding + a 40px logo + 14px padding.
       The old value left a 2px sliver of the page showing above the menu. */
    position: fixed; inset: 68px 0 0 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    gap: 0; padding: 18px var(--gutter) 40px;
    background: var(--cream-3);
    transform: translateX(100%); transition: transform .34s var(--ease);
    overflow-y: auto;
  }
  .primary-nav.open { transform: translateX(0); }
  .primary-nav a {
    padding: 18px 2px; border-bottom: 1px solid var(--line-soft);
    border-radius: 0; font-size: var(--t-sm); letter-spacing: .12em;
  }
  .primary-nav a::after { display: none; }
  body.nav-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(48px, 8vw, 92px) 0 clamp(52px, 8vw, 88px);
  background:
    radial-gradient(ellipse 60% 50% at 88% 6%,  rgba(237,223,208,.9) 0%, transparent 60%),
    radial-gradient(ellipse 55% 45% at 4% 96%, rgba(230,232,218,.9) 0%, transparent 60%),
    var(--cream);
}
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero-eyebrow {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .2em;
  text-transform: uppercase; color: var(--sage-dark); margin-bottom: 20px;
}
.hero h1 {
  font-size: var(--t-3xl); margin-bottom: 22px; letter-spacing: -.022em;
}
.hero h1 .em { font-style: italic; font-weight: 400; color: var(--terra-dark); }
.hero .lede {
  font-size: var(--t-md); color: var(--ink-2);
  max-width: 33ch; margin-bottom: 30px;
}
.hero .btn-row { margin-bottom: 0; }
.hero .cta-note { margin-bottom: 28px; max-width: 46ch; line-height: 1.6; }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  padding-top: 22px; border-top: 1px solid var(--line);
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--terra); }

/* Live status chip. Tells a visitor whether it is worth writing before they
   have to guess from the copy. */
.hero-status {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--sage-tint); color: #3f4830;
  border-radius: 999px; padding: 7px 15px 7px 13px;
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .06em;
  margin-bottom: 18px;
}
.hero-status::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--sage-dark); box-shadow: 0 0 0 3px rgba(86,96,68,.22);
}

/* Arch portrait — signature motif */
.arch-wrap { position: relative; }
.arch-wrap::before {
  content: ""; position: absolute; z-index: 0;
  top: -22px; right: -22px; bottom: 22px; left: 22px;
  background: var(--terra); border-radius: 999px 999px 10px 10px;
}
.arch-wrap.flip::before { right: 22px; left: -22px; background: var(--sage-dark); }
.arch-frame {
  position: relative; z-index: 1;
  border-radius: 999px 999px 10px 10px; overflow: hidden;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,.5);
}
.arch-frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-visual { position: relative; }
@media (max-width: 900px) { .hero-visual { max-width: 380px; margin: 12px auto 0; } }

.hero-badge {
  position: absolute; z-index: 3; bottom: 14px; right: -14px;
  width: 112px; height: 112px; border-radius: 50%;
  background: var(--ink); color: var(--cream-2);
  display: grid; place-items: center; text-align: center;
  font-family: var(--serif); font-size: .78rem; line-height: 1.35;
  padding: 10px; box-shadow: var(--shadow-lg);
}
@media (max-width: 480px) { .hero-badge { width: 92px; height: 92px; font-size: .68rem; right: -6px; } }

/* Caption pill overlapping a photo edge */
.photo-tag {
  position: absolute; z-index: 3; left: 18px; top: 100%; margin-top: -18px;
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--cream-3); border: 1px solid var(--line);
  box-shadow: var(--shadow); border-radius: 999px;
  padding: 9px 17px; font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--terra-dark);
}
.photo-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--terra); }
.has-tag { position: relative; margin-bottom: 46px; }

/* ---------- Stats ---------- */
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.6vw, 34px); }
@media (max-width: 780px) { .stat-grid { grid-template-columns: repeat(2, 1fr); } }
.stat-card {
  padding: 20px 2px 0; border-top: 2px solid var(--terra);
  transition: border-top-color .3s var(--ease);
}
.stat-card:hover { border-top-color: var(--terra-deep); }
.stat-card .num {
  display: block; font-family: var(--serif); font-size: clamp(1.9rem, 1.2rem + 2.2vw, 2.9rem);
  line-height: 1.05; margin-bottom: 8px; letter-spacing: -.02em;
}
.stat-card .label {
  font-size: var(--t-xs); letter-spacing: .09em; text-transform: uppercase; color: var(--ink-2);
}
section.dark .stat-card { border-top-color: var(--gold); }
section.dark .stat-card .num { color: var(--gold); }
section.dark .stat-card .label { color: #cdc5b8; }


/* ---------- Logo bar (worked and studied) ---------- */
.logo-bar {
  margin-top: clamp(34px, 5vw, 52px);
  padding-top: clamp(26px, 3vw, 34px);
  border-top: 1px solid var(--line);
  text-align: center;
}
.logo-bar-label {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 18px;
}
.logo-bar ul {
  display: flex; flex-wrap: wrap; justify-content: center;
  align-items: center; gap: clamp(24px, 4.5vw, 62px);
}
.logo-bar li {
  font-family: var(--serif); font-size: clamp(1rem, .85rem + .5vw, 1.3rem);
  font-weight: 600; letter-spacing: .01em; color: var(--ink-2);
  opacity: .78; transition: opacity .25s var(--ease), color .25s var(--ease);
  display: flex; align-items: center;
}
.logo-bar li:hover { opacity: 1; color: var(--terra-dark); }

/* Real logo files: normalised to one optical height and desaturated so five
   different brand palettes cannot fight the page. Swap a <li>'s text for an
   <img> and it inherits this automatically. */
/* Every file is pre-rendered onto a canvas of the same height, with the mark
   optically weighted inside it, so one CSS height balances the whole row. */
.logo-bar img {
  height: clamp(40px, 4.4vw, 58px); width: auto;
  filter: grayscale(1) contrast(.9);
  opacity: .72;
  transition: filter .3s var(--ease), opacity .3s var(--ease);
}
.logo-bar li:hover img { filter: grayscale(0) contrast(1); opacity: 1; }

/* The .8 opacity here dropped this line to 2.49:1 on cream. Removed. */
.logo-bar .logo-note {
  display: block; margin-top: 20px;
  font-size: 11.5px; letter-spacing: .02em; color: var(--ink-3);
}

@media (prefers-reduced-motion: reduce) {
  .logo-bar img { transition: none; }
}

/* ---------- Cards ---------- */
.card { border-top: 1px solid var(--ink); padding-top: 20px; height: 100%; }
.card .card-num {
  display: block; font-family: var(--serif); font-style: italic;
  font-size: .95rem; color: var(--terra-dark); margin-bottom: 12px; letter-spacing: .04em;
}
.card h3 { font-size: var(--t-lg); margin-bottom: .45em; }
.card p:last-child { margin-bottom: 0; }
.card p { color: var(--ink-2); }

.card.boxed {
  background: var(--white); border: 1px solid var(--line); border-top-color: var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.card.boxed:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 34px; border-left: 1.5px solid var(--line); }
.tl-item { position: relative; padding-bottom: clamp(32px, 4vw, 48px); }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: ""; position: absolute; left: -41px; top: 6px;
  width: 13px; height: 13px; border-radius: 50%;
  background: var(--terra); box-shadow: 0 0 0 4px var(--cream);
  transition: box-shadow .3s var(--ease);
}
section.alt .tl-item::before { box-shadow: 0 0 0 4px var(--cream-2); }
.tl-item:hover::before { box-shadow: 0 0 0 4px var(--terra-tint); }
.tl-role { font-family: var(--serif); font-size: var(--t-lg); margin-bottom: 3px; }
.tl-meta {
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em;
  text-transform: uppercase; color: var(--terra-dark); margin-bottom: 14px;
}
.tl-item li { position: relative; padding-left: 22px; margin-bottom: 10px; color: var(--ink-2); }
.tl-item li::before {
  content: ""; position: absolute; left: 0; top: .72em;
  width: 11px; height: 1.5px; background: var(--terra);
}
.tl-item li strong { color: var(--ink); font-weight: 600; }

/* ---------- Image frames ---------- */
.img-frame {
  border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame.on-dark { border-color: rgba(247,243,236,.16); }

/* ---------- Gallery ---------- */
.gallery-section + .gallery-section { margin-top: clamp(48px, 7vw, 84px); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(12px, 1.4vw, 18px); }
.gallery-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 860px) { .gallery-grid, .gallery-grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }

.gallery-grid figure {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius); background: var(--cream-2);
}
.gallery-grid img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5;
  transition: transform .6s var(--ease), filter .4s var(--ease);
}
.gallery-grid figure.feature { grid-column: span 2; }
.gallery-grid figure.feature img { aspect-ratio: 8 / 5; }
@media (max-width: 860px) { .gallery-grid figure.feature img { aspect-ratio: 4 / 5; } }

.gallery-grid figcaption {
  position: absolute; inset: auto 0 0 0; padding: 26px 15px 13px;
  background: linear-gradient(180deg, transparent, rgba(24,20,16,.78));
  color: var(--cream-3); font-size: var(--t-xs); letter-spacing: .06em;
  transform: translateY(4px); opacity: .92;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.gallery-item { display: block; cursor: zoom-in; width: 100%; border: none; padding: 0; background: none; }
.gallery-item:hover img, .gallery-item:focus-visible img { transform: scale(1.055); }
.gallery-item:hover figcaption { transform: translateY(0); opacity: 1; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 900;
  display: none; place-items: center;
  background: rgba(24, 20, 16, .93);
  backdrop-filter: blur(6px); padding: 4vh 4vw;
}
.lightbox.open { display: grid; }
.lightbox img {
  max-width: 100%; max-height: 82vh; width: auto; margin: 0 auto;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.lightbox .lb-cap {
  margin-top: 16px; text-align: center; color: var(--cream-2);
  font-size: var(--t-sm); letter-spacing: .06em;
}
.lightbox button {
  position: absolute; background: rgba(247,243,236,.1); color: var(--cream-3);
  border: 1px solid rgba(247,243,236,.3); border-radius: 50%;
  width: 46px; height: 46px; cursor: pointer; font-size: 1.1rem;
  display: grid; place-items: center;
  transition: background .2s var(--ease);
}
.lightbox button:hover { background: rgba(247,243,236,.24); }
.lb-close { top: 3vh; right: 4vw; }
.lb-prev  { left: 3vw;  top: 50%; transform: translateY(-50%); }
.lb-next  { right: 3vw; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) { .lb-prev { left: 12px; } .lb-next { right: 12px; } }

/* ---------- Quote ---------- */
blockquote.pull {
  font-family: var(--serif); font-style: italic;
  font-size: var(--t-lg); line-height: 1.48; color: var(--ink);
  border-left: 2px solid var(--terra); padding-left: clamp(20px, 3vw, 30px);
  margin: clamp(24px, 4vw, 38px) 0;
}
blockquote.pull.center {
  border-left: none; padding: 0; text-align: center; max-width: 26ch; margin-inline: auto;
}
blockquote.pull.center::before { content: "\201C"; display: block; font-size: 3rem; line-height: .6; color: var(--terra); margin-bottom: 18px; }

/* ---------- Pills ---------- */
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; }
.pill {
  background: var(--sage-tint); color: var(--sage-dark);
  font-size: var(--t-sm); font-weight: 500; padding: 8px 16px; border-radius: 999px;
  transition: transform .2s var(--ease);
}
.pill:hover { transform: translateY(-2px); }
.pill.terra { background: var(--terra-tint); color: var(--terra-dark); }

/* ---------- Scent cards ---------- */
.scent-card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.scent-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.scent-swatch { overflow: hidden; aspect-ratio: 4 / 3; }
.scent-swatch img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.scent-card:hover .scent-swatch img { transform: scale(1.06); }
.scent-body { padding: 22px 24px 26px; }
.scent-tag {
  display: block; font-size: var(--t-xs); font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--terra-dark); margin-bottom: 8px;
}
.scent-body h3 { font-size: var(--t-md); margin-bottom: .3em; }
.scent-body p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }


/* ---------- Offer cards (home "What I can help with") ---------- */
.offer-card { display: flex; flex-direction: column; }
.offer-card h3 { font-size: var(--t-md); }
.offer-card p { flex: 1; }
.offer-card .link-underline { align-self: flex-start; margin-top: 6px; font-size: var(--t-sm); }
.offer-card .link-underline span { display: inline-block; transition: transform .25s var(--ease); }
.offer-card:hover .link-underline span { transform: translateX(4px); }

/* ---------- Buy cards (SOREIA "How to order") ---------- */
.buy-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 34px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.buy-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--terra); }
.buy-icon {
  display: grid; place-items: center;
  width: 40px; height: 40px; margin-bottom: 18px; border-radius: 50%;
  border: 1px solid var(--terra); color: var(--terra-dark);
  font-family: var(--serif); font-style: italic; font-size: .86rem;
}
.buy-card h3 { font-size: var(--t-md); margin-bottom: .45em; }
.buy-card p { color: var(--ink-2); flex: 1; }
.buy-action {
  font-size: var(--t-sm); font-weight: 600; color: var(--terra-dark);
  display: inline-flex; align-items: center; gap: 8px;
}
.buy-action span { transition: transform .25s var(--ease); }
.buy-card:hover .buy-action span { transform: translateX(4px); }


/* ---------- Quote cards (references) ---------- */
.quote-card {
  margin: 0; display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(26px, 3vw, 38px);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.quote-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote-card blockquote {
  margin: 0 0 22px; flex: 1;
  font-family: var(--serif); font-style: italic;
  font-size: var(--t-md); line-height: 1.55; color: var(--ink);
}
.quote-card blockquote::before {
  content: "\201C"; display: block;
  font-size: 2.6rem; line-height: .5; color: var(--terra);
  margin-bottom: 16px;
}
.quote-card figcaption { display: flex; flex-direction: column; gap: 3px; padding-top: 18px; border-top: 1px solid var(--line-soft); }
.q-name { font-weight: 600; font-size: var(--t-sm); color: var(--ink); }
.q-role { font-size: var(--t-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Credentials ---------- */
.cred-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(28px, 4vw, 52px); }
@media (max-width: 780px) { .cred-list { grid-template-columns: 1fr; } }
.cred-item {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 22px 0; border-bottom: 1px solid var(--line-soft);
}
.cred-icon {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--terra); color: var(--terra-dark);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: .82rem;
}
.cred-item h3 { font-family: var(--serif); font-size: 1.06rem; margin: 0 0 4px; }
.cred-item p { margin: 0; font-size: var(--t-sm); color: var(--ink-2); }

/* ---------- Page header ---------- */
.page-header {
  padding: clamp(38px, 5vw, 62px) 0 clamp(34px, 4.5vw, 52px);
  background: linear-gradient(170deg, var(--sage-tint) 0%, var(--cream) 78%);
  border-bottom: 1px solid var(--line);
}
.page-header h1 { font-size: var(--t-2xl); margin-bottom: 14px; }
.page-header .sub { color: var(--ink-2); font-size: var(--t-md); max-width: 62ch; margin-bottom: 0; }
.page-header .btn-row { margin-top: 26px; }

.breadcrumb {
  font-size: var(--t-xs); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 18px;
}
.breadcrumb a { color: var(--sage-dark); }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb .sep { margin: 0 8px; opacity: .6; }

/* ---------- Badges ---------- */
.badge-inline {
  display: inline-block; background: var(--terra-tint); color: var(--terra-dark);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 13px; border-radius: var(--radius); margin-bottom: 22px;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--terra-deep); color: var(--cream-2);
  border-radius: var(--radius-lg); padding: clamp(38px, 6vw, 68px) clamp(24px, 5vw, 56px);
  text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 88% 10%, rgba(255,255,255,.09) 0%, transparent 46%);
}
.cta-band > * { position: relative; }
.cta-band h2 { color: var(--cream-3); }
.cta-band p { color: #d9cabb; max-width: 54ch; margin: 0 auto 28px; }
.cta-band .cta-note { margin: 18px auto 0; }
.page-header .cta-note { margin-top: 16px; }

/* ---------- Cover (rust colour-block) ---------- */
section.cover {
  background: var(--terra-deep); color: var(--terra-tint);
  position: relative; overflow: hidden;
}
section.cover::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 92% 8%, rgba(255,255,255,.08) 0%, transparent 42%);
}
section.cover > * { position: relative; }
section.cover h1, section.cover h2, section.cover h3 { color: var(--cream-3); }
section.cover p { color: #d9cabb; }
section.cover .kicker { color: var(--gold); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(34px, 5vw, 64px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-item {
  display: flex; gap: 15px; align-items: flex-start;
  padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--line-soft);
}
.ci-icon {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--terra); color: var(--terra-dark);
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-size: .82rem;
}
.contact-info-item .ci-label {
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 4px;
}
.contact-info-item a:hover { color: var(--terra-dark); }

.contact-form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label {
  display: block; margin-bottom: 7px;
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2);
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; padding: 14px 15px;
  font-family: var(--sans); font-size: var(--t-base);
  color: var(--ink); background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form ::placeholder { color: var(--ink-3); opacity: .75; }
.contact-form [aria-invalid="true"] { border-color: var(--terra-dark); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-color: var(--sage-dark);
  box-shadow: 0 0 0 3px rgba(105,114,84,.16);
}
.form-note { font-size: var(--t-xs); color: var(--ink-3); margin: 0; }
.form-status {
  font-size: var(--t-sm); line-height: 1.5;
  padding: 14px 16px; border-radius: var(--radius);
  border-left: 3px solid transparent; display: none; margin: 0;
}
.form-status.show { display: block; }
.form-status.ok  { background: var(--sage-tint);  color: #3f4830; border-left-color: var(--sage-dark); }
.form-status.err { background: var(--terra-tint); color: var(--terra-deep); border-left-color: var(--terra-dark); }

/* Direct-contact panel: for people who would rather not use a form at all */
.contact-direct {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: clamp(20px, 2.4vw, 26px);
  margin-bottom: 28px;
}
.contact-direct h2 { font-size: var(--t-md); margin-bottom: .4em; }
.contact-direct p { font-size: var(--t-sm); color: var(--ink-2); margin-bottom: 16px; }
.contact-direct .btn-row { gap: 10px; }
.contact-direct .btn { padding: 12px 20px; font-size: var(--t-xs); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--cream-2); padding: clamp(48px, 7vw, 76px) 0 28px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr;
  gap: clamp(28px, 4vw, 48px); margin-bottom: clamp(32px, 4vw, 48px);
}
@media (max-width: 780px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h2 {
  color: var(--cream-3); font-family: var(--sans);
  font-size: var(--t-xs); font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; margin-bottom: 18px;
}
.site-footer p { color: #b8b0a3; font-size: var(--t-sm); max-width: 34ch; }
.site-footer li { margin-bottom: 11px; }
.site-footer a { color: #c9c2b5; font-size: var(--t-sm); transition: color .2s var(--ease); }
.site-footer a:hover { color: var(--cream-3); }
.footer-bottom {
  border-top: 1px solid rgba(247,243,236,.14); padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: var(--t-xs); color: #a8a094; letter-spacing: .04em;
}

/* ---------- Notice banner ---------- */
.notice-banner {
  background: var(--ink); color: var(--cream-3);
  text-align: center; font-size: var(--t-xs);
  letter-spacing: .05em; padding: 9px 16px;
}
.notice-banner a { color: var(--gold); text-decoration: underline; }

/* ---------- Scroll reveal ----------
   Scoped to .js so that if JavaScript is blocked or fails, nothing is hidden.
   Previously .reveal set opacity:0 unconditionally, which meant a broken or
   blocked site.js left most of every page invisible. */
.js .reveal { opacity: 0; transform: translateY(22px); }
.reveal.in { opacity: 1; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.d1.in { transition-delay: .08s; }
.reveal.d2.in { transition-delay: .16s; }
.reveal.d3.in { transition-delay: .24s; }

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

/* ---------- Print ---------- */
@media print {
  @page { margin: 12mm; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  body::before, .nav-toggle, .skip-link, .lightbox { display: none !important; }
  body { font-size: 10.5pt; background: var(--cream-3); }
  .site-header { position: static; border-bottom: 1px solid var(--line); }
  .primary-nav { display: none !important; }
  section { padding: 16px 0; }
  .hero { padding: 12px 0 20px; }
  h1, h2, h3 { break-after: avoid; }
  .section-head { margin-bottom: 18px; }

  /* Keep every card, quote and photo whole on one page */
  .card, .offer-card, .quote-card, .buy-card, .scent-card, .stat-card,
  figure, .img-frame, .arch-frame, .arch-wrap, .tl-item, .cred-item,
  .logo-bar, .cta-band, blockquote { break-inside: avoid; }

  /* Grids stay multi-column on paper, just tighter */
  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .grid-2, .split, .hero-grid, .contact-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stat-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; }

  /* Shadows and hovers are noise in print */
  .card.boxed, .quote-card, .buy-card, .scent-card, .img-frame, .arch-frame {
    box-shadow: none; border: 1px solid var(--line);
  }
  .btn { border: 1px solid var(--ink); box-shadow: none; padding: 8px 14px; }

  /* Print the destination of real links, but not the internal page ones */
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 8pt; color: #6b6255; word-break: break-all; }
  a[href^="mailto"]::after, a[href^="tel"]::after, a[href$=".html"]::after { content: ""; }

  .reveal { opacity: 1 !important; transform: none !important; }
}
