:root {
  --night: #18233b;
  --night-2: #202e4c;
  --ink: #22304a;
  --text: #3a4254;
  --paper: #fbf7ee;
  --tint: #f2eadb;
  --rust: #a8482a;
  --gold: #e3b45a;
  --line: #dccfb8;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 1.06rem/1.7 "Work Sans", "Segoe UI", system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; line-height: 1.05; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.012em; }
h1 { font-size: clamp(2.9rem, 5.3vw, 4.9rem); color: #fbf5e7; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.9rem; }
p { margin: 0 0 1em; }
em { font-style: normal; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }

.sprite { position: absolute; }
.wrap { width: min(1180px, 100% - 48px); margin-inline: auto; }
.narrow { max-width: 860px; text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: var(--ink); padding: 8px 14px; z-index: 30; }
.skip:focus { left: 8px; }

.top { position: sticky; top: 0; z-index: 20; background: var(--night); border-bottom: 1px solid rgba(255, 255, 255, .1); }
.top-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 28px; padding: 14px 0; }
.brand { color: #fbf5e7; font: 700 1.65rem/1.1 "Cormorant Garamond", Georgia, serif; text-decoration: none; }
.brand span { font-weight: 500; color: var(--gold); }
nav { display: flex; flex-wrap: wrap; gap: 2px 26px; }
nav a { color: #dfe3ec; font-size: .94rem; font-weight: 500; text-decoration: none; padding: 3px 0; border-bottom: 2px dashed transparent; }
nav a:hover { color: #fff; border-bottom-color: var(--gold); }

.hero { position: relative; overflow: hidden; color: #e6e9f0; background: radial-gradient(circle at 76% 44%, #2c3e66 0, var(--night-2) 34%, var(--night) 72%); }
.hero-thread { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.draw-path { stroke-dasharray: 1; stroke-dashoffset: 0; }
.js .draw-path { animation: draw 3.2s .25s ease-in-out both; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.28fr 1fr; align-items: center; gap: 36px 56px; padding: clamp(56px, 8vw, 104px) 0 clamp(72px, 9vw, 120px); }
.eyebrow { color: var(--rust); font-size: .84rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; margin-bottom: 16px; }
.hero .eyebrow { color: var(--gold); }
h1 em { color: var(--gold); white-space: nowrap; }
/* stitched gold lettering */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  h1 em, .brand span {
    font-weight: 700;
    background-image: repeating-linear-gradient(64deg, #f6d68c 0, #f6d68c 1.3px, #dda93f 1.3px, #dda93f 3.1px, #a8771f 3.1px, #a8771f 4.2px);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 1px 0 rgba(8, 12, 24, .75));
  }
  .brand span {
    background-image: repeating-linear-gradient(64deg, #f6d68c 0, #f6d68c 1px, #d9a53c 1px, #d9a53c 2.2px, #a8771f 2.2px, #a8771f 3px);
  }
}
/* end stitched gold lettering */
.lead { font-size: clamp(1.14rem, 1.7vw, 1.32rem); max-width: 34em; margin-bottom: 30px; }
.btn { position: relative; display: inline-block; padding: 14px 28px; background: var(--night); border: 2px dashed var(--gold); color: #fff6df; border-radius: 3px; font-weight: 600; text-decoration: none; transition: background .2s, color .2s; }
.btn:hover { background: var(--gold); color: var(--night); }
.hoop { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 26px rgba(24, 35, 59, .28)); }
.hoop-hero { max-width: 500px; margin-inline: auto; filter: drop-shadow(0 26px 40px rgba(0, 0, 0, .45)); }
.js .hoop-hero { animation: settle 1.1s ease-out both; }
@keyframes settle { from { opacity: 0; transform: translateY(16px) rotate(-3deg); } to { opacity: 1; transform: none; } }

.statement { padding: clamp(72px, 10vw, 136px) 0; }
.statement p { margin: 0; font: 500 clamp(1.8rem, 3.5vw, 2.85rem)/1.24 "Cormorant Garamond", Georgia, serif; color: var(--ink); }
.statement em { color: var(--rust); }

.made { padding-bottom: clamp(64px, 8vw, 110px); }
.piece { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 32px 88px; padding: clamp(36px, 5vw, 64px) 0; }
.piece + .piece { border-top: 2px dashed var(--line); }
.piece-art { max-width: 430px; width: 100%; justify-self: center; }
.piece-copy p:last-child { margin: 0; font-size: 1.1rem; max-width: 30em; }
.piece-flip .piece-art { order: 2; }

.piece-pair { grid-template-columns: .72fr 1.28fr; gap: 32px 56px; }
.piece-art.piece-art-pair { max-width: none; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }

.threads { background: var(--tint); padding: clamp(28px, 4vw, 48px) 16px; border-block: 1px solid var(--line); }
.spools { display: flex; justify-content: center; gap: clamp(5px, 2.4vw, 34px); }
.spool { flex: 1 1 0; min-width: 0; max-width: 72px; height: auto; filter: drop-shadow(0 8px 8px rgba(24, 35, 59, .2)); }

.process { padding: clamp(72px, 9vw, 120px) 0; }
.process h2 { text-align: center; margin-bottom: 1.1em; }
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { counter-increment: step; text-align: center; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 62px; height: 62px; margin: 0 auto 18px; border: 2px dashed var(--rust); border-radius: 50%; color: var(--rust); font: 500 1.8rem/1 "Cormorant Garamond", Georgia, serif; }
.steps p { margin: 0 auto; max-width: 21em; }

.closing { background: var(--night); color: #dfe3ec; padding: clamp(72px, 9vw, 116px) 0; }
.closing h2 { color: #fbf5e7; }
.closing em { color: var(--gold); }
.closing p { margin: 0; font-size: 1.12rem; }

.foot { background: var(--night); border-top: 1px dashed rgba(255, 255, 255, .22); color: #bcc4d4; padding: 24px 0; font-size: .9rem; }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; align-items: baseline; }
.foot-brand { font: 700 1.2rem "Cormorant Garamond", Georgia, serif; color: #fbf5e7; }

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

@media (max-width: 860px) {
  .hero-grid, .piece, .steps { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hoop-hero { max-width: 340px; }
  .piece-flip .piece-art { order: 0; }
  .piece-art { max-width: 340px; }
  .piece-copy { text-align: center; }
  .piece-copy p:last-child { margin-inline: auto; }
  .hero-thread { display: none; }
  html { scroll-padding-top: 100px; }
}
@media (max-width: 860px) {
  .piece-art.piece-art-pair { max-width: 640px; }
}
@media (max-width: 560px) {
  .piece-art.piece-art-pair { max-width: 340px; grid-template-columns: 1fr; gap: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .draw-path, .js .hoop-hero { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
