@font-face {
  font-family: Jost;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/Jost.woff2") format("woff2");
}
@font-face {
  font-family: Marcellus;
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/Marcellus.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --forest: #233D2C;
  --sand: #F5EEE2;
  --cream: #FBF6EF;
  --gold: #B8892E;
  --muted: #4E5A51;
  --text: #1E2A22;
  --gold-text: #8A6420;
  --serif: Marcellus, Optima, Candara, serif;
  --sans: Jost, "Trebuchet MS", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
}
h1, h2, h3, figure, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
.site-nav, .hero, .quote-section h2, .service-area, .contact-details, .site-footer { color: var(--forest); }
h2 { font-size: clamp(36px, 3.2vw, 46px); line-height: 1.15; }
img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .22em; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.container { width: min(calc(100% - 64px), 1200px); margin-inline: auto; }

.skip-link {
  position: absolute;
  top: .5rem;
  left: .5rem;
  z-index: 1;
  padding: .5rem 1rem;
  background: var(--cream);
  transform: translateY(-150%);
}
.skip-link:focus { transform: none; }

.booking-banner {
  min-height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  padding: 8px 16px;
  background: #182B1F;
  color: #f2ead7;
  text-align: center;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .135em;
  text-transform: uppercase;
}
.booking-banner a { color: #E8C77A; white-space: nowrap; }
.booking-action { display: inline-flex; align-items: center; gap: 13px; }
.booking-dot {
  flex: 0 0 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffe6a9;
  box-shadow: 0 0 4px 1px #e6b253, 0 0 10px 2px #d6a13d80;
}
.site-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 86px;
  gap: 18px;
}
.nav-brand { display: flex; align-items: center; min-height: 44px; }
.nav-brand img { width: auto; height: 24px; }
.nav-links, .site-footer nav { display: flex; align-items: center; gap: 28px; }
.nav-links a, .site-footer nav a { text-decoration: none; }
.nav-links a:hover, .site-footer nav a:hover { text-decoration: underline; }
.nav-links a { font-size: 16px; letter-spacing: .01em; }
.nav-links .quote-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 21px;
  border: 1px solid var(--forest);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .145em;
  text-transform: uppercase;
}
.nav-links .quote-link:hover { color: var(--cream); background: var(--forest); text-decoration: none; }

