:root {
  --ivory: #f6f1e8;
  --paper: #fffaf1;
  --charcoal: #171615;
  --ink: #25211d;
  --taupe: #b8a98f;
  --sage: #596354;
  --brass: #b79a5a;
  --stone: #ddd2c0;
  --line: rgba(23, 22, 21, .12);
  --shadow: 0 24px 70px rgba(23, 22, 21, .16);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, Avenir, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.55;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: 100%; object-fit: cover; background: #d8cfbf; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-shell { min-height: 100vh; }
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 0 clamp(24px, 5vw, 72px);
  background: rgba(246, 241, 232, .96);
  border-bottom: 1px solid rgba(23, 22, 21, .1);
  backdrop-filter: blur(16px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 240px;
}
.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 19px;
  background: rgba(255, 250, 241, .72);
}
.brand-text {
  display: grid;
  line-height: 1;
  font-family: var(--serif);
  font-size: 23px;
}
.brand-text small {
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 8px;
  letter-spacing: .32em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.nav-links a, .portal-nav button {
  color: rgba(23, 22, 21, .72);
  transition: color .2s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--charcoal); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.pill-link, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--charcoal);
  color: #fffaf1;
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover, .pill-link:hover { transform: translateY(-1px); }
.button.secondary, .pill-link.secondary {
  background: rgba(255, 250, 241, .14);
  color: #fffaf1;
  border-color: rgba(255, 250, 241, .42);
}
.button.light {
  background: #fffaf1;
  color: var(--charcoal);
}
.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--charcoal);
  font-size: 24px;
}
.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: min(86vw, 410px);
  padding: 92px 34px 34px;
  background: var(--paper);
  box-shadow: var(--shadow);
  transform: translateX(105%);
  transition: transform .28s ease;
}
.mobile-panel.open { transform: translateX(0); }
.mobile-panel a {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 31px;
}
.mobile-panel .button { margin-top: 28px; width: 100%; }
.scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(18, 18, 18, .45);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}
.scrim.open { opacity: 1; pointer-events: auto; }

