/* Experience Esther — shared styles for /exp/ and its articles.
   Same bones as the main site (serif body, mono labels, GoodHand), warmed to the
   channel's brand: cream paper, black ink, pink doodles. */

@font-face {
  font-family: 'GoodHand';
  src: url('../assets/fonts/GoodHandFont-Regular.ttf') format('truetype');
  font-display: swap;
}

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

:root {
  --cream: #ffebd2;
  --paper: #fff6ea;
  --ink: #1e1814;
  --muted: #6f625a;
  --border: #e8cdb2;
  --pink: #db8c85;
  --rose: #a9524c;
  --serif: 'Times New Roman', Times, serif;
  --mono: 'Courier New', monospace;
  --hand: 'GoodHand', cursive;
}

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--rose); }
img { max-width: 100%; height: auto; display: block; }

/* nav — matches the rest of the site */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: var(--cream); border-bottom: 1px solid var(--border); padding: 1.1rem 2.5rem; display: flex; justify-content: space-between; align-items: center; }
nav .logo img { height: 34px; width: auto; }
nav ul { list-style: none; display: flex; gap: 2.2rem; }
nav ul a { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-decoration: none; transition: color 0.2s; }
nav ul a:hover, nav ul a[aria-current] { color: var(--ink); }

main { padding-top: 76px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 1.5rem; }
.narrow { max-width: 720px; margin: 0 auto; padding: 0 1.5rem; }

.label { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); margin-bottom: 0.6rem; }
.hand { font-family: var(--hand); font-weight: normal; }
h1, h2, h3 { font-weight: normal; line-height: 1.15; }
h2.hand { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.8rem; }

section { padding: 4.5rem 0; }
section + section { border-top: 1px dashed var(--border); }

/* buttons */
.btn { display: inline-block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cream); background: var(--ink); padding: 0.8rem 1.5rem; border: 1.5px solid var(--ink); border-radius: 999px; text-decoration: none; cursor: pointer; transition: background 0.2s, color 0.2s, transform 0.15s; }
.btn:hover { background: transparent; color: var(--ink); }
.btn:active { transform: translateY(1px); }
.btn-outline { background: transparent; color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn[disabled] { opacity: 0.55; cursor: wait; }

/* hero */
.hero { padding: 1.5rem 0 3.5rem; text-align: center; border: 0; }
.hero-banner { width: 100%; max-width: 820px; margin: 0 auto; }
.hero h1 { font-family: var(--hand); font-size: clamp(3rem, 9vw, 5.4rem); margin-top: 0.4rem; }
.hero .promise { font-size: clamp(1.15rem, 2.6vw, 1.45rem); max-width: 640px; margin: 0.6rem auto 1.8rem; }
.hero .promise em { color: var(--rose); }
.cta-row { display: flex; gap: 0.9rem; justify-content: center; flex-wrap: wrap; }
.text-link { align-self: center; font-family: var(--serif); font-size: 1.05rem; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; padding: 0 0.4rem; }
.text-link:hover { color: var(--rose); }

/* offers */
.offers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2rem; }
.offer { background: var(--paper); border-radius: 22px; padding: 1.6rem 1.4rem; }
.offer-icon { width: 96px; height: 96px; margin: -0.4rem 0 0.5rem -0.5rem; }
.offer h3 { font-family: var(--hand); font-size: 1.7rem; margin-bottom: 0.4rem; }
.offer p { font-size: 1rem; color: var(--muted); }

/* forms */
.form-card { background: var(--paper); border: 1.5px solid var(--ink); border-radius: 26px; padding: 2rem; margin-top: 1.8rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.fields .full { grid-column: 1 / -1; }
label { display: block; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.3rem; }
label .opt { text-transform: none; letter-spacing: 0; font-style: italic; }
input, select, textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid var(--border); border-radius: 12px; padding: 0.7rem 0.85rem; transition: border-color 0.2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: center; font-size: 0.98rem; color: var(--muted); margin: 1.1rem 0 1.3rem; text-transform: none; letter-spacing: 0; font-family: var(--serif); }
.check input { width: auto; accent-color: var(--rose); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 0.95rem; color: var(--muted); margin-top: 1rem; }
.form-msg { margin-top: 1rem; font-size: 1rem; min-height: 1.4em; }
.form-msg.err { color: var(--rose); }
.done { text-align: center; padding: 1.5rem 0.5rem; }
.done .hand { font-size: 2.4rem; display: block; margin-bottom: 0.3rem; }

