/* ============================================================
   Authoright — mobile-first design system
   Teal #48C3CC · Coral #F05540 · Ink #20303C
   ============================================================ */

:root {
  --teal: #48C3CC;
  --teal-dark: #2FA8B1;
  --teal-ink: #157A83;
  --coral: #F05540;
  --coral-dark: #D93E2B;
  --ink: #20303C;
  --slate: #4A5A66;
  --mist: #F4F8F9;
  --line: #E1EAEC;
  --paper: #FFFFFF;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Raleway", "Helvetica Neue", Arial, sans-serif;
  --caps-spacing: 0.16em;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(32, 48, 60, 0.10);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--teal-ink); text-decoration: none; }
a:hover { color: var(--coral); }

/* ---------- type scale ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 6.5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

.kicker {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: var(--caps-spacing);
  text-transform: uppercase;
  color: var(--coral);
  display: block;
  margin-bottom: 0.75rem;
}

.lead { font-size: clamp(1.05rem, 2.5vw, 1.2rem); color: var(--slate); }

/* ---------- layout ---------- */
.wrap { max-width: 1120px; margin: 0 auto; padding-inline: var(--gutter); }

section { padding-block: clamp(3rem, 8vw, 5.5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 5vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }

.tinted { background: var(--mist); }
.dark { background: var(--ink); color: #fff; }
.dark h2, .dark h3 { color: #fff; }
.dark p { color: #C6D2DA; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  /* no backdrop-filter here: it would make the header the containing
     block for the position:fixed mobile nav, clipping it to header height */
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
}
body.nav-open { overflow: hidden; }
.topbar {
  background: var(--ink);
  color: #fff;
  font-size: 0.78rem;
  text-align: center;
  padding: 0.45rem var(--gutter);
  letter-spacing: 0.04em;
}
.topbar a { color: var(--teal); font-weight: 600; }
@media (max-width: 699px) { .topbar-quote { display: none; } }
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem var(--gutter);
  max-width: 1120px; margin: 0 auto;
}
.brand img { width: clamp(150px, 30vw, 195px); }

.nav-toggle {
  appearance: none; background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px; position: relative; z-index: 102;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; position: absolute; left: 10px;
  width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink);
  transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; top: -7px; }
.nav-toggle span::after { left: 0; top: 7px; }
.nav-open .nav-toggle span { transform: rotate(45deg); }
.nav-open .nav-toggle span::before { transform: rotate(-90deg) translateX(-7px); }
.nav-open .nav-toggle span::after { opacity: 0; }
/* the open overlay is dark — flip the X to white so it stays visible */
.nav-open .nav-toggle span,
.nav-open .nav-toggle span::before { background: #fff; }

.site-nav {
  position: fixed; inset: 0; z-index: 101;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--gutter);
  opacity: 0; visibility: hidden; transition: opacity 0.25s;
}
.nav-open .site-nav { opacity: 1; visibility: visible; }
.site-nav a {
  color: #fff; font-weight: 700; font-size: 1.35rem;
  padding: 0.65rem 0; letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--teal); }
