﻿/* ============================================================
   1. RESET & TOKENS
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root{
  --paper:        #FAF6EF;
  --paper-2:      #F4EDE1;
  --paper-3:      #EDE3D2;
  --ink:          #1B2A3B;
  --ink-2:        #34495E;
  --ink-3:        #5C6E7F;
  --gold:         #B8893B;
  --gold-2:       #DDB96B;
  --gold-soft:    #F6EBD3;
  --rose:         #C96A5A;
  --rose-soft:    #F8E4DE;
  --sage:         #6E9471;
  --sage-soft:    #E4EEE3;
  --line:         rgba(27,42,59,.10);
  --line-2:       rgba(27,42,59,.055);
  --white:        #ffffff;

  --shadow-xs: 0 1px 3px rgba(27,42,59,.06);
  --shadow-sm: 0 4px 14px rgba(27,42,59,.07);
  --shadow-md: 0 12px 34px rgba(27,42,59,.10);
  --shadow-lg: 0 24px 70px rgba(27,42,59,.16);

  --r-sm: 12px;
  --r:    20px;
  --r-lg: 30px;
  --maxw: 1180px;

  --ff-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --ff-script: 'Great Vibes', 'Segoe Script', cursive;
  --ff-sans:   'Nunito Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --ease: cubic-bezier(.22,.61,.36,1);
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body{
  font-family: var(--ff-sans);
  color: var(--ink-2);
  background: var(--paper);
  line-height: 1.7;
  font-size: 17px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; }

::selection { background: var(--gold-2); color: var(--ink); }

.skip-link{
  position: absolute; top: -60px; left: 16px; z-index: 999;
  background: var(--ink); color: var(--paper); padding: 12px 20px;
  border-radius: 0 0 12px 12px; font-weight: 700; transition: top .25s;
}
.skip-link:focus { top: 0; }

:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============================================================
   2. TYPOGRAPHY HELPERS
============================================================ */
h1, h2, h3, h4{
  font-family: var(--ff-serif);
  color: var(--ink);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: -.015em;
}
h1 { font-size: clamp(2.5rem, 5.2vw, 4.1rem); }
h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
h3 { font-size: clamp(1.15rem, 1.8vw, 1.45rem); }
p  { color: var(--ink-2); }

.script { font-family: var(--ff-script); font-weight: 400; }

