/* ============================================================
   Fox Remodeling & Construction — shared stylesheet
   Design tokens, base type, buttons, header + mega menu,
   mobile nav, footer, booking modal and shared sections.
   Page-specific rules live in each page's own <style> block.
   ============================================================ */
:root {
  --paper: #FAF8F2;
  --stone: #F0EBE0;
  --card: #FFFFFF;
  --ink: #211D18;
  --ink-soft: #5B5347;
  --pine: #243428;
  --pine-deep: #182219;
  --brass: #A9834C;
  --brass-soft: #D8C39B;
  --brass-bright: #E8C887;
  --line: rgba(33, 29, 24, .14);
  --line-soft: rgba(33, 29, 24, .08);
  --max-w: 1280px;
  --section-y: 108px;
  --r-lg: 28px;
  --r-md: 18px;
  --r-sm: 10px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
/* scroll-padding keeps anchor targets clear of the fixed header */
html { scroll-behavior: smooth; scroll-padding-top: 104px; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  line-height: 1.12;
  color: var(--ink);
}
h1 em, h2 em, h3 em {
  font-style: normal;
  font-weight: 600;
  color: var(--brass);
}
p { color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img, svg, iframe { display: block; max-width: 100%; }
button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 48px;
}
section { padding: var(--section-y) 0; }
.mono { font-family: 'IBM Plex Mono', monospace; }
::selection { background: var(--pine); color: #fff; }
:focus-visible { outline: 2px solid var(--pine); outline-offset: 3px; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brass);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 16px 30px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .01em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all .45s var(--ease);
  white-space: nowrap;
}
.btn svg {
  width: 16px;
  height: 16px;
  transition: transform .4s var(--ease);
}
.btn-primary {
  background: linear-gradient(135deg, #C9A671 0%, #A9834C 45%, #8B6939 100%);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 10px 28px -10px rgba(169, 131, 76, 0.6);
}
.btn-primary:hover {
  background: linear-gradient(135deg, #D9B881 0%, #B9935C 45%, #9B7749 100%);
  transform: translateY(-3px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.3) inset, 0 18px 40px -12px rgba(169, 131, 76, 0.7);
}
.btn-primary:hover svg { transform: translateX(3px); }
.btn-primary:disabled {
  background: #E0DCD2;
  color: #9A9388;
  box-shadow: none;
  transform: none;
  cursor: not-allowed;
}
.btn-ghost {
  border-color: rgba(33, 29, 24, .22);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}
.btn-light { background: #fff; color: var(--pine); }
.btn-light:hover {
  background: var(--brass);
  color: #fff;
  transform: translateY(-2px);
}
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
@media(prefers-reduced-motion:reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
.photo {
  position: relative;
  overflow: hidden;
  background: var(--stone);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.3s var(--ease);
}
.photo:hover img { transform: scale(1.045); }
.i {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.booking-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 12, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  padding: 20px;
}
.booking-overlay.active { opacity: 1; pointer-events: auto; }
.booking-modal {
  position: relative;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 24px;
  box-shadow: 0 30px 60px -15px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.4s var(--ease);
}
.booking-overlay.active .booking-modal { transform: scale(1) translateY(0); }
.booking-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(33, 29, 24, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  z-index: 10;
}
.booking-close:hover { background: rgba(33, 29, 24, 0.12); }
.booking-close svg {
  width: 16px;
  height: 16px;
  stroke: var(--ink);
}
.booking-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px 16px;
  gap: 8px;
}
.step-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  transition: color 0.4s var(--ease);
}
.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
  transition: all 0.4s var(--ease);
  background: #fff;
}
.step-label { font-size: 13px; font-weight: 500; }
.step-line {
  width: 40px;
  height: 1px;
  background: var(--line);
  margin: 0 4px;
  transition: background 0.4s var(--ease);
}
.step-indicator.active .step-circle {
  background: var(--brass);
  color: #fff;
  border-color: var(--brass);
  box-shadow: 0 4px 12px rgba(169, 131, 76, 0.4);
}
.step-indicator.active .step-label { color: var(--ink); font-weight: 600; }
.step-indicator.completed .step-circle {
  background: var(--pine);
  color: #fff;
  border-color: var(--pine);
}
.step-indicator.completed svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2.5;
  fill: none;
}
.step-line.active { background: var(--brass); }
.booking-body {
  flex: 1;
  overflow-y: auto;
  padding: 24px 40px 32px;
}
.booking-step { display: none; animation: fadeSlideIn 0.5s var(--ease) forwards; }
.booking-step.active { display: block; }
@keyframes fadeSlideIn {
  from { opacity: 0;
  transform: translateX(20px);
  } to { opacity: 1;
  transform: translateX(0);
  };
}
.booking-title {
  font-size: 26px;
  margin-bottom: 8px;
  color: var(--ink);
}
.booking-subtitle {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}
.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.cal-month {
  font-family: 'Oswald', sans-serif;
  font-size: 18px;
  font-weight: 500;
}
.cal-nav { display: flex; gap: 8px; }
.cal-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.cal-btn:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.cal-btn svg {
  width: 14px;
  height: 14px;
  stroke-width: 2;
}
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-day-name {
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-soft);
  padding-bottom: 8px;
}
.cal-day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
}
.cal-day.empty { cursor: default; }
.cal-day.disabled { color: #C5BFB3; cursor: not-allowed; }
.cal-day.available { color: var(--ink); font-weight: 500; }
.cal-day.available:hover {
  background: rgba(169, 131, 76, 0.1);
  color: var(--pine);
  transform: scale(1.05);
}
.cal-day.today {
  border: 1px solid var(--brass);
  color: var(--brass);
  font-weight: 600;
}
.cal-day.selected {
  background: var(--brass);
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(169, 131, 76, 0.4);
  transform: scale(1.05);
}
.cal-day.selected.today { border-color: transparent; }
.time-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.time-pill {
  padding: 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
}
.time-pill:hover {
  border-color: var(--brass);
  background: rgba(169, 131, 76, 0.05);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.time-pill.selected {
  background: var(--brass);
  color: #fff;
  border-color: var(--brass);
  box-shadow: 0 6px 16px rgba(169, 131, 76, 0.3);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { position: relative; }
.form-field.full { grid-column: 1 / -1; }
.form-field input, .form-field textarea {
  width: 100%;
  padding: 20px 16px 8px;
  border: 1px solid rgba(33, 29, 24, 0.2);
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-field textarea {
  resize: vertical;
  min-height: 90px;
  padding-top: 24px;
}
.form-field label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--ink-soft);
  pointer-events: none;
  transition: all 0.2s ease;
  background: transparent;
  padding: 0 4px;
}
.form-field textarea + label { top: 20px; transform: translateY(0); }
.form-field input:focus, .form-field textarea:focus { border-color: var(--brass); box-shadow: 0 0 0 3px rgba(169, 131, 76, 0.1); }
.form-field input:focus + label, .form-field input:not(:placeholder-shown) + label, .form-field textarea:focus + label, .form-field textarea:not(:placeholder-shown) + label {
  top: 0;
  font-size: 11px;
  color: var(--brass);
  background: #fff;
  transform: translateY(-50%);
  left: 12px;
}
.form-field label.budget-label {
  position: static;
  transform: none;
  top: auto;
  left: auto;
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
  padding: 0;
  pointer-events: auto;
}
.error-msg {
  display: block;
  color: #D14545;
  font-size: 11px;
  margin-top: 4px;
  padding-left: 4px;
  min-height: 14px;
}
.form-field.error input, .form-field.error textarea { border-color: #D14545; }
.budget-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
  background: #fff;
  color: var(--ink);
}
.chip:hover { border-color: var(--ink); background: #f5f5f5; }
.chip.selected {
  background: var(--pine);
  color: #fff;
  border-color: var(--pine);
}
.booking-footer {
  padding: 20px 40px;
  border-top: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.btn-modal-secondary {
  background: rgba(33, 29, 24, 0.06);
  color: var(--ink);
  border: 1px solid transparent;
}
.btn-modal-secondary:hover { background: rgba(33, 29, 24, 0.1); }
.success-screen { text-align: center; padding: 40px 20px; }
.success-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36, 52, 40, 0.1);
}
.checkmark-svg {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: var(--pine);
  stroke-miterlimit: 10;
  box-shadow: inset 0 0 0 rgba(36, 52, 40, 0.1);
  animation: fill .4s ease-in-out .4s forwards, scale .3s ease-in-out .9s both;
}
.checkmark__circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--pine);
  fill: none;
  animation: stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}
