/* ==========================================================================
   UK Small Websites
   Brand palette lifted directly from the logo artwork.
   ========================================================================== */

:root {
  /* Colour */
  --forest: #07342b;
  --forest-deep: #04211b;
  --forest-mid: #0f4b3e;
  --orange: #f3741a;
  --orange-deep: #d85f0c;
  --cream: #fefbf8;
  --cream-warm: #f7f2ea;
  --sage: #c0c5b5;
  --sage-soft: #dfe3d8;
  --olive: #3e4a38;
  --ink: #1b241f;
  --ink-soft: #4c574f;
  --line: rgba(7, 52, 43, 0.14);

  /* Type */
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* Space */
  --sp-section: clamp(4.5rem, 9vw, 8rem);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 6px rgba(7, 52, 43, 0.06);
  --shadow: 0 18px 40px -22px rgba(7, 52, 43, 0.4);
  --shadow-lg: 0 34px 70px -30px rgba(7, 52, 43, 0.45);
  --maxw: 1180px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 0.6em;
  color: var(--forest);
}
h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); }
h2 { font-size: clamp(1.95rem, 3.9vw, 2.9rem); }
h3 { font-size: clamp(1.2rem, 1.9vw, 1.45rem); letter-spacing: -0.015em; }
h4 { font-size: 1.05rem; letter-spacing: -0.01em; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--orange); color: #fff; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(1.15rem, 4vw, 2rem); }
.section { padding-block: var(--sp-section); }
.section--tight { padding-block: clamp(3rem, 6vw, 4.5rem); }
.section--cream { background: var(--cream-warm); }
.section--forest { background: var(--forest); color: var(--sage-soft); }
.section--forest h2, .section--forest h3, .section--forest h4 { color: var(--cream); }

.grid { display: grid; gap: clamp(1.15rem, 2.4vw, 1.85rem); }
.g-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.lead { font-size: clamp(1.075rem, 1.6vw, 1.22rem); color: var(--ink-soft); line-height: 1.6; }
.section--forest .lead { color: rgba(223, 227, 216, 0.82); }
.measure { max-width: 62ch; }
.center { text-align: center; }
.center .measure { margin-inline: auto; }

/* ---------- Eyebrow: a status label, not decoration ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--olive); margin-bottom: 1rem;
}
.eyebrow::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: var(--orange); flex: none;
}
.section--forest .eyebrow { color: var(--sage); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  font-family: var(--display); font-weight: 700; font-size: 0.98rem; letter-spacing: -0.01em;
  padding: 0.92rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 12px 26px -14px rgba(216, 95, 12, 0.9); }
.btn--primary:hover { background: var(--orange-deep); }
.btn--forest { background: var(--forest); color: var(--cream); }
.btn--forest:hover { background: var(--forest-mid); }
.btn--ghost { border-color: var(--line); color: var(--forest); background: transparent; }
.btn--ghost:hover { border-color: var(--forest); background: rgba(7, 52, 43, 0.04); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--outline-light { border-color: rgba(223, 227, 216, 0.4); color: var(--cream); }
.btn--outline-light:hover { border-color: var(--cream); background: rgba(254, 251, 248, 0.08); }
.btn--wide { width: 100%; }
.btn--lg { padding: 1.05rem 1.9rem; font-size: 1.05rem; }

/* ---------- Signature device: the browser frame from the logo ---------- */
.frame {
  border: 2px solid var(--forest);
  border-radius: var(--radius-lg);
  background: var(--cream);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.frame__bar {
  display: flex; align-items: center; gap: 7px;
  padding: 0.72rem 1rem;
  border-bottom: 2px solid var(--forest);
  background: var(--cream);
}
.frame__bar i { width: 11px; height: 11px; border-radius: 50%; background: var(--olive); flex: none; }
.frame__bar i:first-child { background: var(--orange); }
.frame__bar span {
  margin-left: 0.6rem;
  font-family: var(--display); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.08em; text-transform: lowercase; color: var(--olive);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.frame__body { padding: clamp(1.35rem, 2.6vw, 2rem); }
.frame__media { position: relative; aspect-ratio: 16 / 10; background: var(--sage-soft); }
.frame__media img { width: 100%; height: 100%; object-fit: cover; }

/* Fallback pattern if a photo fails to load */
.media { position: relative; background: linear-gradient(140deg, var(--forest) 0%, var(--forest-mid) 55%, var(--olive) 100%); overflow: hidden; }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media.is-fallback::after {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 22% 28%, rgba(243, 116, 26, 0.55) 0, transparent 42%),
                    repeating-linear-gradient(135deg, rgba(192, 197, 181, 0.14) 0 12px, transparent 12px 24px);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(254, 251, 248, 0.93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; margin-right: auto; }
.brand img { height: 32px; width: auto; }
.brand b {
  font-family: var(--display); font-weight: 800; font-size: 1.02rem;
  letter-spacing: 0.01em; text-transform: uppercase; color: var(--forest); line-height: 1;
}
.brand b em { font-style: normal; color: var(--orange); }
.nav { display: flex; align-items: center; gap: 1.55rem; }
.nav a {
  text-decoration: none; font-size: 0.95rem; font-weight: 500; color: var(--ink-soft);
  padding-block: 0.3rem; border-bottom: 2px solid transparent; transition: color 0.15s ease, border-color 0.15s ease;
}
.nav a:hover { color: var(--forest); }
.nav a[aria-current="page"] { color: var(--forest); border-bottom-color: var(--orange); font-weight: 600; }
.header-cta { display: inline-flex; }
.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px;
  background: transparent; cursor: pointer;
}
.nav-toggle span { position: relative; width: 18px; height: 2px; background: var(--forest); display: block; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: var(--forest);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--forest); color: var(--sage-soft); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(ellipse at 78% 8%, rgba(243, 116, 26, 0.22) 0, transparent 52%),
                    radial-gradient(ellipse at 6% 92%, rgba(15, 75, 62, 0.9) 0, transparent 58%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 4.5vw, 4rem);
  align-items: center;
  padding-block: clamp(3.5rem, 7vw, 6rem);
}
.hero h1 { color: var(--cream); }
.hero h1 mark { background: none; color: var(--orange); }
.hero__sub { font-size: clamp(1.08rem, 1.7vw, 1.28rem); color: rgba(223, 227, 216, 0.86); max-width: 34ch; }
.hero__points { list-style: none; margin: 1.9rem 0 0; padding: 0; display: grid; gap: 0.7rem; }
.hero__points li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1rem; color: rgba(223, 227, 216, 0.92); }
.hero__points svg { flex: none; margin-top: 4px; color: var(--orange); }
.hero__flag {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: rgba(254, 251, 248, 0.1); border: 1px solid rgba(223, 227, 216, 0.22);
  color: var(--sage-soft); border-radius: 999px; padding: 0.4rem 0.9rem;
  font-family: var(--display); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  margin-bottom: 1.4rem;
}
.hero__flag i { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.45; transform: scale(0.82); } }

