/* =========================================================================
   amazonselfpublishers — global stylesheet
   Colors and type follow the reference site's theme
   (orange #f39200 / #ff9900 / #ffaa17, black header & footer,
   #171717 / #222429 darks, #eff1f4 panels, Josefin Sans headings).
   Edit design tokens in :root below.
   ========================================================================= */

@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-latin-600-normal.woff2") format("woff2");
  font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Josefin Sans";
  src: url("../fonts/josefin-sans-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  /* Brand — from reference theme */
  --orange: #f39200;          /* --thm-base on reference */
  --orange-bright: #ff9900;   /* primary buttons on reference */
  --orange-soft: #ffaa17;     /* links / hover accents on reference */
  --orange-deep: #d37e00;     /* pressed state */
  --orange-ink: #9a5800;      /* accessible orange for text on light backgrounds */
  --orange-tint: #fff4e2;

  /* Neutrals */
  --black: #000000;
  --ink-900: #0d0d0e;
  --ink-800: #171717;
  --ink-700: #222429;
  --ink-600: #2e3036;
  --text: #55575c;
  --text-muted: #686a6f;
  --text-on-dark: #c9cbd0;
  --bg: #ffffff;
  --bg-alt: #eff1f4;
  --bg-warm: #faf8f5;
  --line: #e1e4e8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --success: #1f7a3d;
  --danger: #b42318;

  /* Type */
  --font-display: "Josefin Sans", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-300: 0.875rem;
  --fs-400: 1rem;
  --fs-500: 1.125rem;
  --fs-600: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-700: clamp(1.6rem, 1.3rem + 1.1vw, 2.25rem);
  --fs-800: clamp(2rem, 1.5rem + 2vw, 3.1rem);
  --fs-900: clamp(2.35rem, 1.6rem + 3vw, 3.9rem);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section-y: clamp(3.5rem, 2.5rem + 4vw, 6rem);
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(17, 18, 20, 0.06), 0 2px 8px rgba(17, 18, 20, 0.05);
  --shadow: 0 10px 30px rgba(17, 18, 20, 0.10);
  --shadow-lg: 0 24px 60px rgba(17, 18, 20, 0.18);
  --header-h: 84px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-400);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--orange-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink-800); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-700);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 0.6em;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-900); }
h2 { font-size: var(--fs-800); }
h3 { font-size: var(--fs-600); }
h4 { font-size: var(--fs-500); }
strong { color: var(--ink-700); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.on-dark :focus-visible, .site-header :focus-visible, .site-footer :focus-visible { outline-color: var(--orange-soft); }
::selection { background: var(--orange-soft); color: var(--black); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--orange); color: var(--black); padding: 0.75rem 1rem;
  font-weight: 700; border-radius: var(--radius-sm); text-decoration: none;
}
.skip-link:focus { top: 1rem; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 820px; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.8rem 1.4rem 0.7rem;
  font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: 0.02em;
  line-height: 1.1; text-decoration: none; text-align: center;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.btn .icon { width: 1.1em; height: 1.1em; margin-top: -0.12em; }
.btn-primary { background: var(--orange-bright); color: var(--ink-900); }
.btn-primary:hover { background: var(--orange-soft); color: var(--ink-900); transform: translateY(-1px); box-shadow: 0 8px 22px rgba(243, 146, 0, 0.32); }
.btn-primary:active { background: var(--orange-deep); transform: none; }
.btn-dark { background: var(--ink-800); color: #fff; }
.btn-dark:hover { background: var(--ink-700); color: var(--orange-soft); }
.btn-outline { background: transparent; color: var(--ink-700); border-color: var(--ink-700); }
.btn-outline:hover { background: var(--ink-700); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,0.04); color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-ghost-light:hover { border-color: var(--orange-soft); color: var(--orange-soft); background: rgba(255,255,255,0.07); }
.btn-sm { min-height: 40px; padding: 0.6rem 1rem 0.5rem; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.85rem; align-items: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-weight: 700; color: var(--ink-700);
  text-decoration: none; letter-spacing: 0.01em;
}
.text-link .icon { width: 1em; height: 1em; margin-top: -0.15em; transition: transform .2s var(--ease); color: var(--orange); }
.text-link:hover { color: var(--orange-ink); }
.text-link:hover .icon { transform: translateX(3px); }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--ink-900); color: var(--text-on-dark); font-size: 0.85rem; border-bottom: 1px solid var(--line-dark); }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 38px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; display: inline-flex; gap: 0.4rem; align-items: center; font-weight: 600; }
.topbar a:hover { color: var(--orange-soft); }
.topbar .icon { width: 1em; height: 1em; color: var(--orange-soft); }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--black);
  border-bottom: 1px solid var(--line-dark);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(0,0,0,0.35); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.brand { display: block; flex: none; line-height: 0; border-radius: 4px; }
.brand img { width: 186px; height: auto; aspect-ratio: 3 / 1; }

