/* =============================================================
   DUFFERIN STUDIO — Main Stylesheet (Modernized)
   Handcrafted Jewellery · Fredericton, NB
   ============================================================= */

/* ── Custom Properties ──────────────────────────────────────── */
:root {
  --bg:             #FAF8F5;
  --bg-alt:         #F0EBE3;
  --bg-dark:        #1A1610;
  --text-primary:   #1E1A14;
  --text-secondary: #6B5E54;
  --text-light:     #A09488;

  --sea-glass:      #7BA99C;
  --sea-glass-lt:   #A8C4BE;
  --copper:         #B5764D;
  --copper-lt:      #D4A07A;
  --ocean:          #5B7E8F;
  --pearl:          #E8E0D4;
  --silver:         #9BA5AB;
  --gold:           #C5A96E;

  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Lato', 'Helvetica Neue', Arial, sans-serif;

  --nav-h:        100px;
  --nav-h-scroll:  72px;
  --max-w:        1320px;
  --sec-pad:      clamp(96px, 12vw, 160px) 0;

  /* Motion system */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);   /* expo-out */
  --ease-smooth:  cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast:     .25s;
  --dur:          .5s;
  --dur-slow:     .9s;
  --ease:         var(--dur-fast) var(--ease-smooth);

  --radius:       18px;
  --radius-sm:    12px;
  --radius-lg:    28px;
  --radius-pill:  999px;

  /* Layered, soft shadow stacks */
  --shadow-sm:    0 1px 2px rgba(30,26,20,.04), 0 3px 10px rgba(30,26,20,.05);
  --shadow-md:    0 2px 4px rgba(30,26,20,.04), 0 8px 20px rgba(30,26,20,.07), 0 20px 44px rgba(30,26,20,.08);
  --shadow-lg:    0 4px 8px rgba(30,26,20,.05), 0 16px 36px rgba(30,26,20,.09), 0 40px 90px rgba(30,26,20,.12);

  accent-color: var(--copper);
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html  { scroll-behavior: smooth; font-size: 16px; }
body  { background: var(--bg); color: var(--text-primary); font-family: var(--font-body);
        line-height: 1.7; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img   { display: block; max-width: 100%; height: auto; }
a     { color: inherit; text-decoration: none; }
ul    { list-style: none; }
button { font-family: inherit; }

::selection { background: var(--copper); color: var(--bg); }

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

/* Film grain overlay — extremely subtle, sits above content */
body::after {
  content: '';
  position: fixed; inset: 0;
  z-index: 300; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: .028;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; z-index: 400;
  background: linear-gradient(90deg, var(--copper), var(--sea-glass));
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 {
  font-family: var(--font-heading); font-weight: 400;
  line-height: 1.08; letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(3rem, 6.5vw, 6.25rem); }
h2 { font-size: clamp(2.3rem, 4.2vw, 4rem); }
h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h4 { font-size: 1.2rem; letter-spacing: 0; }
p  { font-size: 1.0625rem; line-height: 1.9; color: var(--text-secondary); }

.section-label {
  display: inline-block;
  font-size: .68rem; font-weight: 700; letter-spacing: .3em;
  text-transform: uppercase; color: var(--sea-glass);
  margin-bottom: .625rem;
}
.section-title { margin-top: .5rem; margin-bottom: 1.5rem; }

/* ── Layout ─────────────────────────────────────────────────── */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }
section    { padding: var(--sec-pad); }

/* ── Reveal-on-scroll system (class added by JS) ───────────── */
.rv {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity var(--dur-slow) var(--ease-out),
    transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--rv-delay, 0s);
  will-change: opacity, transform;
}
.rv.in { opacity: 1; transform: none; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: .625rem;
  padding: 1rem 2.375rem;
  font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  border: 1.5px solid transparent; cursor: pointer;
  border-radius: var(--radius-pill);
  transition:
    background .35s var(--ease-out), color .35s var(--ease-out),
    border-color .35s var(--ease-out), transform .35s var(--ease-out),
    box-shadow .35s var(--ease-out), letter-spacing .35s var(--ease-out);
}
.btn::after {
  content: '\2192';
  font-size: .9em; line-height: 1;
  transform: translateX(-2px); opacity: .75;
  transition: transform .35s var(--ease-out), opacity .35s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); letter-spacing: .19em; }
.btn:hover::after { transform: translateX(3px); opacity: 1; }
.btn:active { transform: translateY(0); transition-duration: .12s; }

.btn-primary  { background: var(--text-primary); border-color: var(--text-primary); color: var(--bg); }
.btn-primary:hover { background: var(--copper); border-color: var(--copper); }
.btn-outline  { background: transparent; border-color: var(--text-primary); color: var(--text-primary); }
.btn-outline:hover { background: var(--text-primary); color: var(--bg); }
.btn-light    { background: transparent; border-color: rgba(250,248,245,.65); color: var(--bg); }
.btn-light:hover  { background: var(--bg); color: var(--text-primary); border-color: var(--bg); }
.btn-copper   { background: var(--copper); border-color: var(--copper); color: var(--bg); }
.btn-copper:hover { background: var(--text-primary); border-color: var(--text-primary); }

/* ── Navigation ─────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h); display: flex; align-items: center;
  transition:
    height .45s var(--ease-out), background .45s var(--ease-out),
    box-shadow .45s var(--ease-out), transform .45s var(--ease-out);
}
.nav.scrolled {
  height: var(--nav-h-scroll);
  background: rgba(250,248,245,.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  backdrop-filter: blur(18px) saturate(1.6);
  box-shadow: 0 1px 0 rgba(30,26,20,.07);
}
/* Hide on scroll down, reveal on scroll up */
.nav.nav-hidden { transform: translateY(-100%); }

/* Dark-hero transparent state */
body.dark-hero .nav:not(.scrolled) .nav-links a,
body.dark-hero .nav:not(.scrolled) .nav-cta { color: rgba(250,248,245,.85); }
body.dark-hero .nav:not(.scrolled) .nav-links a::after { background: var(--sea-glass-lt); }
body.dark-hero .nav:not(.scrolled) .nav-toggle span { background: var(--bg); }
.nav-logo img { transition: filter .35s var(--ease-out); }
body.dark-hero .nav:not(.scrolled) .nav-logo img { filter: brightness(0) invert(1); }

.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem;
}
.nav-logo img { height: 87px; width: auto; transition: height .45s var(--ease-out), filter .35s var(--ease-out); }
.nav.scrolled .nav-logo img { height: 60px; }

.nav-links { display: flex; align-items: center; gap: 3rem; }
.nav-links a {
  font-family: var(--font-body); font-size: .68rem; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text-primary);
  transition: color .3s var(--ease-out); position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1px; background: var(--copper); transform: scaleX(0);
  transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); transform-origin: left; }
.nav-links a:hover, .nav-links a.active { color: var(--copper); }

