/* ==========================================================================
   Pixels & Ink – 2026
   Palette derived from the legacy site: maroon #660000, olive #333300/#797928,
   rust #993300/#c55a24, amber #d86e03, cream #f2efe8, warm gray (PMS Warm Gray 11).
   ========================================================================== */

:root {
  --ink:        #1c1412;
  --ink-2:      #2a1f1c;
  --ink-3:      #3a2d29;
  --maroon-950: #2a080b;
  --maroon-900: #3d0c10;
  --maroon-800: #561118;
  --maroon:     #6e1a1f;
  --maroon-500: #8f2b31;
  --rust:       #a8491b;
  --amber:      #d86e03;
  --amber-soft: #e8994f;
  --olive:      #5a5820;
  --olive-soft: #8a8636;
  --warm-gray:  #6e6259;
  --stone:      #d8cfc2;
  --paper:      #f5f1ea;
  --paper-2:    #ece5d9;
  --white:      #ffffff;

  --text:       #2a211e;
  --text-muted: #62574f;
  --on-dark:    #f5f1ea;
  --on-dark-muted: #c2b6aa;

  --font-serif: "Sorts Mill Goudy", "Goudy Old Style", Georgia, serif;
  --font-sans:  "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
  --radius-lg: 22px;
  --header-h: 84px;
  --header-h-scrolled: 68px;
  --section-pt: clamp(3rem, 6vw, 5rem);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --shadow-lg: 0 30px 60px -20px rgba(28, 20, 18, .35);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h-scrolled);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg, video, picture { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--maroon); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { color: var(--maroon-500); }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.05; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(2.4rem, 5.5vw, 4.6rem); }
h2 em, h3 em { font-style: italic; color: var(--maroon); }
p { margin: 0 0 1.1em; }

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

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

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

.skip-link {
  position: fixed; top: 10px; left: 10px; z-index: 1000;
  padding: .6em 1em; background: var(--amber); color: var(--ink); border-radius: 8px;
  transform: translateY(-150%); transition: transform .2s;
}
.skip-link:focus { transform: none; }

.icon { width: 1.25em; height: 1.25em; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .75em;
  margin: 0 0 1.1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase;
  color: var(--maroon);
}
.eyebrow::before { content: ""; width: 2.2em; height: 1px; background: currentColor; }

.section-head { margin-bottom: clamp(2rem, 5vw, 3.5rem); }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; gap: .6em;
  padding: .95em 1.6em;
  font: 600 .95rem/1 var(--font-sans); letter-spacing: .02em;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease-out);
}
.btn .icon { transition: transform .3s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: var(--amber-soft); color: var(--ink); }
.btn-ghost { border-color: rgba(245, 241, 234, .45); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--on-dark); background: rgba(245, 241, 234, .08); color: var(--white); }

/* ---------------------------------------------------------------- scroll progress */
.scroll-progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span {
  display: block; height: 100%; width: 100%;
  background: linear-gradient(90deg, var(--maroon-500), var(--amber));
  transform-origin: 0 50%; transform: scaleX(var(--progress, 0));
}

