/* Inkstead — warm paper, forest green, copper. Editorial UK professional. */

:root {
  --ink: #1a2c24;
  --ink-2: #0f1c16;
  --paper: #f4efe4;
  --paper-2: #ebe4d6;
  --paper-3: #fffdf8;
  --copper: #b85c38;
  --copper-deep: #8f4228;
  --rule: #c9bda8;
  --text: #1f241f;
  --muted: #5c675e;
  --line: rgba(26, 44, 36, 0.14);
  --radius: 2px;
  --radius-sm: 2px;
  --shadow: none;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Source Sans 3", "Segoe UI", sans-serif;
  --max: 1080px;
  --gutter: clamp(1.15rem, 4.5vw, 2.4rem);
  --header-h: 68px;
  --topbar-h: 36px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
}
img, svg, video, iframe { max-width: 100%; display: block; }
a { color: var(--copper-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin: 0 0 0.55em;
}
p { margin: 0 0 1em; }
ul { margin: 0 0 1em; padding-left: 1.15em; }
li + li { margin-top: 0.3em; }

.skip-link {
  position: absolute; left: 0.75rem; top: 0; z-index: 1000;
  transform: translateY(-120%);
  background: var(--copper); color: #fff; padding: 0.55rem 1rem; font-weight: 700;
}
.skip-link:focus { transform: translateY(0.75rem); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
}

/* Top utility bar */
.topbar {
  background: var(--ink);
  color: rgba(244, 239, 228, 0.78);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
}
.topbar__inner {
  display: flex; justify-content: space-between; gap: 1rem; align-items: center;
  min-height: var(--topbar-h);
}
.topbar p { margin: 0; }
.topbar a { color: #f4efe4; text-decoration: none; }
.topbar a:hover { color: #fff; }
@media (max-width: 640px) {
  .topbar__inner { flex-direction: column; align-items: flex-start; padding-block: 0.45rem; gap: 0.15rem; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.site-header.is-scrolled {
  box-shadow: 0 1px 0 var(--rule);
}
.header-bar {
  display: flex; align-items: center; gap: 0.5rem;
  min-height: var(--header-h);
  min-width: 0;
  width: 100%;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--ink); font-weight: 700;
  font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.03em;
  flex-shrink: 1; min-width: 0;
}
.logo__mark {
  width: 26px; height: 26px;
  background: var(--copper);
  border: 0;
  position: relative;
  flex-shrink: 0;
}
.logo__mark::before { display: none; }
.logo__mark::after {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1.5px solid #f4efe4;
}

.header-cta {
  display: flex; align-items: center; gap: 0.4rem;
  margin-left: auto; flex-shrink: 0;
}
.header-phone { display: none !important; }
@media (min-width: 860px) {
  .header-phone { display: inline-flex !important; }
}

.nav { display: none; }
@media (min-width: 980px) {
  .nav { display: block; margin-left: 1.75rem; }
  .nav__list {
    display: flex; align-items: center; gap: 0.15rem;
    list-style: none; margin: 0; padding: 0;
  }
  .nav__link {
    display: inline-flex; align-items: center;
    padding: 0.35rem 0.65rem;
    color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.92rem;
    background: transparent; border: 0; border-bottom: 2px solid transparent;
    cursor: pointer; font-family: inherit; border-radius: 0;
  }
  .nav__link:hover, .nav__link.is-active {
    color: var(--copper-deep);
    border-bottom-color: var(--copper);
    background: transparent;
  }
}

.nav-burger {
  width: 42px; height: 42px;
  border: 1px solid var(--ink); background: var(--paper-3);
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  cursor: pointer; border-radius: 0;
}
.nav-burger span { width: 16px; height: 1.5px; background: var(--ink); }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
@media (min-width: 980px) { .nav-burger { display: none; } }

@media (max-width: 979px) {
  .nav {
    display: block; position: fixed; inset: calc(var(--topbar-h) + var(--header-h)) 0 auto 0;
    background: var(--paper-3); border-bottom: 1px solid var(--rule);
    padding: 0.75rem 1rem 1.25rem; transform: translateY(-120%);
    transition: transform 0.3s var(--ease); max-height: calc(100vh - var(--header-h));
    overflow: auto;
  }
  .nav.is-open { transform: none; }
  .nav__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
  .nav__link {
    width: 100%; text-align: left; padding: 0.9rem 0;
    border: 0; border-bottom: 1px solid var(--rule); background: transparent;
    color: var(--ink); font-weight: 600; font-size: 1.05rem;
    font-family: inherit; cursor: pointer; text-decoration: none; display: block;
    border-radius: 0;
  }
}

/* Buttons — square, not pills */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  padding: 0.8rem 1.2rem; border-radius: 0; font-weight: 700;
  font-family: var(--font-body); font-size: 0.92rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; transition: 0.2s var(--ease);
  white-space: nowrap; max-width: 100%;
  letter-spacing: 0.02em;
}
.btn--primary {
  background: var(--copper); color: #fff; border-color: var(--copper);
}
.btn--primary:hover { background: var(--copper-deep); color: #fff; border-color: var(--copper-deep); }
.btn--ghost {
  background: transparent; color: inherit; border-color: currentColor;
}
.btn--ghost:hover { background: rgba(255,255,255,0.08); color: inherit; }
.header-cta .btn--ghost { color: var(--ink); border-color: var(--ink); }
.btn--outline {
  background: transparent; color: var(--ink); border-color: var(--ink);
}
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 0.5rem 0.9rem; font-size: 0.85rem; }
.btn--dark { background: var(--ink); color: #f4efe4; border-color: var(--ink); }
.btn--dark:hover { background: var(--ink-2); color: #fff; }

.cta-row {
  display: flex; flex-wrap: wrap; gap: 0.7rem; align-items: center;
  max-width: 100%;
}
@media (max-width: 520px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; white-space: normal; text-align: center; }
}

/* Split hero */
.hero {
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
  width: 100%;
  max-width: 100%;
}
.hero-split {
  display: grid;
  grid-template-columns: 1fr;
  min-width: 0;
}
@media (min-width: 900px) {
  .hero-split { grid-template-columns: 1.15fr 0.85fr; min-height: min(78vh, 620px); }
}
.hero-copy {
  padding: clamp(2.5rem, 7vw, 5rem) var(--gutter);
  max-width: 42rem;
}
.hero-copy .kicker { color: var(--copper-deep); }
.hero h1 {
  font-size: clamp(2rem, 4.6vw, 3.35rem);
  font-weight: 600;
  max-width: 16ch;
  color: var(--ink);
  margin-bottom: 1rem;
}
.hero .lede {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 46ch;
  margin-bottom: 1.6rem;
}
.hero-panel {
  background: var(--ink);
  color: #e7e1d4;
  padding: clamp(2rem, 5vw, 3.25rem) var(--gutter);
  display: flex; align-items: center;
}
.hero-panel ol {
  list-style: none; margin: 0; padding: 0; width: 100%;
}
.hero-panel li {
  display: grid; grid-template-columns: 2.4rem 1fr; gap: 0.85rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(244, 239, 228, 0.12);
  margin: 0;
}
.hero-panel li:last-child { border-bottom: 0; }
.hero-panel strong {
  font-family: var(--font-display);
  color: var(--copper);
  font-size: 0.95rem;
}
.hero-panel span { font-size: 0.98rem; line-height: 1.5; }

.brand-signal { display: none; }

/* Sections */
main, .section, .page-hero, .site-footer, .site-header {
  max-width: 100%;
  min-width: 0;
}
.section { padding: clamp(3rem, 6vw, 5rem) 0; overflow-x: clip; }
.section--alt,
.section--tint {
  background: var(--paper-2);
  border-block: 1px solid var(--rule);
}
.section--rule { padding-block: 0; }
.section--ink {
  background: var(--ink);
  color: #e7e1d4;
}
.section--ink h2, .section--ink h3 { color: #f4efe4; }
.section--ink .muted { color: rgba(231, 225, 212, 0.75); }
.section-head { max-width: 640px; margin-bottom: 2rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); margin-bottom: 0.45rem; }
.muted { color: var(--muted); }
.kicker {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--copper-deep); margin-bottom: 0.55rem;
}

.policy-quote {
  margin: 0;
  padding: 1.75rem 0;
  border-block: 1px solid var(--rule);
  font-size: 1.12rem;
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--ink);
  max-width: 70ch;
}

/* Directory rows (homepage) */
.directory { border-top: 1px solid var(--ink); }
.directory__row {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.75rem 1.25rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule);
  text-decoration: none; color: inherit;
  align-items: baseline;
}
@media (min-width: 700px) {
  .directory__row { grid-template-columns: 3rem 1fr 1.4fr; }
}
.directory__row em {
  font-style: normal; font-family: var(--font-display);
  color: var(--copper); font-weight: 600;
}
.directory__row strong {
  font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); font-weight: 600;
}
.directory__row span { color: var(--muted); font-size: 0.98rem; }
.directory__row:hover strong { color: var(--copper-deep); }