/* ---------- Forms ---------- */
.form-card { position: relative; }
.form-card .frame { box-shadow: var(--shadow-lg); }
.form-card h2 { font-size: 1.42rem; margin-bottom: 0.35rem; }
.form-card .form-intro { font-size: 0.94rem; color: var(--ink-soft); margin-bottom: 1.35rem; }
.field { margin-bottom: 0.95rem; }
.field label {
  display: block; font-family: var(--display); font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--olive); margin-bottom: 0.4rem;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 0.8rem 0.95rem;
  border: 1.5px solid var(--line); border-radius: 11px;
  background: #fff; font-size: 1rem; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%233e4a38' stroke-width='2.5'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95rem center; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(243, 116, 26, 0.18);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem; }
.field-hidden { display: none; }
.form-note { font-size: 0.82rem; color: var(--ink-soft); margin-top: 0.9rem; text-align: center; }
.hp { position: absolute; left: -9999px; opacity: 0; }
.form-status { margin-top: 0.9rem; font-size: 0.92rem; border-radius: 11px; padding: 0.75rem 0.9rem; display: none; }
.form-status.is-error { display: block; background: rgba(216, 95, 12, 0.1); color: var(--orange-deep); border: 1px solid rgba(216, 95, 12, 0.3); }
.form-status.is-sending { display: block; background: rgba(7, 52, 43, 0.06); color: var(--forest); }

/* ---------- Benefit strip ---------- */
.strip { border-bottom: 1px solid var(--line); background: var(--cream); }
.strip .grid { padding-block: clamp(2.2rem, 4vw, 3rem); }
.strip-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.strip-item .ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  display: grid; place-items: center; background: var(--forest); color: var(--cream);
}
.strip-item h3 { font-size: 1.02rem; margin-bottom: 0.2rem; }
.strip-item p { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.35rem, 2.2vw, 1.7rem); box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 0.45rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--sage-soft); color: var(--forest); margin-bottom: 1rem;
}

