/* ART OF SEDUCTION — site styles
   One committed world: a warehouse lit by two hundred candles, wax running down the walls.
   Every colour is painted explicitly so the page holds on any host background. */

:root {
  --night:   #0D0509;  /* wine-black */
  --night-2: #1A0810;
  --wine:    #34091B;
  --oxblood: #571026;
  --wax:     #6E1029;  /* the drips */
  --crimson: #A81034;
  --ember:   #F2521C;  /* flame */
  --candle:  #FFB25C;  /* the light itself */
  --gold:    #FFDCA8;
  --bone:    #FFEDE2;  /* lit skin */
  --dim:     #D9B0A2;
  --slate:   #9A8390;  /* build notes — off-palette on purpose */
  --rule:    rgba(255, 178, 92, 0.26);
  --rule-soft: rgba(255, 178, 92, 0.13);

  --display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --script:  "Pinyon Script", "Snell Roundhand", cursive;
  --body:    "EB Garamond", Georgia, "Times New Roman", serif;
  --util:    "Archivo", system-ui, sans-serif;   /* build notes only */

  --shell: 1180px;
  --gutter: clamp(20px, 5vw, 64px);
  --section: clamp(76px, 11vw, 148px);

  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");

  /* wax running down from an edge — tiled, never stretched */
  --drips: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='110' viewBox='0 0 1200 110'%3E%3Cdefs%3E%3ClinearGradient id='w' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%235E0F24'/%3E%3Cstop offset='0.4' stop-color='%234A0A1B'/%3E%3Cstop offset='1' stop-color='%232E0511'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M1200 0 H0 V8.0 L18.0 8.0 C18.0 63.1 24.8 82.4 37.9 82.4 C51.1 82.4 57.9 63.1 57.9 8.0 L100.9 8.0 C100.9 21.0 105.0 25.6 112.9 25.6 C120.9 25.6 124.9 21.0 124.9 8.0 L149.9 8.0 C149.9 18.3 157.0 22.0 170.7 22.0 C184.4 22.0 191.4 18.3 191.4 8.0 L223.0 8.0 C223.0 27.3 225.5 34.0 230.5 34.0 C235.4 34.0 238.0 27.3 238.0 8.0 L319.9 8.0 C319.9 48.3 323.6 62.5 330.8 62.5 C338.1 62.5 341.8 48.3 341.8 8.0 L398.8 8.0 C398.8 14.6 403.3 16.9 412.0 16.9 C420.8 16.9 425.3 14.6 425.3 8.0 L481.7 8.0 C481.7 42.3 484.5 54.3 489.9 54.3 C495.2 54.3 498.0 42.3 498.0 8.0 L523.2 8.0 C523.2 23.0 529.9 28.3 542.8 28.3 C555.8 28.3 562.4 23.0 562.4 8.0 L587.5 8.0 C587.5 20.8 593.6 25.3 605.5 25.3 C617.3 25.3 623.4 20.8 623.4 8.0 L703.8 8.0 C703.8 13.1 707.0 14.9 713.2 14.9 C719.3 14.9 722.5 13.1 722.5 8.0 L785.9 8.0 C785.9 22.0 792.9 26.9 806.5 26.9 C820.1 26.9 827.1 22.0 827.1 8.0 L868.0 8.0 C868.0 14.7 875.0 17.1 888.6 17.1 C902.3 17.1 909.3 14.7 909.3 8.0 L977.1 8.0 C977.1 13.5 981.7 15.5 990.5 15.5 C999.4 15.5 1003.9 13.5 1003.9 8.0 L1038.7 8.0 C1038.7 17.7 1043.0 21.1 1051.6 21.1 C1060.1 21.1 1064.5 17.7 1064.5 8.0 L1141.5 8.0 C1141.5 20.6 1147.2 25.1 1158.2 25.1 C1169.1 25.1 1174.8 20.6 1174.8 8.0 L1200 8.0 Z' fill='url(%23w)'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--night);
  color: var(--dim);
  font-family: var(--body);
  font-weight: 400;
  font-size: 19px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* the candle field lives here, behind everything */
#candles { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
main, .foot { position: relative; z-index: 1; }

body::before { /* grain */
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.05;
  pointer-events: none;
  z-index: 8;
}
body::after { /* vignette — the room falls away at the edges */
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(120% 90% at 50% 42%, transparent 36%, rgba(7, 2, 4, 0.76) 100%);
  pointer-events: none;
  z-index: 7;
}

img { max-width: 100%; display: block; }

