/* ==========================================================================
   Blackwood Custom Saddle Co.
   Idea: after hours in Dallas's shop. One lamp, smoke in the air,
   silver and leather. Headings heat like a branding iron, then cool.
   ========================================================================== */

@font-face {
  font-family: 'Blackwood Castle';
  src: url('../fonts/blackwood-castle.ttf') format('truetype');
  font-display: block;
}
/* EB Garamond (SIL Open Font License), hosted with the site */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/eb-garamond-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/eb-garamond-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/eb-garamond-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #0b0907;
  --coal: #110d0a;
  --soot: #191410;
  --bark: #2a2019;
  --saddle: #6e4425;
  --leather: #b8804c;
  --leather-hi: #dba771;
  --ember: #ff7a2f;
  --ember-deep: #d9481a;
  --ember-hot: #ffc58a;
  --bone: #efe7d8;
  --parchment: #d9ccb4;
  --muted: #a79b89;
  --pewter: #c9c4ba;
  --line: rgba(217, 212, 202, 0.18);
  --line-strong: rgba(217, 212, 202, 0.42);

  --font-display: 'Blackwood Castle', 'Old English Text MT', serif;
  --font-body: 'EB Garamond', Garamond, Georgia, serif;

  --gutter: clamp(16px, 4.5vw, 56px);
  --max: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  background: var(--ink);
  color-scheme: dark;
  scroll-padding-top: 90px;
  overflow-x: hidden;
  overflow-x: clip;
}
main { overflow-x: clip; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: clamp(1.125rem, 1.06rem + 0.28vw, 1.3rem);
  line-height: 1.62;
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }

::selection { background: var(--ember); color: var(--ink); }

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

.sr-only {
  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; left: 16px; top: -80px; z-index: 300;
  background: var(--bone); color: var(--ink);
  padding: 10px 16px; border-radius: 4px; text-decoration: none;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

.wrap {
  width: min(var(--max), 100% - var(--gutter) * 2);
  margin-inline: auto;
}

/* Fine film grain over everything, like an old print */
body::after {
  content: '';
  position: fixed;
  inset: -100px;
  z-index: 250;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 .95 0 0 0 0 .88 0 0 0 .6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  animation: grain 1.4s steps(5) infinite;
}
@keyframes grain {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-30px, 18px); }
  40% { transform: translate(22px, -26px); }
  60% { transform: translate(-14px, -8px); }
  80% { transform: translate(28px, 24px); }
  100% { transform: translate(0, 0); }
}

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: 0.005em;
  font-size: clamp(3.1rem, 2rem + 5vw, 6.4rem);
  color: var(--parchment);
  text-wrap: balance;
}
.display--sm { font-size: clamp(2.6rem, 1.8rem + 3.6vw, 4.6rem); }

.lead {
  font-weight: 600;
  font-size: 1.12em;
  color: var(--bone);
  line-height: 1.4;
  margin-bottom: 0.7em;
}

.muted { color: var(--muted); }

