/* Halcyon Literary House — site styles
   Palette taken from the kingfisher (the "halcyon" bird). */

:root {
  /* Black, ivory and champagne gold: a private literary house. */
  --ink: #0b0a09;          /* deep black, main dark surface */
  --ink-2: #171512;        /* raised dark surface */
  --kingfisher: #8a6a33;   /* deep gold: accent text on ivory */
  --kingfisher-lt: #c9a96e;/* champagne gold: accent on black */
  --amber: #c9a96e;        /* champagne gold buttons */
  --paper: #f5f0e6;        /* ivory page */
  --paper-2: #ece4d4;      /* deeper ivory band */
  --text: #1c1915;
  --muted: #5f574b;
  --line: #d9ccb4;
  --on-dark: #f5f0e6;
  --on-dark-muted: #b4ab9b;
  --gold-line: rgba(201, 169, 110, .28);

  --serif: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --r-sm: 2px;
  --r-md: 4px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  top: 0 !important; /* keeps Google Translate from pushing the page down */
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--kingfisher); text-underline-offset: 3px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; text-wrap: balance; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; color: inherit; }
h1 { font-size: clamp(3rem, 7vw, 5.6rem); font-weight: 400; letter-spacing: -0.015em; line-height: 1.02; }
h2 { font-size: clamp(2.2rem, 4vw, 3.3rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.08; }
h3 { font-size: 1.6rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.dark .lede { color: var(--on-dark-muted); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.band { background: var(--paper-2); }
.dark { background: var(--ink); color: var(--on-dark); }
.dark a { color: var(--kingfisher-lt); }
.dark a:hover { color: var(--on-dark); }

.kicker { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--kingfisher); margin: 0 0 .7rem; }
.dark .kicker { color: var(--kingfisher-lt); }

.skip { position: absolute; inset-inline-start: 8px; top: -200px; background: var(--amber); color: var(--ink); padding: 10px 14px; z-index: 100; }
.skip:focus { top: 8px; }

/* ---------- Buttons ---------- */
.btn {
  letter-spacing: .02em;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font: 600 1rem/1 var(--sans);
  padding: 16px 28px; border-radius: 2px;
  border: 1.5px solid transparent; cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn-primary { background: var(--amber); color: var(--ink); }
.btn-primary:hover { background: #dcc293; color: var(--ink); }
.dark .btn-primary, .dark .btn-primary:hover, .promo .btn-primary, .promo .btn-primary:hover { color: var(--ink); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.dark .btn-ghost { color: var(--on-dark); }
.dark .btn-ghost:hover { background: var(--on-dark); color: var(--ink); border-color: var(--on-dark); }
.text-link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(11, 10, 9, .94);
  backdrop-filter: saturate(1.4) blur(8px);
  color: var(--on-dark);
  border-bottom: 1px solid var(--gold-line);
}
.header-row { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--on-dark); flex-shrink: 0; }
.brand img { height: 40px; width: auto; max-width: 220px; }
.brand-name { font-family: var(--serif); font-size: 1.15rem; line-height: 1.05; }
.brand-name small { display: block; font-family: var(--sans); font-size: .72rem; color: var(--on-dark-muted); letter-spacing: .02em; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { color: var(--on-dark); text-decoration: none; font-size: .95rem; padding: 8px 11px; border-radius: 999px; white-space: nowrap; }
.nav a:hover { background: rgba(255,255,255,.08); color: var(--on-dark); }
.nav a[aria-current="page"] { color: var(--amber); }
.nav .btn { padding: 11px 18px; margin-left: 10px; font-size: .9rem; }
.nav .btn-primary, .nav .btn-primary:hover { color: var(--ink); background: var(--amber); }

.lang { position: relative; display: flex; align-items: center; }
.lang label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lang svg { position: absolute; left: 11px; pointer-events: none; color: var(--on-dark-muted); }
.lang select {
  appearance: none; -webkit-appearance: none;
  background: rgba(255,255,255,.06); color: var(--on-dark);
  border: 1px solid rgba(255,255,255,.18); border-radius: 999px;
  font: 500 .88rem var(--sans); padding: 8px 28px 8px 32px; cursor: pointer; max-width: 150px;
  background-image: linear-gradient(45deg, transparent 50%, var(--on-dark-muted) 50%), linear-gradient(135deg, var(--on-dark-muted) 50%, transparent 50%);
  background-position: calc(100% - 15px) 52%, calc(100% - 10px) 52%;
  background-size: 5px 5px; background-repeat: no-repeat;
}
.lang select option { color: #111; background: #fff; }

.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.25); color: var(--on-dark); border-radius: 999px; padding: 9px 16px; font: 600 .95rem var(--sans); cursor: pointer; }

@media (max-width: 1240px) {
  .menu-toggle { display: inline-block; }
  .header-row .lang { margin-left: 0; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 12px var(--gutter) 28px; border-bottom: 1px solid rgba(255,255,255,.1);
    max-height: calc(100vh - 72px); overflow-y: auto; display: none;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.05rem; }
  .nav .btn { margin: 18px 0 0; padding: 15px; border-bottom: 0; }
}
@media (max-width: 520px) {
  .header-row { gap: 10px; }
  .brand { flex-shrink: 1; min-width: 0; }
  .brand img { height: auto; max-height: 36px; max-width: 100%; width: auto; }
  .lang { flex-shrink: 0; }
  .lang select { max-width: 112px; }
  .menu-toggle { flex-shrink: 0; padding: 9px 13px; }
}

/* ---------- Hero (home) ---------- */
.hero { padding: clamp(56px, 8vw, 104px) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { color: var(--on-dark); margin-bottom: 1.5rem; }
.hero h1 em { font-style: italic; color: var(--kingfisher-lt); }
.hero .lede { margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* the shelf: real client covers standing on a ledge */
.shelf { position: relative; padding-bottom: 28px; }
.shelf-books { display: flex; align-items: flex-end; justify-content: center; gap: clamp(6px, 1.2vw, 14px); min-height: 360px; }
.shelf-books img {
  width: 24%; max-width: 150px; border-radius: 2px 4px 4px 2px;
  box-shadow: -6px 10px 22px rgba(0,0,0,.45), inset 2px 0 0 rgba(255,255,255,.15);
  transform-origin: bottom center;
}
.shelf-books img:nth-child(1) { transform: rotate(-4deg); width: 22%; }
.shelf-books img:nth-child(2) { width: 26%; }
.shelf-books img:nth-child(3) { width: 25%; transform: translateY(-6px); }
.shelf-books img:nth-child(4) { width: 23%; transform: rotate(3deg); }
.shelf::after {
  content: ""; position: absolute; left: -6%; right: -6%; bottom: 14px; height: 14px;
  background: linear-gradient(#c9a96e 0 2px, #2a241b 2px, #15120e); border-radius: 1px;
  box-shadow: 0 18px 30px rgba(0,0,0,.35);
}
@media (prefers-reduced-motion: no-preference) {
  .shelf-books img { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .shelf-books img:nth-child(2) { animation-delay: .08s; }
  .shelf-books img:nth-child(3) { animation-delay: .16s; }
  .shelf-books img:nth-child(4) { animation-delay: .24s; }
}
@keyframes rise { from { opacity: 0; translate: 0 40px; } to { opacity: 1; translate: 0 0; } }

.hero-foot {
  margin-top: clamp(48px, 6vw, 80px); border-top: 1px solid var(--gold-line);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero-foot div { padding: 22px 24px 26px 0; color: var(--on-dark-muted); font-size: .98rem; }
.hero-foot div + div { padding-left: 24px; border-left: 1px solid var(--gold-line); }
.hero-foot strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.8rem; color: var(--kingfisher-lt); margin-bottom: 2px; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .shelf-books { min-height: 0; }
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot div, .hero-foot div + div { padding: 18px 0; border-left: 0; border-top: 1px solid var(--gold-line); }
  .hero-foot div:first-child { border-top: 0; }
}

/* ---------- Page header (inner pages) ---------- */
.page-head { padding: clamp(64px, 9vw, 112px) 0 clamp(48px, 6vw, 72px); }
.page-head h1 { color: var(--on-dark); max-width: 14em; }
.page-head .lede { font-size: 1.3rem; max-width: 32em; margin: 0; }

/* ---------- Two-column story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.top { align-items: start; }
.split-img img { width: 100%; border-radius: var(--r-md); aspect-ratio: 4 / 3.4; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* ---------- Services as a contents page ---------- */
.contents { list-style: none; margin: 40px 0 0; padding: 0; border-top: 2px solid var(--ink); }
.contents li { border-bottom: 1px solid var(--line); }
.contents a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px 24px; padding: 26px 0; text-decoration: none; color: var(--text); }
.contents a:hover .c-title { color: var(--kingfisher); }
.c-head { display: flex; align-items: baseline; gap: 14px; min-width: 0; }
.c-title { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 2.9rem); line-height: 1.15; white-space: nowrap; transition: color .2s; }
.c-leader { flex: 1; border-bottom: 1px dotted #b8a37c; transform: translateY(-6px); min-width: 24px; }
.c-go { align-self: center; font-weight: 600; color: var(--kingfisher); white-space: nowrap; font-size: .95rem; }
.c-desc { grid-column: 1 / -1; color: var(--muted); margin: 0; max-width: 46em; }
.c-tags { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 4px 0 0; padding: 0; list-style: none; font-size: .95rem; }
.c-tags li { border: 0; color: var(--text); }
.c-tags li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--kingfisher); margin-right: 8px; vertical-align: middle; }
@media (max-width: 640px) {
  .c-title { white-space: normal; }
  .c-leader { display: none; }
  .contents a { grid-template-columns: 1fr; }
  .c-go { order: 5; }
}

/* ---------- Lists ---------- */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 14px 0 14px 36px; border-bottom: 1px solid var(--line); position: relative; }
.checks li::before {
  content: ""; position: absolute; left: 4px; top: 21px; width: 14px; height: 8px;
  border-left: 2.5px solid var(--kingfisher); border-bottom: 2.5px solid var(--kingfisher); transform: rotate(-45deg);
}
.dark .checks li { border-color: var(--gold-line); }
.dark .checks li::before { border-color: var(--kingfisher-lt); }

/* ---------- Process steps (a real sequence) ---------- */
.steps { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px 28px 8px 0; border-top: 2px solid var(--line); position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.steps li::before { content: counter(step, upper-roman); display: block; font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--kingfisher); margin-bottom: 18px; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); font-size: 1rem; }
.steps.five { grid-template-columns: repeat(5, 1fr); }
.dark .steps li { border-color: var(--gold-line); }
.dark .steps li::before { color: var(--amber); }
.dark .steps p { color: var(--on-dark-muted); }
@media (max-width: 960px) {
  .steps, .steps.five { grid-template-columns: 1fr 1fr; }
  .steps li, .steps li + li { padding: 26px 22px 10px 0; border-left: 0; }
}
@media (max-width: 560px) { .steps, .steps.five { grid-template-columns: 1fr; } }

/* ---------- Books ---------- */
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 48px) clamp(20px, 3vw, 36px); margin-top: 44px; }
.books.six { grid-template-columns: repeat(6, 1fr); }
.book { margin: 0; }
.book img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 2px 5px 5px 2px; box-shadow: -4px 8px 18px rgba(15,34,48,.22); background: var(--paper-2); }
.book figcaption { padding-top: 14px; }
.book .b-title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.2; display: block; }
.book .b-author { display: block; color: var(--text); font-weight: 600; font-size: .95rem; margin-top: 2px; }
.book .b-genre { display: block; color: var(--muted); font-size: .9rem; }
.books.six .b-title { font-size: 1.2rem; }
@media (max-width: 960px) { .books.six { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .books, .books.six { grid-template-columns: 1fr 1fr; } }
.fineprint { font-size: .88rem; color: var(--muted); margin-top: 32px; }
.dark .fineprint { color: var(--on-dark-muted); }

/* ---------- Team ---------- */
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px 24px; margin-top: 44px; align-items: start; }
.team.five { grid-template-columns: repeat(5, 1fr); }
.member { all: unset; display: block; box-sizing: border-box; width: 100%; align-self: start; cursor: pointer; text-align: left; border-radius: var(--r-md); }
.member:focus-visible { outline: 3px solid var(--amber); outline-offset: 6px; }
.member img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); filter: saturate(.85) contrast(1.02); transition: filter .25s; background: var(--paper-2); }
.member:hover img { filter: saturate(1.1); }
.member .m-name { display: block; font-family: var(--serif); font-size: 1.5rem; margin-top: 14px; color: var(--text); }
.member .m-role { display: block; color: var(--kingfisher); font-weight: 600; font-size: .92rem; line-height: 1.35; margin-top: 2px; }
.member .m-blurb { display: block; color: var(--muted); font-size: .95rem; margin-top: 8px; }
.member .m-more { display: inline-block; margin-top: 10px; font-weight: 600; font-size: .92rem; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) { .team, .team.five { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .team, .team.five { grid-template-columns: 1fr 1fr; gap: 28px 16px; } .member .m-name { font-size: 1.1rem; } }

dialog.bio {
  border: 0; padding: 0; border-radius: var(--r-md); width: min(760px, calc(100vw - 32px));
  max-height: calc(100vh - 48px); color: var(--text); background: var(--paper);
  box-shadow: 0 30px 80px rgba(0,0,0,.4);
}
dialog.bio::backdrop { background: rgba(10, 22, 32, .72); }
.bio-inner { display: grid; grid-template-columns: 220px 1fr; }
.bio-inner img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.bio-text { padding: 36px 36px 32px; overflow-y: auto; max-height: calc(100vh - 48px); }
.bio-text .m-role { color: var(--kingfisher); font-weight: 600; margin: 0 0 4px; }
.bio-text h3 { font-size: 2.4rem; margin-bottom: .6em; }
.bio-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--ink); color: var(--on-dark); font-size: 1.4rem; line-height: 1; cursor: pointer; }
@media (max-width: 640px) {
  .bio-inner { grid-template-columns: 1fr; }
  .bio-inner img { height: 240px; min-height: 0; object-position: top; }
  .bio-text { padding: 26px 22px; max-height: none; }
  dialog.bio { overflow-y: auto; }
}

