/* ============================================================
   위드온AI - landing (Glass theme, single variant)

   Mobile-first breakpoints:
     base : <  480px (smartphone)
     sm   : >= 480px
     md   : >= 768px (tablet+)
     lg   : >= 1024px (desktop)
     xl   : >= 1280px
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face { font-family: "Pretendard"; font-weight: 400; font-display: swap; src: url("./fonts/Pretendard-Regular.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 600; font-display: swap; src: url("./fonts/Pretendard-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 700; font-display: swap; src: url("./fonts/Pretendard-Bold.woff2") format("woff2"); }
@font-face { font-family: "Pretendard"; font-weight: 800; font-display: swap; src: url("./fonts/Pretendard-ExtraBold.woff2") format("woff2"); }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
}
body {
  margin: 0;
  min-width: 320px;
  font-family: "Pretendard", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "tnum";
  letter-spacing: -0.01em;
  background-color: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ol, ul { list-style: none; padding: 0; margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

section[id], [id] { scroll-margin-top: 72px; }

/* ============================================================
   Korean line-break safety - prevent orphan words on mobile
   ============================================================ */
h1, h2, h3,
.founder__lead {
  text-wrap: balance;
}
p,
.section-lead,
.hero__copy,
.partner__lead,
.subscribe__lead,
.principle p,
.domain p,
.app-card > p,
.cta__copy {
  text-wrap: pretty;
}

/* ============================================================
   Scrollbars - themed to match glass background
   ============================================================ */
html { scrollbar-width: thin; scrollbar-color: rgba(75, 50, 25, 0.22) transparent; }
* { scrollbar-width: thin; scrollbar-color: rgba(75, 50, 25, 0.22) transparent; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(75, 50, 25, 0.18);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
  transition: background-color 0.18s var(--ease);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(75, 50, 25, 0.34);
  background-clip: content-box;
}
::-webkit-scrollbar-thumb:active {
  background: rgba(193, 124, 74, 0.6);
  background-clip: content-box;
}
::-webkit-scrollbar-corner { background: transparent; }

/* Slimmer scrollbars inside modal */
.mail-modal__panel::-webkit-scrollbar,
.mail-modal__body::-webkit-scrollbar { width: 8px; height: 8px; }
.mail-modal__panel::-webkit-scrollbar-thumb,
.mail-modal__body::-webkit-scrollbar-thumb {
  background: rgba(75, 50, 25, 0.2);
  border-width: 1.5px;
  background-clip: content-box;
}
.mail-modal__panel::-webkit-scrollbar-thumb:hover,
.mail-modal__body::-webkit-scrollbar-thumb:hover {
  background: rgba(75, 50, 25, 0.36);
  background-clip: content-box;
}

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: inherit;
}
.btn:focus-visible, .nav a:focus-visible { outline-offset: 3px; }

/* ============================================================
   Tokens - Glass theme (mobile-first)
   ============================================================ */
:root {
  --container: min(1180px, calc(100% - 32px));
  --section-pad-y: 44px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 18px;
  --radius-xl: 22px;

  --fs-eyebrow: 11px;
  --fs-body: 15px;
  --fs-lead: 15.5px;
  --fs-h3: 19px;
  --fs-h2: 26px;
  --fs-h1: 40px;
  --fs-display: 26px;

  --lh-tight: 1.04;
  --lh-snug: 1.2;
  --lh-normal: 1.55;
  --lh-relaxed: 1.6;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  /* Cream + terracotta theme (confirmed 2026-05-11) */
  --bg: #f4e9d3;
  --bg-elevated: rgba(255, 252, 245, 0.72);
  --bg-elevated-hover: rgba(255, 254, 250, 0.92);
  --text: #2b1d12;
  --text-secondary: rgba(43, 29, 18, 0.68);
  --text-tertiary: rgba(43, 29, 18, 0.45);
  --border: rgba(75, 50, 25, 0.14);
  --border-strong: rgba(75, 50, 25, 0.26);
  --accent: #c17c4a;
  --accent-strong: #9c5a30;
  --accent-deep: #6e3e1f;
  --accent-soft: rgba(193, 124, 74, 0.14);
  --accent-glow: rgba(193, 124, 74, 0.22);
  --accent-on-accent: #fdf6ec;
  --gold-shimmer: var(--accent);
  --gold-text: var(--accent-strong);
}