.copy p { color: #ddd3c2; max-width: 34em; }

/* Heading letters that heat up and cool like a hot brand */
.heat .ch {
  display: inline-block;
  white-space: pre;
}
.js .heat:not(.is-hot) .ch { opacity: 0; }
.heat.is-hot .ch {
  animation: brand-heat 1.5s var(--ease-out) both;
  animation-delay: calc(var(--i) * 55ms);
}
.heat .word { display: inline-block; white-space: nowrap; }

@keyframes brand-heat {
  0% {
    opacity: 0;
    color: #fff4e2;
    filter: blur(4px);
    text-shadow: 0 0 2px #fff, 0 0 14px #ffb66e, 0 0 34px #ff6a1a, 0 0 70px #ff4500;
  }
  14% { opacity: 1; filter: blur(0); }
  32% {
    color: #ffbe7d;
    text-shadow: 0 0 6px #ff9a4a, 0 0 22px #ff5a14, 0 0 46px rgba(255, 69, 0, 0.55);
  }
  64% {
    color: #a75d36;
    text-shadow: 0 0 4px rgba(255, 90, 20, 0.45), 0 0 14px rgba(255, 69, 0, 0.18);
  }
  100% { opacity: 1; color: inherit; text-shadow: 0 0 0 rgba(255, 69, 0, 0); }
}

/* ---------- Buttons ---------- */
.btn-leather {
  --pad-y: 1.05rem;
  --pad-x: 1.9rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: var(--pad-y) var(--pad-x);
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f3e2c4;
  background:
    linear-gradient(180deg, rgba(255, 214, 170, 0.14), rgba(0, 0, 0, 0.28)),
    url('../img/bg/leather-800.webp') center / 260% auto,
    #4b2f1c;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 180, 0.22),
    inset 0 -3px 8px rgba(0, 0, 0, 0.55),
    0 1px 0 rgba(0, 0, 0, 0.8),
    0 10px 24px -8px rgba(0, 0, 0, 0.8);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.85), 0 1px 0 rgba(255, 220, 180, 0.12);
  transition: transform 0.25s var(--ease-out), filter 0.3s, box-shadow 0.3s, background-position 0.6s var(--ease-out);
  isolation: isolate;
}
/* the stitching */
.btn-leather::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 4px;
  border: 1.5px dashed rgba(240, 214, 176, 0.55);
  pointer-events: none;
}
/* a warm glint that slides across on hover */
.btn-leather::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 190, 120, 0.28) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 120% 0;
  mix-blend-mode: screen;
  transition: background-position 0.8s var(--ease-out);
  pointer-events: none;
}
.btn-leather:hover {
  transform: translateY(-2px);
  filter: brightness(1.12) saturate(1.1);
  background-position: 0 0, 40% 50%, 0 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 180, 0.26),
    inset 0 -3px 8px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 140, 70, 0.25),
    0 16px 30px -10px rgba(0, 0, 0, 0.85),
    0 0 26px -6px rgba(255, 110, 40, 0.45);
}
.btn-leather:hover::after { background-position: -30% 0; }
.btn-leather:active {
  transform: translateY(1px);
  box-shadow: inset 0 3px 10px rgba(0, 0, 0, 0.7), 0 2px 6px rgba(0, 0, 0, 0.6);
}
.btn-leather--sm { --pad-y: 0.62rem; --pad-x: 1.15rem; font-size: 0.82rem; }
.btn-leather--lg { --pad-y: 1.25rem; --pad-x: 2.4rem; font-size: 1.1rem; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  color: var(--parchment);
  text-decoration: none;
  font-style: italic;
  font-size: 1.15rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--line-strong);
  transition: color 0.3s, border-color 0.3s, gap 0.3s var(--ease-out);
}
.link-arrow svg { width: 1.1em; height: 1.1em; }
.link-arrow:hover { color: var(--ember-hot); border-color: var(--ember); gap: 0.85em; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px var(--gutter);
  transition: background-color 0.45s, padding 0.45s var(--ease-out), box-shadow 0.45s, transform 0.5s var(--ease-out);
}
.site-header.is-scrolled {
  background: rgba(11, 9, 7, 0.84);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
  backdrop-filter: blur(12px) saturate(1.2);
  padding-block: 8px;
  box-shadow: 0 1px 0 var(--line);
}
.site-header.is-hidden { transform: translateY(-110%); }

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.7));
  transition: transform 0.6s var(--ease-out);
}
.brand:hover img { transform: rotate(-6deg) scale(1.06); }
/* inner pages show the saddle logo on its own, a little larger */
.brand--mark img { width: 66px; height: 66px; }
.brand-word {
  font-family: var(--font-display);
  font-size: 1.85rem;
  line-height: 1;
  color: var(--parchment);
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
/* On the home hero the big logo is already on show, so the header brand waits */
.page-home .site-header:not(.is-scrolled) .brand { opacity: 0; transform: translateX(-8px); pointer-events: none; }
.brand { transition: opacity 0.5s, transform 0.5s var(--ease-out); }

.nav { display: flex; align-items: center; gap: clamp(20px, 3vw, 42px); }
.nav a {
  position: relative;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1;
  text-decoration: none;
  color: var(--parchment);
  padding: 8px 2px;
  transition: color 0.3s;
}
/* A hot ember seam: a bright core with small, shifting flames above it. */
.mobile-nav > a:not(.btn-leather) {
  position: relative;
  justify-self: center;
  width: max-content;
  padding: 4px 3px 10px;
}
:is(.nav, .mobile-nav) > a:not(.btn-leather)::before,
:is(.nav, .mobile-nav) > a:not(.btn-leather)::after {
  content: '';
  position: absolute;
  pointer-events: none;
  left: 0;
  right: 0;
  opacity: 0;
  transform: scaleX(.65);
  transform-origin: center;
  transition: opacity .3s ease, transform .45s var(--ease-out);
}
:is(.nav, .mobile-nav) > a:not(.btn-leather)::after {
  bottom: 0;
  height: 2px;
  border-radius: 50%;
  background: linear-gradient(90deg, #ab2d08 0%, #ff7524 20%, #ffe2a3 42%, #fff1c9 50%, #ff8b30 66%, #c63b0b 84%, #ffb44c 100%);
  background-size: 230% 100%;
  box-shadow: 0 0 4px #ffbd59, 0 0 10px #f66b1aa8, 0 2px 20px #f54b084d;
}
:is(.nav, .mobile-nav) > a:not(.btn-leather)::before {
  bottom: -2px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse 7px 10px at 23% 100%, #ffd07dc9 0%, #ff751b7a 36%, transparent 76%),
    radial-gradient(ellipse 5px 8px at 57% 100%, #ffc065b8 0%, #ff530675 40%, transparent 80%),
    radial-gradient(ellipse 8px 11px at 81% 100%, #ffad47c9 0%, #f14b0873 40%, transparent 80%);
  background-size: 110% 100%, 125% 100%, 120% 100%;
  filter: blur(1.8px);
}
:is(.nav, .mobile-nav) > a:not(.btn-leather):is([aria-current='page'], :focus-visible) {
  color: var(--bone);
  text-shadow: 0 2px 12px #e765182b;
}
:is(.nav, .mobile-nav) > a:not(.btn-leather):is([aria-current='page'], :focus-visible)::after {
  opacity: 1;
  transform: scaleX(1);
  animation: nav-ember-core 3.2s ease-in-out infinite;
}
:is(.nav, .mobile-nav) > a:not(.btn-leather):is([aria-current='page'], :focus-visible)::before {
  opacity: .85;
  transform: scaleX(1);
  animation: nav-flame-drift 2.7s ease-in-out infinite alternate;
}
@media (hover: hover) {
  :is(.nav, .mobile-nav) > a:not(.btn-leather):hover { color: var(--bone); text-shadow: 0 2px 12px #e765182b; }
  :is(.nav, .mobile-nav) > a:not(.btn-leather):hover::after {
    opacity: 1; transform: scaleX(1); animation: nav-ember-core 3.2s ease-in-out infinite;
  }
  :is(.nav, .mobile-nav) > a:not(.btn-leather):hover::before {
    opacity: .85; transform: scaleX(1); animation: nav-flame-drift 2.7s ease-in-out infinite alternate;
  }
}
@keyframes nav-ember-core {
  0%, 100% { background-position: 0% 50%; filter: brightness(1); }
  27% { background-position: 54% 50%; filter: brightness(1.18); }
  48% { background-position: 78% 50%; filter: brightness(.93); }
  73% { background-position: 100% 50%; filter: brightness(1.12); }
}
@keyframes nav-flame-drift {
  0% { background-position: 0% 0%, 90% 0%, 20% 0%; opacity: .65; filter: blur(1.8px); }
  35% { background-position: 60% 0%, 10% 0%, 70% 0%; opacity: .9; filter: blur(1.3px); }
  68% { background-position: 100% 0%, 65% 0%, 0% 0%; opacity: .72; filter: blur(2px); }
  100% { background-position: 25% 0%, 100% 0%, 90% 0%; opacity: .85; filter: blur(1.5px); }
}
@media (prefers-reduced-motion: reduce) {
  :is(.nav, .mobile-nav) > a:not(.btn-leather)::before,
  :is(.nav, .mobile-nav) > a:not(.btn-leather)::after { animation: none !important; }
}


.header-actions { display: flex; align-items: center; gap: 18px; }

.menu-toggle {
  display: none;
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: rgba(11, 9, 7, 0.5);
  cursor: pointer;
}
.menu-toggle span {
  position: absolute;
  left: 13px; right: 13px;
  height: 2px;
  background: var(--bone);
  border-radius: 2px;
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}
.menu-toggle span:nth-child(1) { top: 18px; }
.menu-toggle span:nth-child(2) { top: 28px; }
.menu-open .menu-toggle span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-open .menu-toggle span:nth-child(2) { transform: translateY(-5px) rotate(-45deg); }

.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  background:
    radial-gradient(60% 45% at 50% 38%, rgba(184, 128, 76, 0.18), transparent 70%),
    var(--ink);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.45s, visibility 0s linear 0.45s;
}
.menu-open .mobile-nav { opacity: 1; visibility: visible; transition: opacity 0.45s; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(3rem, 14vw, 4.4rem);
  line-height: 1.15;
  text-decoration: none;
  color: var(--parchment);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s, transform 0.6s var(--ease-out), color 0.3s;
}
.menu-open .mobile-nav a { opacity: 1; transform: none; }
.menu-open .mobile-nav a:nth-child(2) { transition-delay: 0.06s; }
.menu-open .mobile-nav a:nth-child(3) { transition-delay: 0.12s; }
.menu-open .mobile-nav a:nth-child(4) { transition-delay: 0.18s; }
.mobile-nav .btn-leather { margin-top: 28px; justify-self: center; font-family: var(--font-body); font-size: 1rem; }
.mobile-nav-meta { margin-top: 18px; color: var(--muted); font-size: 1rem; }
.menu-open { overflow: hidden; }

@media (max-width: 880px) {
  .nav, .header-actions .btn-leather { display: none; }
  .menu-toggle { display: block; }
  .brand img { width: 46px; height: 46px; }
  .brand-word { font-size: 1.6rem; }
  .brand--mark img { width: 54px; height: 54px; }
}

/* ---------- Smoke + embers canvases ---------- */
.smoke, .embers {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.smoke { z-index: 2; }
.embers { z-index: 3; mix-blend-mode: screen; }

/* ---------- Home hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  z-index: 0;
}
.hero-photo--dim { filter: brightness(0.34) saturate(0.8) contrast(1.05); }
.hero-photo--lit {
  z-index: 1;
  filter: brightness(1.12) saturate(1.12) contrast(1.06);
  -webkit-mask-image: radial-gradient(circle var(--lr, 34vmax) at var(--lx, 70%) var(--ly, 46%), #000 0%, rgba(0, 0, 0, 0.6) 32%, rgba(0, 0, 0, 0.15) 58%, transparent 74%);
  mask-image: radial-gradient(circle var(--lr, 34vmax) at var(--lx, 70%) var(--ly, 46%), #000 0%, rgba(0, 0, 0, 0.6) 32%, rgba(0, 0, 0, 0.15) 58%, transparent 74%);
}
/* Hero layers, back to front: photo, lit photo, shade, intro veil,
   smoke, embers, frame, text. Smoke sits above the veil so the intro
   opens on smoke drifting in the dark. */
.hero .smoke { z-index: 3; }
.hero .embers { z-index: 4; }
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(11, 9, 7, 0.88) 0%, rgba(11, 9, 7, 0.55) 38%, transparent 62%),
    linear-gradient(180deg, rgba(11, 9, 7, 0.55) 0%, transparent 22%, transparent 72%, var(--ink) 100%);
}

/* Silver frame lines and the original corner scrollwork */
.frame {
  position: absolute;
  inset: clamp(12px, 2.2vw, 30px);
  top: 92px;
  z-index: 5;
  pointer-events: none;
}
@media (max-width: 880px) { .frame { top: 80px; } }
.frame-line {
  position: absolute;
  background: linear-gradient(90deg, #8d877d, #e3ded4 45%, #9a948a);
  opacity: 0.75;
}
.frame-line--t, .frame-line--b { left: 0; right: 0; height: 2px; }
.frame-line--l, .frame-line--r { top: 0; bottom: 0; width: 2px; background: linear-gradient(180deg, #8d877d, #e3ded4 45%, #9a948a); }
.frame-line--t { top: 0; }
.frame-line--b { bottom: 0; }
.frame-line--l { left: 0; }
.frame-line--r { right: 0; }
.frame-inner {
  position: absolute;
  inset: 9px;
  border: 1px solid rgba(217, 212, 202, 0.38);
}
.frame-corner {
  position: absolute;
  width: clamp(64px, 9vw, 128px);
  aspect-ratio: 1;
  background: url('../img/brand/corner-scroll.png') center / contain no-repeat;
  opacity: 0.85;
}
.frame-corner--tl { top: 16px; left: 16px; }
.frame-corner--tr { top: 16px; right: 16px; transform: scaleX(-1); }
.frame-corner--bl { bottom: 16px; left: 16px; transform: scaleY(-1); }
.frame-corner--br { bottom: 16px; right: 16px; transform: scale(-1, -1); }

.hero-inner {
  position: relative;
  z-index: 6;
  width: min(var(--max), 100% - var(--gutter) * 2 - 40px);
  margin-inline: auto;
  padding-block: 140px 120px;
}
.hero-lockup { max-width: 780px; }

.hero-logo-wrap {
  position: relative;
  width: clamp(92px, 11vw, 150px);
  aspect-ratio: 1;
  margin-bottom: clamp(10px, 2vw, 22px);
}
.hero-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75));
}
/* silver glint that sweeps across the saddle logo */
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 38%, rgba(255, 255, 255, 0.95) 50%, transparent 62%);
  background-size: 300% 100%;
  background-position: 150% 0;
  -webkit-mask: url('../img/brand/saddle-logo-480.png') center / contain no-repeat;
  mask: url('../img/brand/saddle-logo-480.png') center / contain no-repeat;
  mix-blend-mode: screen;
  animation: glint 7s var(--ease-in-out) 2.4s infinite;
}
@keyframes glint {
  0% { background-position: 150% 0; }
  22%, 100% { background-position: -50% 0; }
}

.hero-title { margin: 0; }
.brandword {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 1.4rem + 10.5vw, 10.8rem);
  line-height: 0.86;
  color: var(--bone);
  letter-spacing: 0.01em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}