/* ---------- Reviews ---------- */
.reviews { columns: 3 300px; column-gap: 28px; margin-top: 44px; }
.review { break-inside: avoid; margin: 0 0 28px; padding: 30px 28px 26px; background: #fbf8f2; border-radius: var(--r-md); border: 1px solid var(--line); }
.review blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: 1.3rem; line-height: 1.55; color: var(--text); }
.review blockquote::before { content: "\201C"; display: block; font-size: 3.2rem; line-height: .6; color: var(--amber); margin-bottom: 12px; }
.review .r-name { font-weight: 700; display: block; }
.review .r-service { color: var(--kingfisher); font-size: .92rem; display: block; }
.review.lead { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.review.lead blockquote { color: var(--on-dark); font-size: 1.45rem; }
.review.lead .r-service { color: var(--kingfisher-lt); }

/* home: rotating single quote */
.quote-rotator { position: relative; max-width: 54rem; }
.quote-rotator blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.7rem, 3.2vw, 2.5rem); line-height: 1.3; margin: 0 0 26px; color: var(--on-dark); font-weight: 400; }
.quote-rotator .q { display: none; }
.quote-rotator .q.on { display: block; }
.q-meta { color: var(--on-dark-muted); }
.q-meta strong { color: var(--on-dark); display: block; font-size: 1.05rem; }
.q-controls { display: flex; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.q-controls button { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.35); background: transparent; color: var(--on-dark); cursor: pointer; font-size: 1.15rem; }
.q-controls button:hover { background: rgba(255,255,255,.1); }
.q-count { color: var(--on-dark-muted); font-size: .95rem; margin-right: 12px; min-width: 3.5em; }
.q-controls .text-link { margin-left: auto; }

