/* fonts are tiny subsets and preloaded, so block avoids a visible font swap */
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-300.woff2) format("woff2"); font-weight: 300; font-display: block; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-500.woff2) format("woff2"); font-weight: 500; font-display: block; }
@font-face { font-family: "Cormorant"; src: url(fonts/cormorant-600.woff2) format("woff2"); font-weight: 600; font-display: block; }

:root {
  /* colour: the brand five, and the golds derived from them only */
  --obsidian: #000000;
  --smoke: #323036;
  --gold: #B0864B;
  --champagne: #F3DEAD;
  --ivory: #F2ECE1;
  --ink: #0A0703;
  --quiet: rgba(242, 236, 225, .74);
  --gold-line: rgba(176, 134, 75, .62);
  --rule: rgba(242, 236, 225, .2);
  --metal: linear-gradient(180deg, #EBD3A0 0%, #CDA668 30%, #B0864B 56%, #977139 82%, #A57D45 100%);
  --brush: repeating-linear-gradient(0deg, rgba(255, 246, 225, .03) 0 1px, transparent 1px 2px, rgba(60, 40, 15, .025) 2px 3px, transparent 3px 5px);

  /* motion: one curve, four durations, transform and opacity only */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --t-press: 120ms;
  --t-ui: 450ms;
  --t-enter: 700ms;
  --t-reveal: 1000ms;

  /* space: one scale, used top to bottom */
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 32px; --s5: 48px; --s6: 64px; --s7: 96px; --s8: 144px;

  /* type */
  --serif: "Cormorant", "Cormorant Garamond", Garamond, "Times New Roman", serif;
  --caps: .22em;    /* every small-capital label */
  --mark: .3em;     /* the wordmark only */

  --hair: 1px;
  --gutter: 20px;
  --edge-l: max(var(--gutter), env(safe-area-inset-left));
  --edge-r: max(var(--gutter), env(safe-area-inset-right));
}
/* true hairlines on 2x and 3x phone screens */
@media (min-resolution: 2dppx) { :root { --hair: .5px; } }

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--obsidian); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--obsidian);
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  line-height: 1.6;
  font-variant-numeric: lining-nums proportional-nums;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
::selection { background: rgba(176, 134, 75, .4); color: var(--ivory); }
img, video, svg { display: block; }
a, button, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { color: inherit; text-decoration-color: var(--gold); text-underline-offset: .26em; text-decoration-thickness: 1px; }
a:active { color: var(--champagne); }
:focus { outline: none; }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 5px; }
h1, h2, h3 { font-weight: 300; margin: 0; line-height: 1.08; letter-spacing: -.005em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.nw { white-space: nowrap; }
.caps { font-weight: 600; text-transform: uppercase; letter-spacing: var(--caps); }

.name {
  font-weight: 600; font-size: 13px; letter-spacing: var(--mark); text-transform: uppercase;
  color: var(--gold); padding-left: var(--mark); /* balances the trailing letter-space when centred */
}

/* ================= buttons ================= */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 58px; padding: 0 var(--s3); white-space: nowrap;
  font: 600 14px/1 var(--serif); letter-spacing: var(--caps); text-transform: uppercase;
  text-decoration: none; cursor: pointer; user-select: none; -webkit-user-select: none;
  transition: transform var(--t-ui) var(--ease);
}
.btn .lbl { padding-left: var(--caps); } /* optical centring against the tracking */
/* pressing: a short, weighty sink with no overshoot; release settles slowly */
.btn:active, .offer:active .btn { transform: translateY(1px) scale(.99); transition-duration: var(--t-press); }
.btn::before { /* the press shade */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: rgba(30, 18, 4, .24); opacity: 0;
  transition: opacity var(--t-ui) var(--ease);
}
.btn:active::before, .offer:active .btn::before { opacity: 1; transition-duration: var(--t-press); }