.primary-nav { display: flex; align-items: center; flex: 1; gap: 1.5rem; justify-content: flex-end; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.7rem 0.85rem 0.6rem; min-height: 44px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; letter-spacing: 0.02em;
  color: #fff; text-decoration: none; background: none; border: 0; border-radius: var(--radius-sm);
  position: relative;
}
.nav-link::after {
  content: ""; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 6px; height: 2px;
  background: var(--orange-soft); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease);
}
.nav-link:hover, .nav-link[aria-expanded="true"] { color: var(--orange-soft); }
.nav-link:hover::after, .nav-link[aria-current="page"]::after, .nav-link.is-active::after { transform: scaleX(1); }
.nav-link[aria-current="page"], .nav-link.is-active { color: var(--orange-soft); }
.nav-link .icon { width: 0.95em; height: 0.95em; margin-top: -0.2em; transition: transform .2s var(--ease); }
.nav-link[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.header-phone {
  display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; text-decoration: none;
  font-family: var(--font-display); font-weight: 700; white-space: nowrap;
}
.header-phone .icon { color: var(--orange-soft); }
.header-phone:hover { color: var(--orange-soft); }

/* Dropdown + mega menu (desktop) */
.mega-menu, .dropdown {
  position: absolute; top: calc(100% + 14px); z-index: 120;
  background: #fff; color: var(--text);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  border-top: 3px solid var(--orange);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .18s var(--ease), transform .18s var(--ease), visibility 0s linear .18s;
}
.mega-menu::before, .dropdown::before { /* hover bridge */
  content: ""; position: absolute; left: 0; right: 0; top: -17px; height: 17px;
}
.has-menu.is-open > .mega-menu, .has-menu.is-open > .dropdown,
.no-js .has-menu:hover > .mega-menu, .no-js .has-menu:focus-within > .mega-menu,
.no-js .has-menu:hover > .dropdown, .no-js .has-menu:focus-within > .dropdown {
  opacity: 1; visibility: visible; transform: none; transition-delay: 0s;
}
/* The mega menu is positioned against .header-inner so it can never run off-screen */
.header-inner { position: relative; }
.nav-list > li.has-mega { position: static; }
.mega-menu { top: calc(100% - 2px); right: var(--gutter); width: min(900px, calc(100vw - 2 * var(--gutter))); }
.mega-menu::before { top: -24px; height: 24px; }
.mega-grid { display: grid; grid-template-columns: 1fr 1fr 230px; gap: 0; }
.mega-col { padding: 1.6rem 1.5rem 1.4rem; }
.mega-col + .mega-col { border-left: 1px solid var(--line); }
.mega-heading {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em;
  font-size: 0.74rem; color: var(--orange-ink); margin: 0 0 0.5rem;
}
.mega-group + .mega-group { margin-top: 1.1rem; }
.mega-list { list-style: none; margin: 0; padding: 0; }
.mega-list a, .dropdown a {
  display: flex; align-items: center; gap: 0.7rem;
  padding: 0.42rem 0.6rem; margin-inline: -0.6rem; border-radius: var(--radius-sm);
  color: var(--ink-700); text-decoration: none; font-weight: 500; font-size: 0.95rem; line-height: 1.3;
}
.mega-list .icon { width: 1.15rem; height: 1.15rem; color: var(--orange); }
.mega-list a:hover, .dropdown a:hover, .mega-list a[aria-current="page"], .dropdown a[aria-current="page"] { background: var(--orange-tint); color: var(--black); }
.mega-aside {
  background: var(--ink-800); color: var(--text-on-dark);
  padding: 1.6rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0;
  display: flex; flex-direction: column; gap: 0.8rem;
}
.mega-aside .mega-heading { color: var(--orange-soft); }
.mega-aside p { font-size: 0.92rem; margin: 0; line-height: 1.55; }
.mega-aside .aside-title { font-family: var(--font-display); color: #fff; font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.mega-aside a.phone-link { color: #fff; font-family: var(--font-display); font-weight: 700; text-decoration: none; display: inline-flex; gap: .45rem; align-items: center; }
.mega-aside a.phone-link .icon { color: var(--orange-soft); }
.mega-aside a.phone-link:hover { color: var(--orange-soft); }
.mega-aside .btn { margin-top: auto; }
.dropdown { left: 0; min-width: 240px; padding: 0.7rem 1.2rem; }
.dropdown ul { list-style: none; margin: 0; padding: 0; }
.dropdown a { padding-block: 0.55rem; }
.dropdown .icon { width: 1.1rem; height: 1.1rem; color: var(--orange); }

.nav-toggle {
  display: none; margin-left: auto; width: 48px; height: 48px; border-radius: var(--radius-sm);
  background: transparent; border: 1px solid rgba(255,255,255,0.25); color: #fff;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 1.5rem; height: 1.5rem; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section-y); }
.section--alt { background: var(--bg-alt); }
.section--warm { background: var(--bg-warm); }
.section--dark { background: var(--ink-800); color: var(--text-on-dark); }
.section--black { background: var(--black); color: var(--text-on-dark); }
.section--dark h2, .section--dark h3, .section--black h2, .section--black h3, .on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.section--dark strong, .section--black strong, .on-dark strong { color: #fff; }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }

.section-head { max-width: 760px; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p { font-size: var(--fs-500); }
.section-head h2 { margin-bottom: 0.4em; }
.split-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: 2.5rem; }
.split-head .section-head { margin-bottom: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--orange-ink);
  margin-bottom: 0.9rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--orange); }
.on-dark .eyebrow, .section--dark .eyebrow, .section--black .eyebrow { color: var(--orange-soft); }
.lead { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); line-height: 1.6; }
.accent { color: var(--orange-soft); }
.accent-ink { color: var(--orange-ink); }

/* ---------- Home hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% 20%, rgba(243,146,0,0.16), transparent 60%),
    var(--ink-900);
  color: var(--text-on-dark);
  padding-block: clamp(3.5rem, 2rem + 5vw, 6.5rem) clamp(4rem, 2.5rem + 5vw, 7rem);
}
.hero::before { /* fine rule grid texture */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
  -webkit-mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: 0.45em; }