.service-grid {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  min-width: 0;
  border-top: 1px solid var(--ink);
}
@media (min-width: 800px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-link {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding: 1.35rem 1.1rem 1.35rem 0;
  text-decoration: none; color: inherit;
  background: transparent; border: 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
@media (min-width: 800px) {
  .service-link {
    padding: 1.5rem 1.4rem 1.5rem 0;
    border-bottom: 0;
    border-right: 1px solid var(--rule);
  }
  .service-link:last-child { border-right: 0; }
}
.service-link:hover { background: transparent; transform: none; box-shadow: none; }
.service-link::before { display: none; }
.service-link strong {
  font-family: var(--font-display); font-size: 1.2rem; color: var(--ink);
  padding-left: 0;
}
.service-link span { color: var(--muted); font-size: 0.95rem; padding-left: 0; }
.service-link:hover strong { color: var(--copper-deep); }

.brand-strip { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.brand-chip {
  display: inline-flex; align-items: center; padding: 0.55rem 0.85rem;
  border-radius: 0; text-decoration: none; font-weight: 700;
  color: var(--ink); background: transparent; border: 1px solid var(--ink);
}
.brand-chip:hover { background: var(--ink); color: var(--paper); }

.wizard-teaser { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 860px) {
  .wizard-teaser { grid-template-columns: 1.1fr 0.9fr; }
}
.flow-preview { display: grid; gap: 0; }
.flow-step {
  display: grid; grid-template-columns: auto 1fr; gap: 0.85rem; align-items: start;
  padding: 1rem 0; border-bottom: 1px solid var(--rule);
}
.flow-num {
  width: 28px; height: 28px;
  display: grid; place-items: center; font-weight: 700; font-size: 0.85rem;
  background: var(--ink); color: var(--paper); font-family: var(--font-display);
}

/* Inner page hero */
.page-hero {
  padding: clamp(2.25rem, 5vw, 3.5rem) 0 1.75rem;
  background: var(--paper-2);
  border-bottom: 1px solid var(--rule);
}
.page-hero h1 { font-size: clamp(1.85rem, 3.8vw, 2.7rem); max-width: 18ch; }
.page-hero .lede { max-width: 52ch; color: var(--muted); font-size: 1.08rem; }
.breadcrumb {
  display: flex; flex-wrap: wrap; gap: 0.35rem; align-items: center;
  list-style: none; margin: 0 0 1rem; padding: 0;
  font-size: 0.82rem; color: var(--muted); letter-spacing: 0.04em; text-transform: uppercase;
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--copper-deep); }
.breadcrumb li:not(:last-child)::after {
  content: "—"; margin-left: 0.35rem; opacity: 0.5;
}

.prose { max-width: 720px; }
.prose h2 { font-size: 1.55rem; margin-top: 2rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.5rem; }
.prose .callout,
.callout {
  margin: 1.5rem 0; padding: 1.1rem 1.15rem;
  border-left: 3px solid var(--copper);
  background: var(--paper-3);
}
.policy-quote + .container { }
.content-layout { display: grid; gap: 2.5rem; }
@media (min-width: 960px) {
  .content-layout { grid-template-columns: minmax(0, 1fr) 260px; align-items: start; }
}
.side-panel {
  position: sticky; top: calc(var(--header-h) + 1rem);
  padding: 1.25rem 0 0;
  background: transparent; border: 0;
  border-top: 1px solid var(--ink);
}
.side-panel h3 {
  font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 0.85rem;
}
.side-panel ul { list-style: none; padding: 0; margin: 0 0 1rem; }
.side-panel a { text-decoration: none; font-weight: 600; color: var(--ink); }
.side-panel a:hover { color: var(--copper-deep); }

.plain-list { list-style: none; padding: 0; }
.plain-list li {
  display: grid; grid-template-columns: 7.5rem 1fr; gap: 0.5rem;
  padding: 0.65rem 0; border-bottom: 1px solid var(--rule); margin: 0;
}
.plain-list strong { font-weight: 700; color: var(--ink); }

.steps { counter-reset: step; list-style: none; padding: 0; margin: 1.5rem 0; }
.steps > li {
  counter-increment: step;
  position: relative;
  padding: 1rem 0 1rem 3.2rem;
  margin-bottom: 0;
  background: transparent; border: 0;
  border-bottom: 1px solid var(--rule);
  border-radius: 0;
}
.steps > li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 1rem;
  width: auto; height: auto; border-radius: 0;
  display: block;
  background: transparent; color: var(--copper); font-weight: 700; font-size: 0.9rem;
  font-family: var(--font-display);
}

.link-grid {
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--ink);
}
@media (min-width: 640px) {
  .link-grid { grid-template-columns: repeat(2, 1fr); }
}
.link-grid a {
  display: block; padding: 0.95rem 0; text-decoration: none; font-weight: 700;
  color: var(--ink); border-bottom: 1px solid var(--rule);
}
.link-grid a:hover { color: var(--copper-deep); padding-left: 0; }