main { padding-top: 82px; }
.hero {
  position: relative;
  min-height: calc(100vh - 82px);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background: #1f221e;
}
.hero img { position: absolute; inset: 0; }
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.23), rgba(0,0,0,.18) 42%, rgba(0,0,0,.48));
}
.hero-content {
  position: relative;
  z-index: 1;
  width: min(1040px, calc(100% - 44px));
  text-align: center;
  padding: 8vh 0 10vh;
}
.eyebrow, .kicker {
  margin: 0 0 18px;
  font-size: 11px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--brass);
}
.hero h1, .page-hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(54px, 9vw, 116px);
  line-height: .94;
  font-weight: 400;
}
.hero h1 em { font-style: italic; }
.hero-copy {
  max-width: 760px;
  margin: 32px auto 0;
  font-size: clamp(18px, 2.2vw, 25px);
  color: rgba(255,255,255,.9);
}
.hero-actions, .cta-row {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 42px;
}
.section {
  padding: clamp(72px, 9vw, 130px) clamp(24px, 5vw, 72px);
}
.section.dark { background: var(--charcoal); color: var(--paper); }
.section.paper { background: var(--paper); }
.wrap { width: min(1180px, 100%); margin: 0 auto; }
.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px);
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}
h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(39px, 5vw, 72px);
  line-height: 1;
  font-weight: 400;
}
h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1.08;
  font-weight: 400;
}
p { color: rgba(37, 33, 29, .74); }
.dark p { color: rgba(255,250,241,.72); }
.lede {
  font-size: 20px;
  max-width: 720px;
}
.image-frame {
  min-height: 520px;
  overflow: hidden;
  background: var(--stone);
}
.image-frame.small { min-height: 360px; }
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: rgba(255,250,241,.72);
  border: 1px solid var(--line);
  overflow: hidden;
}
.card-img { height: 300px; overflow: hidden; }
.card-body { padding: 25px; }
.card .meta {
  display: block;
  margin-bottom: 13px;
  color: var(--brass);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
}
.card p { margin-bottom: 0; }
.split-band {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  min-height: 620px;
}
.split-band > div { padding: clamp(48px, 7vw, 92px); }
.split-band .image-frame { min-height: 100%; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 42px;
  background: rgba(255,250,241,.16);
}
.stat {
  padding: 28px;
  background: rgba(255,250,241,.06);
}
.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 400;
}
.page-hero {
  position: relative;
  min-height: 58vh;
  display: flex;
  align-items: end;
  padding: 150px clamp(24px, 5vw, 72px) 74px;
  color: #fff;
  overflow: hidden;
  background: #24231f;
}
.page-hero img { position: absolute; inset: 0; }
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.24), rgba(0,0,0,.58));
}
.page-hero > div { position: relative; z-index: 1; width: min(980px, 100%); }
.page-hero p:not(.eyebrow) { max-width: 780px; color: rgba(255,255,255,.88); font-size: 20px; }
.service-list, .process-list {
  display: grid;
  gap: 18px;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 26px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.service-row a { align-self: center; color: var(--brass); font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 34px 0;
}
.filters button, .portal-nav button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 12px 16px;
  border-radius: 999px;
}
.filters button.active, .portal-nav button.active {
  background: var(--charcoal);
  color: var(--paper);
}
.project-card { cursor: pointer; }
.project-card:hover img { transform: scale(1.035); }
.project-card img { transition: transform .45s ease; }
.detail-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 42px;
}
.before-after {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.before-after figure { margin: 0; background: var(--paper); }
.before-after img { height: 420px; }
.before-after figcaption { padding: 12px 16px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.booking-shell, .portal-shell {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 28px;
}
.booking-steps, .portal-side {
  border: 1px solid var(--line);
  background: rgba(255,250,241,.62);
  padding: 26px;
  align-self: start;
}
.step-dot {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  color: rgba(37,33,29,.58);
}
.step-dot.active { color: var(--charcoal); }
.step-dot span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 12px;
}
.form-panel {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: clamp(26px, 4vw, 48px);
}
.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}
.auth-panel {
  display: grid;
  gap: 18px;
  box-shadow: var(--shadow);
}
.auth-note {
  display: grid;
  gap: 6px;
  margin-top: 30px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(255,250,241,.72);
}
.auth-note strong {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
}
.auth-note span, .form-help {
  color: rgba(37,33,29,.66);
  font-size: 14px;
}
.form-error {
  margin: 0;
  padding: 13px 15px;
  border: 1px solid rgba(128, 47, 35, .25);
  background: rgba(128, 47, 35, .08);
  color: #7b2e23;
  font-size: 14px;
}
.option-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.option-card {
  text-align: left;
  padding: 22px;
  border: 1px solid var(--line);
  background: #fffaf1;
  min-height: 130px;
  color: var(--ink);
  appearance: none;
  border-radius: 0;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease, background .2s ease;
}
.option-card h3 {
  color: var(--charcoal);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.03;
}
.option-card p {
  margin: 12px 0 0;
  color: rgba(37,33,29,.68);
}
.option-card:hover {
  transform: translateY(-2px);
  border-color: rgba(183,154,90,.62);
  background: #fffdf8;
}
.option-card.active { border-color: var(--brass); box-shadow: inset 0 0 0 1px var(--brass); }
.option-card.active h3 { color: var(--sage); }
label { display: grid; gap: 8px; color: rgba(37,33,29,.66); font-size: 13px; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fffaf1;
  color: var(--charcoal);
}
textarea { min-height: 120px; resize: vertical; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.portal-nav {
  display: grid;
  gap: 9px;
}
.portal-nav button {
  width: 100%;
  border-radius: 0;
  text-align: left;
  color: var(--ink);
}
.portal-main {
  border: 1px solid var(--line);
  background: var(--paper);
  min-height: 620px;
  padding: clamp(26px, 4vw, 46px);
}
.portal-logout {
  width: 100%;
  margin-top: 18px;
  background: transparent;
  color: var(--charcoal);
  border-color: var(--line);
}
.dash-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.mini-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(246,241,232,.7);
}
.timeline { display: grid; gap: 16px; }
.timeline article {
  padding: 20px;
  border-left: 2px solid var(--brass);
  background: rgba(246,241,232,.75);
}
.message {
  padding: 18px;
  margin: 0 0 14px;
  background: rgba(246,241,232,.76);
  border: 1px solid var(--line);
}
.footer {
  padding: 54px clamp(24px, 5vw, 72px);
  background: #12110f;
  color: var(--paper);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, .65fr);
  gap: 34px;
  width: min(1180px, 100%);
  margin: 0 auto;
}
.footer a, .footer p { color: rgba(255,250,241,.64); }
.footer a { display: block; margin: 8px 0; }
.footer h4 { margin: 0 0 12px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--brass); }
.legal { border-top: 1px solid rgba(255,250,241,.12); margin-top: 36px; padding-top: 22px; font-size: 12px; }
.hidden { display: none !important; }

@media (max-width: 980px) {
  .nav-links, .nav-actions .pill-link { display: none; }
  .menu-toggle { display: grid; place-items: center; }
  .brand { min-width: 0; }
  .grid-3, .two-col, .split-band, .detail-grid, .booking-shell, .portal-shell, .auth-grid, .footer-grid { grid-template-columns: 1fr; }
  .split-band .image-frame { min-height: 420px; }
  .stat-grid, .dash-grid { grid-template-columns: 1fr; }
  .option-grid, .form-grid, .before-after { grid-template-columns: 1fr; }
  .hero { min-height: 760px; align-items: start; }
  .hero-content { padding-top: 78px; }
  .hero h1, .page-hero h1 { font-size: clamp(50px, 14vw, 76px); }
  .button { width: 100%; }
}

@media (max-width: 560px) {
  .nav { height: 82px; padding: 0 20px; }
  .brand-text { font-size: 21px; }
  .brand-text small { font-size: 7px; }
  .hero-copy { font-size: 18px; }
  .hero-actions { margin-top: 34px; }
  .section { padding-left: 20px; padding-right: 20px; }
  .card-img { height: 260px; }
  .page-hero { padding-left: 20px; padding-right: 20px; }
}
