/* decco.ai — magazine landing (S965)
   Implements the S960 editor's-pass architecture v2 (storyboard artifact
   dee3c202 §08): six spreads — cover / world-as-it-is / one-home feature /
   many hands / machinery / close. Shares tokens.css variables; this file
   carries only the magazine grammar. Room photography from the SHB archive
   (assets/rooms/), product artifacts from assets/shots/. */

.wide { max-width: 1120px; margin: 0 auto; padding: 0 28px; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 28px; }

/* ---- fixed header over the cover ---- */
.site-header.mag {
  position: fixed; top: 0; left: 0; right: 0; z-index: 20;
  background: transparent; border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease;
}
.site-header.mag .bar { max-width: 1120px; }
.site-header.mag.scrolled {
  background: color-mix(in srgb, var(--canvas) 92%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--hairline);
}
/* over the photograph, before scroll: light glyphs regardless of theme */
.site-header.mag:not(.scrolled) .wordmark,
.site-header.mag:not(.scrolled) .wordmark em { color: #F8F4EC; text-shadow: 0 1px 6px rgba(20, 14, 8, .55); }
.site-header.mag:not(.scrolled) nav a { color: rgba(248, 244, 236, .96); text-shadow: 0 1px 5px rgba(20, 14, 8, .6); }
.site-header.mag:not(.scrolled) nav a:hover { color: #fff; }
.site-header.mag:not(.scrolled) .header-cta {
  color: #2A2118 !important; background: #F4EFE6;
}

.header-cta {
  font-family: "Archivo", system-ui, sans-serif; font-weight: 600; font-size: 11.5px;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--canvas) !important; background: var(--copper);
  padding: 10px 18px; border-radius: 2px; text-decoration: none;
}
.header-cta:hover { background: var(--copper-deep); }
@media (max-width: 640px) { .site-header nav a.quiet-link { display: none; } }

/* ---- spread 1 · cover ---- */
.cover {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  isolation: isolate; overflow: hidden;
}
.cover img.bleed, .close img.bleed {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: -2;
}
.cover::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to bottom, rgba(20, 14, 8, .52), rgba(20, 14, 8, .08) 30%),
    linear-gradient(to top, rgba(20, 14, 8, .78), rgba(20, 14, 8, .5) 42%, rgba(20, 14, 8, .18) 72%, rgba(20, 14, 8, 0));
}
.cover-copy { width: 100%; padding-bottom: 9vh; color: #F7F2E9; }
.cover-copy .label { color: #F0D2A8; display: block; margin-bottom: 18px; text-shadow: 0 1px 6px rgba(20, 14, 8, .6); }
.cover-copy h1 {
  color: #FBF8F2; max-width: 14ch; margin: 0 0 18px;
  font-size: clamp(44px, 6.4vw, 78px);
  text-shadow: 0 2px 18px rgba(20, 14, 8, .55), 0 1px 3px rgba(20, 14, 8, .45);
}
.cover-copy .standfirst {
  color: rgba(250, 246, 238, .97); max-width: 32em; margin: 0 0 30px;
  text-shadow: 0 1px 10px rgba(20, 14, 8, .55), 0 1px 3px rgba(20, 14, 8, .4);
}
.cover-ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.cover-ctas .ghost-cta { color: rgba(247, 242, 233, .85); }
.cover-ctas .ghost-cta:hover { color: #fff; }

.store-cta { border-radius: 2px; }
.ghost-cta {
  font-family: "Archivo", system-ui, sans-serif; font-weight: 600; font-size: 12.5px;
  letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft);
  text-decoration: none; padding: 14px 6px;
}
.ghost-cta:hover { color: var(--copper); }

/* ---- spread scaffolding ---- */
.spread, .backmatter section { scroll-margin-top: 72px; }
.spread { padding: 100px 0; }
.spread-head { max-width: 640px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 48px; }
.spread-head h2 { margin: 0; font-size: clamp(30px, 3.8vw, 44px); }
.spread-head p { color: var(--ink-soft); margin: 0; }

/* ---- spread 2 · the world as it is ---- */
.world { background: var(--wash); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.vignettes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }
.vignette { background: var(--surface); padding: 34px 30px 30px; }
.vignette .num {
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  color: var(--copper); font-size: 21px; display: block; margin-bottom: 14px;
}
.vignette h3 { font-size: 20px; margin: 0 0 8px; }
.vignette p { font-size: 16px; color: var(--ink-soft); margin: 0; }
.reassure { max-width: 58ch; margin: 40px auto 0; text-align: center; font-size: 16px; color: var(--ink-soft); }
.turn {
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  font-size: clamp(22px, 2.8vw, 30px); line-height: 1.4; color: var(--ink);
  text-align: center; max-width: 22em; margin: 44px auto 0; text-wrap: balance;
}
.turn em { color: var(--copper); font-style: italic; }
@media (max-width: 820px) { .vignettes { grid-template-columns: 1fr; } }

/* ---- spread 3 · one home, kept beautifully ---- */
.room-figure { margin: 0 0 12px; }
.room-figure img { width: 100%; height: auto; display: block; border-radius: 4px; }
.mag-caption {
  font-family: "Archivo", system-ui, sans-serif; font-size: 13.5px; line-height: 1.6;
  color: var(--ink-soft); max-width: 52em; padding: 12px 2px 0; margin: 0 0 64px;
}
.mag-caption b {
  color: var(--ink); font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  font-size: 11px; margin-right: 8px;
}
.artifact {
  background: var(--wash); border: 1px solid var(--hairline); border-radius: 4px;
  padding: clamp(20px, 4vw, 44px); max-width: 880px; margin: 0 0 12px;
}
.artifact img { width: 100%; height: auto; display: block; border-radius: 4px; }
.artifact-right { margin-left: auto; }
.artifact-right + .mag-caption { margin-left: auto; text-align: right; max-width: 880px; }

/* ---- spread 4 · the many hands ---- */
.hands { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(36px, 5vw, 72px); align-items: center; }
.hands img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 4px; }
.doors { display: flex; flex-direction: column; gap: 30px; }
.door .role {
  font-family: "Archivo", system-ui, sans-serif; font-weight: 600; font-size: 11px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--copper);
  display: block; margin-bottom: 8px;
}
.door .line {
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  font-size: clamp(19px, 2vw, 23px); line-height: 1.4; margin: 0 0 6px; text-wrap: balance;
}
.door p { font-size: 15.5px; color: var(--ink-soft); margin: 0; max-width: 40em; }
.door.trade .line { font-size: 17.5px; color: var(--ink-soft); }
.pull {
  font-family: "Playfair Display", Georgia, serif; font-style: italic; font-weight: 400;
  font-size: clamp(26px, 3.6vw, 38px); line-height: 1.32; color: var(--ink);
  text-align: center; max-width: 20em; margin: 96px auto 0; text-wrap: balance;
}
.pull em { color: var(--copper); font-style: italic; }
@media (max-width: 820px) {
  .hands { grid-template-columns: 1fr; }
  .hands img { max-height: 420px; }
}