a { color: var(--bone); text-decoration-color: rgba(255, 178, 92, 0.5); text-underline-offset: 4px; }
a:hover { text-decoration-color: var(--candle); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--candle);
  outline-offset: 3px;
}

/* ---------- type ---------- */

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--bone);
  font-weight: 600;
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.005em;
}

.d1 {
  font-size: clamp(54px, 9.6vw, 124px);
  line-height: 0.94;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-shadow: 0 0 80px rgba(242, 82, 28, 0.42), 0 0 22px rgba(255, 178, 92, 0.22);
}
.d2 { font-size: clamp(38px, 6vw, 74px); line-height: 1.0; text-shadow: 0 0 56px rgba(242, 82, 28, 0.26); }
.d3 { font-size: clamp(27px, 3.3vw, 41px); line-height: 1.1; }
.d4 { font-size: clamp(22px, 2.3vw, 28px); line-height: 1.2; font-weight: 500; }

/* the romantic hand — accent words only, never a paragraph */
.italic {
  font-family: var(--script);
  font-style: normal;
  font-weight: 400;
  color: var(--candle);
  font-size: 1.22em;
  line-height: 0.9;
  padding-right: 0.08em;
  text-shadow: 0 0 34px rgba(255, 178, 92, 0.55);
}
.hush { color: var(--dim); }

.eyebrow {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  font-variant: small-caps;
  letter-spacing: 0.2em;
  color: var(--candle);
  margin: 0;
}

.lede { font-size: clamp(20px, 1.8vw, 23px); line-height: 1.62; color: var(--dim); max-width: 58ch; }

p { margin: 0; max-width: 62ch; }
strong { color: var(--bone); font-weight: 600; }

.ph {
  color: var(--candle);
  border-bottom: 1px dotted rgba(255, 178, 92, 0.55);
  font-style: italic;
}

.note {
  display: block;
  font-family: var(--util);
  font-size: 13px;
  line-height: 1.55;
  color: var(--slate);
  border-left: 2px solid rgba(154, 131, 144, 0.5);
  padding-left: 12px;
  max-width: 58ch;
  font-style: italic;
  font-variant: normal;
  letter-spacing: 0;
  text-transform: none;
}
.note::before { content: "Build note — "; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; font-size: 10.5px; }
html.notes-off .note { display: none; }

/* ---------- layout ---------- */

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

section { padding-block: var(--section); scroll-margin-top: 90px; position: relative; }
section + section::before { /* an ember hairline, brightest in the middle */
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 178, 92, 0.34), transparent);
}
/* …except where the wax runs down instead */
.hero + section::before, .closer::before {
  height: 110px;
  background: var(--drips) repeat-x left top;
  background-size: 1200px 110px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.55));
}
[id] { scroll-margin-top: 90px; }

.stack   { display: flex; flex-direction: column; gap: 22px; }
.stack-s { display: flex; flex-direction: column; gap: 12px; }
.stack-l { display: flex; flex-direction: column; gap: 44px; }

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 84px);
  align-items: start;
}
.split.tight { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
@media (max-width: 860px) { .split, .split.tight { grid-template-columns: 1fr; } }

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(24px, 3.4vw, 48px);
}

/* ---------- nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: linear-gradient(180deg, rgba(13, 5, 9, 0.95), rgba(13, 5, 9, 0.8));
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule-soft);
}
.nav-in { display: flex; align-items: center; gap: 28px; padding-block: 14px; }
.wordmark {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.1em;
  font-variant: small-caps;
  color: var(--bone);
  text-decoration: none;
  margin-right: auto;
  white-space: nowrap;
  text-shadow: 0 0 26px rgba(242, 82, 28, 0.55);
}
.wordmark span { font-family: var(--script); font-size: 1.1em; color: var(--ember); letter-spacing: 0; margin-inline: 0.16em 0.22em; }
.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-family: var(--body);
  font-size: 16px;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  color: var(--dim);
  text-decoration: none;
  padding-block: 4px;
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.nav-links a:hover { color: var(--bone); border-bottom-color: var(--ember); }
.nav-links a[aria-current="page"] { color: var(--candle); border-bottom-color: var(--ember); }
@media (max-width: 780px) {
  .nav-in { flex-wrap: wrap; gap: 10px 18px; }
  .nav-links { order: 3; width: 100%; gap: 18px; overflow-x: auto; padding-bottom: 2px; }
  .nav .btn { padding: 9px 20px; font-size: 16px; }
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 32px;
  font-family: var(--display);
  font-size: 20px;
  font-weight: 600;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  border: 1px solid rgba(255, 178, 92, 0.5);
  background: linear-gradient(140deg, #7C0C27 0%, var(--crimson) 42%, var(--ember) 100%);
  color: var(--bone);
  text-shadow: 0 1px 10px rgba(60, 4, 12, 0.7);
  box-shadow: 0 12px 34px rgba(120, 8, 30, 0.42), inset 0 1px 0 rgba(255, 220, 168, 0.28);
  transition: box-shadow 0.35s ease, transform 0.3s ease, filter 0.35s ease;
}
.btn:hover {
  filter: saturate(1.12) brightness(1.07);
  box-shadow: 0 0 40px rgba(242, 82, 28, 0.55), 0 14px 38px rgba(120, 8, 30, 0.5), inset 0 1px 0 rgba(255, 220, 168, 0.4);
  transform: translateY(-2px);
}
.btn.ghost {
  background: rgba(255, 178, 92, 0.05);
  border-color: var(--rule);
  color: var(--bone);
  box-shadow: none;
  font-weight: 500;
}
.btn.ghost:hover { border-color: var(--candle); background: rgba(242, 82, 28, 0.12); box-shadow: 0 0 28px rgba(242, 82, 28, 0.24); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- photo plates ---------- */