.checkmark__check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}
@keyframes stroke { 100% { stroke-dashoffset: 0; }; }
@keyframes scale {
  0%, 100% { transform: none;
  } 50% { transform: scale3d(1.1, 1.1, 1);
  };
}
@keyframes fill { 100% { box-shadow: inset 0 0 0 30px rgba(36, 52, 40, 0.1); }; }
@media(max-width:768px) {
  .booking-overlay { align-items: flex-end; padding: 0; }
  .booking-modal {
    max-width: 100%;
    max-height: 95vh;
    border-radius: 24px 24px 0 0;
    transform: translateY(100%);
  }
  .booking-overlay.active .booking-modal { transform: translateY(0); }
  .booking-body { padding: 16px 24px 24px; }
  .booking-footer { padding: 16px 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .step-label { display: none; }
  .booking-progress { padding: 24px 16px 12px; }
  .booking-title { font-size: 22px; }
  .time-pill { padding: 12px; font-size: 13px; }
  .booking-footer .btn { flex: 1; }
}
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 18px 0;
  background: rgba(250, 248, 242, .82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: padding .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
header.scrolled {
  padding: 10px 0;
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(33, 29, 24, .05);
}
.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
/* Mark + FOX sit on one row; the long subline tucks underneath the pair so the
   lockup stays compact instead of running half the header wide. */
.logo {
  display: grid;
  grid-template-columns: auto auto auto;
  grid-template-areas:
    "mark rule word"
    "sub  sub  sub";
  align-items: center;
  column-gap: 11px;
  row-gap: 2px;
  justify-content: start;
  text-decoration: none;
}
.logo img { grid-area: mark; }
/* hairline between the mark and the wordmark */
.logo::after {
  content: "";
  grid-area: rule;
  width: 1px;
  height: 30px;
  background: var(--line);
}
.logo-fox { grid-area: word; }
.logo-sub { grid-area: sub; }
.logo img { height: 40px; width: 40px; }
.logo-fox {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--ink);
  text-transform: uppercase;
}
.logo-sub {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 9px;
  letter-spacing: 0.17em;
  color: var(--ink-soft);
  text-transform: uppercase;
  margin-top: 5px;
  white-space: nowrap;
}
nav#primary-nav ul {
  display: flex;
  gap: 36px;
  list-style: none;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 26px;
}
.header-phone {
  font-size: 13.5px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}