/* ---------- Roadmap promo ---------- */
.promo { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; background: var(--ink); color: var(--on-dark); border: 1px solid var(--gold-line); border-radius: var(--r-md); padding: clamp(32px, 5vw, 64px); overflow: hidden; }
.promo h2 { color: var(--on-dark); }
.promo p { color: var(--on-dark-muted); }
.promo .kicker { color: var(--kingfisher-lt); }
.guide-cover {
  justify-self: center; width: min(250px, 80%); aspect-ratio: 3 / 4; background: var(--paper); color: var(--ink);
  border-radius: 3px 8px 8px 3px; padding: 26px 22px; display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: -10px 18px 40px rgba(0,0,0,.35), inset 8px 0 0 var(--ink); transform: rotate(3deg);
}
.guide-cover small { font-size: .78rem; color: var(--muted); padding-left: 10px; }
.guide-cover b { font-family: var(--serif); font-weight: 500; font-size: 1.75rem; line-height: 1.1; padding-left: 10px; }
.guide-cover span { width: 46px; height: 6px; background: var(--amber); margin-left: 10px; }
@media (max-width: 760px) { .promo { grid-template-columns: 1fr; } .guide-cover { width: 190px; } }

/* ---------- Forms ---------- */
.form-card { background: #fbf8f2; border: 1px solid var(--line); border-radius: 14px; padding: clamp(24px, 4vw, 40px); }
.dark .form-card { color: var(--text); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--text); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 13px 14px;
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--kingfisher); box-shadow: 0 0 0 3px rgba(201,169,110,.25); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: .88rem; color: var(--muted); margin: 14px 0 0; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-done { display: none; text-align: left; }
.form-done h3 { font-size: 1.7rem; }
.sent .form-fields { display: none; }
.sent .form-done { display: block; }
.contact-lines { list-style: none; padding: 0; margin: 28px 0 0; }
.contact-lines li { padding: 10px 0; }
.contact-lines a { font-weight: 600; word-break: break-word; }

