/* ==========================================================================
   Make A Smile Foundation - public stylesheet
   Burgundy and white. Open, airy sections instead of boxes: photographs,
   type and thin lines carry the layout.

   Order: tokens, reset, typography, buttons, header, hero, home sections,
   inner pages, forms, footer, lightbox, motion, responsive.
   ========================================================================== */

:root {
  --wine-950: #2e0712;
  --wine-900: #4a0b1d;
  --wine-800: #5e0f25;
  --wine-700: #7b1530;   /* the brand burgundy */
  --wine-600: #962141;
  --wine-500: #b03658;
  --wine-200: #ecc9d3;
  --wine-100: #f6e6eb;
  --blush:    #fcf6f8;   /* tinted sections */

  --white: #ffffff;
  --ink:   #2b1a20;      /* headings on white */
  --text:  #5a4a50;
  --muted: #8d7c82;
  --line:  #eee2e6;

  --grad: linear-gradient(120deg, var(--wine-800), var(--wine-700) 55%, var(--wine-600));

  --font-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-script: "Dancing Script", "Brush Script MT", cursive;

  --shell: 1240px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4rem, 8vw, 7.5rem);
  --radius: 22px;
  --radius-sm: 12px;
  --header-h: 84px;

  --shadow-1: 0 6px 24px rgba(74, 11, 29, .08);
  --shadow-2: 0 24px 60px rgba(74, 11, 29, .16);
  --ease: cubic-bezier(.22, .68, .32, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

/* --- reset --------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(.97rem, .94rem + .15vw, 1.05rem);
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--wine-700); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--wine-900); }
button { font: inherit; color: inherit; cursor: pointer; }
ul, ol { padding-left: 1.2rem; }

:focus-visible { outline: 3px solid var(--wine-500); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--wine-700); color: #fff; }

.container { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  padding: .8rem 1.3rem; background: var(--wine-700); color: #fff;
}
.skip-link:focus { left: 0; color: #fff; }

.scroll-progress {
  position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200;
  background: var(--grad); transform-origin: 0 50%; transform: scaleX(0);
}

/* --- typography ---------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.02em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 3rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  margin: 0 0 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--wine-600);
}
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--wine-200); }

.section-title { margin-bottom: .5em; }
.section-title.light { color: #fff; }
.section-sub { color: var(--muted); max-width: 46ch; }
.lead { font-size: 1.14em; color: var(--ink); }

.section { padding: var(--section-y) 0; position: relative; }
.section-head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }
.section-head.split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }

/* --- buttons ------------------------------------------------------------- */

.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .85rem 1.6rem;
  border: 2px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: .95rem; line-height: 1.2;
  transition: color .35s var(--ease), border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn:hover::before { transform: translateY(0); }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }

.btn-primary { background: var(--wine-700); color: #fff; box-shadow: 0 10px 26px rgba(123, 21, 48, .28); }
.btn-primary::before { background: var(--wine-900); }
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(123, 21, 48, .36); }

.btn-light { background: #fff; color: var(--wine-700); }
.btn-light::before { background: var(--wine-100); }
.btn-light:hover { color: var(--wine-900); }

.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover { color: var(--wine-700); border-color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.8rem; margin-top: 2rem; }
.btn-row.center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; color: var(--wine-700);
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat;
  padding-bottom: 2px; transition: background-size .4s var(--ease), color .25s;
}
.link-arrow::after { content: "\2192"; transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 100% 2px; }
.link-arrow:hover::after { transform: translateX(5px); }

/* --- top bar & header ---------------------------------------------------- */

.topbar { background: var(--wine-900); color: var(--wine-100); font-size: .83rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 40px; }
.topbar-links { display: flex; flex-wrap: wrap; gap: .3rem 1.6rem; }
.topbar a { color: var(--wine-100); display: inline-flex; align-items: center; gap: .45rem; }
.topbar a:hover { color: #fff; }
.topbar svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }
.topbar-note { font-family: var(--font-script); font-size: 1.1rem; color: #fff; opacity: .9; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s var(--ease), border-color .35s;
}
.site-header.is-scrolled { box-shadow: 0 8px 30px rgba(74, 11, 29, .08); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; height: var(--header-h); transition: height .35s var(--ease); }
.site-header.is-scrolled .header-inner { height: 70px; }