.nav-toggle {
  display: none; flex-direction: column; gap: 6px; cursor: pointer;
  background: none; border: none; padding: 6px;
  position: relative; z-index: 260;
}
.nav-toggle span {
  display: block; width: 26px; height: 1.5px; background: var(--text-primary);
  transition: transform .45s var(--ease-out), opacity .3s var(--ease-out), background .3s;
}
.nav-toggle.open span { background: var(--bg); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: -12% 0 0; will-change: transform; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ── Hero slider — the vitrine ─────────────────────────────── */
.hs-slide {
  position: absolute; inset: 0; margin: 0;
  visibility: hidden; overflow: hidden;
}
.hs-slide.is-active  { visibility: visible; z-index: 2; }
.hs-slide.is-leaving { visibility: visible; z-index: 1; }

/* Incoming: cinematic wipe (direction alternates) + settle */
.hs-slide.is-active[data-dir="r"] { animation: wipeR 1.35s var(--ease-out) both; }
.hs-slide.is-active[data-dir="l"] { animation: wipeL 1.35s var(--ease-out) both; }
@keyframes wipeR {
  from { clip-path: inset(0 0 0 100%); transform: scale(1.04); }
  to   { clip-path: inset(0 0 0 0);    transform: scale(1); }
}
@keyframes wipeL {
  from { clip-path: inset(0 100% 0 0); transform: scale(1.04); }
  to   { clip-path: inset(0 0 0 0);    transform: scale(1); }
}
/* Outgoing: slow drift into shadow */
.hs-slide.is-leaving { animation: slideAway 1.35s var(--ease-smooth) both; }
@keyframes slideAway {
  from { transform: scale(1);    filter: brightness(1); }
  to   { transform: scale(1.05); filter: brightness(.55); }
}
/* Ken Burns breathing on the active image (direction alternates) */
.hs-slide.is-active[data-kb="a"] img { animation: kbA 7.5s linear both; }
.hs-slide.is-active[data-kb="b"] img { animation: kbB 7.5s linear both; }
@keyframes kbA {
  from { transform: scale(1.1) translateX(1.5%); }
  to   { transform: scale(1)   translateX(0); }
}
@keyframes kbB {
  from { transform: scale(1)    translateX(0); }
  to   { transform: scale(1.1)  translateX(-1.5%); }
}

/* Slider UI — editorial counter, timing line, arrows */
.slider-ui {
  position: absolute; bottom: 2.75rem; right: 2.5rem; z-index: 3;
  display: flex; flex-direction: column; align-items: flex-end; gap: 1rem;
}
.slider-count {
  font-family: var(--font-heading); font-style: italic;
  color: var(--pearl); line-height: 1;
  display: flex; align-items: baseline; gap: .625rem;
}
.sc-cur   { font-size: 2.25rem; display: inline-block; }
.sc-cur.tick { animation: fadeUp .6s var(--ease-out) both; }
.sc-sep   { color: rgba(250,248,245,.35); font-size: 1rem; }
.sc-total { font-size: .95rem; color: rgba(250,248,245,.45); }
.slider-line {
  width: 180px; height: 1px;
  background: rgba(250,248,245,.22);
  overflow: hidden;
}
.slider-line-fill {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(90deg, var(--copper-lt), var(--sea-glass-lt));
  transform: scaleX(0); transform-origin: 0 50%;
}
.slider-line-fill.run { animation: lineFill 6s linear both; }
@keyframes lineFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.slider-arrows { display: flex; gap: .625rem; }
.slider-arrow {
  width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1px solid rgba(250,248,245,.28);
  color: rgba(250,248,245,.75); font-size: 1rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out),
              color .35s var(--ease-out), transform .35s var(--ease-out);
}
.slider-arrow:hover {
  background: rgba(250,248,245,.12); border-color: rgba(250,248,245,.6);
  color: var(--bg); transform: translateY(-2px);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    112deg,
    rgba(26,22,16,.88) 0%,
    rgba(26,22,16,.55) 50%,
    rgba(26,22,16,.14) 100%
  );
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 780px; color: var(--bg);
  padding-top: var(--nav-h);
}
.hero-eyebrow {
  font-family: var(--font-body); font-size: .68rem; font-weight: 400;
  letter-spacing: .34em; text-transform: uppercase;
  color: rgba(232,224,212,.78); margin-bottom: 1.75rem;
}
.hero h1 {
  color: #FAF8F5; font-style: italic;
  text-shadow: 0 4px 32px rgba(0,0,0,.25);
  margin-bottom: 1.875rem; line-height: 1.05;
}
/* Line-mask entrance choreography */
.hl   { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.hl-i { display: block; transform: translateY(112%); }
.hero.hero-in .hl-i { animation: lineUp 1.1s var(--ease-out) forwards; }
.hero.hero-in .hl:nth-child(1) .hl-i { animation-delay: .15s; }
.hero.hero-in .hl:nth-child(2) .hl-i { animation-delay: .27s; }
.hero.hero-in .hl:nth-child(3) .hl-i { animation-delay: .39s; }
@keyframes lineUp { to { transform: translateY(0); } }

.hero-eyebrow, .hero-sub, .hero-cta { opacity: 0; }
.hero.hero-in .hero-eyebrow { animation: fadeUp 1s var(--ease-out) .05s forwards; }
.hero.hero-in .hero-sub     { animation: fadeUp 1s var(--ease-out) .65s forwards; }
.hero.hero-in .hero-cta     { animation: fadeUp 1s var(--ease-out) .85s forwards; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
/* No-JS / reduced-motion fallback: everything visible */
.hero:not(.hero-in) .hl-i,
.hero:not(.hero-in) .hero-eyebrow,
.hero:not(.hero-in) .hero-sub,
.hero:not(.hero-in) .hero-cta { opacity: 1; transform: none; }

.hero-sub {
  font-size: clamp(1.05rem, 1.4vw, 1.15rem); line-height: 1.85; font-weight: 300;
  color: rgba(250,248,245,.82); margin-bottom: 2.75rem; max-width: 520px;
}
.hero-cta { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 2.75rem; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: .6rem;
}
.hero-scroll span {
  font-size: .64rem; font-weight: 400; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(250,248,245,.45);
}
.hero-scroll-line {
  width: 1px; height: 52px; background: rgba(250,248,245,.22);
  position: relative; overflow: hidden;
}
.hero-scroll-line::after {
  content: ''; position: absolute; left: 0; top: -100%;
  width: 100%; height: 100%;
  background: rgba(250,248,245,.85);
  animation: scrollDrop 2.2s var(--ease-smooth) infinite;
}
@keyframes scrollDrop {
  0%   { top: -100%; }
  55%  { top: 100%; }
  100% { top: 100%; }
}

/* ── Marquee band ───────────────────────────────────────────── */
.marquee {
  background: var(--bg-dark); overflow: hidden;
  padding: 1.375rem 0;
  border-top: 1px solid rgba(250,248,245,.06);
  display: flex; user-select: none;
}
.marquee-track {
  display: flex; flex-shrink: 0; align-items: center;
  min-width: 100%; gap: 3.5rem; padding-right: 3.5rem;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: rgba(250,248,245,.34); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 3.5rem;
}
.marquee-track span::after {
  content: '\2726';  /* four-pointed star */
  font-size: .55em; color: var(--copper); opacity: .7; font-style: normal;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-100%); }
}

/* ── Intro ──────────────────────────────────────────────────── */
.intro { background: var(--bg); text-align: center; padding: clamp(88px, 10vw, 130px) 0; }
.intro-inner { max-width: 720px; margin: 0 auto; }
.intro-inner h2 { margin-bottom: 1.5rem; font-style: italic; }
.intro-inner p  { font-size: 1.15rem; line-height: 2; color: var(--text-secondary); }
.intro-rule {
  width: 48px; height: 1px; background: var(--copper);
  margin: 2rem auto;
  transform-origin: center;
}