.brandword .ch { display: inline-block; position: relative; }
.hero-sub {
  display: block;
  margin-top: 0.12em;
  font-family: var(--font-display);
  font-size: clamp(2rem, 1rem + 4.2vw, 4.4rem);
  line-height: 1;
  color: var(--parchment);
}
.hero-lede {
  margin: clamp(18px, 3vw, 30px) 0 0;
  max-width: 31em;
  font-size: clamp(1.15rem, 1.05rem + 0.45vw, 1.42rem);
  color: #e3d9c8;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.8);
}
.hero-meta {
  margin: 12px 0 0;
  color: var(--muted);
  font-style: italic;
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 30px;
  margin-top: clamp(26px, 4vw, 40px);
}

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 4vw, 46px);
  z-index: 6;
  transform: translateX(-50%);
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--muted);
  text-decoration: none;
  font-style: italic;
  font-size: 0.95rem;
  transition: color 0.3s;
}
.scroll-cue svg { width: 34px; height: 34px; animation: rowel 9s linear infinite; }
.scroll-cue:hover { color: var(--ember-hot); }
@keyframes rowel { to { transform: rotate(360deg); } }

/* Default hero arrival (repeat visits) */
.hero .brandword .ch { animation: brand-heat 1.6s var(--ease-out) both; animation-delay: calc(var(--i) * 60ms + 120ms); }
.hero-sub, .hero-lede, .hero-meta, .hero-actions { animation: rise 1s var(--ease-out) both; }
.hero-sub { animation-delay: 0.55s; }
.hero-lede { animation-delay: 0.75s; }
.hero-meta { animation-delay: 0.85s; }
.hero-actions { animation-delay: 0.95s; }
.hero-logo-wrap { animation: logo-in 1.2s var(--ease-out) both; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes logo-in {
  from { opacity: 0; transform: translateY(10px) scale(0.94); filter: blur(10px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* puff of smoke off each letter as it cools */
.brandword .ch::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 30%;
  width: 1.1em;
  height: 1.1em;
  margin-left: -0.55em;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 220, 205, 0.5), rgba(230, 220, 205, 0.12) 45%, transparent 70%);
  filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  animation: puff 2.6s ease-out both;
  animation-delay: calc(var(--i) * 60ms + 700ms);
}
@keyframes puff {
  0% { opacity: 0; transform: translateY(0) scale(0.4); }
  25% { opacity: 0.55; }
  100% { opacity: 0; transform: translateY(-1.4em) translateX(0.2em) scale(2.1); }
}

/* Touch screens: paint the glow on the glyphs, without per-letter filter
   surfaces that can clip into rectangles on mobile WebKit. Keep desktop intact. */
@media (any-pointer: coarse), (max-width: 767px) {
  .heat.is-hot .ch, .hero .brandword .ch {
    animation-name: brand-heat-touch;
    filter: none;
  }
  .brandword .ch::after {
    filter: none;
    background: radial-gradient(ellipse, rgba(230, 220, 205, 0.2), rgba(230, 220, 205, 0.07) 35%, transparent 70%);
  }
}
@keyframes brand-heat-touch {
  0% {
    opacity: 0;
    color: #fff4e2;
    text-shadow: 0 0 .03em #fff, 0 0 .16em #ffb66e, 0 0 .32em rgba(255, 106, 26, .65);
  }
  14% { opacity: 1; }
  32% {
    color: #ffbe7d;
    text-shadow: 0 0 .08em #ff9a4a, 0 0 .25em rgba(255, 90, 20, .65);
  }
  64% {
    color: #a75d36;
    text-shadow: 0 0 .05em rgba(255, 90, 20, .4), 0 0 .14em rgba(255, 69, 0, .15);
  }
  100% { opacity: 1; color: inherit; text-shadow: 0 0 0 rgba(255, 69, 0, 0); }
}

/* ---------- The full intro (first visit each session) ---------- */
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
}
.intro-skip {
  position: absolute;
  right: clamp(28px, 4vw, 56px);
  bottom: clamp(28px, 4vw, 52px);
  z-index: 8;
  display: none;
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: rgba(11, 9, 7, 0.4);
  color: var(--muted);
  font-style: italic;
  font-size: 0.95rem;
  cursor: pointer;
  transition: color 0.3s, border-color 0.3s;
}
.intro-skip:hover { color: var(--bone); border-color: var(--bone); }