.plate {
  position: relative;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--rule-soft);
  background:
    radial-gradient(90% 70% at 26% 18%, rgba(242, 82, 28, 0.44), transparent 62%),
    radial-gradient(70% 60% at 84% 86%, rgba(255, 178, 92, 0.26), transparent 70%),
    linear-gradient(155deg, #43121F, #150609 74%);
  overflow: hidden;
  transition: box-shadow 0.4s ease, border-color 0.4s ease;
}
.plate:hover { border-color: var(--rule); box-shadow: inset 0 0 90px rgba(242, 82, 28, 0.24); }
.plate::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--grain);
  opacity: 0.06;
  pointer-events: none;
}
.plate > span {
  position: relative;
  font-family: var(--body);
  font-size: 14px;
  font-variant: small-caps;
  letter-spacing: 0.1em;
  color: rgba(255, 237, 226, 0.88);
  line-height: 1.5;
  max-width: 36ch;
  text-shadow: 0 2px 14px rgba(13, 5, 9, 0.95);
}
.plate > span::before { content: "Photo — "; color: var(--candle); }
.plate .note { font-variant: normal; }
.plate.tall  { aspect-ratio: 3 / 4; }
.plate.wide  { aspect-ratio: 21 / 9; }
.plate.square{ aspect-ratio: 1 / 1; }

/* ---------- hero ---------- */

.hero {
  position: relative;
  padding-block: clamp(84px, 14vh, 160px) clamp(74px, 10vh, 120px);
  overflow: hidden;
}
.hero::before { /* the near candles — warmth rising off the floor */
  content: "";
  position: absolute;
  inset: auto -20% -45% -20%;
  height: 92%;
  background:
    radial-gradient(50% 62% at 30% 100%, rgba(242, 82, 28, 0.42), transparent 70%),
    radial-gradient(46% 54% at 82% 100%, rgba(168, 16, 52, 0.46), transparent 72%);
  filter: blur(6px);
  animation: breathe 9s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes breathe {
  from { opacity: 0.7; transform: translateY(5px) scale(1); }
  to   { opacity: 1;   transform: translateY(-7px) scale(1.06); }
}
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 30px; }
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero .d1 { max-width: 14ch; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  font-family: var(--body);
  font-size: 16px;
  font-variant: small-caps;
  letter-spacing: 0.12em;
  color: var(--dim);
  padding-top: 10px;
  border-top: 1px solid var(--rule-soft);
}

/* ---------- run sheet ---------- */

.runsheet { display: flex; flex-direction: column; }
.run {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 44px);
  padding-block: 30px;
  border-top: 1px solid var(--rule-soft);
  transition: background 0.4s ease;
}
.run:last-child { border-bottom: 1px solid var(--rule-soft); }
.run:hover { background: linear-gradient(90deg, rgba(242, 82, 28, 0.1), transparent 60%); }
.run time {
  font-family: var(--display);
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  color: var(--ember);
  padding-top: 6px;
}
.run .body { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 620px) {
  .run { grid-template-columns: 1fr; gap: 8px; }
  .run time { padding-top: 0; }
}