.form { display: grid; gap: 1rem; max-width: 560px; }
.form label { display: grid; gap: 0.35rem; font-weight: 600; font-size: 0.95rem; }
.form input, .form select, .form textarea {
  width: 100%; padding: 0.75rem 0.85rem; border-radius: 0;
  border: 0; border-bottom: 1px solid var(--ink); background: transparent;
  font: inherit; color: var(--text);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-bottom-color: var(--copper);
}
.form .hint { font-weight: 400; color: var(--muted); font-size: 0.88rem; }
.form .check { display: flex; gap: 0.65rem; align-items: flex-start; font-weight: 500; }
.form .check input { width: auto; margin-top: 0.25rem; }
.form-success {
  padding: 1rem 0; border-top: 1px solid var(--copper); border-bottom: 1px solid var(--copper);
  color: var(--ink); font-weight: 600; background: transparent;
}

.wizard {
  max-width: 720px;
  background: var(--paper-3); border: 1px solid var(--ink);
  padding: clamp(1.25rem, 3vw, 2rem);
}
.wizard__progress {
  height: 2px; background: var(--rule); margin-bottom: 1.5rem; overflow: hidden;
}
.wizard__bar {
  height: 100%; width: 0%; background: var(--copper);
  transition: width 0.4s var(--ease);
}
.wizard__question {
  font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 0.5rem;
}
.wizard__hint { color: var(--muted); margin-bottom: 1.25rem; }
.wizard__options { display: grid; gap: 0; }
.wizard-opt {
  text-align: left; width: 100%; padding: 1rem 0; border-radius: 0;
  border: 0; border-bottom: 1px solid var(--rule); background: transparent; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--ink);
}
.wizard-opt:hover, .wizard-opt:focus {
  border-color: var(--copper); color: var(--copper-deep); outline: none;
}
.wizard__actions { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 1.25rem; }

.cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 200;
  background: var(--ink); color: #e7e1d4; padding: 1rem 5.5rem 1rem 1rem;
  max-width: 100%;
}
.cookie-banner[hidden] { display: none !important; }
.cookie-banner__inner {
  width: min(100%, var(--max)); margin-inline: auto;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
}
.cookie-banner p { margin: 0; max-width: 58ch; font-size: 0.95rem; }
.cookie-banner a { color: #e8c4b4; }
.cookie-banner .btn--ghost { color: #f4efe4; border-color: #f4efe4; }

.site-footer {
  position: relative; margin-top: 0;
  background: var(--ink); color: rgba(231, 225, 212, 0.82);
  padding: 3.25rem 0 2rem;
  border-top: 3px solid var(--copper);
}
.footer-wave { display: none; }
.footer-grid {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); }
}
.footer-brand p { font-size: 0.95rem; }
.footer-meta { color: rgba(231, 225, 212, 0.55); font-size: 0.9rem; }
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: #f4efe4; margin-bottom: 0.85rem;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a {
  color: rgba(231, 225, 212, 0.75); text-decoration: none; font-size: 0.95rem;
}
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(244,239,228,0.12);
  font-size: 0.88rem; color: rgba(231, 225, 212, 0.5);
}
.footer-legal-nav { margin: 0.75rem 0; display: flex; flex-wrap: wrap; gap: 0.65rem 1.1rem; }
.footer-legal-nav a { color: rgba(231, 225, 212, 0.75); text-decoration: none; }
.footer-legal-nav a:hover { color: #fff; }
.footer-bottom a { color: #e8c4b4; }
.footer-disclaimer { max-width: 70ch; }

.fee-table {
  margin: 1.25rem 0 1.5rem;
  border: 0;
  border-top: 1px solid var(--ink);
  background: transparent;
}
.fee-row {
  display: grid; grid-template-columns: 1fr; gap: 0.25rem;
  padding: 1rem 0; border-bottom: 1px solid var(--rule);
}
@media (min-width: 640px) {
  .fee-row { grid-template-columns: 1.2fr 1fr; align-items: center; }
}
.fee-label { font-weight: 600; color: var(--ink); }
.fee-value { color: var(--copper-deep); }
.fee-note {
  margin: 0; padding: 0 0 1rem;
  font-size: 0.95rem; color: var(--muted);
  border-bottom: 1px solid var(--rule);
}

.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.two-col { display: grid; gap: 1.5rem; }
@media (min-width: 760px) {
  .two-col { grid-template-columns: 1fr 1fr; }
}
.stat-inline {
  display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem;
  padding-top: 1.25rem; border-top: 1px solid var(--rule);
}
.stat-inline strong {
  display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--ink);
}
.stat-inline span { font-size: 0.9rem; color: var(--muted); }

.legal-note {
  font-size: 0.9rem; color: var(--muted); margin-top: 2rem;
  padding-top: 1rem; border-top: 1px solid var(--rule);
}

.letterhead { max-width: 40rem; }