/* ── Featured Grid — Editorial Bento ───────────────────────── */
.featured { background: var(--bg-alt); }
.section-header { text-align: center; margin-bottom: 4.5rem; }
.section-header p { max-width: 520px; margin: .875rem auto 0; }

.feat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.feat-item {
  position: relative; overflow: hidden;
  background: var(--pearl);
  cursor: pointer;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.feat-item:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }

/* Editorial bento: items 1 and 6 span 2 columns (landscape) */
.feat-item:nth-child(1),
.feat-item:nth-child(6) {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.feat-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1s var(--ease-out);
}
.feat-item:hover img { transform: scale(1.045); }

/* Roman numeral signature — replaces material captions */
.feat-grid { counter-reset: piece; }
.feat-item::after {
  counter-increment: piece;
  content: counter(piece, upper-roman);
  position: absolute; left: 1.375rem; bottom: 1.125rem;
  font-family: var(--font-heading); font-style: italic; font-weight: 300;
  font-size: 1.25rem; letter-spacing: .08em;
  color: var(--pearl);
  text-shadow: 0 2px 14px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(10px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none;
}
.feat-item:hover::after { opacity: .95; transform: none; }
.feat-footer { text-align: center; margin-top: 3.5rem; }

/* ── Story Preview ──────────────────────────────────────────── */
.story { background: var(--bg); overflow: hidden; }
.story-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 620px;
  max-width: var(--max-w); margin: 0 auto;
}
.story-img {
  overflow: hidden;
  border-radius: var(--radius) 0 0 var(--radius);
  margin: 3rem 0 3rem 2.5rem;
  box-shadow: var(--shadow-lg);
}
.story-img img {
  width: 100%; height: 100%; object-fit: cover; object-position: top center;
  transition: transform 1.2s var(--ease-out);
}
.story-img:hover img { transform: scale(1.03); }
.story-body {
  display: flex; align-items: center;
  padding: 5rem 5.5rem 5rem 4.5rem;
  background: var(--bg-alt);
}
.story-body-inner { max-width: 520px; }
.story-body h2 {
  margin-bottom: 1.25rem; font-style: italic;
  font-size: clamp(2.5rem, 3.8vw, 3.7rem);
  line-height: 1.12; letter-spacing: -0.02em;
}
/* "a life well-lived" — copper accent with a hand-drawn underline */
.story-body h2 .flourish {
  color: var(--copper); font-style: italic;
  position: relative; white-space: nowrap;
}
.story-body h2 .flourish::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -.22em; height: .3em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 9 Q 60 2 120 6 T 198 5' stroke='%23B5764D' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
  transform-origin: 0 50%;
  transition: transform .7s var(--ease-out) .15s;
}
/* The underline draws itself once the typewriter finishes */
.story-body h2.tw:not(.done) .flourish::after { transform: scaleX(0); transition: none; }
.story-quote {
  font-family: var(--font-heading); font-size: clamp(1.4rem,2.1vw,1.9rem);
  font-style: italic; line-height: 1.5; color: var(--text-primary);
  border-left: 2px solid var(--copper); padding-left: 1.75rem;
  margin: 1.75rem 0 2rem;
}
.story-body p { margin-bottom: 1.1rem; }
.story-body .btn { margin-top: 1.25rem; }

/* ── Materials Preview ──────────────────────────────────────── */
.mat-prev { background: var(--bg-dark); color: var(--bg); position: relative; }
.mat-prev::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(123,169,156,.08) 0%, transparent 70%);
}
.mat-prev .section-label { color: var(--sea-glass-lt); }
.mat-prev .section-header h2 { color: var(--bg); font-style: italic; }
.mat-prev .section-header p  { color: rgba(250,248,245,.55); }
.mat-cards {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem; margin-top: 4rem;
  position: relative;
}
.mat-card {
  text-align: center; padding: 2.375rem 1.25rem;
  border: 1px solid rgba(250,248,245,.08);
  border-radius: var(--radius-sm);
  background: rgba(250,248,245,.015);
  transition: border-color .45s var(--ease-out), background .45s var(--ease-out),
              transform .45s var(--ease-out);
}
.mat-card:hover {
  border-color: rgba(181,118,77,.5);
  background: rgba(181,118,77,.05);
  transform: translateY(-5px);
}
.mat-card-icon { width: 44px; height: 44px; margin: 0 auto 1.5rem;
  transition: transform .45s var(--ease-out); }
.mat-card:hover .mat-card-icon { transform: translateY(-3px) scale(1.06); }
.mat-card h4 {
  font-family: var(--font-body); font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: rgba(250,248,245,.9);
  margin-bottom: .6rem;
}
.mat-card p  { font-size: .875rem; color: rgba(250,248,245,.5); line-height: 1.7; }
.mat-prev-footer { text-align: center; margin-top: 3.5rem; position: relative; }

/* ── Contact CTA ────────────────────────────────────────────── */
.cta-band { background: var(--bg); text-align: center; padding: clamp(88px, 10vw, 130px) 0; }
.cta-band .section-label { display: block; margin-bottom: .75rem; }
.cta-band h2 { margin-bottom: 1.25rem; }
.cta-band p  { max-width: 480px; margin: 0 auto 3rem; font-size: 1.075rem; }
.cta-btns { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }

/* ── Page Banner ────────────────────────────────────────────── */
.page-banner {
  background: var(--bg-dark); text-align: center;
  padding: calc(var(--nav-h) + 4.5rem) 0 5rem;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 65%, rgba(91,126,143,.18) 0%, transparent 68%);
}
.page-banner-inner { position: relative; z-index: 1; }
.page-banner h1 { color: var(--bg); font-style: italic; margin-bottom: .875rem; }
.page-banner p  { color: rgba(250,248,245,.62); font-size: 1.075rem; max-width: 520px; margin: 0 auto; }

/* Banner entrance */
.page-banner-inner > * { opacity: 0; transform: translateY(24px); }
.page-banner.banner-in .page-banner-inner > * {
  animation: fadeUp .9s var(--ease-out) forwards;
}
.page-banner.banner-in .page-banner-inner > *:nth-child(1) { animation-delay: .05s; }
.page-banner.banner-in .page-banner-inner > *:nth-child(2) { animation-delay: .16s; }
.page-banner.banner-in .page-banner-inner > *:nth-child(3) { animation-delay: .27s; }
.page-banner:not(.banner-in) .page-banner-inner > * { opacity: 1; transform: none; }

.breadcrumb {
  display: flex; justify-content: center; gap: .5rem;
  font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 1.25rem; color: rgba(250,248,245,.38);
}
.breadcrumb a { color: rgba(250,248,245,.58); transition: color .3s var(--ease-out); }
.breadcrumb a:hover { color: var(--bg); }
.breadcrumb sep { color: rgba(250,248,245,.28); }

/* ── About Page ─────────────────────────────────────────────── */
.about-intro { background: var(--bg); }
.about-grid  { display: grid; grid-template-columns: 1fr 1.5fr; gap: 6rem; align-items: start; }
.about-portrait { position: sticky; top: calc(var(--nav-h-scroll) + 2.5rem); }
.about-portrait img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.portrait-note {
  margin-top: 1rem; font-size: .82rem; color: var(--text-light);
  text-align: center; font-style: italic; letter-spacing: .06em;
}