/* primary: brushed gold */
.btn-gold {
  color: var(--ink);
  background: var(--brush), var(--metal);
  text-shadow: 0 1px 0 rgba(255, 238, 200, .3);
  box-shadow:
    inset 0 1px 0 rgba(255, 244, 218, .85),   /* top-edge highlight */
    inset 0 0 0 1px rgba(70, 48, 18, .5),      /* fine dark inner line */
    inset 0 -1px 0 rgba(60, 40, 14, .55),
    0 14px 30px -16px rgba(176, 134, 75, .65), /* warm glow beneath */
    0 2px 6px -2px rgba(0, 0, 0, .8);
}
.btn-gold:active { color: var(--ink); } /* beats the general a:active colour */
.btn-gold > span { position: relative; z-index: 2; }
.btn-gold .amt {
  font-weight: 500; font-size: 18px; letter-spacing: .02em; text-transform: none;
  padding-left: var(--s2); border-left: 1px solid rgba(40, 26, 8, .38); line-height: 1.3;
}
/* the sheen: hero button only, faint, once every 14 s */
.sheen::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 250, 235, .3) 50%, transparent 60%);
  transform: translateX(-130%);
}
@media (prefers-reduced-motion: no-preference) {
  .sheen::after { animation: sheen 14s 3.2s var(--ease) infinite; }
}
@keyframes sheen { 0% { transform: translateX(-130%); } 12%, 100% { transform: translateX(130%); } }

/* secondary: ivory hairline held by claws; pressing fades in a gold plate with dark letters */
.btn-line { color: var(--ivory); box-shadow: inset 0 0 0 var(--hair) rgba(242, 236, 225, .6); overflow: visible; }
.btn-line::before { display: none; }
.btn-line::after {
  content: attr(data-l); position: absolute; inset: 0; z-index: 1;
  display: flex; align-items: center; justify-content: center; padding-left: var(--caps);
  color: var(--ink); background: var(--brush), var(--metal);
  opacity: 0; transition: opacity var(--t-ui) var(--ease);
}
.btn-line:active::after, .offer:active .btn-line::after { opacity: 1; transition-duration: var(--t-press); }
.btn-line .cs { position: absolute; z-index: 2; width: 12px; height: 12px; pointer-events: none; }
.cs.tl { top: -5px; left: -5px; }
.cs.tr { top: -5px; right: -5px; transform: scaleX(-1); }
.cs.bl { bottom: -5px; left: -5px; transform: scaleY(-1); }
.cs.br { bottom: -5px; right: -5px; transform: scale(-1, -1); }

@media (hover: hover) {
  a:hover { color: var(--champagne); }
  .btn-gold:hover { color: var(--ink); transform: translateY(-1px); }
  .btn-line:hover { color: var(--champagne); box-shadow: inset 0 0 0 var(--hair) var(--gold); }
  .btn:active { transform: translateY(1px) scale(.99); }
}

/* ================= the setting: frames held by four gold claws ================= */
.set { position: relative; margin: 0; border: var(--hair) solid var(--gold-line); padding: 5px; background: var(--obsidian); }
.set video { width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; background: var(--obsidian); }
.claw { position: absolute; width: 22px; height: 22px; pointer-events: none; }
.claw.tl { top: -8px; left: -8px; --out: -8px -8px; }
.claw.tr { top: -8px; right: -8px; transform: scaleX(-1); --out: 8px -8px; }
.claw.bl { bottom: -8px; left: -8px; transform: scaleY(-1); --out: -8px 8px; }
.claw.br { bottom: -8px; right: -8px; transform: scale(-1, -1); --out: 8px 8px; }