html.intro:not(.intro-done), html.intro:not(.intro-done) body { overflow: hidden; }
.intro .intro-skip { display: block; animation: rise 0.8s 0.6s both; }
.intro-done .intro-skip { display: none; }
.intro .hero-veil { animation: veil-lift 1.8s var(--ease-in-out) 2.7s both; }
.intro .site-header { animation: drop-in 1s var(--ease-out) 3.6s both; }
.intro .hero-logo-wrap { animation: logo-in 1.8s var(--ease-out) 0.35s both; }
.intro .hero-logo-wrap::after { animation-delay: 1.9s; }
.intro .hero .brandword .ch { animation-duration: 2.1s; animation-delay: calc(var(--i) * 95ms + 1.15s); }
.intro .brandword .ch::after { animation-delay: calc(var(--i) * 95ms + 2.1s); animation-duration: 3s; }
.intro .hero-sub { animation-delay: 2.4s; animation-duration: 1.4s; }
.intro .hero-lede { animation-delay: 3.4s; }
.intro .hero-meta { animation-delay: 3.55s; }
.intro .hero-actions { animation-delay: 3.7s; }
.intro .scroll-cue { animation: rise 1s var(--ease-out) 4s both; }
.intro .frame-line--t, .intro .frame-line--b { animation: draw-x 1.6s var(--ease-in-out) 2.9s both; }
.intro .frame-line--l, .intro .frame-line--r { animation: draw-y 1.6s var(--ease-in-out) 2.9s both; }
.intro .frame-inner, .intro .frame-corner { animation: fade-in 1.4s ease 3.6s both; }

@keyframes veil-lift { from { opacity: 1; } to { opacity: 0; } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
@keyframes draw-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes draw-y { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes fade-in { from { opacity: 0; } }

/* Skip pressed: settle everything right away */
.intro-skipped .hero-veil { animation: none; opacity: 0; transition: opacity 0.5s; }
.intro-skipped .hero *, .intro-skipped .site-header { animation-duration: 0.01s !important; animation-delay: 0s !important; }
.intro-skipped .brandword .ch::after { animation: none !important; }
.intro-skipped .hero-logo-wrap::after { animation: glint 7s var(--ease-in-out) 1s infinite !important; }
.intro-skipped .scroll-cue svg { animation: rowel 9s linear infinite !important; }

/* ---------- Leather strap band ---------- */
.strap {
  position: relative;
  z-index: 5;
  margin-top: -34px;
  transform: rotate(-1.6deg);
  width: 104%;
  margin-left: -2%;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 210, 160, 0.12), transparent 30%, rgba(0, 0, 0, 0.35)),
    url('../img/bg/leather-800.webp') center / 900px auto repeat,
    #3b2516;
  box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.9), 0 -1px 0 rgba(0, 0, 0, 0.6);
  padding: 20px 0;
}
.strap::before, .strap::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  border-top: 2px dashed rgba(236, 206, 160, 0.45);
}
.strap::before { top: 8px; }
.strap::after { bottom: 8px; }
.strap-track {
  display: flex;
  width: max-content;
  animation: strap-run 48s linear infinite;
}
.strap-group { display: flex; align-items: center; gap: 34px; padding-right: 34px; }
.strap span {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.2rem + 1.6vw, 2.5rem);
  line-height: 1;
  color: #f1e6cf;
  text-shadow: 0 2px 0 rgba(30, 15, 6, 0.55), 0 4px 10px rgba(0, 0, 0, 0.75), 0 0 22px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
}
.rivet {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #cfc8bc 22%, #6f675d 70%, #2d2823 100%);
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.7), inset 0 -1px 2px rgba(0, 0, 0, 0.5);
}
@keyframes strap-run { to { transform: translateX(-50%); } }

/* ---------- The film: an old shop wall, a lamp, and a framed picture show ---------- */
.film {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(110px, 11vw, 170px) clamp(80px, 9vw, 130px);
  text-align: center;
  background:
    radial-gradient(70% 55% at 50% 30%, rgba(255, 168, 92, 0.2), transparent 70%),
    radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(5, 4, 3, 0.85) 100%),
    linear-gradient(180deg, var(--ink) 0%, rgba(11, 9, 7, 0.5) 16%, rgba(11, 9, 7, 0.55) 84%, var(--ink) 100%),
    url('../img/bg/wood-planks-2400.webp') center / cover,
    var(--bark);
}
/* lamplight falling from a lamp hung above the picture */
.film-lamp {
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: min(1500px, 150vw);
  height: 100%;
  transform: translateX(-50%);
  background: conic-gradient(from 180deg at 50% -12%, rgba(255, 190, 120, 0.2) 0deg, rgba(255, 190, 120, 0.08) 11deg, transparent 21deg, transparent 339deg, rgba(255, 190, 120, 0.08) 349deg, rgba(255, 190, 120, 0.2) 360deg);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 12%, rgba(0, 0, 0, 0.6) 60%, transparent 92%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 12%, rgba(0, 0, 0, 0.6) 60%, transparent 92%);
  mix-blend-mode: screen;
  opacity: .85;
}

.film-motes { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }

.film-head { max-width: 46rem; margin: 0 auto clamp(44px, 5vw, 64px); }
.film-kicker {
  font-style: italic;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.86rem;
  color: var(--leather-hi);
  margin-bottom: 14px;
}
.film-head .display { margin-bottom: clamp(18px, 2.4vw, 28px); }
.film-intro { color: #ddd3c2; font-size: 1.14rem; max-width: 40em; margin-inline: auto; text-wrap: pretty; }
.film-intro + .film-intro { margin-top: 1rem; }
.film-dallas {
  display: inline;
  white-space: nowrap;
  color: #edbb80;
  font-weight: 600;
  text-shadow: 0 0 .3em rgba(224, 136, 62, .16);
}
@media (prefers-reduced-motion: no-preference) {
  .film-intro.is-in .film-dallas { animation: dallas-glow 4.5s ease-in-out infinite; }
}
@keyframes dallas-glow {
  0%, 100% { text-shadow: 0 0 .3em rgba(224, 136, 62, .16); }
  50% { text-shadow: 0 0 .25em rgba(244, 174, 96, .38), 0 0 .65em rgba(224, 136, 62, .22); }
}

.film-intro em { font-style: normal; font-weight: 600; color: var(--leather-hi); white-space: nowrap; }

.film-screen { position: relative; width: min(100%, 1040px); margin-inline: auto; }

/* the heavy wood frame */
.film-frame {
  position: relative;
  padding: clamp(12px, 2.2vw, 28px);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 220, 170, 0.16), transparent 22%, transparent 78%, rgba(0, 0, 0, 0.45)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.4), transparent 12%, transparent 88%, rgba(0, 0, 0, 0.4)),
    linear-gradient(rgba(30, 16, 8, 0.45), rgba(30, 16, 8, 0.45)),
    url('../img/bg/wood-planks-1200.webp') center / 140% auto,
    #3a2416;
  box-shadow:
    0 50px 90px -30px rgba(0, 0, 0, 0.95),
    0 0 0 1px rgba(0, 0, 0, 0.8),
    inset 0 1px 0 rgba(255, 220, 170, 0.25),
    inset 0 0 0 6px rgba(20, 10, 4, 0.35);
}
.film-concho {
  position: absolute;
  z-index: 3;
  width: clamp(22px, 3vw, 34px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 52%, rgba(0, 0, 0, 0.35) 54%, transparent 58%),
    radial-gradient(circle at 36% 30%, #fbf8f2 0%, #d2ccc1 26%, #8f887d 68%, #514a42 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7), inset 0 -2px 3px rgba(0, 0, 0, 0.4);
  translate: -50% -50%;
}
.film-concho--tl { left: calc(clamp(12px, 2.2vw, 28px) / 2); top: calc(clamp(12px, 2.2vw, 28px) / 2); }
.film-concho--tr { left: calc(100% - clamp(12px, 2.2vw, 28px) / 2); top: calc(clamp(12px, 2.2vw, 28px) / 2); }
.film-concho--bl { left: calc(clamp(12px, 2.2vw, 28px) / 2); top: calc(100% - clamp(12px, 2.2vw, 28px) / 2); }
.film-concho--br { left: calc(100% - clamp(12px, 2.2vw, 28px) / 2); top: calc(100% - clamp(12px, 2.2vw, 28px) / 2); }

.film-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050403;
  perspective: 1400px;
  /* a silver bead inside the frame */
  box-shadow: 0 0 0 2px #8f887d, 0 0 0 3px rgba(0, 0, 0, 0.7), 0 0 0 4px rgba(217, 212, 202, 0.25);
}
.film-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.film-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 16px;
  color: var(--bone);
  text-decoration: none;
  cursor: pointer;
}
.film-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(0.22) saturate(0.9) brightness(0.84) contrast(1.06);
  transform: scale(1.02);
  transition: filter 0.6s var(--ease-out);
}
/* Steady warm light and softened edges, attached only to the cover link. */
.film-play::before,
.film-play::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}
.film-play::before {
  background: radial-gradient(ellipse at 48% 38%, rgba(255, 207, 144, .18), rgba(237, 161, 79, .06) 42%, transparent 72%);
  mix-blend-mode: screen;
}
.film-play::after {
  background: radial-gradient(ellipse at 50% 44%, transparent 36%, rgba(19, 11, 5, .22) 67%, rgba(8, 5, 2, .72) 100%);
  box-shadow: inset 0 0 42px rgba(9, 5, 2, .32), inset 0 0 0 1px rgba(247, 197, 123, .18);
}
.film-button {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: clamp(76px, 9vw, 108px);
  aspect-ratio: 1;
  border-radius: 50%;
  color: #2c2620;
  background:
    radial-gradient(circle at 50% 50%, transparent 58%, rgba(0, 0, 0, 0.35) 59%, transparent 62%),
    repeating-conic-gradient(from 0deg, #d8d2c7 0deg 6deg, #8a8378 6deg 12deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s;
}
.film-button::before {
  content: '';
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fbf8f2 0%, #d2ccc1 26%, #8f887d 68%, #514a42 100%);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.6);
}
.film-button svg { position: relative; width: 38%; height: 38%; margin-left: 6%; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.6)); }
.film-label {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2.2rem);
  line-height: 1;
  color: #f1e6cf;
  text-shadow: 0 2px 0 rgba(30, 15, 6, 0.6), 0 4px 14px rgba(0, 0, 0, 0.9);
}
.film-play:hover .film-cover, .film-play:focus-visible .film-cover { filter: sepia(0.2) saturate(1) brightness(0.86) contrast(1.06); }
.film-play:hover .film-button, .film-play:focus-visible .film-button {
  transform: scale(1.07) rotate(18deg);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.8), 0 0 44px -2px rgba(255, 150, 80, 0.6), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.film-play:focus-visible { outline: 2px solid var(--ember); outline-offset: -6px; }

/* engraved silver nameplate */
.film-plate {
  position: relative;
  display: inline-grid;
  gap: 2px;
  margin-top: clamp(24px, 3vw, 34px);
  padding: 12px clamp(28px, 4vw, 46px) 14px;
  border-radius: 3px;
  color: #2c2620;
  background: linear-gradient(180deg, #e9e4da 0%, #b9b2a6 48%, #d4cec3 52%, #8f887d 100%);
  box-shadow: 0 10px 22px -6px rgba(0, 0, 0, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.7), inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}
.film-plate::before, .film-plate::after {
  /* screws */
  content: '';
  position: absolute;
  top: 50%;
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff, #8f887d 60%, #3a332c);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.3);
}
.film-plate::before { left: 11px; }
.film-plate::after { right: 11px; }
.film-plate strong { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.35rem, 1.1rem + 0.8vw, 1.8rem); line-height: 1; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6); }
.film-plate span { font-style: italic; font-size: 0.98rem; text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); }
.film-credit { margin-top: 14px; font-style: italic; font-size: 0.95rem; color: var(--muted); }

@media (max-width: 600px) {
  .film-intro { font-size: 1.06rem; }
  .film-label { display: none; }
  .film-plate { padding-inline: 30px; }
  .film-plate span { font-size: 0.9rem; }
}

/* ---------- Sections ---------- */
.section {
  position: relative;
  padding-block: clamp(64px, 8vw, 120px);
}
.section--tight { padding-block: clamp(56px, 6vw, 96px); }

.feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.feature-grid--flip .feature-media { order: 2; }
.feature-copy .display { margin-bottom: clamp(20px, 3vw, 34px); }
.feature-copy .lead { max-width: 26em; }

/* warm lamplight pooling behind the photos */
.glow::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(42% 52% at var(--gx, 28%) 50%, rgba(184, 128, 76, 0.14), transparent 70%);
}

@media (max-width: 880px) {
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid--flip .feature-media { order: 0; }
}