.hero h1 .accent { display: inline; }
.hero .lead { color: var(--text-on-dark); max-width: 36em; margin-bottom: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; list-style: none; padding: 0; margin: 2.2rem 0 0; font-size: 0.95rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 0.5rem; color: #fff; }
.hero-points .icon { color: var(--orange-soft); }

/* Book mock-up illustration (pure CSS, no third-party imagery) */
.hero-visual { position: relative; display: grid; place-items: center; min-height: 460px; }
.book-mock { position: relative; width: 270px; aspect-ratio: 2 / 3; }
.book-mock__body { position: absolute; inset: 0; transform: rotate(-4deg); }
.book-mock__pages { /* page block visible to the right of the cover */
  position: absolute; z-index: 0; top: 7px; bottom: 7px; right: -13px; width: 40px; border-radius: 0 5px 5px 0;
  background: repeating-linear-gradient(180deg, #f4f1ea 0 2px, #ddd7cb 2px 3px);
  box-shadow: 18px 24px 50px rgba(0,0,0,0.5);
}
.book-mock__cover {
  position: absolute; z-index: 1; inset: 0; border-radius: 3px 8px 8px 3px; overflow: hidden;
  background: linear-gradient(160deg, #24262b 0%, #0e0f11 100%);
  box-shadow: 0 30px 60px rgba(0,0,0,0.55), inset 6px 0 0 rgba(255,255,255,0.06), inset 16px 0 20px rgba(0,0,0,0.45);
  display: flex; flex-direction: column; justify-content: space-between; padding: 30px 24px 26px 34px;
}
.book-mock__cover::before { /* geometric orange motif */
  content: ""; position: absolute; right: -70px; top: 40%; width: 220px; height: 220px; border-radius: 50%;
  border: 20px solid var(--orange);
}
.book-mock__cover::after {
  content: ""; position: absolute; right: -10px; top: calc(40% + 60px); width: 100px; height: 100px; border-radius: 50%;
  background: var(--orange-soft);
}
.book-mock__kicker, .book-mock__title, .book-mock__author { position: relative; z-index: 1; font-family: var(--font-display); }
.book-mock__kicker { color: var(--orange-soft); font-size: 0.7rem; letter-spacing: 0.3em; text-transform: uppercase; font-weight: 700; }
.book-mock__title { color: #fff; font-size: 2.15rem; line-height: 1.02; font-weight: 700; margin-top: 10px; }
.book-mock__author { color: #e3e5e9; font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 700; text-align: right; }
.book-mock__spine { display: none; }
.process-card {
  position: absolute; z-index: 2; background: #fff; color: var(--ink-700);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 1rem 1.15rem 0.85rem;
  width: 228px; font-size: 0.9rem;
}
.process-card--a { left: 0; bottom: 56px; }
.process-card--b { right: 0; top: 30px; width: 200px; background: var(--ink-800); color: #fff; border: 1px solid var(--line-dark); }
.process-card__title { font-family: var(--font-display); font-weight: 700; font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--orange-ink); margin: 0 0 0.55rem; }
.process-card--b .process-card__title { color: var(--orange-soft); }
.process-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.process-card li { display: flex; align-items: center; gap: 0.5rem; line-height: 1.3; }
.process-card li .icon { width: 1.05rem; height: 1.05rem; color: var(--orange); }
.process-card--b p { margin: 0; color: var(--text-on-dark); font-size: 0.86rem; line-height: 1.45; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative; background: var(--ink-900); color: var(--text-on-dark);
  padding-block: clamp(2.5rem, 1.5rem + 3.5vw, 4.75rem);
  overflow: hidden; border-bottom: 3px solid var(--orange);
}
.page-hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 420px; height: 420px; border-radius: 50%;
  border: 50px solid rgba(243,146,0,0.10); pointer-events: none;
}
.page-hero h1 { color: #fff; font-size: var(--fs-800); max-width: 22ch; }
.page-hero .lead { color: var(--text-on-dark); max-width: 42em; }
.page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.35fr 0.85fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.page-hero--simple .page-hero-grid { grid-template-columns: 1fr; }
.page-hero .btn-row { margin-top: 1.75rem; }
.glance-card {
  background: var(--ink-800); border: 1px solid var(--line-dark); border-radius: var(--radius-lg);
  padding: 1.6rem 1.6rem 1.3rem; color: var(--text-on-dark);
}
.glance-card h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange-soft); margin-bottom: 1rem; }
.glance-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.7rem; }
.glance-card li { display: flex; gap: 0.7rem; align-items: flex-start; line-height: 1.45; }
.glance-card li .icon { color: var(--orange-soft); margin-top: 0.1em; }
.glance-card .glance-foot { margin: 1.2rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line-dark); font-size: 0.92rem; }
.glance-card .glance-foot a { color: #fff; font-weight: 700; text-decoration: none; }
.glance-card .glance-foot a:hover { color: var(--orange-soft); }

.breadcrumb { position: relative; z-index: 1; margin-bottom: 1.25rem; font-size: 0.9rem; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.35rem; margin: 0; padding: 0; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 0.35rem; color: #9fa2a9; }
.breadcrumb li + li::before { content: "/"; color: #6c6f76; }
.breadcrumb a { color: #e3e5e9; text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-soft); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--orange-soft); }

/* ---------- Cards & grids ---------- */
.grid { display: grid; gap: clamp(1rem, 0.75rem + 1vw, 1.6rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.card h3 { font-size: 1.22rem; margin-bottom: 0.45em; }
.card p:last-child { margin-bottom: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center;
  background: var(--orange-tint); color: var(--orange-ink); margin-bottom: 1.1rem;
}
.card-icon .icon { width: 1.6rem; height: 1.6rem; }
.section--dark .card, .section--black .card { background: var(--ink-700); border-color: var(--line-dark); }
.section--dark .card-icon, .section--black .card-icon { background: rgba(243,146,0,0.14); color: var(--orange-soft); }

.service-card { display: flex; flex-direction: column; text-decoration: none; color: var(--text); height: 100%; }
.service-card:hover { border-color: var(--orange); box-shadow: var(--shadow); transform: translateY(-3px); color: var(--text); }
.service-card h3 { color: var(--ink-700); }
.service-card .text-link { margin-top: auto; padding-top: 1rem; }
.service-card::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; border-radius: var(--radius) 0 0 var(--radius);
  background: var(--orange); transform: scaleY(0); transform-origin: top; transition: transform .25s var(--ease);
}
.service-card:hover::before { transform: scaleY(1); }

.value-strip { position: relative; z-index: 2; margin-top: calc(-1 * clamp(2.5rem, 2rem + 2vw, 3.5rem)); }
.value-strip .grid { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: clamp(1.25rem, 1rem + 1vw, 2rem); gap: 0; }
.value-item { padding: 0.6rem clamp(0.75rem, 0.5rem + 1vw, 1.5rem); }
.value-item + .value-item { border-left: 1px solid var(--line); }
.value-item h3 { font-size: 1.1rem; display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.4rem; }
.value-item h3 .icon { color: var(--orange); width: 1.4rem; height: 1.4rem; }
.value-item p { margin: 0; font-size: 0.95rem; }

/* Tabs (service categories) */
.tablist { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.tab {
  border: 1px solid var(--line); background: #fff; color: var(--ink-700);
  border-radius: 999px; padding: 0.65rem 1.2rem 0.55rem; min-height: 44px;
  font-family: var(--font-display); font-weight: 700; font-size: 0.98rem;
}
.tab:hover { border-color: var(--orange); }
.tab[aria-selected="true"] { background: var(--ink-800); color: #fff; border-color: var(--ink-800); }
.tab .count { color: var(--orange-ink); margin-left: 0.3rem; }
.tab[aria-selected="true"] .count { color: var(--orange-soft); }
.tabpanel[hidden] { display: none; }
.no-js .tablist { display: none; }
.no-js .tabpanel { display: block !important; }
.no-js .tabpanel + .tabpanel { margin-top: 2rem; }
.panel-title { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange-ink); margin-bottom: 1rem; }
.js .panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Steps */
.steps { counter-reset: step; display: grid; gap: clamp(1rem, 0.75rem + 1vw, 1.6rem); list-style: none; padding: 0; margin: 0; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; padding: 1.6rem 1.4rem 1.4rem; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: block; font-family: var(--font-display); font-weight: 700; font-size: 2.3rem; line-height: 1;
  color: var(--orange); margin-bottom: 0.9rem;
}
.step h3 { font-size: 1.15rem; }
.step p { margin: 0; font-size: 0.97rem; }
.section--dark .step { background: var(--ink-700); border-color: var(--line-dark); }
.section--dark .step::before { color: var(--orange-soft); }
.steps-connector .step:not(:last-child)::after {
  content: ""; position: absolute; top: 2.55rem; right: -1.1rem; width: 1.1rem; height: 2px; background: var(--orange);
}

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.split--60 { grid-template-columns: 1.2fr 0.8fr; }
.split--center { align-items: center; }
.prose p { margin-bottom: 1.1em; }
.prose > :last-child { margin-bottom: 0; }

.check-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; line-height: 1.5; }
.check-list .icon { color: var(--orange); margin-top: 0.1em; }
.section--dark .check-list .icon { color: var(--orange-soft); }

.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.4rem; }
.feature-list li { display: grid; grid-template-columns: 48px 1fr; gap: 1rem; }
.feature-list .card-icon { margin: 0; width: 48px; height: 48px; }
.feature-list h3 { font-size: 1.12rem; margin-bottom: 0.25rem; }
.feature-list p { margin: 0; }

.panel-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem); }
.panel-box--alt { background: var(--bg-alt); border-color: transparent; }
.panel-box h3 { font-size: 1.2rem; }

.callout {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  background: var(--orange-tint); border-left: 4px solid var(--orange); border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem; color: var(--ink-700);
}
.callout .icon { width: 1.5rem; height: 1.5rem; color: var(--orange-ink); margin-top: 0.1em; }
.callout p { margin: 0; }
.callout strong { display: block; margin-bottom: 0.2rem; font-family: var(--font-display); font-size: 1.05rem; }

/* Comparison / spec tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.data-table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 0.97rem; }
.data-table th, .data-table td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table thead th { background: var(--ink-800); color: #fff; font-family: var(--font-display); font-size: 0.95rem; letter-spacing: 0.04em; }
.data-table tbody th { color: var(--ink-700); font-family: var(--font-display); font-size: 1.02rem; width: 24%; }
.data-table tbody tr:last-child th, .data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:nth-child(even) { background: #fafbfc; }

.spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.spec { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.3rem; background: #fff; }
.spec dt { font-family: var(--font-display); font-weight: 700; color: var(--ink-700); font-size: 1.05rem; margin-bottom: 0.3rem; }
.spec dd { margin: 0; font-size: 0.96rem; }

.tag-list { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; padding: 0; margin: 0; }
.tag-list li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0.4rem 0.9rem 0.3rem; font-size: 0.92rem; color: var(--ink-700); }
.section--dark .tag-list li { background: var(--ink-700); border-color: var(--line-dark); color: #fff; }

/* FAQ (native details/summary) */
.faq-list { display: grid; gap: 0.8rem; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s var(--ease); }
.faq-item[open] { border-color: var(--orange); box-shadow: var(--shadow-sm); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.15rem 1.35rem 1.05rem; font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; color: var(--ink-700);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--orange-ink); }
.faq-item summary .faq-icon {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--bg-alt); color: var(--ink-700); transition: transform .25s var(--ease), background-color .2s;
}
.faq-item summary .faq-icon .icon { width: 1rem; height: 1rem; }
.faq-item[open] summary .faq-icon { transform: rotate(180deg); background: var(--orange); color: var(--black); }
.faq-answer { padding: 0 1.35rem 1.25rem; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 4rem); align-items: start; }

