/* Section (category) pages · built on the Scroll Craft engine.
   Loads after scrollcraft.css and styles.css. Theme tokens first, then this page's own markup. */
:root {
  --sc-canvas: #F7F4E6;      /* soft ivory ground */
  --sc-surface: #FAFAFA;
  --sc-ink: #0B0E17;         /* deep charcoal */
  --sc-ink-soft: #4b4a48;
  --sc-accent: #CCA85A;      /* metallic gold */
  --sc-accent-ink: #0B0E17;
  --sc-font-display: "Playfair Display", Georgia, serif;
  --sc-font-text: "Josefin Sans", "Helvetica Neue", Arial, sans-serif;
}
body { font-family: var(--sans); font-weight: 300; font-size: 17px; line-height: 1.6; letter-spacing: 0; background: var(--ivory); color: var(--charcoal); }
html { scroll-behavior: auto; }

/* ---------- the running stitch (this page's signature) ---------- */
.thread { position: fixed; left: clamp(14px, 1.6vw, 26px); top: 96px; bottom: 40px; width: 20px; z-index: 60; pointer-events: none; color: var(--brass); }
.thread__track, .thread__sewn { position: absolute; left: 9px; top: 0; bottom: 0; width: 2px; }
.thread__track { background: repeating-linear-gradient(180deg, currentColor 0 2px, transparent 2px 9px); opacity: .28; }
.thread__sewn { bottom: auto; height: 0; background: repeating-linear-gradient(180deg, currentColor 0 9px, transparent 9px 14px); }
.thread__needle { position: absolute; left: 4px; top: 0; width: 12px; height: 30px; transform: translateY(-4px); }
.thread__marks { list-style: none; margin: 0; padding: 0; }
.thread__marks li { position: absolute; left: 4px; width: 12px; height: 12px; margin-top: -6px; }
.thread__marks a { pointer-events: auto; display: block; width: 12px; height: 12px; border: 1.5px solid currentColor; border-radius: 50%; background: var(--ivory); position: relative; transition: background .3s, transform .3s; }
.thread__marks a::after { content: attr(data-label); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); font: 600 10px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .3s; color: currentColor; background: var(--ivory); padding: 6px 8px 4px; }
.thread__marks a:hover::after, .thread__marks a:focus-visible::after { opacity: 1; }
.thread__marks li.is-sewn a { background: currentColor; }
.thread__marks li.is-here a { transform: scale(1.35); }
@media (max-width: 1100px) {
  /* phones and tablets: the stitch runs across the top instead */
  .thread { left: 0; right: 0; top: 0; bottom: auto; width: auto; height: 3px; z-index: 120; }
  .thread__track { display: none; }
  .thread__sewn { left: 0; top: 0; width: 0; height: 3px; background: repeating-linear-gradient(90deg, currentColor 0 9px, transparent 9px 14px); }
  .thread__needle, .thread__marks { display: none; }
}

