/* Fonts are loaded via <link> in index.html's <head>, not @import — an @import here would
   serialize behind this stylesheet's own fetch instead of loading in parallel. */

*,
*::before,
*::after { box-sizing: border-box; }

html { color-scheme: light dark; }

html[data-theme="day"] { color-scheme: light; }
html[data-theme="night"] { color-scheme: dark; }

html[data-look="editorial"][data-theme="day"] {
  --bg: #F7F4EE; --text: #1A1A18; --accent: #1A1A18; --accent-text: #F7F4EE;
  --muted: #6B6860; --border: #D0CCC2; --surface: #EDE9E1;
  --heading: "Playfair Display", Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --radius: 0px;
}
html[data-look="editorial"][data-theme="night"] {
  --bg: #161513; --text: #F0EDE6; --accent: #C9B87A; --accent-text: #161513;
  --muted: #9A968C; --border: #2E2B26; --surface: #1E1C18;
  --heading: "Playfair Display", Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --radius: 0px;
}
html[data-look="studio"][data-theme="day"] {
  --bg: #F0EDE8; --text: #0C0C0C; --accent: #0C0C0C; --accent-text: #F0EDE8;
  --muted: #5A5855; --border: #CCCAC5; --surface: #E4E1DC;
  --heading: "DM Serif Display", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --radius: 0px;
}
html[data-look="studio"][data-theme="night"] {
  --bg: #080808; --text: #E6E3DD; --accent: #E6E3DD; --accent-text: #080808;
  --muted: #8E8C88; --border: #1A1A1A; --surface: #111111;
  --heading: "DM Serif Display", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --radius: 0px;
}
html[data-look="warm"][data-theme="day"] {
  --bg: #FDF6EC; --text: #2C1C0E; --accent: #9E4318; --accent-text: #FDF6EC;
  --muted: #7A5C44; --border: #E0C9A8; --surface: #F4E7D2;
  --heading: Fraunces, Georgia, serif;
  --body: Nunito, system-ui, sans-serif;
  --radius: 8px;
}
html[data-look="warm"][data-theme="night"] {
  --bg: #1C0E06; --text: #F5E8D8; --accent: #E07A45; --accent-text: #1C0E06;
  --muted: #B08060; --border: #3A1E0C; --surface: #281408;
  --heading: Fraunces, Georgia, serif;
  --body: Nunito, system-ui, sans-serif;
  --radius: 8px;
}

html[data-look="editorial"] .seller { font-style: italic; }
html[data-look="warm"] .hero-title,
html[data-look="warm"] .cta-title { font-weight: 600; }
html[data-look="warm"] .work-grid { gap: 12px; padding: 0 16px 64px; }
html:not([data-look="warm"]) .work-grid { gap: 2px; padding: 0 0 64px; }


/* ── Three more looks ─────────────────────────────────────── */

html[data-look="slate"][data-theme="day"] {
  --bg: #F2F5F8; --text: #141B24; --accent: #1F4E79; --accent-text: #FFFFFF;
  --muted: #55606D; --border: #C9D3DD; --surface: #E5EBF1;
  --heading: "DM Serif Display", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --radius: 4px;
}
html[data-look="slate"][data-theme="night"] {
  --bg: #0E141B; --text: #E7EDF4; --accent: #7FB3E0; --accent-text: #0E141B;
  --muted: #96A2B0; --border: #202B36; --surface: #151E27;
  --heading: "DM Serif Display", Georgia, serif;
  --body: Inter, system-ui, sans-serif;
  --radius: 4px;
}

html[data-look="garden"][data-theme="day"] {
  --bg: #F4F7F0; --text: #16211A; --accent: #2C5F3E; --accent-text: #FFFFFF;
  --muted: #4F5D51; --border: #CDD8C9; --surface: #E6EDE1;
  --heading: Fraunces, Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --radius: 4px;
}
html[data-look="garden"][data-theme="night"] {
  --bg: #0D140F; --text: #E8F0E7; --accent: #8CC79B; --accent-text: #0D140F;
  --muted: #94A295; --border: #1E2A20; --surface: #141D16;
  --heading: Fraunces, Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --radius: 4px;
}

html[data-look="rose"][data-theme="day"] {
  --bg: #FBF3F5; --text: #241419; --accent: #8E2F4C; --accent-text: #FFFFFF;
  --muted: #6B5058; --border: #E3CDD4; --surface: #F3E4E8;
  --heading: "Playfair Display", Georgia, serif;
  --body: Nunito, system-ui, sans-serif;
  --radius: 12px;
}
html[data-look="rose"][data-theme="night"] {
  --bg: #170D11; --text: #F4E6EA; --accent: #E8899F; --accent-text: #170D11;
  --muted: #B2969E; --border: #2C1A20; --surface: #21131A;
  --heading: "Playfair Display", Georgia, serif;
  --body: Nunito, system-ui, sans-serif;
  --radius: 12px;
}

html[data-look="rose"] .hero-title,
html[data-look="garden"] .hero-title,
html[data-look="rose"] .cta-title,
html[data-look="garden"] .cta-title { font-weight: 600; }
html[data-look="rose"] .work-grid { gap: 12px; padding: 0 16px 64px; }

