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

:root {
  --navy: #0f1b2d;
  --ink: #0f1b2d;
  --ink-muted: rgba(15, 27, 45, 0.68);
  --accent: #8a7355;
  --accent-soft: rgba(138, 115, 85, 0.35);
  --bg: #f7f5f0;
  --bg-soft: #efebe3;
  --surface: #ffffff;
  --border: rgba(15, 27, 45, 0.12);
  --border-strong: rgba(15, 27, 45, 0.18);
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-brand: Georgia, 'Times New Roman', serif;
  --font-script: 'Caveat', cursive;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-brand);
  background: var(--bg);
  color: var(--ink);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* Environment strip — local / dev only; live stays unmarked. */
.env-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  padding: 3px 12px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-align: center;
  color: #0f1b2d;
  border-bottom: 1px solid rgba(15, 27, 45, 0.12);
}

.env-banner--local {
  background: #7eb8a8;
}

.env-banner--dev {
  background: #e0b84e;
}

.landing {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Nav ── */
.landing-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  animation: fade-down 0.9s ease both;
}

.nav-brand {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: 0.9;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color 0.25s, color 0.25s;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  border-color: var(--navy);
  color: var(--navy);
}

.landing-nav-solid {
  position: sticky;
  top: 0;
  background: rgba(247, 245, 240, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  animation: none;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 72px;
  overflow: hidden;
}

.hero-pattern {
  position: absolute;
  inset: -12%;
  z-index: 0;
}

.hero-pattern-layer {
  width: 100%;
  height: 100%;
  background-color: #faf9f6;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(15, 27, 45, 0.045) 0 1.1%, transparent 1.35%),
    radial-gradient(circle at 68% 24%, rgba(138, 115, 85, 0.055) 0 0.85%, transparent 1.1%),
    radial-gradient(circle at 82% 62%, rgba(15, 27, 45, 0.035) 0 1.4%, transparent 1.65%),
    radial-gradient(circle at 36% 74%, rgba(138, 115, 85, 0.05) 0 0.95%, transparent 1.2%),
    radial-gradient(circle at 54% 48%, rgba(15, 27, 45, 0.03) 0 1.8%, transparent 2.05%),
    linear-gradient(165deg, #fcfbf9 0%, #faf9f6 50%, #f7f5f0 100%);
  background-size: 240px 240px, 240px 240px, 240px 240px, 240px 240px, 240px 240px, 100% 100%;
  animation: pattern-drift 56s linear infinite;
  transform: rotate(-3deg) scale(1.06);
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 75% 60% at 50% 42%, rgba(252, 251, 249, 0.35) 0%, rgba(252, 251, 249, 0.78) 70%, rgba(247, 245, 240, 0.94) 100%),
    linear-gradient(180deg, rgba(252, 251, 249, 0.65) 0%, transparent 32%, transparent 70%, rgba(247, 245, 240, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}

.hero-brand {
  margin: 0;
}

.hero-brand-name {
  display: block;
  font-family: var(--font-brand);
  font-size: clamp(2.4rem, 8vw, 4.6rem);
  font-weight: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1.05;
  animation: fade-up 1s ease 0.15s both;
}

.hero-line {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.4vw, 1.85rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.35;
  color: var(--accent);
  max-width: 22ch;
  animation: fade-up 1s ease 0.35s both;
}

.hero-support {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink-muted);
  max-width: 34ch;
  animation: fade-up 1s ease 0.5s both;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  justify-content: center;
  margin-top: 0.6rem;
  animation: fade-up 1s ease 0.65s both;
}

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #f7f5f0;
  font-family: var(--font-brand);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s;
}

.cta-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #f7f5f0;
  transform: translateY(-1px);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 8px;
  font-family: var(--font-brand);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--accent-soft);
  transition: border-color 0.25s, color 0.25s;
}

.cta-secondary:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ── Sections ── */
.work,
.print-tools,
.shop-teaser,
.sell-teaser,
.studio-cta {
  position: relative;
  padding: 88px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  background: var(--bg);
}