@media (min-width: 480px) {
  :root {
    --container: min(1180px, calc(100% - 40px));
    --fs-h1: 48px;
    --fs-h2: 28px;
    --fs-display: 30px;
  }
}

@media (min-width: 768px) {
  :root {
    --container: min(1180px, calc(100% - 56px));
    --section-pad-y: 60px;
    --fs-eyebrow: 12px;
    --fs-body: 16px;
    --fs-lead: 17px;
    --fs-h3: 21px;
    --fs-h2: 38px;
    --fs-h1: 64px;
    --fs-display: 34px;
  }
}

@media (min-width: 1024px) {
  :root {
    --container: min(1180px, calc(100% - 80px));
    --section-pad-y: 80px;
    --fs-h3: 22px;
    --fs-h2: 48px;
    --fs-h1: 80px;
    --fs-display: 38px;
    --fs-lead: 18px;
  }
}

@media (min-width: 1280px) {
  :root {
    --section-pad-y: 96px;
    --fs-h2: 54px;
    --fs-h1: 96px;
    --fs-display: 42px;
  }
}

/* ============================================================
   Background - glass orbs
   ============================================================ */
.bg {
  display: none;
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  will-change: transform;
}
.orb-1 {
  width: 280px; height: 280px;
  top: -80px; left: -80px;
  background: radial-gradient(circle, #f4e4a1 0%, #c9a35a 30%, #8b6914 60%, transparent 80%);
  opacity: 0.45;
}
.orb-2 {
  width: 340px; height: 340px;
  top: 28%; right: -140px;
  background: radial-gradient(circle, #6aa1ff 0%, transparent 70%);
  opacity: 0.28;
}
.orb-3 {
  width: 280px; height: 280px;
  bottom: -100px; left: 22%;
  background: radial-gradient(circle, #b06bff 0%, transparent 70%);
  opacity: 0.22;
}
@media (min-width: 768px) {
  .orb { filter: blur(85px); }
  .orb-1 { width: 420px; height: 420px; top: -120px; left: -100px; }
  .orb-2 { width: 480px; height: 480px; top: 30%; right: -180px; }
  .orb-3 { width: 400px; height: 400px; bottom: -130px; left: 28%; }
}

main, .site-footer { position: relative; z-index: 1; }

/* ============================================================
   Scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   Containers
   ============================================================ */
main,
.site-footer {
  width: var(--container);
  margin-inline: auto;
}
.site-header { width: 100%; }
.site-header__inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ============================================================
   Header - sticky glass bar
   ============================================================ */
.site-header {
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  background: linear-gradient(to bottom, rgba(244, 233, 211, 0.88) 0%, rgba(244, 233, 211, 0.55) 80%, transparent);
  backdrop-filter: blur(14px) saturate(1.3);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  -webkit-mask-image: linear-gradient(to bottom, #000 65%, transparent);
          mask-image: linear-gradient(to bottom, #000 65%, transparent);
}
@media (min-width: 768px) { .site-header { padding: 16px 0; } }
@media (min-width: 1024px) { .site-header { padding: 20px 0; } }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--gold-shimmer);
  color: var(--accent-on-accent);
  border: 1px solid var(--border-strong);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0;
}
@media (min-width: 768px) {
  .brand { font-size: 17px; }
  .brand__mark { width: 30px; height: 30px; border-radius: 9px; font-size: 15px; }
}

.nav {
  display: none;
  align-items: center;
  gap: 2px;
  font-size: 14px;
  font-weight: 600;
}
.nav a {
  padding: 8px 12px;
  color: var(--text-secondary);
  border-radius: 999px;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--bg-elevated); }
@media (min-width: 768px) {
  .nav { display: inline-flex; }
  .nav a { padding: 8px 14px; }
}

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 0.16s var(--ease), background 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease), box-shadow 0.2s var(--ease), filter 0.18s var(--ease);
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn--primary {
  background: var(--gold-shimmer);
  color: var(--accent-on-accent);
  box-shadow: 0 8px 20px var(--accent-glow);
  transition: transform 0.16s var(--ease), background 0.18s var(--ease), box-shadow 0.2s var(--ease), filter 0.18s var(--ease);
}
.btn--primary:hover {
  background: var(--accent-strong);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(201, 163, 90, 0.35);
}
.btn--ghost {
  background: var(--bg-elevated);
  color: var(--text);
  border-color: var(--border-strong);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
}
.btn--ghost:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
  transform: translateY(-1px);
}
.btn--lg { height: 50px; padding: 0 22px; font-size: 15px; }
@media (min-width: 768px) {
  .btn { height: 46px; padding: 0 20px; font-size: 14.5px; }
  .btn--lg { height: 52px; padding: 0 24px; font-size: 15.5px; }
}