@media(max-width:1050px) {
  nav#primary-nav, .header-phone { display: none; }
  .nav-toggle { display: flex; }
  .header-right .btn-primary { display: none; }
}
.mobile-nav {
  position: fixed;
  inset: 0;
  top: 78px;
  background: var(--paper);
  z-index: 99;
  padding: 20px 24px;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: all .35s var(--ease);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav a {
  display: block;
  padding: 16px 4px;
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-sub a {
  padding-left: 18px;
  font-size: 16px;
  color: var(--ink-soft);
}
/* Static so the panel below positions against the fixed header, not the <li>.
   Anchoring it to the <li> made it open level with the nav row and cover the
   logo. */
.has-mega { position: static; }
.nav-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  padding-bottom: 4px;
  position: relative;
  font-family: 'Inter', sans-serif;
}
.nav-chevron {
  width: 13px;
  height: 13px;
  transition: transform .35s var(--ease);
}
.has-mega:hover .nav-chevron, .has-mega.open .nav-chevron { transform: rotate(180deg); }
.mega-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: min(1040px, calc(100vw - 48px));
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 40px 80px -30px rgba(33, 29, 24, .3);
  padding: 22px;
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 8px 24px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .28s var(--ease), transform .28s var(--ease);
  z-index: 50;
}
/* Hover bridge so the pointer can travel from the trigger down into the panel.
   Scoped to the trigger's own width and only interactive while the menu is
   open — a full-panel-width bridge sits on top of the nav links beside it. */