.about-body h2 { margin-bottom: 1.75rem; font-style: italic; }
.about-body p  { margin-bottom: 1.35rem; font-size: 1.075rem; }
.about-pull {
  background: var(--bg-alt); border-left: 2px solid var(--sea-glass);
  padding: 1.875rem 2.25rem; margin: 2.5rem 0;
  font-family: var(--font-heading); font-size: clamp(1.3rem,2vw,1.6rem);
  font-style: italic; color: var(--text-primary); line-height: 1.55;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.about-details { background: var(--bg-alt); padding: 80px 0; }
.detail-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.detail-card {
  background: var(--bg); padding: 2.25rem 2rem;
  border-radius: var(--radius-sm);
  border-top: 2px solid var(--copper);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out);
}
.detail-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.detail-card h4 {
  font-family: var(--font-body); font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--copper); margin-bottom: .875rem;
}
.detail-card p { font-size: .9375rem; }

/* ── Gallery Page ───────────────────────────────────────────── */
.gallery-controls {
  background: rgba(250,248,245,.86);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  border-bottom: 1px solid rgba(232,224,212,.8);
  padding: 1.875rem 0; position: sticky; top: 0; z-index: 10;
}
.filter-wrap { display: flex; gap: .625rem; flex-wrap: wrap; justify-content: center; }
.filter-btn {
  padding: .5rem 1.375rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  border: 1.5px solid var(--pearl); background: transparent;
  color: var(--text-secondary); cursor: pointer;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out),
              color .35s var(--ease-out), transform .35s var(--ease-out);
  border-radius: var(--radius-pill);
}
.filter-btn:hover { transform: translateY(-1px); }
.filter-btn:hover, .filter-btn.active {
  background: var(--text-primary); border-color: var(--text-primary); color: var(--bg);
}

.gallery-main { background: var(--bg); padding: 3.5rem 0 6rem; }
.masonry { columns: 3; column-gap: 1.1rem; }
.g-card {
  break-inside: avoid; margin-bottom: 1.1rem;
  position: relative; overflow: hidden;
  background: var(--pearl); cursor: pointer;
  border-radius: var(--radius);
  transition: box-shadow .5s var(--ease-out), transform .5s var(--ease-out),
              opacity .3s var(--ease-smooth);
}
.g-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.g-card img {
  width: 100%; height: auto; display: block;
  transition: transform 1s var(--ease-out);
}
.g-card:hover img { transform: scale(1.035); }

.g-cap { display: none; }

.g-card.hidden { display: none; }
.g-card.is-hiding { opacity: 0; transform: scale(.96); }

/* ── Lightbox ───────────────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(16,13,9,.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .4s var(--ease-out);
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lb-inner {
  position: relative;
  transform: scale(.94) translateY(12px);
  transition: transform .5s var(--ease-out);
}
.lightbox.open .lb-inner { transform: none; }
.lb-inner img {
  max-width: 88vw; max-height: 84vh; object-fit: contain; display: block;
  border-radius: var(--radius-sm);
}
.lb-cap {
  text-align: center; margin-top: 1rem; font-size: .76rem;
  color: rgba(250,248,245,.45); font-style: italic; letter-spacing: .1em;
}
.lb-close {
  position: fixed; top: 1.5rem; right: 1.75rem;
  background: none; border: none; color: var(--bg);
  font-size: 2rem; cursor: pointer; opacity: .5;
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); line-height: 1;
}
.lb-close:hover { opacity: 1; transform: rotate(90deg); }
.lb-prev, .lb-next {
  position: fixed; top: 50%; transform: translateY(-50%);
  background: none; border: 1px solid rgba(250,248,245,.2); color: var(--bg);
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem; opacity: .5;
  transition: opacity .3s var(--ease-out), background .3s var(--ease-out);
  border-radius: 50%;
}
.lb-prev:hover, .lb-next:hover { opacity: 1; background: rgba(250,248,245,.1); }
.lb-prev { left: 1.75rem; }
.lb-next { right: 1.75rem; }

/* ── Materials Page ─────────────────────────────────────────── */
.mat-intro { background: var(--bg); text-align: center; }
.mat-intro-text { max-width: 660px; margin: 0 auto; }

.craft-section { background: var(--bg-alt); }
.craft-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 3rem 5rem; }
.craft-item { display: flex; gap: 1.75rem; align-items: flex-start; }
.craft-num {
  font-family: var(--font-heading); font-size: 3.5rem; font-weight: 300;
  color: var(--copper); opacity: .3; line-height: 1; min-width: 3.5rem;
}
.craft-text h3 { font-size: 1.5rem; margin-bottom: .875rem; }

.mat-list-section { background: var(--bg); }
.mat-list-header { text-align: center; margin-bottom: 3.5rem; }
.mat-tags { display: flex; flex-wrap: wrap; gap: .875rem; justify-content: center; max-width: 860px; margin: 0 auto; }
.mat-tag {
  padding: .65rem 1.5rem;
  border: 1.5px solid var(--pearl); background: var(--bg-alt);
  border-radius: var(--radius-pill);
  font-size: .9rem; color: var(--text-secondary); font-style: italic;
  transition: border-color .35s var(--ease-out), color .35s var(--ease-out),
              background .35s var(--ease-out), transform .35s var(--ease-out);
}
.mat-tag:hover {
  border-color: var(--copper); color: var(--copper); background: var(--bg);
  transform: translateY(-2px);
}

.mat-img-band { background: var(--bg-dark); padding: 80px 0; }
.mat-img-band-header { text-align: center; margin-bottom: 3rem; }
.mat-img-band-header h2 { color: var(--bg); font-style: italic; }
.mat-img-band-header p  { color: rgba(250,248,245,.55); }
.mat-img-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.mat-img-grid a { display: block; overflow: hidden; aspect-ratio: 1; border-radius: var(--radius); }
.mat-img-grid img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease-out), opacity .35s var(--ease-out);
}
.mat-img-grid a:hover img { transform: scale(1.05); opacity: .88; }

/* ── Contact Page ───────────────────────────────────────────── */
.contact-layout { background: var(--bg); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.55fr; gap: 6rem; align-items: start; }

.contact-info h2 { margin-bottom: 1.5rem; font-style: italic; }
.contact-info > p { margin-bottom: 2.5rem; font-size: 1.075rem; }
.c-detail { display: flex; gap: 1.1rem; margin-bottom: 1.75rem; align-items: flex-start; }
.c-detail-icon { width: 20px; height: 20px; margin-top: 2px; color: var(--copper); flex-shrink: 0; }
.c-detail strong {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase; color: var(--text-primary); margin-bottom: .3rem;
}
.c-detail span { font-size: .9375rem; color: var(--text-secondary); }

.contact-form-wrap {
  background: var(--bg-alt); padding: 3.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}