/* ---------- lists ---------- */

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.ticks li { position: relative; padding-left: 28px; }
.ticks li::before { position: absolute; left: 0; top: 0.05em; font-size: 15px; font-family: var(--util); }
.ticks.yes li::before { content: "\2713"; color: var(--candle); text-shadow: 0 0 14px rgba(255, 178, 92, 0.8); }
.ticks.no  li::before { content: "\2715"; color: var(--crimson); }
.ticks.no li { color: var(--dim); }

/* ---------- panels & cards ---------- */

.panel {
  background: linear-gradient(160deg, rgba(52, 9, 27, 0.9), rgba(19, 6, 11, 0.94));
  border: 1px solid var(--rule-soft);
  padding: clamp(24px, 3.4vw, 44px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  backdrop-filter: blur(2px);
}
.panel.garnet {
  background:
    radial-gradient(85% 110% at 6% 0%, rgba(242, 82, 28, 0.36), transparent 62%),
    linear-gradient(160deg, rgba(87, 16, 38, 0.94), rgba(26, 8, 16, 0.95));
  border-color: var(--rule);
  box-shadow: 0 26px 64px rgba(8, 2, 5, 0.66), inset 0 0 70px rgba(242, 82, 28, 0.07);
}

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); gap: 22px 28px; margin: 0; }
.fact { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.fact dt { font-family: var(--body); font-size: 14px; font-variant: small-caps; letter-spacing: 0.16em; color: var(--candle); }
.fact dd { margin: 0; color: var(--bone); font-size: 19px; }

.card {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 26px;
  background: linear-gradient(160deg, rgba(52, 9, 27, 0.82), rgba(19, 6, 11, 0.9));
  border: 1px solid var(--rule-soft);
  text-decoration: none;
  transition: border-color 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
}
.card:hover { border-color: var(--rule); transform: translateY(-3px); box-shadow: 0 18px 46px rgba(8, 2, 5, 0.6), 0 0 42px rgba(242, 82, 28, 0.14); }
.card .tag { font-family: var(--body); font-size: 14px; font-variant: small-caps; letter-spacing: 0.16em; color: var(--ember); }
.card .tag.soon { color: var(--slate); }
.card p { font-size: 17.5px; }
.card .more { margin-top: auto; font-family: var(--display); font-style: italic; font-size: 18px; color: var(--candle); }

/* ---------- quotes ---------- */

.quote { display: flex; flex-direction: column; gap: 14px; border-left: 2px solid var(--ember); padding-left: 26px; }
.quote blockquote {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(23px, 2.2vw, 31px);
  line-height: 1.3;
  color: var(--bone);
  font-style: italic;
  font-weight: 500;
}
.quote cite { font-style: normal; font-family: var(--body); font-size: 15px; font-variant: small-caps; letter-spacing: 0.14em; color: var(--dim); }

/* ---------- faq ---------- */

.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--rule-soft); }
.faq details:last-of-type { border-bottom: 1px solid var(--rule-soft); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding-block: 22px;
  display: flex;
  gap: 20px;
  align-items: baseline;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(21px, 2.2vw, 27px);
  color: var(--bone);
  transition: color 0.25s ease;
}
.faq summary:hover { color: var(--candle); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--util);
  font-weight: 300;
  color: var(--ember);
  transition: transform 0.25s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding-bottom: 26px; display: flex; flex-direction: column; gap: 12px; }

/* ---------- closing cta ---------- */

.closer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(55% 100% at 50% 112%, rgba(242, 82, 28, 0.44), transparent 66%),
    radial-gradient(70% 90% at 50% 0%, rgba(168, 16, 52, 0.34), transparent 70%),
    rgba(19, 6, 11, 0.72);
  border-top: none;
}
.closer .shell { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; }
.closer .d2 { max-width: 17ch; }
.closer p { text-align: center; }

/* ---------- footer ---------- */

.foot { border-top: 1px solid var(--rule-soft); padding-block: 54px 40px; background: rgba(10, 3, 6, 0.82); }
.foot-in { display: flex; flex-wrap: wrap; gap: 40px; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.foot-links a, .foot-mini a { font-family: var(--body); font-size: 16px; font-variant: small-caps; letter-spacing: 0.1em; color: var(--dim); text-decoration: none; }
.foot-mini a { font-size: 15px; }
.foot-links a:hover, .foot-mini a:hover { color: var(--candle); }
.foot-mini { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--rule-soft); font-size: 15px; color: var(--slate); }
.notes-toggle {
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule-soft);
  color: var(--slate);
  font-family: var(--util);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 13px;
  cursor: pointer;
}
.notes-toggle:hover { color: var(--dim); border-color: var(--rule); }

/* ---------- motion ---------- */

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero::before { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
