/* ============================================================
   Reverse Chapters — Premium Editorial Design System
   Brand: warm ivory paper · terracotta + ochre · espresso ink
   ============================================================ */

/* ---------- Tokens ---------- */
:root{
  /* Palette */
  --paper:        #FBF7EF;   /* page background, warm ivory */
  --paper-2:      #F4EADB;   /* deeper cream panels */
  --paper-3:      #EFE3D0;   /* card tint */
  --ink:          #2A2218;   /* espresso text */
  --ink-soft:     #6B5E50;   /* muted text */
  --ink-faint:    #9A8B79;   /* captions */
  --terracotta:   #B9652F;   /* primary accent */
  --terracotta-d: #97491D;   /* darker accent */
  --ochre:        #D8954C;   /* secondary accent */
  --gold:         #C49A4A;   /* fine detail */
  --line:         rgba(42,34,24,.14);
  --line-soft:    rgba(42,34,24,.08);
  --white:        #fff;
  --shadow-sm:    0 2px 10px rgba(60,40,20,.06);
  --shadow-md:    0 18px 50px rgba(80,50,25,.12);
  --shadow-lg:    0 30px 80px rgba(80,50,25,.16);

  /* Type */
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Layout */
  --maxw: 1200px;
  --maxw-narrow: 880px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset ---------- */
*,*::before,*::after{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
body{
  font-family:var(--sans);
  color:var(--ink);
  background:var(--paper);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:hidden;
}
img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
button{ font-family:inherit; cursor:pointer; }
ul{ list-style:none; }

/* Subtle paper grain */
body::before{
  content:""; position:fixed; inset:0; z-index:-1; pointer-events:none;
  background-image:radial-gradient(rgba(150,110,60,.05) 1px, transparent 1px);
  background-size:4px 4px; opacity:.5;
}

/* ---------- Typography ---------- */
h1,h2,h3,h4{ font-family:var(--serif); font-weight:500; line-height:1.1; color:var(--ink); letter-spacing:-.01em; }
.display{ font-size:clamp(2.6rem, 6vw, 5rem); font-weight:400; line-height:1.02; letter-spacing:-.02em; }
.display em{ font-style:italic; color:var(--terracotta); }
h2{ font-size:clamp(2rem, 4vw, 3.1rem); }
h3{ font-size:clamp(1.3rem, 2vw, 1.6rem); }
p{ color:var(--ink-soft); }
strong{ color:var(--ink); font-weight:600; }

.eyebrow{
  font-family:var(--sans); font-size:.72rem; font-weight:600;
  letter-spacing:.28em; text-transform:uppercase; color:var(--terracotta);
  display:inline-flex; align-items:center; gap:.7rem;
}
.eyebrow::before{ content:""; width:32px; height:1px; background:var(--terracotta); opacity:.6; }
.eyebrow.center::after{ content:""; width:32px; height:1px; background:var(--terracotta); opacity:.6; }
.eyebrow.center{ justify-content:center; }

.lead{ font-size:clamp(1.05rem,1.6vw,1.25rem); color:var(--ink-soft); line-height:1.7; }
.script{ font-family:var(--serif); font-style:italic; color:var(--terracotta); }

/* ---------- Layout ---------- */
.container{ max-width:var(--maxw); margin:0 auto; padding-inline:var(--gutter); }
.narrow{ max-width:var(--maxw-narrow); margin-inline:auto; }
.section{ padding-block:clamp(4rem, 9vw, 7.5rem); position:relative; }
.section--tint{ background:var(--paper-2); }
.section--ink{ background:var(--ink); color:#F2E7D6; }
.section--ink h2,.section--ink h3{ color:#FBF3E6; }
.section--ink p{ color:#cdbfae; }
.center{ text-align:center; }
.section-head{ max-width:720px; margin-bottom:clamp(2.5rem,5vw,4rem); }
.section-head.center{ margin-inline:auto; }
.section-head h2{ margin-top:1rem; }
.section-head p{ margin-top:1.1rem; font-size:1.1rem; }

.hr-fine{ height:1px; background:var(--line); border:0; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:.6rem;
  padding:1rem 2rem; font-family:var(--sans); font-weight:600; font-size:.95rem;
  letter-spacing:.02em; border-radius:50px; border:1px solid transparent;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s;
}
.btn .arr{ transition:transform .35s var(--ease); }
.btn:hover .arr{ transform:translateX(4px); }
.btn--primary{ background:var(--terracotta); color:#fff; box-shadow:0 10px 26px rgba(151,73,29,.28); }
.btn--primary:hover{ background:var(--terracotta-d); transform:translateY(-2px); box-shadow:0 16px 36px rgba(151,73,29,.34); }
.btn--ghost{ background:transparent; color:var(--ink); border-color:var(--line); }
.btn--ghost:hover{ border-color:var(--terracotta); color:var(--terracotta); }
.btn--light{ background:#fff; color:var(--terracotta); }
.btn--light:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.btn--lg{ padding:1.15rem 2.6rem; font-size:1.02rem; }
.btn--block{ width:100%; }

.link-arrow{ display:inline-flex; align-items:center; gap:.5rem; font-weight:600; color:var(--terracotta); font-size:.95rem; }
.link-arrow .arr{ transition:transform .3s var(--ease); }
.link-arrow:hover .arr{ transform:translateX(4px); }

/* ---------- Navigation ---------- */
.nav{ position:fixed; inset:0 0 auto 0; z-index:1000; transition:background .4s, box-shadow .4s, padding .4s; padding-block:1.1rem; }
.nav__inner{ max-width:var(--maxw); margin:0 auto; padding-inline:var(--gutter); display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.nav.scrolled{ background:rgba(251,247,239,.92); backdrop-filter:blur(12px); box-shadow:0 1px 0 var(--line-soft), var(--shadow-sm); padding-block:.7rem; }
.brand{ display:flex; align-items:center; gap:.7rem; }
.brand img{ width:42px; height:42px; }
.brand__text{ display:flex; flex-direction:column; line-height:1; }
.brand__name{ font-family:var(--serif); font-size:1.18rem; font-weight:600; letter-spacing:.02em; color:var(--ink); }
.brand__tag{ font-size:.6rem; letter-spacing:.22em; text-transform:uppercase; color:var(--terracotta); margin-top:3px; }
.nav__links{ display:flex; align-items:center; gap:2rem; }
.nav__links a{ font-size:.92rem; font-weight:500; color:var(--ink); position:relative; padding-block:.3rem; transition:color .25s; }
.nav__links a::after{ content:""; position:absolute; left:0; bottom:0; width:0; height:1.5px; background:var(--terracotta); transition:width .3s var(--ease); }
.nav__links a:hover, .nav__links a.active{ color:var(--terracotta); }
.nav__links a:hover::after, .nav__links a.active::after{ width:100%; }
.nav__cta{ margin-left:.5rem; }
.nav__toggle{ display:none; background:none; border:0; width:42px; height:42px; flex-direction:column; justify-content:center; gap:5px; }
.nav__toggle span{ display:block; height:2px; width:24px; background:var(--ink); margin-inline:auto; transition:transform .3s, opacity .3s; }
.nav.open .nav__toggle span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav.open .nav__toggle span:nth-child(2){ opacity:0; }
.nav.open .nav__toggle span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

@media(max-width:920px){
  .nav__toggle{ display:flex; }
  .nav__links{
    position:fixed; inset:0 0 0 auto; width:min(80vw,340px);
    background:var(--paper); flex-direction:column; align-items:flex-start;
    gap:1.4rem; padding:6rem 2rem 2rem; transform:translateX(100%);
    transition:transform .4s var(--ease); box-shadow:var(--shadow-lg); z-index:1001;
  }
  .nav.open .nav__links{ transform:translateX(0); }
  .nav__links a{ font-size:1.1rem; }
  .nav__overlay{ position:fixed; inset:0; background:rgba(20,15,10,.4); opacity:0; visibility:hidden; transition:.3s; z-index:1000; }
  .nav.open .nav__overlay{ opacity:1; visibility:visible; }
}

/* ---------- Hero ---------- */
.hero{ position:relative; min-height:100vh; display:flex; align-items:center; padding-top:7rem; padding-bottom:4rem;
  background:radial-gradient(120% 90% at 80% 0%, var(--paper-2) 0%, var(--paper) 55%); overflow:hidden; }
.hero__grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.hero__content{ max-width:620px; }
.hero .display{ margin:1.4rem 0 1.5rem; }
.hero__lead{ font-size:1.18rem; max-width:30em; }
.hero__actions{ display:flex; flex-wrap:wrap; gap:1rem; margin-top:2.2rem; align-items:center; }
.hero__proof{ display:flex; gap:2.2rem; margin-top:3rem; padding-top:2rem; border-top:1px solid var(--line); }
.hero__proof .n{ font-family:var(--serif); font-size:1.9rem; color:var(--terracotta); display:block; line-height:1; }
.hero__proof .l{ font-size:.8rem; color:var(--ink-soft); letter-spacing:.04em; margin-top:.35rem; }

/* Hero artwork — stacked book covers */
.hero__art{ position:relative; aspect-ratio:1/1; }
.hero__art .frame{ position:absolute; border-radius:8px; overflow:hidden; box-shadow:var(--shadow-lg); border:6px solid #fff; background:#fff; }
.hero__art .frame img{ width:100%; height:100%; object-fit:cover; }
.hero__art .f1{ width:62%; top:0; right:4%; z-index:3; transform:rotate(2.5deg); }
.hero__art .f2{ width:50%; bottom:2%; left:0; z-index:2; transform:rotate(-4deg); }
.hero__art .f3{ width:40%; bottom:14%; right:0; z-index:1; transform:rotate(6deg); opacity:.95; }
.hero__art .seal{ position:absolute; z-index:4; width:104px; height:104px; bottom:6%; left:30%;
  background:var(--paper); border-radius:50%; display:grid; place-items:center; box-shadow:var(--shadow-md); padding:10px; }
.hero__art .seal img{ width:100%; }
.float{ animation:float 7s ease-in-out infinite; }
.float.d1{ animation-delay:-2s; } .float.d2{ animation-delay:-4s; }
@keyframes float{ 0%,100%{ transform:translateY(0) rotate(var(--r,0)); } 50%{ transform:translateY(-14px) rotate(var(--r,0)); } }

@media(max-width:920px){
  .hero__grid{ grid-template-columns:1fr; text-align:center; }
  .hero__content{ max-width:none; }
  .eyebrow{ justify-content:center; }
  .hero__lead{ margin-inline:auto; }
  .hero__actions,.hero__proof{ justify-content:center; }
  .hero__art{ max-width:440px; margin:1rem auto 0; order:-1; }
}

/* ---------- Steps / How it works ---------- */
.steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(1.5rem,3vw,2.5rem); counter-reset:step; }
.step{ position:relative; padding-top:2.2rem; }
.step__num{ font-family:var(--serif); font-size:3.4rem; color:var(--terracotta); opacity:.32; line-height:1; }
.step h3{ margin:.8rem 0 .6rem; }
.step__line{ position:absolute; top:3.1rem; left:3.4rem; right:-1rem; height:1px; background:var(--line); }
.step:last-child .step__line{ display:none; }
@media(max-width:760px){ .steps{ grid-template-columns:1fr; gap:2rem; } .step__line{ display:none; } }

/* ---------- Feature grid ---------- */
.features{ display:grid; grid-template-columns:repeat(2,1fr); gap:1.5rem; }
.feature{ background:#fff; border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:2rem; display:flex; gap:1.2rem; transition:transform .4s var(--ease), box-shadow .4s; }
.feature:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.feature__ic{ flex:0 0 auto; width:50px; height:50px; border-radius:12px; background:var(--paper-3); color:var(--terracotta); display:grid; place-items:center; }
.feature__ic svg{ width:24px; height:24px; }
.feature h3{ font-size:1.2rem; margin-bottom:.4rem; }
.feature p{ font-size:.95rem; }
@media(max-width:680px){ .features{ grid-template-columns:1fr; } }

/* ---------- Split feature (image + text) ---------- */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:clamp(2rem,5vw,4.5rem); align-items:center; }
.split--flip .split__media{ order:2; }
.split__media{ position:relative; }
.split__media img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-md); width:100%; aspect-ratio:4/5; object-fit:cover; }
.split__media .tag{ position:absolute; bottom:-18px; left:-18px; background:var(--paper); border:1px solid var(--line); border-radius:10px; padding:.8rem 1.1rem; box-shadow:var(--shadow-sm); font-size:.8rem; }
.split__media .tag b{ display:block; font-family:var(--serif); color:var(--terracotta); font-size:1.4rem; }
@media(max-width:820px){ .split{ grid-template-columns:1fr; gap:2.5rem; } .split--flip .split__media{ order:0; } }

/* ---------- Portfolio gallery ---------- */
.gallery{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.tile{ position:relative; border-radius:var(--radius-lg); overflow:hidden; background:var(--paper-3); box-shadow:var(--shadow-sm); aspect-ratio:1/1; }
.tile img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease); }
.tile:hover img{ transform:scale(1.06); }
.tile__cap{ position:absolute; inset:auto 0 0 0; padding:1.4rem 1.2rem .9rem; color:#fff;
  background:linear-gradient(to top, rgba(30,20,12,.82), transparent); font-size:.92rem; font-weight:500;
  transform:translateY(8px); opacity:0; transition:.4s var(--ease); }
.tile:hover .tile__cap{ transform:translateY(0); opacity:1; }
.gallery--wide .tile.span2{ grid-column:span 2; aspect-ratio:auto; }
@media(max-width:820px){ .gallery{ grid-template-columns:repeat(2,1fr); } .gallery--wide .tile.span2{ grid-column:span 2; } }
@media(max-width:520px){ .gallery{ grid-template-columns:1fr; } .gallery--wide .tile.span2{ grid-column:auto; } }

/* ---------- Services ---------- */
.svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.svc{ position:relative; display:flex; flex-direction:column; background:#fff; border:1px solid var(--line-soft);
  border-radius:var(--radius-lg); padding:2.2rem; transition:transform .4s var(--ease), box-shadow .4s, border-color .4s; overflow:hidden; }
.svc::before{ content:""; position:absolute; inset:0 0 auto 0; height:3px; background:linear-gradient(90deg,var(--terracotta),var(--ochre)); transform:scaleX(0); transform-origin:left; transition:transform .45s var(--ease); }
.svc:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); border-color:transparent; }
.svc:hover::before{ transform:scaleX(1); }
.svc.featured{ background:linear-gradient(180deg,#fff,var(--paper-2)); border-color:var(--terracotta); }
.svc__badge{ position:absolute; top:1.2rem; right:1.2rem; font-size:.66rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#fff; background:var(--terracotta); padding:.3rem .7rem; border-radius:50px; }
.svc__ic{ width:54px; height:54px; border-radius:14px; background:var(--paper-3); color:var(--terracotta); display:grid; place-items:center; margin-bottom:1.2rem; }
.svc__ic svg{ width:26px; height:26px; }
.svc h3{ font-size:1.45rem; margin-bottom:.6rem; }
.svc__desc{ font-size:.95rem; margin-bottom:1.3rem; }
.svc__list{ margin-bottom:1.8rem; display:grid; gap:.6rem; }
.svc__list li{ font-size:.92rem; color:var(--ink-soft); display:flex; gap:.6rem; align-items:flex-start; }
.svc__list li svg{ flex:0 0 auto; width:18px; height:18px; color:var(--terracotta); margin-top:3px; }
.svc__foot{ margin-top:auto; }
@media(max-width:920px){ .svc-grid{ grid-template-columns:repeat(2,1fr); } }
@media(max-width:620px){ .svc-grid{ grid-template-columns:1fr; } }

/* ---------- Testimonials ---------- */
.quotes{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.quote{ background:var(--paper); border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:2.2rem; position:relative; }
.section--tint .quote{ background:#fff; }
.quote__mark{ font-family:var(--serif); font-size:4rem; line-height:.7; color:var(--terracotta); opacity:.25; }
.quote p{ font-family:var(--serif); font-style:italic; font-size:1.08rem; color:var(--ink); line-height:1.55; margin:.4rem 0 1.4rem; }
.quote__who{ display:flex; align-items:center; gap:.8rem; }
.quote__who .av{ width:42px; height:42px; border-radius:50%; background:var(--paper-3); color:var(--terracotta); display:grid; place-items:center; font-family:var(--serif); font-size:1.1rem; }
.quote__who b{ font-size:.92rem; }
.quote__who span{ display:block; font-size:.8rem; color:var(--ink-faint); }
.stars{ color:var(--ochre); letter-spacing:2px; font-size:.85rem; margin-bottom:.6rem; }
@media(max-width:920px){ .quotes{ grid-template-columns:1fr; max-width:560px; margin-inline:auto; } }

/* ---------- Featured story banner ---------- */
.story{ display:grid; grid-template-columns:.8fr 1.2fr; gap:clamp(2rem,5vw,4rem); align-items:center; }
.story__img img{ border-radius:var(--radius-lg); box-shadow:var(--shadow-md); aspect-ratio:3/4; object-fit:cover; width:100%; }
.story blockquote{ font-family:var(--serif); font-size:clamp(1.4rem,2.4vw,2rem); line-height:1.35; color:#FBF3E6; font-style:italic; }
.story cite{ display:block; margin-top:1.4rem; font-style:normal; font-family:var(--sans); font-size:.9rem; color:var(--ochre); letter-spacing:.04em; }
@media(max-width:760px){ .story{ grid-template-columns:1fr; } .story__img{ max-width:300px; } }

/* ---------- CTA band ---------- */
.cta-band{ text-align:center; background:linear-gradient(135deg,var(--terracotta),var(--ochre)); color:#fff; border-radius:var(--radius-lg); padding:clamp(2.5rem,6vw,5rem); position:relative; overflow:hidden; }
.cta-band h2{ color:#fff; }
.cta-band p{ color:rgba(255,255,255,.9); max-width:34em; margin:1rem auto 2rem; }
.cta-band::after{ content:""; position:absolute; width:340px; height:340px; border-radius:50%; border:1px solid rgba(255,255,255,.18); top:-120px; right:-80px; }
.cta-band::before{ content:""; position:absolute; width:220px; height:220px; border-radius:50%; border:1px solid rgba(255,255,255,.14); bottom:-90px; left:-50px; }

/* ---------- Forms ---------- */
.form-wrap{ background:#fff; border:1px solid var(--line-soft); border-radius:var(--radius-lg); padding:clamp(1.6rem,4vw,3rem); box-shadow:var(--shadow-sm); }
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:1.2rem 1.4rem; }
.field{ display:flex; flex-direction:column; gap:.45rem; }
.field.full{ grid-column:1 / -1; }
.field label{ font-size:.82rem; font-weight:600; letter-spacing:.02em; color:var(--ink); }
.field label .req{ color:var(--terracotta); }
.field .hint{ font-size:.76rem; color:var(--ink-faint); }
.field input, .field select, .field textarea{
  font-family:var(--sans); font-size:.98rem; color:var(--ink); background:var(--paper);
  border:1px solid var(--line); border-radius:8px; padding:.85rem 1rem; transition:border-color .25s, box-shadow .25s, background .25s; width:100%;
}
.field textarea{ resize:vertical; min-height:130px; }
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--terracotta); background:#fff; box-shadow:0 0 0 3px rgba(185,101,47,.14);
}
.field input.err, .field select.err, .field textarea.err{ border-color:#c0392b; box-shadow:0 0 0 3px rgba(192,57,43,.12); }
.field .field-error{ font-size:.76rem; color:#c0392b; display:none; }
.field .field-error.show{ display:block; }
.radio-cards{ display:grid; grid-template-columns:repeat(auto-fit,minmax(150px,1fr)); gap:.7rem; }
.radio-card{ position:relative; }
.radio-card input{ position:absolute; opacity:0; inset:0; cursor:pointer; }
.radio-card span{ display:block; text-align:center; padding:.8rem .6rem; border:1px solid var(--line); border-radius:10px; font-size:.88rem; font-weight:500; transition:.25s; background:var(--paper); }
.radio-card input:checked + span{ border-color:var(--terracotta); background:#fff; color:var(--terracotta); box-shadow:0 0 0 2px rgba(185,101,47,.18); }
.file-drop{ border:1.5px dashed var(--line); border-radius:10px; padding:1.4rem; text-align:center; background:var(--paper); transition:.25s; cursor:pointer; }
.file-drop:hover{ border-color:var(--terracotta); }
.file-drop small{ display:block; color:var(--ink-faint); margin-top:.3rem; }
.consent{ display:flex; gap:.6rem; align-items:flex-start; font-size:.85rem; color:var(--ink-soft); }
.consent input{ margin-top:.25rem; }
.form-note{ font-size:.8rem; color:var(--ink-faint); margin-top:1rem; display:flex; gap:.5rem; align-items:center; }
.hp{ position:absolute !important; left:-9999px !important; width:1px; height:1px; overflow:hidden; }
.alert{ border-radius:10px; padding:1rem 1.2rem; font-size:.92rem; margin-bottom:1.4rem; }
.alert--ok{ background:#eaf6ec; color:#236b34; border:1px solid #bfe2c6; }
.alert--err{ background:#fdecea; color:#a3392b; border:1px solid #f3c7c0; }
@media(max-width:620px){ .form-grid{ grid-template-columns:1fr; } }

/* ---------- Page hero (interior) ---------- */
.page-hero{ padding-top:9rem; padding-bottom:3rem; background:radial-gradient(100% 100% at 50% 0,var(--paper-2),var(--paper) 70%); text-align:center; }
.page-hero .display{ font-size:clamp(2.4rem,5vw,4rem); }
.page-hero p{ margin:1rem auto 0; max-width:46em; }
.breadcrumb{ font-size:.8rem; color:var(--ink-faint); margin-bottom:1rem; letter-spacing:.04em; }
.breadcrumb a:hover{ color:var(--terracotta); }

/* ---------- Footer ---------- */
.footer{ background:var(--ink); color:#cdbfae; padding-block:4rem 2rem; }
.footer__top{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:2.5rem; }
.footer__brand .brand__name{ color:#FBF3E6; }
.footer__brand p{ color:#a99a87; margin-top:1rem; max-width:30ch; font-size:.92rem; }
.footer h4{ font-family:var(--sans); font-size:.78rem; letter-spacing:.18em; text-transform:uppercase; color:var(--ochre); margin-bottom:1.1rem; }
.footer a{ color:#cdbfae; font-size:.92rem; display:inline-block; padding-block:.3rem; transition:color .25s; }
.footer a:hover{ color:#fff; }
.footer__social{ display:flex; gap:.8rem; margin-top:.6rem; }
.footer__social a{ width:40px; height:40px; border:1px solid rgba(255,255,255,.16); border-radius:50%; display:grid; place-items:center; transition:.3s; }
.footer__social a:hover{ background:var(--terracotta); border-color:var(--terracotta); transform:translateY(-2px); }
.footer__social svg{ width:18px; height:18px; }
.footer__bottom{ margin-top:3rem; padding-top:1.6rem; border-top:1px solid rgba(255,255,255,.1); display:flex; justify-content:space-between; gap:1rem; flex-wrap:wrap; font-size:.82rem; color:#8d7e6c; }
@media(max-width:820px){ .footer__top{ grid-template-columns:1fr 1fr; gap:2rem; } }
@media(max-width:480px){ .footer__top{ grid-template-columns:1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal{ opacity:0; transform:translateY(26px); 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){ *{ animation:none !important; transition:none !important; } .reveal{ opacity:1; transform:none; } html{ scroll-behavior:auto; } }

/* ---------- Utilities ---------- */
.mt-1{ margin-top:1rem; } .mt-2{ margin-top:2rem; } .mb-0{ margin-bottom:0; }
.text-center{ text-align:center; }
.badge-soft{ display:inline-block; background:var(--paper-3); color:var(--terracotta); font-size:.74rem; font-weight:600; letter-spacing:.08em; text-transform:uppercase; padding:.35rem .8rem; border-radius:50px; }
/* Accessibility skip link — off-screen until keyboard-focused (invisible to normal visitors) */
.skip-link{ position:absolute; left:-9999px; top:auto; width:1px; height:1px; overflow:hidden; }
.skip-link:focus{ left:1rem !important; top:1rem; width:auto; height:auto; overflow:visible; background:#fff; padding:.6rem 1rem; border-radius:8px; z-index:2000; box-shadow:var(--shadow-md); }

/* ============================================================
   Extended components: hero blobs, motion gallery, video,
   chatbot (Revti), portal uploads, protected viewer
   ============================================================ */

/* ---- Hero blobs + petals ---- */
.hero--art{ isolation:isolate; }
.hero__blobs{ position:absolute; inset:0; z-index:0; pointer-events:none; overflow:hidden; }
.hero__blobs .blob{ position:absolute; width:62vw; max-width:760px; opacity:.55; filter:blur(2px); }
.hero__blobs .b1{ top:-14%; right:-12%; animation:blob 22s ease-in-out infinite; }
.hero__blobs .b2{ bottom:-26%; left:-16%; width:48vw; opacity:.4; animation:blob 28s ease-in-out infinite reverse; }
@keyframes blob{ 0%,100%{ transform:translate(0,0) rotate(0) scale(1); } 33%{ transform:translate(3%,-3%) rotate(8deg) scale(1.05); } 66%{ transform:translate(-2%,2%) rotate(-6deg) scale(.97); } }
.hero__grid{ position:relative; z-index:2; }
.hero__petals{ position:absolute; inset:0; z-index:1; pointer-events:none; }
.hero__petals .petal{ position:absolute; width:18px; height:18px; background:var(--ochre); opacity:.25; border-radius:0 100% 0 100%; animation:float 9s ease-in-out infinite; }
.hero__petals .petal:nth-child(1){ top:18%; left:12%; }
.hero__petals .petal:nth-child(2){ top:30%; right:16%; background:var(--terracotta); animation-delay:-2s; }
.hero__petals .petal:nth-child(3){ bottom:24%; left:20%; animation-delay:-4s; }
.hero__petals .petal:nth-child(4){ top:60%; right:24%; background:var(--gold); animation-delay:-1s; }
.hero__petals .petal:nth-child(5){ bottom:14%; right:40%; animation-delay:-3s; }

/* ---- Motion / curved floating gallery ---- */
.orbit-sec{ overflow:hidden; }
.orbit{ position:relative; height:340px; max-width:1100px; margin:1rem auto 0; }
.orbit__item{ position:absolute; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-md); border:5px solid #fff; }
.orbit__item img{ width:100%; height:100%; object-fit:cover; }
.orbit .o1{ width:150px; height:150px; left:2%;  top:40%; --r:-6deg; transform:rotate(var(--r)); }
.orbit .o2{ width:120px; height:120px; left:20%; top:8%;  --r:5deg;  transform:rotate(var(--r)); }
.orbit .o3{ width:170px; height:170px; left:38%; top:46%; --r:-3deg; transform:rotate(var(--r)); }
.orbit .o4{ width:120px; height:120px; left:58%; top:6%;  --r:7deg;  transform:rotate(var(--r)); }
.orbit .o5{ width:150px; height:150px; left:74%; top:42%; --r:-5deg; transform:rotate(var(--r)); }
.orbit .o6{ width:120px; height:120px; right:1%; top:4%;  --r:4deg;  transform:rotate(var(--r)); }
@media(max-width:820px){ .orbit{ height:auto; display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
  .orbit__item{ position:static; width:auto !important; height:auto !important; aspect-ratio:1; transform:none !important; } }
@media(max-width:480px){ .orbit{ grid-template-columns:repeat(2,1fr); } }

/* ---- Video frame ---- */
.video-frame{ position:relative; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-md); aspect-ratio:4/5; cursor:pointer; }
.video-frame img{ width:100%; height:100%; object-fit:cover; filter:saturate(1.02); }
.video-play{ position:absolute; inset:0; margin:auto; width:78px; height:78px; border-radius:50%; border:0; background:rgba(255,255,255,.92); color:var(--terracotta); display:grid; place-items:center; box-shadow:var(--shadow-md); transition:transform .3s var(--ease); }
.video-play svg{ width:30px; height:30px; margin-left:4px; }
.video-frame:hover .video-play{ transform:scale(1.08); }
.video-cap{ position:absolute; left:14px; bottom:14px; background:rgba(30,20,12,.7); color:#fff; font-size:.78rem; padding:.3rem .7rem; border-radius:50px; }
.video-frame.playing{ cursor:default; }
.video-embed{ position:absolute; inset:0; background:#000; }
.video-embed iframe, .video-embed video{ width:100%; height:100%; border:0; display:block; object-fit:cover; }
.video-placeholder{ aspect-ratio:4/5; display:grid; place-items:center; text-align:center; padding:2rem; background:var(--paper-2); color:var(--ink-soft); border-radius:var(--radius-lg); }
.revti{ background:radial-gradient(80% 100% at 100% 0,var(--paper-2),var(--paper)); }

/* ---- Chatbot (Revti) ---- */
.rc-chat{ position:fixed; right:clamp(1rem,3vw,2rem); bottom:clamp(1rem,3vw,2rem); z-index:1200; }
.rc-chat__btn{ display:flex; align-items:center; gap:.6rem; background:var(--terracotta); color:#fff; border:0; padding:.85rem 1.3rem; border-radius:50px; font-weight:600; font-size:.92rem; box-shadow:var(--shadow-md); transition:transform .3s var(--ease); }
.rc-chat__btn:hover{ transform:translateY(-2px); }
.rc-chat__btn svg{ width:20px; height:20px; }
.rc-chat.open .rc-chat__btn{ display:none; }
.rc-chat__panel{ width:min(92vw,370px); height:min(76vh,560px); background:#fff; border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow-lg); display:flex; flex-direction:column; overflow:hidden; animation:popin .3s var(--ease); }
.rc-chat__panel[hidden]{ display:none; }
@keyframes popin{ from{ opacity:0; transform:translateY(18px) scale(.97); } to{ opacity:1; transform:none; } }
.rc-chat__head{ background:linear-gradient(135deg,var(--terracotta),var(--ochre)); color:#fff; padding:1rem 1.1rem; display:flex; align-items:center; justify-content:space-between; }
.rc-chat__id{ display:flex; align-items:center; gap:.6rem; }
.rc-chat__id b{ font-family:var(--serif); font-size:1.05rem; } .rc-chat__id small{ display:block; opacity:.85; font-size:.72rem; }
.rc-chat__dot{ width:9px; height:9px; border-radius:50%; background:#7CE0A0; box-shadow:0 0 0 3px rgba(124,224,160,.3); }
.rc-chat__close{ background:rgba(255,255,255,.18); border:0; color:#fff; width:30px; height:30px; border-radius:50%; display:grid; place-items:center; }
.rc-chat__close svg{ width:16px; height:16px; }
.rc-chat__body{ flex:1; overflow-y:auto; padding:1.1rem; display:flex; flex-direction:column; gap:.7rem; background:var(--paper); }
.rc-msg{ max-width:85%; padding:.7rem .95rem; border-radius:14px; font-size:.9rem; line-height:1.5; }
.rc-msg--bot{ background:#fff; border:1px solid var(--line-soft); align-self:flex-start; border-bottom-left-radius:4px; }
.rc-msg--user{ background:var(--terracotta); color:#fff; align-self:flex-end; border-bottom-right-radius:4px; }
.rc-learning{ color:var(--terracotta); font-weight:600; }
.rc-contact{ display:flex; gap:.5rem; margin-top:.6rem; }
.rc-contact a{ flex:1; text-align:center; background:var(--paper-2); color:var(--terracotta); font-weight:600; font-size:.8rem; padding:.5rem; border-radius:8px; }
.rc-chips{ display:flex; flex-wrap:wrap; gap:.5rem; }
.rc-chip{ background:#fff; border:1px solid var(--line); color:var(--ink); font-size:.8rem; padding:.45rem .8rem; border-radius:50px; transition:.2s; }
.rc-chip:hover{ border-color:var(--terracotta); color:var(--terracotta); }
.rc-typing{ display:inline-flex; gap:4px; } .rc-typing i{ width:6px; height:6px; border-radius:50%; background:var(--ink-faint); animation:typed 1s infinite; } .rc-typing i:nth-child(2){ animation-delay:.15s; } .rc-typing i:nth-child(3){ animation-delay:.3s; }
@keyframes typed{ 0%,60%,100%{ opacity:.3; transform:translateY(0); } 30%{ opacity:1; transform:translateY(-3px); } }
.rc-chat__input{ display:flex; gap:.5rem; padding:.8rem; border-top:1px solid var(--line-soft); background:#fff; }
.rc-chat__input input{ flex:1; border:1px solid var(--line); border-radius:50px; padding:.65rem 1rem; font-family:var(--sans); font-size:.9rem; }
.rc-chat__input input:focus{ outline:none; border-color:var(--terracotta); }
.rc-chat__input button{ width:42px; height:42px; flex:0 0 auto; border:0; border-radius:50%; background:var(--terracotta); color:#fff; display:grid; place-items:center; }
.rc-chat__input button svg{ width:18px; height:18px; }

/* ---- Toast ---- */
.rc-toast{ position:fixed; left:50%; bottom:2rem; transform:translate(-50%,20px); background:var(--ink); color:#fff; padding:.8rem 1.3rem; border-radius:50px; font-size:.88rem; box-shadow:var(--shadow-md); opacity:0; transition:.3s var(--ease); z-index:1300; }
.rc-toast.show{ opacity:1; transform:translate(-50%,0); }

/* ---- Portal: upload zone + reference grid ---- */
.upload-zone{ border:2px dashed var(--line); border-radius:var(--radius-lg); padding:clamp(2rem,5vw,3.5rem); text-align:center; background:var(--paper-2); cursor:pointer; transition:.25s; }
.upload-zone.over,.upload-zone:hover{ border-color:var(--terracotta); background:#fff; }
.upload-zone__ic{ width:64px; height:64px; margin:0 auto 1rem; border-radius:50%; background:#fff; color:var(--terracotta); display:grid; place-items:center; box-shadow:var(--shadow-sm); }
.upload-zone__ic svg{ width:28px; height:28px; }
.upload-zone b{ display:block; font-size:1.05rem; color:var(--ink); } .upload-zone small{ color:var(--ink-faint); }
.add-row{ display:flex; flex-wrap:wrap; gap:.7rem; }
.add-row .btn svg{ width:18px; height:18px; }
.ref-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:1.4rem; }
.ref-card{ background:#fff; border:1px solid var(--line-soft); border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-sm); }
.ref-card__img{ position:relative; aspect-ratio:4/3; } .ref-card__img img{ width:100%; height:100%; object-fit:cover; }
.ref-card__type{ position:absolute; top:8px; left:8px; background:rgba(30,20,12,.65); color:#fff; width:28px; height:28px; border-radius:8px; display:grid; place-items:center; } .ref-card__type svg{ width:15px; height:15px; }
.ref-card figcaption{ padding:1rem; } .ref-card figcaption b{ font-size:.96rem; } .ref-card figcaption p{ font-size:.84rem; margin-top:.2rem; }
.ref-card__act{ display:flex; gap:.5rem; margin-top:.8rem; } .ref-card__act button{ flex:1; background:var(--paper-2); border:0; color:var(--ink-soft); font-size:.8rem; padding:.45rem; border-radius:8px; display:inline-flex; align-items:center; justify-content:center; gap:.3rem; } .ref-card__act svg{ width:14px; height:14px; }

/* ---- Protected memory viewer ---- */
.memview{ min-height:100vh; display:grid; place-items:center; padding:6rem 1.5rem 3rem; background:radial-gradient(100% 80% at 50% 0,var(--paper-2),var(--paper)); }
.memview__inner{ max-width:680px; text-align:center; }
.memview__media{ position:relative; display:inline-block; max-width:100%; margin:1.5rem auto; border-radius:var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); line-height:0; background:#000; }
/* Player/photo adapts to the media's own dimensions: landscape stays wide,
   portrait stays tall — both fit within the screen. */
.memview__media img,
.memview__media video{ display:block; width:auto; height:auto; max-width:100%; max-height:80vh; }
.memview__wm{ position:absolute; right:12px; bottom:12px; background:rgba(30,20,12,.5); color:#fff; font-size:.72rem; letter-spacing:.05em; padding:.3rem .6rem; border-radius:6px; }
.nodl{ -webkit-user-select:none; user-select:none; -webkit-touch-callout:none; }
.nodl img{ pointer-events:none; -webkit-user-drag:none; }


/* ============================================================
   v2 OVERHAUL — refined sizing, dynamic hovers, floating nav,
   side quick-dock, AI teaser. (Later rules intentionally
   override earlier defaults.)
   ============================================================ */

/* ---- Buttons: tighter, market-standard proportions ---- */
.btn{ padding:.72rem 1.45rem; font-size:.88rem; gap:.5rem; }
.btn--lg{ padding:.85rem 1.75rem; font-size:.95rem; }
.btn .arr{ width:17px; height:17px; }
.nav__cta{ padding:.62rem 1.2rem; font-size:.84rem; }

/* ---- Floating, curved "pop-out" navigation ---- */
.nav{ padding-block:.9rem; background:transparent; }
.nav__inner{
  background:rgba(251,247,239,.82); backdrop-filter:blur(14px);
  border:1px solid rgba(42,34,24,.07); border-radius:46px;
  padding:.5rem .6rem .5rem 1rem; box-shadow:0 8px 30px rgba(80,50,25,.10);
  transition:box-shadow .35s var(--ease), background .35s, transform .35s;
}
.nav.scrolled{ background:transparent; box-shadow:none; padding-block:.6rem; }
.nav.scrolled .nav__inner{ background:rgba(251,247,239,.96); box-shadow:0 10px 34px rgba(80,50,25,.16); }
.nav__links{ gap:.3rem; }
.nav__links > a:not(.btn){ padding:.5rem .9rem; border-radius:30px; font-size:.9rem; transition:color .25s, background .25s; }
.nav__links > a:not(.btn)::after{ display:none; }
.nav__links > a:not(.btn):hover{ background:rgba(185,101,47,.10); color:var(--terracotta); }
.nav__links > a.active:not(.btn){ background:var(--terracotta); color:#fff; }
.brand__name{ font-size:1.1rem; }
@media(max-width:920px){ .nav__inner{ border-radius:20px; } .nav__links{ border-radius:0; } .nav__links > a.active:not(.btn){ background:rgba(185,101,47,.12); color:var(--terracotta); } }

/* ---- Side quick-access dock ---- */
.dock{ position:fixed; right:16px; top:50%; transform:translateY(-50%); z-index:900; display:flex; flex-direction:column; gap:.45rem;
  background:rgba(251,247,239,.7); backdrop-filter:blur(10px); border:1px solid var(--line-soft); border-radius:40px; padding:.5rem; box-shadow:var(--shadow-sm); }
.dock a{ position:relative; width:40px; height:40px; border-radius:50%; display:grid; place-items:center; color:var(--ink-soft); transition:.25s; }
.dock a svg{ width:18px; height:18px; }
.dock a:hover{ background:var(--paper-3); color:var(--terracotta); }
.dock a.here{ background:var(--terracotta); color:#fff; }
.dock a .tip{ position:absolute; right:52px; top:50%; transform:translateY(-50%) translateX(6px); white-space:nowrap;
  background:var(--ink); color:#fff; font-size:.74rem; padding:.3rem .6rem; border-radius:6px; opacity:0; pointer-events:none; transition:.2s; }
.dock a:hover .tip{ opacity:1; transform:translateY(-50%) translateX(0); }
.dock .dock-start{ background:var(--terracotta); color:#fff; }
.dock .dock-start:hover{ background:var(--terracotta-d); color:#fff; }
@media(max-width:920px){ .dock{ display:none; } }

/* ---- More dynamic hovers ("pop") ---- */
.svc{ transition:transform .4s var(--ease), box-shadow .4s, border-color .4s; }
.svc:hover{ transform:translateY(-8px) scale(1.012); box-shadow:0 26px 60px rgba(80,50,25,.16); }
.svc__ic{ transition:transform .4s var(--ease), background .3s; }
.svc:hover .svc__ic{ transform:translateY(-3px) rotate(-6deg) scale(1.08); background:var(--terracotta); color:#fff; }
.feature{ transition:transform .35s var(--ease), box-shadow .35s; }
.feature:hover{ transform:translateY(-6px); box-shadow:0 22px 50px rgba(80,50,25,.14); }
.feature:hover .feature__ic{ transform:scale(1.1) rotate(-4deg); background:var(--terracotta); color:#fff; transition:.3s; }
.step{ transition:transform .35s var(--ease); padding:1.6rem 1.4rem; border-radius:16px; }
.step:hover{ transform:translateY(-6px); background:#fff; box-shadow:0 20px 46px rgba(80,50,25,.10); }
.step:hover .step__num{ opacity:.6; }
.tile{ transition:transform .45s var(--ease), box-shadow .45s; }
.tile:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.quote{ transition:transform .35s var(--ease), box-shadow .35s; }
.quote:hover{ transform:translateY(-5px); box-shadow:0 20px 46px rgba(80,50,25,.12); }
.cta-band .btn--light:hover{ transform:translateY(-3px) scale(1.02); }

/* ---- Tightened rhythm ---- */
.section{ padding-block:clamp(3.5rem,7.5vw,6rem); }
.section-head{ margin-bottom:clamp(2rem,4vw,3rem); }
.hero{ min-height:94vh; }

/* ---- AI teaser ---- */
.teaser-result{ display:grid; grid-template-columns:1fr auto 1fr; gap:1.2rem; align-items:center; }
.teaser-result figure{ text-align:center; }
.teaser-result figcaption{ font-size:.78rem; letter-spacing:.14em; text-transform:uppercase; color:var(--ink-faint); margin-bottom:.6rem; }
.teaser-result img{ width:100%; border-radius:14px; box-shadow:var(--shadow-md); aspect-ratio:1/1; object-fit:cover; }
.teaser-after{ outline:3px solid var(--terracotta); outline-offset:3px; }
.teaser-arrow{ color:var(--terracotta); }
.teaser-arrow svg{ width:30px; height:30px; }
.teaser-pending{ display:flex; flex-direction:column; gap:.6rem; align-items:center; justify-content:center; aspect-ratio:1/1; background:var(--paper-2); border-radius:14px; padding:1.4rem; text-align:center; font-size:.92rem; color:var(--ink-soft); }
.teaser-pending svg{ width:34px; height:34px; color:var(--terracotta); }
.teaser-promise{ margin-top:1.6rem; padding-top:1.4rem; border-top:1px solid var(--line); text-align:center; }
.teaser-promise p{ font-family:var(--serif); font-style:italic; font-size:1.15rem; color:var(--ink); }
@media(max-width:620px){ .teaser-result{ grid-template-columns:1fr; } .teaser-arrow{ transform:rotate(90deg); } }

/* ---- Teaser hero ribbon on home ---- */
.try-ribbon{ display:inline-flex; align-items:center; gap:.6rem; background:var(--paper-3); color:var(--terracotta-d); border:1px solid rgba(185,101,47,.2); padding:.45rem 1rem; border-radius:40px; font-size:.84rem; font-weight:600; }
.try-ribbon svg{ width:16px; height:16px; }

/* ============================================================
   v3 POLISH — high-craft, brand-preserving refinements.
   Appended last: these intentionally refine earlier rules.
   Palette/typography unchanged — terracotta + ochre on ivory,
   Fraunces + Inter. This layer lifts depth, motion & finish.
   ============================================================ */
:root{
  /* Warmer, two-layer shadows read as real paper depth */
  --shadow-sm: 0 1px 2px rgba(60,40,20,.05), 0 4px 14px rgba(80,50,25,.06);
  --shadow-md: 0 4px 14px rgba(80,50,25,.07), 0 20px 48px rgba(80,50,25,.13);
  --shadow-lg: 0 10px 26px rgba(80,50,25,.10), 0 38px 84px rgba(70,42,20,.18);
  --ring: 0 0 0 3px rgba(185,101,47,.16);
  --ease-out: cubic-bezier(.16,1,.3,1);
  scroll-padding-top: 6.5rem;            /* anchor jumps clear the fixed nav */
}

/* Fraunces optical sizing + crisper rendering */
body{ font-optical-sizing:auto; }
h1,h2,h3,h4,.display,.brand__name{ font-optical-sizing:auto; }

/* Brand-tinted selection + accessible focus ring */
::selection{ background:rgba(185,101,47,.22); color:var(--ink); }
::-moz-selection{ background:rgba(185,101,47,.22); color:var(--ink); }
:focus-visible{ outline:2px solid var(--terracotta); outline-offset:3px; border-radius:6px; }
.btn:focus-visible{ outline-offset:4px; }

/* Typographic finesse — balanced headlines, pretty body, tighter display */
.display,h1,h2,.section-head h2,.cta-band h2,.page-hero .display{ text-wrap:balance; }
.lead,.hero__lead,.section-head p,.svc__desc,.feature p,.step p{ text-wrap:pretty; }
.display{ letter-spacing:-.025em; }
.eyebrow{ font-size:.7rem; letter-spacing:.3em; }
.section-head h2{ margin-top:.8rem; }

/* Buttons — tactile depth, gentle sheen, real press feedback */
.btn{ transition:transform .35s var(--ease-out), box-shadow .35s var(--ease-out), background .3s, color .3s; }
.btn--primary{
  background-image:linear-gradient(180deg, rgba(255,255,255,.16), rgba(255,255,255,0) 45%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 8px 22px rgba(151,73,29,.26);
}
.btn--primary:hover{ box-shadow:inset 0 1px 0 rgba(255,255,255,.34), 0 16px 34px rgba(151,73,29,.34); }
.btn--light{ box-shadow:inset 0 1px 0 rgba(255,255,255,.8), 0 10px 26px rgba(60,30,10,.16); }
.btn:active{ transform:translateY(0) scale(.985); }

/* Floating nav — soft inner highlight + crisper glass */
.nav__inner{ box-shadow:inset 0 1px 0 rgba(255,255,255,.55), 0 8px 26px rgba(80,50,25,.10); }
.nav.scrolled .nav__inner{ box-shadow:inset 0 1px 0 rgba(255,255,255,.6), 0 12px 34px rgba(80,50,25,.16); }

/* Hero — refined frames, calmer blobs, stronger proof numerals */
.hero__blobs .blob{ opacity:.4; }
.hero__art .frame{ border-width:5px; border-radius:11px; box-shadow:0 12px 30px rgba(80,50,25,.14), 0 34px 74px rgba(70,42,20,.18); }
.hero__art .frame img{ transition:transform .6s var(--ease-out); }
.hero__art:hover .f1{ transform:rotate(2.5deg) translateY(-6px); }
.hero__art .seal{ box-shadow:0 10px 26px rgba(80,50,25,.20); }
.hero__proof .n{ font-size:2.15rem; letter-spacing:-.02em; }
.hero__proof .l{ color:var(--ink-faint); }

/* Cards — quiet resting elevation, graceful lift */
.svc,.feature,.quote{ transition:transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .4s; }
.feature{ background:linear-gradient(180deg,#fff,#fffdf8); box-shadow:var(--shadow-sm); }
.svc{ box-shadow:0 1px 2px rgba(60,40,20,.04), 0 10px 30px rgba(80,50,25,.05); }
.svc__list li svg{ color:var(--ochre); }
.quote{ box-shadow:var(--shadow-sm); }

/* Gallery tiles — slower, smoother zoom */
.tile{ box-shadow:0 2px 12px rgba(60,40,20,.07); }
.tile img{ transition:transform .8s var(--ease-out); }

/* Split media — layered frame with a thin warm rule */
.split__media img{ box-shadow:0 14px 40px rgba(80,50,25,.16); }
.story__img img{ box-shadow:0 16px 44px rgba(20,14,8,.34); }

/* CTA band — paper sheen over the gradient */
.cta-band{ box-shadow:0 24px 60px rgba(151,73,29,.26); }
.cta-band::before, .cta-band::after{ mix-blend-mode:soft-light; }

/* Forms — softer wells, branded focus glow */
.field input,.field select,.field textarea{ border-radius:10px; padding:.9rem 1.05rem; }
.field input:focus,.field select:focus,.field textarea:focus{ box-shadow:var(--ring); }
.form-wrap{ box-shadow:var(--shadow-sm); }

/* Motion — graceful, slightly longer reveal with finer stagger */
.reveal{ transition:opacity .8s var(--ease-out), transform .8s var(--ease-out); transform:translateY(30px); }
.reveal.in{ transform:none; }
.reveal.d1{ transition-delay:.09s; } .reveal.d2{ transition-delay:.18s; } .reveal.d3{ transition-delay:.27s; }

/* Footer — smoother social, refined rule */
.footer__social a{ transition:transform .3s var(--ease-out), background .3s, border-color .3s; }
.footer__bottom{ border-top-color:rgba(255,255,255,.12); }

@media(prefers-reduced-motion:reduce){
  .reveal{ transform:none; }
  .hero__art:hover .f1{ transform:rotate(2.5deg); }
}

/* Mobile fix: the hero art collapsed to 0×0 because auto side-margins on a
   grid item disable stretch and all frames are absolutely positioned.
   Give it a definite square so the keepsake collage renders on phones. */
@media(max-width:920px){
  .hero__art{ width:min(82vw,400px); height:min(82vw,400px); aspect-ratio:auto; margin:.5rem auto 1.5rem; }
}
@media(max-width:560px){
  .hero__art{ width:min(88vw,340px); height:min(88vw,340px); }
  .hero__proof{ gap:1.4rem; }
  .hero__proof .n{ font-size:1.8rem; }
}

/* ============================================================
   v4 — feedback pass: compact nav, controlled icon sizes,
   lighter section icons, refined forms, floating testimonials.
   ============================================================ */

/* --- Safety net: inline icons inherit text size (kills ballooned SVGs in
   nav links, contact rows, etc.). Explicitly-sized icons keep their size
   via higher-specificity rules already present. --- */
a svg, p svg, li svg, span svg, button svg, h1 svg, h2 svg, h3 svg, label svg{
  width:1.05em; height:1.05em; flex:0 0 auto; vertical-align:-.15em;
}

/* --- Compact, single-line floating nav --- */
.nav{ padding-block:.7rem; }
.nav__inner{ padding:.4rem .5rem .4rem .85rem; border-radius:40px; }
.brand img{ width:34px; height:34px; }
.brand__name{ font-size:1rem; }
.brand__tag{ font-size:.56rem; }
.nav__links{ gap:.15rem; }
.nav__links > a:not(.btn){ padding:.45rem .7rem; font-size:.85rem; white-space:nowrap; display:inline-flex; align-items:center; gap:.35rem; }
.nav__links > a:not(.btn) svg{ width:14px; height:14px; }
.nav__cta{ padding:.55rem 1rem; font-size:.82rem; white-space:nowrap; }
@media(min-width:921px) and (max-width:1180px){
  .nav__links{ gap:.05rem; }
  .nav__links > a:not(.btn){ padding:.4rem .55rem; font-size:.82rem; }
}

/* --- Lighter, better-proportioned section icons --- */
.svc__ic{ width:46px; height:46px; border-radius:12px; margin-bottom:1rem; }
.svc__ic svg{ width:22px; height:22px; }
.feature__ic{ width:42px; height:42px; border-radius:11px; }
.feature__ic svg{ width:20px; height:20px; }
.upload-zone__ic{ width:54px; height:54px; }
.upload-zone__ic svg{ width:24px; height:24px; }
.step__num{ font-size:2.7rem; }
.quote__mark{ font-size:3rem; }
.video-play{ width:64px; height:64px; }
.video-play svg{ width:24px; height:24px; }
/* contact page direct-contact rows */
.contact-row{ display:flex; gap:.7rem; align-items:center; margin-top:.9rem; font-size:1rem; }
.contact-row .ic{ width:38px; height:38px; flex:0 0 auto; border-radius:10px; background:var(--paper-3); color:var(--terracotta); display:grid; place-items:center; }
.contact-row .ic svg{ width:18px; height:18px; }

/* --- Refined forms --- */
.form-wrap{ padding:clamp(1.5rem,3.5vw,2.6rem); border-radius:18px; box-shadow:var(--shadow-md); }
.form-grid{ gap:1.3rem 1.4rem; }
.field label{ font-size:.8rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:var(--ink-soft); }
.field label .req{ color:var(--terracotta); }
.field input, .field select, .field textarea{ font-size:1rem; padding:.95rem 1.1rem; border-radius:11px; background:var(--paper); border:1.5px solid var(--line); }
.field input::placeholder, .field textarea::placeholder{ color:var(--ink-faint); }
.field input:hover, .field select:hover, .field textarea:hover{ border-color:rgba(185,101,47,.4); }
.field textarea{ min-height:130px; }
.radio-cards{ gap:.6rem; }
.radio-card span{ padding:.85rem .7rem; border-radius:12px; border-width:1.5px; font-size:.9rem; }
.radio-card input:checked + span{ box-shadow:0 0 0 2px rgba(185,101,47,.25); background:var(--paper-3); }
.consent{ background:var(--paper-2); border:1px solid var(--line-soft); padding:.85rem 1rem; border-radius:12px; font-size:.86rem; }
.form-wrap .btn--block{ margin-top:.4rem; }
.form-note{ justify-content:center; }

/* --- Floating, lively testimonials --- */
@keyframes floatCard{ 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(-12px); } }
.quotes .quote{ animation:floatCard 6.5s var(--ease) infinite; will-change:transform; }
.quotes .quote:nth-child(2){ animation-delay:-1.6s; animation-duration:7.2s; }
.quotes .quote:nth-child(3){ animation-delay:-3.4s; animation-duration:6.8s; }
.quotes:hover .quote{ animation-play-state:paused; }
@media(prefers-reduced-motion:reduce){ .quotes .quote{ animation:none; } }

.btn--sm{ padding:.5rem 1rem; font-size:.82rem; }

/* ============================================================
   Flipbook — full-screen viewer (book.php) + embedded (portal)
   ============================================================ */
.book-page{ background:radial-gradient(120% 80% at 50% -10%, var(--paper-2), var(--paper)); min-height:100vh; display:flex; flex-direction:column; }
.book-bar{ display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.7rem clamp(1rem,3vw,2rem); background:rgba(251,247,239,.92); backdrop-filter:blur(10px); border-bottom:1px solid var(--line-soft); position:sticky; top:0; z-index:10; }
.book-bar .brand__tag{ color:var(--ink-faint); text-transform:none; letter-spacing:0; font-size:.7rem; max-width:36ch; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.book-bar__act{ display:flex; gap:.5rem; align-items:center; flex-wrap:wrap; }
.book-draft{ text-align:center; background:#fdf1dd; color:#854f0b; font-size:.84rem; padding:.5rem; border-bottom:1px solid #f0dcae; }
.book-stage{ flex:1; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:clamp(1rem,3vw,2.5rem); gap:1.1rem; }
.flipbook{ width:min(92vw,1000px); margin:0 auto; touch-action:pan-y; }
.flipbook .stf__parent{ margin:0 auto; }
.book-embed{ background:var(--paper-2); border-radius:16px; padding:clamp(1rem,3vw,1.8rem); display:flex; flex-direction:column; align-items:center; gap:1rem; }
.book-embed .flipbook{ width:min(100%,720px); }
.book-loading{ text-align:center; color:var(--ink-soft); display:flex; flex-direction:column; align-items:center; gap:.7rem; padding:3rem 1rem; }
.book-loading .rc-typing i{ width:8px; height:8px; }
.book-controls{ display:flex; align-items:center; gap:1.2rem; }
.book-ctrl{ width:46px; height:46px; border-radius:50%; border:1px solid var(--line); background:#fff; color:var(--terracotta); display:grid; place-items:center; box-shadow:var(--shadow-sm); transition:transform .2s var(--ease), background .2s, color .2s; }
.book-ctrl:hover{ background:var(--terracotta); color:#fff; transform:translateY(-2px); }
.book-ctrl svg{ width:20px; height:20px; }
.book-ctrl:not(.next) svg{ transform:rotate(180deg); }
.book-page-no{ font-size:.85rem; color:var(--ink-soft); letter-spacing:.05em; min-width:64px; text-align:center; }
.book-hint{ font-size:.8rem; color:var(--ink-faint); }
.book-empty{ flex:1; display:grid; place-items:center; text-align:center; max-width:560px; margin:0 auto; padding:3rem 1.5rem; }
@media(prefers-reduced-motion:reduce){ .auth-art__bg{ animation:none; } }

/* ============================================================
   v5 — Home redesign: pill eyebrows (no dash), lens hero,
   marquees, infographic steps, fixed feature boxes,
   expandable services, social "why trust us".
   ============================================================ */

/* Eyebrow → small designed pill (removes the long "—" line) */
.eyebrow{ display:inline-flex; align-items:center; gap:0; background:rgba(185,101,47,.10); color:var(--terracotta-d); padding:.42rem .95rem; border-radius:40px; font-size:.68rem; font-weight:700; letter-spacing:.16em; }
.eyebrow::before, .eyebrow::after{ display:none !important; }
.eyebrow svg{ width:14px; height:14px; margin-right:.4rem; }

/* ---- Lens hero ---- */
.hero2{ position:relative; min-height:94vh; display:flex; flex-direction:column; justify-content:center; align-items:center; text-align:center; padding:8.5rem 1.5rem 0; background:radial-gradient(130% 95% at 50% -10%, var(--paper-2), var(--paper) 62%); overflow:hidden; }
.hero2__inner{ max-width:1040px; margin:auto 0; }
.hero2__title{ font-family:var(--serif); font-weight:500; font-size:clamp(2.7rem,8.2vw,6.6rem); line-height:1.0; letter-spacing:-.03em; margin:1.3rem 0 0; text-wrap:balance; }
.hero2__title em{ font-style:italic; color:var(--terracotta); }
.hero-lens{ display:inline-block; vertical-align:middle; width:clamp(96px,15vw,210px); height:clamp(66px,9.5vw,134px); border-radius:120px; overflow:hidden; margin:0 .12em .12em; box-shadow:0 14px 36px rgba(80,50,25,.22); transform:translateY(-.05em); }
.hero-lens img{ width:100%; height:100%; object-fit:cover; animation:lensZoom 16s ease-in-out infinite alternate; }
@keyframes lensZoom{ from{ transform:scale(1.05); } to{ transform:scale(1.2); } }
.hero2__sub{ font-size:clamp(1.05rem,1.6vw,1.25rem); color:var(--ink-soft); max-width:56ch; margin:1.6rem auto 0; line-height:1.62; text-wrap:pretty; }
.hero2__cta{ display:flex; gap:1rem; justify-content:center; flex-wrap:wrap; margin-top:2.1rem; }
.hero2__strip{ width:100%; max-width:var(--maxw); margin:auto auto 0; padding:1.3rem var(--gutter); display:flex; align-items:center; justify-content:space-between; gap:1rem; border-top:1px solid var(--line); flex-wrap:wrap; }
.hero2__stats{ display:flex; gap:1.9rem; flex-wrap:wrap; }
.hero2__stat{ font-size:.85rem; color:var(--ink-soft); }
.hero2__stat b{ font-family:var(--serif); color:var(--terracotta); font-size:1.1rem; margin-right:.25rem; }
.hero2__scroll{ font-size:.74rem; letter-spacing:.16em; text-transform:uppercase; color:var(--ink-soft); display:inline-flex; align-items:center; gap:.5rem; }
.hero2__scroll svg{ transform:rotate(90deg); width:15px; height:15px; }
.hero2__scroll:hover{ color:var(--terracotta); }
@media(max-width:600px){ .hero-lens{ width:96px; height:66px; } .hero2__strip{ justify-content:center; text-align:center; } .hero2{ min-height:auto; padding-bottom:2.5rem; } }

/* ---- Horizontal marquee (gallery) ---- */
.marquee-sec{ overflow:hidden; }
.marquee{ display:flex; flex-direction:column; gap:1.1rem; }
.marquee__row{ display:flex; gap:1.1rem; width:max-content; will-change:transform; }
.marquee__row--a{ animation:mqL 52s linear infinite; }
.marquee__row--b{ animation:mqR 60s linear infinite; }
.marquee:hover .marquee__row{ animation-play-state:paused; }
@keyframes mqL{ from{ transform:translateX(0); } to{ transform:translateX(-50%); } }
@keyframes mqR{ from{ transform:translateX(-50%); } to{ transform:translateX(0); } }
.m-item{ position:relative; flex:0 0 auto; width:clamp(190px,22vw,280px); height:clamp(140px,16vw,200px); border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .4s var(--ease-out), box-shadow .4s; margin:0; }
.m-item img{ width:100%; height:100%; object-fit:cover; transition:transform .6s var(--ease-out); }
.m-item figcaption{ position:absolute; inset:auto 0 0 0; padding:1.5rem .9rem .85rem; color:#fff; font-size:.85rem; font-weight:500; background:linear-gradient(to top, rgba(30,20,12,.85), transparent); opacity:0; transform:translateY(8px); transition:.35s var(--ease-out); }
.m-item:hover{ transform:scale(1.07); box-shadow:var(--shadow-lg); z-index:3; }
.m-item:hover img{ transform:scale(1.06); }
.m-item:hover figcaption{ opacity:1; transform:none; }
@media(prefers-reduced-motion:reduce){ .marquee__row{ animation:none; } }

/* ---- Infographic steps ---- */
.how-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.how-card{ position:relative; background:#fff; border:1px solid var(--line-soft); border-radius:18px; padding:2rem 1.8rem; box-shadow:var(--shadow-sm); transition:transform .4s var(--ease-out), box-shadow .4s; }
.how-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.how-card__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1.1rem; }
.how-card__ic{ width:54px; height:54px; border-radius:15px; background:linear-gradient(135deg,var(--terracotta),var(--ochre)); color:#fff; display:grid; place-items:center; box-shadow:0 10px 22px rgba(151,73,29,.26); }
.how-card__ic svg{ width:26px; height:26px; }
.how-card__num{ font-family:var(--serif); font-size:2.7rem; color:var(--paper-3); line-height:1; font-weight:600; }
.how-card h3{ font-size:1.3rem; margin-bottom:.5rem; }
.how-card p{ font-size:.95rem; }
.how-card__arrow{ position:absolute; right:-1.15rem; top:3.3rem; width:34px; height:34px; border-radius:50%; background:#fff; border:1px solid var(--line); color:var(--terracotta); display:grid; place-items:center; z-index:2; box-shadow:var(--shadow-sm); }
.how-card__arrow svg{ width:15px; height:15px; }
.how-card:last-child .how-card__arrow{ display:none; }
@media(max-width:760px){ .how-grid{ grid-template-columns:1fr; } .how-card__arrow{ display:none; } }

/* ---- Feature boxes: clean icon-left alignment, single column ---- */
.features--stacked{ grid-template-columns:1fr; gap:1rem; }
.features .feature{ display:flex; gap:1rem; align-items:flex-start; }
.feature__ic{ flex:0 0 auto; }
.feature__txt{ flex:1 1 auto; min-width:0; }
.feature__txt h3{ font-size:1.15rem; margin-bottom:.25rem; }
.feature__txt p{ font-size:.95rem; margin:0; }

/* ---- Expandable service cards ---- */
.svc-grid--expand .svc{ overflow:hidden; }
.svc__head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:1rem; }
.svc__head .svc__ic{ margin-bottom:0; }
.svc__expand{ width:32px; height:32px; border-radius:50%; border:1px solid var(--line); color:var(--terracotta); display:grid; place-items:center; transition:transform .45s var(--ease-out), background .3s, color .3s; }
.svc__expand svg{ width:15px; height:15px; transform:rotate(90deg); }
.svc.expanded .svc__expand{ transform:rotate(180deg); background:var(--terracotta); color:#fff; }
.svc__more{ max-height:0; opacity:0; overflow:hidden; transition:max-height .55s var(--ease-out), opacity .35s, margin .35s; }
.svc.expanded .svc__more{ max-height:420px; opacity:1; margin-top:1.2rem; }
.svc-grid--expand .svc__list{ margin-bottom:1.4rem; }

/* ---- Why trust us: social cards ---- */
.trust-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.trust-card{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line-soft); border-radius:18px; padding:1.6rem; box-shadow:var(--shadow-sm); transition:transform .4s var(--ease-out), box-shadow .4s; min-height:300px; color:var(--ink); }
.trust-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-md); }
.trust-card__top{ display:flex; align-items:center; gap:.8rem; }
.trust-card__logo{ width:46px; height:46px; border-radius:13px; display:grid; place-items:center; color:#fff; flex:0 0 auto; }
.trust-card__logo svg{ width:24px; height:24px; }
.trust-card--ig .trust-card__logo{ background:linear-gradient(45deg,#feda75,#d62976 55%,#962fbf); }
.trust-card--li .trust-card__logo{ background:#0a66c2; }
.trust-card--yt .trust-card__logo{ background:#ff0000; }
.trust-card__top b{ display:block; font-size:1rem; line-height:1.2; } .trust-card__top small{ color:var(--ink-faint); font-size:.78rem; }
.trust-card__follow{ margin-left:auto; background:var(--paper-3); color:var(--terracotta-d); font-size:.76rem; font-weight:700; padding:.4rem .9rem; border-radius:40px; }
.trust-card__grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:4px; margin:1.1rem 0; border-radius:12px; overflow:hidden; }
.trust-card__grid span{ aspect-ratio:1; background-size:cover; background-position:center; display:block; }
.trust-card__body{ margin:1.1rem 0; color:var(--ink-soft); font-size:.95rem; }
.trust-card__play{ flex:1; display:grid; place-items:center; margin:1.1rem 0; background:var(--paper-2); border-radius:12px; min-height:130px; }
.trust-card__play span{ width:62px; height:62px; border-radius:50%; background:#ff0000; color:#fff; display:grid; place-items:center; box-shadow:var(--shadow-md); transition:transform .3s var(--ease-out); }
.trust-card__play svg{ width:26px; height:26px; margin-left:3px; }
.trust-card:hover .trust-card__play span{ transform:scale(1.08); }
.trust-card__go{ margin-top:auto; color:var(--terracotta); font-weight:600; font-size:.92rem; display:inline-flex; align-items:center; gap:.4rem; }
@media(max-width:820px){ .trust-grid{ grid-template-columns:1fr; max-width:460px; margin:0 auto; } }

/* ---- Testimonials marquee ---- */
.tmarquee{ overflow:hidden; padding:.5rem 0; }
.tmarquee__row{ display:flex; gap:1.3rem; width:max-content; animation:mqL 70s linear infinite; will-change:transform; padding:0 .65rem; }
.tmarquee:hover .tmarquee__row{ animation-play-state:paused; }
.tmarquee .quote{ flex:0 0 auto; width:min(86vw,360px); margin:0; animation:none; }
.tmarquee .quote:hover{ transform:scale(1.04) translateY(-4px); box-shadow:var(--shadow-lg); z-index:2; }
@media(prefers-reduced-motion:reduce){ .tmarquee__row{ animation:none; flex-wrap:wrap; justify-content:center; } }

/* ============================================================
   v6 — cursive section titles + write-on, hero scroll cue,
   modals (lead form + video sample).
   ============================================================ */
:root{ --script:'Dancing Script','Segoe Script','Brush Script MT',cursive; }

/* Cursive, larger, premium section titles */
.section-head h2{ font-family:var(--script); font-weight:700; font-size:clamp(2.5rem,5.2vw,4.2rem); line-height:1.05; letter-spacing:0; }
.section-head h2 em{ font-style:normal; color:var(--terracotta); }

/* Write-on reveal (handwriting feel); re-triggers as you scroll up/down */
.section-head h2.writeon{ clip-path:inset(0 100% 0 0); transition:clip-path 1.05s var(--ease-out); }
.section-head h2.writeon.drawn{ clip-path:inset(0 0 0 0); }
@media(prefers-reduced-motion:reduce){ .section-head h2.writeon{ clip-path:none; } }

/* Hero scroll cue (now a standalone pinned link) */
.hero2__scroll{ position:absolute; bottom:1.5rem; left:50%; transform:translateX(-50%); margin:0; }
.hero2__scroll:hover{ transform:translateX(-50%) translateY(2px); }

/* ---- Modal system ---- */
.modal{ position:fixed; inset:0; z-index:2000; display:none; }
.modal.open{ display:block; }
.modal__overlay{ position:absolute; inset:0; background:rgba(30,20,12,.55); backdrop-filter:blur(5px); }
.modal__box{ position:relative; z-index:2; width:min(94vw,500px); margin:7vh auto 0; background:var(--paper); border:1px solid var(--line-soft); border-radius:22px; box-shadow:var(--shadow-lg); padding:clamp(1.6rem,4vw,2.6rem); max-height:86vh; overflow:auto; animation:popin .35s var(--ease); }
.modal__box--video{ width:min(94vw,920px); padding:0; background:#0c0a08; border:0; overflow:hidden; }
.modal__close{ position:absolute; top:.75rem; right:.75rem; width:38px; height:38px; border-radius:50%; border:0; background:rgba(255,255,255,.92); color:var(--ink); display:grid; place-items:center; box-shadow:var(--shadow-sm); z-index:6; transition:transform .25s var(--ease), background .2s; }
.modal__close svg{ width:18px; height:18px; }
.modal__close:hover{ background:#fff; transform:rotate(90deg); }
.modal__video{ position:relative; aspect-ratio:16/9; background:#000; }
.modal__video iframe, .modal__video video{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.modal__video-empty{ aspect-ratio:16/9; display:grid; place-items:center; text-align:center; color:#f3e7d6; padding:2rem; gap:.6rem; }
.modal__video-empty svg{ width:40px; height:40px; color:var(--ochre); margin:0 auto .4rem; }

/* Lead form modal */
.lead-head{ text-align:center; margin-bottom:1.3rem; }
.lead-head .eyebrow{ margin-bottom:.7rem; }
.lead-head h3{ font-size:1.7rem; }
.lead-head p{ margin-top:.4rem; font-size:.95rem; }
.lead-form .field{ margin-bottom:.9rem; }
.lead-note{ font-size:.78rem; color:var(--ink-faint); text-align:center; margin-top:.9rem; display:flex; gap:.4rem; justify-content:center; align-items:center; }
.lead-thanks{ text-align:center; display:none; }
.lead-thanks.show{ display:block; animation:popin .4s var(--ease); }
.lead-thanks__badge{ width:108px; height:108px; border-radius:50%; margin:0 auto 1.3rem; display:grid; place-items:center; background:linear-gradient(135deg,var(--terracotta),var(--ochre)); color:#fff; box-shadow:0 16px 36px rgba(151,73,29,.3); }
.lead-thanks__badge svg{ width:46px; height:46px; }
.lead-thanks h3{ font-family:var(--script); font-size:2.4rem; color:var(--terracotta); line-height:1.05; }
.lead-thanks p{ margin-top:.7rem; }
.lead-modal.busy .lead-form button{ opacity:.7; pointer-events:none; }
body.modal-open{ overflow:hidden; }

/* Try page — honest how-it-works strip + fixed upload preview */
.how-strip{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; }
.how-strip__item{ display:flex; gap:.8rem; align-items:flex-start; background:#fff; border:1px solid var(--line-soft); border-radius:14px; padding:1.1rem 1.2rem; box-shadow:var(--shadow-sm); }
.how-strip__n{ flex:0 0 auto; width:30px; height:30px; border-radius:50%; background:var(--terracotta); color:#fff; display:grid; place-items:center; font-family:var(--serif); font-weight:600; font-size:.95rem; }
.how-strip__item b{ font-size:1rem; } .how-strip__item p{ font-size:.85rem; margin-top:.2rem; }
@media(max-width:720px){ .how-strip{ grid-template-columns:1fr; } }
.upload-zone__title{ display:block; }
.upload-zone__preview{ display:block; margin-top:1rem; }
.upload-zone__preview img{ max-height:240px; border-radius:12px; box-shadow:var(--shadow-md); margin:0 auto; }

/* ============================================================
   v7 — feedback: hero scroll cue, nav button, upload tile,
   hero lens slideshow.
   ============================================================ */

/* (2) Scroll cue flows below the CTAs instead of overlapping them */
.hero2{ justify-content:center; }
.hero2__inner{ margin:0; }
.hero2__scroll{ position:static; transform:none; margin:clamp(1.6rem,5vh,3rem) auto 0; }
.hero2__scroll:hover{ transform:translateY(2px); }

/* (3) Nav CTA: white text, no stray underline under any nav link */
.nav__links a::after{ display:none !important; }
.nav__links a.nav__cta, .nav__links a.btn--primary, .nav__cta.btn--primary{ color:#fff !important; }
.nav__links a.nav__cta:hover{ color:#fff !important; }

/* (4) Upload tile: was an inline <label>, so its dashed border split into
   misaligned pieces. Make it a proper centered column, and respect [hidden]. */
.upload-zone{ display:flex; flex-direction:column; align-items:center; justify-content:center; gap:.5rem; }
.upload-zone__ic{ margin:0 0 .4rem; }
.upload-zone__preview[hidden]{ display:none !important; }

/* (5) Hero lens → gentle crossfade slideshow of several stories */
.hero-lens{ position:relative; }
.hero-lens img{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:0; animation:heroSlide 20s ease-in-out infinite; }
.hero-lens img:nth-child(1){ animation-delay:0s; }
.hero-lens img:nth-child(2){ animation-delay:4s; }
.hero-lens img:nth-child(3){ animation-delay:8s; }
.hero-lens img:nth-child(4){ animation-delay:12s; }
.hero-lens img:nth-child(5){ animation-delay:16s; }
@keyframes heroSlide{ 0%{ opacity:0; } 3%{ opacity:1; } 18%{ opacity:1; } 21%{ opacity:0; } 100%{ opacity:0; } }
@media(prefers-reduced-motion:reduce){
  .hero-lens img{ animation:none; opacity:0; }
  .hero-lens img:first-child{ opacity:1; }
}

/* ============================================================
   v8 — cursive on all section/page headings (+ cutting fix),
   dark-bg text selection, floating WhatsApp button.
   ============================================================ */

/* (2) Cursive across all section & page headings. Roomy line-height +
   padding so the script font's tall flourishes & descenders never clip.
   (Hero signature and admin/portal headings keep their own fonts.) */
.section h2, .page-hero .display, .split__text h2, .revti h2, .cta-band h2{
  font-family:var(--script); font-weight:700; letter-spacing:0;
  line-height:1.3; padding-block:.1em;
}
.section h2 em, .page-hero .display em{ font-style:normal; color:var(--terracotta); }
.section-head h2{ font-size:clamp(2.4rem,5vw,4rem); line-height:1.3; padding-block:.1em; overflow:visible; }
.page-hero .display{ font-size:clamp(2.5rem,5.4vw,4.2rem); line-height:1.26; padding-block:.08em; }
.section-head h2.writeon{ overflow:visible; }

/* (4) White, readable selection on dark backgrounds */
.section--ink ::selection, .cta-band ::selection, .footer ::selection,
.modal__box--video ::selection, .book-bar ::selection, .auth-art ::selection,
.app-side ::selection, .lead-thanks__badge ::selection, .how-card__ic ::selection{
  background:var(--terracotta); color:#fff;
}
.section--ink ::-moz-selection, .cta-band ::-moz-selection, .footer ::-moz-selection,
.modal__box--video ::-moz-selection, .book-bar ::-moz-selection, .auth-art ::-moz-selection,
.app-side ::-moz-selection{ background:var(--terracotta); color:#fff; }

/* (7) Floating WhatsApp button (bottom-left, opposite the chat) */
.wa-fab{ position:fixed; left:clamp(1rem,3vw,2rem); bottom:clamp(1rem,3vw,2rem); z-index:1150;
  width:56px; height:56px; border-radius:50%; background:#25D366; color:#fff; display:grid; place-items:center;
  box-shadow:0 10px 26px rgba(37,211,102,.42); transition:transform .3s var(--ease), box-shadow .3s; }
.wa-fab svg{ width:32px; height:32px; }
.wa-fab:hover{ transform:scale(1.08) translateY(-2px); box-shadow:0 16px 34px rgba(37,211,102,.5); }
.wa-fab__tip{ position:absolute; left:66px; background:var(--ink); color:#fff; font-size:.78rem; white-space:nowrap;
  padding:.4rem .7rem; border-radius:8px; opacity:0; pointer-events:none; transform:translateX(-6px); transition:.2s; }
.wa-fab:hover .wa-fab__tip{ opacity:1; transform:none; }
@media(max-width:560px){ .wa-fab{ width:52px; height:52px; } .wa-fab svg{ width:28px; height:28px; } .wa-fab__tip{ display:none; } }

/* ============================================================
   v9 — word-by-word write-on (smooth, slightly slow handwriting)
   ============================================================ */
.section-head h2.writeon{ clip-path:none !important; }
.section-head h2 .ww{
  display:inline-block;
  opacity:0; transform:translateY(.24em) rotate(-3deg); transform-origin:left bottom;
  transition:opacity .6s ease, transform .7s cubic-bezier(.2,.7,.2,1);
  transition-delay:calc(var(--wi) * 0.14s);
}
.section-head h2.drawn .ww{ opacity:1; transform:none; }
@media(prefers-reduced-motion:reduce){
  .section-head h2 .ww{ opacity:1; transform:none; transition:none; }
}

/* ============================================================
   v10 — consent checkbox, welcome popup, portal help guide
   ============================================================ */

/* (10) Consent row: properly sized, aligned, branded checkbox */
.consent{ display:flex; gap:.7rem; align-items:flex-start; line-height:1.5; cursor:pointer; }
.consent input[type=checkbox]{ width:18px; height:18px; min-width:18px; flex:0 0 auto; margin:.1rem 0 0; accent-color:var(--terracotta); cursor:pointer; }
.consent span.req{ color:var(--terracotta); }

/* (12) Welcome popup */
.welcome-box{ text-align:center; max-width:440px !important; }
.welcome-box__logo{ width:64px; height:64px; margin:0 auto 1rem; }
.welcome-box h3{ font-family:var(--script); font-size:2.4rem; color:var(--terracotta); line-height:1.1; }
.welcome-box p{ margin:.7rem auto 1.4rem; color:var(--ink-soft); max-width:34ch; }
.welcome-box .btn{ margin:0 auto; }
.welcome-box__skip{ display:block; margin-top:1rem; font-size:.82rem; color:var(--ink-faint); background:none; border:0; cursor:pointer; }
.welcome-box__skip:hover{ color:var(--terracotta); }

/* (1) Portal help guide */
.help-fab{ display:inline-grid; place-items:center; width:30px; height:30px; border-radius:50%; border:1px solid var(--line); background:#fff; color:var(--terracotta); font-family:var(--serif); font-weight:600; font-style:italic; margin-left:.6rem; cursor:pointer; vertical-align:middle; }
.help-fab:hover{ background:var(--terracotta); color:#fff; }
.help-steps{ list-style:none; margin:1rem 0 0; padding:0; display:flex; flex-direction:column; gap:.9rem; text-align:left; }
.help-steps li{ display:flex; gap:.8rem; align-items:flex-start; }
.help-steps .n{ flex:0 0 auto; width:28px; height:28px; border-radius:50%; background:var(--terracotta); color:#fff; display:grid; place-items:center; font-family:var(--serif); font-size:.9rem; }
.help-steps b{ display:block; font-size:.98rem; } .help-steps p{ font-size:.86rem; color:var(--ink-soft); margin:.15rem 0 0; }

/* ============================================================
   v11 — testimonial photos, Why-trust thumbnails, FAQ
   ============================================================ */
.quote__who .av{ width:46px; height:46px; overflow:hidden; }
.av--img{ background-size:cover; background-position:center; }

/* Why-trust thumbnail card image */
.trust-card__thumb{ position:relative; display:block; width:100%; aspect-ratio:16/10; border-radius:12px; overflow:hidden; margin:1.1rem 0; background:var(--paper-2) center/cover no-repeat; }
.trust-card__thumb img{ width:100%; height:100%; object-fit:cover; }
.trust-card__playbadge{ position:absolute; inset:0; margin:auto; width:54px; height:54px; border-radius:50%; background:rgba(255,0,0,.92); color:#fff; display:grid; place-items:center; box-shadow:var(--shadow-md); }
.trust-card__playbadge svg{ width:24px; height:24px; margin-left:3px; }

/* FAQ accordion */
.faq{ max-width:760px; margin:0 auto; display:flex; flex-direction:column; gap:.8rem; }
.faq__item{ background:#fff; border:1px solid var(--line-soft); border-radius:14px; overflow:hidden; box-shadow:var(--shadow-sm); }
.faq__q{ width:100%; text-align:left; background:none; border:0; padding:1.1rem 1.3rem; font-family:var(--sans); font-size:1.05rem; font-weight:600; color:var(--ink); display:flex; justify-content:space-between; align-items:center; gap:1rem; cursor:pointer; }
.faq__q .pm{ flex:0 0 auto; width:24px; height:24px; border-radius:50%; background:var(--paper-3); color:var(--terracotta); display:grid; place-items:center; transition:transform .3s var(--ease); font-size:1.1rem; line-height:1; }
.faq__item.open .faq__q .pm{ transform:rotate(45deg); }
.faq__a{ max-height:0; overflow:hidden; transition:max-height .4s var(--ease); }
.faq__a p{ padding:0 1.3rem 1.2rem; color:var(--ink-soft); }
.faq__item.open .faq__a{ max-height:600px; }
.legal-body{ max-width:760px; margin:0 auto; }
.legal-body h2{ font-family:var(--serif); font-size:1.4rem; margin:1.6rem 0 .5rem; }
.legal-body p, .legal-body li{ color:var(--ink-soft); line-height:1.75; }
.legal-body ul{ margin:.5rem 0 1rem 1.2rem; list-style:disc; }

/* ============================================================
   v12 — flowing portfolio columns + Our Story editorial
   ============================================================ */
.flowfolio{ display:grid; grid-template-columns:repeat(4,1fr); gap:.9rem; height:min(76vh,720px); overflow:hidden;
  -webkit-mask-image:linear-gradient(transparent, #000 4%, #000 96%, transparent);
  mask-image:linear-gradient(transparent, #000 4%, #000 96%, transparent); }
.flowfolio__col{ display:flex; flex-direction:column; gap:.9rem; will-change:transform; }
.flowfolio__col--up{ animation:flowUp 42s linear infinite; }
.flowfolio__col--down{ animation:flowDown 48s linear infinite; }
.flowfolio:hover .flowfolio__col{ animation-play-state:paused; }
@keyframes flowUp{ from{ transform:translateY(0); } to{ transform:translateY(-50%); } }
@keyframes flowDown{ from{ transform:translateY(-50%); } to{ transform:translateY(0); } }
.flow-item{ position:relative; border-radius:14px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .4s var(--ease-out), box-shadow .4s; aspect-ratio:4/5; }
.flow-item img{ width:100%; height:100%; object-fit:cover; display:block; }
.flow-item figcaption{ position:absolute; inset:auto 0 0 0; padding:1.4rem .9rem .8rem; color:#fff; font-size:.85rem; font-weight:500; background:linear-gradient(to top, rgba(30,20,12,.82), transparent); opacity:0; transition:.35s var(--ease-out); }
.flowfolio:hover .flow-item:hover{ transform:scale(1.06); box-shadow:var(--shadow-lg); z-index:3; }
.flowfolio:hover .flow-item:hover figcaption{ opacity:1; }
@media(max-width:1100px){ .flowfolio{ grid-template-columns:repeat(3,1fr); } .flowfolio__col.c4{ display:none; } }
@media(max-width:760px){ .flowfolio{ grid-template-columns:repeat(2,1fr); height:min(78vh,680px); } .flowfolio__col.c3{ display:none; } }
@media(prefers-reduced-motion:reduce){ .flowfolio{ height:auto; overflow:visible; mask-image:none; -webkit-mask-image:none; } .flowfolio__col{ animation:none; } }

/* Our Story — editorial */
.story-hero{ text-align:center; padding:9rem 1.5rem 2rem; background:radial-gradient(120% 90% at 50% -10%, var(--paper-2), var(--paper) 62%); }
.story-lead{ font-family:var(--serif); font-size:clamp(1.4rem,2.6vw,2.1rem); line-height:1.5; color:var(--ink); max-width:24ch; margin:1.4rem auto 0; font-weight:400; }
.story-block{ max-width:680px; margin:0 auto; }
.story-block p{ font-size:clamp(1.05rem,1.5vw,1.2rem); line-height:1.85; color:var(--ink-soft); margin-bottom:1.4rem; }
.story-block p .drop{ float:left; font-family:var(--script); font-size:4.4rem; line-height:.8; color:var(--terracotta); padding:.1em .12em 0 0; }
.story-pull{ font-family:var(--script); font-size:clamp(2rem,4.5vw,3.4rem); line-height:1.2; color:var(--terracotta); text-align:center; max-width:18ch; margin:2.5rem auto; }
.story-figure{ margin:2.5rem auto; max-width:880px; }
.story-figure img{ width:100%; border-radius:18px; box-shadow:var(--shadow-lg); }
.story-figure figcaption{ text-align:center; font-size:.85rem; color:var(--ink-faint); margin-top:.7rem; }
.story-band{ background:var(--ink); color:#F2E7D6; text-align:center; }
.story-band h2{ color:#FBF3E6; }
.story-band p{ color:#cdbfae; max-width:46ch; margin:1rem auto 0; }

/* ============================================================
   v13 — welcome popup image + consistent spacing/rhythm
   ============================================================ */
.welcome-box__pic{ width:100%; aspect-ratio:16/10; object-fit:cover; border-radius:14px; margin:0 0 1.2rem; box-shadow:var(--shadow-sm); }
.welcome-box h3{ margin-bottom:.5rem; }

/* Consistent vertical rhythm so nothing sits too tight against the next element */
.section-head{ margin-bottom:clamp(2.2rem,4vw,3.2rem); }
.section-head h2{ margin:.2rem 0 .7rem; }
.section-head p{ margin-top:.7rem; font-size:1.08rem; line-height:1.7; }
.page-hero .display{ margin-bottom:.2rem; }
.page-hero .display + .lead, .page-hero .display + p, .page-hero .display + .story-lead{ margin-top:1.15rem; }
.split__text h2{ margin-bottom:.6rem; }
.split__text p{ margin-bottom:1.1rem; line-height:1.75; }
.svc__desc{ line-height:1.6; }
.feature__txt p, .how-card p, .step p{ line-height:1.6; }
.lead, .hero2__sub{ line-height:1.72; }
/* a little air under each section's heading block + above closing CTAs */
.cta-band p{ margin-bottom:1.6rem; }

/* ============================================================
   v14 — Journal (blog) index + post
   ============================================================ */
.blog-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(300px,1fr)); gap:1.6rem; }
.blog-card{ display:flex; flex-direction:column; background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden; transition:transform .3s var(--ease-out), box-shadow .3s; }
.blog-card:hover{ transform:translateY(-4px); box-shadow:var(--shadow-md); }
.blog-card__cover{ display:block; aspect-ratio:16/10; overflow:hidden; background:var(--paper-2); }
.blog-card__cover img{ width:100%; height:100%; object-fit:cover; transition:transform .5s var(--ease-out); }
.blog-card:hover .blog-card__cover img{ transform:scale(1.05); }
.blog-card__body{ padding:1.2rem 1.3rem 1.4rem; display:flex; flex-direction:column; gap:.5rem; flex:1; }
.blog-card__tag{ align-self:flex-start; font-size:.72rem; letter-spacing:.06em; text-transform:uppercase; color:var(--terracotta); font-weight:600; text-decoration:none; }
.blog-card__body h2{ font-family:var(--serif); font-size:1.3rem; line-height:1.3; margin:0; }
.blog-card__body h2 a{ color:var(--ink); text-decoration:none; }
.blog-card__body h2 a:hover{ color:var(--terracotta); }
.blog-card__body p{ color:var(--ink-soft); font-size:.95rem; line-height:1.6; margin:0; flex:1; }
.blog-card__meta{ display:flex; justify-content:space-between; align-items:center; font-size:.82rem; color:var(--ink-faint); margin-top:.3rem; }
.blog-card__meta a{ color:var(--terracotta); text-decoration:none; font-weight:600; display:inline-flex; align-items:center; gap:.25rem; }
.blog-card__meta a svg{ width:1em; }

.pager{ display:flex; gap:.5rem; justify-content:center; margin-top:2.5rem; flex-wrap:wrap; }
.pager a{ min-width:42px; height:42px; padding:0 .8rem; display:inline-flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:10px; text-decoration:none; color:var(--ink); font-weight:600; }
.pager a:hover{ border-color:var(--terracotta); color:var(--terracotta); }
.pager a.active{ background:var(--terracotta); color:#fff; border-color:var(--terracotta); }

/* Post */
.post-hero{ padding-block:clamp(2rem,5vw,3.5rem) 1rem; }
.post-tags{ display:flex; gap:.5rem; justify-content:center; flex-wrap:wrap; margin-bottom:.7rem; }
.post-tags a{ font-size:.74rem; letter-spacing:.05em; text-transform:uppercase; color:var(--terracotta); font-weight:600; text-decoration:none; border:1px solid var(--line); border-radius:999px; padding:.2rem .7rem; }
.post-meta{ text-align:center; color:var(--ink-faint); margin-top:.6rem; }
.post-cover{ width:100%; max-height:520px; object-fit:cover; border-radius:18px; margin:1.5rem 0; box-shadow:var(--shadow-md); }
.post-body{ font-size:1.1rem; line-height:1.85; color:var(--ink); padding-block:1rem 1.5rem; }
.post-body > *{ max-width:none; }
.post-body h2{ font-family:var(--serif); font-size:clamp(1.6rem,3vw,2.1rem); margin:2rem 0 .8rem; line-height:1.25; }
.post-body h3{ font-family:var(--serif); font-size:1.4rem; margin:1.6rem 0 .6rem; }
.post-body p{ margin:0 0 1.3rem; }
.post-body ul, .post-body ol{ margin:0 0 1.3rem 1.3rem; display:flex; flex-direction:column; gap:.5rem; }
.post-body li{ line-height:1.7; }
.post-body a{ color:var(--terracotta); text-decoration:underline; text-underline-offset:3px; }
.post-body img{ max-width:100%; height:auto; border-radius:12px; margin:1.2rem 0; }
.post-body blockquote{ margin:1.6rem 0; padding:1rem 1.4rem; border-left:4px solid var(--ochre); background:var(--paper-2); border-radius:0 12px 12px 0; font-family:var(--serif); font-style:italic; font-size:1.2rem; color:var(--ink-soft); }
.post-body code{ background:var(--paper-2); padding:.1em .4em; border-radius:5px; font-size:.92em; }
.post-share{ display:flex; align-items:center; gap:.6rem; flex-wrap:wrap; padding:1.2rem 0 0; border-top:1px solid var(--line-soft); margin-top:1rem; }
.post-share span{ font-weight:600; display:inline-flex; align-items:center; gap:.35rem; color:var(--ink-soft); }
.post-share span svg{ width:1.05em; color:var(--terracotta); }
.post-share a{ font-size:.86rem; font-weight:600; text-decoration:none; color:var(--ink); border:1px solid var(--line); border-radius:999px; padding:.4rem .9rem; transition:all .2s; }
.post-share a:hover{ background:var(--terracotta); color:#fff; border-color:var(--terracotta); }