.contact-form h3 { font-size: 1.6rem; margin-bottom: .5rem; font-style: italic; }
.contact-form > p { font-size: .9375rem; color: var(--text-secondary); margin-bottom: 2.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.625rem; }
.form-group label {
  display: block; font-size: .68rem; font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text-primary); margin-bottom: .5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: .9rem 1.1rem;
  background: var(--bg); border: 1.5px solid rgba(232,224,212,.9);
  border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: .9375rem; color: var(--text-primary);
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out); outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sea-glass);
  box-shadow: 0 0 0 4px rgba(123,169,156,.13);
}
.form-group textarea { resize: vertical; min-height: 148px; }
.form-submit {
  width: 100%; padding: 1.05rem; background: var(--text-primary); border: none;
  color: var(--bg); font-family: var(--font-body); font-size: .72rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; cursor: pointer;
  transition: background .35s var(--ease-out), transform .35s var(--ease-out),
              box-shadow .35s var(--ease-out);
  border-radius: var(--radius-pill);
}
.form-submit:hover { background: var(--copper); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.form-note { font-size: .8125rem; color: var(--text-light); margin-top: 1rem; font-style: italic; }
.form-success { display: none; text-align: center; padding: 2.75rem 1rem; }
.form-success h3 { color: var(--sea-glass); margin-bottom: .875rem; }

/* ── Footer — navy fabric, Atlantic provinces sketch ────────── */
.footer {
  color: var(--bg); padding: 72px 0 40px; overflow: hidden;
  background-color: #101C33;
  background-image:
    /* White outline sketch: NB, NS, PEI */
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 400' fill='none' stroke='%23FFFFFF' stroke-opacity='0.20' stroke-width='2.5' stroke-linejoin='round' stroke-linecap='round'%3E%3Cpath d='M150 60 L262 40 L284 56 L332 70 L322 102 L332 142 L312 172 L350 200 L342 216 L282 214 L232 190 L202 200 L172 190 L162 122 Z'/%3E%3Cpath d='M355 208 L406 198 L456 190 L478 186 L470 226 L432 262 L386 296 L346 316 L323 306 L331 290 L366 264 L410 236 L438 212 Z'/%3E%3Cpath d='M490 156 L516 130 L546 124 L562 150 L546 186 L516 201 L492 186 Z'/%3E%3Cpath d='M362 152 Q398 136 434 141 Q452 144 466 151 Q451 166 416 161 Q388 163 366 159 Z'/%3E%3C/svg%3E"),
    /* Fabric weave: warp + weft threads */
    repeating-linear-gradient(0deg,  rgba(255,255,255,.025) 0px, rgba(255,255,255,.025) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.018) 0px, rgba(255,255,255,.018) 1px, transparent 1px, transparent 4px),
    /* Soft sheen across the cloth */
    linear-gradient(120deg, rgba(255,255,255,.04) 0%, transparent 45%),
    /* Navy depth */
    linear-gradient(165deg, #182842 0%, #101C33 55%, #0C1628 100%);
  background-repeat: no-repeat, repeat, repeat, no-repeat, no-repeat;
  background-position: right -2rem center, 0 0, 0 0, 0 0, 0 0;
  background-size: min(640px, 72vw) auto, auto, auto, cover, cover;
}
.footer-wordmark {
  font-family: var(--font-heading); font-style: italic; font-weight: 300;
  font-size: clamp(2.75rem, 9.5vw, 8.5rem);
  line-height: 1; letter-spacing: -0.02em;
  color: rgba(250,248,245,.07);
  white-space: nowrap;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  user-select: none; pointer-events: none;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(250,248,245,.08);
  margin-bottom: 2.5rem;
}
.footer-brand img  { height: 70px; margin-bottom: 1.5rem; filter: brightness(0) invert(1); opacity: .82; }
.footer-brand p    { color: rgba(250,248,245,.52); font-size: .9375rem; max-width: 280px; line-height: 1.85; }
.footer-col h4     {
  font-size: .64rem; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(250,248,245,.38); margin-bottom: 1.5rem;
}
.footer-col ul li  { margin-bottom: .875rem; }
.footer-col ul a   {
  font-size: .9375rem; color: rgba(250,248,245,.62);
  transition: color .3s var(--ease-out), padding-left .3s var(--ease-out);
}
.footer-col ul a:hover { color: var(--bg); padding-left: 6px; }
.footer-col address { font-style: normal; font-size: .9375rem; color: rgba(250,248,245,.62); line-height: 2; }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: .25rem;
}
.fb-copy {
  font-size: .68rem; font-weight: 400;
  letter-spacing: .18em; text-transform: uppercase;
  color: rgba(250,248,245,.35);
}
.fb-copy span { color: rgba(250,248,245,.65); font-weight: 700; }
.fb-made {
  font-family: var(--font-heading); font-style: italic; font-weight: 300;
  font-size: 1.05rem; letter-spacing: .02em;
  color: rgba(250,248,245,.55);
  display: inline-flex; align-items: center; gap: .625rem;
}
.fb-star {
  color: var(--copper-lt); font-style: normal; font-size: .8em;
  display: inline-block;
  animation: starTwinkle 3.5s ease-in-out infinite;
}
@keyframes starTwinkle {
  50% { opacity: .35; transform: scale(.8) rotate(25deg); }
}

/* ── Lazy Load ──────────────────────────────────────────────── */
img.lazy        { opacity: 0; transition: opacity .5s var(--ease-out); }
img.lazy.loaded { opacity: 1; }