.nav-trigger::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 44px;
  pointer-events: none;
}
.has-mega:hover .nav-trigger::before,
.has-mega.open .nav-trigger::before { pointer-events: auto; }
.has-mega:hover .mega-panel, .has-mega.open .mega-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.mega-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  align-content: start;   /* stop rows stretching to the feature panel's height */
}
.mega-item {
  display: flex;
  gap: 15px;
  align-items: center;
  padding: 10px;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.mega-thumb {
  width: 104px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--stone);
}
.mega-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.mega-item:hover .mega-thumb img { transform: scale(1.08); }
.mega-item:hover {
  background: #FCFAF5;
  border-color: var(--line);
  transform: translateY(-2px);
}
.mega-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--stone);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brass);
  flex-shrink: 0;
  transition: all .3s var(--ease);
}
.mega-item:hover .mega-icon { background: var(--pine); color: #fff; }
.mega-icon svg { width: 18px; height: 18px; }
.mega-item b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}
.mega-item small {
  display: block;
  font-size: 12px;
  color: var(--ink-soft);
  font-weight: 400;
  line-height: 1.4;
}
.mega-feature {
  background: var(--stone);
  border-radius: 16px;
  padding: 14px;
  display: flex;
  flex-direction: column;
}
.mega-feature .photo {
  flex: 1;
  min-height: 150px;
  border-radius: 12px;
  margin-bottom: 14px;
}
.mega-feature h5 {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px;
}
.mega-feature p { font-size: 12px; margin-bottom: 14px; }
.btn-sm { padding: 10px 16px; font-size: 12.5px; }
@media(max-width:1050px) {
  .mega-panel { display: none; }
}
.hero { position: relative; padding: 0; }
.hero-media {
  position: relative;
  /* 90vh, not 100 — leaves a sliver of the next section visible so it reads as
     a page rather than a full-bleed splash. */
  height: 90vh;
  min-height: 720px;
  background: var(--pine-deep);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,17,13,0.42) 0%, rgba(20,17,13,0.22) 46%, rgba(20,17,13,0.08) 78%, rgba(20,17,13,0) 100%);
}
.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 60px;
  z-index: 2;
}
.hero-glass {
  display: inline-block;
  max-width: 600px;
  padding: 44px 46px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.60);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 1px 0 rgba(255,255,255,0.7) inset, 0 30px 70px -20px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(0, 0, 0, 0.04);
}
.hero .eyebrow { color: var(--brass); text-shadow: none; }
.hero-title {
  color: var(--ink);
  font-size: clamp(34px, 4.2vw, 52px);
  margin-bottom: 22px;
  line-height: 1.12;
  max-width: 600px;
  text-shadow: none;
}
.hero-title em {
  background: none;
  -webkit-text-fill-color: var(--brass);
  color: var(--brass);
  font-style: normal;
}
.hero-sub {
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.65;
  max-width: 460px;
  text-shadow: none;
}
.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media(max-width:600px) {
  .hero-media { min-height: 100vh; margin-bottom: 0; }
  .hero-inner { padding: 80px 20px 60px; }
  .hero-glass {
    padding: 30px 24px;
    border-radius: 20px;
    max-width: 420px;
  }
  .eyebrow { margin-bottom: 14px; }
  .hero-title { font-size: clamp(26px, 7vw, 32px); margin-bottom: 14px; }
  .hero-sub { font-size: 14.5px; margin-bottom: 24px; }
  .hero-buttons {
    gap: 10px;
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}
.services { background: var(--stone); }
.section-head { margin-bottom: 56px; max-width: 600px; }
.section-head h2 { font-size: clamp(28px, 3vw, 40px); }
.section-sub { font-size: 15px; margin-top: 12px; }
.faq {
  background: linear-gradient(180deg, #F0EBE0 0%, #E8E0D0 100%);
  position: relative;
  overflow: hidden;
}
.faq-grid {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.faq-head h2 {
  font-size: clamp(28px, 2.8vw, 36px);
  margin-bottom: 16px;
  max-width: 340px;
}
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 26px 2px;
  text-align: left;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 17px;
}
.faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--brass);
  transition: transform .4s var(--ease);
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .5s var(--ease);
}
.faq-a p {
  padding: 0 2px 26px;
  font-size: 14.5px;
  max-width: 560px;
}
@media(max-width:900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 30px; }
}
.final-cta {
  background: var(--card);
  position: relative;
  overflow: visible;
}
.final-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  align-items: center;
}
.final-photo { position: relative; }
.final-photo .photo {
  height: 460px;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 60px -30px rgba(33, 29, 24, .24);
}
@media(max-width:980px) {
  .final-grid { grid-template-columns: 1fr; gap: 40px; }
  .final-photo .photo { height: 320px; }
}
.final-copy { position: relative; }
.final-copy h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 18px;
  max-width: 480px;
}
.final-copy > p {
  font-size: 15.5px;
  max-width: 440px;
  margin-bottom: 32px;
}
.final-buttons {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
  align-items: center;
}
footer {
  background: linear-gradient(180deg, #1F1B16 0%, #15110D 100%);
  color: #EDEAE3;
  padding: 88px 0 34px;
  border-top: 1px solid rgba(169, 131, 76, 0.2);
  position: relative;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 64px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 17px;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col p {
  font-size: 13.5px;
  color: rgba(237, 234, 227, .55);
  max-width: 240px;
}
.footer-col h5 {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(237, 234, 227, .42);
  margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col li {
  margin-bottom: 12px;
  font-size: 13.5px;
  color: rgba(237, 234, 227, .75);
}
.footer-col a { transition: color .3s; }
.footer-col a:hover { color: var(--brass-soft); }
.footer-bottom {
  border-top: 1px solid rgba(237, 234, 227, .14);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12px;
  color: rgba(237, 234, 227, .42);
}
@media(max-width:900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media(max-width:420px) {
  .btn { padding: 14px 22px; font-size: 13px; }
  .hero-buttons, .final-buttons { gap: 12px; }
}
@media(max-width:600px) {
  .wrap { padding: 0 20px; }
  section { padding: 72px 0; }
  :root { --section-y: 72px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Footer credit + booking triggers inside footer lists
   ============================================================ */
.footer-credit a {
  color: rgba(237, 234, 227, .72);
  border-bottom: 1px solid rgba(237, 234, 227, .22);
  padding-bottom: 1px;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.footer-credit a:hover { color: var(--brass-bright); border-color: var(--brass-bright); }

/* Booking triggers in the footer list are buttons, not links — match siblings */
.footer-link-btn {
  font: inherit;
  color: inherit;
  padding: 0;
  text-align: left;
  transition: color .3s;
}
.footer-link-btn:hover { color: var(--brass-soft); }

/* ============================================================
   Portfolio lightbox
   ============================================================ */
figure.p-card { cursor: zoom-in; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
  background: rgba(24, 34, 25, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease);
}
.lightbox.active { opacity: 1; pointer-events: auto; }
.lightbox-inner {
  max-width: 1100px;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transform: scale(.97);
  transition: transform .35s var(--ease);
}
.lightbox.active .lightbox-inner { transform: scale(1); }
.lightbox-inner img {
  max-width: 100%;
  max-height: calc(100vh - 160px);
  width: auto;
  border-radius: var(--r-md);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6);
  object-fit: contain;
}
.lightbox-inner figcaption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .82);
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  transition: background .3s var(--ease);
}
.lightbox-close:hover { background: rgba(255, 255, 255, .22); }
.lightbox-close svg { width: 18px; height: 18px; }
@media (max-width: 600px) {
  .lightbox { padding: 20px 14px; }
  .lightbox-close { top: 12px; right: 12px; width: 38px; height: 38px; }
}

/* ============================================================
   Form status messages
   ============================================================ */
.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  line-height: 1.55;
  min-height: 1px;
}
.form-status.is-ok { color: var(--pine); font-weight: 500; }
.form-status.is-error { color: #C0392B; }
/* the booking modal reuses .error-msg for the delivery failure notice */
#errDesc { line-height: 1.5; }

/* ============================================================
   Compact hero — inner pages
   The full 100vh hero belongs to the homepage. Inner pages get a shorter one.

   The media is a background layer and the content sits in normal flow, so the
   hero's height follows the card. Fixed-height + vertical-centring meant a
   taller card (service-areas) rode up under the fixed header while a short one
   floated — the card top is now identical on every page and the hero simply
   grows if the copy is longer.
   ============================================================ */
.hero-compact .hero-media {
  position: absolute;
  inset: 0;
  height: auto;
  min-height: 0;
  max-height: none;
}
.hero-compact .hero-inner {
  position: relative;
  inset: auto;
  min-height: 560px;
  padding: 152px 0 72px;
  justify-content: flex-start;
}
.hero-compact .hero-glass {
  max-width: 560px;
  padding: 34px 38px;
}
.hero-compact .eyebrow { margin-bottom: 14px; }
.hero-compact .breadcrumb { margin-bottom: 18px; }
.hero-compact .hero-title {
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 14px;
}
.hero-compact .hero-sub {
  font-size: 15px;
  margin-bottom: 24px;
  max-width: 440px;
}
@media (max-width: 980px) {
  .hero-compact .hero-inner {
    min-height: 0;
    padding: 128px 0 56px;
  }
}

/* ============================================================
   Service pages
   ============================================================ */
.breadcrumb {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--ink-soft); border-bottom: 1px solid transparent; }
.breadcrumb a:hover { color: var(--brass); border-color: var(--brass); }
.breadcrumb span[aria-current] { color: var(--ink); }

.svc-intro { background: var(--paper); }
.svc-intro-grid {
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: 64px;
  align-items: start;
}
.svc-lede { font-size: 18px; line-height: 1.65; color: var(--ink); margin-bottom: 20px; }
.svc-body p { font-size: 15.5px; line-height: 1.75; margin-bottom: 16px; }
.svc-facts {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 30px 28px;
  box-shadow: 0 14px 40px -24px rgba(33, 29, 24, .3);
  position: sticky;
  top: 116px;
}
.svc-facts h3 {
  font-size: 13px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 20px;
}
.svc-fact { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.svc-fact:first-of-type { border-top: 0; padding-top: 0; }
.svc-fact dt {
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 4px;
}
.svc-fact dd { font-family: 'Oswald', sans-serif; font-size: 21px; font-weight: 600; color: var(--ink); }
.svc-facts .btn { width: 100%; margin-top: 22px; }

.svc-includes { background: var(--stone); }
.svc-inc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.svc-inc {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 26px 24px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-inc:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(33, 29, 24, .34); }
.svc-inc-ic {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  background: var(--stone);
  color: var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.svc-inc h4 { font-size: 16.5px; margin-bottom: 8px; }
.svc-inc p { font-size: 14px; line-height: 1.6; }

.svc-steps-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  counter-reset: step;
}
.svc-step { position: relative; padding-top: 28px; border-top: 2px solid var(--line); }
.svc-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  top: -13px;
  left: 0;
  background: var(--paper);
  padding-right: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: .1em;
  color: var(--brass);
}
.svc-step h4 { font-size: 17px; margin-bottom: 10px; }
.svc-step p { font-size: 14.5px; line-height: 1.65; }

.svc-gallery { background: var(--paper); }
.svc-gal-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 20px; }
.svc-gal-grid .photo { border-radius: var(--r-md); }
.svc-gal-grid .photo:first-child { grid-row: span 2; height: 100%; min-height: 460px; }
.svc-gal-grid .photo { height: 220px; }

.svc-cross { background: var(--stone); }
.svc-cross-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc-cross-card {
  background: #fff;
  border: 1px solid var(--line-soft);
  border-radius: var(--r-md);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.svc-cross-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -22px rgba(33, 29, 24, .34); }
.svc-cross-card b { font-family: 'Oswald', sans-serif; font-size: 17px; font-weight: 600; }
.svc-cross-card span { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; }
.svc-cross-card em {
  font-style: normal;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: auto;
  padding-top: 10px;
}

@media (max-width: 1050px) {
  .svc-intro-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-facts { position: static; }
  .svc-inc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-steps-list { grid-template-columns: repeat(2, 1fr); gap: 32px 24px; }
  .svc-cross-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .svc-inc-grid, .svc-steps-list, .svc-cross-grid { grid-template-columns: 1fr; }
  .svc-gal-grid { grid-template-columns: 1fr; }
  .svc-gal-grid .photo, .svc-gal-grid .photo:first-child { height: 240px; min-height: 0; grid-row: auto; }
  .svc-lede { font-size: 16.5px; }
}

/* ============================================================
   Header nav — colour shift on hover, no underline
   ============================================================ */
nav#primary-nav a,
.nav-trigger { transition: color .3s var(--ease); }
nav#primary-nav a:hover,
.nav-trigger:hover,
.has-mega:hover .nav-trigger,
.has-mega.open .nav-trigger { color: var(--brass); }

/* ============================================================
   Mega panel — wider, taller, bigger feature image
   ============================================================ */
.mega-panel {
  width: min(1180px, calc(100vw - 40px));
  /* list needs the wider share or the two-word service names wrap */
  grid-template-columns: 1.68fr 1fr;
  padding: 26px;
  gap: 10px 26px;
}
.mega-thumb { width: 124px; height: 90px; }
.mega-item { padding: 14px 12px; gap: 18px; }
.mega-item b { white-space: nowrap; }
.mega-item b { font-size: 14.5px; }
.mega-item small { font-size: 12.5px; }
.mega-feature { padding: 16px; }
.mega-feature .photo { min-height: 250px; margin-bottom: 16px; }
.mega-feature h5 { font-size: 16px; }
.mega-feature p { font-size: 12.5px; }

@media (max-width: 1240px) {
  .mega-thumb { width: 104px; height: 76px; }
  .mega-feature .photo { min-height: 190px; }
}