/* ================= hero (phone first) ================= */
.hero {
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  text-align: center;
  padding: max(var(--s2), env(safe-area-inset-top)) var(--edge-r) var(--s3) var(--edge-l);
  gap: var(--s2);
}
.brand { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.brand img { width: 40px; height: 40px; }
.hero h1 { font-size: clamp(34px, 9.4vw, 44px); max-width: 15ch; margin: 0 auto; }
.lede { color: var(--quiet); font-size: 18px; margin-top: var(--s1); }

.hero-set { height: clamp(200px, calc(100svh - 440px), 600px); aspect-ratio: 9 / 16; box-sizing: content-box; }
.hero-set video { height: 100%; width: auto; }
.hero-set figcaption {
  position: absolute; left: 0; right: 0; bottom: -24px; text-align: center;
  font-size: 11px; font-weight: 600; letter-spacing: var(--caps); text-transform: uppercase; padding-left: var(--caps);
  color: var(--quiet);
}
.hero-act { display: flex; flex-direction: column; align-items: center; gap: var(--s1); margin-top: var(--s3); width: 100%; }
.hero-act .btn { width: 100%; max-width: 420px; }
.act-note { font-size: 16px; color: var(--quiet); }
.act-note a { color: var(--ivory); white-space: nowrap; display: inline-block; padding: var(--s1) 0; } /* bigger hit area */

/* entrance: mark, name, headline, line, the framed video, then the button; done by 1.2 s */
@media (prefers-reduced-motion: no-preference) {
  .js .in1, .js .in2, .js .in3, .js .in4, .js .in6 { animation: arrive var(--t-enter) var(--ease) both; }
  .js .in2 { animation-delay: 80ms; }
  .js .in3 { animation-delay: 160ms; }
  .js .in4 { animation-delay: 240ms; }
  .js .in5 { animation: settle 800ms var(--ease) 300ms both; }
  .js .in5 .claw { animation: close var(--t-enter) var(--ease) 450ms both; }
  .js .in6 { animation-delay: 500ms; }

  /* sections: small, slow, once */
  .js .rv { opacity: 0; transform: translateY(16px); transition: opacity var(--t-reveal) var(--ease) var(--d, 0ms), transform var(--t-reveal) var(--ease) var(--d, 0ms); }
  .js .rv.in { opacity: 1; transform: none; }
}
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(.985); } to { opacity: 1; transform: none; } }
@keyframes close { from { translate: var(--out); opacity: 0; } to { translate: 0 0; opacity: 1; } }

/* ================= sections ================= */
main > section { padding: var(--s7) var(--edge-r) 0 var(--edge-l); max-width: 1180px; margin: 0 auto; }
#offers { scroll-margin-top: var(--s3); }
h2 { font-size: 40px; }
.section-note { color: var(--quiet); margin-top: var(--s2); max-width: 46ch; font-size: 17px; }

/* how it works: a real sequence, so numbered */
.steps ol { list-style: none; margin: var(--s5) 0 0; padding: 0; display: grid; gap: var(--s4); }
.steps li { display: grid; grid-template-columns: 52px 1fr; align-items: baseline; padding-top: var(--s3); border-top: var(--hair) solid var(--rule); }
.num { font-size: 26px; font-weight: 300; color: var(--gold); }
.steps li p { font-size: 24px; font-weight: 300; line-height: 1.3; }

/* the work */
.work-grid { display: grid; gap: var(--s6); margin-top: var(--s5); justify-items: center; }
.piece { margin: 0; width: min(100%, 280px); }
.piece figcaption { margin-top: var(--s2); font-size: 19px; }