.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--wine-700); flex-shrink: 0; }
.brand:hover { color: var(--wine-700); }
.brand-mark { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; transition: transform .6s var(--ease-out); }
.brand-mark circle { fill: var(--wine-700); stroke: none; }
.brand-mark path { stroke: #fff; }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.05); }
.brand-words { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-script); font-size: 1.95rem; font-weight: 700; color: var(--wine-700); }
.brand-sub { font-size: .66rem; letter-spacing: .38em; text-transform: uppercase; color: var(--muted); margin-top: .25rem; padding-left: .15rem; }
.brand-light .brand-mark circle { fill: #fff; }
.brand-light .brand-mark path { stroke: var(--wine-700); }
.brand-light .brand-name { color: #fff; }
.brand-light .brand-sub { color: var(--wine-200); }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.nav-item { position: relative; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .3rem;
  padding: .6rem .9rem; font-weight: 500; font-size: .96rem; color: var(--ink);
}
.nav-link::after {
  content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 2px;
  background: var(--wine-700); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out);
}
.nav-item:hover > .nav-link::after, .nav-item.is-active > .nav-link::after { transform: scaleX(1); transform-origin: left; }
.nav-item:hover > .nav-link, .nav-item.is-active > .nav-link { color: var(--wine-700); }
.caret, .nav-expand svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; transition: transform .3s var(--ease); }
.nav-item:hover .caret { transform: rotate(180deg); }
.nav-expand { display: none; }

.nav-drop {
  position: absolute; top: calc(100% + 8px); left: 50%; min-width: 250px;
  list-style: none; margin: 0; padding: .6rem;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-2);
  opacity: 0; visibility: hidden; transform: translate(-50%, 12px);
  transition: opacity .3s var(--ease), transform .35s var(--ease-out), visibility .3s;
}
.nav-drop::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item:hover .nav-drop, .nav-item:focus-within .nav-drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.nav-drop a {
  display: block; padding: .6rem .9rem; border-radius: 10px; color: var(--text); font-size: .93rem;
  transition: background .25s, color .25s, padding .3s var(--ease);
}
.nav-drop a:hover, .nav-drop a[aria-current] { background: var(--blush); color: var(--wine-700); padding-left: 1.2rem; }

.nav-cta { padding: .7rem 1.35rem; }
.nav-toggle { display: none; }

/* --- hero ---------------------------------------------------------------- */

