:root {
  --ink: #10243a;
  --navy: #17334e;
  --deep: #0c2033;
  --gold: #d6a84b;
  --cream: #fffaf0;
  --mist: #edf4f6;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }

.topbar {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 6vw, 88px);
  background: rgba(255,250,240,.96);
  border-bottom: 1px solid rgba(16,36,58,.1);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-family: "Libre Baskerville", serif;
  font-size: 14px; letter-spacing: .08em;
}
.brand strong, .brand small { display: block; line-height: 1.15; }
.brand strong { font-family: "Libre Baskerville", serif; font-size: 16px; }
.brand small { margin-top: 5px; color: #5d6b76; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.phone-link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--gold); }
.header-links { display: flex; align-items: center; gap: 30px; }
.gallery-nav { font-weight: 600; text-decoration: none; }
.gallery-nav:hover { text-decoration: underline; text-underline-offset: 5px; }

.hero {
  min-height: 650px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: stretch;
}
.hero-copy { padding: clamp(70px, 9vw, 130px) clamp(28px, 7vw, 105px); }
.eyebrow { color: #a16f18; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; font-size: 13px; }
h1, h2 { font-family: "Libre Baskerville", Georgia, serif; line-height: 1.16; letter-spacing: -.03em; }
h1 { margin: 18px 0 24px; font-size: clamp(42px, 5.7vw, 78px); font-weight: 400; }
h1 em { color: #a16f18; font-style: normal; }
.intro { max-width: 630px; color: #52616d; font-size: 19px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 22px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border-radius: 4px; font-weight: 700; text-decoration: none; }
.primary { background: var(--navy); color: white; box-shadow: 0 12px 30px rgba(23,51,78,.2); }
.secondary { border: 1px solid rgba(16,36,58,.3); }
.availability { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.availability span { width: 9px; height: 9px; border-radius: 50%; background: #41835d; box-shadow: 0 0 0 5px rgba(65,131,93,.13); }

.hero-art {
  position: relative; overflow: hidden; min-height: 520px;
  background: linear-gradient(rgba(12,32,51,.08), rgba(12,32,51,.18)), url("golden-horizon-home.jpg") center / cover no-repeat;
}
.home-card {
  position: absolute; left: 12%; right: 12%; bottom: 12%; padding: 32px;
  background: rgba(255,255,255,.93); border-left: 5px solid var(--gold); box-shadow: 0 26px 60px rgba(12,32,51,.24);
}
.home-card p { margin: 0 0 2px; color: #66737d; }
.home-card strong { font-family: "Libre Baskerville", serif; font-size: 24px; }
.rating { float: right; color: #b6801f; letter-spacing: .09em; font-size: 15px; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); padding: 38px clamp(28px, 7vw, 105px); background: white; border-bottom: 1px solid #dce4e6; }
.trust-strip div { padding: 0 34px; border-right: 1px solid #dce4e6; }
.trust-strip div:first-child { padding-left: 0; }
.trust-strip div:last-child { border: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { font-family: "Libre Baskerville", serif; font-size: 20px; }
.trust-strip span { color: #6b7780; margin-top: 8px; line-height: 1.55; }

.care { padding: 100px clamp(28px, 7vw, 105px); }
.section-heading { max-width: 760px; }
.section-intro { max-width: 700px; color: #5d6b76; font-size: 18px; margin: -22px 0 44px; }
h2 { margin: 14px 0 42px; font-size: clamp(34px, 4.3vw, 56px); font-weight: 400; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.care article { min-height: 285px; padding: 34px; background: white; border-top: 3px solid var(--gold); box-shadow: 0 10px 35px rgba(16,36,58,.07); }
.care article > span { color: #a16f18; font-weight: 700; }
h3 { margin: 36px 0 12px; font-family: "Libre Baskerville", serif; font-size: 22px; }
.care article p { color: #65727c; margin: 0; }

.steps { padding: 95px clamp(28px, 7vw, 105px); background: var(--mist); }
.compact { max-width: 790px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #cddadc; border: 1px solid #cddadc; }
.steps-grid div { padding: 32px; background: var(--mist); }
.steps-grid strong, .steps-grid span { display: block; }
.steps-grid strong { font-family: "Libre Baskerville", serif; font-size: 19px; }
.steps-grid span { margin-top: 10px; color: #62717c; }

.reviews { display: grid; grid-template-columns: 1fr 1fr; background: white; }
.review-photo img { width: 100%; height: 100%; min-height: 560px; display: block; object-fit: cover; }
.review-copy { padding: clamp(65px, 8vw, 110px); align-self: center; }
.review-copy h2 { font-size: clamp(32px, 4vw, 50px); margin-bottom: 34px; }
blockquote { margin: 26px 0 2px; padding-left: 22px; border-left: 3px solid var(--gold); font-family: "Libre Baskerville", serif; font-size: 20px; }
.attribution { color: #697681; margin: 5px 0 22px 25px; font-size: 14px; }
.maps-link { display: inline-block; margin-top: 15px; color: var(--navy); font-weight: 700; text-decoration-color: var(--gold); text-underline-offset: 5px; }

.gallery { padding: 90px clamp(28px, 7vw, 105px); background: white; scroll-margin-top: 24px; }
.gallery-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 34px; }
.gallery-heading h2 { margin: 14px 0 0; font-size: clamp(34px, 4.3vw, 52px); }
.gallery-heading > p { max-width: 350px; margin: 0 0 4px; color: #52616d; }
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.gallery-photo { position: relative; display: block; overflow: hidden; border-radius: 5px; background: var(--mist); aspect-ratio: 1.5; text-decoration: none; }
.gallery-photo img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.gallery-photo:hover img { transform: scale(1.025); }
.gallery-caption { position: absolute; bottom: 0; left: 0; right: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 35px 22px 18px; background: linear-gradient(transparent, rgba(8,23,36,.88)); color: white; font-weight: 600; }
.gallery-caption > span { font-size: 14px; font-weight: 400; white-space: nowrap; }
.gallery-visit { margin: 25px 0 0; color: #52616d; }
.gallery-visit a { color: var(--navy); font-weight: 600; text-decoration-color: var(--gold); text-underline-offset: 4px; }
.gallery-dialog { width: min(1100px, calc(100% - 28px)); max-height: calc(100dvh - 28px); padding: 20px; border: 0; border-radius: 6px; background: var(--deep); color: white; }
.gallery-dialog::backdrop { background: rgba(8,23,36,.88); }
.gallery-close { display: block; margin: 0 0 16px auto; }
.gallery-dialog button { padding: 11px 16px; min-height: 44px; background: transparent; color: white; border: 1px solid #80909b; border-radius: 4px; font: inherit; cursor: pointer; }
.gallery-dialog button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery-full { display: block; width: 100%; max-height: calc(100dvh - 190px); object-fit: contain; }
.gallery-viewer-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 16px; }
.gallery-current { margin: 0; text-align: center; font-size: 14px; }
@media (max-width: 820px) {
  .gallery-heading { flex-direction: column; align-items: flex-start; gap: 20px; }
  .gallery-heading > p { max-width: 600px; }
  .gallery-caption { padding: 28px 14px 14px; }
  .gallery-caption > span { display: none; }
}
@media (max-width: 520px) {
  .header-links { flex-direction: column; align-items: flex-end; gap: 2px; }
  .gallery-nav { font-size: 14px; }
  .topbar { padding: 0 16px; }
  .gallery-grid { grid-template-columns: 1fr; gap: 16px; }
  .gallery { padding: 60px 24px; }
  .gallery-viewer-controls { flex-wrap: wrap; }
  .gallery-current { order: -1; width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .gallery-photo img { transition: none; } }

.cta { text-align: center; padding: 95px 24px; background: var(--deep); color: white; }
.cta .eyebrow { color: #e5c57c; }
.cta h2 { max-width: 900px; margin: 15px auto 34px; }
.light { background: var(--gold); color: var(--deep); }
.contact-intro { max-width: 640px; margin: 0 auto 26px; font-size: 18px; color: #d5dfe7; }
.contact-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; }
.email-button { border: 1px solid #e5c57c; color: white; }
.email-button:hover { background: #17334e; }
.email-details { margin: 20px auto 0; overflow-wrap: anywhere; }
.email-details a, .footer-email { text-underline-offset: 4px; }
.email-details span { font-size: 14px; color: #aebdca; }
.footer-email { font-size: 14px; overflow-wrap: anywhere; }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; }
.contact-form { max-width: 680px; margin: 36px auto 0; padding: clamp(22px, 5vw, 38px); background: white; color: var(--ink); border-radius: 6px; text-align: left; scroll-margin-top: 24px; }
.contact-form h3 { margin: 0 0 12px; font-size: 26px; }
.contact-form > p { overflow-wrap: anywhere; }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 24px 0 18px; }
.contact-form label { display: block; font-weight: 700; }
.contact-form label span { font-size: 14px; font-weight: 400; color: #52616d; }
.contact-form input:not([type="hidden"]), .contact-form select, .contact-form textarea { display: block; width: 100%; min-width: 0; margin-top: 6px; padding: 12px; border: 1px solid #80909b; border-radius: 4px; font: inherit; line-height: 1.5; background: white; color: var(--ink); }
.contact-form textarea { resize: vertical; }
.contact-form input:focus-visible, .contact-form textarea:focus-visible, .contact-form select:focus-visible, .contact-form button:focus-visible { outline: 3px solid #a16f18; outline-offset: 3px; }
.contact-form .contact-note { font-size: 14px; color: #52616d; margin: 16px 0 22px; }
.contact-form button { border: 0; font: inherit; font-weight: 700; cursor: pointer; }
.contact-form button:disabled { opacity: .7; cursor: wait; }
.contact-honeypot { display: none; }
.contact-status:empty { display: none; }
.contact-status { padding: 14px; margin: 18px 0 0; border-radius: 4px; background: var(--mist); }
.contact-status[data-state="error"] { background: #fff0ed; color: #8b2d22; }
.contact-status[data-state="success"] { background: #eef7ef; color: #24552b; }
@media (max-width: 520px) { .contact-fields { grid-template-columns: 1fr; } }
.fine { color: #aebdca; font-size: 14px; margin-top: 22px; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 40px clamp(28px, 7vw, 105px); background: #081724; color: #bfcbd4; }
.footer-brand strong { color: white; }
footer p { font-size: 13px; }

@media (max-width: 820px) {
  .topbar { height: 76px; }
  .phone-link { font-size: 14px; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { padding-top: 64px; padding-bottom: 64px; }
  .hero-art { min-height: 390px; }
  .trust-strip, .services-grid, .steps-grid, .reviews { grid-template-columns: 1fr; }
  .review-photo img { min-height: 390px; }
  .trust-strip { gap: 24px; }
  .trust-strip div { padding: 0 0 24px; border-right: 0; border-bottom: 1px solid #dce4e6; }
  .trust-strip div:last-child { padding-bottom: 0; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 520px) {
  .brand small { display: none; }
  .brand strong { font-size: 14px; }
  .brand-mark { width: 38px; height: 38px; }
  h1 { font-size: 40px; }
  .intro { font-size: 17px; }
  .actions { flex-direction: column; }
  .button { width: 100%; }
  .home-card { padding: 24px; }
  .home-card strong { font-size: 20px; }
}

.gallery-page .gallery-heading h1 { margin: 14px 0 0; font-size: clamp(34px, 4.3vw, 52px); }
.gallery-nav[aria-current="page"] { border-bottom: 2px solid var(--gold); }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 16px; }
.gallery-filters button { font: inherit; font-size: 14px; padding: 10px 18px; min-height: 44px; border: 1px solid #80909b; border-radius: 4px; color: var(--navy); background: white; cursor: pointer; }
.gallery-filters button[aria-pressed="true"] { color: white; background: var(--navy); border-color: var(--navy); }
.gallery-filters button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.gallery-count { color: #52616d; font-size: 14px; margin: 0 0 20px; }
.gallery-photo[hidden] { display: none; }
.gallery-photo img { object-position: center; }
.gallery-photo img[src*="shower.webp"] { object-fit: contain; background: #edf4f6; }

.compact-gallery { padding: 48px clamp(24px, 7vw, 105px); }
.compact-gallery-heading h2 { font-size: 34px; margin: 0 0 10px; }
.compact-gallery-heading p { color: #52616d; margin: 0 0 24px; }
.compact-gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.compact-gallery-grid .gallery-photo { aspect-ratio: 1.5; }
.compact-gallery-grid .gallery-caption { padding: 22px 12px 10px; font-size: 14px; }
.compact-gallery-note { margin: 14px 0 0; color: #52616d; font-size: 14px; }
.gallery-dialog-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; }
.gallery-dialog-top h3 { margin: 0; font-size: 20px; }
.gallery-dialog-top .gallery-close { margin: 0; }
.gallery-full { max-height: calc(100dvh - 340px); }
.gallery-thumbnails { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; margin-top: 16px; max-height: 140px; overflow-y: auto; padding: 4px; }
.gallery-thumbnails button { padding: 0; min-height: 0; aspect-ratio: 1.5; overflow: hidden; border: 2px solid transparent; }
.gallery-thumbnails button[aria-pressed="true"] { border-color: var(--gold); }
.gallery-thumbnails img { width: 100%; height: 100%; display: block; object-fit: cover; }
@media (max-width: 820px) { .compact-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .gallery-thumbnails { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 520px) { .compact-gallery { padding-top: 38px; padding-bottom: 38px; } .gallery-thumbnails { grid-template-columns: repeat(4, minmax(0, 1fr)); } .gallery-full { max-height: calc(100dvh - 360px); } }