/* Sector cards with photography */
.sector { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; display: block; }
.sector .media { position: absolute; inset: 0; }
.sector img { transition: transform 0.5s ease; }
.sector:hover img { transform: scale(1.06); }
.sector figcaption {
  position: absolute; inset: auto 0 0 0; padding: 1.5rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(4, 33, 27, 0.92) 12%, rgba(4, 33, 27, 0) 100%);
  color: var(--cream); font-family: var(--display); font-weight: 700; font-size: 1rem; letter-spacing: -0.01em;
}

/* Checklist */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.15rem; }
.checklist li { display: flex; gap: 0.8rem; align-items: flex-start; padding: 0.72rem 0; border-bottom: 1px solid var(--line); }
.checklist li:last-child { border-bottom: 0; }
.checklist svg { flex: none; margin-top: 4px; color: var(--orange); }
.checklist strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1rem; color: var(--forest); letter-spacing: -0.01em; }
.checklist span { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.5; }
.section--forest .checklist li { border-color: rgba(192, 197, 181, 0.18); }
.section--forest .checklist strong { color: var(--cream); }
.section--forest .checklist span { color: rgba(223, 227, 216, 0.78); }

/* ---------- Maths / CTA band ---------- */
.band { background: var(--orange); color: #fff; position: relative; overflow: hidden; }
.band::after {
  content: ""; position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.07) 0 18px, transparent 18px 36px);
  pointer-events: none;
}
.band .wrap { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; padding-block: clamp(2.4rem, 4.5vw, 3.4rem); }
.band h2 { color: #fff; margin: 0; font-size: clamp(1.5rem, 2.9vw, 2.15rem); max-width: 24ch; }
.band p { color: rgba(255, 255, 255, 0.9); margin-top: 0.6rem; max-width: 46ch; }

.maths { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: rgba(192, 197, 181, 0.25); border-radius: var(--radius); overflow: hidden; }
.maths div { background: var(--forest); padding: 1.5rem 1.3rem; }
.maths b { display: block; font-family: var(--display); font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--orange); letter-spacing: -0.03em; line-height: 1; }
.maths span { display: block; margin-top: 0.45rem; font-size: 0.9rem; color: rgba(223, 227, 216, 0.8); line-height: 1.45; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; align-items: start; }
.tier {
  background: #fff; border: 2px solid var(--line); border-radius: var(--radius-lg);
  padding: 1.9rem 1.6rem; position: relative; display: flex; flex-direction: column; height: 100%;
}
.tier--featured { border-color: var(--forest); box-shadow: var(--shadow); }
.tier__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--orange); color: #fff; border-radius: 999px; padding: 0.3rem 0.95rem;
  font-family: var(--display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; white-space: nowrap;
}
.tier h3 { margin-bottom: 0.25rem; }
.tier__for { font-size: 0.9rem; color: var(--ink-soft); min-height: 2.9em; }
.tier__price { display: flex; align-items: baseline; gap: 0.35rem; margin: 1.1rem 0 0.35rem; }
.tier__price b { font-family: var(--display); font-size: 3rem; font-weight: 800; color: var(--forest); letter-spacing: -0.04em; line-height: 1; }
.tier__price span { font-size: 0.95rem; color: var(--ink-soft); }
.tier__setup { font-size: 0.88rem; color: var(--olive); border-bottom: 1px solid var(--line); padding-bottom: 1.2rem; margin-bottom: 1.2rem; }
.tier ul { list-style: none; margin: 0 0 1.6rem; padding: 0; display: grid; gap: 0.62rem; }
.tier ul li { display: flex; gap: 0.6rem; font-size: 0.94rem; line-height: 1.45; }
.tier ul li svg { flex: none; margin-top: 4px; color: var(--orange); }
.tier ul li.is-muted { color: rgba(76, 87, 79, 0.55); }
.tier ul li.is-muted svg { color: var(--sage); }
.tier .btn { margin-top: auto; }

.price-note {
  margin-top: 1.6rem; display: flex; gap: 1rem; align-items: flex-start;
  background: var(--sage-soft); border-radius: var(--radius); padding: 1.1rem 1.3rem;
  font-size: 0.94rem; color: var(--forest);
}
.price-note svg { flex: none; margin-top: 3px; color: var(--forest); }

/* ---------- Showcase ---------- */
.showcase { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; }
.showcase .frame { box-shadow: var(--shadow-sm); }
.showcase .frame__body { padding: 1.1rem 1.25rem 1.35rem; }
.showcase h3 { font-size: 1.08rem; margin-bottom: 0.25rem; }
.showcase p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.tagline {
  display: inline-block; margin-top: 0.85rem;
  font-family: var(--display); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--olive); background: var(--sage-soft); border-radius: 999px; padding: 0.28rem 0.75rem;
}

