:root {
  color-scheme: light;
  --navy: #122a40;
  --blue: #084da7;
  --ink: #202c33;
  --cream: #f6f6ee;
  --white: #fffdfa;
  --muted: #485d6b;
  --line: #b7c5c9;
  --light: #d6e4f1;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--navy); font: 16px/1.55 'Avenir Next', Arial, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
button, input, select, textarea { font: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #2677ce; outline-offset: 4px; }
.wrap { width: min(100% - 80px, 1312px); margin-inline: auto; }
.skip { position: absolute; top: 0; left: 1rem; transform: translateY(-150%); z-index: 4; background: var(--white); padding: 12px; }
.skip:focus { transform: translateY(0); }
.visually-hidden, .trap { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.top, footer { background: var(--navy); color: var(--white); }
.nav { display: flex; min-height: 88px; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; font: 700 20px/1.19 Arial, sans-serif; text-decoration: none; }
.brand img { width: 65px; height: auto; }
.brand small { display: block; color: var(--light); margin-top: 5px; font: 700 10px/1.2 Arial, sans-serif; }
.desktop-links { margin-left: auto; margin-right: 46px; display: flex; align-items: center; gap: 38px; }
.desktop-links a { text-decoration: none; font-size: 15px; font-weight: 700; }
.desktop-links a:hover, .desktop-links [aria-current] { text-decoration: underline; text-underline-offset: 7px; }
.mobile-menu { display: none; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 11px;
  min-height: 48px; padding: 9px 16px; border: 1px solid transparent; background: var(--blue);
  color: white; font-weight: 700; text-decoration: none; cursor: pointer;
}
.button:hover { background: #063878; }
.button:disabled { opacity: .65; cursor: wait; }
.button.white { background: var(--white); color: var(--navy); white-space: nowrap; }
.button.white:hover { background: var(--light); }
.home { position: relative; display: grid; align-items: center; min-height: 790px; padding: 66px 0; }
.hero-image { position: absolute; inset: 0; }
.hero-image img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 75% 82%; }
.hero-content { position: relative; }
.home-card { max-width: 550px; padding: 35px 37px; background: var(--cream); }
h1, h2 { margin: 0; font-family: Georgia, serif; font-weight: 400; line-height: 1.06; letter-spacing: -.032em; }
h1 { font-size: clamp(44px, 6vw, 78px); }
h2 { font-size: clamp(27px, 3.5vw, 40px); }
.home-card h1 { font-size: clamp(48px, 5.5vw, 72px); }
.home-intro { color: var(--ink); font-size: 19px; margin: 24px 0; }
.booking { border-top: 1px solid var(--line); padding-top: 19px; scroll-margin-top: 16px; }
.booking h2 { font: 700 24px/1.2 Arial, sans-serif; margin-bottom: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 15px; align-items: end; }
.form-grid .full { grid-column: 1/-1; }
label { display: block; font-size: 14px; font-weight: 700; }
.optional { color: var(--muted); font-weight: 400; margin-left: .25em; }
input:not([type=hidden]), select, textarea {
  display: block; min-height: 48px; width: 100%; min-width: 0; margin-top: 4px;
  padding: 8px 10px; border: 1px solid #9cabb4; border-radius: 0; color: var(--navy); background: var(--white);
  font-size: 16px; font-weight: 400;
}
textarea { resize: vertical; }
.request-form > .button { justify-self: start; }
.quote-link, .back { color: var(--blue); font-weight: 700; }
.quote-link { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 15px; }
.booking .quote-link { margin-top: 8px; }
.back { display: inline-block; margin-bottom: 18px; font-size: 14px; }
.content { min-height: 60vh; padding-block: 45px 62px; }
.lead { font-size: 20px; color: var(--muted); max-width: 660px; margin: 13px 0 0; }
.eyebrow { color: var(--blue); font-weight: 700; font-size: 14px; display: block; margin-bottom: 5px; }
.gallery-filters { border-top: 1px solid var(--line); margin: 25px 0 24px; padding-top: 23px; }
.filter-buttons { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-buttons button { min-height: 44px; cursor: pointer; color: var(--navy); border: 1px solid var(--line); background: none; padding: 6px 15px; font-weight: 700; }
.filter-buttons [aria-pressed=true] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.mobile-filter { display: none; }
.project-grid, .comparison, .service-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 23px; }
.project-card { display: block; color: inherit; background: var(--white); text-decoration: none; }
.project-card img { display: block; width: 100%; height: auto; aspect-ratio: 2/1; object-fit: cover; }
.project-card > div { padding: 16px 18px 19px; }
.project-card h2 { display: flex; justify-content: space-between; gap: 8px; font-size: 30px; }
.project-card h2 span { font: 400 18px/1.5 Arial,sans-serif; color: var(--blue); }
.project-card:hover h2 { text-decoration: underline; text-underline-offset: 5px; }
.project-card p { color: var(--muted); margin: 8px 0 0; }
.project-intro { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.project-intro .button { flex-shrink: 0; }
figure { margin: 0; background: var(--white); }
figure img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
figcaption { padding: 13px 18px; color: var(--muted); }
figcaption strong { display: block; color: var(--navy); }
.photo-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.photo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.more-photos { margin: 30px 0; }
.more-photos h2 { margin-bottom: 15px; }
.enquiry-panel { margin-top: 24px; padding: 23px 26px; background: #e6edf4; border-left: 4px solid var(--blue); scroll-margin-top: 20px; }
.enquiry-panel p { margin: 10px 0 14px; color: var(--muted); }
.request-form { position: relative; display: grid; max-width: 660px; margin-top: 24px; padding: 25px; background: var(--white); gap: 14px; }
.form-help { font-size: 14px; color: var(--muted); margin: 0; }
.reference, .form-message { margin: 0; padding: 12px; background: #e6edf4; }
.form-message.error { border-left: 4px solid #9e382b; background: #f8eaea; color: #742b23; }
.form-message.success { border-left: 4px solid #276247; background: #e5efe9; color: #184b33; }
.service-grid { margin: 25px 0; }
.service-grid section { background: var(--white); padding: 20px; }
.service-grid p { margin: 8px 0 2px; color: var(--muted); }
.prose { max-width: 690px; }
.prose .button { margin-left: 10px; }
footer { padding: 27px 0 19px; }
.footer-row { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 23px; }
.footer-row strong { font-family: Arial,sans-serif; }
.footer-row > div:first-child strong { font-size: 21px; }
.footer-row p, .footer-row a { margin: 3px 0 0; color: var(--light); font-size: 14px; }
.footer-row a { display: block; }
.footer-legal { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #426079; padding-top: 11px; margin-top: 21px; font-size: 12px; color: var(--light); }
@media (max-width: 760px) {
  .wrap { width: min(100% - 40px,600px); }
  .nav { min-height: 72px; gap: 10px; }
  .brand { font-size: 15px; gap: 7px; }
  .brand img { width: 40px; }
  .brand small, .desktop-links { display: none; }
  .nav > .button { margin-left: auto; min-height: 42px; font-size: 13px; padding: 8px 10px; }
  .mobile-menu { display: block; position: relative; z-index: 2; }
  .mobile-menu summary { list-style: none; display: grid; place-items: center; width: 40px; height: 42px; cursor: pointer; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .hamburger { display: block; width: 20px; height: 13px; border-block: 1px solid currentColor; position: relative; }
  .hamburger::after { content: ''; position: absolute; inset: 5px 0 auto; border-top: 1px solid currentColor; }
  .mobile-menu nav { position: absolute; right: 0; top: 46px; width: 150px; background: var(--navy); padding: 10px 15px; }
  .mobile-menu a { display: flex; align-items: center; min-height: 44px; }
  .home { display: block; min-height: 0; padding: 0 0 20px; background: #e9e7dd; }
  .hero-image { position: static; height: clamp(214px,62vw,420px); }
  .hero-image img { object-position: 72% 85%; }
  .hero-content { margin-top: -17px; }
  .home-card { max-width: none; padding: 23px 19px; }
  .home-card h1 { font-size: clamp(38px,11vw,63px); }
  .home-intro { font-size: 16px; margin: 13px 0 19px; }
  .booking { padding-top: 15px; }
  .booking h2 { margin-bottom: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .button, .request-form > .button { width: 100%; }
  .content { padding-block: 26px 36px; }
  .lead { font-size: 17px; }
  .project-grid, .comparison, .service-grid { grid-template-columns: 1fr; gap: 17px; }
  .project-card img { aspect-ratio: 7/4; }
  .project-card h2 { font-size: 27px; }
  .project-intro { display: block; margin-bottom: 22px; }
  .project-intro .intro-action { display: none; }
  .gallery-filters { margin: 20px 0; padding-top: 16px; }
  .filter-buttons { display: none; }
  .mobile-filter { display: block; }
  .photo-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
  .enquiry-panel { padding: 16px 18px; }
  .request-form { padding: 17px; }
  .footer-row { grid-template-columns: 1fr 1fr; gap: 12px; }
  .footer-row > div:first-child { grid-column: 1/-1; }
}
@media (max-width: 350px) {
  .wrap { width: calc(100% - 28px); }
  .nav { gap: 5px; }
  .brand { font-size: 14px; }
  .brand img { width: 34px; }
  .nav > .button { padding-inline: 7px; gap: 5px; font-size: 12px; }
  .mobile-menu summary { width: 32px; }
}