@media (prefers-contrast: more) {
  :root { --text: #000; --border: #444; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  min-height: 100vh;
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
img[src=""] { background: var(--surface); min-height: 12rem; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

[id] { scroll-margin-top: 76px; } /* clears the 60px sticky .bar so #buy isn't hidden under it */

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus { left: 12px; top: 12px; z-index: 200; background: var(--accent); color: var(--accent-text); padding: 8px 12px; }

[data-kit-setup] {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: center;
  gap: 4px;
  padding: 6px 16px;
  flex-wrap: wrap;
}
[data-kit-setup] button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 4px 12px;
  font: 600 0.72rem/1 var(--body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  min-height: 44px;
  cursor: pointer;
  touch-action: manipulation;
  transition: border-color 150ms ease;
}
[data-kit-setup] button[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-text);
  border-color: var(--accent);
}
@media (hover: hover) and (pointer: fine) {
  [data-kit-setup] button:hover { border-color: var(--accent); }
}
[data-kit-setup] button:active { transform: scale(0.96); }

.bar {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 0 20px; height: 60px;
}
.bar-id { display: flex; align-items: baseline; gap: 10px; }
.seller { font-family: var(--heading); font-size: 1rem; font-weight: 600; }
.bar-price { font-size: 0.85rem; color: var(--muted); }
.bar-right { display: flex; align-items: center; gap: 10px; }

.theme-btn {
  background: none; border: 1px solid var(--border);
  color: var(--muted); min-width: 44px; min-height: 44px;
  font: 600 0.72rem/1 var(--body); letter-spacing: 0.06em;
  text-transform: uppercase; cursor: pointer; border-radius: var(--radius);
  touch-action: manipulation;
  transition: border-color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .theme-btn:hover { border-color: var(--accent); }
}
.theme-btn:active { transform: scale(0.96); }

.buy {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: var(--accent-text);
  border-radius: var(--radius); text-decoration: none;
  font: 600 0.95rem/1 var(--body); letter-spacing: 0.04em;
  text-transform: uppercase; min-height: 52px; width: 100%;
  padding: 14px 28px;
  touch-action: manipulation;
  transition: opacity 150ms ease, transform 100ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .buy:hover { opacity: 0.85; }
}
.buy:active { transform: scale(0.96); }
.buy-sm { width: auto; min-height: 44px; padding: 0 20px; font-size: 0.82rem; }
.buy-lg { min-height: 52px; font-size: 1.05rem; padding: 18px 32px; }

.hero { position: relative; min-height: 520px; display: flex; flex-direction: column; justify-content: flex-end; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.2) 55%, transparent 100%); pointer-events: none; }
html[data-theme="night"] .hero-scrim { background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.3) 60%, transparent 100%); }
.hero-copy { position: relative; padding: 48px 24px 56px; max-width: 900px; }
.hero-title { font-family: var(--heading); font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 400; line-height: 1.12; color: #fff; margin: 0 0 16px; letter-spacing: -0.02em; text-wrap: balance; }
.hero-sub { font-size: 1.05rem; color: rgba(255,255,255,0.82); margin: 0 0 32px; font-weight: 300; }
.hero-copy .buy { max-width: 360px; }

.wrap { padding: 72px 24px; max-width: 768px; margin: 0 auto; }
.kicker { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 24px; }
.kicker-pad { padding: 48px 24px 24px; }

.gets { list-style: none; padding: 0; margin: 0; }
.gets li { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.gets li:last-child { border-bottom: 0; }
.num { font-family: var(--heading); font-size: 0.95rem; color: var(--muted); font-style: italic; flex-shrink: 0; }
.get { font-size: 1.05rem; line-height: 1.55; }

.rule { border: 0; border-top: 1px solid var(--border); margin: 0; }

.work-grid { display: grid; grid-template-columns: 1fr; }
@media (min-width: 640px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }
.work-grid figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; border-radius: var(--radius); background: var(--surface); }
.work-grid img { width: 100%; height: 100%; object-fit: cover; }

.split { display: grid; gap: 40px; }
@media (min-width: 640px) { .split { grid-template-columns: 1fr 1fr; } }
.split ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.split li { font-size: 0.92rem; line-height: 1.5; padding-left: 12px; }
.for .kicker { color: var(--accent); }
.for li { border-left: 2px solid var(--accent); }
.not li { color: var(--muted); border-left: 2px solid var(--border); }

details { border-bottom: 1px solid var(--border); }
summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  gap: 16px; padding: 22px 0; min-height: 44px; font-family: var(--heading); font-size: 1.05rem;
  touch-action: manipulation;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--muted); font-family: var(--body); font-size: 1.2rem; }
details[open] summary::after { content: "–"; }
details p { font-size: 0.95rem; line-height: 1.65; color: var(--muted); margin: 0 0 24px; padding-right: 32px; }

.cta { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 24px; text-align: center; }
.cta-inner { max-width: 560px; margin: 0 auto; }
.cta-title { font-family: var(--heading); font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 400; line-height: 1.15; margin: 0 0 16px; letter-spacing: -0.02em; text-wrap: balance; }
.cta-sub { color: var(--muted); margin: 0 0 36px; line-height: 1.55; }
.fine { font-size: 0.82rem; color: var(--muted); margin-top: 16px; }

.foot { padding: 32px 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; color: var(--muted); }
.foot a { font-size: 0.82rem; text-underline-offset: 3px; position: relative; touch-action: manipulation; }
.foot a::before { content: ""; position: absolute; inset: -16px; }