/* ============================================================
   3. LAYOUT UTILITIES
============================================================ */
.container{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 24px; }
.section{ padding: clamp(64px, 9vw, 110px) 0; position: relative; }
.section-head{ max-width: 720px; margin: 0 auto clamp(38px, 5vw, 60px); text-align: center; }
.section-head p{ margin-top: 14px; font-size: 1.06rem; color: var(--ink-3); }
.eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-sans); font-size: .78rem; font-weight: 800;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 14px;
}
.eyebrow::before{ content:""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

/* Ruled paper background */
.paper-lines{
  background-image:
    linear-gradient(to bottom, transparent 39px, var(--line-2) 39px, var(--line-2) 40px);
  background-size: 100% 40px;
}

/* ============================================================
   4. BUTTONS & CHIPS
============================================================ */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; border-radius: 999px;
  font-weight: 800; font-size: .97rem; letter-spacing: .01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg{ width: 18px; height: 18px; flex-shrink: 0; }
.btn-primary{
  background: var(--ink); color: var(--paper);
  box-shadow: 0 8px 22px rgba(27,42,59,.22);
}
.btn-primary:hover{ background: #0F1B28; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(27,42,59,.3); }
.btn-gold{
  background: linear-gradient(135deg, var(--gold-2), var(--gold));
  color: #2A1F08; box-shadow: 0 8px 22px rgba(184,137,59,.35);
}
.btn-gold:hover{ transform: translateY(-3px); box-shadow: 0 14px 34px rgba(184,137,59,.45); }
.btn-ghost{
  background: transparent; color: var(--ink);
  border: 2px solid var(--line);
}
.btn-ghost:hover{ border-color: var(--ink); background: var(--white); transform: translateY(-3px); }
.btn-sm{ padding: 11px 22px; font-size: .88rem; }

/* ============================================================
   5. HEADER / NAV
============================================================ */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,246,239,.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled{
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(27,42,59,.06);
  background: rgba(250,246,239,.94);
}
.nav-wrap{
  display: flex; align-items: center; justify-content: space-between;
  height: 76px; gap: 24px;
}
.logo{ display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.logo-mark{
  width: 46px; height: 46px; border-radius: 14px;
  background: linear-gradient(145deg, var(--ink), #2E4257);
  display: grid; place-items: center;
  font-family: var(--ff-script); font-size: 2rem; color: var(--gold-2);
  box-shadow: 0 6px 16px rgba(27,42,59,.25), inset 0 1px 0 rgba(255,255,255,.12);
  padding-top: 6px;
}
.logo-text{ display: flex; flex-direction: column; line-height: 1; }
.logo-text strong{ font-family: var(--ff-serif); font-size: 1.15rem; color: var(--ink); letter-spacing: -.01em; }
.logo-text span{ font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 800; margin-top: 4px; }

.nav-links{ display: flex; align-items: center; gap: 4px; }
.nav-links a{
  padding: 9px 14px; border-radius: 10px; font-size: .92rem; font-weight: 700;
  color: var(--ink-2); transition: color .2s, background .2s;
}
.nav-links a:hover, .nav-links a.active{ color: var(--ink); background: var(--paper-3); }

.nav-actions{ display: flex; align-items: center; gap: 12px; }

.hamburger{
  display: none; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--white);
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
}
.hamburger span{ display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .3s; }
.hamburger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2){ opacity: 0; }
.hamburger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu{
  position: fixed; inset: 76px 0 auto 0; z-index: 99;
  background: var(--paper); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  max-height: 0; overflow: hidden; transition: max-height .45s var(--ease);
}
.mobile-menu.open{ max-height: 560px; }
.mobile-menu-inner{ padding: 22px 24px 30px; display: flex; flex-direction: column; gap: 6px; }
.mobile-menu a{
  padding: 14px 16px; border-radius: 12px; font-weight: 700; color: var(--ink-2);
  display: flex; justify-content: space-between; align-items: center;
  transition: background .2s;
}
.mobile-menu a:hover{ background: var(--paper-3); }
.mobile-menu .btn{ margin-top: 12px; width: 100%; }

/* ============================================================
   6. HERO
============================================================ */
.hero{
  position: relative; overflow: hidden;
  padding: clamp(48px, 7vw, 90px) 0 clamp(64px, 8vw, 100px);
}
.hero::before{
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to bottom, transparent 47px, var(--line-2) 47px, var(--line-2) 48px);
  background-size: 100% 48px;
  pointer-events: none;
  mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 60%, transparent 100%);
}
.hero::after{
  content: ""; position: absolute; top: -180px; right: -140px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(221,185,107,.28), transparent 65%);
  border-radius: 50%; pointer-events: none; filter: blur(10px);
}
.hero-grid{
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(30px, 5vw, 70px);
  align-items: center;
}
.hero-copy h1{ margin-bottom: 18px; }
.hero-copy h1 .h1-top{
  display: block;
  background: linear-gradient(135deg, var(--ink) 30%, #45607A 70%, var(--gold));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-copy h1 .h1-top .script{
  font-size: 1.15em; color: var(--gold); -webkit-text-fill-color: var(--gold);
  display: inline-block; transform: translateY(.06em);
  text-shadow: 0 2px 0 rgba(184,137,59,.15);
}
.hero-copy h1 .h1-sub{
  display: block; font-family: var(--ff-sans); font-size: clamp(.95rem, 1.5vw, 1.1rem);
  font-weight: 700; color: var(--ink-3); letter-spacing: .01em; margin-top: 16px; line-height: 1.5;
}
.hero-copy > p{ font-size: 1.08rem; max-width: 520px; margin-bottom: 30px; }
.hero-ctas{ display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.trust-row{ display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.trust-item{ display: flex; align-items: center; gap: 8px; font-size: .86rem; font-weight: 700; color: var(--ink-3); }
.trust-item svg{ width: 18px; height: 18px; color: var(--sage); flex-shrink: 0; }

/* Hero visual â€” practice card */
.hero-visual{ position: relative; display: flex; justify-content: center; }
.practice-card{
  position: relative; width: 100%; max-width: 440px;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: 34px 30px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  transform: rotate(-1.4deg);
  transition: transform .5s var(--ease);
}
.practice-card:hover{ transform: rotate(0deg) translateY(-4px); }
.practice-card .card-label{
  display: inline-block; font-size: .68rem; font-weight: 800; letter-spacing: .2em;
  text-transform: uppercase; color: var(--gold);
  background: var(--gold-soft); padding: 6px 12px; border-radius: 999px;
  margin-bottom: 26px;
}
.practice-lines{ position: relative; height: 210px; border-radius: 10px; }
.practice-lines::before{
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to bottom, transparent 51px, var(--line) 51px, var(--line) 52px);
  background-size: 100% 52px;
  border-radius: 10px;
}
.practice-lines .big-letter{
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--ff-script); font-size: clamp(8rem, 14vw, 11rem);
  line-height: 1; color: var(--ink); padding-bottom: 20px;
  text-shadow: 0 3px 0 rgba(27,42,59,.06);
}
.practice-lines .guide{
  position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, var(--rose) 0%, transparent 22%);
}
.practice-lines .guide.top{ top: 20%; }
.practice-lines .guide.mid{ top: 46%; background: linear-gradient(90deg, var(--sage) 0%, transparent 22%); }
.practice-lines .guide.base{ top: 72%; background: linear-gradient(90deg, var(--ink-3) 0%, transparent 22%); }