/* Reveal on scroll */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.1s var(--ease-out), transform 1.1s var(--ease-out);
  transition-delay: var(--delay, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Photo deck (Built by One) ---------- */
.deck {
  position: relative;
  width: min(100%, 500px);
  margin-inline: auto;
  aspect-ratio: 4 / 5;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.deck-card {
  position: absolute;
  inset: 0;
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soot);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(217, 212, 202, 0.12);
  transform-origin: 50% 90%;
  transition: transform 0.85s var(--ease-out), filter 0.85s, opacity 0.6s;
  cursor: grab;
  will-change: transform;
}
.deck-card img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.deck-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(239, 231, 216, 0.22);
  border-radius: 3px;
  pointer-events: none;
}
.deck.is-dragging .deck-card[data-depth='0'] { transition: none; cursor: grabbing; }
.deck-controls {
  position: absolute;
  left: 0; right: 0;
  bottom: -64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.round-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--parchment);
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background-color 0.3s;
}
.round-btn svg { width: 18px; height: 18px; }
.round-btn:hover { border-color: var(--ember); color: var(--ember-hot); background: rgba(255, 122, 47, 0.08); }
.deck-count { font-style: italic; color: var(--muted); min-width: 4.5em; text-align: center; }
.deck-hint { display: block; text-align: center; color: var(--muted); font-size: 0.95rem; font-style: italic; margin-top: 82px; }

/* a light warm grade so phone photos sit in the lamplit page */
.deck-card img { filter: sepia(0.1) saturate(0.96) brightness(0.95) contrast(1.04); }

/* ---------- How it works ---------- */
.how {
  overflow: hidden;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(11, 9, 7, 0.82) 22%, rgba(11, 9, 7, 0.82) 78%, var(--ink) 100%),
    url('../img/bg/wood-planks-1200.webp') center / cover;
}
@media (min-width: 1200px) {
  .how { background: linear-gradient(180deg, var(--ink) 0%, rgba(11, 9, 7, 0.82) 22%, rgba(11, 9, 7, 0.82) 78%, var(--ink) 100%), url('../img/bg/wood-planks-2400.webp') center / cover; }
}
.how-head { text-align: center; margin-bottom: clamp(48px, 7vw, 90px); }
.how-head p { color: var(--muted); font-style: italic; margin-top: 18px; }

.steps {
  --p: 0;
  position: relative;
}
.steps-list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 56px);
}
/* the leather strap the steps hang on */
.steps::before {
  content: '';
  position: absolute;
  left: -6vw; right: -6vw;
  top: 34px;
  height: 40px;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(255, 210, 160, 0.16), transparent 35%, rgba(0, 0, 0, 0.4)),
    url('../img/bg/leather-800.webp') center / 700px auto repeat-x,
    #3d2717;
  box-shadow: 0 10px 22px -8px rgba(0, 0, 0, 0.9);
}
.steps-stitch {
  position: absolute;
  left: -6vw; right: -6vw;
  top: 34px;
  height: 40px;
  pointer-events: none;
  clip-path: inset(0 calc((1 - var(--p)) * 100%) 0 0);
}
.steps-stitch::before, .steps-stitch::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  border-top: 2px dashed rgba(240, 210, 166, 0.75);
}
.steps-stitch::before { top: 7px; }
.steps-stitch::after { bottom: 7px; }

.step { position: relative; text-align: center; }
.concho {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  margin: 0 auto 26px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, transparent 56%, rgba(0, 0, 0, 0.35) 57%, transparent 60%),
    repeating-conic-gradient(from 0deg, #d8d2c7 0deg 6deg, #8a8378 6deg 12deg),
    #b6afa4;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.75), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
  transform: scale(0.82) rotate(-25deg);
  filter: brightness(0.55) saturate(0.6);
  transition: transform 0.9s var(--ease-out), filter 0.9s;
}
.concho::before {
  content: '';
  position: absolute;
  inset: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 36% 30%, #fbf8f2 0%, #d2ccc1 26%, #8f887d 68%, #514a42 100%);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, 0.45), inset 0 2px 3px rgba(255, 255, 255, 0.6);
}
.concho span {
  position: relative;
  font-family: var(--font-display);
  font-size: 2.6rem;
  line-height: 1;
  color: #3a332c;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}
.step.is-lit .concho {
  transform: none;
  filter: none;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.75), 0 0 34px -4px rgba(255, 150, 80, 0.45), inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}
.step h3 {
  font-family: var(--font-display);
  font-size: clamp(2.3rem, 1.6rem + 2vw, 3.2rem);
  line-height: 1;
  color: var(--bone);
  margin-bottom: 12px;
}
.step p { color: #d6ccbb; max-width: 19em; margin-inline: auto; }

@media (max-width: 760px) {
  .steps-list { grid-template-columns: 1fr; gap: 46px; }
  .steps::before, .steps-stitch {
    left: 36px; right: auto;
    top: -40px; bottom: -40px;
    width: 34px; height: auto;
  }
  .steps::before { background: linear-gradient(90deg, rgba(255, 210, 160, 0.16), transparent 35%, rgba(0, 0, 0, 0.4)), url('../img/bg/leather-800.webp') center / 500px auto repeat-y, #3d2717; }
  .steps-stitch { clip-path: inset(0 0 calc((1 - var(--p)) * 100%) 0); }
  .steps-stitch::before, .steps-stitch::after { top: 0; bottom: 0; left: auto; right: auto; border-top: 0; border-left: 2px dashed rgba(240, 210, 166, 0.75); }
  .steps-stitch::before { left: 6px; }
  .steps-stitch::after { right: 6px; }
  .step { display: grid; grid-template-columns: 106px 1fr; column-gap: 18px; text-align: left; align-items: start; }
  .concho { width: 88px; height: 88px; margin: 0 0 0 9px; grid-row: span 2; }
  .concho span { font-size: 2.1rem; }
  .step h3 { margin-top: 14px; }
  .step p { margin: 0; }
}

/* ---------- Testimonials on the framed black board ---------- */
/* The original framed board, drawn with border-image so the silver bands
   and corner scrollwork stay crisp at any size. */
.board {
  position: relative;
  padding: clamp(96px, 11vw, 170px) clamp(44px, 9vw, 160px);
  border: 1px solid transparent;
  border-image-source: url('../img/bg/black-board-2400.webp');
  border-image-slice: 360 fill;
  border-image-width: clamp(80px, 11vw, 160px);
  border-image-repeat: stretch;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.9);
}
.board .display { color: #b9b4ab; margin-bottom: clamp(34px, 5vw, 56px); }
.quotes { display: grid; }
.quote {
  grid-area: 1 / 1;
  margin: 0;
  align-self: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out), visibility 0s linear 0.9s;
}
.quote.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.9s ease 0.2s, transform 0.9s var(--ease-out) 0.2s; }
.quote blockquote { margin: 0; }
.quote p {
  font-style: italic;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.6rem);
  line-height: 1.25;
  color: var(--bone);
  max-width: 24em;
  margin: 0 auto;
  text-wrap: balance;
}
.quote--long p { font-size: clamp(1.15rem, 1rem + 0.6vw, 1.45rem); line-height: 1.5; max-width: 38em; }
.quote figcaption {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem);
  color: var(--leather-hi);
}
.quote-mark {
  display: block;
  height: 0.42em;
  font-family: var(--font-body);
  font-size: 7rem;
  line-height: 1;
  color: rgba(219, 167, 113, 0.45);
  margin-bottom: 14px;
}
.quote-nav { display: flex; justify-content: center; gap: 12px; margin-top: clamp(30px, 4vw, 44px); }
.quote-dot {
  width: 14px;
  height: 14px;
  padding: 0;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}
.quote-dot[aria-pressed='true'] { background: var(--leather-hi); border-color: var(--leather-hi); transform: scale(1.15); }
@media (max-width: 640px) {
  .board { border-image-width: 58px; padding: 70px 30px 64px; }
  .quote-mark { font-size: 4.4rem; }
}