/* ============================================================
   Section heads
   ============================================================ */
.section-head { margin-bottom: 20px; max-width: 720px; }
.section-head--center { text-align: center; margin-inline: auto; }
@media (min-width: 768px) { .section-head { margin-bottom: 28px; } }
@media (min-width: 1024px) { .section-head { margin-bottom: 36px; } }

.section-eyebrow {
  display: block;
  margin: 0 0 10px;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

section h2 {
  margin: 0;
  font-size: var(--fs-h2);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
  word-break: keep-all;
}
.section-lead {
  max-width: 600px;
  margin: 14px 0 0;
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  word-break: keep-all;
}
.section-head--center .section-lead { margin-inline: auto; }
@media (min-width: 768px) { .section-lead { margin-top: 18px; } }

/* ============================================================
   Hero - split layout (text + visual on desktop)
   ============================================================ */
.hero {
  padding: 32px 0 36px;
  position: relative;
}
@media (min-width: 768px) { .hero { padding: 52px 0 56px; } }
@media (min-width: 1024px) { .hero { padding: 72px 0 80px; } }
@media (min-width: 1280px) { .hero { padding: 88px 0 96px; } }

.hero__main { max-width: 920px; }

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  font-size: var(--fs-eyebrow);
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-secondary);
}
@media (min-width: 768px) { .eyebrow { margin-bottom: 18px; } }

.hero h1 {
  margin: 0;
  font-size: var(--fs-h1);
  font-weight: 800;
  line-height: 0.94;
  letter-spacing: -0.045em;
  word-break: keep-all;
}
.hero__period {
  color: var(--accent-strong);
}

.hero__copy {
  max-width: 540px;
  margin: 14px 0 0;
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  word-break: keep-all;
}
@media (min-width: 768px) { .hero__copy { margin-top: 20px; line-height: 1.55; } }

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
@media (min-width: 768px) { .hero__actions { gap: 12px; margin-top: 26px; } }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(110px, max-content));
  gap: 24px;
  margin: 28px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.hero__meta > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hero__meta dt {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-tertiary);
  font-weight: 700;
}
.hero__meta dd {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent-strong);
}
.hero__meta dd > [data-count] {
  display: inline-block;
  min-width: 1.6ch;
}
@media (min-width: 480px) {
  .hero__meta { gap: 32px; }
  .hero__meta dt { font-size: 11px; }
  .hero__meta dd { font-size: 24px; }
}
@media (min-width: 768px) {
  .hero__meta { gap: 40px; margin-top: 38px; padding-top: 20px; }
  .hero__meta dd { font-size: 28px; }
}
@media (min-width: 1024px) {
  .hero__meta { gap: 48px; margin-top: 44px; }
}

/* ============================================================
   Vision (3 principles)
   ============================================================ */
.vision {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
}
.principles {
  display: grid;
  gap: 10px;
}
.principle {
  background: var(--bg-elevated);
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 8px 24px rgba(75, 50, 25, 0.1);
}
.principle:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated-hover);
}
.principle__num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
}
.principle h3 {
  margin: 0 0 6px;
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.18;
}
.principle p {
  margin: 0;
  font-size: 14.5px;
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  word-break: keep-all;
}
@media (min-width: 768px) {
  .principles { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .principle { padding: 22px; }
  .principle__num { margin-bottom: 14px; }
}
@media (min-width: 1024px) { .principle { padding: 26px; } }

/* ============================================================
   Approach (Tech) + Domains/Roadmap share .domains-grid + .domain
   ============================================================ */
.tech, .domains, .roadmap {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
}
.domains-grid {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}
.domain {
  background: var(--bg-elevated);
  padding: 18px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 8px 24px rgba(75, 50, 25, 0.1);
}
.domain:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated-hover);
}
.domain__num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-bottom: 12px;
}
.domain h3 {
  margin: 0 0 6px;
  font-size: var(--fs-h3);
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 1.18;
}
.domain p {
  margin: 0;
  font-size: 14px;
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  word-break: keep-all;
}
.domain p strong {
  color: var(--text);
  font-weight: 800;
  letter-spacing: -0.005em;
}
@media (min-width: 600px) {
  .domains-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}