/* ---------------------------------------------------------------- header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: var(--header-h);
  color: var(--on-dark);
  transition: background-color .4s, box-shadow .4s, height .4s var(--ease-out), transform .4s var(--ease-out);
}
.site-header.is-scrolled {
  --header-h: var(--header-h-scrolled);
  background: rgba(28, 20, 18, .86);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 rgba(245, 241, 234, .08);
}

.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand img { width: 184px; height: auto; transition: width .4s var(--ease-out); }
.is-scrolled .brand img { width: 160px; }

.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.site-nav a {
  position: relative; display: block;
  padding: .55em .9em;
  color: var(--on-dark); text-decoration: none;
  font-size: .92rem; font-weight: 500; letter-spacing: .01em;
}
.site-nav ul a::after {
  content: ""; position: absolute; left: .9em; right: .9em; bottom: .25em; height: 1px;
  background: var(--amber); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease-out);
}
.site-nav ul a:hover::after, .site-nav ul a.is-current::after { transform: scaleX(1); }
.site-nav ul a.is-current { color: var(--amber-soft); }

.site-nav { display: flex; align-items: center; gap: 1rem; }
.nav-social { display: flex; gap: .25rem; padding-left: 1rem; border-left: 1px solid rgba(245, 241, 234, .18); }
.nav-social a { padding: .45em; color: var(--on-dark-muted); border-radius: 50%; }
.nav-social a:hover { color: var(--white); }

.nav-toggle { display: none; }

@media (max-width: 960px) {
  .nav-toggle {
    display: grid; place-items: center;
    width: 48px; height: 48px; margin-right: -8px;
    background: none; border: 0; color: inherit; cursor: pointer; z-index: 2;
  }
  .nav-toggle-bars { position: relative; width: 24px; height: 16px; }
  .nav-toggle-bars span {
    position: absolute; left: 0; width: 100%; height: 2px; background: currentColor; border-radius: 2px;
    transition: transform .4s var(--ease-out), opacity .3s, top .4s var(--ease-out);
  }
  .nav-toggle-bars span:nth-child(1) { top: 0; }
  .nav-toggle-bars span:nth-child(2) { top: 7px; }
  .nav-toggle-bars span:nth-child(3) { top: 14px; }
  .nav-open .nav-toggle-bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
  .nav-open .nav-toggle-bars span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle-bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

  .site-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; justify-content: center; align-items: flex-start; gap: 2rem;
    padding: calc(var(--header-h) + 1rem) var(--gutter) 2rem;
    background: var(--ink);
    background-image: radial-gradient(circle at 85% 15%, rgba(143, 43, 49, .45), transparent 55%);
    visibility: hidden; opacity: 0;
    transition: opacity .4s, visibility 0s .4s;
  }
  .nav-open .site-nav { visibility: visible; opacity: 1; transition: opacity .4s; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { font-family: var(--font-serif); font-size: clamp(1.6rem, 6.5vw, 2.3rem); padding: .15em 0; }
  .site-nav ul a::after { left: 0; right: auto; width: 1.5em; bottom: .1em; }
  .site-nav li { opacity: 0; transform: translateY(16px); transition: opacity .5s, transform .6s var(--ease-out); }
  .nav-open .site-nav li { opacity: 1; transform: none; }
  .nav-open .site-nav li:nth-child(2) { transition-delay: .05s; }
  .nav-open .site-nav li:nth-child(3) { transition-delay: .1s; }
  .nav-open .site-nav li:nth-child(4) { transition-delay: .15s; }
  .nav-open .site-nav li:nth-child(5) { transition-delay: .2s; }
  .nav-open .site-nav li:nth-child(6) { transition-delay: .25s; }
  .nav-open .site-nav li:nth-child(7) { transition-delay: .3s; }
  .nav-social { border: 0; padding: 0; }
  .nav-social .icon { width: 1.6em; height: 1.6em; }
  .nav-open { overflow: hidden; }
  .nav-open .site-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; isolation: isolate;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 3rem) 0 7rem;
  color: var(--on-dark);
  background: var(--ink);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; transform: translate3d(0, var(--py, 0px), 0) scale(1.08); }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(28, 20, 18, .96) 0%, rgba(28, 20, 18, .78) 38%, rgba(28, 20, 18, .35) 75%, rgba(28, 20, 18, .55) 100%),
    linear-gradient(0deg, rgba(28, 20, 18, .9) 0%, transparent 35%);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; transform: scale(1.12); }
.hero-slide.is-active { opacity: 1; }
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }

.hero-inner { position: relative; }
.hero-eyebrow { color: var(--amber-soft); }

.hero-words { position: relative; display: grid; margin-bottom: 2.6rem; }
.hero-word { grid-area: 1 / 1; display: flex; flex-direction: column; }
.hero-word-title {
  font-family: var(--font-serif);
  font-size: clamp(3.6rem, 13vw, 10.5rem);
  line-height: .92; letter-spacing: -.03em;
  color: var(--white);
}
.hero-word-sub {
  font-family: var(--font-serif); font-style: italic;
  font-size: clamp(1.4rem, 3.6vw, 2.6rem); line-height: 1.2;
  color: var(--stone); margin-top: .35em; max-width: 22ch;
}
.js .hero-word .hero-word-title,
.js .hero-word .hero-word-sub { opacity: 0; transform: translateY(40px); filter: blur(6px); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out), filter .9s; }
.js .hero-word .hero-word-sub { transition-delay: .12s; }
.js .hero-word.is-active .hero-word-title,
.js .hero-word.is-active .hero-word-sub { opacity: 1; transform: none; filter: none; }
.js .hero-word.is-leaving .hero-word-title,
.js .hero-word.is-leaving .hero-word-sub { opacity: 0; transform: translateY(-30px); transition-delay: 0s; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero-pager { display: flex; gap: .6rem; margin-top: 3.5rem; }
.hero-dot { width: 64px; height: 28px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.hero-dot span { position: relative; display: block; height: 2px; background: rgba(245, 241, 234, .25); overflow: hidden; }
.hero-dot span::after { content: ""; position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.hero-dot.is-active span::after { animation: dotfill var(--slide-ms, 6000ms) linear forwards; }
.hero.is-paused .hero-dot.is-active span::after { animation-play-state: paused; }
@keyframes dotfill { to { transform: scaleX(1); } }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; translate: -50% 0;
  width: 26px; height: 42px; border: 1.5px solid rgba(245, 241, 234, .5); border-radius: 20px;
}
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--on-dark); border-radius: 2px; animation: cue 2s var(--ease-out) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------------- intro */
.intro { padding: var(--section-pt) 0 clamp(4.5rem, 10vw, 8rem); background: var(--paper); }
.intro-grid { display: grid; gap: clamp(2rem, 4vw, 3.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.intro-card { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--stone); }
.intro-num { display: block; font-family: var(--font-serif); font-size: 1rem; color: var(--amber); margin-bottom: 1rem; letter-spacing: .1em; }
.intro-card h2 { font-size: clamp(1.9rem, 3vw, 2.4rem); margin-bottom: .6em; color: var(--ink); }
.intro-card p { color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------------------- disciplines band */
.band { background: var(--maroon); color: var(--paper); overflow: hidden; padding: .85rem 0; border-block: 1px solid var(--maroon-800); }
.band-track { display: flex; width: max-content; gap: 2.2rem; white-space: nowrap; transform: translate3d(var(--mx, 0px), 0, 0); will-change: transform; }
.band-track span { font-family: var(--font-serif); font-style: italic; font-size: clamp(1rem, 1.8vw, 1.4rem); display: inline-flex; align-items: center; gap: 1.8rem; }
.band-track span::after { content: ""; width: .45em; height: .45em; border-radius: 50%; background: var(--amber); display: inline-block; }

/* ---------------------------------------------------------------- projects */
.projects {
  padding: var(--section-pt) 0 clamp(5rem, 10vw, 8.5rem);
  color: var(--on-dark);
  background:
    radial-gradient(1200px 500px at 90% -10%, rgba(143, 43, 49, .55), transparent 60%),
    linear-gradient(180deg, var(--maroon-900), var(--maroon-950));
}
.projects .eyebrow { color: var(--amber-soft); }
.projects h2 em { color: var(--amber-soft); }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2.5rem; }
.filter {
  padding: .6em 1.15em;
  font: 500 .92rem/1 var(--font-sans);
  color: var(--on-dark); background: transparent;
  border: 1px solid rgba(245, 241, 234, .22); border-radius: 999px;
  cursor: pointer; transition: background-color .3s, border-color .3s, color .3s;
}
.filter sup { font-size: .68em; opacity: .6; margin-left: .15em; }
.filter:hover { border-color: rgba(245, 241, 234, .6); }
.filter.is-active { background: var(--paper); color: var(--maroon-900); border-color: var(--paper); }

.grid { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(12px, 2vw, 22px); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.tile { transition: opacity .45s, transform .6s var(--ease-out); }
.tile.is-filtered-out { display: none; }
.tile.is-entering { animation: tilein .6s var(--ease-out) both; animation-delay: var(--d, 0ms); }
@keyframes tilein { from { opacity: 0; transform: translateY(24px) scale(.98); } }

.tile-link { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--maroon-800); color: var(--white); text-decoration: none; aspect-ratio: 3 / 2; }
.tile-link picture, .tile-link img { width: 100%; height: 100%; }
.tile-link img { object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.tile-link:hover img, .tile-link:focus-visible img { transform: scale(1.06); }
.tile-info {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: .2rem;
  padding: 1.1rem 1.2rem;
  background: linear-gradient(0deg, rgba(28, 8, 10, .88) 0%, rgba(28, 8, 10, .25) 45%, transparent 70%);
  opacity: 0; transition: opacity .45s;
}
.tile-link:hover .tile-info, .tile-link:focus-visible .tile-info { opacity: 1; }
.tile-cat { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--amber-soft); }
.tile-title { font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.2; }
.tile-zoom { position: absolute; top: 1rem; right: 1rem; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: rgba(245, 241, 234, .15); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transform: scale(.7); transition: transform .45s var(--ease-out); }
.tile-link:hover .tile-zoom { transform: none; }
@media (hover: none) { .tile-info { opacity: 1; background: linear-gradient(0deg, rgba(28, 8, 10, .8) 0%, transparent 55%); } .tile-zoom { display: none; } }

/* ---------------------------------------------------------------- showreel */
.showreel { padding: var(--section-pt) 0 clamp(5rem, 10vw, 8rem); background: var(--ink); color: var(--on-dark); }
.showreel .eyebrow { color: var(--amber-soft); }
.showreel-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: #000; }
.showreel-frame video { width: 100%; aspect-ratio: 16 / 9; }

/* ---------------------------------------------------------------- about */
.about { padding: var(--section-pt) 0 clamp(5rem, 10vw, 9rem); background: var(--paper); }
.about-grid { display: grid; gap: clamp(2.5rem, 6vw, 6rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.about-head .sticky { position: sticky; top: calc(var(--header-h) + 2rem); }
.about-head h2 { color: var(--ink); }
.about-head h2 em { display: block; }
.about-body .lead { font-family: var(--font-serif); font-size: clamp(1.35rem, 2.2vw, 1.7rem); line-height: 1.45; color: var(--ink); }
.about-body > p { color: var(--text-muted); }

.about-mark { position: relative; width: 150px; height: 150px; margin-top: 3rem; }
.mark-square { position: absolute; left: 0; bottom: 0; width: 70%; height: 70%; background: var(--maroon); transform: rotate(var(--rot, 0deg)); transform-origin: 0 100%; }
.mark-sphere {
  position: absolute; width: 58%; height: 58%; left: 41%; top: 1%; border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #fbfaf8 0%, #d9d6d0 45%, #8e8a84 100%);
  box-shadow: 0 12px 24px -8px rgba(28, 20, 18, .35);
  transform: translate3d(0, var(--sy, 0px), 0);
}

.team { display: grid; gap: 1.25rem; grid-template-columns: 1fr; margin-top: 3rem; }
.member {
  padding: 1.6rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--paper-2);
  transition: transform .5s var(--ease-out), box-shadow .5s;
}
.member:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(28, 20, 18, .35); }
.member-head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.monogram {
  flex: none; width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 1.3rem; color: var(--paper);
  background: linear-gradient(135deg, var(--maroon-500), var(--maroon-900));
}
.member h3 { font-size: 1.45rem; color: var(--ink); }
.member-role { margin: .2rem 0 0; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; color: var(--rust); font-weight: 600; }
.member > p { font-size: .96rem; color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------------------- services */
.services { padding: var(--section-pt) 0 clamp(4rem, 8vw, 7rem); background: var(--paper-2); }
.services h2 { color: var(--ink); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; }
.step { position: sticky; top: calc(var(--header-h) + 1.5rem + var(--i) * 1.5rem); }
.step-card {
  display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 -1px 0 rgba(28, 20, 18, .04), 0 24px 48px -28px rgba(28, 20, 18, .4);
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  filter: brightness(var(--b, 1));
}
.step:nth-child(1) .step-card { border-top: 4px solid var(--olive-soft); }
.step:nth-child(2) .step-card { border-top: 4px solid var(--rust); }
.step:nth-child(3) .step-card { border-top: 4px solid var(--amber); }
.step-media { display: grid; place-items: center; padding: 1rem; border-radius: var(--radius); background: var(--paper); }
.step-media img { width: 200px; }
.step-num { display: block; font-family: var(--font-serif); font-size: 1rem; letter-spacing: .1em; color: var(--amber); margin-bottom: .8rem; }
.step h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--ink); margin-bottom: .7em; }
.step p { color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------------------- news */
.news { padding: var(--section-pt) 0 clamp(5rem, 10vw, 8rem); background: var(--paper); }
.news h2 { color: var(--ink); }
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.5rem; border-left: 1px solid var(--stone); display: grid; gap: 1.8rem; max-width: 820px; }
.timeline li { position: relative; }
.timeline li::before { content: ""; position: absolute; left: calc(-1.5rem - 5px); top: .55em; width: 9px; height: 9px; border-radius: 50%; background: var(--maroon); }
.timeline time { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rust); font-weight: 600; }
.timeline p { margin: .2rem 0 0; }