/* ---------- 1 · cover: layered planes ---------- */
.cover { position: relative; overflow: hidden; padding: clamp(110px, 12vw, 170px) 0 clamp(70px, 9vw, 130px); min-height: 100vh; display: flex; align-items: center; }
.cover__word {            /* back plane: the section name, outlined, drifting slower than the page */
  position: absolute; left: -2vw; top: 9vh; z-index: 0; white-space: nowrap; pointer-events: none;
  font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(120px, 25vw, 460px); line-height: .9; letter-spacing: -.03em;
  color: transparent; -webkit-text-stroke: 1.5px rgba(153,122,50,.34);
}
.cover__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 6vw, 110px); align-items: center; width: 100%; }
.crumbs { font-weight: 600; font-size: 11px; letter-spacing: .26em; text-transform: uppercase; margin-bottom: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.crumbs a { text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 3px; }
.crumbs span[aria-hidden] { color: var(--brass); }
.cover h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 5.6vw, 92px); line-height: 1.02; letter-spacing: -.015em; }
.cover__tag { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.3vw, 36px); line-height: 1.2; color: var(--brass); margin: 22px 0 26px; }
.cover__intro { font-size: clamp(17px, 1.45vw, 21px); max-width: 30em; }
.cover__fig { position: relative; margin: 0; justify-self: end; width: min(100%, 520px); }
.cover__frame { position: absolute; inset: -18px 18px 18px -18px; border: 1px solid var(--gold); z-index: 0; }   /* front hairline plane */
.cover__img { position: relative; z-index: 1; aspect-ratio: 2 / 3; overflow: hidden; background: var(--charcoal); box-shadow: 0 30px 60px -20px rgba(11,14,23,.45); }
.cover__img img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none; object-fit: cover; }
.cover__fig figcaption { position: relative; z-index: 1; margin-top: 16px; font-size: 13px; line-height: 1.5; color: rgba(11,14,23,.72); }
.cover__fig figcaption b { display: block; font-weight: 600; font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; color: var(--charcoal); margin-bottom: 4px; }
@media (max-width: 900px) {
  /* phone: its own composition. Photo first, full width, then the title */
  .cover { padding: 0 0 64px; display: block; min-height: 0; }
  .cover__grid { grid-template-columns: 1fr; gap: 30px; padding: 0; }
  .cover__fig { order: -1; width: 100%; justify-self: stretch; }
  .cover__frame { display: none; }
  .cover__img { aspect-ratio: 4 / 5; box-shadow: none; }
  .cover__img img { object-position: 50% 12%; }
  .cover__fig figcaption, .cover__copy { padding: 0 var(--gutter); }
  .cover__word { display: none; }
  .cover__img::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 130px; background: linear-gradient(180deg, rgba(11,14,23,.6), rgba(11,14,23,0)); }
}

/* ---------- 2 · what lives here: pinned, the list builds line by line ---------- */
.scope__stage { height: 100vh; display: flex; align-items: center; color: var(--ivory); }
.scope__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 100px); align-items: center; width: 100%; }
.scope__title { font-size: clamp(34px, 4.6vw, 76px); color: var(--ivory); }
.scope__title em { color: var(--gold); }
.scope__note { margin-top: 20px; color: #cfc8b8; max-width: 22em; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; }
.scope__list { list-style: none; margin: 0; padding: 0; }
.scope__list li { display: grid; grid-template-columns: 3.2ch 1fr; align-items: baseline; gap: 18px; padding: clamp(10px, 1.6vh, 18px) 0; border-bottom: 1px solid rgba(247,244,230,.14);
  font-family: var(--serif); font-size: clamp(24px, 3.4vw, 54px); line-height: 1.1; }
.scope__list li span { font-style: italic; font-size: .56em; color: var(--gold); }
@media (max-width: 900px) { .scope__grid { grid-template-columns: 1fr; gap: 26px; } .scope__list li { font-size: clamp(22px, 6.4vw, 34px); } }

/* ---------- 3 · stories ---------- */
.stories { background: var(--off-white); padding: clamp(80px, 10vw, 150px) 0 clamp(70px, 9vw, 130px); }
.stories h2 { font-size: clamp(32px, 4.6vw, 72px); margin-bottom: clamp(30px, 4vw, 56px); }
.stories .slots [data-sc-in], .stories .slot { transition-property: opacity, transform; }
.draft-note { margin-top: 26px; font-size: 14px; color: rgba(11,14,23,.72); }
.elsewhere { margin-top: clamp(50px, 7vw, 90px); padding-top: 30px; border-top: 1px solid var(--charcoal); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(20px, 5vw, 80px); }
.elsewhere h3 { font-size: clamp(24px, 2.4vw, 36px); }
.elsewhere ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; font-size: clamp(17px, 1.4vw, 20px); }
.elsewhere a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); }
.elsewhere a:hover { color: var(--brass); }
@media (max-width: 900px) { .elsewhere { grid-template-columns: 1fr; } }

