/* Platinum Textiles — knot hero (16 Oct 2026, built to the client's reference image): charcoal studio, the fabric knot in the middle,
   thin uppercase headline bottom-left, five numbered stages on the right, pill buttons, "scroll to explore". Pinned for five beats. */
:root { --charcoal: #111111; --slate: #747b84; --platinum: #d5d7dc; --offwhite: #f7f7f5; --taupe-b: #c9bba7; }

/* ---------- light header (the greige glass from theme.css) + dark mark ---------- */
.brand .mark { height: 40px; width: auto; display: block; filter: brightness(.22) contrast(1.2); }
.brand .word { display: grid; line-height: 1; font-family: var(--sans); color: var(--ink); }
.brand .word b { font-weight: 500; font-size: 15px; letter-spacing: .3em; }
.brand .word small { font-weight: 400; font-size: 8.5px; letter-spacing: .42em; margin-top: 4px; opacity: .85; }
.site-head .nav a { font-weight: 500; letter-spacing: .16em; }
.site-head .nav .btn--fill { background: var(--ink); border-color: var(--ink); color: var(--white); border-radius: 999px; min-height: 40px; padding: 0 20px; font-size: 11px; }
.site-head .nav .btn--fill:hover { background: #333; border-color: #333; }
.site-head .menu-btn { border-radius: 50%; }
.loader .loader__mark img { filter: none; }

/* ---------- the hero: light studio ---------- */
.hero--knot { min-height: 0; height: 560vh; height: 560svh; display: block; overflow: visible; background: var(--greige); color: var(--ink); margin-top: calc(-1 * var(--h-nav)); }
.hero--knot .stage { position: sticky; top: 0; height: 100svh; min-height: 620px; overflow: hidden; display: grid; align-items: end;
  background: radial-gradient(75% 65% at 56% 40%, #f4f3f0 0%, #ebe9e5 48%, #dedbd6 100%); }
.hero--knot .stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(38% 30% at 60% 46%, rgba(255, 255, 255, .55), transparent 70%), radial-gradient(70% 40% at 60% 100%, rgba(24, 24, 24, .08), transparent 70%); pointer-events: none; }
.hero--knot canvas.hero-knot { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: pan-y; cursor: grab; }
.hero--knot canvas.hero-knot.grabbing { cursor: grabbing; }
.hero--knot .stage::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(237, 235, 232, .5) 0%, rgba(237, 235, 232, 0) 22%, rgba(237, 235, 232, 0) 70%, rgba(237, 235, 232, .55) 100%); pointer-events: none; }
.hero--knot .grain { position: absolute; inset: 0; pointer-events: none; opacity: .045; mix-blend-mode: multiply; background-image: 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero--knot .wrap { position: relative; z-index: 2; padding-bottom: clamp(28px, 5vh, 56px); pointer-events: none; }
.hero--knot .wrap a, .hero--knot .wrap button { pointer-events: auto; }

/* copy, bottom-left */
.hero--knot .deck { display: grid; max-width: 620px; }
.hero--knot .beat { grid-area: 1 / 1; opacity: 0; transition: opacity .32s var(--ease); pointer-events: none; }
.hero--knot .beat.on { opacity: 1; transition: opacity .7s var(--ease) .28s; }
.hero--knot .beat .eyebrow { display: block; font-size: 11px; font-weight: 500; letter-spacing: .32em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 22px; max-width: 22ch; line-height: 1.7; }
.hero--knot h1, .hero--knot .beat h2 { font-family: var(--sans); font-weight: 500; font-size: clamp(2.5rem, 5.2vw, 4.7rem); line-height: 1.04; letter-spacing: .01em; text-transform: uppercase; color: var(--ink); margin: 0; max-width: 14ch; }
.hero--knot h1 .accent, .hero--knot .beat h2 .accent { color: var(--ink); font-weight: 300; }
.hero--knot .beat .w { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero--knot .beat .w span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease) .28s; }
.hero--knot .beat.on .w span { transform: none; }
.hero--knot .beat .w:nth-child(2) span { transition-delay: .34s; } .hero--knot .beat .w:nth-child(3) span { transition-delay: .4s; } .hero--knot .beat .w:nth-child(4) span { transition-delay: .46s; } .hero--knot .beat .w:nth-child(5) span { transition-delay: .52s; } .hero--knot .beat .w:nth-child(6) span { transition-delay: .58s; }
.hero--knot .lede { font-size: clamp(15px, 1.15vw, 17px); line-height: 1.65; color: var(--ink-2); margin-top: 24px; max-width: 42ch; transition: opacity .7s var(--ease) .5s, transform .9s var(--ease) .5s; }
.hero--knot .beat .lede { transform: translateY(10px); opacity: 0; }
.hero--knot .beat.on .lede { transform: none; opacity: 1; }

/* pill buttons like the reference */
.hero--knot .btn-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero--knot .btn { border-radius: 999px; min-height: 46px; padding: 0 24px; font-size: 11px; letter-spacing: .16em; border-color: var(--ink); color: var(--ink); background: transparent; }
.hero--knot .btn:hover, .hero--knot .btn:focus-visible { background: var(--ink); color: var(--white); border-color: var(--ink); }
.hero--knot .btn--fill { background: var(--ink); border-color: var(--ink); color: var(--white); }
.hero--knot .btn--fill:hover, .hero--knot .btn--fill:focus-visible { background: #333; border-color: #333; color: var(--white); }
.hero--knot .btn svg { width: 11px; height: 11px; }

/* scroll cue: a line, the words, a circle with an arrow */
.hero--knot .explore { display: inline-flex; align-items: center; gap: 14px; margin-top: 34px; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-soft); text-decoration: none; }
.hero--knot .explore::before { content: ""; width: 1px; height: 22px; background: rgba(24, 24, 24, .35); }
.hero--knot .explore i { display: grid; place-items: center; width: 22px; height: 22px; border: 1px solid rgba(24, 24, 24, .4); border-radius: 50%; }
.hero--knot .explore i svg { width: 9px; height: 9px; animation: knot-cue 2.2s var(--ease) infinite; }
@keyframes knot-cue { 0% { transform: translateY(-4px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(4px); opacity: 0; } }

/* numbered stages on the right, a vertical hairline beside them */
.hero--knot .stages { position: absolute; right: clamp(16px, 5vw, 72px); top: 50%; transform: translateY(-50%); z-index: 2; margin: 0; padding: 0 0 0 28px; list-style: none; display: grid; gap: 22px; border-left: 1px solid rgba(24, 24, 24, .22); }
.hero--knot .stages li { position: relative; display: grid; gap: 7px; font-family: var(--sans); color: rgba(24, 24, 24, .42); transition: color .45s; }
.hero--knot .stages li b { font-weight: 400; font-size: 12px; letter-spacing: .14em; }
.hero--knot .stages li span { font-weight: 500; font-size: 10.5px; letter-spacing: .24em; text-transform: uppercase; }
.hero--knot .stages li::before { content: ""; position: absolute; left: -29px; top: 2px; width: 1px; height: 0; background: var(--ink); transition: height .5s var(--ease); }
.hero--knot .stages li.on { color: var(--ink); } .hero--knot .stages li.on::before { height: 100%; }
.hero--knot .stages li.on b { color: #c6874a; }
.hero--knot .stages li.done { color: rgba(24, 24, 24, .7); }

/* fabric variations: three small swatch buttons under the stages */
.hero--knot .variants { position: absolute; right: clamp(16px, 5vw, 72px); bottom: clamp(28px, 5vh, 56px); z-index: 3; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; text-align: right; }
.hero--knot .variants li { display: flex; justify-content: flex-end; }
.hero--knot .variants button { display: inline-flex; align-items: center; gap: 10px; background: none; border: 0; padding: 4px 0; cursor: pointer; font-family: var(--sans); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: rgba(24, 24, 24, .5); transition: color .3s; }
.hero--knot .variants button i { display: block; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(24, 24, 24, .25); background: var(--sw); transition: transform .3s var(--ease), box-shadow .3s; }
.hero--knot .variants button:hover, .hero--knot .variants button[aria-pressed="true"] { color: var(--ink); }
.hero--knot .variants button[aria-pressed="true"] i { transform: scale(1.25); box-shadow: 0 0 0 3px var(--greige), 0 0 0 4px var(--ink); }
.hero--knot .variants .vlabel { font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(24, 24, 24, .45); margin-bottom: 2px; }
.hero--knot .hint { position: absolute; left: 50%; bottom: clamp(28px, 5vh, 56px); transform: translateX(-50%); z-index: 2; font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(24, 24, 24, .45); pointer-events: none; white-space: nowrap; }

/* the strip of facts under the copy (keeps the site's numbers) */
.hero--knot .hero-foot { margin-top: clamp(26px, 5vh, 56px); border-top: 1px solid rgba(24, 24, 24, .2); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-top: 18px; max-width: 620px; }
.hero--knot .hero-foot strong { display: block; font-family: var(--serif); font-weight: 300; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1; color: var(--ink); }
.hero--knot .hero-foot span { display: block; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); margin-top: 8px; }

/* the preloader holds the hero, then it rises (mirrors the theme's rules for the wave hero) */
html.loading .hero--knot .rv, html.loading .hero--knot .rv.in { opacity: 0; transform: translateY(14px); }
html.loading .hero--knot .in .w > span { transform: translateY(110%); }
html.loading .hero--knot .rv.in, html.loading .hero--knot .in .w > span { animation: unhide .9s var(--ease) 7s forwards; }

@media (max-width: 960px) {
  .hero--knot .stages { gap: 16px; padding-left: 20px; }
  .hero--knot .stages li::before { left: -21px; }
  .hero--knot .hint { display: none; }
}
@media (max-width: 720px) {
  .hero--knot { height: 600svh; }
  .hero--knot .stage { min-height: 580px; align-items: end; }
  .hero--knot .wrap { padding-bottom: 86px; }
  .hero--knot h1, .hero--knot .beat h2 { font-size: clamp(2rem, 9vw, 2.8rem); max-width: 12ch; }
  .hero--knot .beat .eyebrow { margin-bottom: 14px; }
  .hero--knot .lede { font-size: 14px; max-width: 34ch; margin-top: 16px; }
  .hero--knot .btn-row { margin-top: 20px; } .hero--knot .btn { min-height: 42px; padding: 0 18px; }
  .hero--knot .explore { margin-top: 20px; }
  .hero--knot .hero-foot { display: none; }
  .hero--knot .stages { top: auto; bottom: 22px; right: auto; left: var(--gutter); transform: none; display: flex; gap: 18px; border-left: 0; padding: 0; }
  .hero--knot .stages li b { font-size: 10.5px; }
  .hero--knot .stages li { gap: 0; } .hero--knot .stages li span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .hero--knot .stages li::before { left: 0; right: 0; top: auto; bottom: -8px; width: 100%; height: 1px; transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); background: #c6874a; }
  .hero--knot .stages li.on::before { transform: none; height: 1px; }
  .hero--knot .variants { top: calc(var(--h-nav) + 18px); bottom: auto; right: var(--gutter); gap: 10px; } .hero--knot .variants .vlabel { display: none; } .hero--knot .variants button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .hero--knot .variants button i { width: 16px; height: 16px; }
  .brand .mark { height: 32px; } .brand .word b { font-size: 12.5px; } .brand .word small { font-size: 7px; }
}
@media (max-height: 640px) { .hero--knot .stages { display: none; } .hero--knot .hero-foot { display: none; } }
