/* ============ DESIGN TOKENS — "Warm Signature" ============ */
:root,
[data-theme='light'] {
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2.25rem, 1.4rem + 3vw, 3.75rem);

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Light mode: warm terracotta / blush cream */
  --color-bg: #f6e9d8;
  --color-bg-2: #f1ddc4;
  --color-surface: #fbf2e6;
  --color-divider: #d9b892;
  --color-border: #d3a97c;

  --color-text: #4a2f21;
  --color-text-muted: #8a6349;
  --color-text-faint: #b7967a;
  --color-text-inverse: #fbf2e6;

  --color-accent: #a85c3a;
  --color-accent-hover: #874a2e;
  --color-sage: #7c8a5f;

  --radius-pill: 9999px;
  --radius-sm: 0.5rem;

  --transition-interactive: 220ms cubic-bezier(0.16, 1, 0.3, 1);
  --content-narrow: 460px;

  --shadow-sm: 0 2px 8px rgba(90, 55, 30, 0.1);
  --shadow-md: 0 8px 22px rgba(90, 55, 30, 0.14);

  --font-script: 'Caveat', cursive;
  --font-display: 'Cormorant', Georgia, serif;
  --font-body: 'Switzer', 'Work Sans', sans-serif;
}

[data-theme='dark'] {
  /* Dark mode: espresso brown, candlelit */
  --color-bg: #2a1c14;
  --color-bg-2: #34241a;
  --color-surface: #34241a;
  --color-divider: #4a3626;
  --color-border: #5a4230;

  --color-text: #f3e6d6;
  --color-text-muted: #cbab8c;
  --color-text-faint: #8a715c;
  --color-text-inverse: #2a1c14;

  --color-accent: #e0895c;
  --color-accent-hover: #f0a679;
  --color-sage: #a4b183;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 22px rgba(0, 0, 0, 0.35);
}

/* ============ BACKGROUND ============ */
body {
  background: radial-gradient(ellipse 120% 60% at 50% 0%, var(--color-bg-2), var(--color-bg) 70%);
  position: relative;
  overflow-x: hidden;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: var(--space-12) var(--space-5) var(--space-16);
}

.wrap {
  width: 100%;
  max-width: var(--content-narrow);
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ============ CORNER ILLUSTRATIONS ============ */
.deco {
  position: absolute;
  z-index: 0;
  color: var(--color-accent);
  opacity: 0.35;
  pointer-events: none;
}
.deco-grass {
  left: -18px;
  bottom: -10px;
  width: 150px;
  height: 150px;
}
.deco-cup {
  right: -14px;
  bottom: -10px;
  width: 120px;
  height: 120px;
}

/* ============ THEME TOGGLE ============ */
.theme-toggle {
  position: fixed;
  top: var(--space-5);
  right: var(--space-5);
  z-index: 10;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  color: var(--color-text-muted);
  box-shadow: var(--shadow-sm);
}
.theme-toggle:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ============ HEADER ============ */
.mark-frame {
  position: relative;
  width: 130px;
  height: 130px;
  display: grid;
  place-items: center;
  margin-bottom: var(--space-2);
}
.mark-waves {
  position: absolute;
  inset: 0;
  color: var(--color-accent);
  opacity: 0.55;
}
.mark {
  position: relative;
  width: 46px;
  height: 46px;
  color: var(--color-accent);
}

.name {
  font-family: var(--font-script);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-text);
  text-align: center;
  line-height: 1;
}

.handle-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-top: var(--space-3);
}
.handle-row .line {
  width: 28px;
  height: 1px;
  background: var(--color-border);
}
.handle {
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
}

.tagline {
  margin-top: var(--space-5);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-text);
  text-align: center;
  max-width: 30ch;
}

/* ============ SECTION LABEL ============ */
.section-label-row {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  margin-top: var(--space-10);
  margin-bottom: var(--space-4);
}
.section-label-row .line {
  flex: 1;
  height: 1px;
  background: var(--color-divider);
}
.section-label {
  flex: none;
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* ============ LINK PILLS ============ */
.links {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.link-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding: var(--space-3) var(--space-5);
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--color-text);
}
.link-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--color-accent);
}
.link-item:active {
  transform: translateY(0);
}

.link-icon {
  flex: none;
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.link-body {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.link-title {
  font-weight: 700;
  font-size: var(--text-base);
  color: var(--color-text);
}

.link-sub {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.soon-badge {
  flex: none;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-inverse);
  background: var(--color-text-faint);
  padding: 3px var(--space-3);
  border-radius: var(--radius-pill);
}

.link-item.is-soon {
  opacity: 0.65;
  cursor: default;
}
.link-item.is-soon:hover {
  transform: none;
  box-shadow: var(--shadow-sm);
  border-color: var(--color-border);
}

/* ============ FIND-HERE LIST ============ */
.findlist {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.findlist li {
  display: flex;
  gap: var(--space-3);
  align-items: flex-start;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.findlist .bullet {
  flex: none;
  color: var(--color-accent);
  font-size: var(--text-lg);
  line-height: 1.4;
}
.findlist strong {
  color: var(--color-text);
  font-weight: 700;
}

/* ============ SIGN-OFF ============ */
.signoff {
  margin-top: var(--space-12);
  text-align: center;
}
.signoff .big {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-lg);
  color: var(--color-accent);
}
.signoff .small {
  margin-top: var(--space-2);
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}
.signoff .tiny {
  margin-top: var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}

/* ============ FOOTER ============ */
.footer {
  margin-top: var(--space-12);
  text-align: center;
  color: var(--color-text-faint);
  font-size: var(--text-xs);
}
.footer p + p {
  margin-top: var(--space-1);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 420px) {
  .page {
    padding: var(--space-10) var(--space-4) var(--space-12);
  }
  .deco {
    opacity: 0.22;
  }
  .deco-grass {
    width: 100px;
    height: 100px;
  }
  .deco-cup {
    width: 84px;
    height: 84px;
  }
}
</content>