.print-tools,
.shop-teaser,
.sell-teaser,
.studio-cta {
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.print-tools,
.studio-cta {
  background: var(--bg-soft);
}

.shop-teaser .section-copy,
.sell-teaser .section-copy {
  max-width: 32ch;
}

/* ── Coming soon / shop placeholder ── */
.coming-soon-page {
  min-height: 100vh;
}

.coming-soon {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 80px;
  overflow: hidden;
  min-height: calc(100vh - 120px);
}

.coming-soon-pattern {
  position: absolute;
  inset: -8%;
  z-index: 0;
  pointer-events: none;
}

.coming-soon-pattern-layer {
  width: 100%;
  height: 100%;
  background-color: #faf9f6;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(15, 27, 45, 0.04) 0 1.1%, transparent 1.35%),
    radial-gradient(circle at 68% 24%, rgba(138, 115, 85, 0.05) 0 0.85%, transparent 1.1%),
    radial-gradient(circle at 82% 62%, rgba(15, 27, 45, 0.03) 0 1.4%, transparent 1.65%),
    linear-gradient(165deg, #fcfbf9 0%, #faf9f6 50%, #f7f5f0 100%);
  background-size: 240px 240px, 240px 240px, 240px 240px, 100% 100%;
  animation: pattern-drift 64s linear infinite;
  transform: rotate(-2deg) scale(1.04);
}

.coming-soon-content {
  position: relative;
  z-index: 1;
  max-width: 420px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
}

.coming-soon-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.coming-soon-status {
  font-family: var(--font-brand);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.coming-soon-copy,
.coming-soon-aside {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 36ch;
}

.coming-soon-aside {
  font-size: 0.88rem;
  opacity: 0.9;
}

.coming-soon .hero-actions {
  margin-top: 0.5rem;
  animation: none;
}

@media (prefers-reduced-motion: reduce) {
  .coming-soon-pattern-layer {
    animation: none;
  }
}

.section-lead {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 42ch;
}

.tool-list {
  width: 100%;
  max-width: 520px;
  margin-top: 1rem;
  text-align: left;
}

.tool-item {
  padding: 22px 0;
  border-top: 1px solid var(--border);
}

.tool-item:last-child {
  border-bottom: 1px solid var(--border);
}

.tool-item dt {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tool-item dt a {
  color: var(--navy);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, color 0.2s;
}

.tool-item dt a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tool-item dd {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

.section-title {
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
}

.section-copy {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  max-width: 28ch;
}

.studio-cta .section-copy {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ink-muted);
  max-width: 42ch;
}

.studio-cta .section-lead {
  max-width: 40ch;
}

.studio-cta .section-lead strong {
  color: var(--ink);
  font-weight: 600;
}

.studio-cta .cta-primary {
  margin-top: 0.25rem;
}

/* ── Sell guide page ── */
.guide-page {
  background: var(--bg);
}

.guide {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 40px 24px 72px;
}

.guide-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  text-align: left;
}

.guide-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
}

.guide-intro {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-muted);
  max-width: 48ch;
}

.guide-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  padding: 18px 0 28px;
  margin-bottom: 12px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.guide-toc a {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0.9;
}

.guide-toc a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }

.guide-section {
  text-align: left;
  padding: 36px 0;
  border-bottom: 1px solid var(--border);
}

.guide-section h2 {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.guide-section h3 {
  font-family: var(--font-brand);
  font-size: 0.78rem;
  font-weight: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 28px 0 12px;
}

.guide-section p,
.guide-section li {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: 12px;
}

.guide-section ul,
.guide-section ol {
  padding-left: 1.2em;
  margin-bottom: 14px;
}

.guide-steps {
  list-style: decimal;
}

.guide-steps li {
  margin-bottom: 14px;
  padding-left: 0.25em;
}

.guide-section strong {
  color: var(--ink);
  font-weight: 600;
}

.guide-section a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.guide-section a:hover {
  color: var(--accent);
}

.guide-tools {
  margin-top: 8px;
  max-width: none;
}

.term-list {
  width: 100%;
  margin-top: 8px;
}

.term-item {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.term-item:last-child {
  border-bottom: 1px solid var(--border);
}

.term-item dt {
  font-family: var(--font-brand);
  font-size: 0.85rem;
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}

.term-item dd {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--ink-muted);
}

.term-item dd strong {
  color: var(--ink);
  font-weight: 600;
}

.term-item dd em {
  font-style: italic;
  color: var(--ink);
}

.guide-note {
  margin-top: 8px;
  padding-top: 8px;
  font-style: italic;
}

.guide-footer-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 48px 0 12px;
  text-align: left;
}

.guide-footer-cta .section-lead {
  text-align: left;
}

.guide-footer-cta .hero-actions {
  justify-content: flex-start;
  margin-top: 0;
  animation: none;
}

/* ── Footer ── */
.landing-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 28px 36px;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-brand {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
}

.footer-nav {
  display: flex;
  gap: 22px;
}

.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  transition: color 0.2s;
}

.footer-nav a:hover { color: var(--navy); }

/* ── Motion ── */
@keyframes pattern-drift {
  from { background-position: 0 0, 0 0, 0 0, 0 0, 0 0, 0 0; }
  to { background-position: 240px 240px, -120px 240px, 240px -120px, -240px 120px, 120px 240px, 0 0; }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pattern-layer,
  .landing-nav,
  .hero-brand-name,
  .hero-line,
  .hero-support,
  .hero-actions {
    animation: none;
  }
}

@media (max-width: 560px) {
  .landing-nav { padding: 18px 20px; }
  .hero { padding: 88px 20px 64px; }
  .hero-brand-name { letter-spacing: 0.12em; }
  .hero-actions { flex-direction: column; align-items: center; }
  .landing-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 20px 32px;
  }
}