/* ---------- CTA band ---------- */
.cta-band { text-align: left; }
.cta-band .wrap { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { max-width: 18em; margin: 0; color: var(--on-dark); }

/* ---------- Service detail (services page) ---------- */
.svc { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.svc:first-of-type { border-top: 0; }
.svc-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 80px); }
.svc .tagline, .tagline { font-family: var(--serif); font-style: italic; font-size: 1.6rem; color: var(--kingfisher); margin-top: 28px; line-height: 1.35; }
.svc h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.cols-2 { columns: 2; column-gap: 28px; }
.cols-2 li { break-inside: avoid; }
@media (max-width: 860px) { .svc-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cols-2 { columns: 1; } }

.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; }
.jump a { text-decoration: none; padding: 9px 18px; border-radius: 2px; border: 1px solid var(--gold-line); color: var(--on-dark); font-size: .95rem; }
.jump a:hover { background: rgba(255,255,255,.1); color: var(--on-dark); }

/* ---------- Prose (legal) ---------- */
.prose { max-width: 42em; }
.prose h2 { font-size: 1.8rem; margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 64px 0 36px; font-size: .95rem; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand img { height: 44px; }
.site-footer h2 { font-family: var(--sans); font-size: .95rem; font-weight: 700; color: var(--on-dark); margin-bottom: 14px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.foot-base { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.social { display: flex; gap: 10px; }
.social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid; place-items: center; }
.social a:hover { border-color: var(--amber); }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Translation bar + hide Google's own UI ---------- */
.translated-note {
  display: none; background: var(--amber); color: var(--ink); font-size: .9rem; text-align: center; padding: 8px var(--gutter);
}
.translated-note button { background: none; border: 0; font: inherit; font-weight: 700; text-decoration: underline; cursor: pointer; color: inherit; padding: 0 4px; }
html.is-translated .translated-note { display: block; }
#gt-holder, .goog-te-banner-frame, .skiptranslate iframe, iframe.skiptranslate,
#goog-gt-tt, .goog-te-balloon-frame, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }

.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Luxury additions ---------- */
.hero h1, .page-head h1 { color: var(--on-dark); }
.hero { padding-bottom: 0; }
.page-head { border-bottom: 1px solid var(--gold-line); }
.dark .btn-ghost { border-color: var(--gold-line); color: var(--on-dark); }
.dark .btn-ghost:hover { background: transparent; border-color: var(--kingfisher-lt); color: var(--kingfisher-lt); }
.btn-ghost { border-color: var(--text); }
.btn-ghost:hover { background: var(--ink); color: var(--on-dark); }
.contents { border-top: 1px solid var(--text); }
.contents a { padding: 30px 0; }
.svc-name { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 0 0 18px; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 3.8rem); line-height: 1; color: var(--kingfisher); }
.svc-name small { font-family: var(--sans); font-size: .95rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; }
.svc h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.optional { font-weight: 400; color: var(--muted); }
.cta-band .lede { margin: 14px 0 0; }
.cta-band h2 { color: var(--on-dark); }
.foot-line { margin: 18px 0 20px; max-width: 24em; }
.foot-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
.site-footer { border-top: 1px solid var(--gold-line); }
.social a { border-color: var(--gold-line); color: var(--on-dark); }
.review.lead { border-color: var(--gold-line); }
.guide-cover { box-shadow: -10px 18px 40px rgba(0,0,0,.5), inset 8px 0 0 var(--kingfisher-lt); }
.guide-cover span { background: var(--kingfisher-lt); }
.q-controls button { border-color: var(--gold-line); color: var(--kingfisher-lt); }
.lang select { border-color: var(--gold-line); }
.translated-note { background: var(--kingfisher-lt); }

/* ---------- Reader sites ---------- */
.imprints { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.imprint { display: flex; flex-direction: column; gap: 10px; padding: clamp(26px, 4vw, 40px); background: var(--ink); color: var(--on-dark); border: 1px solid var(--gold-line); border-radius: var(--r-md); text-decoration: none; transition: border-color .2s; }
.imprint:hover { border-color: var(--kingfisher-lt); color: var(--on-dark); }
.imp-name { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.1; color: var(--kingfisher-lt); }
.imp-line { font-family: var(--serif); font-style: italic; font-size: 1.3rem; }
.imp-desc { color: var(--on-dark-muted); }
.imp-go { margin-top: auto; padding-top: 10px; font-weight: 600; color: var(--on-dark); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--kingfisher-lt); }
@media (max-width: 760px) { .imprints { grid-template-columns: 1fr; } }

/* ---------- Right-to-left (Arabic) ---------- */
[dir="rtl"] .checks li { padding: 14px 36px 14px 0; }
[dir="rtl"] .checks li::before { left: auto; right: 4px; }
[dir="rtl"] .steps li { padding: 28px 0 8px 28px; }
[dir="rtl"] .steps li + li { padding-right: 28px; border-left: 0; border-right: 1px solid var(--gold-line); }
[dir="rtl"] .hero-foot div { padding: 22px 0 26px 24px; }
[dir="rtl"] .hero-foot div + div { padding-right: 24px; border-left: 0; border-right: 1px solid var(--gold-line); }
[dir="rtl"] .nav { margin-left: 0; margin-right: auto; }
[dir="rtl"] .q-controls .text-link { margin-left: 0; margin-right: auto; }
[dir="rtl"] .lang svg { left: auto; right: 11px; }
[dir="rtl"] .lang select { padding: 8px 32px 8px 28px; background-position: 15px 52%, 10px 52%; }
[dir="rtl"] .c-tags li::before { margin: 0 0 0 8px; }
[dir="rtl"] .bio-close { right: auto; left: 12px; }
@media (max-width: 960px) { [dir="rtl"] .steps li, [dir="rtl"] .steps li + li { padding: 26px 0 10px 22px; border-right: 0; } }
@media (max-width: 860px) { [dir="rtl"] .hero-foot div, [dir="rtl"] .hero-foot div + div { padding: 18px 0; border-right: 0; } }
html.i18n-loading body { visibility: hidden; }

/* keep anchored sections clear of the sticky header */
[id] { scroll-margin-top: 88px; }

.book .b-series { display: block; color: var(--kingfisher); font-size: .85rem; font-weight: 600; margin-top: 2px; }

/* landscape covers: show the whole cover */
.book.wide img { object-fit: contain; background: var(--ink); padding: 0; }

/* keep faces in frame */
.member img { object-position: center 22%; }
.bio-inner img { object-position: center 20%; }

/* logo sizing (wordmark is wide: 370 x 72) */
.site-header .brand img { height: 44px; width: auto; max-width: none; }
@media (max-width: 520px) {
  .site-header .brand { flex: 0 0 auto; min-width: 0; }
  .site-header .brand img { height: 28px; width: auto; max-width: none; max-height: none; }
}
@media (max-width: 400px) {
  .site-header .brand img { height: 24px; }
  .header-row { gap: 8px; }
  .lang select { max-width: 96px; padding-right: 24px; }
  .menu-toggle { padding: 8px 11px; }
}

/* very small phones */
.foot-grid > * { min-width: 0; }
.site-footer a { overflow-wrap: anywhere; }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 350px) {
  .site-header .brand img { height: 21px; }
  .header-row { gap: 6px; }
  .lang svg { display: none; }
  .lang select { max-width: 84px; padding: 7px 22px 7px 10px; font-size: .82rem; }
  [dir="rtl"] .lang select { padding: 7px 10px 7px 22px; }
  .menu-toggle { padding: 7px 9px; font-size: .85rem; }
}
.team > *, .books > * { min-width: 0; }
.member .m-name, .member .m-role, .member .m-blurb, .book figcaption span { overflow-wrap: break-word; hyphens: auto; }

