/* Root */
:root {
  --bg: #F5F5F2;
  --surface: #FFFFFF;
  --text: #1C1C1A;
  --muted: #55554F;
  --accent: #3D6B1F;
  --accent-text: #FFFFFF;
  --plate-bg: #1C1C1A;
  --plate-text: #F5F5F2;
  --line: #E4E4DE;
  --radius-card: 18px;
  --radius-btn: 999px;
  --shadow-soft: 0 1px 2px rgb(28 28 26 / .06), 0 12px 32px rgb(28 28 26 / .08);
  --font-head: 'Gill Sans', 'Gill Sans MT', Calibri, 'Segoe UI', sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --pad-side: clamp(16px, 4vw, 40px);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image:
    radial-gradient(120% 90% at 15% 0%, var(--surface) 0%, transparent 55%),
    linear-gradient(180deg, var(--surface) 0%, var(--bg) 40%, var(--bg) 100%);
  background-attachment: fixed;
  color: var(--text);
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 4.6vw + 0.6rem, 4.6rem); line-height: 1.12; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.8rem, 2.6vw + 0.8rem, 3rem); }
h3 { font-size: clamp(1.2rem, 1vw + 0.8rem, 1.5rem); }

p { margin: 0 0 1em; max-width: 65ch; }

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: #2E5217; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--pad-side);
}

.wrap-narrow { max-width: 760px; }

.skip {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 100;
  padding: 10px 18px;
  background: var(--plate-bg);
  color: var(--plate-text);
  border-radius: var(--radius-btn);
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip:focus { top: 12px; color: var(--plate-text); }

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(245 245 242 / .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.topbar-strip { background: var(--plate-bg); }

.strip-row {
  display: flex;
  justify-content: center;
  padding: 6px var(--pad-side);
}

.strip-note {
  margin: 0;
  color: var(--plate-text);
  font-size: 0.6875rem;
  letter-spacing: 0.04em;
  opacity: 0.8;
}

.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 68px;
}

.brand {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.brand:hover { color: var(--text); opacity: 0.85; }

/* Menu */
.menu-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.menu-link {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  color: var(--text);
  font-size: 1rem;
  text-decoration: none;
  background: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.menu-link:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.menu-link[aria-current="page"], .menu-link.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

.menu-toggle {
  display: none;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  background: var(--surface);
  font: inherit;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

/* Mobile menu */
@media (max-width: 767px) {
  .menu { position: relative; }
  .menu-toggle { display: inline-flex; }
  .menu-list {
    position: absolute;
    top: 100%;
    left: calc(var(--pad-side) * -1);
    width: calc(100vw);
    flex-direction: column;
    align-items: stretch;
    padding: 16px var(--pad-side) 20px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.25s ease, opacity 0.25s ease, visibility 0.25s;
  }
  .menu.is-open .menu-list {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .menu-link { padding: 12px 16px; }
}

/* Sections */
.band {
  margin: clamp(16px, 3vw, 32px) var(--pad-side);
  padding: clamp(40px, 6vw, 88px) 0;
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 480px) {
  .band { margin: 12px 12px; }
}

.band-intro {
  color: var(--muted);
  font-size: 1.0625rem;
  max-width: 60ch;
}

/* Hero */
.hero {
  position: relative;
  background: var(--surface);
  min-height: auto;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  gap: 0;
}

.hero-figure { margin: 0; }

.hero-figure img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 8px solid var(--surface);
  box-shadow: var(--shadow-soft);
}

.plate {
  background: var(--plate-bg);
  color: var(--plate-text);
  border-radius: var(--radius-card);
  padding: clamp(28px, 4vw, 56px);
  box-shadow: var(--shadow-soft);
}

.hero-plate {
  position: relative;
  z-index: 2;
  max-width: 520px;
  margin-right: clamp(-24px, -4vw, -64px);
}

.hero-plate h1 { color: var(--plate-text); }
.hero-plate p { color: #D8D8D2; }

.lede {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw + 0.7rem, 2.6rem);
  line-height: 1.25;
  color: var(--accent);
  max-width: 24ch;
  margin-bottom: 24px;
}

.plate .lede { color: var(--plate-text); }
.plate a, .plate a:hover { color: var(--plate-text); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 2px solid var(--text);
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: var(--text);
  color: var(--plate-text);
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 4px solid var(--accent);
  outline-offset: 3px;
}

.btn:active {
  background: var(--text);
  color: var(--plate-text);
  transform: translateY(0) scale(0.97);
}

.btn-solid {
  border-color: var(--plate-text);
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-text);
}

.btn-solid:hover {
  background: #2E5217;
  border-color: #2E5217;
  color: var(--accent-text);
}

.btn-solid:active {
  background: #24400F;
  border-color: #24400F;
  color: var(--accent-text);
}

/* Tiles */
.grid { display: grid; gap: 24px; }

.tiles { grid-template-columns: 1fr; }

.tile {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-soft);
}

.tile-figure { margin: 0; }

.tile-figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.tile-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.tile-body h3 { margin-bottom: 8px; }
.tile-body p { color: var(--muted); flex: 1; max-width: 65ch; }

.tile-more {
  margin-top: auto;
  padding-top: 12px;
  font-weight: 600;
  text-decoration: none;
  align-self: flex-start;
}

.tile-more:hover { text-decoration: underline; }

/* Form */
.form-wrap { max-width: 560px; margin-left: auto; margin-right: auto; }

.enquiry {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  padding: clamp(24px, 4vw, 40px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.field { display: grid; gap: 6px; }

.field-label { font-weight: 600; font-size: 0.9375rem; }

.input {
  width: 100%;
  min-height: 48px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.input:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.input-area { resize: vertical; min-height: 120px; }

.field.has-error .input { border-color: #A33; }

.field-error {
  margin: 0;
  color: #8A1F1F;
  font-size: 0.875rem;
  font-weight: 600;
}

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--accent); }
.check label { max-width: 60ch; }

.form-note { color: var(--muted); font-size: 0.875rem; margin: 0; }

.form-send { justify-self: start; margin-top: 24px; }

.enquiry.is-sending .form-send {
  opacity: 0.6;
  pointer-events: none;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 32px;
  align-items: center;
}

.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.price-name { font-weight: 600; }
.price-value { color: var(--muted); white-space: nowrap; }

.price-figure { margin: 0; }
.price-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-card);
  border: 8px solid var(--surface);
  box-shadow: var(--shadow-soft);
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; }

.faq-item {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px;
  transition: border-color 0.2s ease;
}

.faq-item:hover, .faq-item[open] { border-color: var(--accent); }

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-head);
  font-size: 1.0625rem;
  padding: 14px 0;
  list-style-position: outside;
}