/* play control: the whole frame is the target; the mark sits low so it never covers the product */
.play {
  position: absolute; inset: 5px; border: 0; padding: 0 0 var(--s3); margin: 0; cursor: pointer;
  background: linear-gradient(180deg, transparent 58%, rgba(0, 0, 0, .85));
  display: flex; align-items: flex-end; justify-content: center;
  color: var(--champagne);
}
.pl { display: flex; align-items: center; gap: var(--s2); }
.play .ring {
  position: relative; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow:
    inset 0 0 0 var(--hair) rgba(243, 222, 173, .9),
    inset 0 0 0 5px rgba(0, 0, 0, .25),
    inset 0 0 0 calc(5px + var(--hair)) rgba(243, 222, 173, .4),
    0 10px 30px -8px rgba(0, 0, 0, .7);
  transition: transform var(--t-ui) var(--ease);
}
.play .ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(176, 134, 75, .45); opacity: 0; transition: opacity var(--t-ui) var(--ease); }
.play svg { position: relative; z-index: 1; width: 20px; height: 20px; fill: currentColor; margin-left: 3px; }
.play-lbl { font: 600 12px/1 var(--serif); letter-spacing: var(--caps); text-transform: uppercase; padding-left: var(--caps); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.play:active .ring { transform: scale(.95); transition-duration: var(--t-press); }
.play:active .ring::after { opacity: 1; transition-duration: var(--t-press); }
.play:focus-visible { outline-offset: -1px; }
.play[hidden] { display: none; }

/* offers: each card is one big target */
.offer-grid { display: grid; gap: var(--s3); margin-top: var(--s5); }
.offer {
  position: relative; cursor: pointer;
  padding: var(--s4) 0; border-top: var(--hair) solid var(--rule);
  display: flex; flex-direction: column; align-items: flex-start;
}
.offer::after { /* press light */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: rgba(243, 222, 173, .035); opacity: 0;
  transition: opacity var(--t-ui) var(--ease);
}
.offer:active::after { opacity: 1; transition-duration: var(--t-press); }
.offer h3 { font-size: 30px; }
.price { font-size: 52px; font-weight: 300; line-height: 1; margin: var(--s2) 0; color: var(--champagne); font-variant-numeric: lining-nums tabular-nums; }
.price small { font-size: 19px; color: var(--quiet); font-weight: 500; }
.what { font-size: 19px; max-width: 34ch; }
.offer .btn { margin-top: var(--s4); width: 100%; }
.offer.feature {
  border: var(--hair) solid var(--gold-line); padding: var(--s4) 20px var(--s3); margin: var(--s1) 0 var(--s3);
  background: radial-gradient(120% 60% at 50% 0%, rgba(176, 134, 75, .08), transparent 70%);
}
.start { font-size: 12px; color: var(--gold); letter-spacing: var(--caps); text-transform: uppercase; margin-bottom: var(--s2); font-weight: 600; }
.offer ul { list-style: none; margin: var(--s3) 0 0; padding: 0; color: var(--quiet); font-size: 17px; align-self: stretch; }
.offer ul li { padding: 12px 0; border-top: var(--hair) solid var(--rule); }
.sunday { margin-top: var(--s5); color: var(--quiet); font-size: 18px; text-align: center; }
.sunday a { color: var(--ivory); white-space: nowrap; display: inline-block; padding: var(--s1) 0; }

/* questions */
.faq-list { margin-top: var(--s5); border-bottom: var(--hair) solid var(--rule); }
details { border-top: var(--hair) solid var(--rule); }
summary {
  list-style: none; cursor: pointer; user-select: none; -webkit-user-select: none;
  display: flex; justify-content: space-between; align-items: center; gap: var(--s2);
  min-height: 72px; padding: var(--s2) 0; font-size: 22px; font-weight: 500;
}
summary::-webkit-details-marker { display: none; }
summary:active { color: var(--champagne); }
.pm { position: relative; flex: none; width: 15px; height: 15px; transition: transform var(--t-ui) var(--ease); }
.pm::before, .pm::after { content: ""; position: absolute; background: var(--gold); transition: transform var(--t-ui) var(--ease); }
.pm::before { left: 0; right: 0; top: 50%; height: 1px; margin-top: -.5px; }
.pm::after { top: 0; bottom: 0; left: 50%; width: 1px; margin-left: -.5px; }
/* the plus turns and its upright folds away into a minus */
.js details.is-open .pm, html:not(.js) details[open] .pm { transform: rotate(180deg); }
.js details.is-open .pm::after, html:not(.js) details[open] .pm::after { transform: scaleY(0); }
.ans { overflow: hidden; }
.ans p { padding: 0 0 var(--s3); color: var(--quiet); max-width: 60ch; }
.ans a { color: var(--ivory); word-break: break-word; }

/* footer */
.foot {
  margin-top: var(--s7);
  padding: var(--s6) var(--edge-r) calc(var(--s6) + env(safe-area-inset-bottom)) var(--edge-l);
  border-top: var(--hair) solid var(--rule);
  display: flex; flex-direction: column; align-items: center; gap: 2px; text-align: center; font-size: 18px;
}
.foot img { margin-bottom: var(--s2); }
.foot .name { margin-bottom: var(--s2); }
.foot a { text-decoration: none; color: var(--quiet); display: inline-block; padding: var(--s1) 4px; }
.foot .foot-order a { color: var(--ivory); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: .3em; margin-bottom: var(--s1); }

/* ================= desktop ================= */
@media (min-width: 900px) {
  :root { --gutter: 48px; }
  body { font-size: 20px; }
  .hero {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "brand set" "text set" "act set";
    column-gap: 9vw; row-gap: 0;
    max-width: 1180px; margin: 0 auto;
    text-align: left; align-items: center;
    padding: 40px var(--edge-r) var(--s6) var(--edge-l);
    min-height: 100vh;
  }
  .brand { grid-area: brand; flex-direction: row; gap: 14px; align-self: start; }
  .name { padding-left: 0; }
  .hero-text { grid-area: text; align-self: end; }
  .hero h1 { font-size: clamp(56px, 5.6vw, 84px); max-width: 11ch; margin: 0; }
  .lede { font-size: 22px; margin: var(--s3) 0 0; }
  .hero-set { grid-area: set; height: min(calc(100vh - 150px), 720px); }
  .hero-act { grid-area: act; align-items: flex-start; align-self: start; margin-top: var(--s5); width: auto; }
  .btn { font-size: 15px; min-height: 60px; padding: 0 var(--s4); }
  .hero-act .btn { width: auto; min-width: 300px; }

  main > section { padding-top: var(--s8); }
  .foot { margin-top: var(--s8); }
  h2 { font-size: 54px; }

  .steps ol { grid-template-columns: repeat(3, 1fr); gap: var(--s5); margin-top: var(--s6); }
  .steps li { grid-template-columns: 1fr; gap: var(--s2); }

  .work { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr; column-gap: 72px; align-items: start; }
  .work h2, .work .section-note { grid-column: 1; }
  .work-grid { grid-column: 2; grid-row: 1 / span 2; grid-template-columns: repeat(2, 300px); gap: var(--s5); margin-top: 0; }
  .piece { width: 300px; }
  .piece:nth-child(2) { margin-top: 120px; }

  .offer-grid { grid-template-columns: 1.15fr 1fr; grid-template-rows: auto auto; column-gap: var(--s6); row-gap: 0; margin-top: var(--s6); }
  .offer.feature { grid-row: 1 / span 2; padding: var(--s5); margin: 0; }
  .offer.feature h3 { font-size: 42px; }
  .offer.feature .price { font-size: 70px; }
  .offer .btn { width: auto; min-width: 280px; }
  .offer.feature .btn { margin-top: auto; }
  .offer.feature ul { margin-bottom: var(--s5); }
  .offer:not(.feature) { padding: var(--s4) 0 var(--s5); }
  .offer:not(.feature):last-child { border-bottom: var(--hair) solid var(--rule); }
  .sunday { text-align: left; }

  .faq { display: grid; grid-template-columns: 1fr 1.6fr; column-gap: 72px; align-items: start; }
  .faq-list { margin-top: 0; }
}
@media (min-width: 900px) and (hover: hover) {
  summary:hover { color: var(--champagne); }
  .offer:not(.feature):hover h3 { color: var(--champagne); }
}