.hero {
  /* Keep the booking bar and navigation in view when a home link is used. */
  scroll-margin-top: 160px;
  display: grid;
  justify-items: center;
  padding: 24px 24px 72px;
  background: radial-gradient(ellipse 47% 55% at 50% 31%, #fff6e4, transparent 98%);
  text-align: center;
}
.hero-logo { width: min(600px, 100%); height: auto; }
.hero h1 {
  margin: 24px 0;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.1;
  letter-spacing: -.008em;
}
.hero h1 span { display: block; }
.hero p {
  max-width: 600px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.6;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 16px;
  color: var(--gold-text);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .28em;
  text-transform: uppercase;
}
.eyebrow::before, .eyebrow.centered::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.centered { justify-content: center; color: #E8C77A; }

.process {
  padding: clamp(72px, 7.8vw, 112px) 0;
  color: var(--cream);
  background: var(--forest);
  text-align: center;
}
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 70px 0 0;
  padding: 0;
  list-style: none;
}
.steps li { min-width: 0; padding-inline: 16px; }
.step-bulb {
  position: relative;
  display: grid;
  place-items: center;
  height: 14px;
  margin: -7px -16px 18px;
  background: linear-gradient(rgba(217, 182, 106, .5), rgba(217, 182, 106, .5)) center / 100% 1px no-repeat;
}
.step-bulb::after {
  content: "";
  position: relative;
  width: 14px;
  height: 14px;
  border: 1px solid #ffd881;
  border-radius: 50%;
  background: #ffecac;
  box-shadow: 0 0 5px 1px #ffd87a, 0 0 19px 5px #eab65870;
}
.steps li:first-child .step-bulb { background-size: 50% 1px; background-position: right center; }
.steps li:last-child .step-bulb { background-size: 50% 1px; background-position: left center; }
.step-number { display: block; color: #D9B66A; font-size: 15px; letter-spacing: .22em; line-height: 1.35; }
.steps h3 { margin: 16px 0 14px; font-size: 27px; line-height: 1.35; }
.steps p { color: #CBD3C6; font-size: 16px; font-weight: 400; line-height: 1.6; }

.quote-section { padding: clamp(64px, 7.8vw, 112px) 0; background: var(--sand); }
.quote-layout {
  display: grid;
  grid-template-columns: minmax(0, .788fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(38px, 5vw, 72px);
}
.quote-intro {
  margin-top: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
}
.service-area {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 37px 0 36px;
  padding-top: 29px;
  border-top: 1px solid #E2D5BE;
}
.service-area img { width: 46px; height: auto; }
.service-area p { font: 400 23px/1.4 var(--serif); }
.contact-details { display: grid; gap: 18px; font-style: normal; }
.contact-details a { display: flex; align-items: center; gap: 12px; width: fit-content; min-height: 38px; max-width: 100%; overflow-wrap: anywhere; text-decoration: none; font-size: 17px; }
.contact-details a:hover { text-decoration: underline; }
.contact-details img { flex: 0 0 21px; width: 21px; height: auto; }

.site-footer {
  display: grid;
  justify-items: center;
  padding: 57px 24px 66px;
  border-top: 1px solid #E6DAC4;
  text-align: center;
}
.footer-brand img { width: 132px; height: auto; }
.site-footer nav { justify-content: center; flex-wrap: wrap; margin: 28px 0; }
.site-footer p { color: var(--muted); font-size: 13px; letter-spacing: .055em; }

@media (max-width: 900px) {
  .quote-layout { grid-template-columns: minmax(0, .84fr) minmax(0, 1fr); gap: 32px; }
}
@media (width < 860px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 54px 0; }
  .steps li:nth-child(odd) .step-bulb { background-size: 50% 1px; background-position: right center; }
  .steps li:nth-child(even) .step-bulb { background-size: 50% 1px; background-position: left center; }
}
@media (width < 520px) {
  .steps { grid-template-columns: 1fr; max-width: 380px; margin: 48px auto 0; gap: 40px; }
  .steps .step-bulb { background-image: none; margin-bottom: 12px; }
  .steps h3 { margin: 8px 0; font-size: 25px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 40px); }
  .site-nav { min-height: 72px; }
  .nav-links { gap: 16px; }
  .hero { padding: 26px 20px 64px; }
  .hero h1 { margin-block: 22px; }
  .hero p { max-width: 450px; font-size: 17px; }
  .process { padding-block: 72px; }
  .process h2 { max-width: 560px; margin-inline: auto; }
  .quote-layout { grid-template-columns: 1fr; gap: 38px; max-width: 590px; }
  .service-area { margin: 26px 0 16px; padding-top: 22px; }
  .contact-details { gap: 4px; }
  .site-footer { padding: 44px 20px; }
}
@media (max-width: 550px) {
  .booking-banner { flex-wrap: wrap; gap: 1px 8px; font-size: 10px; letter-spacing: .1em; }
  .booking-action { gap: 8px; }
  .booking-dot { flex-basis: 4px; height: 4px; }
  .site-nav { gap: 8px; }
  .nav-brand img { width: auto; height: 18px; }
  .nav-links { gap: 12px; }
  .nav-links a { font-size: 14px; }
  .nav-links .quote-link { min-height: 38px; padding: 6px 9px; font-size: 10px; letter-spacing: .08em; }
  .hero-logo { width: min(100%, 390px); }
  .hero h1 { max-width: 16em; text-wrap: balance; }
  .hero h1 span { display: inline; }
  .hero p { max-width: 34ch; }
  .service-area p { font-size: 21px; }
  .site-footer nav { gap: 20px; font-size: 15px; }
}
@media (max-width: 360px) {
  .site-nav { width: calc(100% - 24px); }
  .nav-brand img { width: auto; height: 15px; }
  .nav-links { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Gallery */
.gallery-section {
  padding-block: clamp(64px, 7.8vw, 112px);
  background: var(--sand);
  color: var(--forest);
}

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 32px;
}

.gallery-eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 15px;
  color: #8a6420;
  font: 500 13px/1.4 var(--sans);
  letter-spacing: .28em;
  text-transform: uppercase;
}

.gallery-eyebrow::before {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--gold);
}

.gallery-header h2 { margin: 0; }

.gallery-social {
  margin-bottom: 7px;
  color: inherit;
  text-decoration-color: #b8892e;
  text-underline-offset: 4px;
}

.gallery-carousel {
  --gallery-columns: 3;
  --gallery-gap: 28px;
  width: min(calc(100% - 64px), 1376px);
  margin: clamp(32px, 3.3vw, 48px) auto 0;
}

/* Reserve room for the outward-facing bulbs and their halos at the viewport edges. */
.gallery-viewport {
  margin: -20px -14px;
  padding: 20px 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 14px;
}

.gallery-carousel.is-ready .gallery-viewport {
  overflow: clip;
  scroll-snap-type: none;
  touch-action: pan-y pinch-zoom;
}

.gallery-rail {
  display: flex;
  gap: var(--gallery-gap);
  align-items: flex-start;
}

.gallery-rail.is-sliding {
  transition: transform 700ms cubic-bezier(.65, 0, .35, 1);
}

.gallery-card {
  flex: 0 0 calc((100% + var(--gallery-gap)) / var(--gallery-columns) - var(--gallery-gap));
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.gallery-frame {
  position: relative;
  padding: 18px;
}

.gallery-photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  cursor: zoom-in;
}

.gallery-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
}