@media (min-width: 768px) {
  .domains-grid { margin-top: 24px; }
  .domain { padding: 22px; }
  .domain__num { margin-bottom: 14px; }
}
@media (min-width: 1024px) {
  .domains-grid { grid-template-columns: repeat(4, 1fr); }
  .domain { padding: 26px; }
}

/* Roadmap header (period + status) */
.domain__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
@media (min-width: 768px) { .domain__head { margin-bottom: 14px; } }

.domain__period {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}
.domain__status {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-secondary);
  letter-spacing: 0.02em;
  border: 1px solid var(--border);
}
.domain--live { border-color: var(--border-strong); }
.domain--live .domain__status {
  background: rgba(84, 214, 145, 0.14);
  border-color: rgba(84, 214, 145, 0.3);
  color: #54d691;
}

/* ============================================================
   Suite (single AI맘 card; 2-col with section head on desktop)
   ============================================================ */
.apps {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
}
.app-list {
  display: grid;
  gap: 12px;
  margin-top: 20px;
  max-width: 560px;
}
@media (min-width: 768px) { .app-list { margin-top: 24px; } }
@media (min-width: 1024px) {
  .apps {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: center;
  }
  .apps > .section-head { margin-bottom: 0; max-width: none; }
  .apps > .app-list { margin-top: 0; max-width: none; }
}
@media (min-width: 1280px) { .apps { gap: 72px; } }

.app-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease), transform 0.22s var(--ease);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  box-shadow: 0 10px 30px rgba(75, 50, 25, 0.12);
}
.app-card:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated-hover);
  transform: translateY(-2px);
}
.app-card--live { border-color: var(--border-strong); }
@media (min-width: 768px) { .app-card { padding: 22px; } }
@media (min-width: 1024px) { .app-card { padding: 26px; } }

.app-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
@media (min-width: 768px) { .app-card__head { margin-bottom: 16px; } }

.status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 24px;
  padding: 0 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.status__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 8px currentColor;
}
.status--live { background: rgba(84, 214, 145, 0.14); color: #54d691; }
.status--soon { background: rgba(255, 255, 255, 0.06); color: var(--text-tertiary); }
.status--soon .status__dot { box-shadow: none; opacity: 0.7; }
@media (min-width: 768px) { .status { height: 26px; font-size: 12px; padding: 0 12px; } }

.app-card__index {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--text-tertiary);
  font-variant-numeric: tabular-nums;
}
@media (min-width: 768px) { .app-card__index { font-size: 12px; } }

.app-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.18;
}
.app-card > p {
  margin: 0;
  font-size: 14px;
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  flex: 1;
  word-break: keep-all;
}
@media (min-width: 768px) {
  .app-card h3 { margin-bottom: 10px; font-size: 24px; }
  .app-card > p { font-size: 14.5px; }
}
@media (min-width: 1024px) { .app-card h3 { font-size: 26px; } }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 0;
}
.tags li {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}
@media (min-width: 768px) { .tags { margin-top: 16px; } }

/* ============================================================
   Founder
   ============================================================ */