.site-nav .nav-cta {
  margin-top: 1.5rem; border: 0; text-align: center;
  background: var(--coral); border-radius: 999px; padding: 0.9rem 1.5rem;
  font-size: 1.05rem;
  text-transform: uppercase; font-weight: 800; letter-spacing: 0.08em;
}
.site-nav .nav-cta:hover { background: var(--coral-dark); color: #fff; }
.nav-group { display: contents; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--sans); font-weight: 800; font-size: 0.85rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.95rem 1.9rem; border-radius: 999px;
  transition: background 0.2s, color 0.2s, transform 0.15s;
  text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn-coral { background: var(--coral); color: #fff; }
.btn-coral:hover { background: var(--coral-dark); color: #fff; }
.btn-teal { background: var(--teal); color: var(--ink); }
.btn-teal:hover { background: var(--teal-dark); color: var(--ink); }
.btn-ghost { border: 2px solid currentColor; color: var(--ink); }
.btn-ghost:hover { color: var(--coral); }
.dark .btn-ghost, .hero .btn-ghost { color: #fff; }
.dark .btn-ghost:hover, .hero .btn-ghost:hover { color: var(--teal); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--ink) 0%, #17414A 55%, var(--teal-ink) 100%);
  color: #fff;
  padding-block: clamp(3.5rem, 10vw, 7rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 80% at 85% 20%, rgba(72,195,204,0.28), transparent 65%),
    radial-gradient(45% 60% at 10% 90%, rgba(240,85,64,0.18), transparent 60%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { color: #fff; max-width: 15ch; }
.hero .lead { color: #D6E4E9; max-width: 42rem; margin-top: 1.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero-badges {
  display: flex; flex-wrap: wrap; gap: 0.6rem 1.6rem;
  margin-top: 2.5rem; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: #9FC3CB;
}
.hero-badges strong { color: var(--teal); }

/* page-hero (interior pages) */
.page-hero { padding-block: clamp(2.8rem, 8vw, 5rem); }
.page-hero p { margin-top: 1rem; }

/* ---------- hero ---------- */
.hero-grid { display: grid; gap: 2.5rem; }

/* desktop-only angled cover grid, hidden on mobile/tablet */
.hero-covers { display: none; }

/* mobile/tablet moving cover carousel, hidden on desktop */
.cover-carousel { overflow: hidden; background: var(--ink); padding-block: 1.5rem; }
.cover-carousel-track {
  display: flex; align-items: center; gap: 1rem; width: max-content;
  animation: cover-scroll 50s linear infinite;
}
.cover-carousel-track img {
  height: clamp(110px, 28vw, 160px); width: auto; aspect-ratio: 2/3; object-fit: cover;
  border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,0.35); flex-shrink: 0;
}
@keyframes cover-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .cover-carousel-track { animation: none; }
}

@media (min-width: 980px) {
  .cover-carousel { display: none; }
  .hero-copy { max-width: 30rem; }
  /* absolutely positioned + out of grid flow so the hero's height is driven by
     hero-copy only, and the taller covers grid overflows/crops top+bottom.
     left (not width) pins the inner edge so the rotation's bounding-box bleed
     doesn't creep back over the copy text. */
  .hero-covers {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.1rem; transform: rotate(-7deg);
    position: absolute; z-index: 1;
    top: -9rem; bottom: -9rem; left: 61%; right: -3rem;
  }
  .hero-covers-col { display: flex; flex-direction: column; gap: 1.1rem; }
  .hero-covers-col.offset { margin-top: 3.5rem; }
  .hero-covers img {
    width: 100%; aspect-ratio: 2/3; object-fit: cover;
    border-radius: 6px; box-shadow: 0 18px 40px rgba(0,0,0,0.4);
    transition: transform 0.25s ease;
  }
  .hero-covers img:hover { transform: translateY(-8px) scale(1.03); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-covers img { transition: none; }
}

/* ---------- cards & grids ---------- */
.grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .grid.cols-2 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
  .grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) { .grid.cols-5 { grid-template-columns: repeat(5, 1fr); } }
@media (min-width: 640px) and (max-width: 899px) {
  .grid.cols-3, .grid.cols-4, .grid.cols-5 { grid-template-columns: 1fr 1fr; }
}
.grid.cols-5 .card { padding: 1.3rem; }
.grid.cols-5 .card p { font-size: 0.88rem; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  box-shadow: var(--shadow);
}
.card h3 { margin-bottom: 0.6rem; }
.card .kicker { margin-bottom: 0.4rem; }
.card p { font-size: 0.95rem; color: var(--slate); }
.card .more { display: inline-block; margin-top: 0.9rem; font-weight: 800; font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; }

.card-img { padding: 0; overflow: hidden; }
.card-img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.card-img .card-body { padding: 1.4rem 1.6rem 1.6rem; }

/* feature tiles (service inclusions) */
.tiles { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .tiles { grid-template-columns: repeat(4, 1fr); } }
.tile {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 1.1rem 0.9rem;
  text-align: center;
  font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.09em; text-transform: uppercase;
  color: #fff;
}
.tile em { display: block; font-style: normal; color: var(--teal); font-size: 2.3rem; line-height: 1.25; margin-bottom: 0.35rem; }
.tinted .tile, .light-tiles .tile { background: #fff; border-color: var(--line); color: var(--ink); box-shadow: var(--shadow); }
/* one-colour line icon (laurel) used on the About Us awards tiles */
.tile-icon { width: 39px; height: 39px; display: block; margin: 0 auto 0.45rem; color: var(--teal); }
.dark .tile-icon { color: #fff; }

/* ---------- split (text + image) ---------- */
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 820px) {
  .split { grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
  .split.rev > .split-media { order: 2; }
}
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 1rem; }
.split-body p + p { margin-top: 1rem; }
.split-body .btn { margin-top: 1.6rem; }

/* ---------- press strip ---------- */
.press-strip { padding-block: 2.2rem; border-block: 1px solid var(--line); }
.press-strip .label {
  text-align: center; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate);
  margin-bottom: 1.4rem;
}
.press-logos {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 1.6rem 2.4rem;
}
.press-logos img {
  height: clamp(22px, 4vw, 34px); width: auto;
  filter: grayscale(1); opacity: 0.65; transition: filter 0.2s, opacity 0.2s;
}
.press-logos img:hover { filter: none; opacity: 1; }
.press-logos.color img { filter: none; opacity: 1; }
/* text wordmarks — placeholders for outlets/retailers whose logo files are pending */
.press-logos .wordmark {
  font-weight: 700; color: #77868f; opacity: 0.85;
  font-size: clamp(1rem, 2.4vw, 1.3rem); line-height: 1; white-space: nowrap;
  transition: color 0.2s;
}
.press-logos .wordmark:hover { color: var(--ink); }
.wordmark.wm-serif { font-family: "Times New Roman", Georgia, serif; }
.wordmark.wm-sans { font-family: var(--sans); font-weight: 800; letter-spacing: 0.03em; }
.wordmark.wm-lg { font-size: clamp(1.25rem, 3vw, 1.7rem); }
/* retailer wordmarks approximating each brand's type; real logo files still owed */
.wordmark.wm-waterstones { font-family: Baskerville, "Times New Roman", serif; font-weight: 600; }
.wordmark.wm-amazon { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 700; letter-spacing: -0.02em; }
.wordmark.wm-amazon::after { content: ""; display: block; width: 62%; height: 7px; margin: -2px 0 0 12%; border: solid currentColor; border-width: 0 0 3px 0; border-radius: 0 0 50% 50% / 0 0 100% 100%; }
.wordmark.wm-amazon:hover { color: var(--ink); }
.wordmark.wm-amazon:hover::after { border-color: #FF9900; }
.wordmark.wm-foyles { font-family: "Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif; font-weight: 700; letter-spacing: 0.08em; }
.wordmark.wm-foyles:hover { color: #D6001C; }
.wordmark.wm-barnes { font-family: Georgia, "Times New Roman", serif; font-weight: 600; letter-spacing: 0.05em; font-size: clamp(1.05rem, 2.4vw, 1.4rem); }
.wordmark.wm-barnes:hover { color: #1B5633; }
.wordmark.wm-kobo { font-family: "Arial Rounded MT Bold", "Helvetica Rounded", Arial, sans-serif; font-weight: 700; letter-spacing: 0.3em; }
.wordmark.wm-kobo:hover { color: #BF0000; }
.wordmark.wm-kindle { font-family: "Helvetica Neue", Arial, sans-serif; font-weight: 300; letter-spacing: 0.02em; }
.wordmark.wm-apple { font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif; font-weight: 600; letter-spacing: -0.01em; }

/* ---------- stats band ---------- */
.stats { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); text-align: center; }
@media (min-width: 700px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat strong {
  display: block; font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 2.9rem); color: var(--teal); line-height: 1.1;
}
.stat span {
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: #9FB4BF;
}

/* interior hero with a balancing image (editing page) */
.hero-media img { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,0.35); object-fit: cover; }
@media (min-width: 820px) {
  .hero-grid.with-media { grid-template-columns: 1.05fr 0.95fr; align-items: center; }
}

/* gold-star Amazon rating line (editing tips strip) */
.rating-line {
  display: flex; align-items: center; gap: 0.9rem;
  margin-top: 1.4rem; padding: 0.85rem 1.1rem;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
}
.rating-line .stars { color: #F5B301; font-size: 1.2rem; letter-spacing: 0.18em; line-height: 1; white-space: nowrap; }
.rating-line p { font-size: 0.92rem; }

/* author spotlight (publishing pull-quote section) */
.author-spotlight { max-width: 46rem; margin-inline: auto; text-align: center; }
.author-spotlight img {
  width: 128px; height: 128px; border-radius: 50%;
  object-fit: cover; object-position: top;
  margin: 0 auto 1.5rem; border: 4px solid rgba(255,255,255,0.25); box-shadow: var(--shadow);
}
.author-spotlight .spotlight-pullout {
  font-family: var(--serif); font-weight: 700;
  font-size: clamp(1.5rem, 4.5vw, 2.1rem); color: #fff; margin-bottom: 1rem;
}
.author-spotlight blockquote { font-size: 1.02rem; line-height: 1.75; color: #D6E4E9; }
.author-spotlight .spotlight-name {
  margin-top: 1.4rem; font-weight: 800; font-size: 0.85rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
.author-spotlight .spotlight-book { font-family: var(--serif); font-style: italic; color: var(--teal); margin: 0.15rem 0 0.85rem; }

/* ---------- quotes ---------- */
.quote-card {
  background: var(--teal);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: var(--shadow);
}
.quote-card.coral { background: var(--coral); color: #fff; }
.quote-card .q-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  object-fit: cover; object-position: top;
  margin-bottom: 1.1rem; border: 3px solid rgba(255,255,255,0.55);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
}
.quote-card blockquote {
  font-family: var(--serif); font-size: clamp(1.15rem, 3vw, 1.45rem);
  font-weight: 600; line-height: 1.45;
}
.quote-card figcaption {
  margin-top: 1.1rem; font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.quote-rail {
  display: grid; gap: 1.25rem;
}
@media (min-width: 820px) { .quote-rail { grid-template-columns: 1fr 1fr; } }

/* ---------- testimonial wall ---------- */
.t-wall { columns: 1; column-gap: 1.25rem; }
@media (min-width: 640px) { .t-wall { columns: 2; } }
@media (min-width: 900px) { .t-wall { columns: 3; } }
.t-wall:not(.expanded) .t-extra { display: none; }
.t-card {
  break-inside: avoid;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 1.6rem; margin-bottom: 1.25rem;
}
.t-avatar {
  width: 58px; height: 58px; border-radius: 50%;
  object-fit: cover; object-position: top;
  margin-bottom: 0.85rem;
}
.t-pullout {
  font-family: var(--serif); font-weight: 700;
  font-size: 1.25rem; line-height: 1.35; color: var(--ink);
  margin-bottom: 0.7rem;
}
.t-card blockquote { font-size: 0.95rem; color: var(--slate); }
.t-card figcaption { margin-top: 1rem; }
.t-name {
  display: block; font-weight: 800; font-size: 0.8rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink);
}
.t-book { display: block; font-family: var(--serif); font-style: italic; font-size: 0.98rem; color: var(--teal-ink); margin-top: 0.2rem; }
.t-badges { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.65rem; }
.badge {
  display: inline-block; background: var(--coral); color: #fff;
  font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 0.28rem 0.65rem; border-radius: 999px;
}

/* ---------- video embed ---------- */
.video-embed {
  position: relative; aspect-ratio: 16 / 9;
  max-width: 56rem; margin-inline: auto;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: var(--ink);
}
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- book gallery ---------- */
.book-row {
  display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .book-row { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .book-row { grid-template-columns: repeat(6, 1fr); } }
.book-row figure { text-align: center; }
.book-row img {
  width: 100%; aspect-ratio: 2/3; object-fit: cover;
  border-radius: 6px; box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.book-row img:hover { transform: translateY(-4px); }
.book-row figcaption { margin-top: 0.6rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--slate); }

/* ---------- steps (editing levels) ---------- */
.step { display: flex; gap: 1.25rem; align-items: flex-start; }
.step + .step { margin-top: 2rem; }
.step-num {
  flex: 0 0 auto;
  width: 3rem; height: 3rem; border-radius: 50%;
  background: var(--coral); color: #fff;
  font-family: var(--serif); font-weight: 700; font-size: 1.4rem;
  display: grid; place-items: center;
}
.step h3 { margin-bottom: 0.4rem; }

/* ---------- FAQ accordion ---------- */
.faq details {
  border: 1px solid var(--line); border-radius: 10px;
  background: #fff; margin-bottom: 0.75rem;
  box-shadow: 0 4px 14px rgba(32,48,60,0.05);
}
.faq summary {
  cursor: pointer; list-style: none;
  padding: 1.1rem 3rem 1.1rem 1.3rem;
  font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.2rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem; font-weight: 400; color: var(--coral);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq-body { padding: 0 1.3rem 1.2rem; color: var(--slate); font-size: 0.95rem; }
.faq .faq-body p + p { margin-top: 0.8rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--coral) 0%, var(--coral-dark) 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.cta-band p { color: #FFE0DA; max-width: 38rem; margin: 1rem auto 0; }
.cta-band .btn { margin-top: 2rem; background: #fff; color: var(--coral-dark); }
.cta-band .btn:hover { background: var(--ink); color: #fff; }

/* ---------- forms ---------- */
.form-grid { display: grid; gap: 1.1rem; }
@media (min-width: 640px) {
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .full { grid-column: 1 / -1; }
}
label { font-weight: 700; font-size: 0.85rem; display: block; margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--ink);
  padding: 0.85rem 1rem;
  border: 1.5px solid var(--line); border-radius: 10px;
  background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(72,195,204,0.25);
}
textarea { min-height: 9rem; resize: vertical; }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); color: #B9C6CE; font-size: 0.92rem; }
.footer-grid {
  display: grid; gap: 2.2rem;
  padding-block: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.site-footer h4 {
  color: #fff; font-size: 0.78rem; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 1rem;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 0.5rem; }
.site-footer a { color: #B9C6CE; }
.site-footer a:hover { color: var(--teal); }
.footer-brand img { width: 170px; margin-bottom: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.2rem; text-align: center; font-size: 0.8rem; color: #7E939F;
}

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- desktop nav ---------- */
@media (min-width: 980px) {
  .nav-toggle { display: none; }
  .site-nav {
    position: static; inset: auto; background: none;
    display: flex; flex-direction: row; align-items: center;
    gap: 1.6rem; padding: 0;
    opacity: 1; visibility: visible;
  }
  .site-nav a {
    color: var(--ink); font-size: 0.82rem; font-weight: 800;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 0.4rem 0; border-bottom: 0;
  }
  .site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--coral); }
  .site-nav .nav-cta {
    margin-top: 0; background: var(--coral); color: #fff;
    padding: 0.7rem 1.4rem; font-size: 0.78rem;
  }
}

/* ---------- cookie consent banner ---------- */
.cookie-banner {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  background: var(--ink); box-shadow: 0 -4px 24px rgba(0,0,0,0.25);
}
.cookie-banner-inner {
  max-width: 1120px; margin: 0 auto; padding: 1.1rem var(--gutter);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 1rem 1.5rem;
}
.cookie-banner p { margin: 0; color: #C6D2DA; font-size: 0.88rem; max-width: 44rem; }
.cookie-banner a { color: var(--teal); }
.cookie-banner-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-banner .btn { padding: 0.75rem 1.4rem; font-size: 0.78rem; }
.cookie-banner .btn-ghost { color: #fff; }
.cookie-banner .btn-ghost:hover { color: var(--teal); }
@media (max-width: 640px) {
  .cookie-banner-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .cookie-banner-actions { justify-content: center; }
}