.stroke-badges{ display: flex; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.stroke-badges span{
  font-size: .74rem; font-weight: 800; color: var(--ink-2);
  background: var(--paper-2); padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--line);
}

.float-badge{
  position: absolute; z-index: 3;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; padding: 12px 18px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 800; color: var(--ink);
  animation: floaty 5s ease-in-out infinite;
}
.float-badge .ico{ width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.float-badge small{ display: block; font-weight: 700; font-size: .68rem; color: var(--ink-3); letter-spacing: .04em; }
.fb-1{ top: 6%; left: -6%; }
.fb-1 .ico{ background: var(--gold-soft); color: var(--gold); }
.fb-2{ bottom: 10%; right: -8%; animation-delay: -2.4s; }
.fb-2 .ico{ background: var(--sage-soft); color: var(--sage); }
.fb-3{ bottom: -3%; left: 6%; animation-delay: -1.2s; }
.fb-3 .ico{ background: var(--rose-soft); color: var(--rose); }
@keyframes floaty{ 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-9px); } }

/* ============================================================
   7. QUICK ANSWER
============================================================ */
.quick-answer-wrap{ position: relative; z-index: 3; margin-top: -34px; }
.quick-answer{
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 6px solid var(--gold);
  border-radius: var(--r);
  padding: clamp(24px, 3.4vw, 38px);
  box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: auto 1fr; gap: 22px;
}
.qa-icon{
  width: 54px; height: 54px; border-radius: 16px; flex-shrink: 0;
  background: linear-gradient(145deg, var(--gold-soft), #FBF3E1);
  display: grid; place-items: center; color: var(--gold);
}
.qa-icon svg{ width: 26px; height: 26px; }
.qa-body h2{ font-size: clamp(1.15rem, 2vw, 1.4rem); margin-bottom: 8px; }
.qa-body p{ font-size: 1.02rem; }
.qa-body strong{ color: var(--ink); }

/* ============================================================
   8. CONTENT BLOCKS
============================================================ */
.two-col{ display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.prose p + p{ margin-top: 16px; }
.prose h2{ margin-bottom: 20px; }
.prose .lead{ font-size: 1.12rem; color: var(--ink-2); }

/* Letter preview card */
.letter-card{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  padding: 26px; box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  height: 100%; display: flex; flex-direction: column;
}
.letter-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.letter-card .lc-head{ display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 18px; }
.letter-card .lc-tag{
  font-size: .68rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold); background: var(--gold-soft); padding: 5px 11px; border-radius: 999px;
}
.letter-card .lc-tag.rose{ color: var(--rose); background: var(--rose-soft); }
.letter-preview{
  height: 130px; display: grid; place-items: center; margin-bottom: 18px;
  background-image: linear-gradient(to bottom, transparent 64px, var(--line-2) 64px, var(--line-2) 65px);
  background-size: 100% 65px;
  border-radius: 10px;
}
.letter-preview .glyph{
  font-family: var(--ff-script); font-size: 6rem; line-height: 1;
  color: var(--ink); padding-bottom: 12px;
}
.letter-card h3{ margin-bottom: 8px; }
.letter-card p{ font-size: .95rem; color: var(--ink-3); margin-bottom: 18px; flex-grow: 1; }
.card-link{
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: .9rem; color: var(--ink);
  border-bottom: 2px solid var(--gold-2); padding-bottom: 2px;
  align-self: flex-start; transition: gap .25s, color .25s;
}
.card-link:hover{ gap: 14px; color: var(--gold); }
.card-link svg{ width: 15px; height: 15px; }

/* ============================================================
   9. HOW TO WRITE / STEPS
============================================================ */
.steps-grid{ display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: start; }
.steps{ display: flex; flex-direction: column; gap: 18px; }
.step{
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 22px 24px;
  box-shadow: var(--shadow-xs);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.step:hover{ transform: translateX(6px); box-shadow: var(--shadow-sm); border-color: var(--gold-2); }
.step-num{
  flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--ff-serif); font-weight: 800; font-size: 1.15rem;
  background: var(--ink); color: var(--gold-2);
  box-shadow: 0 6px 16px rgba(27,42,59,.2);
}
.step h4{ font-family: var(--ff-sans); font-size: 1rem; font-weight: 800; margin-bottom: 4px; color: var(--ink); }
.step p{ font-size: .93rem; color: var(--ink-3); }

/* Video card */
.video-card{
  background: var(--ink); border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-lg); position: relative;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(221,185,107,.22), transparent 55%),
    radial-gradient(circle at 80% 80%, rgba(201,106,90,.18), transparent 55%);
}
.video-card .play-btn{
  width: 84px; height: 84px; border-radius: 50%;
  background: var(--gold-2); color: var(--ink);
  display: grid; place-items: center;
  box-shadow: 0 0 0 14px rgba(221,185,107,.18), 0 14px 40px rgba(0,0,0,.3);
  transition: transform .3s var(--ease), box-shadow .3s;
  animation: pulse 2.8s ease-in-out infinite;
}
.video-card .play-btn:hover{ transform: scale(1.08); }
.video-card .play-btn svg{ width: 30px; height: 30px; margin-left: 4px; }
@keyframes pulse{
  0%,100%{ box-shadow: 0 0 0 14px rgba(221,185,107,.18), 0 14px 40px rgba(0,0,0,.3); }
  50%{ box-shadow: 0 0 0 22px rgba(221,185,107,.06), 0 14px 40px rgba(0,0,0,.3); }
}
.video-caption{
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 22px 24px;
  background: linear-gradient(to top, rgba(15,27,40,.85), transparent);
  color: var(--paper); font-weight: 700; font-size: .88rem;
  display: flex; align-items: center; gap: 10px;
}
.video-caption .dot{ width: 8px; height: 8px; border-radius: 50%; background: var(--rose); }