/* ---------- Closing call to action ---------- */
.cta {
  position: relative;
  min-height: 92svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  padding: 140px var(--gutter);
}
.cta-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 120%;
  top: -10%;
  object-fit: cover;
  object-position: 50% 50%;
  z-index: 0;
  filter: brightness(0.55) saturate(0.9);
  will-change: transform;
}
.cta::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(55% 60% at 50% 50%, rgba(11, 9, 7, 0.62), rgba(11, 9, 7, 0.2) 70%),
    linear-gradient(180deg, var(--ink) 0%, transparent 22%, transparent 78%, var(--ink) 100%);
}
.cta-inner { position: relative; z-index: 6; max-width: 760px; }
.cta-title {
  font-size: clamp(3.4rem, 1.6rem + 7.4vw, 8rem);
  color: var(--bone);
  line-height: 0.95;
}
.cta-inner > p { margin: clamp(22px, 3vw, 32px) auto clamp(28px, 4vw, 40px); font-size: 1.3rem; color: #e1d6c3; max-width: 26em; }
.cta-note { margin-top: 26px !important; font-style: italic; color: var(--muted) !important; font-size: 1.05rem !important; }

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  padding: clamp(70px, 9vw, 120px) 0 30px;
  background:
    linear-gradient(180deg, var(--ink) 0%, rgba(11, 9, 7, 0.9) 30%, rgba(11, 9, 7, 0.94) 100%),
    url('../img/bg/wood-planks-1200.webp') center / cover;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: clamp(36px, 6vw, 80px);
}
.footer-brand img { width: 84px; height: 84px; object-fit: contain; margin-bottom: 14px; }
.footer-word { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--parchment); margin-bottom: 16px; }
.footer-word span { display: block; font-size: 0.62em; color: var(--muted); margin-top: 4px; }
.footer-brand p:not(.footer-word) { color: var(--muted); max-width: 28em; }
.footer-h { font-family: var(--font-display); font-size: 2rem; color: var(--parchment); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; color: #ddd3c2; transition: color 0.3s; }
.site-footer a:hover { color: var(--ember-hot); }
.footer-contact p { margin-bottom: 8px; color: #ddd3c2; }
.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: clamp(50px, 7vw, 90px);
  padding-top: 22px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}
.footer-base p { margin: 0; }
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- Inner page heroes ---------- */
.page-hero {
  position: relative;
  min-height: min(78svh, 760px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  padding: 150px 0 clamp(56px, 8vw, 100px);
}
.page-hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 9, 7, 0.65) 0%, rgba(11, 9, 7, 0.25) 35%, rgba(11, 9, 7, 0.75) 78%, var(--ink) 100%);
}
.page-hero .wrap { position: relative; z-index: 6; }
.page-hero h1 { max-width: 13em; }
.page-hero .intro-text { margin-top: 24px; max-width: 34em; font-size: 1.28rem; color: #e3d9c8; }

/* About hero: Dallas at the machine */
.page-hero--about .page-hero-photo { object-position: 70% 40%; filter: contrast(1.08) brightness(0.8); }
.page-hero--about::after {
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(11, 9, 7, 0.8) 30%, rgba(11, 9, 7, 0.1) 70%),
    linear-gradient(180deg, rgba(11, 9, 7, 0.6) 0%, transparent 30%, transparent 70%, var(--ink) 100%);
}
/* Work hero */
.page-hero--work { min-height: min(64svh, 620px); }
.page-hero--work .page-hero-photo { filter: brightness(0.5) saturate(0.85); object-position: 70% 50%; }
/* Contact hero: the black tree, toned to match the shop */
.page-hero--contact { min-height: min(70svh, 680px); }
.page-hero--contact .page-hero-photo { filter: grayscale(1) sepia(0.55) brightness(0.62) contrast(1.15); object-position: 50% 30%; }