.gallery-wire {
  position: absolute;
  inset: 8px;
  border: 2px solid #2f4a36;
  border-radius: 12px;
  pointer-events: none;
}

.gallery-bulb {
  --bulb-light: #fff9db;
  --bulb-color: #ffcf79;
  --bulb-glow: rgb(248 182 63 / .7);
  position: absolute;
  width: 0;
  height: 0;
}

.gallery-bulb[data-side="top"] { left: var(--along); top: -1px; }
.gallery-bulb[data-side="right"] { top: var(--along); right: -1px; transform: rotate(90deg); }
.gallery-bulb[data-side="bottom"] { left: var(--along); bottom: -1px; transform: rotate(180deg); }
.gallery-bulb[data-side="left"] { top: var(--along); left: -1px; transform: rotate(270deg); }

.gallery-bulb::before,
.gallery-bulb::after {
  content: "";
  position: absolute;
  left: 0;
  transform: translateX(-50%);
}

.gallery-bulb::before {
  bottom: -1px;
  width: 5px;
  height: 4px;
  background: #2f4a36;
  border-radius: 1px;
}

.gallery-bulb::after {
  bottom: 3px;
  width: 8px;
  height: 12px;
  border-radius: 60% 60% 45% 45% / 70% 70% 30% 30%;
  background: radial-gradient(ellipse at 45% 44%, #fffdf2 5%, var(--bulb-light) 32%, var(--bulb-color) 86%);
  box-shadow: 0 0 5px 1px var(--bulb-glow), 0 0 12px 2px var(--bulb-glow);
  animation: bulb-twinkle 3.2s ease-in-out var(--delay) infinite;
}

.gallery-bulb[data-color="amber"],
.gallery-bulb[data-color="gold"] {
  --bulb-light: #ffe8a4;
  --bulb-color: #e8a734;
  --bulb-glow: rgb(238 165 44 / .7);
}

.gallery-bulb[data-color="red"] {
  --bulb-light: #ffc1ad;
  --bulb-color: #e74c43;
  --bulb-glow: rgb(233 73 54 / .65);
}

.gallery-bulb[data-color="green"] {
  --bulb-light: #c3f0c9;
  --bulb-color: #4eaf6c;
  --bulb-glow: rgb(63 167 95 / .65);
}

.gallery-bulb[data-color="blue"] {
  --bulb-light: #c3e5ff;
  --bulb-color: #629ad9;
  --bulb-glow: rgb(79 142 205 / .65);
}

@keyframes bulb-twinkle {
  0%, 100% { opacity: .7; }
  50% { opacity: 1; }
}

.gallery-card figcaption {
  padding: 8px 18px 0;
  font: 400 clamp(16px, 1.4vw, 20px)/1.35 var(--serif);
}

.gallery-pagination {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: clamp(24px, 2.7vw, 40px);
}

.gallery-pagination[hidden] { display: none; }

.gallery-pagination button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.gallery-pagination button::before {
  content: "";
  width: 16px;
  height: 2px;
  background: #b3a68c;
}

.gallery-pagination button[aria-current="true"]::before {
  width: 36px;
  background: #b8892e;
}

.gallery-status {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

html:has(.gallery-lightbox[open]) { overflow: hidden; }

.gallery-lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #101410;
  cursor: zoom-out;
}

.gallery-lightbox img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.gallery-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgb(255 255 255 / .6);
  border-radius: 50%;
  color: white;
  background: rgb(16 20 16 / .9);
  font: 28px/1 var(--sans);
  cursor: pointer;
}