.faq-item summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 6px; }
.faq-item p { color: var(--muted); padding-bottom: 12px; }

/* Tabs */
.tabs { max-width: 860px; }

.tab-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-btn);
  width: fit-content;
  max-width: 100%;
}

.tab-btn {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--radius-btn);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.tab-btn:hover { color: var(--text); background: var(--surface); }

.tab-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.tab-btn[aria-selected="true"] {
  background: var(--accent);
  color: var(--accent-text);
}

.tab-panel {
  margin-top: 20px;
  padding: 24px 28px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.tab-panel p { margin: 0; }
.tab-panel.is-hidden { display: none; }

/* Prose */
.prose { color: var(--muted); }
.prose p, .prose li { max-width: 65ch; }
.prose h2 { margin-top: 40px; color: var(--text); }
.prose h3 { margin-top: 28px; color: var(--text); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.prose th, .prose td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
}
.prose th { font-weight: 600; color: var(--text); }

/* Inner page head */
.page-head {
  padding-top: clamp(40px, 6vw, 72px);
  padding-bottom: clamp(24px, 3vw, 40px);
}

/* Gallery / photo frames */
.gallery {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
}

.gallery figure, .steps-figure, .side-figure { margin: 0; }

.gallery img, .tile-figure img, .hero-figure img, .price-figure img, .steps-figure img, .side-figure img {
  object-fit: cover;
}

.gallery figure img, .steps-figure img, .side-figure img {
  width: 100%;
  border-radius: var(--radius-card);
  border: 8px solid var(--surface);
  box-shadow: var(--shadow-soft);
}

/* Steps */
.steps-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}

.steps-list li {
  position: relative;
  counter-increment: step;
  padding: 18px 20px 18px 64px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.steps-list li::before {
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 700;
  font-size: 0.9375rem;
}

/* Footer */
.foot {
  margin-top: clamp(32px, 5vw, 56px);
  background: var(--plate-bg);
  color: #D8D8D2;
  padding: clamp(40px, 6vw, 72px) 0 24px;
}

.foot .brand { color: var(--plate-text); }
.foot .brand:hover { color: var(--plate-text); opacity: 0.85; }

.foot-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.foot-note { color: #B9B9B1; font-size: 0.9375rem; max-width: 34ch; }

.foot-title {
  font-size: 1rem;
  color: var(--plate-text);
  margin-bottom: 12px;
  letter-spacing: 0;
}

.foot-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-links a { color: #D8D8D2; text-decoration: none; font-size: 0.9375rem; }
.foot-links a:hover { color: #FFFFFF; text-decoration: underline; }

.foot-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgb(245 245 242 / .18);
}

.foot-copy { margin: 0; color: #B9B9B1; font-size: 0.875rem; }

/* Reveal */
html.js-on .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

html.js-on .reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

/* Breakpoints */
@media (max-width: 480px) {
  .hero-plate { margin-right: 0; max-width: none; }
  .price-row { flex-direction: column; gap: 4px; }
  .tab-switch { width: 100%; }
  .tab-btn { flex: 1; }
  .band { padding-inline: 20px; }
  .tiles { padding-inline: 0; }
  .tile-body { padding: 20px; }
}

@media (min-width: 481px) and (max-width: 639px) {
  .hero-plate { margin-right: 0; }
}

@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr; gap: 24px; }
  .hero-figure { order: -1; }
  .hero-figure img { aspect-ratio: 16 / 9; }
  .pricing-grid { grid-template-columns: 1fr; }
}

@media (min-width: 768px) {
  .foot-grid { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

@media (min-width: 1024px) {
  .tiles { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1280px) {
  .band { padding: clamp(56px, 6vw, 96px) clamp(32px, 4vw, 64px); }
  .band > .wrap { padding: 0; }
}

/* Short screens */
@media (max-height: 600px) {
  .hero { padding-top: 32px; padding-bottom: 32px; }
  .hero-figure img { aspect-ratio: 16 / 9; max-height: 55vh; }
}

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

/* Manifest alignment */
#manifest .wrap { max-width: 680px; margin-left: auto; margin-right: auto; }

/* Hero balance */
@media (min-width: 768px) {
  .hero-grid { grid-template-columns: 1fr 1.1fr; }
  .hero-figure img { aspect-ratio: 3 / 4; }
}

@media (min-width: 1024px) {
  .tiles { align-items: stretch; }
}