/* ---------- 4 · next section: the page turns ---------- */
.next { position: relative; background: var(--charcoal); color: var(--ivory); }
.next__link { position: relative; display: block; min-height: 92vh; text-decoration: none; color: inherit; overflow: hidden; }
.next__link figure { position: absolute; inset: 0; margin: 0; }
.next__link img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 18%; transition: transform 1.4s var(--ease); }
.next__link:hover img { transform: scale(1.03); }
.next__copy { position: absolute; left: var(--gutter); bottom: clamp(40px, 8vh, 90px); z-index: 2; }
.next__label { display: block; font-weight: 600; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.next__name { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(48px, 10vw, 170px); line-height: .95; letter-spacing: -.02em; }
.next__go { display: inline-block; margin-top: 22px; }
.next__link::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,14,23,.6), rgba(11,14,23,0) 60%); }
@media (max-aspect-ratio: 21/20) { .next__link img { object-position: 50% 14%; } .next__link::after { background: linear-gradient(0deg, rgba(11,14,23,.85), rgba(11,14,23,0) 60%); } }

.foot { padding-left: 0; }
.section-page .wrap { padding-left: max(var(--gutter), 64px); }
@media (max-width: 1100px) { .section-page .wrap { padding-left: var(--gutter); } }

/* Travel: a painted scene behind the pinned list */
.scope__stage--art { background: linear-gradient(90deg, rgba(11,14,23,.9), rgba(11,14,23,.62) 55%, rgba(11,14,23,.5)), var(--art) center / cover no-repeat var(--charcoal); }