/* ── Utilities ──────────────────────────────────────────────── */
.text-center { text-align: center; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .mat-cards    { grid-template-columns: repeat(3, 1fr); }
  .footer-grid  { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .about-grid   { gap: 4rem; }
  .contact-grid { gap: 3.5rem; }
  .story-img    { margin: 2rem 0 2rem 1.5rem; }
}

@media (max-width: 900px) {
  :root { --nav-h: 72px; --nav-h-scroll: 62px; --sec-pad: 80px 0; }

  /* Full-screen overlay menu */
  .nav-links {
    position: fixed; inset: 0; z-index: 250;
    background:
      radial-gradient(ellipse at 50% 100%, rgba(123,169,156,.10) 0%, transparent 60%),
      var(--bg-dark);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: .5rem;
    opacity: 0; pointer-events: none; visibility: hidden;
    transition: opacity .5s var(--ease-out), visibility 0s .5s;
  }
  .nav-links.open {
    opacity: 1; pointer-events: all; visibility: visible;
    transition: opacity .5s var(--ease-out), visibility 0s;
  }
  .nav-links li {
    opacity: 0; transform: translateY(22px);
    transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
  }
  .nav-links.open li { opacity: 1; transform: none; }
  .nav-links.open li:nth-child(1) { transition-delay: .10s; }
  .nav-links.open li:nth-child(2) { transition-delay: .16s; }
  .nav-links.open li:nth-child(3) { transition-delay: .22s; }
  .nav-links.open li:nth-child(4) { transition-delay: .28s; }
  .nav-links.open li:nth-child(5) { transition-delay: .34s; }
  .nav-links a {
    display: block; padding: .625rem 2rem;
    font-family: var(--font-heading); font-style: italic;
    font-size: clamp(1.9rem, 8vw, 2.7rem); font-weight: 300;
    letter-spacing: 0; text-transform: none;
    color: var(--pearl) !important;
  }
  .nav-links a::after { display: none; }
  .nav-links a:hover, .nav-links a.active { color: var(--copper-lt) !important; }
  .nav-toggle { display: flex; }

  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .feat-item:nth-child(1),
  .feat-item:nth-child(6) {
    grid-column: span 2;
    aspect-ratio: 16/9;
  }
  .feat-item { aspect-ratio: 1; }

  .story-grid    { grid-template-columns: 1fr; }
  .story-img     {
    min-height: 360px;
    border-radius: var(--radius) var(--radius) 0 0;
    margin: 0;
  }
  .story-body    { padding: 3rem 2.5rem; }
  .story-body-inner { max-width: none; }
  .mat-cards     { grid-template-columns: repeat(2, 1fr); }
  .about-grid    { grid-template-columns: 1fr; gap: 3rem; }
  .about-portrait { position: static; max-width: 320px; margin: 0 auto; }
  .about-portrait img { aspect-ratio: 1; }
  .detail-cards  { grid-template-columns: 1fr; gap: 1.25rem; }
  .masonry       { columns: 2; }
  .craft-grid    { grid-template-columns: 1fr; gap: 2.5rem; }
  .mat-img-grid  { grid-template-columns: repeat(3, 1fr); }
  .contact-grid  { grid-template-columns: 1fr; gap: 3rem; }
  .contact-form-wrap { padding: 2.25rem; border-radius: var(--radius); }
  .form-row      { grid-template-columns: 1fr; gap: 0; }
  .footer-grid   { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; gap: .625rem; text-align: center; }
}

@media (max-width: 560px) {
  .hero h1      { font-size: 2.7rem; }
  .story-body h2 { font-size: 2.1rem; }
  .feat-grid    { grid-template-columns: 1fr; }
  .feat-item:nth-child(1),
  .feat-item:nth-child(6) { grid-column: span 1; aspect-ratio: 4/3; }
  .masonry      { columns: 1; }
  .mat-cards    { grid-template-columns: 1fr 1fr; }
  .mat-img-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-cta     { flex-direction: column; align-items: flex-start; }
  .container    { padding: 0 1.5rem; }
  .slider-ui    { right: 1.25rem; bottom: 2rem; gap: .75rem; }
  .sc-cur       { font-size: 1.6rem; }
  .slider-line  { width: 120px; }
  .slider-arrow { width: 40px; height: 40px; }
}

/* =============================================================
   MASTERPIECE LAYER — arrival, cursor, atmosphere, interaction
   ============================================================= */

/* ── Preloader curtain ──────────────────────────────────────── */
.preloader {
  position: fixed; inset: 0; z-index: 600;
  background: var(--bg-dark);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 1.25rem;
  transition: transform .95s var(--ease-out);
}
.preloader.lift { transform: translateY(-101%); }
.preloader-mark { overflow: hidden; }
.preloader-mark span {
  display: block;
  font-family: var(--font-heading); font-style: italic; font-weight: 300;
  font-size: clamp(2.6rem, 6vw, 4.5rem); line-height: 1.1;
  color: var(--pearl);
  transform: translateY(110%);
  animation: lineUp 1s var(--ease-out) .15s forwards;
}
.preloader-sub {
  font-size: .64rem; font-weight: 700; letter-spacing: .34em; text-transform: uppercase;
  color: rgba(250,248,245,.4);
  opacity: 0;
  animation: fadeUp .9s var(--ease-out) .5s forwards;
}
body.preloading { overflow: hidden; }

/* ── Custom cursor ──────────────────────────────────────────── */
body.has-cursor, body.has-cursor a, body.has-cursor button,
body.has-cursor input, body.has-cursor textarea, body.has-cursor select {
  cursor: none;
}
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0; z-index: 700;
  pointer-events: none; border-radius: 50%;
  transform: translate(-50%, -50%);
}
.cursor-dot {
  width: 7px; height: 7px;
  background: #fff; mix-blend-mode: difference;
  transition: opacity .3s, width .3s var(--ease-out), height .3s var(--ease-out);
}
.cursor-ring {
  width: 38px; height: 38px;
  border: 1px solid #fff; mix-blend-mode: difference;
  display: flex; align-items: center; justify-content: center;
  transition:
    width .4s var(--ease-out), height .4s var(--ease-out),
    background .4s var(--ease-out), border-color .4s var(--ease-out),
    opacity .3s;
}
.cursor-ring .cursor-label {
  font-size: .58rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
  color: var(--pearl); opacity: 0; transition: opacity .3s var(--ease-out);
  font-family: var(--font-body);
}
.cursor-ring.is-link { width: 56px; height: 56px; }
.cursor-ring.is-view {
  width: 84px; height: 84px;
  background: rgba(26,22,16,.88);
  border-color: transparent;
  mix-blend-mode: normal;
}
.cursor-ring.is-view .cursor-label { opacity: 1; }
.cursor-hidden .cursor-dot, .cursor-hidden .cursor-ring { opacity: 0; }

/* ── Horizontal gallery walk (activated by JS via .hs-on) ───── */
.hscroll.hs-on { height: 340vh; padding: 0; }
.hscroll.hs-on .hs-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  overflow: hidden;
  padding-top: var(--nav-h-scroll);
}
.hscroll.hs-on .section-header { margin-bottom: 3rem; }
.hscroll.hs-on .container { position: relative; z-index: 1; }
.hscroll.hs-on .feat-grid {
  display: flex; align-items: center; gap: 1.75rem;
  width: max-content;
  will-change: transform;
}

/* Editorial rhythm — every piece hangs at its own height */
.hscroll.hs-on .feat-item {
  aspect-ratio: auto; flex-shrink: 0;
  width: clamp(280px, 26vw, 400px);
  height: min(48vh, 480px);
}
.hscroll.hs-on .feat-item:nth-child(1) {
  width: clamp(460px, 44vw, 660px); height: min(54vh, 540px);
}
.hscroll.hs-on .feat-item:nth-child(2) {
  height: min(38vh, 380px); margin-bottom: 6vh;
}
.hscroll.hs-on .feat-item:nth-child(3) {
  height: min(56vh, 560px); margin-top: 4vh;
}
.hscroll.hs-on .feat-item:nth-child(4) {
  height: min(40vh, 400px); margin-bottom: 8vh;
}
.hscroll.hs-on .feat-item:nth-child(5) {
  height: min(50vh, 500px); margin-top: 5vh;
}
.hscroll.hs-on .feat-item:nth-child(6) {
  width: clamp(440px, 42vw, 640px); height: min(52vh, 520px); margin-bottom: 3vh;
}

/* Numerals always faintly present during the walk, full on hover */
.hscroll.hs-on .feat-item::after { opacity: .55; transform: none; }
.hscroll.hs-on .feat-item:hover::after { opacity: 1; }

/* Ghost typography drifting behind the walk */
.hs-ghost {
  position: absolute; top: 52%; left: 4vw; z-index: 0;
  transform: translateY(-50%);
  font-family: var(--font-heading); font-style: italic; font-weight: 300;
  font-size: clamp(9rem, 24vw, 20rem); line-height: 1;
  letter-spacing: -0.02em; white-space: nowrap;
  color: rgba(30,26,20,.045);
  pointer-events: none; user-select: none;
  will-change: transform;
  display: none;
}
.hscroll.hs-on .hs-ghost { display: block; }

