:root {
  --ink: #1b353e;
  --gold: #e9b650;
  --paper: #fff;
  --muted: #52636a;
  --line: #d7dfe1;
  --soft: #edf2f4;
  --available: #89c79c;
  --limited: #e9b650;
  --booked: #809197;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 18px/1.65 Arial, sans-serif;
  padding-bottom: 0;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

img {
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

header,
main,
footer {
  max-width: 1120px;
  margin: auto;
  padding: 28px 32px;
}

/* Header */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.brand {
  font-size: 21px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.7px;
  text-decoration: none;
  flex-shrink: 0;
  width: 280px;
}

.brand img {
  display: block;
  width: 350px;
  max-width: none;
  height: 175px;
  margin: -45px -35px -40px;
  object-fit: contain;
}

.brand span {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  margin-top: 7px;
  text-align: center;
}

nav {
  display: flex;
  gap: 22px;
  font-size: 16px;
  flex-wrap: wrap;
}

.draft {
  background: #f4e8ca;
  text-align: center;
  padding: 8px 20px;
  font-size: 14px;
  color: #453918;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* Hero and typography */

.hero {
  padding: 58px 0 48px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px;
  font-weight: bold;
}

h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.04;
  letter-spacing: -2.5px;
  margin: 20px 0 25px;
}

h2 {
  font-size: 32px;
  letter-spacing: -1px;
  line-height: 1.2;
}

h3 {
  font-size: 22px;
  line-height: 1.3;
}

p {
  margin: 12px 0;
}

.lead {
  font-size: 21px;
}

.button {
  display: inline-block;
  background: var(--ink);
  color: white;
  padding: 12px 22px;
  text-decoration: none;
  margin-top: 16px;
  font-weight: bold;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
}

.button:hover {
  background: #274852;
}

.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  margin-left: 8px;
}

.button.secondary:hover {
  background: #f3f6f7;
}

.hero-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

.hero-photo {
  margin: 0;
}

.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

/* Availability */

.availability-section {
  margin: 0 0 40px;
}

.diary {
  background: var(--ink);
  color: white;
  padding: 26px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0 36px;
}

.diary > .eyebrow,
.diary > h2,
.diary > p,
.diary > small {
  grid-column: 1;
}

.diary > #dates {
  grid-column: 2;
  grid-row: 1 / 7;
}

.diary h2 {
  margin: 8px 0 10px;
  font-size: 27px;
}

.diary .eyebrow {
  color: var(--gold);
}

.week {
  border-top: 1px solid #65777d;
  padding: 16px 0;
}

.week:first-child {
  border-top: 0;
  padding-top: 0;
}

.week-title {
  display: block;
  font-size: 14px;
  margin-bottom: 10px;
  color: #e2eaed;
}

.days {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
}

.day {
  appearance: none;
  border: 0;
  width: 100%;
  font: inherit;
  color: #fff;
  text-align: center;
  background: #304b54;
  font-size: 14px;
  padding: 7px 2px;
  min-height: 77px;
}

button.day {
  cursor: pointer;
}

.day span {
  display: block;
  font-weight: bold;
  line-height: 1.2;
}

.day .dow {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.day .num {
  font-size: 19px;
  margin-top: 4px;
}

.day .status {
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-top: 5px;
}

.day[data-status="available"],
.day[data-status="limited"] {
  background: #304b54;
}

.day[data-status="available"] .status {
  color: var(--available);
}

.day[data-status="limited"] .status {
  color: var(--limited);
}

.day[data-status="booked"] .status,
.day[data-status="unavailable"] .status {
  color: #d6dfe2;
}

.day[data-status="booked"],
.day[data-status="unavailable"] {
  opacity: 0.55;
}

button.day:hover,
button.day:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.diary small {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #e2eaed;
}

.loading {
  font-size: 15px;
  color: #e2eaed;
}

/* Services and coverage */

.section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--soft);
  padding: 32px;
  margin-top: 24px;
}

.strip h2 {
  margin-top: 0;
}

ul {
  padding-left: 22px;
}

.small {
  font-size: 15px;
  color: var(--muted);
}

.coverage {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 32px;
  align-items: center;
  margin-top: 40px;
  background: #fff;
}

.coverage-map {
  margin: 0;
}

.coverage-map img {
  display: block;
  width: 100%;
  height: auto;
}

/* Frequently asked questions */

.faq {
  padding-top: 40px;
}

.faq-list {
  max-width: 850px;
}