/* CTA band */
.cta-band { background: var(--orange-bright); color: var(--ink-900); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem); position: relative; overflow: hidden; }
.cta-band::after {
  content: ""; position: absolute; right: -80px; bottom: -160px; width: 380px; height: 380px; border-radius: 50%;
  border: 46px solid rgba(0,0,0,0.07); pointer-events: none;
}
.cta-band .container { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.cta-band h2 { color: var(--black); margin-bottom: 0.3em; font-size: var(--fs-700); }
.cta-band p { margin: 0; color: #2a2010; font-size: var(--fs-500); max-width: 40em; }
.cta-band .btn-row { flex: none; }
.cta-band .btn-outline { border-color: var(--black); color: var(--black); }
.cta-band .btn-outline:hover { background: var(--black); color: #fff; }
.cta-band :focus-visible { outline-color: var(--black); }

/* Book covers */
.cover-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 1rem + 2vw, 2.5rem); }
.cover-card { margin: 0; display: flex; flex-direction: column; }
.cover-frame {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in;
  border-radius: 4px; overflow: hidden; aspect-ratio: 2 / 3.1;
  background: var(--ink-700); box-shadow: 0 18px 40px rgba(0,0,0,0.28);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.cover-frame img { width: 100%; height: 100%; object-fit: contain; }
.cover-frame:hover { transform: translateY(-6px); box-shadow: 0 28px 54px rgba(0,0,0,0.36); }
.cover-frame .zoom-hint {
  position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.72); color: #fff; display: grid; place-items: center; opacity: 0; transition: opacity .2s;
}
.cover-frame:hover .zoom-hint, .cover-frame:focus-visible .zoom-hint { opacity: 1; }
.cover-card figcaption { padding-top: 1.1rem; }
.cover-card .cover-title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink-700); margin: 0 0 0.15rem; line-height: 1.25; }
.cover-card .cover-meta { margin: 0; font-size: 0.93rem; }
.section--dark .cover-card .cover-title, .section--black .cover-card .cover-title { color: #fff; }
.genre-pill { display: inline-block; margin-top: 0.55rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange-ink); }
.section--dark .genre-pill, .section--black .genre-pill { color: var(--orange-soft); }
.rights-note { font-size: 0.88rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: 62em; }
.section--dark .rights-note, .section--black .rights-note { border-color: var(--line-dark); color: #a7aab1; }

/* Lightbox */
.lightbox { border: 0; padding: 0; background: transparent; max-width: min(92vw, 640px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(0,0,0,0.86); }
.lightbox img { max-height: 82vh; width: auto; margin-inline: auto; border-radius: 4px; box-shadow: var(--shadow-lg); }
.lightbox-caption { color: #fff; text-align: center; margin: 0.9rem 0 0; font-family: var(--font-display); font-weight: 600; }
.lightbox-close {
  position: absolute; top: -14px; right: -14px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange-bright); color: var(--black); border: 0; display: grid; place-items: center;
}

/* Blog cards */
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d4d7dc; }
.post-thumb { position: relative; aspect-ratio: 16 / 8; display: grid; place-items: center; overflow: hidden; background: var(--ink-800); color: var(--orange-soft); }
.post-thumb::before { content: ""; position: absolute; width: 220px; height: 220px; border-radius: 50%; border: 26px solid rgba(243,146,0,0.18); right: -50px; top: -70px; }
.post-thumb::after { content: ""; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(243,146,0,0.10); left: -30px; bottom: -50px; }
.post-thumb .icon { position: relative; z-index: 1; width: 3.25rem; height: 3.25rem; stroke-width: 1.4; }
.post-body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1rem; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.6rem; }
.post-cat { font-weight: 700; color: var(--orange-ink); text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }
.post-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.post-card h3 a { color: var(--ink-700); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card { position: relative; }
.post-card h3 a:hover { color: var(--orange-ink); }
.post-card p { font-size: 0.97rem; }
.post-card .text-link { margin-top: auto; }
.post-card--featured { display: grid; grid-template-columns: 1.05fr 1fr; }
.post-card--featured .post-thumb { aspect-ratio: auto; min-height: 320px; }
.post-card--featured .post-body { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); justify-content: center; }
.post-card--featured h3 { font-size: var(--fs-700); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.empty-state { text-align: center; padding: clamp(2rem, 1.5rem + 3vw, 4rem) 1.5rem; border: 2px dashed var(--line); border-radius: var(--radius-lg); background: #fff; }
.empty-state .card-icon { margin-inline: auto; }
.empty-state h2, .empty-state h3 { font-size: var(--fs-600); }
.empty-state p { max-width: 38em; margin-inline: auto; }

/* Article */
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.article-body { font-size: 1.08rem; line-height: 1.8; color: #3f4146; max-width: 70ch; }
.article-body h2 { font-size: var(--fs-700); margin-top: 1.8em; }
.article-body h3 { margin-top: 1.5em; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin-bottom: 1.3em; }
.article-body li { margin-bottom: 0.45em; }
.article-body li::marker { color: var(--orange); }
.article-body .callout { font-size: 1rem; line-height: 1.6; margin: 1.8em 0; }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.5rem 1.4rem; font-size: 0.93rem; color: var(--text-on-dark); margin-top: 1rem; }
.article-meta span { display: inline-flex; align-items: center; gap: 0.4rem; }
.article-meta .icon { color: var(--orange-soft); width: 1.05rem; height: 1.05rem; }
.sidebar { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1.25rem; }
.sidebar-box { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; background: #fff; }
.sidebar-box h2 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange-ink); margin-bottom: 0.8rem; }
.sidebar-box ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; }
.sidebar-box a { color: var(--ink-700); text-decoration: none; font-weight: 600; display: inline-flex; gap: 0.5rem; align-items: center; }
.sidebar-box a .icon { color: var(--orange); width: 1.1rem; height: 1.1rem; }
.sidebar-box a:hover { color: var(--orange-ink); text-decoration: underline; }
.sidebar-box--dark { background: var(--ink-800); border-color: var(--ink-800); color: var(--text-on-dark); }
.sidebar-box--dark h2 { color: var(--orange-soft); }
.sidebar-box--dark p { font-size: 0.95rem; }