/* ---------- About ---------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(36px, 7vw, 110px);
  align-items: start;
}
.statement {
  font-style: italic;
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.4rem);
  line-height: 1.12;
  color: var(--bone);
  text-wrap: balance;
}
.statement em { font-style: normal; color: var(--leather-hi); }
.pull {
  position: relative;
  margin: clamp(60px, 9vw, 120px) auto 0;
  max-width: 900px;
  text-align: center;
  padding: 0 var(--gutter);
}
.pull p {
  font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem);
  line-height: 1.3;
  color: var(--parchment);
  font-style: italic;
  text-wrap: balance;
}
.pull::before, .pull::after {
  content: '';
  display: block;
  width: 120px;
  margin: 0 auto 30px;
  border-top: 2px dashed var(--line-strong);
}
.pull::after { margin: 30px auto 0; }
@media (max-width: 880px) { .story-grid { grid-template-columns: 1fr; } }

.bench-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(30px, 4vw, 50px);
}
.bench-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 14px;
  height: clamp(480px, 60vw, 720px);
}
.bench-grid figure { margin: 0; overflow: hidden; border-radius: 6px; position: relative; background: var(--soot); }
.bench-grid a { display: block; height: 100%; cursor: zoom-in; }
.bench-grid figure:first-child { grid-row: span 2; }
.bench-grid figure:nth-child(4) { grid-column: span 2; }
.bench-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease-out), filter 0.8s; filter: saturate(0.9) brightness(0.92); }
.bench-grid figure:hover img { transform: scale(1.05); filter: none; }
@media (max-width: 760px) {
  .bench-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; height: auto; }
  .bench-grid figure { aspect-ratio: 4 / 5; }
  .bench-grid figure:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 4 / 3; }
  .bench-grid figure:nth-child(4) { grid-column: span 2; aspect-ratio: 4 / 3; }
}

/* ---------- Work gallery ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}
.filter {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(11, 9, 7, 0.55);
  color: var(--parchment);
  cursor: pointer;
  font-size: 1.08rem;
  transition: border-color 0.3s, background-color 0.3s, color 0.3s;
}
.filter small { color: var(--muted); font-size: 0.85em; }
.filter:hover { border-color: var(--ember); }
.filter[aria-pressed='true'] { background: var(--bone); color: var(--ink); border-color: var(--bone); }
.filter[aria-pressed='true'] small { color: #6b5f50; }

.gallery {
  columns: 3;
  column-gap: 16px;
}
@media (max-width: 960px) { .gallery { columns: 2; column-gap: 10px; } .g-item { margin-bottom: 10px; } }
.g-item {
  position: relative;
  display: block;
  margin: 0 0 16px;
  break-inside: avoid;
  border-radius: 6px;
  overflow: hidden;
  background: var(--soot);
  cursor: zoom-in;
  transition: opacity 0.5s, transform 0.5s var(--ease-out);
}
.g-item img { width: 100%; height: auto; transition: transform 1.2s var(--ease-out), filter 0.6s; filter: brightness(0.92); }
.g-item::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(240, 214, 176, 0);
  border-radius: 3px;
  transition: border-color 0.4s, inset 0.5s var(--ease-out);
  pointer-events: none;
}
.g-item:hover img, .g-item:focus-visible img { transform: scale(1.04); filter: brightness(1.05); }
.g-item:hover::after, .g-item:focus-visible::after { border-color: rgba(240, 214, 176, 0.7); inset: 14px; }
.g-item.is-hidden { display: none; }
.gallery.is-filtering .g-item { opacity: 0; transform: translateY(10px); }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 260;
  display: grid;
  place-items: center;
  background: rgba(8, 6, 5, 0.96);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s, visibility 0s linear 0.4s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s; }
.lightbox figure { margin: 0; display: grid; place-items: center; max-width: 92vw; max-height: 86vh; }
.lightbox img {
  max-width: 92vw;
  max-height: 84vh;
  width: auto;
  height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
  transition: opacity 0.35s, transform 0.5s var(--ease-out);
}
.lightbox img.is-loading { opacity: 0; transform: scale(0.98); }
.lightbox figcaption { margin-top: 14px; color: var(--muted); font-style: italic; text-align: center; max-width: 60ch; }
.lb-btn { position: absolute; z-index: 2; background: rgba(11, 9, 7, 0.6); }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 26px; left: 24px; color: var(--muted); font-style: italic; }
@media (max-width: 640px) {
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 70px);
  align-items: start;
}
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

.order-card {
  position: relative;
  padding: clamp(28px, 4.5vw, 54px);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 210, 160, 0.05), transparent 30%),
    var(--soot);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.95), inset 0 0 0 1px rgba(217, 212, 202, 0.1);
}
.order-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(217, 190, 150, 0.25);
  border-radius: 6px;
  pointer-events: none;
}
.order-card h2 { font-family: var(--font-display); font-size: clamp(2.2rem, 1.6rem + 2vw, 3rem); color: var(--parchment); margin-bottom: 8px; line-height: 1; }
.order-card > p { color: var(--muted); margin-bottom: 28px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.field { display: grid; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 1.02rem; color: var(--parchment); font-weight: 500; }
.field .req { color: var(--ember); }
.field input, .field textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 6px;
  border: 1px solid rgba(217, 212, 202, 0.2);
  background: rgba(11, 9, 7, 0.65);
  color: var(--bone);
  font: inherit;
  font-size: 1.08rem;
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #776c5e; }
.field input:hover, .field textarea:hover { border-color: rgba(217, 212, 202, 0.38); }
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  background: rgba(11, 9, 7, 0.9);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.18), 0 0 24px -6px rgba(255, 110, 40, 0.4);
}
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(217, 212, 202, 0.25);
  background: rgba(11, 9, 7, 0.5);
  color: var(--parchment);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.choice span::before {
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--line-strong);
  transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.choice input:hover + span { border-color: rgba(217, 212, 202, 0.5); }
.choice input:checked + span { border-color: var(--leather-hi); color: var(--bone); background: rgba(184, 128, 76, 0.16); }
.choice input:checked + span::before { background: var(--ember); border-color: var(--ember-hot); box-shadow: 0 0 10px rgba(255, 122, 47, 0.7); }
.choice input:focus-visible + span { outline: 2px solid var(--ember-hot); outline-offset: 3px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 30px; }
.form-status { margin: 0; color: var(--parchment); font-style: italic; min-height: 1.5em; }
.form-status[data-state='ok'] { color: #b9d9a5; }
.form-status[data-state='error'] { color: #ffb08a; }
.form-status a { color: var(--ember-hot); }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* The shop tag with the order notes */
.tag {
  position: relative;
  padding: 58px clamp(26px, 3.5vw, 40px) 34px;
  border-radius: 10px 10px 10px 10px;
  color: #2c2117;
  background:
    radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, 0.35), transparent 60%),
    linear-gradient(180deg, #e2d1b0, #d2bd98);
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.9), inset 0 0 40px rgba(120, 80, 40, 0.18);
  transform: rotate(-1.4deg);
  transition: transform 0.8s var(--ease-out);
}
.tag:hover { transform: rotate(0deg); }
.tag::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  width: 18px;
  height: 18px;
  margin-left: -9px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 5px #b9a47f, inset 0 2px 3px rgba(0, 0, 0, 0.6);
}
.tag h2 { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; margin-bottom: 18px; text-align: center; color: #2a1d12; }
.tag ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.tag li { position: relative; padding-left: 28px; line-height: 1.45; font-size: 1.08rem; }
.tag li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.45em;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #fff 0%, #b8b0a3 30%, #5c544a 100%);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}
.tag a { color: #7a3510; font-weight: 600; }

.side-stack { display: grid; gap: clamp(30px, 4vw, 44px); }
.details {
  display: grid;
  gap: 18px;
  padding: 28px 0 0;
}
.detail { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: center; }
.detail-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--leather-hi);
}
.detail-icon svg { width: 20px; height: 20px; }
.detail h3 { font-family: var(--font-display); font-size: 1.6rem; line-height: 1; color: var(--parchment); }
.detail p, .detail a { margin: 2px 0 0; color: #ddd3c2; text-decoration: none; overflow-wrap: anywhere; }
.detail a:hover { color: var(--ember-hot); }

.subscribe {
  padding: 28px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(25, 20, 16, 0.6);
}
.subscribe h2 { font-family: var(--font-display); font-size: 2rem; line-height: 1; color: var(--parchment); margin-bottom: 8px; }
.subscribe p { color: var(--muted); font-size: 1.02rem; }
.subscribe-row { display: flex; gap: 10px; flex-wrap: wrap; }
.subscribe-row input {
  flex: 1 1 200px;
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid rgba(217, 212, 202, 0.2);
  background: rgba(11, 9, 7, 0.65);
  color: var(--bone);
  font: inherit;
  font-size: 1.05rem;
}
.subscribe-row input:focus { outline: none; border-color: var(--ember); box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.18); }

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px var(--gutter); position: relative; overflow: hidden; isolation: isolate; }
.lost .wrap { position: relative; z-index: 6; }
.lost p { color: var(--muted); margin: 20px auto 34px; max-width: 28em; }

/* ---------- Page transitions between pages ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.38s ease both; }
::view-transition-new(root) { animation: vt-in 0.7s ease both; }
@keyframes vt-out { to { opacity: 0; filter: blur(6px) brightness(0.4); } }
@keyframes vt-in { from { opacity: 0; filter: blur(8px) brightness(0.5); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  body::after { animation: none; }
  .strap-track { animation: none; }
  .brandword .ch::after { display: none; }
  .film-lamp, .film-cover { animation: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* Keep Google attribution visible beside the form without the floating badge. */
.grecaptcha-badge { visibility: hidden; }
.captcha-notice { font-size: .8rem; line-height: 1.5; color: #bdb3a3; margin: 1.3rem 0 0; }
.captcha-notice a { color: #d7c4a8; text-decoration: underline; }

/* Mobile homepage opens on the hero; navigation arrives with the scrolled mark. */
@media (max-width: 880px) {
  .js:not(.menu-open) .page-home .site-header:not(.is-scrolled) {
    visibility: hidden;
    pointer-events: none;
  }
  .page-home .hero { align-items: flex-start; }
  .page-home .hero .frame { top: max(12px, env(safe-area-inset-top)); }
  .page-home .hero-inner { padding-top: calc(72px + env(safe-area-inset-top)); padding-bottom: calc(168px + env(safe-area-inset-bottom)); }
  /* Clear the rotated leather strip and leave room below the hero actions. */
  .page-home .scroll-cue { bottom: calc(72px + env(safe-area-inset-bottom)); }
}