/* articles */
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.4rem; margin-top: 2rem; }
.article-card { display: block; text-decoration: none; color: var(--ink); background: var(--paper); border: 1.5px solid var(--ink); border-radius: 22px; overflow: hidden; transition: transform 0.2s, box-shadow 0.2s; }
.article-card:hover { transform: translateY(-3px) rotate(-0.4deg); box-shadow: 6px 6px 0 var(--pink); }
.article-card img { aspect-ratio: 900 / 833; object-fit: cover; width: 100%; border-bottom: 1.5px solid var(--ink); }
.article-card .body { padding: 1.1rem 1.3rem 1.3rem; }
.article-card h3 { font-family: var(--hand); font-size: 1.6rem; margin-bottom: 0.3rem; }
.article-card p { font-size: 0.98rem; color: var(--muted); }
.article-card .meta { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); margin-top: 0.6rem; }
.soon { border: 1.5px dashed var(--border); border-radius: 22px; padding: 1.4rem; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); font-style: italic; min-height: 180px; }

/* opt-in */
.optin { text-align: center; }
.optin .row { display: flex; gap: 0.7rem; max-width: 560px; margin: 1.5rem auto 0; }
.optin .row input { flex: 1; }

/* article page */
.article-head { text-align: center; padding: 2.5rem 0 1rem; }
.article-head h1 { font-family: var(--hand); font-size: clamp(2.4rem, 7vw, 4rem); }
.article-head .dek { font-size: 1.25rem; color: var(--muted); margin-top: 0.6rem; }
.byline { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-top: 1rem; }
.prose p { margin-bottom: 1.15rem; }
.prose h2 { font-family: var(--hand); font-size: 2.2rem; margin: 2.4rem 0 0.8rem; }
.prose ul, .prose ol { margin: 0 0 1.2rem 1.3rem; }
.prose li { margin-bottom: 0.4rem; }
.hero-img { max-width: 560px; margin: 1.5rem auto 2rem; border: 1.5px solid var(--ink); border-radius: 24px; overflow: hidden; }
.rule { display: grid; grid-template-columns: 260px 1fr; gap: 1.8rem; align-items: start; padding: 2rem 0; border-top: 1px dashed var(--border); }
.rule img { border: 1.5px solid var(--ink); border-radius: 20px; }
.rule h2 { margin-top: 0; }
.rule .num { color: var(--pink); }
.rule .plain { font-size: 1.2rem; font-style: italic; margin-bottom: 0.8rem; }
.rule .try { background: var(--paper); border-left: 4px solid var(--pink); border-radius: 0 12px 12px 0; padding: 0.7rem 1rem; font-size: 1rem; }
.rule .try b { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--rose); font-weight: normal; display: block; }
.watch { text-align: center; margin: 2.2rem 0 1rem; }
.watch h2 { font-size: 2.2rem; margin-bottom: 1rem; }
.short-frame { width: 100%; max-width: 330px; aspect-ratio: 9 / 16; margin: 0 auto; border: 1.5px solid var(--ink); border-radius: 24px; overflow: hidden; background: var(--paper); }
.short-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.watch-link { font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 0.9rem; }
.sources { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px dashed var(--border); }
.sources ol { font-size: 0.98rem; }
.sources li { margin-bottom: 0.6rem; }
.sources .credit { font-size: 0.95rem; color: var(--muted); font-style: italic; }
.crumbs { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }

footer { text-align: center; padding: 3rem 1rem 3.5rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); border-top: 1px dashed var(--border); }
footer img { height: 40px; margin: 0.8rem auto; opacity: 0.8; }

@media (max-width: 760px) {
  body { font-size: 18px; }
  nav { padding: 0.9rem 1rem; }
  nav ul { gap: 1rem; }
  nav ul a { font-size: 0.66rem; letter-spacing: 0.08em; }
  .wrap, .narrow { padding: 0 1rem; }
  section { padding: 3.2rem 0; }
  .offers { grid-template-columns: 1fr; }
  .fields { grid-template-columns: 1fr; }
  .form-card { padding: 1.4rem 1.1rem; }
  .optin .row { flex-direction: column; }
  .rule { grid-template-columns: 1fr; gap: 1rem; }
  .rule img { max-width: 300px; }
}