/* Forms */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.4rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem 1.25rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label, .field .label { font-weight: 600; color: var(--ink-700); font-size: 0.97rem; }
.field .optional { font-weight: 400; color: var(--text-muted); font-size: 0.88rem; }
.field .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 0.75rem 0.9rem; border: 1px solid #c9cdd3; border-radius: var(--radius-sm);
  background: #fff; color: var(--ink-700); transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 150px; resize: vertical; line-height: 1.55; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23222429' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.8rem center; padding-right: 2.6rem; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: #9da2aa; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(243,146,0,0.25); }
.field [aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(180,35,24,0.12); }
.field-hint { font-size: 0.86rem; color: var(--text-muted); margin: 0; }
.field-error { font-size: 0.88rem; color: var(--danger); font-weight: 600; margin: 0; display: none; align-items: center; gap: 0.35rem; }
.field-error.is-visible { display: flex; }
.field-error::before { content: "!"; display: inline-grid; place-items: center; width: 1.1rem; height: 1.1rem; border-radius: 50%; background: var(--danger); color: #fff; font-size: 0.75rem; flex: none; }
.checkbox-field { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.checkbox-field input { width: 1.25rem; height: 1.25rem; min-height: 0; margin: 0.15rem 0 0; accent-color: var(--orange-deep); }
.checkbox-field label { font-weight: 400; font-size: 0.95rem; color: var(--text); }
.checkbox-field .field-error { grid-column: 1 / -1; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.6rem; }
.form-footer p { margin: 0; font-size: 0.88rem; color: var(--text-muted); max-width: 32em; }
.btn[aria-busy="true"] { opacity: 0.75; cursor: progress; }
.form-status { margin-top: 1.25rem; border-radius: var(--radius-sm); padding: 1rem 1.2rem; display: none; gap: 0.75rem; align-items: flex-start; font-size: 0.97rem; line-height: 1.5; }
.form-status.is-visible { display: flex; }
.form-status .icon { margin-top: 0.15em; width: 1.3rem; height: 1.3rem; }
.form-status p { margin: 0; }
.form-status--success { background: #ecf7ef; border: 1px solid #9fd2ad; color: #134d27; }
.form-status--error { background: #fdeeec; border: 1px solid #f1b0a8; color: #7a1a12; }
.form-status--info { background: var(--orange-tint); border: 1px solid #f3c77f; color: #4d3200; }
.form-status a { color: inherit; font-weight: 700; }
.error-summary { display: none; background: #fdeeec; border: 1px solid #f1b0a8; color: #7a1a12; border-radius: var(--radius-sm); padding: 1rem 1.2rem; margin-bottom: 1.4rem; }
.error-summary.is-visible { display: block; }
.error-summary h2 { font-size: 1.05rem; color: #7a1a12; margin-bottom: 0.4rem; }
.error-summary ul { margin: 0; }
.error-summary a { color: #7a1a12; font-weight: 600; }

.contact-aside { display: grid; gap: 1.25rem; }
.phone-card { background: var(--ink-800); color: var(--text-on-dark); border-radius: var(--radius-lg); padding: 1.8rem; }
.phone-card h2 { color: #fff; font-size: 1.35rem; }
.phone-card .phone-big { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-display); font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem); font-weight: 700; color: var(--orange-soft); text-decoration: none; margin: 0.25rem 0 0.75rem; }
.phone-card .phone-big:hover { color: #fff; }
.next-steps { list-style: none; counter-reset: ns; padding: 0; margin: 0; display: grid; gap: 1rem; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 34px 1fr; gap: 0.8rem; }
.next-steps li::before { content: counter(ns); width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-tint); color: var(--orange-ink); font-family: var(--font-display); font-weight: 700; }
.next-steps strong { display: block; font-family: var(--font-display); }
.next-steps p { margin: 0; font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--black); color: #b6b9bf; font-size: 0.95rem; }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.85fr; gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); padding-block: clamp(3rem, 2rem + 3vw, 4.5rem) 2.5rem; }
.footer-brand img { width: 210px; height: auto; margin-bottom: 1.1rem; }
.footer-brand p { margin-bottom: 1.2rem; max-width: 30em; }
.footer-phone { display: inline-flex; align-items: center; gap: 0.55rem; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; text-decoration: none; }
.footer-phone .icon { color: var(--orange-soft); }
.footer-phone:hover { color: var(--orange-soft); }
.footer-col h2 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: #fff; margin-bottom: 1.1rem; padding-bottom: 0.7rem; border-bottom: 1px solid #2c2c2c; }
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-col a { color: #b6b9bf; text-decoration: none; }
.footer-col a:hover { color: var(--orange-soft); text-decoration: underline; }
.footer-disclaimer { border-top: 1px solid #222; padding-block: 1.4rem; font-size: 0.85rem; color: #8e9198; }
.footer-disclaimer p { margin: 0; max-width: 72em; }
.footer-bottom { border-top: 1px solid #222; padding-block: 1.2rem; font-size: 0.86rem; color: #8e9198; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: #c6c8cd; }
.footer-bottom a:hover { color: var(--orange-soft); }

.back-to-top {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 90; width: 48px; height: 48px; border-radius: 50%;
  border: 0; background: var(--orange-bright); color: var(--black); display: grid; place-items: center;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility 0s linear .2s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.back-to-top:hover { background: var(--orange-soft); }

/* Misc */
.notice-strip { background: var(--bg-alt); border-bottom: 1px solid var(--line); font-size: 0.9rem; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }
.related-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.75rem; }
.related-head h2 { margin: 0; font-size: var(--fs-700); }
.service-card--compact { padding: 1.3rem 1.4rem; }
.service-card--compact .card-icon { width: 44px; height: 44px; margin-bottom: 0.8rem; }
.service-card--compact .card-icon .icon { width: 1.35rem; height: 1.35rem; }
.service-card--compact h3 { font-size: 1.1rem; }
.service-card--compact p { font-size: 0.94rem; }
.big-number { font-family: var(--font-display); font-size: 1rem; }
.error-page { text-align: center; padding-block: clamp(4rem, 3rem + 6vw, 8rem); }
.error-page .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(5rem, 3rem + 10vw, 9rem); line-height: 1; color: var(--orange); margin-bottom: 0.5rem; }
.error-page .btn-row { justify-content: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .btn-primary:hover, .service-card:hover, .post-card:hover, .cover-frame:hover { transform: none; }
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

[hidden] { display: none !important; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.45rem; }
.link-list a { display: inline-flex; gap: 0.5rem; align-items: flex-start; color: var(--ink-700); text-decoration: none; font-weight: 600; line-height: 1.35; }
.link-list a .icon { color: var(--orange); width: 1rem; height: 1rem; margin-top: 0.1em; }
.link-list a:hover { color: var(--orange-ink); text-decoration: underline; }
.site-footer strong { color: #fff; }

/* ---------- "Let's Get Started!" quick form (homepage hero + project modal) ---------- */
.hero-form { justify-self: end; width: 100%; max-width: 470px; }
.quick-form {
  position: relative; background: rgba(28, 28, 30, 0.92); color: #fff;
  border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  padding: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem) clamp(1.25rem, 0.9rem + 1.8vw, 2.5rem) 1.75rem;
  box-shadow: 0 30px 70px rgba(0,0,0,0.45);
}
.qf-title {
  font-family: var(--font-display); font-weight: 600; color: #fff; text-align: center;
  font-size: clamp(1.7rem, 1.4rem + 1vw, 2.15rem); letter-spacing: 0.01em; margin: 0 0 1.5rem;
}
.quick-form form { display: grid; gap: 0.85rem; }
.qf-field { display: flex; flex-direction: column; gap: 0.35rem; }
.quick-form input, .quick-form textarea {
  width: 100%; min-height: 54px; padding: 1rem 1rem 0.85rem; border: 1px solid transparent; border-radius: 7px;
  background: #3a3a3d; color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 0.98rem;
  transition: background-color .15s, box-shadow .15s, border-color .15s;
}
.quick-form textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.quick-form input::placeholder, .quick-form textarea::placeholder { color: #f1f1f3; opacity: 0.9; }
.quick-form input:hover, .quick-form textarea:hover { background: #424246; }
.quick-form input:focus, .quick-form textarea:focus { outline: none; background: #444448; border-color: var(--orange-soft); box-shadow: 0 0 0 3px rgba(255,170,23,0.28); }
.quick-form [aria-invalid="true"] { border-color: #ff8a7a; box-shadow: 0 0 0 3px rgba(255,138,122,0.18); }
.quick-form .field-error { color: #ffb0a3; }
.quick-form .field-error::before { background: #ff8a7a; color: #1b1b1d; }
.qf-submit {
  position: relative; overflow: hidden; width: 100%; min-height: 64px; margin-top: 0.6rem;
  background: var(--orange-bright); color: var(--ink-900); border: 0; border-radius: 7px;
  font-size: clamp(1.1rem, 1rem + 0.4vw, 1.3rem); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
}
.qf-submit::after { /* angled darker corner, as on the reference design */
  content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 34px;
  background: var(--orange-deep); clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.qf-submit:hover { background: var(--orange-soft); color: var(--ink-900); transform: translateY(-1px); box-shadow: 0 10px 26px rgba(243,146,0,0.35); }
.qf-submit:active { transform: none; }
.qf-submit .label { position: relative; z-index: 1; }
.qf-note { margin: 0.3rem 0 0; font-size: 0.82rem; line-height: 1.5; color: #a9acb3; text-align: center; }
.qf-note a { color: #fff; font-weight: 600; text-decoration: none; white-space: nowrap; }
.qf-note a:hover { color: var(--orange-soft); }
.quick-form .form-status { margin-top: 0.4rem; font-size: 0.92rem; }
.quick-form :focus-visible { outline-color: var(--orange-soft); }

/* Project modal */
body.modal-open { overflow: hidden; }
.project-modal {
  padding: 0; border: 0; background: transparent; overflow: visible;
  width: min(480px, calc(100vw - 1.5rem)); max-height: calc(100dvh - 1.5rem);
}
.project-modal[open] { display: block; overflow-y: auto; border-radius: 12px; animation: modal-in .22s var(--ease); }
.project-modal::backdrop { background: rgba(0,0,0,0.78); backdrop-filter: blur(3px); }
.project-modal .quick-form { background: #1c1c1e; padding-top: 2.6rem; }
.project-modal__close {
  position: absolute; z-index: 2; top: 12px; right: 12px; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18); background: rgba(255,255,255,0.06); color: #fff;
  display: grid; place-items: center;
}
.project-modal__close:hover { background: var(--orange-bright); color: var(--black); border-color: var(--orange-bright); }
.project-modal__close:focus-visible { outline-color: var(--orange-soft); }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }

/* 4-across cover grid (8 featured books = two even rows) */
.cover-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; }

/* ---------- Service-page hero with enquiry form ---------- */
.page-hero .hero-form { justify-self: end; max-width: 440px; }
.page-hero .quick-form { padding-top: 1.8rem; }
.page-hero .qf-title { font-size: clamp(1.55rem, 1.3rem + 0.8vw, 1.9rem); margin-bottom: 1.2rem; }
.page-hero .quick-form textarea { min-height: 104px; }
.hero-points--stack { flex-direction: column; gap: 0.6rem; margin: 1.6rem 0 0; }
.hero-points--stack li { align-items: flex-start; line-height: 1.45; }
.hero-points--stack .icon { margin-top: 0.1em; }

/* ---------- Email links ---------- */
.topbar-links { display: flex; align-items: center; gap: 1.4rem; }
.footer-email { display: flex; margin-top: 0.6rem; font-size: 1rem; word-break: break-all; }
.phone-card .email-link { color: #fff; font-weight: 600; word-break: break-all; }
.phone-card .email-link:hover { color: var(--orange-soft); }
.mega-aside a.phone-link { word-break: break-all; font-size: 0.95rem; }
.form-status strong, .form-status a { color: inherit; }