/* ---------------------------------------------------------------- contact */
.contact {
  padding: var(--section-pt) 0 clamp(5rem, 10vw, 9rem);
  color: var(--on-dark);
  background:
    radial-gradient(900px 500px at 0% 100%, rgba(110, 26, 31, .5), transparent 60%),
    var(--ink);
}
.contact .eyebrow { color: var(--amber-soft); }
.contact h2 em { color: var(--amber-soft); display: block; }
.contact-grid { display: grid; gap: clamp(3rem, 6vw, 6rem); grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }

.contact-list { margin: 3rem 0 0; display: grid; gap: 1.6rem; }
.contact-list dt { display: flex; align-items: center; gap: .6rem; font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact-list dt .icon { color: var(--amber-soft); }
.contact-list dd { margin: .35rem 0 0 1.85rem; font-size: 1.1rem; }
.contact-list a { color: var(--on-dark); text-decoration: underline; text-decoration-color: rgba(232, 153, 79, .6); }
.contact-list a:hover { color: var(--amber-soft); }

/* Letter-style form, as on the legacy site */
.letter {
  position: relative;
  padding: clamp(1.6rem, 4vw, 3.2rem);
  border-radius: var(--radius-lg);
  color: var(--text);
  background: var(--paper);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .6);
}
.letter::before {
  content: ""; position: absolute; top: 0; left: clamp(1rem, 3vw, 2rem); bottom: 0; width: 1px; background: rgba(168, 73, 27, .25);
}
.letter-title { font-size: clamp(1.9rem, 3.5vw, 2.6rem); font-style: italic; color: var(--maroon); margin-bottom: 1.4rem; }
.contact-form .line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .8rem; margin: 0 0 .8rem; }
.contact-form label { font-family: var(--font-serif); font-size: 1.3rem; color: var(--ink); white-space: nowrap; }
.contact-form input, .contact-form select, .contact-form textarea {
  flex: 1 1 200px; min-width: 0;
  font: 400 1.1rem/1.4 var(--font-sans); color: var(--maroon-900);
  padding: .35em .1em; background: transparent;
  border: 0; border-bottom: 1.5px dashed rgba(110, 26, 31, .35); border-radius: 0;
  transition: border-color .3s, background-color .3s;
}
.contact-form input.short { flex-basis: 160px; }
.contact-form select { cursor: pointer; appearance: none; padding-right: 1.6em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%236e1a1f' stroke-width='2' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right .2em center / 1em; }
.contact-form textarea { flex-basis: 100%; resize: vertical; min-height: 7.5em; margin-top: .5rem; border: 1.5px dashed rgba(110, 26, 31, .25); border-radius: 10px; padding: .7em .8em; background: rgba(255, 255, 255, .5); }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--maroon); border-style: solid; background-color: rgba(255, 255, 255, .6); }
.contact-form [aria-invalid="true"] { border-color: #b3261e; border-style: solid; }
.contact-form .btn { margin-top: 1rem; }
.form-error { color: #b3261e; font-size: .95rem; margin: .5rem 0 0; }
.contact-form.is-sending .btn { opacity: .6; pointer-events: none; }
.contact-form.is-hidden { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-sent { display: flex; flex-direction: column; align-items: flex-start; gap: 1rem; min-height: 280px; justify-content: center; }
.form-sent[hidden] { display: none; }
.form-sent p { font-family: var(--font-serif); font-size: 1.7rem; line-height: 1.3; color: var(--ink); margin: 0; }
.sent-icon { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--maroon); color: var(--paper); }
.sent-icon .icon { width: 28px; height: 28px; }

/* ---------------------------------------------------------------- footer */
.site-footer { background: #120c0b; color: var(--on-dark-muted); padding: clamp(3.5rem, 7vw, 5rem) 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; gap: 2.5rem; grid-template-columns: 1.3fr 1fr 1.2fr; padding-bottom: 3rem; border-bottom: 1px solid rgba(245, 241, 234, .1); }
.footer-brand img { width: 184px; margin-bottom: 1rem; }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-nav a, .footer-bottom a { color: var(--on-dark); text-decoration: none; }
.footer-nav a:hover, .footer-bottom a:hover { color: var(--amber-soft); }
.footer-label { font-size: .72rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin: 0 0 .8rem; color: var(--on-dark-muted); }
.footer-label:not(:first-child) { margin-top: 1.6rem; }
.footer-social { display: flex; gap: .4rem; }
.footer-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; color: var(--on-dark); border: 1px solid rgba(245, 241, 234, .18); transition: background-color .3s, border-color .3s; }
.footer-social a:hover { background: var(--maroon); border-color: var(--maroon); color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 1.5rem; font-size: .85rem; }
.footer-bottom p { margin: 0; }
.to-top { display: inline-flex; align-items: center; gap: .5rem; }
.icon-up { transform: rotate(180deg); }

/* ---------------------------------------------------------------- share */
.share { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.share-btn {
  width: 42px; height: 42px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid rgba(245, 241, 234, .18);
  background: transparent; color: var(--on-dark); cursor: pointer;
  transition: background-color .3s, border-color .3s, color .3s, transform .3s var(--ease-out);
}
.share-btn:hover { transform: translateY(-2px); color: var(--white); border-color: transparent; }
.share-facebook:hover { background: #1877f2; }
.share-x:hover { background: #000; }
.share-linkedin:hover { background: #0a66c2; }
.share-whatsapp:hover { background: #25d366; }
.share-mail:hover, .share-copy:hover, .share-native:hover { background: var(--maroon); }
.share-copy.is-copied { background: var(--olive-soft); border-color: transparent; }

.float-share { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 90; display: flex; flex-direction: column-reverse; align-items: flex-end; gap: .6rem; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .4s, transform .5s var(--ease-out); }
.float-share.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.float-share-toggle {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50%; border: 0; cursor: pointer;
  background: var(--amber); color: var(--ink);
  box-shadow: 0 12px 30px -8px rgba(28, 20, 18, .5);
  transition: transform .3s var(--ease-out), background-color .3s;
}
.float-share-toggle:hover { background: var(--amber-soft); }
.float-share-toggle[aria-expanded="true"] { transform: rotate(-20deg); }
.float-share-panel { padding: .6rem; border-radius: 999px; background: rgba(28, 20, 18, .92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: var(--shadow-lg); }
.float-share-panel .share { flex-direction: column; }
.float-share-panel:not([hidden]) { animation: popin .35s var(--ease-out); }
@keyframes popin { from { opacity: 0; transform: translateY(10px) scale(.96); } }

.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 300; translate: -50% 0;
  padding: .7rem 1.2rem; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-size: .92rem;
  box-shadow: var(--shadow-lg);
  animation: popin .35s var(--ease-out);
}

/* ---------------------------------------------------------------- lightbox */
.lightbox {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(18, 8, 9, .96); color: var(--on-dark);
}
.lightbox[open] { display: grid; place-items: center; animation: fadein .3s ease; }
.lightbox::backdrop { background: transparent; }
@keyframes fadein { from { opacity: 0; } }
.lightbox figure { margin: 0; padding: 4.5rem 1rem 1rem; display: grid; gap: 1rem; justify-items: center; max-width: 100%; }
.lightbox img { max-width: min(1400px, 100%); max-height: calc(100vh - 10rem); max-height: calc(100svh - 10rem); width: auto; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.lightbox img.is-loading { opacity: .3; }
.lightbox figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; text-align: center; font-size: .95rem; padding-inline: 1rem; }
.lb-cat { letter-spacing: .16em; text-transform: uppercase; font-size: .75rem; color: var(--amber-soft); align-self: center; }
.lb-title { font-family: var(--font-serif); font-size: 1.2rem; }
.lb-count { color: var(--on-dark-muted); font-size: .85rem; align-self: center; }
.lb-btn { position: fixed; width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245, 241, 234, .2); background: rgba(28, 20, 18, .6); color: var(--on-dark); cursor: pointer; transition: background-color .3s; }
.lb-btn:hover { background: var(--maroon); }
.lb-prev { left: 16px; top: 50%; translate: 0 -50%; }
.lb-next { right: 16px; top: 50%; translate: 0 -50%; }
.lb-close { right: 16px; top: 16px; }

/* ---------------------------------------------------------------- 404 */
.notfound { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; padding: calc(var(--header-h) + 2rem) 0 4rem; background: var(--ink); color: var(--on-dark); text-align: center; }
.notfound h1 { font-size: clamp(3rem, 10vw, 7rem); }
.notfound p { color: var(--on-dark-muted); font-size: 1.2rem; margin: 1rem 0 2rem; }

/* ---------------------------------------------------------------- scroll reveal */
.js .reveal { opacity: 0; transform: translate3d(0, 32px, 0); transition: opacity .9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 960px) {
  :root { --header-h: 72px; }
  .brand img { width: 160px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .about-head .sticky { position: static; }
  .about-mark { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .step { position: static; }
  .step-card { grid-template-columns: 1fr; transform: none; filter: none; }
  .step-media img { width: 150px; }
  .hero { padding-bottom: 6rem; }
  .hero-pager { margin-top: 2.5rem; }
  .hero-bg::after { background: linear-gradient(0deg, rgba(28, 20, 18, .95) 10%, rgba(28, 20, 18, .6) 60%, rgba(28, 20, 18, .75) 100%); }
  .footer-grid { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { top: auto; bottom: 16px; translate: none; }
  .lightbox figure { padding-bottom: 5rem; }
}

@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; }
  .js .reveal { opacity: 1; transform: none; }
  .hero-bg, .band-track, .mark-sphere { transform: none !important; }
}

@media print {
  .site-header, .scroll-progress, .float-share, .hero-bg, .band, .letter, .scroll-cue, .hero-pager { display: none !important; }
  body { background: #fff; color: #000; }
  .hero, .projects, .contact { background: #fff !important; color: #000 !important; min-height: 0; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
}