/* ---- spread 5 · the machinery, quietly ---- */
.machinery { background: var(--wash); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.works { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px); }
.works h3 { font-size: clamp(23px, 2.4vw, 28px); margin: 0 0 14px; }
.works p { color: var(--ink-soft); margin: 0 0 1em; font-size: 17px; }
.works p:last-child { margin-bottom: 0; }
.works .fragment {
  font-family: "Playfair Display", Georgia, serif; font-style: italic;
  color: var(--copper); font-size: 18px;
}
@media (max-width: 760px) { .works { grid-template-columns: 1fr; } }

/* ---- spread 6 · the close ---- */
.close {
  position: relative; min-height: 88vh; min-height: 88svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  isolation: isolate; overflow: hidden;
}
.close::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(16, 12, 24, .28), rgba(16, 12, 24, 0) 70%),
    rgba(16, 12, 24, .48);
}
.close-copy { padding: 96px 28px; color: #F7F2E9; }
.close-copy .quip {
  font-family: "Archivo", system-ui, sans-serif; font-weight: 600; font-size: 11.5px;
  letter-spacing: .18em; text-transform: uppercase; color: #F5E2C4;
  display: block; margin-bottom: 22px; text-shadow: 0 1px 6px rgba(16, 12, 24, .65);
}
.close-copy h2 {
  color: #FBF8F2; font-size: clamp(30px, 4.6vw, 54px); line-height: 1.18;
  max-width: 18em; margin: 0 auto 34px; text-shadow: 0 1px 24px rgba(16, 12, 24, .4);
}
.close-copy h2 em { font-style: italic; color: #E8C79E; }

/* ---- back matter: get started / contact / footer ---- */
.backmatter { padding-top: 84px; }
.backmatter .centered { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; padding: 0 0 72px; }
.backmatter .centered h2 { margin: 0; max-width: 22ch; }
.backmatter .centered p { color: var(--ink-soft); max-width: 36em; margin: 0; }
.hero-ctas { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; margin-top: 6px; }

.landing-footer {
  border-top: 1px solid var(--hairline); padding: 26px 0 44px;
  display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand svg { flex-shrink: 0; display: block; }
.landing-footer nav { display: flex; gap: 18px; font-family: "Archivo", system-ui, sans-serif; font-size: 12px; letter-spacing: .04em; align-items: baseline; flex-wrap: wrap; }
.landing-footer nav a, .landing-footer nav span { color: var(--ink-soft); text-decoration: none; }
.landing-footer nav a:hover { color: var(--copper); }
.footer-caption {
  font-family: "Archivo", system-ui, sans-serif; font-size: 10.5px; letter-spacing: .16em;
  text-transform: uppercase; color: var(--ink-soft);
}

@media (max-width: 640px) {
  .spread { padding: 72px 0; }
  .mag-caption { margin-bottom: 44px; }
  .artifact-right + .mag-caption { text-align: left; }
  .pull { margin-top: 64px; }
}