/* Walk progress line */
.hs-progress {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  width: min(420px, 50vw); height: 1px;
  background: rgba(30,26,20,.12);
  display: none; z-index: 1;
}
.hscroll.hs-on .hs-progress { display: block; }
.hs-progress span {
  display: block; height: 100%;
  background: var(--copper);
  transform: scaleX(0); transform-origin: 0 50%;
}
.hscroll.hs-on .feat-footer { margin-top: 3rem; }

/* ── Card tilt (3D perspective set by JS) ───────────────────── */
.tilting { transition: box-shadow .5s var(--ease-out); }

/* ── Typewriter heading — letters strike into place ─────────── */
.tw .tw-w { display: inline-block; white-space: nowrap; }
.tw .tw-ch {
  display: inline-block;
  opacity: 0;
  transform: translateY(-.45em) scale(1.3);
}
.tw.play .tw-ch {
  animation: twStrike .22s cubic-bezier(.5, 0, .35, 1) both;
  animation-delay: var(--tw-d, 0s);
}
@keyframes twStrike {
  from { opacity: 0; transform: translateY(-.45em) scale(1.3); }
  60%  { opacity: 1; transform: translateY(.04em) scale(.98); }
  to   { opacity: 1; transform: none; }
}
/* Blinking caret while typing, gone when done */
.tw.play::after {
  content: '_';
  display: inline-block; margin-left: .08em;
  color: var(--copper);
  animation: twBlink .7s steps(1) infinite;
}
.tw.done::after { content: none; }
@keyframes twBlink { 50% { opacity: 0; } }

/* ── Hero particles ─────────────────────────────────────────── */
.hero-particles {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
}

/* ── Aurora atmosphere on dark sections ─────────────────────── */
@keyframes aurora {
  0%   { background-position: 0% 0%, 100% 100%; }
  50%  { background-position: 60% 40%, 40% 60%; }
  100% { background-position: 100% 100%, 0% 0%; }
}
.mat-prev::before {
  background:
    radial-gradient(ellipse 70% 55% at 50% 0%, rgba(123,169,156,.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 45% at 85% 90%, rgba(181,118,77,.07) 0%, transparent 70%);
  background-size: 160% 160%, 160% 160%;
  animation: aurora 20s ease-in-out infinite alternate;
}
.page-banner::before {
  background:
    radial-gradient(ellipse at 50% 65%, rgba(91,126,143,.18) 0%, transparent 68%),
    radial-gradient(ellipse 55% 45% at 15% 15%, rgba(181,118,77,.08) 0%, transparent 70%);
  background-size: 150% 150%, 150% 150%;
  animation: aurora 16s ease-in-out infinite alternate;
}
.footer { position: relative; }
.footer::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 80% 10%, rgba(123,169,156,.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 15% 90%, rgba(181,118,77,.06) 0%, transparent 70%);
  background-size: 150% 150%, 150% 150%;
  animation: aurora 24s ease-in-out infinite alternate;
}

/* ── Scroll word-reveal (tide over sea glass) ───────────────── */
.intro-inner > p, .mat-intro-text > p {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  line-height: 1.65;
}
.wr span {
  color: rgba(107,94,84,.22);
  transition: color .4s var(--ease-out);
}
.wr span.lit { color: var(--text-primary); }

/* ── Lightbox viewing room ──────────────────────────────────── */
.lightbox::before {
  content: ''; position: absolute; inset: -60px;
  background-image: var(--lb-bg);
  background-size: cover; background-position: center;
  filter: blur(52px) brightness(.38) saturate(1.25);
  opacity: 0; transition: opacity .6s var(--ease-out);
}
.lightbox.open::before { opacity: .55; }
.lb-inner { z-index: 1; }

/* ── Footer wordmark shimmer ────────────────────────────────── */
@keyframes shimmer {
  from { background-position: 250% 0; }
  to   { background-position: -150% 0; }
}
.footer-wordmark {
  background: linear-gradient(
    100deg,
    rgba(250,248,245,.06) 35%,
    rgba(212,160,122,.20) 50%,
    rgba(250,248,245,.06) 65%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 8s linear infinite;
  position: relative;
}

/* =============================================================
   ABOUT PAGE — Her story, told in chapters
   ============================================================= */

/* ── Portrait hero ──────────────────────────────────────────── */
.about-hero {
  background: var(--bg-dark);
  position: relative;
}
.about-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(91,126,143,.16) 0%, transparent 68%),
    radial-gradient(ellipse 50% 45% at 85% 85%, rgba(181,118,77,.09) 0%, transparent 70%);
  background-size: 150% 150%, 150% 150%;
  animation: aurora 18s ease-in-out infinite alternate;
}
.about-hero .container { position: relative; z-index: 2; }
.ah-grid {
  display: grid; grid-template-columns: 1.1fr .9fr;
  gap: 5rem; align-items: center;
  padding-top: var(--nav-h);
}
.ah-text { color: var(--bg); }
.about-hero h1 { color: #FAF8F5; font-style: italic; margin-bottom: 1.875rem; line-height: 1.05; }
.ah-portrait {
  position: relative; max-width: 440px; justify-self: end; width: 100%;
}
.ah-portrait img {
  width: 100%; aspect-ratio: 3/4; object-fit: cover; object-position: top;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.ah-portrait::after {
  content: ''; position: absolute;
  top: -14px; right: 14px; bottom: 44px; left: -14px;
  border: 1px solid rgba(181,118,77,.45);
  border-radius: var(--radius-lg);
  pointer-events: none;
}
.hero.hero-in .ah-portrait { animation: portraitIn 1.4s var(--ease-out) .45s both; }
@keyframes portraitIn {
  from { opacity: 0; clip-path: inset(0 0 100% 0); transform: translateY(30px); }
  to   { opacity: 1; clip-path: inset(0 0 0 0);    transform: none; }
}
.hero:not(.hero-in) .ah-portrait { opacity: 1; }
.ah-portrait .portrait-note { color: rgba(250,248,245,.5); }

/* ── Opening statement ──────────────────────────────────────── */
.about-statement { background: var(--bg); text-align: center; }
.about-statement .container { max-width: 900px; }
.about-statement [data-wr] {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3.2vw, 2.7rem);
  line-height: 1.55; margin-top: 1rem;
}

/* ── Chapters ───────────────────────────────────────────────── */
.chapters { background: var(--bg); padding-top: 0; }
.chapters .container { position: relative; padding-left: 5.5rem; }
.chapter-rail {
  position: absolute; left: 2.5rem; top: 0; bottom: 0;
  width: 1px; background: rgba(30,26,20,.08);
}
.chapter-rail span {
  display: block; width: 100%; height: 100%;
  background: linear-gradient(var(--copper), var(--sea-glass));
  transform: scaleY(0); transform-origin: 0 0;
}
.chapter {
  position: relative;
  display: grid; grid-template-columns: 240px 1fr;
  gap: 4rem; align-items: start;
  padding: clamp(3.5rem, 6vw, 6rem) 0;
}
.chapter::before {
  content: ''; position: absolute;
  left: calc(-3rem - 4px); top: clamp(4.4rem, 7vw, 7rem);
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--copper);
}
.ch-num {
  display: block;
  font-family: var(--font-heading); font-style: italic; font-weight: 300;
  font-size: clamp(4.5rem, 8vw, 7.5rem); line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(30,26,20,.22);
  user-select: none;
}
@supports not (-webkit-text-stroke: 1px black) {
  .ch-num { color: rgba(30,26,20,.12); }
}
.ch-label {
  margin-top: .875rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .28em;
  text-transform: uppercase; color: var(--copper);
}
.ch-body h2 { font-style: italic; font-size: clamp(1.9rem, 3vw, 2.8rem); margin-bottom: 1.375rem; }
.ch-body p  { font-size: 1.1rem; line-height: 2; margin-bottom: 1.25rem; max-width: 640px; }
.ch-img {
  max-width: 380px; margin-top: 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .6s var(--ease-out), box-shadow .6s var(--ease-out);
}
.ch-img-left  { transform: rotate(-2deg); }
.ch-img-right { transform: rotate(2deg); margin-left: auto; margin-right: 2rem; }
.ch-img:hover { transform: rotate(0deg) translateY(-4px); box-shadow: var(--shadow-lg); }
.ch-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }

/* ── Quote interlude ────────────────────────────────────────── */
.quote-band {
  background: var(--bg-dark); text-align: center;
  position: relative; overflow: hidden;
  padding: clamp(100px, 13vw, 170px) 0;
}
.quote-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 65% 55% at 50% 100%, rgba(123,169,156,.12) 0%, transparent 70%),
    radial-gradient(ellipse 45% 40% at 15% 0%, rgba(181,118,77,.08) 0%, transparent 70%);
  background-size: 150% 150%, 150% 150%;
  animation: aurora 20s ease-in-out infinite alternate;
}
.quote-band .container { position: relative; z-index: 1; max-width: 980px; }
.quote-mark {
  font-family: var(--font-heading); font-size: clamp(5rem, 9vw, 8rem);
  line-height: .4; color: rgba(181,118,77,.55); user-select: none;
  margin-bottom: 1.5rem;
}
.quote-band blockquote {
  font-family: var(--font-heading); font-style: italic; font-weight: 300;
  font-size: clamp(1.9rem, 4.2vw, 3.4rem); line-height: 1.4;
  color: var(--pearl);
}

/* ── Stats band ─────────────────────────────────────────────── */
.stats-band { background: var(--bg-alt); text-align: center; }
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}
.stat-num {
  display: block;
  font-family: var(--font-heading); font-weight: 300; font-style: italic;
  font-size: clamp(3.5rem, 6.5vw, 6rem); line-height: 1;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block; margin-top: .875rem;
  font-size: .68rem; font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text-secondary);
  max-width: 180px; margin-left: auto; margin-right: auto;
}
.stats-note {
  margin-top: 3.5rem; font-style: italic; color: var(--text-light);
  font-size: .9375rem;
}

/* ── A note of thanks ───────────────────────────────────────── */
.about-thanks { background: var(--bg); text-align: center; }
.about-thanks .container { max-width: 860px; }
.about-thanks blockquote {
  font-family: var(--font-heading); font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.65;
  margin: 1.25rem 0 2.75rem;
}

/* ── About responsive ───────────────────────────────────────── */
@media (max-width: 900px) {
  .ah-grid { grid-template-columns: 1fr; gap: 3rem; padding-top: calc(var(--nav-h) + 2rem); padding-bottom: 4rem; }
  .ah-portrait { justify-self: center; max-width: 320px; }
  .chapters .container { padding-left: 2.5rem; }
  .chapter-rail { left: .75rem; }
  .chapter { grid-template-columns: 1fr; gap: 1.5rem; }
  .chapter::before { left: calc(-1.75rem - 4px); top: 2.5rem; }
  .chapter { padding: 3rem 0; }
  .ch-num { font-size: 4rem; }
  .ch-img-right { margin-right: 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 3rem 1.5rem; }
}

/* =============================================================
   GALLERY PAGE — the wall of one-of-a-kind
   ============================================================= */
.gallery-hero {
  background: var(--bg-dark);
  min-height: 88svh;
}
.gallery-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 75% 25%, rgba(91,126,143,.16) 0%, transparent 68%),
    radial-gradient(ellipse 50% 45% at 15% 85%, rgba(181,118,77,.09) 0%, transparent 70%);
  background-size: 150% 150%, 150% 150%;
  animation: aurora 18s ease-in-out infinite alternate;
}
.gallery-hero .container { position: relative; z-index: 2; }
.gh-content {
  max-width: 760px; color: var(--bg);
  padding-top: var(--nav-h);
}
.gallery-hero h1 { color: #FAF8F5; font-style: italic; margin-bottom: 1.875rem; line-height: 1.05; }
.gh-stat {
  display: flex; align-items: baseline; gap: 1.25rem;
  margin-top: 2.75rem;
}
.gh-stat .stat-label {
  margin: 0; max-width: none;
  color: rgba(250,248,245,.55); text-align: left;
}

/* Photos simply fade in as they load — cheap, smooth, no jank */

/* ── Materials & Craft hero ─────────────────────────────────── */
.craft-hero {
  background: var(--bg-dark);
  min-height: 88svh;
}
.craft-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 25% 30%, rgba(181,118,77,.13) 0%, transparent 68%),
    radial-gradient(ellipse 50% 45% at 80% 80%, rgba(123,169,156,.11) 0%, transparent 70%);
  background-size: 150% 150%, 150% 150%;
  animation: aurora 18s ease-in-out infinite alternate;
}
.craft-hero .container { position: relative; z-index: 2; }
.craft-hero h1 { color: #FAF8F5; font-style: italic; margin-bottom: 1.875rem; line-height: 1.05; }

/* ── Contact hero ───────────────────────────────────────────── */
.contact-hero {
  background: var(--bg-dark);
  min-height: 82svh;
}
.contact-hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 70% 25%, rgba(91,126,143,.17) 0%, transparent 68%),
    radial-gradient(ellipse 50% 45% at 20% 85%, rgba(181,118,77,.09) 0%, transparent 70%);
  background-size: 150% 150%, 150% 150%;
  animation: aurora 18s ease-in-out infinite alternate;
}
.contact-hero .container { position: relative; z-index: 2; }
.contact-hero h1 { color: #FAF8F5; font-style: italic; margin-bottom: 1.875rem; line-height: 1.05; }

/* Piece numerals on the wall */
.masonry { counter-reset: gpiece; }
.g-card::after {
  counter-increment: gpiece;
  content: counter(gpiece, decimal-leading-zero);
  position: absolute; left: 1.125rem; bottom: .875rem;
  font-family: var(--font-heading); font-style: italic; font-weight: 300;
  font-size: 1.1rem; letter-spacing: .08em;
  color: var(--pearl);
  text-shadow: 0 2px 14px rgba(0,0,0,.55);
  opacity: 0; transform: translateY(8px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
  pointer-events: none;
}
.g-card:hover::after { opacity: .95; transform: none; }

/* ── Reduced Motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .rv { opacity: 1; transform: none; }
  .hero-eyebrow, .hero-sub, .hero-cta, .hl-i,
  .page-banner-inner > * { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .hero-bg { transform: none !important; }
  .footer-wordmark {
    animation: none; background: none;
    color: rgba(250,248,245,.07);
    -webkit-background-clip: initial; background-clip: initial;
  }
  .mat-prev::before, .page-banner::before, .footer::before { animation: none; }
  .wr span { color: inherit; }
  .preloader { display: none; }
  .cursor-dot, .cursor-ring { display: none; }
}