@media (width < 1000px) {
  .gallery-carousel { --gallery-columns: 2; }
}

@media (width < 640px) {
  .gallery-carousel {
    --gallery-columns: 1;
    width: calc(100% - 40px);
  }
  .gallery-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .gallery-social { margin: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-bulb::after { animation: none; }
  .gallery-rail.is-sliding { transition: none; }
}

/* Form */
.quote-form {
  display: grid;
  align-content: start;
  gap: 20px;
  min-width: 0;
  margin: 0;
  padding: 40px;
  color: var(--forest);
  border: 1px solid #E6DAC4;
  background: var(--cream);
  font-family: var(--sans);
}

.quote-form__fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.quote-form__field {
  display: grid;
  min-width: 0;
  gap: 7px;
}

.quote-form__field > span,
.quote-form__services legend {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.quote-form__field input,
.quote-form textarea,
.quote-form__choices label {
  border: 1px solid #9C8D70;
  border-radius: 2px;
  background: white;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.4;
}

.quote-form__field input,
.quote-form textarea {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  padding: 12px 14px;
}

.quote-form__field input { height: 49px; }
.quote-form textarea { min-height: 119px; resize: vertical; }
.quote-form input::placeholder,
.quote-form textarea::placeholder { color: #6f726e; opacity: 1; }

.quote-form__services {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.quote-form__services legend { padding: 0; margin-bottom: 10px; }

.quote-form__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quote-form__choices label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  padding: 8px 15px;
  box-sizing: border-box;
  font-size: 15px;
  cursor: pointer;
}

.quote-form__choices label:has(:checked) {
  border-color: var(--forest);
  background-color: #edf1e9;
}

.quote-form__choices input {
  width: 17px;
  height: 17px;
  margin: 0;
  accent-color: var(--forest);
}

.quote-form__submit {
  min-height: 56px;
  padding: 12px 20px;
  border: 1px solid var(--forest);
  border-radius: 2px;
  background: var(--forest);
  color: white;
  font: 600 14px/1.4 var(--sans);
  letter-spacing: .15em;
  text-transform: uppercase;
  cursor: pointer;
}

.quote-form__submit:enabled:hover { background: #142a1d; }
.quote-form__submit:disabled { cursor: default; opacity: .72; }
.quote-form [hidden] { display: none; }
.quote-form__feedback {
  margin-top: -20px;
  font-size: 15px;
  line-height: 1.5;
}
.quote-form__feedback p { margin: 0; }
.quote-form__drafts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.quote-form__drafts a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid currentColor;
  border-radius: 2px;
  text-decoration: none;
}
.quote-form__drafts a:hover { background: #edf1e9; }
.quote-form__status:not(:empty) { margin-top: 16px; }
.quote-form__feedback a,
.quote-form noscript a { color: inherit; overflow-wrap: anywhere; }

@media (max-width: 600px) {
  .quote-form { padding: 22px; }
  .quote-form__fields { grid-template-columns: 1fr; }
  .quote-form__choices label { padding-inline: 12px; }
}
