/* =========================================================
   Crowell–Collier Publishing — Homepage
   Bootstrap 5 grid + custom editorial styles
   ========================================================= */

:root {
  --paper: #f3efe6;
  --paper-2: #e8e2d4;
  --paper-3: #fbf9f4;
  --ink: #151413;
  --ink-2: #2b2926;
  --muted: #6d685f;
  --accent: #e2482c;      /* vermillion */
  --accent-dk: #c23a20;
  --green: #22382c;
  --line: rgba(21, 20, 19, .16);
  --line-light: rgba(243, 239, 230, .18);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --type: "Courier Prime", "Courier New", monospace;

  --ease: cubic-bezier(.22, .9, .3, 1);
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); font-weight: 400; margin: 0; }
p { margin: 0 0 1rem; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #fff; }

section { padding: 120px 0; }

.kicker {
  font-size: .78rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4rem;
}
.kicker.light { color: rgba(243, 239, 230, .55); }

.h-display {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.02;
  letter-spacing: -.015em;
  margin-bottom: 1.5rem;
}
.text-paper { color: var(--paper) !important; }
.muted-light { color: rgba(243, 239, 230, .62); }
.lead-copy { font-size: 1.2rem; color: var(--ink); }
.hand { font-family: var(--hand); font-size: 1.5rem; color: var(--accent); line-height: 1.1; }

/* ---------- Buttons & links ---------- */
.btn-ink, .btn-accent, .btn-paper {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .95rem 1.6rem; font-size: .95rem; font-weight: 500;
  border: 0; border-radius: 2px; cursor: pointer;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-ink:hover { background: var(--accent); color: #fff; }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--paper); color: var(--ink); }
.btn-paper:hover { background: var(--ink); color: var(--paper); }
.btn-ink:active, .btn-accent:active, .btn-paper:active { transform: translateY(1px); }

.link-arrow {
  display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; font-size: .95rem; color: var(--ink);
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  padding-bottom: 2px; transition: background-size .35s var(--ease), color .2s;
}
.link-arrow::after { content: "→"; transition: transform .3s var(--ease); }
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--ink); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow.on-accent, .link-arrow.on-dark, .link-arrow.on-accent:hover, .link-arrow.on-dark:hover { color: var(--paper); }

/* ---------- Announcement ---------- */
.announce { background: var(--ink); color: rgba(243, 239, 230, .8); font-size: .85rem; padding: .6rem 0; text-align: center; }
.announce p { margin: 0; }
.announce strong { color: var(--paper); font-weight: 600; }
.announce a { color: var(--paper); border-bottom: 1px solid rgba(243, 239, 230, .4); margin-left: .3rem; }
.announce a:hover { border-color: var(--paper); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1030;
  background: rgba(243, 239, 230, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .navbar { padding: 1.1rem 0; }

.wordmark { font-family: var(--serif); font-size: 1.85rem; line-height: 1; color: var(--ink); letter-spacing: -.01em; padding: 0; }
.wordmark span { color: var(--accent); }
.wordmark small { display: block; font-family: var(--sans); font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-top: .35rem; }
.wordmark:hover { color: var(--ink); }

.navbar-nav .nav-link { color: var(--ink); font-size: .95rem; padding: .4rem .85rem !important; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.show { color: var(--accent); }
.dropdown-toggle::after { border: 0; content: "+"; vertical-align: 0; margin-left: .25rem; font-size: .9rem; transition: transform .25s; }
.nav-link.show.dropdown-toggle::after { transform: rotate(45deg); }

.services-drop { border: 1px solid var(--line); border-radius: 2px; padding: 1.2rem; background: var(--paper-3); min-width: 440px; margin-top: .6rem !important; box-shadow: 0 24px 40px -24px rgba(0,0,0,.25); }
.drop-label { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 0 .8rem .5rem; }
.services-drop .dropdown-item { padding: .45rem .8rem; font-size: .95rem; color: var(--ink); border-radius: 2px; }
.services-drop .dropdown-item:hover { background: var(--paper-2); color: var(--accent); }

.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.nav-tel { font-size: .92rem; color: var(--ink); white-space: nowrap; }
.nav-tel:hover { color: var(--accent); }
.nav-right .btn-ink { padding: .7rem 1.2rem; font-size: .9rem; }

.navbar-toggler { border: 1px solid var(--ink); border-radius: 2px; padding: .4rem .9rem; font-size: .85rem; color: var(--ink); box-shadow: none !important; }

/* ---------- Hero ---------- */
.hero { padding: 80px 0 0; }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(3.1rem, 7.6vw, 7rem);
  line-height: .95; letter-spacing: -.025em;
}
.scribble { position: relative; display: inline-block; font-style: italic; color: var(--accent); }
.scribble svg { position: absolute; left: -2%; bottom: -.12em; width: 104%; height: .32em; overflow: visible; }
.scribble path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 700; stroke-dashoffset: 700; animation: draw 1.4s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-lead { font-size: 1.1rem; max-width: 440px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 1.8rem; }

.hero-stage { margin-top: 70px; border-top: 1px solid var(--ink); }

/* stack of books lying flat */
.stack { position: relative; padding: 60px 0 0; display: flex; flex-direction: column; align-items: flex-start; }
.spine {
  height: 54px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.4rem; color: var(--paper); font-size: .85rem; letter-spacing: .04em;
  border-radius: 2px 6px 6px 2px; position: relative;
  box-shadow: inset 0 -3px 0 rgba(0,0,0,.18), inset 0 2px 0 rgba(255,255,255,.08);
  transition: transform .5s var(--ease);
}
.spine span { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0; }
.spine em { font-style: normal; font-size: .7rem; text-transform: uppercase; letter-spacing: .14em; opacity: .75; }
.spine::before, .spine::after { content: ""; position: absolute; top: 9px; bottom: 9px; width: 1px; background: currentColor; opacity: .3; }
.spine::before { left: 9px; }
.spine::after { right: 26%; }
.s-1 { width: 74%; background: var(--green); margin-left: 4%; }
.s-2 { width: 86%; background: #2c3e66; height: 64px; }
.s-3 { width: 70%; background: var(--accent); margin-left: 9%; height: 46px; }
.s-4 { width: 80%; background: #d9b24a; color: var(--ink); margin-left: 2%; }
.s-5 { width: 66%; background: #e6b8b0; color: var(--ink); margin-left: 12%; height: 48px; }
.s-empty {
  width: 72%; margin-left: 6%; height: 56px; background: transparent; color: var(--muted);
  border: 1.5px dashed var(--muted); box-shadow: none; justify-content: center;
}
.s-empty::before, .s-empty::after { display: none; }
.s-empty span { font-style: italic; color: var(--muted); }
.stack:hover .s-2 { transform: translateX(14px); }
.stack:hover .s-4 { transform: translateX(-10px); }
.stack:hover .s-empty { transform: translateY(-4px); }
.hand-note {
  position: absolute; left: 80%; bottom: 10px; margin: 0; width: 190px;
  font-family: var(--hand); font-size: 1.45rem; color: var(--accent); line-height: 1.05; transform: rotate(-4deg);
}
.hn-arrow { display: inline-block; margin-right: .2rem; }

.ledger { margin: 0; padding: 60px 0 0 2.5rem; }
.ledger div { padding: 1.1rem 0; border-bottom: 1px solid var(--line); display: flex; align-items: baseline; gap: 1.2rem; }
.ledger div:last-child { border-bottom: 0; }
.ledger dt { font-family: var(--serif); font-weight: 400; font-size: 2.6rem; line-height: 1; color: var(--ink); min-width: 120px; }
.ledger dd { margin: 0; font-size: .92rem; color: var(--muted); }

/* ---------- Platforms ---------- */
.platforms { padding: 0; }
.platforms-row {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); padding: 1.4rem 0;
}
.platforms-label { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.platforms ul { display: flex; flex-wrap: wrap; gap: .4rem 2.2rem; list-style: none; margin: 0; padding: 0; flex: 1; justify-content: space-between; }
.platforms li { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); opacity: .75; }

/* ---------- About ---------- */
.manuscript {
  position: relative; margin: 0; background: var(--paper-3); padding: 2.6rem 3rem 2.2rem 4.2rem;
  box-shadow: 0 1px 0 var(--line), 0 30px 50px -35px rgba(0,0,0,.35);
  transform: rotate(.6deg);
  background-image: linear-gradient(90deg, transparent 2.8rem, rgba(226,72,44,.35) 2.8rem, rgba(226,72,44,.35) calc(2.8rem + 1px), transparent calc(2.8rem + 1px));
}
.ms-head { display: flex; justify-content: space-between; font-family: var(--type); font-size: .75rem; color: var(--muted); margin-bottom: 1.6rem; }
.ms-text { font-family: var(--type); font-size: 1rem; line-height: 2.1; color: var(--ink); max-width: 80%; }
.ms-text del { text-decoration-color: var(--accent); text-decoration-thickness: 2px; color: var(--muted); }
.ms-text .ins { font-family: var(--hand); font-size: 1.4rem; color: var(--accent); line-height: 1; }
.margin-note {
  position: absolute; right: 1rem; width: 130px; font-family: var(--hand); font-size: 1.25rem; line-height: 1.05;
  color: var(--accent); transform: rotate(-5deg);
}
.n-1 { top: 4.4rem; }
.n-2 { bottom: 5.8rem; transform: rotate(3deg); }
.manuscript figcaption { margin-top: 1.4rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.about-actions { display: flex; flex-wrap: wrap; gap: 1.6rem; align-items: center; margin-top: 2rem; }

.about-facts { margin-top: 3rem; border-top: 1px solid var(--ink); }
.fact { padding: 1.4rem 1.4rem 0 0; }
.about-facts .col-sm-4 + .col-sm-4 .fact { padding-left: 1.4rem; border-left: 1px solid var(--line); }
.fact span { font-size: .75rem; color: var(--accent); font-weight: 600; }
.fact h3 { font-family: var(--serif); font-size: 1.5rem; margin: .4rem 0; }
.fact p { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Services index ---------- */
.services { background: var(--ink); color: var(--paper); }
.svc-list { border-top: 1px solid var(--line-light); }
.svc-row {
  display: grid; grid-template-columns: 70px minmax(0, 1.1fr) minmax(0, 1.3fr) 60px; align-items: center; gap: 1.5rem;
  padding: 1.6rem .5rem; border-bottom: 1px solid var(--line-light); color: var(--paper);
  position: relative; isolation: isolate; transition: color .3s, padding .4s var(--ease);
}
.svc-row::before {
  content: ""; position: absolute; inset: 0; background: var(--paper); z-index: -1;
  transform: scaleY(0); transform-origin: bottom; transition: transform .4s var(--ease);
}
.svc-num { font-size: .85rem; color: rgba(243, 239, 230, .5); transition: color .3s; }
.svc-row h3 { font-family: var(--serif); font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.05; color: inherit; }
.svc-row p { margin: 0; font-size: .95rem; color: rgba(243, 239, 230, .6); transition: color .3s; }
.svc-arrow { justify-self: end; font-size: 1.5rem; transition: transform .4s var(--ease); }
.svc-row:hover { color: var(--ink); padding-left: 1.4rem; padding-right: 1.4rem; }
.svc-row:hover::before { transform: scaleY(1); }
.svc-row:hover .svc-num { color: var(--accent); }
.svc-row:hover p { color: var(--ink-2); }
.svc-row:hover .svc-arrow { transform: rotate(-45deg); color: var(--accent); }

/* ---------- Statement ---------- */
.statement { padding: 130px 0; }
.statement-text {
  font-family: var(--serif); font-size: clamp(2rem, 4.4vw, 3.9rem); line-height: 1.1; letter-spacing: -.015em;
  color: var(--ink); max-width: 1100px; margin-bottom: 2.4rem;
}
.circled { position: relative; display: inline-block; font-style: italic; white-space: nowrap; }
.circled svg { position: absolute; left: -8%; top: -18%; width: 116%; height: 140%; overflow: visible; pointer-events: none; }
.circled path { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-dasharray: 900; stroke-dashoffset: 900; }
.statement.in-view .circled path { animation: draw 1.6s var(--ease) forwards; }
.statement-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; }

/* ---------- Books ---------- */
.books { padding-top: 40px; }
@media (min-width: 1200px) { .col-xl-15 { flex: 0 0 auto; width: 20%; } }

.filters { display: flex; flex-wrap: wrap; gap: .3rem 1.4rem; list-style: none; margin: 0 0 1.5rem; padding: 0; justify-content: flex-end; }
.filters button {
  background: none; border: 0; padding: .2rem 0; font-size: .95rem; color: var(--muted); cursor: pointer;
  border-bottom: 1px solid transparent; transition: color .2s, border-color .2s;
}
.filters button sup { font-size: .65rem; margin-left: 1px; }
.filters button:hover { color: var(--ink); }
.filters button.active { color: var(--ink); border-bottom-color: var(--accent); }

.book-grid { border-top: 1px solid var(--ink); padding-top: 2.5rem; }
.book-grid > .row { margin-top: 0; }
.bk.is-hidden { display: none; }
.bk-meta { font-size: .82rem; color: var(--muted); margin: .9rem 0 0; }
.bk-meta strong { display: block; font-weight: 500; color: var(--ink); font-size: .95rem; }

/* covers — each one designed differently, like a real list */
.cover {
  position: relative; aspect-ratio: 2 / 3; overflow: hidden; padding: 12% 11%;
  display: flex; flex-direction: column; border-radius: 1px 3px 3px 1px;
  box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 18px 30px -18px rgba(0,0,0,.45);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cover::after { /* subtle spine crease */
  content: ""; position: absolute; top: 0; bottom: 0; left: 5px; width: 2px;
  background: linear-gradient(90deg, rgba(0,0,0,.18), rgba(255,255,255,.15));
}
.bk:hover .cover { transform: translateY(-8px) rotate(-1.2deg); box-shadow: 0 1px 2px rgba(0,0,0,.12), 0 30px 40px -22px rgba(0,0,0,.5); }
.cv-t { margin: 0; line-height: 1; }
.cv-a { margin: auto 0 0; font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; }
.cv-sub { font-size: .66rem; margin: .5rem 0 0; opacity: .8; }

.cv-fires { background: #121212; color: #f3efe6; }
.cv-fires .cv-sun { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: var(--accent); top: 14%; left: 30%; }
.cv-fires .cv-t { font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.3rem); margin-top: auto; position: relative; }
.cv-fires .cv-a { margin-top: .8rem; position: relative; }

.cv-bloom { background: #f1c9c3; color: #3a1a24; text-align: center; align-items: center; }
.cv-bloom .cv-t { font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.1rem); line-height: .95; }
.cv-bloom .cv-t i { font-size: .65em; }
.cv-petals { position: relative; width: 44%; aspect-ratio: 1; margin: auto; }
.cv-petals b { position: absolute; width: 50%; height: 50%; border-radius: 50% 0; background: #b73e5d; left: 25%; top: 0; transform-origin: 50% 100%; }
.cv-petals b:nth-child(2) { transform: rotate(72deg); background: #c9516d; }
.cv-petals b:nth-child(3) { transform: rotate(144deg); }
.cv-petals b:nth-child(4) { transform: rotate(216deg); background: #c9516d; }
.cv-petals b:nth-child(5) { transform: rotate(288deg); }
.cv-bloom .cv-a { margin-top: 0; }

.cv-horizons {
  background: linear-gradient(180deg, #f4e3c3 0 30%, #f0b77a 30% 46%, #e2834f 46% 60%, #b24f3a 60% 72%, #6e3a3a 72% 84%, #33263a 84%);
  color: #33263a;
}
.cv-horizons .cv-t { font-family: var(--sans); font-weight: 600; font-size: clamp(.95rem, 1.4vw, 1.2rem); text-transform: uppercase; letter-spacing: .06em; }
.cv-horizons .cv-sub { font-family: var(--serif); font-style: italic; font-size: .9rem; }
.cv-horizons .cv-a { color: #f4e3c3; }

.cv-tides {
  background-color: #1d3557; color: #f1ece2; justify-content: center; text-align: center;
  background-image: repeating-radial-gradient(circle at 50% 120%, transparent 0 14px, rgba(241,236,226,.12) 14px 15px);
}
.cv-tides .cv-t { font-family: var(--serif); font-size: clamp(1.6rem, 2.5vw, 2.3rem); margin: auto 0; }
.cv-tides .cv-t i { display: block; font-size: 1.5em; }
.cv-tides .cv-a { margin: 0; }

.cv-omen { background: #ece7dc; color: #111; }
.cv-omen .cv-t { font-family: var(--sans); font-weight: 600; font-size: clamp(1.7rem, 2.9vw, 2.7rem); letter-spacing: -.04em; line-height: .86; }
.cv-omen .cv-slash { position: absolute; width: 140%; height: 10px; background: var(--accent); left: -20%; top: 62%; transform: rotate(-28deg); }
.cv-omen .cv-a { position: relative; }

.cv-crown {
  background-color: var(--green); color: #e9d9a6; text-align: center; align-items: center;
  background-image: radial-gradient(#e9d9a6 1px, transparent 1.5px), radial-gradient(rgba(233,217,166,.5) 1px, transparent 1.5px);
  background-size: 34px 34px, 21px 21px; background-position: 0 0, 10px 14px;
}
.cv-crown .cv-a { margin: 0 0 auto; }
.cv-crown .cv-t { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.2rem); background: var(--green); padding: .4rem .5rem; }
.cv-crown .cv-sub { margin: .4rem 0 auto; font-style: italic; background: var(--green); padding: 0 .4rem; }

.cv-orbit { background: #efe6d2; color: #2a2522; }
.cv-orbit .cv-rings {
  position: absolute; width: 120%; aspect-ratio: 1; left: -10%; top: 8%; border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0 18px, rgba(42,37,34,.35) 18px 19px);
}
.cv-orbit .cv-rings::after { content: ""; position: absolute; width: 14px; height: 14px; border-radius: 50%; background: var(--accent); top: 22%; right: 26%; }
.cv-orbit .cv-t { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.3vw, 2.1rem); margin-top: auto; position: relative; background: #efe6d2; align-self: flex-start; padding-right: .4rem; }
.cv-orbit .cv-a { margin-top: .6rem; position: relative; }

.cv-wild { background: #5d6b3a; color: #f0ead8; }
.cv-wild .cv-t { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.85rem); line-height: 1.02; position: relative; }
.cv-wild .cv-trees {
  position: absolute; left: 0; right: 0; bottom: 0; height: 58%;
  background:
    linear-gradient(to top right, transparent 49.5%, #2f3a1f 50%) 0 100% / 25% 100% no-repeat,
    linear-gradient(to top left, transparent 49.5%, #2f3a1f 50%) 25% 100% / 25% 100% no-repeat,
    linear-gradient(to top right, transparent 49.5%, #3b4826 50%) 50% 100% / 25% 80% no-repeat,
    linear-gradient(to top left, transparent 49.5%, #3b4826 50%) 75% 100% / 25% 80% no-repeat,
    linear-gradient(to top right, transparent 49.5%, #263019 50%) 100% 100% / 22% 92% no-repeat;
}
.cv-wild .cv-a { position: relative; color: #f0ead8; }

.cv-echo { background: #d7dde0; color: #1f2a30; justify-content: center; }
.cv-echo .cv-t { font-family: var(--serif); font-size: clamp(1.3rem, 2vw, 1.8rem); line-height: 1.05; margin: auto 0; }
.cv-echo .cv-t span { display: block; }
.cv-echo .cv-t span:nth-child(2) { opacity: .35; filter: blur(.5px); }
.cv-echo .cv-t span:nth-child(3) { opacity: .12; filter: blur(1px); }
.cv-echo .cv-a { margin: 0; }

.cv-ember { background: #d9c3a5; color: #2b2119; }
.cv-ember .cv-dot { width: 18px; height: 18px; border-radius: 50%; background: var(--accent); margin: auto 0 1.2rem; box-shadow: 0 0 0 6px rgba(226,72,44,.15); flex-shrink: 0; }
.cv-ember .cv-t { font-family: var(--sans); font-weight: 500; font-size: clamp(1.15rem, 1.7vw, 1.45rem); letter-spacing: -.02em; }
.cv-ember .cv-sub { margin-bottom: 0; }
.cv-ember .cv-a { margin-top: 1.4rem; }

.books-foot {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem;
  margin-top: 4rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
}
.books-foot p { margin: 0; color: var(--muted); font-size: .95rem; }
.books-foot div { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; }

/* ---------- Process ---------- */
.process { background: var(--paper-3); }
.steps { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.steps li { padding: 1.6rem 2rem 1rem 0; position: relative; }
.steps li + li { padding-left: 2rem; border-left: 1px solid var(--line); }
.step-when { display: block; font-size: .8rem; color: var(--muted); margin-bottom: 2.2rem; }
.step-n { display: block; font-family: var(--serif); font-size: 5rem; line-height: .8; color: var(--accent); margin-bottom: 1.4rem; }
.steps h3 { font-family: var(--serif); font-size: 1.75rem; margin-bottom: .7rem; }
.steps p { font-size: .95rem; color: var(--muted); }

/* ---------- Testimonials ---------- */
.authors { padding-bottom: 100px; }
.quote-wrap { display: grid; }
.quote {
  grid-area: 1 / 1; margin: 0; font-family: var(--serif); font-size: clamp(1.9rem, 3.8vw, 3.3rem); line-height: 1.12;
  letter-spacing: -.01em; color: var(--ink); max-width: 1080px;
  opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .6s var(--ease); pointer-events: none;
}
.quote.is-active { opacity: 1; transform: none; pointer-events: auto; }
.quote-people { display: flex; flex-wrap: wrap; margin-top: 3.2rem; border-top: 1px solid var(--ink); }
.person {
  display: flex; align-items: center; gap: .8rem; text-align: left; background: none; border: 0;
  padding: 1.2rem 2rem 0 0; margin-right: 1rem; cursor: pointer; opacity: .45; transition: opacity .3s;
  position: relative;
}
.person::before { content: ""; position: absolute; left: 0; right: 2rem; top: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.person:hover { opacity: .8; }
.person.is-active { opacity: 1; }
.person.is-active::before { transform: scaleX(1); }
.person strong { display: block; font-weight: 500; color: var(--ink); font-size: .95rem; }
.person small { color: var(--muted); font-size: .82rem; }
.av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; font-weight: 600; color: var(--paper); flex-shrink: 0; }
.av-1 { background: var(--accent); }
.av-2 { background: #2c3e66; }
.av-3 { background: var(--green); }
.av-4 { background: #b08a2e; }

/* ---------- Offer ---------- */
.offer { background: var(--accent); color: #fff; padding: 90px 0; }
.offer-title { font-family: var(--serif); color: #fff; font-size: clamp(2.4rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -.02em; }
.offer p { color: rgba(255,255,255,.9); }
.offer-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.6rem; margin-top: 1.4rem; }
.offer-hand { display: inline-block; color: var(--ink); margin-top: 1.2rem; transform: rotate(-3deg); }

/* ---------- Journal ---------- */
.post-meta { display: flex; gap: 1rem; font-size: .8rem; color: var(--muted); margin-bottom: .7rem; }
.post-meta span { color: var(--accent); font-weight: 500; }
.post-feature .pf-art {
  display: grid; place-items: end start; aspect-ratio: 16 / 10; background: var(--green); margin-bottom: 1.5rem;
  padding: 1.6rem; overflow: hidden; position: relative;
}
.pf-art::before {
  content: ""; position: absolute; width: 60%; aspect-ratio: 1; border-radius: 50%; right: -8%; top: -18%;
  background: #e9d9a6; transition: transform .8s var(--ease);
}
.pf-word { font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 7vw, 6rem); color: var(--paper); line-height: .9; position: relative; }
.post-feature:hover .pf-art::before { transform: translate(-20px, 20px) scale(1.05); }
.post-feature h3 { font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.08; margin-bottom: .8rem; }
.post-feature h3 a, .post-row h3 a { background: linear-gradient(var(--ink), var(--ink)) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.post-feature h3 a:hover, .post-row h3 a:hover { background-size: 100% 1px; color: var(--ink); }
.post-feature p { color: var(--muted); }
.post-row { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.post-row:first-child { border-top: 0; padding-top: 0; }
.post-row h3 { font-family: var(--serif); font-size: 1.65rem; line-height: 1.1; margin-bottom: .6rem; }
.post-row p { font-size: .95rem; color: var(--muted); margin: 0; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper-3); }
.faq-tel { display: inline-block; font-family: var(--serif); font-size: 1.8rem; color: var(--ink); border-bottom: 1px solid var(--accent); }
.faq-tel:hover { color: var(--accent); }
.ghost-note { margin-top: 3rem; padding: 1.6rem 0 0; border-top: 1px solid var(--ink); }
.ghost-note h3 { font-family: var(--serif); font-size: 1.6rem; margin-bottom: .6rem; }
.ghost-note p { font-size: .95rem; color: var(--muted); }

.faq-list { border-top: 1px solid var(--ink); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.5rem 0; font-family: var(--serif); font-size: clamp(1.35rem, 2vw, 1.75rem); color: var(--ink); line-height: 1.2;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; font-weight: 300; transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-list details[open] summary::after { transform: rotate(45deg); color: var(--accent); }
.faq-list summary:hover { color: var(--accent); }
.faq-list details p { max-width: 640px; color: var(--muted); padding-bottom: 1.6rem; margin: 0; }

/* ---------- Contact ---------- */
.contact { background: var(--ink); color: var(--paper); }
.contact-lines { list-style: none; padding: 0; margin: 2.4rem 0 0; border-top: 1px solid var(--line-light); }
.contact-lines li { padding: 1rem 0; border-bottom: 1px solid var(--line-light); }
.contact-lines span { display: block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(243,239,230,.5); }
.contact-lines a { word-break: break-word; }
.contact-lines a:hover { color: var(--accent); }

.letter-form { background: var(--paper); color: var(--ink); padding: 3rem; border-radius: 2px; }
.letter { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2.1rem); line-height: 1.6; color: var(--ink); margin-bottom: 1.6rem; }
.letter input {
  font-family: var(--hand); font-size: 1.15em; color: var(--accent); background: transparent;
  border: 0; border-bottom: 1.5px solid var(--ink); border-radius: 0; padding: 0 .3rem; width: 11ch; max-width: 100%; outline: none;
  transition: border-color .2s;
}
.letter input#fEmail { width: 14ch; }
.letter input::placeholder { color: rgba(21,20,19,.35); font-family: var(--serif); font-size: .7em; font-style: italic; }
.letter input:focus { border-bottom-color: var(--accent); }
.letter input.invalid { border-bottom-color: var(--accent); border-bottom-style: dashed; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span {
  display: inline-block; padding: .5rem 1rem; border: 1px solid var(--ink); border-radius: 2px; font-size: .9rem;
  transition: background .2s, color .2s;
}
.chips span:hover { background: var(--paper-2); }
.chips input:checked + span { background: var(--ink); color: var(--paper); }
.chips input:checked + span::before { content: "✓ "; color: var(--accent); }
.chips input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.chips.shake { animation: shake .35s; }
@keyframes shake { 25% { transform: translateX(-5px); } 75% { transform: translateX(5px); } }

.note-label { display: block; font-size: .85rem; color: var(--muted); margin-bottom: .4rem; }
.letter-form textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; resize: vertical;
  font-family: var(--sans); font-size: 1rem; padding: 0; outline: none; color: var(--ink);
  background: repeating-linear-gradient(180deg, transparent 0 31px, var(--line) 31px 32px); line-height: 32px;
}
.letter-form textarea:focus { border-bottom-color: var(--accent); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 2rem; }
.form-msg { margin: 0; font-size: .95rem; }
.form-msg.ok { color: var(--green); font-family: var(--hand); font-size: 1.5rem; }
.form-msg.err { color: var(--accent); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(243,239,230,.65); padding: 90px 0 30px; border-top: 1px solid var(--line-light); font-size: .92rem; }
.foot-intro { font-family: var(--serif); font-size: 1.6rem; line-height: 1.2; color: var(--paper); max-width: 320px; margin-bottom: 1.4rem; }
.site-footer h4 { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(243,239,230,.45); margin-bottom: 1.1rem; font-weight: 500; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .55rem; }
.site-footer ul a:hover { color: var(--paper); }
.foot-mark {
  font-family: var(--serif); font-size: clamp(3.2rem, 14.5vw, 14.5rem); line-height: .8; letter-spacing: -.035em;
  color: var(--paper); margin: 80px 0 30px; white-space: nowrap; text-align: center;
}
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; border-top: 1px solid var(--line-light); font-size: .85rem; }
.foot-bottom p { margin: 0; }
.foot-bottom nav a { margin-left: 1.5rem; }
.foot-bottom nav a:hover { color: var(--paper); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1199.98px) {
  .nav-tel { display: none; }
  .navbar-nav .nav-link { padding: .4rem .6rem !important; }
}

@media (max-width: 991.98px) {
  section { padding: 90px 0; }
  .navbar-collapse { border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .6rem; }
  .navbar-nav .nav-link { padding: .7rem 0 !important; font-size: 1.1rem; border-bottom: 1px solid var(--line); }
  .services-drop { min-width: 0; border: 0; box-shadow: none; background: transparent; padding: 0 0 .6rem; }
  .nav-right { padding: 1.2rem 0 .6rem; justify-content: space-between; }
  .nav-tel { display: inline; }
  .hero { padding-top: 56px; }
  .ledger { padding: 2rem 0 0; }
  .stack { padding-top: 44px; }
  .s-1 { width: 82%; } .s-2 { width: 94%; } .s-3 { width: 78%; } .s-4 { width: 90%; } .s-5 { width: 74%; } .s-empty { width: 70%; }
  .hand-note { left: 76%; right: auto; bottom: 8px; width: 24%; font-size: 1.25rem; }
  .manuscript { padding: 2rem 1.6rem 1.8rem 3.4rem; background-image: linear-gradient(90deg, transparent 2.2rem, rgba(226,72,44,.35) 2.2rem, rgba(226,72,44,.35) calc(2.2rem + 1px), transparent calc(2.2rem + 1px)); }
  .margin-note { position: static; display: block; transform: rotate(-2deg); width: auto; margin-top: .4rem; }
  .n-2 { transform: rotate(1deg); }
  .ms-text { max-width: none; }
  .svc-row { grid-template-columns: 44px 1fr 40px; row-gap: .5rem; }
  .svc-row p { grid-column: 2 / 3; grid-row: 2; }
  .svc-arrow { grid-column: 3; grid-row: 1; }
  .steps li:nth-child(3) { border-left: 0; padding-left: 0; }
  .steps li { border-bottom: 1px solid var(--line); }
  .filters { justify-content: flex-start; }
  .letter-form { padding: 2.2rem 1.6rem; }
}

@media (max-width: 767.98px) {
  body { font-size: 16px; }
  section { padding: 72px 0; }
  .container { padding-left: 20px; padding-right: 20px; }
  .spine { height: 46px; padding: 0 1rem; }
  .spine span { font-size: 1.1rem; }
  .spine em { display: none; }
  .s-2 { height: 52px; }
  .s-3, .s-5 { height: 40px; }
  .hand-note { position: static; margin: .8rem 0 0 6%; transform: rotate(-2deg); width: auto; }
  .hn-arrow { transform: rotate(90deg); }
  .ledger dt { font-size: 2.1rem; min-width: 96px; }
  .platforms-row { gap: .8rem; }
  .platforms ul { justify-content: flex-start; gap: .2rem 1.4rem; }
  .platforms li { font-size: 1.15rem; }
  .about-facts .col-sm-4 + .col-sm-4 .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 1.4rem; }
  .steps li, .steps li + li { padding: 1.6rem 0 1rem; border-left: 0; }
  .step-when { margin-bottom: 1rem; }
  .step-n { font-size: 3.6rem; }
  .person { padding-right: 1rem; margin-right: 0; width: 50%; }
  .person::before { right: 1rem; }
  .person small { display: none; }
  .av { width: 36px; height: 36px; }
  .letter input, .letter input#fEmail { width: 100%; display: block; margin: .2rem 0 .4rem; }
  .foot-bottom nav a { margin: 0 1.2rem 0 0; }
  .circled { white-space: normal; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .scribble path, .circled path { stroke-dashoffset: 0; }
  .reveal { opacity: 1; transform: none; }
}
