@font-face { font-family: "Zilla Slab"; src: url("./assets/fonts/zillaslab-700-latin.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Zilla Slab"; src: url("./assets/fonts/zillaslab-600-latin.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("./assets/fonts/worksans-latin-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  /* From the shop: green hoarding, red KTS lettering, timber and paper */
  --green: #17462f; --green-2: #1f5a3c; --green-ink: #f3efe2;
  --red: #c8191f; --gold: #e7b93c;
  --ink: #1c1b17; --muted: #5a564b; --paper: #f6f1e5; --card: #fffdf7; --tint: #ece4d1;
  --line: #d9cfb8;
  --display: "Zilla Slab", Rockwell, "Roboto Slab", Georgia, serif;
  --body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16.5px/1.6 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(100% - 36px, var(--max)); margin-inline: auto; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 16px; background: var(--card); padding: 8px; z-index: 50; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.08; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.7rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 .9em; }
.kicker { text-transform: uppercase; letter-spacing: .14em; font-size: .76rem; font-weight: 600; color: var(--red); margin-bottom: .7em; }
.lede { font-size: 1.08rem; color: var(--muted); max-width: 62ch; }
.small { font-size: .88rem; color: var(--muted); }

/* Header */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--green); color: var(--green-ink); border-bottom: 4px solid var(--red); }
.mast { display: flex; align-items: center; gap: 22px; padding: 10px 0; }
.brand { display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; text-decoration: none; line-height: 1; }
.brand-the { grid-column: 1 / 3; font: 600 .78rem var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.brand-kts { font: 700 2rem/1 var(--display); color: #fff; background: var(--red); padding: 2px 8px 0; border-radius: 3px; }
.brand-sub { font-size: .78rem; max-width: 9.5em; line-height: 1.2; }
.mast nav { display: flex; gap: 20px; margin-left: auto; }
.mast nav a { text-decoration: none; font-weight: 500; font-size: .95rem; opacity: .92; white-space: nowrap; }
.mast nav a:hover, .mast nav a:focus-visible { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.call-pill { background: var(--gold); color: var(--ink); font-weight: 700; text-decoration: none; padding: 8px 14px; border-radius: 99px; white-space: nowrap; }
.demo-label { font-size: .7rem; border: 1px solid rgb(255 255 255 / .4); border-radius: 99px; padding: 2px 9px; opacity: .8; }

/* Buttons */
.actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-top: 22px; }
.primary, .secondary { display: inline-block; font: 600 1rem var(--body); border-radius: 8px; padding: 13px 20px; cursor: pointer; text-decoration: none; border: 2px solid var(--green); }
.primary { background: var(--green); color: var(--green-ink); }
.primary:hover { background: var(--green-2); }
.secondary { background: transparent; color: var(--green); }
.secondary:hover { background: rgb(23 70 47 / .07); }
.on-green.primary { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.on-green.secondary { color: var(--green-ink); border-color: var(--green-ink); }
.text-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 600; color: var(--green); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Hero */
.hero { padding: 44px 0 52px; background:
  linear-gradient(180deg, rgb(255 255 255 / .55), transparent 70%), var(--paper); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: start; }
.intro { font-size: 1.12rem; max-width: 56ch; }
.hero-quick { display: none; font-weight: 600; font-size: .95rem; background: var(--card); border-left: 4px solid var(--red); padding: 8px 12px; }
.hero-quick a { color: var(--green); }
.ticks { list-style: none; padding: 0; margin: 18px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; }
.ticks li { position: relative; padding-left: 28px; line-height: 1.4; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 4px; background: var(--green); }
.ticks li::after { content: ""; position: absolute; left: 6px; top: 5px; width: 5px; height: 9px; border: solid var(--gold); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.hero-side { display: grid; gap: 14px; }
.hero-photo { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.hero-photo figcaption, .quote-photo figcaption, .visit-photo figcaption { font-size: .8rem; color: var(--muted); padding: 8px 12px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; }
.facts > div { padding: 14px 16px; border-bottom: 1px solid var(--line); }
.facts > div:nth-child(1) { border-right: 1px solid var(--line); }
.facts-wide { grid-column: 1 / 3; border-bottom: 0 !important; }
.facts-h { font: 600 .74rem var(--body); text-transform: uppercase; letter-spacing: .12em; color: var(--red); margin: 0 0 4px; }
.facts p { margin: 0 0 4px; }
.map-links a { font-weight: 600; color: var(--green); }

/* Sections */
.section { padding: 64px 0; border-top: 1px solid var(--line); }
.section-tint { background: var(--tint); }
.section-head { margin-bottom: 28px; }
.depts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dept { background: var(--card); border: 1px solid var(--line); border-top: 5px solid var(--green); border-radius: 8px; padding: 20px 22px; transition: transform .15s ease, box-shadow .15s ease; }
.dept:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgb(23 70 47 / .1); }
.dept h3 { display: flex; align-items: baseline; gap: 10px; }
.num { font: 600 .85rem var(--body); color: var(--red); }
.dept ul { margin: 0 0 12px; padding-left: 18px; }
.dept li { margin-bottom: 4px; }
.dept-service img { border-radius: 6px; margin-top: 8px; }

.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.size-block { background: var(--card); border-radius: 8px; padding: 18px; border: 1px solid var(--line); }
.size-block h3 { font-size: 1.05rem; margin-top: 4px; }
.size-block h3 + table, .size-block table + h3 { margin-top: 0; }
.size-block table + h3 { margin-top: 16px; }
table { width: 100%; border-collapse: collapse; font-size: .9rem; font-variant-numeric: tabular-nums; }
th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 600; padding: 0 0 4px; }
td { padding: 5px 0; border-top: 1px solid var(--line); vertical-align: top; }
td + td { padding-left: 10px; }

.quote-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 44px; align-items: center; }
.steps { padding-left: 22px; margin: 18px 0 0; display: grid; gap: 8px; max-width: 60ch; }
.quote-photo { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; max-width: 320px; justify-self: end; }

.section-dark { background: #221f19; color: #f1ead9; border-top: 0; }
.section-dark .lede, .section-dark .credit-line { color: #c9bfa8; }
.section-dark .kicker { color: var(--gold); }
.work-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work { margin: 0; background: #2d2920; border-radius: 8px; overflow: hidden; }
.work img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.work figcaption { display: grid; gap: 2px; padding: 12px 14px 14px; font-size: .88rem; color: #c9bfa8; }
.work figcaption strong { font: 600 1.05rem var(--display); color: #fff; }
.credit-line { font-size: .82rem; margin-top: 16px; }

.news-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 20px; }
.news { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 18px; }
.news img { border-radius: 6px; margin-bottom: 12px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.news-lead { display: grid; grid-template-columns: 180px 1fr; gap: 18px; align-items: start; }
.news-lead img { aspect-ratio: 1; object-fit: contain; background: #fff; }
.sign { font: 600 1rem var(--display); color: var(--green); margin: 0; }
.press { margin-top: 20px; color: var(--muted); }
.press a { color: var(--green); font-weight: 600; }

.section-green { background: var(--green); color: var(--green-ink); border-top: 4px solid var(--red); }
.section-green .kicker { color: var(--gold); }
.section-green .lede { color: #d9e3d6; }
.section-green .map-links a { color: var(--gold); }
.visit-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px 44px; align-items: start; }
.hours h3 { font-size: 1.05rem; color: var(--gold); margin-top: 6px; }
.hours dl { margin: 0 0 16px; }
.hours dl > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px solid rgb(255 255 255 / .2); }
.hours dt, .hours dd { margin: 0; }
.hours dd { font-weight: 600; }
.visit-photo { grid-column: 1 / 3; margin: 8px 0 0; background: #fff; border-radius: 10px; overflow: hidden; }
.visit-photo figcaption { background: var(--card); }

.foot { padding: 28px 0 40px; background: #121a14; color: #cfd8cc; font-size: .92rem; }
.foot .small { color: #9fab9c; }
.foot a { color: #fff; }

dialog { border: 0; border-radius: 12px; padding: 26px; width: min(100% - 32px, 500px); }
dialog::backdrop { background: rgb(0 0 0 / .45); }
.enquiry-form label { display: block; margin: 10px 0; font-weight: 500; }
.enquiry-form input, .enquiry-form textarea { width: 100%; font: inherit; padding: 10px; border: 1px solid var(--line); border-radius: 8px; margin-top: 4px; }
.topic { color: var(--red); font-weight: 600; }
.note { font-size: .85rem; color: var(--muted); }

@media (max-width: 1080px) {
  .mast nav { gap: 14px; }
  .mast nav a { font-size: .88rem; }
  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-lead { grid-column: 1 / 3; }
}
@media (max-width: 900px) {
  .mast { flex-wrap: wrap; gap: 10px 14px; }
  .mast nav { order: 5; width: 100%; margin-left: 0; overflow-x: auto; gap: 18px; padding-bottom: 4px; scrollbar-width: none; }
  .call-pill { margin-left: auto; }
  .hero-grid, .quote-grid, .visit-grid { grid-template-columns: 1fr; }
  .hero-quick { display: block; }
  .depts, .work-list { grid-template-columns: 1fr 1fr; }
  .quote-photo { justify-self: start; }
  .visit-photo { grid-column: auto; }
}
@media (max-width: 600px) {
  html { scroll-padding-top: 110px; }
  body { font-size: 16px; }
  .brand-sub { display: none; }
  .brand-kts { font-size: 1.7rem; }
  .call-pill { padding: 7px 12px; font-size: .9rem; }
  .hero { padding: 26px 0 36px; }
  .ticks { grid-template-columns: 1fr; }
  .depts, .work-list, .size-grid, .news-grid { grid-template-columns: 1fr; }
  .news-lead { grid-column: auto; grid-template-columns: 1fr; }
  .news-lead img { max-width: 200px; }
  .section { padding: 46px 0; }
  .actions .primary, .actions .secondary { width: 100%; text-align: center; }
  .facts { grid-template-columns: 1fr 1fr; }
}