.hero {
  position: relative; overflow: hidden; color: #fff;
  height: clamp(460px, 68vh, 640px);
  background: var(--wine-950);
}
.hero-stage, .hero-slide, .hero-media, .hero-veil { position: absolute; inset: 0; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1.2s var(--ease), visibility 1.2s; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-slide.is-active .hero-media img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.06); } to { transform: scale(1); } }
/* no colour wash over the photo: the copy carries its own shadow instead */
.hero-veil { display: none; }
.hero-tag, .hero-text, .hero-count { text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 2px 16px rgba(0, 0, 0, .7), 0 0 30px rgba(0, 0, 0, .45); }
.hero-tag { color: #fff; margin-bottom: .9rem; }
.hero-tag span { box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.hero-text { color: #fff; font-weight: 600; }
.hero .btn-ghost { background: rgba(30, 5, 12, .38); border-color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero .btn-primary { box-shadow: 0 8px 22px rgba(0, 0, 0, .35); }
.hero-dot::before { background: rgba(255, 255, 255, .55); box-shadow: 0 1px 4px rgba(0, 0, 0, .4); }
.hero-arrow { background: rgba(30, 5, 12, .35); border-color: rgba(255, 255, 255, .8); }
.hero-copy { position: relative; z-index: 2; height: 100%; display: flex; flex-direction: column; justify-content: center; padding-top: 24px; padding-bottom: 96px; }
.hero-copy > * { max-width: 660px; }
.hero-tag {
  display: inline-flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--wine-200);
}
.hero-tag span { width: 40px; height: 2px; background: currentColor; }
.hero-title {
  color: #fff; margin-bottom: .35em; font-size: clamp(2rem, 1.2rem + 2.4vw, 3.4rem);
  text-shadow: 0 1px 2px rgba(0, 0, 0, .6), 0 4px 18px rgba(0, 0, 0, .55), 0 0 42px rgba(0, 0, 0, .35);
}
.hero-text { font-size: clamp(1.02rem, .95rem + .4vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.6rem; }

/* each piece of copy rises in after its slide becomes active */
.hero-copy > * { opacity: 0; transform: translateY(34px); }
.hero-slide.is-active .hero-copy > * { animation: rise 1s var(--ease-out) forwards; }
.hero-slide.is-active .hero-copy > :nth-child(1) { animation-delay: .35s; }
.hero-slide.is-active .hero-copy > :nth-child(2) { animation-delay: .5s; }
.hero-slide.is-active .hero-copy > :nth-child(3) { animation-delay: .68s; }
.hero-slide.is-active .hero-copy > :nth-child(4) { animation-delay: .85s; }
@keyframes rise { to { opacity: 1; transform: none; } }

.hero-controls {
  position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5;
  display: flex; align-items: center; gap: 1.6rem;
}
.hero-count { font-family: var(--font-display); font-size: 1.05rem; color: rgba(255, 255, 255, .7); min-width: 64px; }
.hero-count span { color: #fff; font-size: 1.35rem; font-weight: 600; }
.hero-dots { display: flex; gap: .55rem; flex: 1; max-width: 360px; }
.hero-dot { flex: 1; height: 3px; padding: 8px 0; border: 0; background: none; position: relative; }
.hero-dot::before, .hero-dot i { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .3); }
.hero-dot i { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active i { animation: fill var(--hero-delay, 6.5s) linear forwards; }
.hero.is-paused .hero-dot.is-active i { animation-play-state: paused; }
@keyframes fill { to { transform: scaleX(1); } }
.hero-arrows { display: flex; gap: .6rem; margin-left: auto; }
.hero-arrow {
  width: 50px; height: 50px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .06); color: #fff; display: grid; place-items: center;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.hero-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.hero-arrow:hover { background: #fff; color: var(--wine-700); border-color: #fff; transform: scale(1.06); }
.hero-scroll { position: absolute; right: var(--gutter); bottom: 110px; z-index: 5; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .6); border-radius: 20px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* --- marquee ------------------------------------------------------------- */

.marquee { background: var(--wine-700); color: #fff; overflow: hidden; padding: 1.05rem 0; }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 2.2rem; animation: marquee 38s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: clamp(1.1rem, 1rem + .6vw, 1.5rem); font-style: italic; white-space: nowrap; }
.marquee i { font-style: normal; color: var(--wine-200); font-size: .9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --- about --------------------------------------------------------------- */

.about-grid { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-visual { position: relative; padding: 0 12% 14% 0; }
.about-photo { overflow: hidden; border-radius: var(--radius); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.about-photo:hover img { transform: scale(1.06); }
.about-photo.main { aspect-ratio: 4 / 3.3; box-shadow: var(--shadow-2); }
.about-photo.small {
  position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 1;
  border: 8px solid #fff; box-shadow: var(--shadow-2);
}
.about-visual::before {
  content: ""; position: absolute; left: -26px; top: -26px; width: 140px; height: 140px; z-index: -1;
  background-image: radial-gradient(var(--wine-200) 2px, transparent 2.5px); background-size: 16px 16px;
}
.about-badge { position: absolute; left: -10px; bottom: 6%; width: 124px; height: 124px; display: grid; place-items: center; }
.about-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.about-badge text { font-size: 11.5px; letter-spacing: 2.4px; text-transform: uppercase; fill: var(--wine-700); font-weight: 600; }
.about-badge span {
  width: 64px; height: 64px; border-radius: 50%; background: var(--wine-700); color: #fff;
  display: grid; place-items: center; font-size: 1.6rem; box-shadow: 0 10px 24px rgba(123, 21, 48, .35);
  animation: beat 1.8s ease-in-out infinite;
}
.about-badge::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #fff; z-index: -1; box-shadow: var(--shadow-1); }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.12); } 30% { transform: scale(1); } 45% { transform: scale(1.08); } }

.check-list { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .75rem; }
.check-list li { position: relative; padding-left: 2.1rem; color: var(--ink); font-weight: 500; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28rem; width: 22px; height: 22px; border-radius: 50%;
  background: var(--wine-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b1530' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat;
}

/* --- impact numbers ------------------------------------------------------ */

.impact { padding-top: 0; }
.impact-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.impact-item { padding: clamp(1.8rem, 4vw, 3rem) 1.5rem; text-align: center; position: relative; }
.impact-item + .impact-item::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: var(--line); }
.impact-num { font-family: var(--font-display); font-size: clamp(2.6rem, 2rem + 2.6vw, 4.2rem); font-weight: 700; line-height: 1; color: var(--wine-700); margin: 0 0 .6rem; }
.impact-num sup { font-size: .5em; top: -.8em; margin-left: 2px; }
.impact-label { color: var(--muted); font-size: .92rem; margin: 0; }

/* --- vision & mission ---------------------------------------------------- */

.vm { background: var(--grad); color: rgba(255, 255, 255, .85); overflow: hidden; }
.vm-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 60% at 90% 10%, rgba(255, 255, 255, .10), transparent 70%),
    radial-gradient(30% 50% at 5% 100%, rgba(255, 255, 255, .08), transparent 70%);
}
.vm-bg::after {
  content: ""; position: absolute; right: -120px; top: 50%; width: 520px; height: 520px; transform: translateY(-50%);
  border-radius: 50%; border: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translateY(-50%) scale(1.08); } }
.vm-grid { position: relative; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.vm-head p { color: rgba(255, 255, 255, .78); }
.vm-item { position: relative; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .25); }
.vm-item::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: #fff; transition: width 1.2s var(--ease-out) .4s; }
.vm-item.is-in::before { width: 70px; }
.vm-item h3 { color: #fff; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.9rem); }
.vm-item p { font-size: 1.06rem; line-height: 1.8; }
.vm-icon { display: inline-grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.3rem; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.vm-icon svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 2.4; }

/* --- what we do ---------------------------------------------------------- */

.work-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.work-visual {
  position: sticky; top: calc(var(--header-h) + 30px);
  aspect-ratio: 4 / 4.4; border-radius: var(--radius); overflow: hidden; background: var(--wine-100);
  box-shadow: var(--shadow-2);
}
.work-visual img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transform: scale(1.12); transition: opacity .8s var(--ease), transform 1.4s var(--ease-out);
}
.work-visual img.is-active { opacity: 1; transform: scale(1); }
.work-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(46, 7, 18, .55), transparent 45%); }
.work-visual-num { position: absolute; left: 1.6rem; bottom: 1.1rem; z-index: 2; font-family: var(--font-display); font-size: 4.5rem; font-weight: 700; line-height: 1; color: #fff; }

.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-list > li { border-bottom: 1px solid var(--line); }
.work-item { position: relative; display: flex; align-items: center; gap: 1.4rem; padding: 1.45rem .4rem; color: var(--text); }
.work-item::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--blush);
  transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease-out);
}
.work-num { font-family: var(--font-display); font-size: 1rem; color: var(--wine-500); font-weight: 600; min-width: 28px; transition: color .3s; }
.work-body { flex: 1; display: flex; flex-direction: column; gap: .2rem; }
.work-title { font-family: var(--font-display); font-size: clamp(1.25rem, 1.1rem + .6vw, 1.65rem); color: var(--ink); font-weight: 600; line-height: 1.25; transition: color .3s, transform .45s var(--ease-out); }
.work-text { font-size: .93rem; color: var(--muted); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .5s var(--ease), opacity .4s; }
.work-thumb { display: none; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.work-arrow { width: 26px; height: 26px; fill: none; stroke: var(--wine-700); stroke-width: 1.8; opacity: 0; transform: translateX(-12px); transition: opacity .3s, transform .4s var(--ease-out); }
.work-item.is-active::before, .work-item:hover::before { transform: scaleY(1); }
.work-item.is-active .work-title, .work-item:hover .work-title { color: var(--wine-700); transform: translateX(8px); }
.work-item.is-active .work-text, .work-item:hover .work-text { max-height: 80px; opacity: 1; }
.work-item.is-active .work-arrow, .work-item:hover .work-arrow { opacity: 1; transform: none; }
.work-item.is-active .work-num { color: var(--wine-700); }

.work.compact .work-text { max-height: none; opacity: 1; }
.work.compact .work-thumb { display: block; }
.work-list.two-col { display: grid; grid-template-columns: 1fr 1fr; column-gap: 3rem; border-top: 0; }
.work-list.two-col > li:nth-child(-n+2) { border-top: 1px solid var(--line); }
.work.compact .work-item:hover .work-title { transform: none; }

/* --- stories (before / after) -------------------------------------------- */

.stories { background: var(--blush); }
.story { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.story + .story { margin-top: clamp(3.5rem, 8vw, 6rem); }
.story.reverse .compare { order: 2; }
.story-kicker { font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--wine-600); font-weight: 600; margin-bottom: .6rem; }
.story-copy h3 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.2rem); }

.compare { position: relative; aspect-ratio: 403 / 262; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-2); user-select: none; --pos: 50%; background: #ddd; }
.compare.portrait { aspect-ratio: 4 / 4.2; max-width: 520px; width: 100%; justify-self: center; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-before img { filter: saturate(.7); }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 4; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; z-index: 3; pointer-events: none; }
.compare-handle i {
  position: absolute; top: 50%; left: 50%; width: 52px; height: 52px; margin: -26px 0 0 -26px; border-radius: 50%;
  background: var(--wine-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l-5 6 5 6M15 6l5 6-5 6'/%3E%3C/svg%3E") center / 24px no-repeat;
  border: 3px solid #fff; box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}
.compare.hint .compare-handle i { animation: nudge 1.6s ease-in-out 2; }
@keyframes nudge { 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
.compare-label { position: absolute; top: 1rem; z-index: 2; padding: .3rem .85rem; border-radius: 999px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; background: rgba(46, 7, 18, .65); color: #fff; backdrop-filter: blur(4px); }
.compare-label.left { left: 1rem; }
.compare-label.right { right: 1rem; background: var(--wine-700); }

/* --- voices -------------------------------------------------------------- */

.voices-wrap { position: relative; max-width: 900px; margin: 0 auto; text-align: center; }
.voices-mark { width: 64px; height: 48px; margin: 0 auto 1.5rem; fill: var(--wine-100); }
.voices-stage { display: grid; }
.quote { grid-area: 1 / 1; margin: 0; opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .8s var(--ease), transform .8s var(--ease-out), visibility .8s; }
.quote.is-active { opacity: 1; visibility: visible; transform: none; }
.quote p { font-family: var(--font-display); font-size: clamp(1.35rem, 1.05rem + 1.4vw, 2.15rem); line-height: 1.45; color: var(--ink); font-style: italic; font-weight: 500; }
.quote footer { margin-top: 1.6rem; display: flex; flex-direction: column; gap: .15rem; }
.quote footer strong { color: var(--wine-700); font-size: 1.05rem; }
.quote footer span { color: var(--muted); font-size: .9rem; }
.voices-nav { display: flex; justify-content: center; gap: .6rem; margin-top: 2.2rem; }
.voices-nav button { width: 10px; height: 10px; padding: 0; border-radius: 10px; border: 0; background: var(--wine-200); transition: width .4s var(--ease-out), background .3s; }
.voices-nav button.is-active { width: 34px; background: var(--wine-700); }

/* --- gallery ------------------------------------------------------------- */

.gallery-section { padding-top: 0; }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: 14px; }
.gallery-item { position: relative; overflow: hidden; border-radius: 16px; background: var(--wine-100); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.gallery-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(74, 11, 29, .8), transparent 55%); opacity: 0; transition: opacity .5s var(--ease); }
.gallery-item span { position: absolute; left: 1.1rem; right: 1.1rem; bottom: .9rem; z-index: 2; color: #fff; font-weight: 600; font-size: .93rem; transform: translateY(12px); opacity: 0; transition: transform .5s var(--ease-out), opacity .4s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after, .gallery-item:hover span { opacity: 1; }
.gallery-item:hover span { transform: none; }
.gallery .g1 { grid-column: span 2; grid-row: span 2; }
.gallery .g4 { grid-column: span 2; }
.gallery .g5 { grid-row: span 2; }
.gallery .g8 { grid-row: span 2; }
.gallery .g9 { grid-column: span 2; }

/* --- call to action ------------------------------------------------------ */

.cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(5rem, 11vw, 9rem) 0; }
.cta-media { position: absolute; inset: -15% 0; }
.cta-media img { width: 100%; height: 100%; object-fit: cover; }
.cta-veil { position: absolute; inset: 0; background: radial-gradient(60% 75% at 50% 50%, rgba(30, 5, 12, .62), rgba(30, 5, 12, .22)); }
.cta h2, .cta p { text-shadow: 0 2px 20px rgba(0, 0, 0, .55); }
.cta-inner { position: relative; max-width: 860px; }
.cta h2 { color: #fff; font-size: clamp(2rem, 1.4rem + 2.8vw, 3.6rem); }
.cta h2 em { font-family: var(--font-script); font-style: normal; font-size: 1.25em; color: var(--wine-200); }
.cta p { color: rgba(255, 255, 255, .85); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }

/* --- enquiry ------------------------------------------------------------- */

.enquiry-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.contact-lines { list-style: none; padding: 0; margin: 2.2rem 0 0; display: grid; gap: 1.4rem; }
.contact-lines li { display: flex; gap: 1rem; align-items: center; }
.contact-lines small { display: block; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.contact-lines a { color: var(--ink); font-weight: 600; word-break: break-word; }
.contact-lines a:hover { color: var(--wine-700); }
.cl-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--wine-100); transition: background .3s, transform .4s var(--ease-out); }
.cl-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--wine-700); stroke-width: 1.8; stroke-linejoin: round; stroke-linecap: round; transition: stroke .3s; }
.contact-lines li:hover .cl-icon { background: var(--wine-700); transform: rotate(-8deg); }
.contact-lines li:hover .cl-icon svg { stroke: #fff; }

.enquiry-form { display: grid; gap: 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.field { position: relative; }
.field input, .field textarea, .field select {
  width: 100%; padding: 1.35rem 0 .55rem; border: 0; border-bottom: 1.5px solid var(--line);
  background: transparent; font: inherit; color: var(--ink); border-radius: 0; outline: none; appearance: none;
  transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 120px; }
.field label { position: absolute; left: 0; top: 1.3rem; color: var(--muted); pointer-events: none; transform-origin: left top; transition: transform .3s var(--ease), color .3s; }
.field::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--wine-700); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.field:focus-within::after { transform: scaleX(1); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field.select label { transform: translateY(-1.25rem) scale(.8); color: var(--wine-700); }
.field.select::before { content: ""; position: absolute; right: 4px; top: 1.75rem; width: 8px; height: 8px; border-right: 2px solid var(--wine-700); border-bottom: 2px solid var(--wine-700); transform: rotate(45deg); pointer-events: none; }
.field :focus-visible { outline: none; }
.field.has-error input, .field.has-error textarea { border-bottom-color: #c0392b; }
.field-error { display: block; margin-top: .35rem; font-size: .83rem; color: #c0392b; }
.enquiry-form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { padding: 1rem 1.2rem; border-left: 4px solid; font-size: .95rem; animation: rise .6s var(--ease-out) both; }
.form-alert.ok { border-color: #2e7d32; background: #eef7ef; color: #1e5a22; }
.form-alert.error { border-color: #c0392b; background: #fcefed; color: #8e2a20; }

/* --- inner pages --------------------------------------------------------- */

.page-hero { position: relative; overflow: hidden; color: #fff; padding: clamp(5rem, 12vw, 9rem) 0 clamp(3.5rem, 8vw, 6rem); background: var(--wine-900); }
.page-hero-media { position: absolute; inset: 0; }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 12s ease-out forwards; }
.page-hero-veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 5, 12, .72) 0%, rgba(30, 5, 12, .42) 35%, rgba(30, 5, 12, 0) 65%), linear-gradient(0deg, rgba(30, 5, 12, .25), transparent 45%); }
.page-hero h1, .page-hero p, .crumbs { text-shadow: 0 2px 18px rgba(0, 0, 0, .45); }
.page-hero-inner { position: relative; }
.page-hero-inner > * { max-width: 760px; animation: rise 1s var(--ease-out) both; }
.page-hero-inner > :nth-child(2) { animation-delay: .12s; }
.page-hero-inner > :nth-child(3) { animation-delay: .24s; }
.page-hero h1 { color: #fff; margin-bottom: .35em; font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); }
.page-hero p { color: rgba(255, 255, 255, .85); font-size: 1.12rem; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .88rem; color: var(--wine-200); margin-bottom: 1.1rem; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--wine-200); }

.page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2.5rem, 6vw, 5.5rem); align-items: start; }

.prose { color: var(--text); font-size: 1.04rem; }
.prose.narrow { max-width: 820px; margin: 0 auto; }
.prose h2 { font-size: clamp(1.55rem, 1.25rem + 1.2vw, 2.25rem); margin-top: 2.6rem; padding-top: 2.4rem; border-top: 1px solid var(--line); position: relative; }
.prose h2::before { content: ""; position: absolute; top: -1px; left: 0; width: 60px; height: 2px; background: var(--wine-700); }
.prose > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.prose > h2:first-child::before { display: none; }
.prose h2 + h2 { margin-top: 0; padding-top: 0; border-top: 0; font-size: clamp(1.2rem, 1.05rem + .6vw, 1.5rem); color: var(--wine-700); font-style: italic; font-weight: 500; }
.prose h2 + h2::before { display: none; }
.prose h3 { color: var(--wine-700); margin-top: 1.8rem; }
.prose p { margin-bottom: 1.15rem; }
.prose strong { color: var(--ink); }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose-figs { display: grid; gap: 1rem; margin: 2rem 0; }
.prose-figs.count-2 { grid-template-columns: 1fr 1fr; }
.prose-figs.count-3 { grid-template-columns: repeat(3, 1fr); }
.prose-fig { margin: 0; }
.prose-fig a { display: block; overflow: hidden; border-radius: 18px; background: var(--wine-100); }
.prose-fig img { width: 100%; max-height: 560px; object-fit: cover; transition: transform 1s var(--ease-out); }
.prose-figs.count-2 .prose-fig img { aspect-ratio: 4 / 3.2; height: 100%; }
.prose-fig a:hover img { transform: scale(1.05); }
.prose-fig figcaption { margin-top: .6rem; font-size: .88rem; color: var(--muted); padding-left: .9rem; border-left: 2px solid var(--wine-500); }
.ticks { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .7rem 1.8rem; }
.ticks li { position: relative; padding-left: 1.9rem; color: var(--ink); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .32rem; width: 20px; height: 20px; border-radius: 50%;
  background: var(--wine-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237b1530' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.page-aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 2.4rem; }
.aside-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links a { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .85rem 0; color: var(--ink); font-weight: 500; transition: color .3s, padding .35s var(--ease); }
.aside-links svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease); }
.aside-links a:hover, .aside-links a[aria-current] { color: var(--wine-700); padding-left: .5rem; }
.aside-links a:hover svg, .aside-links a[aria-current] svg { opacity: 1; transform: none; }
.aside-cta { position: relative; overflow: hidden; padding: 2rem 1.8rem; border-radius: var(--radius); background: var(--grad); color: rgba(255, 255, 255, .85); }
.aside-cta::after { content: "\263A"; position: absolute; right: -16px; bottom: -40px; font-size: 9rem; line-height: 1; color: rgba(255, 255, 255, .08); }
.aside-cta h3 { color: #fff; }
.aside-cta .btn { margin-top: 1.2rem; }

.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: clamp(3rem, 6vw, 5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.pager-link { display: flex; flex-direction: column; color: var(--ink); max-width: 48%; }
.pager-link.next { text-align: right; margin-left: auto; }
.pager-link small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.pager-link span { font-family: var(--font-display); font-size: clamp(1.15rem, 1rem + .6vw, 1.5rem); font-weight: 600; transition: color .3s, transform .35s var(--ease); }
.pager-link.prev span::before { content: "\2190  "; }
.pager-link.next span::after { content: "  \2192"; }
.pager-link.prev:hover span { transform: translateX(-6px); color: var(--wine-700); }
.pager-link.next:hover span { transform: translateX(6px); color: var(--wine-700); }

.values { background: var(--blush); }
.values-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.value { border-top: 2px solid var(--wine-200); padding-top: 1.6rem; transition: border-color .4s; }
.value:hover { border-color: var(--wine-700); }
.value-num { display: block; font-family: var(--font-display); font-size: 2.6rem; font-weight: 700; color: var(--wine-200); line-height: 1; margin-bottom: 1rem; transition: color .4s; }
.value:hover .value-num { color: var(--wine-700); }
.value p { color: var(--muted); }

.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post { display: flex; gap: 1.6rem; align-items: center; padding: 1.6rem 0; border-bottom: 1px solid var(--line); color: var(--text); }
.post img { width: 180px; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; flex-shrink: 0; }
.post-body { display: flex; flex-direction: column; gap: .3rem; }
.post-body small { color: var(--wine-600); font-weight: 600; }
.post-body strong { font-family: var(--font-display); font-size: 1.4rem; color: var(--ink); transition: color .3s; }
.post:hover strong { color: var(--wine-700); }
.empty { text-align: center; color: var(--muted); padding: 3rem 0; }

.map-wrap iframe { width: 100%; height: 420px; border: 0; }

/* --- footer -------------------------------------------------------------- */

.site-footer { position: relative; background: var(--wine-900); color: rgba(255, 255, 255, .72); margin-top: 60px; }
.footer-wave { position: absolute; left: 0; right: 0; top: -59px; height: 60px; overflow: hidden; }
.footer-wave svg { width: 100%; height: 100%; fill: var(--wine-900); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .9fr 1.1fr; gap: 2.5rem; padding-top: 3.5rem; padding-bottom: 3.5rem; }
.footer-about p { margin-top: 1.3rem; max-width: 34ch; }
.footer-title { color: #fff; font-family: var(--font-body); font-size: .85rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; margin-bottom: 1.3rem; }
.footer-links, .footer-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer-links a, .footer-contact a, .socials a { color: rgba(255, 255, 255, .72); position: relative; }
.footer-links a { display: inline-block; transition: color .3s, transform .35s var(--ease); }
.footer-links a:hover { color: #fff; transform: translateX(6px); }
.footer-contact a:hover, .socials a:hover { color: #fff; }
.footer-contact { margin-bottom: 1.4rem; word-break: break-word; }
.socials { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; margin-top: 1.3rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); font-size: .88rem; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 1.5rem; padding-top: 1.3rem; padding-bottom: 1.3rem; }
.heart { color: #ff8fab; display: inline-block; animation: beat 1.8s ease-in-out infinite; }

.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 50px; height: 50px; border-radius: 50%; border: 0;
  background: var(--wine-700); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px rgba(123, 21, 48, .35);
  opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity .35s, transform .35s var(--ease-out), visibility .35s, background .3s;
}
.to-top svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2.2; }
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--wine-900); }

/* --- lightbox ------------------------------------------------------------ */

.lightbox { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; padding: 4rem 1rem; background: rgba(30, 5, 12, .94); animation: fadeIn .3s ease both; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); text-align: center; }
.lightbox img { max-width: 100%; max-height: 80vh; margin: 0 auto; border-radius: 12px; animation: zoomIn .45s var(--ease-out) both; }
.lightbox figcaption { color: #fff; margin-top: 1rem; }
.lightbox button { position: absolute; border: 0; background: rgba(255, 255, 255, .1); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 2rem; line-height: 1; transition: background .3s; }
.lightbox button:hover { background: var(--wine-700); }
.lightbox-close { top: 18px; right: 18px; }
.lightbox-nav.prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox-nav.next { right: 18px; top: 50%; transform: translateY(-50%); }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } }

/* --- scroll reveal ------------------------------------------------------- */

.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.from-left { transform: translateX(-50px); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- responsive ---------------------------------------------------------- */

@media (min-width: 721px) and (max-height: 760px) {
  .hero-title { font-size: clamp(1.9rem, 1.2rem + 1.8vw, 2.7rem); }
  .hero-text { font-size: 1rem; }
  .hero-actions { margin-top: 1.1rem; }
  .hero-actions .btn-lg { padding: .8rem 1.6rem; font-size: .95rem; }
  .hero-controls { bottom: 22px; }
  .hero-copy { padding-bottom: 80px; }
}

@media (min-width: 1100px) {
  .hero-scroll { display: none; }
}

@media (max-width: 1100px) {
  .nav-link { padding: .6rem .6rem; }
  .nav-link::after { left: .6rem; right: .6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .vm-grid { grid-template-columns: 1fr 1fr; }
  .vm-head { grid-column: 1 / -1; max-width: 640px; }
  .values-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .site-header.is-scrolled .header-inner { height: 64px; }
  .topbar-note { display: none; }
  /* backdrop-filter would make the fixed slide-in menu position against the header */
  .site-header { background: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav-open .site-header { z-index: 120; }

  .nav-toggle {
    display: grid; gap: 5px; place-content: center; width: 46px; height: 46px; border: 0; border-radius: 50%;
    background: var(--wine-100); z-index: 120; position: relative;
  }
  .nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--wine-700); transition: transform .35s var(--ease), opacity .25s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav {
    position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 110;
    flex-direction: column; align-items: stretch; gap: 1.5rem; padding: calc(var(--header-h) + 1rem) 1.5rem 2rem;
    background: #fff; box-shadow: -20px 0 60px rgba(46, 7, 18, .2); overflow-y: auto;
    transform: translateX(105%); transition: transform .5s var(--ease-out); visibility: hidden;
  }
  .nav-open .nav { transform: none; visibility: visible; }
  .nav-open::after { content: ""; position: fixed; inset: 0; z-index: 105; background: rgba(46, 7, 18, .45); animation: fadeIn .3s both; }
  .nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-item { border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; }
  .nav-link { flex: 1; padding: .95rem .2rem; font-size: 1.05rem; }
  .nav-link::after, .caret { display: none; }
  .nav-expand { display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--blush); color: var(--wine-700); }
  .nav-expand svg { width: 14px; height: 14px; }
  .nav-expand[aria-expanded="true"] svg { transform: rotate(180deg); }
  .nav-drop {
    position: static; flex-basis: 100%; min-width: 0; padding: 0 0 .6rem; box-shadow: none; border-radius: 0;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .nav-item:hover .nav-drop { transform: none; }
  .nav-item.is-open .nav-drop { display: block; animation: rise .4s var(--ease-out) both; }
  .nav-drop a { padding: .55rem .9rem; }
  .nav-cta { align-self: stretch; }

  .about-grid, .story, .enquiry-grid, .page-grid, .work-wrap { grid-template-columns: 1fr; }
  .story.reverse .compare { order: 0; }
  .about-visual { max-width: 620px; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .impact-item:nth-child(3)::before { display: none; }
  .impact-item:nth-child(n+3) { border-top: 1px solid var(--line); }
  .work-visual { display: none; }
  .work-thumb { display: block; width: 64px; height: 64px; }
  .work-text { max-height: none; opacity: 1; }
  .work-arrow { display: none; }
  .work-item.is-active::before { transform: scaleY(0); }
  .work-item.is-active .work-title { transform: none; color: var(--ink); }
  .page-aside { position: static; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 180px; }
}

@media (max-width: 720px) {
  .hero { height: clamp(480px, 72svh, 600px); }
  .hero-stage { position: absolute; inset: 0; }
  /* on a phone the copy covers the whole photo, so a soft shade at the bottom only */
  .hero-veil { display: block; background: linear-gradient(0deg, rgba(30, 5, 12, .55) 0%, rgba(30, 5, 12, .15) 45%, transparent 70%); }
  .page-hero-veil { background: linear-gradient(90deg, rgba(30, 5, 12, .62), rgba(30, 5, 12, .25)); }
  .hero-copy { justify-content: flex-end; padding-bottom: 110px; }
  .hero-controls { bottom: 26px; gap: 1rem; }
  .hero-arrow { width: 42px; height: 42px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .work-list.two-col { grid-template-columns: 1fr; }
  .work-list.two-col > li:nth-child(2) { border-top: 0; }
  .form-row { grid-template-columns: 1fr; }
  .enquiry-form .btn { justify-self: stretch; }
  .prose-figs.count-2, .prose-figs.count-3 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .gallery .g1, .gallery .g4, .gallery .g9 { grid-column: span 2; }
  .gallery .g5, .gallery .g8 { grid-row: span 1; }
  .values-row, .vm-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .post { flex-direction: column; align-items: stretch; }
  .post img { width: 100%; }
  .about-badge { width: 100px; height: 100px; left: -4px; }
  .about-badge span { width: 52px; height: 52px; font-size: 1.3rem; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-name { font-size: 1.65rem; }
}

@media (max-width: 420px) {
  .impact-grid { grid-template-columns: 1fr; }
  .impact-item::before { display: none; }
  .impact-item + .impact-item { border-top: 1px solid var(--line); }
  .hero-count { display: none; }
  .topbar-links { justify-content: center; width: 100%; font-size: .78rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-copy > * { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