/* ---------- Steps (a real sequence, so numbered) ---------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.steps li { list-style: none; display: grid; grid-template-columns: 78px 1fr; gap: 1.4rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-size: 1.6rem; font-weight: 800; color: var(--orange); letter-spacing: -0.03em;
}
.steps h3 { margin-bottom: 0.3rem; }
.steps p { font-size: 0.96rem; color: var(--ink-soft); margin: 0; }
.section--forest .steps li { border-color: rgba(192, 197, 181, 0.2); }
.section--forest .steps p { color: rgba(223, 227, 216, 0.78); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.25rem 2.5rem 1.25rem 0; position: relative;
  font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--forest); letter-spacing: -0.015em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 12px; height: 12px;
  border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.faq p { padding: 0 2.5rem 1.35rem 0; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- Stats ---------- */
.stat { text-align: left; }
.stat b { display: block; font-family: var(--display); font-size: clamp(2.3rem, 5vw, 3.2rem); font-weight: 800; color: var(--orange); letter-spacing: -0.04em; line-height: 1; }
.stat span { display: block; margin-top: 0.6rem; font-size: 0.95rem; color: rgba(223, 227, 216, 0.8); line-height: 1.5; }

/* ---------- Page header ---------- */
.page-head { background: var(--forest); color: var(--sage-soft); position: relative; overflow: hidden; }
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(ellipse at 85% 10%, rgba(243, 116, 26, 0.2) 0, transparent 55%);
}
.page-head .wrap { position: relative; padding-block: clamp(3.2rem, 6vw, 5rem); }
.page-head h1 { color: var(--cream); margin-bottom: 0.8rem; }
.page-head p { color: rgba(223, 227, 216, 0.85); font-size: clamp(1.05rem, 1.6vw, 1.2rem); max-width: 60ch; }
.crumbs { font-size: 0.85rem; color: rgba(192, 197, 181, 0.75); margin-bottom: 1.2rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--orange); }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(223, 227, 216, 0.72); padding-block: clamp(3rem, 6vw, 4.5rem) 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: clamp(1.6rem, 3vw, 2.6rem); }
.site-footer img.flogo { height: 54px; width: auto; margin-bottom: 1rem; }
.site-footer h4 { color: var(--cream); font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }
.site-footer a { text-decoration: none; transition: color 0.15s ease; }
.site-footer a:hover { color: var(--orange); }
.footer-mail { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--cream); font-family: var(--display); font-weight: 700; font-size: 1.02rem; text-decoration: none; }
.footer-mail:hover { color: var(--orange); }
.footer-bottom {
  margin-top: clamp(2.4rem, 4vw, 3.4rem); border-top: 1px solid rgba(192, 197, 181, 0.16);
  padding-block: 1.5rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: 0.85rem; color: rgba(192, 197, 181, 0.6);
}
.footer-bottom ul { display: flex; gap: 1.2rem; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Focus ---------- */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.skip {
  position: absolute; left: -9999px; top: 0; background: var(--forest); color: var(--cream);
  padding: 0.8rem 1.2rem; z-index: 100; border-radius: 0 0 10px 0; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .g-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pricing, .showcase { grid-template-columns: 1fr; }
  .tier--featured { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav {
    position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); padding: 0.5rem 1.15rem 1.4rem;
    box-shadow: var(--shadow); display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}
@media (max-width: 720px) {
  .g-2, .g-3, .g-4 { grid-template-columns: 1fr; }
  .maths { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .band .wrap { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 1fr; gap: 0.4rem; }
  .sector { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Layout fixes and small refinements ---------- */
.split { grid-template-columns: 1.15fr 1fr; align-items: start; gap: clamp(2rem, 4vw, 3.4rem); }
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.9rem; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Cards keep their own colouring inside dark sections */
.section--forest .card { background: #fff; }
.section--forest .card h3 { color: var(--forest); }
.section--forest .card p { color: var(--ink-soft); }
.card--hover { color: inherit; }

/* Anchor targets clear the sticky header */
[id] { scroll-margin-top: 96px; }

/* Disabled inputs used for the illustrated quote tool */
.field input:disabled, .field select:disabled { background: #fff; opacity: 1; color: var(--ink); cursor: default; }

.hero h1 { font-size: clamp(2.3rem, 4.4vw, 3.4rem); max-width: 17ch; }

/* ---------- Footer brand lockup ---------- */
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.15rem; }
.footer-brand img { height: 40px; width: auto; }
.footer-brand b {
  font-family: var(--display); font-weight: 800; font-size: 1.16rem;
  text-transform: uppercase; letter-spacing: 0.01em; line-height: 1; color: var(--cream);
}
.footer-brand b em { font-style: normal; color: var(--orange); }