/* phones: language picker moves into the menu panel */
.lang-mobile { display: none; }
@media (max-width: 520px) {
  .header-row > .lang { display: none; }
  .nav .lang-mobile { display: flex; margin: 6px 0 10px; }
  .nav .lang-mobile select { max-width: none; width: 100%; font-size: 1rem; padding: 12px 34px 12px 38px; }
  .nav .lang-mobile svg { display: block; left: 14px; }
  [dir="rtl"] .nav .lang-mobile svg { left: auto; right: 14px; }
  [dir="rtl"] .nav .lang-mobile select { padding: 12px 38px 12px 34px; }
  .site-header .brand img { height: 32px; }
}
@media (max-width: 350px) { .site-header .brand img { height: 28px; } }

/* ---------- Buy links ---------- */
.book .b-buy { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; color: var(--kingfisher); text-decoration: underline; text-underline-offset: 3px; }
.book .b-buy::after { content: " \2197"; font-size: .8em; }

/* ---------- Results (home) ---------- */
.results { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--text); margin-top: 36px; }
.result { display: flex; flex-direction: column; gap: 6px; padding: 28px 24px 26px 0; text-decoration: none; color: var(--text); min-width: 0; }
.result + .result { padding-left: 24px; border-left: 1px solid var(--line); }
.result .r-num, .case-num .r-num { font-family: var(--serif); font-size: clamp(3rem, 6vw, 4.6rem); line-height: .95; color: var(--kingfisher); }
.result .r-label, .case-num .r-label { font-size: 1.05rem; }
.result .r-who { color: var(--muted); font-size: .92rem; }
.result:hover .r-num { color: var(--text); }
@media (max-width: 760px) {
  .results { grid-template-columns: 1fr; }
  .result, .result + .result { padding: 22px 0; border-left: 0; border-top: 1px solid var(--line); }
  .result:first-child { border-top: 0; }
}
[dir="rtl"] .result { padding: 28px 0 26px 24px; }
[dir="rtl"] .result + .result { padding-right: 24px; border-left: 0; border-right: 1px solid var(--line); }
@media (max-width: 760px) { [dir="rtl"] .result, [dir="rtl"] .result + .result { padding: 22px 0; border-right: 0; } }