/* ============================================================
   10. WORKSHEET
============================================================ */
.worksheet-section{ background: var(--paper-2); position: relative; overflow: hidden; }
.worksheet-card{
  background: var(--white); border-radius: var(--r-lg); padding: clamp(26px, 4vw, 48px);
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(26px, 4vw, 52px); align-items: center;
}
.worksheet-preview{
  background: #FFFDF8; border: 1px solid var(--line);
  border-radius: 12px; padding: 22px 18px;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.6);
  position: relative;
}
.worksheet-preview::before{
  content: ""; position: absolute; top: 0; bottom: 0; left: 34px;
  width: 2px; background: rgba(201,106,90,.35);
}
.wp-row{ display: flex; align-items: center; gap: 12px; height: 58px; }
.wp-row + .wp-row{ border-top: 1px dashed rgba(27,42,59,.14); }
.wp-row .sample{
  font-family: var(--ff-script); font-size: 2.3rem; line-height: 1;
  color: rgba(27,42,59,.85); width: 46px; text-align: center;
}
.wp-row .trace{
  flex: 1; height: 40px;
  background-image:
    linear-gradient(to bottom, transparent 19px, rgba(27,42,59,.09) 19px, rgba(27,42,59,.09) 20px);
  background-size: 100% 20px;
  position: relative;
}
.wp-row .trace::before{
  content: "r  r  r  r  r  r  r";
  font-family: var(--ff-script); font-size: 1.6rem; color: rgba(27,42,59,.14);
  position: absolute; left: 4px; top: -6px; letter-spacing: 6px;
}
.wp-row.cap .trace::before{ content: "R  R  R  R  R"; }
.wp-row.wrd .trace::before{ content: "rain  run  red"; letter-spacing: 10px; }