/* About page */
.about-hero { position: relative; overflow: hidden; padding: clamp(130px, 14vw, 200px) 0 clamp(70px, 9vw, 130px); }
.about-hero__in { position: relative; z-index: 2; }
.about-hero h1 { font-family: var(--serif); font-weight: 700; font-size: clamp(40px, 6vw, 100px); line-height: 1.02; letter-spacing: -.015em; }
.about-hero .cover__tag { max-width: 22em; font-size: clamp(22px, 2.6vw, 40px); }
.about-hero .cover__word { display: block; }
.about-cols { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); font-size: clamp(17px, 1.45vw, 21px); margin-top: clamp(30px, 4vw, 56px); }
.about-cols strong { font-weight: 600; }
.about-band { padding: clamp(90px, 11vw, 160px) 0; color: var(--ivory); }
.about-list { list-style: none; margin: clamp(36px, 5vw, 70px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 60px); }
.about-list li > span { font-family: var(--serif); font-style: italic; font-size: 40px; color: var(--gold); }
.about-list h3 { font-size: clamp(24px, 2.2vw, 32px); margin: 10px 0 12px; color: var(--ivory); }
.about-list p { color: #cfc8b8; }
@media (max-width: 900px) { .about-cols, .about-list { grid-template-columns: 1fr; } .about-hero .cover__word { display: none; } }

/* ---------- more looks: a rail that travels sideways as you scroll ---------- */
.looks { background: var(--ivory); }
.looks__stage { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.looks__rail { align-items: center; gap: clamp(22px, 3.4vw, 60px); padding: 0 max(var(--gutter), 64px); }
.looks__lead, .looks__end { flex: none; width: min(78vw, 400px); }
.looks__lead h2 { font-size: clamp(34px, 4.4vw, 68px); }
.looks__lead p, .looks__end p { margin-top: 18px; font-size: clamp(17px, 1.4vw, 20px); }
.looks__end p { margin: 0 0 20px; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 2.4vw, 36px); line-height: 1.2; }
.lookcard { flex: none; margin: 0; width: min(74vw, calc((100vh - 240px) * .6667)); }
.lookcard:nth-of-type(even) { margin-top: 7vh; }
.lookcard__img { aspect-ratio: 2 / 3; overflow: hidden; background: var(--charcoal); box-shadow: 0 26px 50px -22px rgba(11,14,23,.5); }
.lookcard__img img { width: 100%; height: 100%; object-fit: cover; }
.lookcard figcaption { margin-top: 14px; font-size: 14px; color: rgba(11,14,23,.75); }
.lookcard figcaption b { display: block; font-family: var(--serif); font-weight: 700; font-size: 22px; color: var(--charcoal); margin-bottom: 2px; }
@media (prefers-reduced-motion: no-preference) {
  /* each look settles as it arrives, like a hanger sliding along the rack */
  .lookcard { opacity: clamp(.6, calc(.6 + (var(--sc-p, 1) * 7 - var(--i) * 1.1) * .4), 1); transform: translateY(calc(clamp(0, 1 - (var(--sc-p, 1) * 7 - var(--i) * 1.1), 1) * 22px)); }
  .lookcard:first-of-type { opacity: 1; transform: none; }
}
@media (max-width: 1100px) { .looks__rail { padding: 0 var(--gutter); } }

.lookcard__img { position: relative; }
.lookcard__img a { display: block; height: 100%; }
.lookcard__tag { position: absolute; left: 12px; top: 12px; background: var(--charcoal); color: var(--gold); font: 600 10px/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; padding: 8px 10px 6px; }

a.cover__shop { position: absolute; inset: 0; display: block; }
.lookcard__img a { position: relative; }
.looks__fine { margin-top: 22px; font: 300 13px/1.55 var(--sans) !important; font-style: normal !important; color: rgba(11,14,23,.7); }

/* ---------- browse-by-category cards ---------- */
.cats { background-color: var(--ivory); padding: clamp(70px, 9vw, 130px) 0; }
.cats h2 { font-size: clamp(32px, 4.6vw, 72px); margin-bottom: clamp(26px, 4vw, 50px); }
.cats--dark { color: var(--ivory); background-color: var(--charcoal); } .cats--dark h2 { color: var(--ivory); } .cats--dark h2 em { color: var(--gold); }
.catgrid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 30px); }
.catgrid--small { grid-template-columns: repeat(6, 1fr); }
.catcard { display: block; text-decoration: none; color: inherit; }
.catcard__img { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--charcoal); }
.catcard__img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; transition: transform .9s var(--ease); }
.catcard:hover .catcard__img img { transform: scale(1.05); }
.catcard__name { display: block; margin-top: 12px; font-family: var(--serif); font-weight: 700; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.2; }
.catgrid--small .catcard__name { font-size: 16px; font-weight: 400; }
.catcard__meta { display: block; margin-top: 4px; font: 600 10.5px/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.cats--dark .catcard__meta { color: var(--gold); }
.cats__back { margin-top: clamp(30px, 4vw, 50px); }
@media (max-width: 1000px) { .catgrid { grid-template-columns: repeat(3, 1fr); } .catgrid--small { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 640px) { .catgrid, .catgrid--small { grid-template-columns: repeat(2, 1fr); } }

/* ---------- article cards ---------- */
.acards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(22px, 3vw, 44px) clamp(18px, 2.4vw, 36px); }
.acard a { display: block; text-decoration: none; color: inherit; }
.acard__img { aspect-ratio: 3 / 2; overflow: hidden; background: var(--charcoal); margin-bottom: 16px; }
.acard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.acard a:hover .acard__img img { transform: scale(1.04); }
.acard h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 700; line-height: 1.22; margin: 10px 0 10px; }

.soon { font-size: clamp(17px, 1.4vw, 20px); border: 1px dashed var(--brass); padding: 26px 24px; max-width: 36em; }
.soon a { font-weight: 600; }
.cover__topics { margin-top: 22px; font: 600 11px/1.7 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); }
@media (max-width: 900px) { .acards { grid-template-columns: 1fr; } .acard__img { aspect-ratio: 16 / 9; } }

.cats__note { margin-top: 26px; max-width: 44em; font-size: 16px; line-height: 1.6; opacity: .9; }
.cats__note a { color: inherit; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