.founder {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
}
.founder__figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  max-width: 760px;
}
.founder__quote { margin: 0 0 18px; padding: 0; border: 0; }
.founder__lead {
  margin: 0 0 8px;
  font-size: var(--fs-display);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.03em;
  word-break: keep-all;
}
.founder__quote p:not(.founder__lead) {
  margin: 0;
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  word-break: keep-all;
}
@media (min-width: 768px) {
  .founder__quote { margin-bottom: 24px; }
  .founder__lead { margin-bottom: 12px; }
}
.founder__photo {
  width: 120px;
  height: 120px;
  border-radius: 999px;
  object-fit: cover;
  object-position: 50% 18%;
  background: #fff;
  margin: 0 auto 24px;
  border: 2px solid rgba(193, 124, 74, 0.28);
  box-shadow:
    0 0 0 5px rgba(193, 124, 74, 0.08),
    0 12px 32px rgba(75, 50, 25, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}
@media (min-width: 768px) {
  .founder__photo {
    width: 152px;
    height: 152px;
    margin-bottom: 28px;
    border-width: 2.5px;
    box-shadow:
      0 0 0 6px rgba(193, 124, 74, 0.1),
      0 16px 40px rgba(75, 50, 25, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.45);
  }
}
@media (min-width: 1024px) {
  .founder__photo {
    width: 176px;
    height: 176px;
    margin-bottom: 32px;
  }
}

.founder__cite {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
  padding: 0;
  border: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}
.founder__cite strong { font-weight: 800; font-size: 16px; letter-spacing: -0.015em; color: var(--text); }
.founder__cite span { font-size: 12.5px; color: var(--text-tertiary); letter-spacing: 0.06em; }
@media (min-width: 768px) {
  .founder__cite strong { font-size: 17px; }
  .founder__cite span { font-size: 13px; }
}

/* ============================================================
   Partner
   ============================================================ */
.partner {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.partner-list {
  display: grid;
  gap: 8px;
  margin: 20px auto;
  max-width: 640px;
  text-align: left;
}
.partner-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  transition: border-color 0.22s var(--ease), background 0.22s var(--ease);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.partner-list li:hover {
  border-color: var(--border-strong);
  background: var(--bg-elevated-hover);
}
.partner-list strong {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text);
}
.partner-list span {
  font-size: 12.5px;
  color: var(--text-secondary);
  text-align: right;
}
@media (min-width: 768px) {
  .partner-list { gap: 10px; margin: 28px auto; }
  .partner-list li { padding: 14px 18px; }
  .partner-list strong { font-size: 14.5px; }
  .partner-list span { font-size: 13px; }
}

/* ============================================================
   Subscribe - closing CTA
   ============================================================ */
.subscribe {
  padding: var(--section-pad-y) 0;
  border-top: 1px solid var(--border);
  text-align: center;
}
.subscribe__inner {
  max-width: 640px;
  margin: 0 auto;
}
.subscribe h2 { margin: 0 0 12px; }
.subscribe__lead {
  margin: 0 auto 24px;
  max-width: 540px;
  font-size: var(--fs-lead);
  line-height: var(--lh-relaxed);
  color: var(--text-secondary);
  word-break: keep-all;
}
@media (min-width: 768px) {
  .subscribe h2 { margin-bottom: 14px; }
  .subscribe__lead { margin-bottom: 28px; }
}

/* ============================================================
   Hero meta unit / plus markers
   ============================================================ */
.meta-plus {
  font-size: 0.55em;
  vertical-align: super;
  margin-left: 1px;
  font-weight: 700;
  opacity: 0.7;
}
.meta-unit {
  font-size: 0.5em;
  margin-left: 2px;
  font-weight: 700;
  opacity: 0.6;
  letter-spacing: 0.04em;
}

/* ============================================================
   Pull-to-refresh indicator (mobile / PWA)
   ============================================================ */
.ptr {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 60;
  background: linear-gradient(to bottom, rgba(244, 233, 211, 0.95) 0%, rgba(244, 233, 211, 0.65) 70%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  transition: height 0.2s var(--ease);
}
.ptr__inner {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ptr__icon {
  display: block;
  transition: transform 0.22s var(--ease);
}
.ptr.is-ready { color: var(--accent-strong); }
.ptr.is-ready .ptr__icon { transform: rotate(180deg); }
.ptr.is-refreshing .ptr__icon {
  animation: ptr-spin 0.9s linear infinite;
}
@keyframes ptr-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@media (prefers-reduced-motion: reduce) {
  .ptr.is-refreshing .ptr__icon { animation: none; }
}

/* ============================================================
   Back to top button
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: 16px;
  z-index: 150;
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--accent);
  border: 1px solid transparent;
  color: var(--accent-on-accent);
  box-shadow: 0 8px 22px rgba(193, 124, 74, 0.32);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.22s var(--ease), transform 0.22s var(--ease), background 0.18s var(--ease), box-shadow 0.18s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(193, 124, 74, 0.4);
}
.back-to-top:active { transform: translateY(0); }
.back-to-top svg { display: block; }
@media (min-width: 768px) {
  .back-to-top {
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
  }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  padding: 32px 0 22px;
  margin-top: 20px;
  border-top: 1px solid var(--border);
}
@media (min-width: 768px) { .site-footer { padding: 44px 0 24px; margin-top: 32px; } }
@media (min-width: 1024px) { .site-footer { padding: 52px 0 28px; } }

.footer__top {
  display: grid;
  gap: 24px;
  margin-bottom: 24px;
}
@media (min-width: 768px) {
  .footer__top {
    grid-template-columns: minmax(220px, 1fr) 2fr;
    gap: 32px;
    margin-bottom: 32px;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}
.footer__brand strong { font-size: 16px; font-weight: 800; }
.footer__brand p { margin: 0; font-size: 13px; color: var(--text-secondary); }
@media (min-width: 768px) {
  .footer__brand strong { font-size: 17px; }
  .footer__brand p { font-size: 13.5px; }
}

.footer__cols {
  display: grid;
  gap: 20px;
}
@media (min-width: 600px) { .footer__cols { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 768px) { .footer__cols { gap: 28px; } }

.footer__col { display: flex; flex-direction: column; gap: 8px; }
.footer__col h4 {
  margin: 0 0 4px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.footer__col a, .footer__col span {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.footer__col a { transition: color 0.18s var(--ease); }
.footer__col a:hover { color: var(--text); }
.footer__col [data-placeholder] {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-tertiary);
}
.footer__tagline {
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
}
@media (min-width: 768px) { .footer__bottom { padding-top: 20px; font-size: 12.5px; gap: 16px; } }

/* ============================================================
   Mail modal - opens on [data-mailto] click
   ============================================================ */
.mail-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
}
.mail-modal[hidden] { display: none; }
.mail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: mail-fade 0.22s var(--ease);
}
.mail-modal__panel {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: rgba(20, 20, 24, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px 22px 0 0;
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  box-shadow: 0 -20px 80px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  padding: 18px 18px 16px;
  overflow-y: auto;
  animation: mail-slide-up 0.28s var(--ease);
  -webkit-overflow-scrolling: touch;
}
@keyframes mail-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes mail-slide-up {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (min-width: 600px) {
  .mail-modal { align-items: center; padding: 16px; }
  .mail-modal__panel { border-radius: 22px; padding: 22px 24px 20px; max-height: calc(100vh - 32px); }
  @keyframes mail-slide-up {
    from { opacity: 0; transform: translateY(12px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}

.mail-modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 4px;
}
.mail-modal__head h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mail-modal__close {
  width: 32px;
  height: 32px;
  display: inline-grid;
  place-items: center;
  border-radius: 9px;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  transition: color 0.18s var(--ease), background 0.18s var(--ease), border-color 0.18s var(--ease);
}
.mail-modal__close:hover { color: var(--text); background: rgba(255, 255, 255, 0.08); border-color: var(--border-strong); }

.mail-modal__hint {
  margin: 4px 0 14px;
  font-size: 12.5px;
  color: var(--text-tertiary);
  line-height: 1.55;
}
.mail-modal__hint strong { color: var(--text-secondary); font-weight: 700; }

.mail-modal__field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 10px;
}
.mail-modal__field label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}
.mail-modal__to,
.mail-modal__subject,
.mail-modal__body {
  width: 100%;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: "Pretendard", system-ui, -apple-system, sans-serif;
  font-size: 13px;
  letter-spacing: -0.005em;
  font-feature-settings: "tnum";
}
.mail-modal__to { word-break: break-all; }
.mail-modal__subject { font-weight: 600; }
.mail-modal__body {
  min-height: 200px;
  line-height: 1.55;
  resize: vertical;
}
.mail-modal__subject:focus-visible,
.mail-modal__body:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--border-strong);
}

.mail-modal__actions {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.mail-modal__actions .btn { width: 100%; }
@media (min-width: 480px) {
  .mail-modal__actions { grid-template-columns: 1fr 1fr 1fr; }
  .mail-modal__actions .btn { min-width: 0; }
}

.mail-modal__foot {
  margin: 12px 0 0;
  font-size: 11.5px;
  color: var(--text-tertiary);
  line-height: 1.5;
  text-align: center;
}
.mail-modal__foot strong { color: var(--text-secondary); font-weight: 700; }

/* ============================================================
   Reduced motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