.faq details {
  border-top: 1px solid var(--line);
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: bold;
  padding: 14px 32px 14px 0;
  position: relative;
}

.faq summary::after {
  content: "+";
  position: absolute;
  right: 4px;
}

.faq details[open] summary::after {
  content: "–";
}

.faq details p {
  margin: -2px 0 16px;
  max-width: 760px;
  color: var(--muted);
}

/* Contact */

.contact {
  border-left: 6px solid var(--gold);
  padding: 6px 0 6px 24px;
  margin: 42px 0 44px;
}

.contact h2 {
  margin-bottom: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 40px;
  align-items: start;
}

.direct-contact {
  margin-top: 22px;
}

.direct-contact p {
  margin: 7px 0;
}

.direct-contact span {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  font-weight: bold;
}

.enquiry-form {
  border: 1px solid var(--line);
  padding: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid label {
  display: block;
  font-size: 14px;
  font-weight: bold;
}

.form-grid label.full {
  grid-column: 1 / -1;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  border: 1px solid #b8c4c8;
  padding: 10px 11px;
  background: #fff;
  color: var(--ink);
  border-radius: 2px;
}

.form-grid textarea {
  min-height: 130px;
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  outline: 3px solid rgba(233, 182, 80, 0.38);
  border-color: #8b7548;
}

.file-field small,
.privacy-note {
  display: block;
  font-size: 13px;
  line-height: 1.45;
  font-weight: normal;
  color: var(--muted);
}

.privacy-note {
  margin: 15px 0;
}

.form-status {
  font-size: 14px;
  min-height: 1.5em;
}

.form-status.error {
  color: #9d2929;
}

.form-status.success {
  color: #25673d;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

/* Footer */

footer {
  font-size: 14px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 16px;
}

/* Leave only the sole-trader paragraph in the current homepage footer. */
.site-footer > div {
  display: none;
}

/* Shared utilities */

.mobile-actions {
  display: none;
}

.is-hidden {
  display: none !important;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 5px;
}

section,
aside {
  scroll-margin-top: 24px;
}

/* Legal pages */

.legal-page {
  max-width: 820px;
  margin: auto;
  padding: 52px 32px 70px;
}

.legal-page h1 {
  font-size: clamp(40px, 6vw, 62px);
}

.legal-page h2 {
  margin-top: 34px;
}

.legal-page p {
  color: var(--muted);
}

/* Tablet */

@media (max-width: 900px) {
  header {
    flex-wrap: wrap;
  }

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

  .hero-photo img {
    max-height: 520px;
  }

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

  .coverage-map {
    max-width: 660px;
    margin: auto;
  }

  .diary {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .diary > .eyebrow,
  .diary > h2,
  .diary > p,
  .diary > small,
  .diary > #dates {
    grid-column: 1;
    grid-row: auto;
  }

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

@media (max-width: 760px) {
  header,
  main,
  footer {
    padding: 22px;
  }

  header {
    align-items: flex-start;
  }

  nav {
    gap: 12px;
    flex-wrap: wrap;
    font-size: 14px;
  }

  .hero,
  .strip {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .hero {
    padding-top: 30px;
  }

  .services {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  h1 {
    letter-spacing: -1.5px;
  }

  .strip {
    padding: 24px;
  }

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

  .form-grid label.full {
    grid-column: auto;
  }
}

/* Mobile */

@media (max-width: 600px) {
  body {
    padding-bottom: 58px;
  }

  /* The fixed bottom bar already provides a Call button. */
  .header-call {
    display: none !important;
  }

  .brand {
    width: 240px;
  }

  .brand img {
    width: 300px;
    height: 150px;
    margin: -38px -30px -34px;
  }

  .brand span {
    font-size: 11px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  .diary {
    display: block;
    padding: 22px;
  }

  .coverage {
    gap: 16px;
  }

  .hero {
    padding-bottom: 28px;
  }

  .days {
    gap: 4px;
  }

  .day {
    font-size: 12px;
    min-height: 70px;
  }

  .day .num {
    font-size: 17px;
  }

  .day .dow {
    font-size: 8px;
  }

  .contact {
    padding-left: 16px;
  }

  .enquiry-form {
    padding: 16px;
  }

  .mobile-actions {
    position: fixed;
    z-index: 50;
    left: 0;
    right: 0;
    bottom: 0;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 1fr;
    background: var(--ink);
    border-top: 1px solid #456069;
  }

  .mobile-actions a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-right: 1px solid #456069;
  }

  .mobile-actions a:last-child {
    border-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
