/* ==========================================================================
   TechLearning - single stylesheet
   Order: tokens, reset, base, layout, header, components, templates, footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   Tokens
   -------------------------------------------------------------------------- */
/* Brand colours are sampled from the logo: orange #fe6408, black #070807.
   Note on contrast: white text on #fe6408 is only 3.0:1 and fails WCAG AA for
   body-size text, so orange fills carry BLACK text (7.0:1). Orange used as text
   on white is darkened to --accent-700 (#b34700, 5.5:1) instead. */
:root {
  --ink:        #0a0a0a;
  --ink-2:      #3d3d3d;
  --ink-3:      #6e6e6e;
  --brand:      #141414;
  --brand-700:  #000000;
  --brand-100:  #fff1e8;
  --accent:     #fe6408;
  --accent-700: #b34700;
  --accent-100: #ffeadd;
  --accent-lift:#ff8a3d;
  --bg:         #ffffff;
  --bg-alt:     #faf8f6;
  --bg-deep:    #0d0d0d;
  --line:       #e4e0dc;
  --line-soft:  #efebe7;
  --warn-bg:    #fbf7f3;
  --warn-line:  #ddd6cd;

  --radius:     10px;
  --radius-lg:  16px;
  --shadow:     0 1px 2px rgba(10, 10, 10, .06), 0 8px 24px rgba(10, 10, 10, .07);
  --shadow-lg:  0 2px 4px rgba(10, 10, 10, .06), 0 18px 40px rgba(10, 10, 10, .12);

  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap:       1140px;
  --wrap-text:  760px;
  --gutter:     24px;
  --header-h:   86px;
}

/* --------------------------------------------------------------------------
   Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body { margin: 0; }
img, svg, video { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body {
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.05rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.15rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.2rem, 1.06rem + 0.6vw, 1.4rem); }
h4 { font-size: 1.0625rem; }

a { color: var(--brand); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--accent-700); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 3px; }

strong, b { color: var(--ink); font-weight: 650; }
code { font-family: var(--mono); font-size: .9em; background: var(--bg-alt); border: 1px solid var(--line-soft); border-radius: 4px; padding: .1em .35em; }

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--text { max-width: var(--wrap-text); }
.section { padding-block: clamp(48px, 6vw, 84px); }
.section--alt { background: var(--bg-alt); }
.section--deep { background: var(--bg-deep); color: #c9c5c1; }
.section--deep h2, .section--deep h3 { color: #fff; }
.section--tight { padding-block: clamp(36px, 4vw, 56px); }

.grid { display: grid; gap: 24px; }
/* Mobile-first and in ascending order - declaring the wide breakpoint first lets the
   narrow one win at large viewports, which silently collapses 3- and 4-up grids to 2. */
@media (min-width: 640px)  { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px)  { .grid--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 720px)  { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid--3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 var(--radius) 0;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }

.section-head { max-width: 720px; margin-bottom: clamp(28px, 3vw, 44px); }
.section-head p { margin-top: 12px; font-size: 1.09rem; }
.eyebrow {
  display: inline-block; margin-bottom: 12px;
  font-size: .78rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase;
  color: var(--accent-700);
}
.section--deep .eyebrow { color: var(--accent-lift); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: 13px 24px; border: 1px solid transparent; border-radius: var(--radius);
  font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .16s ease, color .16s ease, border-color .16s ease, transform .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary, a.btn--primary { background: var(--accent); color: #0a0a0a; }
.btn--dark, a.btn--primary:hover { background: #0a0a0a; color: var(--accent); }
/* On dark surrounds the near-black hover state disappears into the background,
   so lift the fill instead of inverting it. */
.hero .btn--primary:hover,
.cta-band .btn--primary:hover,
.widget--accent .btn--primary:hover,
.section--deep .btn--primary:hover { background: var(--accent-lift); color: #0a0a0a; }
.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { background: transparent; color: var(--brand); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); background: var(--brand-100); color: var(--brand); }
.section--deep .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section--deep .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.hero .btn--ghost, .cta-band .btn--ghost { color: #fff; border-color: rgba(255,255,255,.42); }
.hero .btn--ghost:hover, .cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.topbar {
  background: var(--brand-700); color: #b8b4b0;
  font-size: .85rem; line-height: 1.4;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; align-items: center; justify-content: space-between; min-height: 38px; padding-block: 7px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header.is-stuck { box-shadow: 0 4px 20px rgba(11, 31, 51, .08); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: var(--header-h); }

/* Logo stacked over its descriptor. The mark already contains the wordmark,
   so the only text here is "hosting and development". */
.brand {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px;
  text-decoration: none; flex: 0 0 auto; padding-block: 4px;
}
.brand img { width: auto; height: 40px; }
.brand-name { font-weight: 750; font-size: 1.24rem; color: var(--ink); letter-spacing: -0.02em; line-height: 1; }
.brand-tag {
  font-size: .69rem; font-weight: 600; color: var(--ink-3);
  letter-spacing: .13em; text-transform: uppercase; line-height: 1;
  padding-left: 2px;
}

.nav-toggle {
  margin-left: auto; display: inline-flex; align-items: center; gap: 8px;
  background: none; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 9px 14px; font-weight: 600; font-size: .93rem; color: var(--ink);
}
@media (min-width: 1120px) { .nav-toggle { display: none; } }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; }
.main-nav a { text-decoration: none; color: var(--ink); font-weight: 550; font-size: .98rem; }

@media (min-width: 1120px) {
  .main-nav { display: flex; align-items: center; }
  .main-nav > ul { display: flex; align-items: center; gap: 2px; }
  .main-nav > ul > li { position: relative; }
  .main-nav > ul > li > a { display: block; padding: 9px 11px; border-radius: 8px; white-space: nowrap; }
  .main-nav > ul > li > a:hover,
  .main-nav > ul > li.current-menu-item > a,
  .main-nav > ul > li.current-menu-ancestor > a { background: var(--brand-100); color: var(--brand); }
  .main-nav .menu-item-has-children > a::after {
    content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 7px; vertical-align: 2px;
    border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg);
  }
  .main-nav .sub-menu {
    position: absolute; top: calc(100% + 6px); left: 0; min-width: 268px;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg); padding: 8px;
    opacity: 0; visibility: hidden; transform: translateY(-6px);
    transition: opacity .15s ease, transform .15s ease, visibility .15s;
  }
  .main-nav li:hover > .sub-menu,
  .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
  .main-nav .sub-menu a { display: block; padding: 9px 12px; border-radius: 7px; font-size: .95rem; }
  .main-nav .sub-menu a:hover { background: var(--bg-alt); color: var(--brand); }
  .header-cta { margin-left: 14px; padding: 11px 20px; font-size: .95rem; }
}

@media (max-width: 1119px) {
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg); padding: 12px var(--gutter) 24px;
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .main-nav.is-open { display: block; }
  .main-nav li { border-bottom: 1px solid var(--line-soft); }
  .main-nav a { display: block; padding: 13px 2px; }
  .main-nav .sub-menu { padding-left: 16px; border-left: 2px solid var(--brand-100); margin-bottom: 8px; }
  .header-cta { display: block; margin-top: 18px; text-align: center; justify-content: center; }
}

/* --------------------------------------------------------------------------
   Breadcrumbs
   -------------------------------------------------------------------------- */
.breadcrumbs { background: var(--bg-alt); border-bottom: 1px solid var(--line-soft); font-size: .88rem; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding-block: 12px; color: var(--ink-3); }
.breadcrumbs li::after { content: "/"; margin-left: 8px; color: var(--line); }
.breadcrumbs li:last-child::after { content: none; }
.breadcrumbs a { color: var(--ink-2); text-decoration: none; }
.breadcrumbs a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink); font-weight: 550; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  background: linear-gradient(168deg, #000000 0%, #141414 55%, #1f1a17 100%);
  color: #c9c5c1; position: relative; overflow: hidden;
  padding-block: clamp(56px, 7vw, 104px);
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(58% 78% at 86% 10%, rgba(254,100,8,.34), transparent 66%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; gap: 44px; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.hero h1 { color: #fff; }
.hero-lead { margin-top: 20px; font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); color: #ddd9d5; max-width: 60ch; }
.hero-points { list-style: none; margin: 26px 0 0; display: grid; gap: 11px; }
.hero-points li { position: relative; padding-left: 30px; color: #ddd9d5; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .52em; width: 16px; height: 9px;
  border-left: 2.4px solid var(--accent); border-bottom: 2.4px solid var(--accent);
  transform: rotate(-45deg);
}
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px);
}
.hero-card h2 { font-size: 1.12rem; color: #fff; }
.hero-card dl { margin: 16px 0 0; display: grid; gap: 14px; }
.hero-card dt { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-lift); font-weight: 700; }
.hero-card dd { margin: 3px 0 0; color: #e8e5e2; font-size: .97rem; }
/* Inline links inside the dark cards only. Buttons are anchors too, and this rule
   outranks .btn--primary (0,1,1 vs 0,1,0); without :not(.btn) it repainted button
   labels light orange on an orange fill, roughly 1.4:1. */
.hero-card a:not(.btn), .cta-band a:not(.btn), .widget--accent a:not(.btn) { color: var(--accent-lift); }

/* Page hero (inner pages) */
.page-hero { background: var(--bg-deep); color: #c9c5c1; padding-block: clamp(44px, 5vw, 72px); }
.page-hero h1 { color: #fff; }
.page-hero p { margin-top: 16px; font-size: 1.1rem; color: #ddd9d5; max-width: 68ch; }
.page-hero .eyebrow { color: var(--accent-lift); }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; display: flex; flex-direction: column; gap: 10px;
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.card:hover { border-color: #cfc8c1; box-shadow: var(--shadow); transform: translateY(-2px); }
.card h3 { font-size: 1.13rem; }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--brand); }
.card p { font-size: .98rem; }
.card .card-link { margin-top: auto; padding-top: 6px; font-weight: 650; font-size: .94rem; text-decoration: none; }
.card .card-link::after { content: " →"; }
.card-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--accent-100);
  display: grid; place-items: center; color: var(--accent-700); margin-bottom: 4px;
}
.card-icon svg { width: 22px; height: 22px; }
.card--flat { background: var(--bg-alt); border-color: transparent; }
.card--flat:hover { transform: none; box-shadow: none; border-color: var(--line); }

/* --------------------------------------------------------------------------
   Prose (post/page body)
   -------------------------------------------------------------------------- */
.prose { max-width: 72ch; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 { margin-top: 2em; padding-top: .2em; }
.prose h3 { margin-top: 1.6em; }
.prose h2 + p, .prose h3 + p, .prose h2 + ul, .prose h3 + ul { margin-top: .75em; }
.prose ul, .prose ol { padding-left: 1.35em; }
.prose li + li { margin-top: .45em; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 1.6em; }
.prose ul > li::before {
  content: ""; position: absolute; left: .35em; top: .68em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}
.prose ol { padding-left: 1.5em; }
.prose ol > li::marker { color: var(--accent-700); font-weight: 700; }
.prose a { font-weight: 550; }
.prose figure { margin-block: 2em; }
.prose figcaption {
  margin-top: 10px; font-size: .88rem; color: var(--ink-3);
  border-left: 3px solid var(--accent-100); padding-left: 12px;
}
.prose img { border-radius: var(--radius); border: 1px solid var(--line-soft); }
.prose blockquote {
  border-left: 3px solid var(--accent); background: var(--bg-alt);
  padding: 18px 22px; border-radius: 0 var(--radius) var(--radius) 0; color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; font-size: .96rem; }
.prose .table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.prose .table-scroll table { border: 0; }
.prose th, .prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.prose thead th { background: var(--bg-alt); color: var(--ink); font-weight: 650; white-space: nowrap; }
.prose tbody tr:last-child td { border-bottom: 0; }

/* Callout used for honest scope statements ("what we don't do") */
.note {
  border: 1px solid var(--line); border-left: 4px solid var(--accent);
  background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0;
  padding: 18px 22px; margin-block: 2em;
}
.note > * + * { margin-top: .7em; }
.note h3 { font-size: 1.02rem; }
.note--scope { border-left-color: #0a0a0a; background: var(--warn-bg); border-color: var(--warn-line); }

/* --------------------------------------------------------------------------
   Two-column article layout with sticky sidebar
   -------------------------------------------------------------------------- */
.layout { display: grid; gap: 44px; align-items: start; }
@media (min-width: 1000px) { .layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 60px; } }
.sidebar { display: grid; gap: 22px; }
@media (min-width: 1000px) { .sidebar { position: sticky; top: calc(var(--header-h) + 24px); } }
.widget { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; background: #fff; }
.widget--accent { background: var(--brand-700); border-color: var(--brand-700); color: #c9c5c1; }
.widget--accent h2, .widget--accent h3 { color: #fff; }
.widget h3 { font-size: 1.02rem; margin-bottom: 12px; }
.widget ul { list-style: none; display: grid; gap: 2px; }
.widget li a {
  display: block; padding: 8px 10px; margin-inline: -10px; border-radius: 7px;
  text-decoration: none; font-size: .95rem; color: var(--ink-2);
}
.widget li a:hover { background: var(--bg-alt); color: var(--brand); }
.widget li.is-current a { background: var(--brand-100); color: var(--brand); font-weight: 650; }
.widget p { font-size: .94rem; }
.widget .btn { width: 100%; justify-content: center; margin-top: 14px; }

/* Table of contents */
.toc { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px 24px; background: var(--bg-alt); }
.toc h2 { font-size: 1rem; margin-bottom: 10px; }
.toc ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 6px; font-size: .95rem; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq { display: grid; gap: 12px; max-width: 860px; }
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
  transition: border-color .16s ease;
}
.faq details[open] { border-color: #cfc8c1; box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 52px 18px 22px; position: relative;
  font-weight: 650; color: var(--ink); font-size: 1.02rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 22px; top: 26px; width: 9px; height: 9px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq-body { padding: 0 22px 20px; }
.faq .faq-body > * + * { margin-top: .8em; }

/* --------------------------------------------------------------------------
   Steps / process
   -------------------------------------------------------------------------- */
.steps { list-style: none; display: grid; gap: 24px; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { counter-increment: step; padding-top: 18px; border-top: 3px solid var(--line); }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  display: block; font-size: .82rem; font-weight: 750; letter-spacing: .08em; color: var(--accent-700); margin-bottom: 8px;
}
.steps h3 { font-size: 1.06rem; margin-bottom: 6px; }
.steps p { font-size: .96rem; }

/* --------------------------------------------------------------------------
   Post list
   -------------------------------------------------------------------------- */
.post-list { display: grid; gap: 26px; }
@media (min-width: 760px) { .post-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .post-list { grid-template-columns: repeat(3, 1fr); } }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; transition: box-shadow .16s ease, transform .16s ease; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card .thumb { aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-alt); }
.post-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card h2, .post-card h3 { font-size: 1.1rem; }
.post-card h2 a, .post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h2 a:hover, .post-card h3 a:hover { color: var(--brand); }
.post-card p { font-size: .96rem; }
.meta { font-size: .84rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 6px 14px; }
.meta a { color: var(--ink-3); }

.pagination { margin-top: 48px; display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pagination .page-numbers {
  display: inline-grid; place-items: center; min-width: 42px; height: 42px; padding-inline: 12px;
  border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink-2);
}
.pagination .page-numbers:hover { border-color: var(--brand); color: var(--brand); }
.pagination .current { background: var(--brand); border-color: var(--brand); color: #fff; }

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */
.cta-band { background: linear-gradient(140deg, #000000, #1c1613 70%, #2a1a0d); color: #c9c5c1; border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 52px); }
.cta-band h2 { color: #fff; }
.cta-band p { margin-top: 14px; max-width: 62ch; color: #ddd9d5; }
.cta-contact { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .96rem; }
.cta-contact a { color: #fff; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.field { display: grid; gap: 7px; margin-bottom: 18px; }
.field label { font-weight: 600; color: var(--ink); font-size: .95rem; }
.field .req { color: #b23c3c; }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; transition: border-color .16s ease, box-shadow .16s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-100);
}
.field .hint { font-size: .86rem; color: var(--ink-3); }
.wpcf7 form .wpcf7-response-output { border-radius: var(--radius); border-width: 1px; margin: 18px 0 0; padding: 12px 16px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { background: var(--bg-deep); color: #b0aca8; padding-block: clamp(48px, 5vw, 72px) 0; font-size: .95rem; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 720px)  { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 44px; } }
.site-footer h2 { font-size: .82rem; letter-spacing: .09em; text-transform: uppercase; color: var(--accent-lift); margin-bottom: 16px; }
.site-footer ul { list-style: none; display: grid; gap: 9px; }
.site-footer a { color: #e0dcd8; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-brand .brand-name { color: #fff; }
.footer-brand .brand-tag { color: #8a8683; }
.footer-brand p { margin-top: 16px; max-width: 40ch; }
.footer-contact { display: grid; gap: 10px; margin-top: 4px; }
.footer-bottom {
  margin-top: 44px; border-top: 1px solid rgba(255,255,255,.12); padding-block: 22px;
  display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; font-size: .88rem; color: #8a8683;
}
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */
.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.lead { font-size: 1.14rem; color: var(--ink-2); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0 !important; }

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.quote-card {
  margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px 26px; display: flex; flex-direction: column; gap: 18px;
  position: relative;
}
/* Ornament only - the real quotation marks are in the markup, so this sits back
   far enough not to read as a second opening quote. */
.quote-card::before {
  content: "\201C"; position: absolute; top: 2px; right: 20px;
  font-size: 5rem; line-height: 1; color: var(--accent); opacity: .12; font-family: Georgia, serif;
  pointer-events: none;
}
.quote-card blockquote {
  margin: 0; padding: 0; border: 0; background: none; border-radius: 0;
  font-size: 1.06rem; line-height: 1.65; color: var(--ink); position: relative;
}
.quote-card figcaption { margin-top: auto; display: flex; flex-direction: column; gap: 2px; padding-top: 4px; border-top: 1px solid var(--line-soft); }
.quote-person { font-weight: 700; color: var(--ink); }
.quote-role { font-size: .92rem; color: var(--ink-3); }

/* --------------------------------------------------------------------------
   Progressive form disclosure
   -------------------------------------------------------------------------- */
.form-more { border: 1px solid var(--line); border-radius: var(--radius); margin: 4px 0 20px; background: var(--bg-alt); }
.form-more summary {
  cursor: pointer; list-style: none; padding: 14px 18px; font-weight: 600;
  color: var(--accent-700); font-size: .96rem; position: relative;
}
.form-more summary::-webkit-details-marker { display: none; }
.form-more summary::after {
  content: ""; position: absolute; right: 18px; top: 20px; width: 8px; height: 8px;
  border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(45deg); transition: transform .18s ease;
}
.form-more[open] summary::after { transform: rotate(-135deg); }
.form-more[open] summary { border-bottom: 1px solid var(--line); }
.form-more-body { padding: 18px 18px 4px; }
.form-more-body .field:last-child { margin-bottom: 14px; }

/* --------------------------------------------------------------------------
   Trust strip
   -------------------------------------------------------------------------- */
.trust-strip { background: var(--bg-alt); border-bottom: 1px solid var(--line); padding-block: 30px; }
.trust-logos { margin-bottom: 26px; }
.trust-logos-label {
  font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); margin-bottom: 14px;
}
.trust-logos ul { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 18px 40px; }
.trust-logos img { max-height: 42px; width: auto; opacity: .78; filter: grayscale(1); transition: opacity .16s, filter .16s; }
.trust-logos li:hover img { opacity: 1; filter: none; }

.trust-quote { margin: 0 0 26px; max-width: 74ch; }
.trust-quote blockquote {
  margin: 0; font-size: 1.12rem; line-height: 1.6; color: var(--ink); font-weight: 550;
  border-left: 3px solid var(--accent); padding-left: 18px;
}
.trust-quote figcaption { margin-top: 8px; padding-left: 21px; font-size: .92rem; color: var(--ink-3); }

.trust-points { list-style: none; display: grid; gap: 20px 32px; }
@media (min-width: 640px)  { .trust-points { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-points { grid-template-columns: repeat(4, 1fr); } }
.trust-points li { display: flex; flex-direction: column; gap: 4px; padding-left: 16px; border-left: 2px solid var(--accent); }
.trust-point-title { font-weight: 700; color: var(--ink); font-size: .99rem; }
.trust-point-body { font-size: .9rem; color: var(--ink-3); line-height: 1.5; }