.worksheet-info h2{ margin-bottom: 14px; }
.worksheet-info > p{ margin-bottom: 24px; }
.ws-features{ display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.ws-features li{ display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: .94rem; color: var(--ink-2); }
.ws-features .check{
  width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0;
  background: var(--sage-soft); color: var(--sage);
  display: grid; place-items: center;
}
.ws-features .check svg{ width: 13px; height: 13px; }

/* ============================================================
   11. FANCY GALLERY
============================================================ */
.gallery-grid{
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.gallery-item{
  background: var(--white); border: 1px solid var(--line); border-radius: var(--r);
  height: 160px; display: grid; place-items: center; position: relative;
  overflow: hidden; box-shadow: var(--shadow-xs);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery-item:hover{ transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-md); }
.gallery-item .gi-letter{
  font-family: var(--ff-script); font-size: 4.6rem; line-height: 1; padding-bottom: 10px;
}
.gallery-item .gi-tag{
  position: absolute; bottom: 12px; font-size: .66rem; font-weight: 800;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3);
}
.g1 .gi-letter{ color: var(--ink); }
.g2 .gi-letter{ background: linear-gradient(135deg, #E7C87B, #B8893B 60%, #8A6522); -webkit-background-clip: text; background-clip: text; color: transparent; }
.g3 .gi-letter{ color: var(--rose); }
.g4 .gi-letter{ color: var(--sage); }
.g5 .gi-letter{ color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.g6 .gi-letter{ color: #9FB4C9; text-shadow: 3px 4px 0 rgba(27,42,59,.14); }

/* ============================================================
   12. COPY-PASTE TOOL
============================================================ */
.font-section{ background: var(--ink); color: var(--paper); position: relative; overflow: hidden; }
.font-section::before{
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 15% 15%, rgba(221,185,107,.14), transparent 45%),
    radial-gradient(circle at 85% 85%, rgba(201,106,90,.12), transparent 45%);
}
.font-section .container{ position: relative; z-index: 2; }
.font-section h2, .font-section h3{ color: var(--paper); }
.font-section .eyebrow{ color: var(--gold-2); }
.font-section .eyebrow::before{ background: var(--gold-2); }
.font-section .section-head p{ color: rgba(250,246,239,.72); }

.copy-grid{
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px;
  margin-bottom: 30px;
}
.copy-tile{
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px; padding: 16px 12px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  cursor: pointer; transition: background .25s, transform .25s var(--ease), border-color .25s;
  position: relative;
}
.copy-tile:hover{ background: rgba(255,255,255,.1); transform: translateY(-4px); border-color: rgba(221,185,107,.5); }
.copy-tile .char{
  font-size: 2.4rem; line-height: 1; color: var(--gold-2);
  min-height: 42px; display: grid; place-items: center;
}
.copy-tile .lbl{ font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(250,246,239,.55); text-align: center; }
.copy-tile .copy-ico{
  position: absolute; top: 10px; right: 10px; width: 22px; height: 22px;
  border-radius: 6px; background: rgba(255,255,255,.08); color: rgba(250,246,239,.6);
  display: grid; place-items: center; opacity: 0; transition: opacity .25s;
}
.copy-tile:hover .copy-ico{ opacity: 1; }
.copy-tile .copy-ico svg{ width: 11px; height: 11px; }
.copy-tile.copied{ border-color: var(--sage); background: rgba(110,148,113,.18); }
.copy-tile.copied .copy-ico{ opacity: 1; background: var(--sage); color: #fff; }

.font-note{
  text-align: center; font-size: .88rem; color: rgba(250,246,239,.6);
}
.font-note a{ color: var(--gold-2); border-bottom: 1px solid rgba(221,185,107,.4); font-weight: 700; }

/* ============================================================
   13. SEARCH VARIANTS (CHIPS)
============================================================ */
.chips{ display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip{
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1px solid var(--line);
  border-radius: 999px; padding: 11px 20px;
  font-weight: 700; font-size: .9rem; color: var(--ink-2);
  transition: border-color .25s, color .25s, transform .25s, box-shadow .25s;
}
.chip:hover{ border-color: var(--gold); color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.chip .script{ font-family: var(--ff-script); font-size: 1.3rem; color: var(--gold); }

/* ============================================================
   14. STYLES CARDS
============================================================ */
.styles-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.style-card{
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--r); padding: 30px 26px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.style-card::before{
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.style-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-2); }
.style-card:hover::before{ transform: scaleX(1); }
.style-card .sc-letter{
  font-family: var(--ff-script); font-size: 4rem; line-height: 1; color: var(--ink);
  margin-bottom: 16px; padding-bottom: 8px;
}
.style-card h3{ margin-bottom: 8px; }
.style-card p{ font-size: .93rem; color: var(--ink-3); }

/* ============================================================
   15. FAQ
============================================================ */
.faq-wrap{ max-width: 860px; margin-inline: auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item{
  background: var(--white); border: 1px solid var(--line);
  border-radius: 16px; overflow: hidden;
  transition: border-color .3s, box-shadow .3s;
}
.faq-item.open{ border-color: var(--gold-2); box-shadow: var(--shadow-sm); }
.faq-q{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 24px; text-align: left;
  font-family: var(--ff-sans); font-weight: 800; font-size: 1rem; color: var(--ink);
}
.faq-q .plus{
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%;
  background: var(--paper-2); color: var(--ink);
  display: grid; place-items: center; position: relative;
  transition: background .3s, transform .3s var(--ease);
}
.faq-item.open .faq-q .plus{ background: var(--gold); transform: rotate(135deg); }
.faq-q .plus::before, .faq-q .plus::after{
  content: ""; position: absolute; background: currentColor; border-radius: 2px;
}
.faq-q .plus::before{ width: 12px; height: 2px; }
.faq-q .plus::after{ width: 2px; height: 12px; }
.faq-a{ max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a-inner{ padding: 0 24px 22px; font-size: .96rem; color: var(--ink-3); }
.faq-a-inner a{ color: var(--gold); font-weight: 700; border-bottom: 1px solid var(--gold-2); }

/* ============================================================
   16. RELATED LETTERS
============================================================ */
.letters-grid{
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
  max-width: 760px; margin-inline: auto;
}
.letter-tile{
  aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--line);
  background: var(--white); display: grid; place-items: center;
  font-family: var(--ff-script); font-size: 1.8rem; color: var(--ink-2);
  transition: transform .3s var(--ease), border-color .3s, color .3s, background .3s;
}
.letter-tile:hover{ transform: translateY(-4px); border-color: var(--gold); color: var(--gold); }
.letter-tile.current{
  background: var(--ink); color: var(--gold-2); border-color: var(--ink);
  box-shadow: var(--shadow-md); transform: scale(1.06);
}
.letter-tile.current:hover{ transform: scale(1.06); }

/* ============================================================
   17. NEWSLETTER CTA
============================================================ */
.newsletter{
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--ink) 0%, #24384D 60%, #2E4A63 100%);
  border-radius: var(--r-lg); padding: clamp(40px, 6vw, 70px);
  text-align: center; color: var(--paper);
  box-shadow: var(--shadow-lg);
}
.newsletter::before{
  content: ""; position: absolute; top: -120px; right: -80px; width: 380px; height: 380px;
  border-radius: 50%; background: radial-gradient(circle, rgba(221,185,107,.3), transparent 65%);
}
.newsletter > *{ position: relative; z-index: 2; }
.newsletter h2{ color: var(--paper); margin-bottom: 12px; }
.newsletter p{ color: rgba(250,246,239,.78); max-width: 540px; margin: 0 auto 30px; }
.newsletter-form{
  display: flex; gap: 10px; max-width: 520px; margin: 0 auto;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px; padding: 7px;
  backdrop-filter: blur(8px);
}
.newsletter-form input{
  flex: 1; background: transparent; border: 0; outline: none;
  padding: 0 22px; color: var(--paper); font-size: .95rem; font-weight: 600;
}
.newsletter-form input::placeholder{ color: rgba(250,246,239,.5); }
.newsletter-form button{ flex-shrink: 0; }
.newsletter .fine{ font-size: .78rem; color: rgba(250,246,239,.5); margin-top: 16px; margin-bottom: 0; }

/* ============================================================
   18. FOOTER
============================================================ */
.site-footer{ background: var(--paper-3); padding: 70px 0 30px; margin-top: 0; border-top: 1px solid var(--line); }
.footer-grid{
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 46px; border-bottom: 1px solid var(--line);
}
.footer-brand p{ font-size: .92rem; color: var(--ink-3); margin: 18px 0 22px; max-width: 300px; }
.socials{ display: flex; gap: 10px; }
.socials a{
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink-2);
  transition: transform .25s, background .25s, color .25s;
}
.socials a:hover{ transform: translateY(-3px); background: var(--ink); color: var(--gold-2); }
.socials svg{ width: 18px; height: 18px; }

.footer-col h4{
  font-family: var(--ff-sans); font-size: .78rem; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin-bottom: 18px;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 11px; }
.footer-col a{ font-size: .92rem; color: var(--ink-3); transition: color .2s, padding-left .2s; }
.footer-col a:hover{ color: var(--gold); padding-left: 4px; }

.footer-bottom{
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center;
  gap: 14px; padding-top: 26px; font-size: .85rem; color: var(--ink-3);
}
.footer-bottom .made{ display: flex; align-items: center; gap: 6px; }

/* ============================================================
   19. BACK TO TOP + TOAST
============================================================ */
.back-to-top{
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: var(--gold-2);
  display: grid; place-items: center; box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: all .35s var(--ease);
}
.back-to-top.show{ opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover{ transform: translateY(-4px); background: #0F1B28; }
.back-to-top svg{ width: 20px; height: 20px; }

.toast{
  position: fixed; bottom: 30px; left: 50%; transform: translate(-50%, 130%);
  background: var(--ink); color: var(--paper);
  padding: 14px 26px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 10px; z-index: 200;
  transition: transform .45s var(--ease);
  border: 1px solid rgba(221,185,107,.3);
}
.toast.show{ transform: translate(-50%, 0); }
.toast svg{ width: 18px; height: 18px; color: var(--gold-2); }

/* ============================================================
   20. REVEAL ANIMATION
============================================================ */
.reveal{ opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity: 1; transform: none; }
.reveal.d1{ transition-delay: .08s; }
.reveal.d2{ transition-delay: .16s; }
.reveal.d3{ transition-delay: .24s; }

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

/* ============================================================
   21. RESPONSIVE
============================================================ */
@media (max-width: 1024px){
  .hero-grid{ grid-template-columns: 1fr; text-align: center; }
  .hero-copy > p{ margin-inline: auto; }
  .hero-ctas, .trust-row{ justify-content: center; }
  .hero-visual{ margin-top: 30px; }
  .two-col, .steps-grid, .worksheet-card{ grid-template-columns: 1fr; }
  .styles-grid{ grid-template-columns: 1fr 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .nav-links{ display: none; }
  .hamburger{ display: flex; }
  .nav-actions .btn-ghost{ display: none; }
}
@media (max-width: 720px){
  body{ font-size: 16px; }
  .container{ padding-inline: 18px; }
  .gallery-grid{ grid-template-columns: 1fr 1fr; }
  .styles-grid{ grid-template-columns: 1fr; }
  .letters-grid{ grid-template-columns: repeat(6, 1fr); }
  .quick-answer{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr; gap: 30px; }
  .footer-brand p{ max-width: 100%; }
  .float-badge{ display: none; }
  .nav-actions .btn{ display: none; }
  .newsletter-form{ flex-direction: column; border-radius: 20px; }
  .newsletter-form input{ padding: 14px 20px; text-align: center; }
  .newsletter-form button{ width: 100%; }
  .letter-tile{ font-size: 1.4rem; }
  .copy-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 420px){
  .gallery-grid{ grid-template-columns: 1fr; }
  .hero-ctas{ flex-direction: column; }
  .hero-ctas .btn{ width: 100%; }
}