/* ---------- Case studies ---------- */
.cases { display: grid; gap: 0; }
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 64px; padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.case:first-child { border-top: 0; padding-top: 0; }
.case-head h2 { margin: 0; }
.case-svc { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 0 0 10px; font-family: var(--serif); font-size: 1.5rem; color: var(--kingfisher); }
.case-svc small { font-family: var(--sans); font-size: .9rem; font-weight: 600; color: var(--muted); }
.case-num { display: flex; flex-direction: column; gap: 6px; align-self: end; }
.case-body { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 12px 0 0; }
.case-body dt { font-weight: 700; margin-bottom: 6px; }
.case-body dd { margin: 0; color: var(--muted); }
@media (max-width: 860px) { .case { grid-template-columns: 1fr; } .case-body { grid-template-columns: 1fr; } .case-num { align-self: start; } }

/* ---------- FAQ ---------- */
.faq > * { max-width: 52rem; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-of-type { border-top: 1px solid var(--text); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 24px 0; font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.25; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-family: var(--sans); font-size: 1.6rem; line-height: 1; color: var(--kingfisher); flex-shrink: 0; transition: transform .2s; }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin: 0 0 26px; color: var(--muted); max-width: 44em; }
.faq-more { margin-top: 32px; }

/* ---------- Estate: recent work ---------- */
.work-wrap { grid-column: 1 / -1; margin-top: 8px; }
.work { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: center; padding: clamp(20px, 3vw, 32px); background: var(--ink); color: var(--on-dark); border: 1px solid var(--gold-line); border-radius: var(--r-md); text-decoration: none; }
.work:hover { border-color: var(--kingfisher-lt); color: var(--on-dark); }
.work-covers { display: flex; gap: 8px; }
.work-covers img { width: 78px; height: auto; border-radius: 2px; box-shadow: -3px 6px 14px rgba(0,0,0,.5); }
.work-text { display: flex; flex-direction: column; gap: 8px; }
.work-name { font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--kingfisher-lt); line-height: 1.1; }
.work-desc { color: var(--on-dark-muted); }
.work-go { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--kingfisher-lt); }
@media (max-width: 640px) { .work { grid-template-columns: 1fr; } .work-covers img { width: 70px; } }
