@font-face {
  font-family: 'Playfair Display';
  src: url('playfair-display.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --ink: #252017;
  --muted: #685f51;
  --gold: #c7a875;
  --gold-hover: #d6ba8e;
  --brown: #392f25;
  --soft: #f5f1ea;
  --line: #e4dbce;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: Arial, Helvetica, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; font: 16px/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .55em; font-family: var(--serif); font-weight: 500; line-height: 1.15; }
h1 { font-size: clamp(2.55rem, 6.1vw, 5.3rem); letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.5vw, 3.1rem); letter-spacing: -.022em; }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1.05em; }
address { font-style: normal; }
input, textarea, button { font: inherit; }
input, textarea { width: 100%; }
:focus-visible { outline: 3px solid #b78849; outline-offset: 4px; }
.wrap { width: min(100% - clamp(2.5rem, 7vw, 7rem), 76rem); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 6.25rem); }
.section-soft { background: var(--soft); }
.section-heading { margin-bottom: 2.1rem; }
.section-heading h2 { margin-bottom: .35em; }
.section-intro { max-width: 42rem; }
.section-intro p, .copy p, .feature p, .resident-grid p, .why-list p { color: var(--muted); }
.skip-link { position: absolute; z-index: 20; left: 1rem; top: 1rem; padding: .7rem 1rem; background: #fff; color: var(--ink); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
#inquiry { scroll-margin-top: 1.5rem; }

.site-header { position: absolute; inset: 0 0 auto; z-index: 5; color: #fff; }
.header-inner { min-height: 5.25rem; display: flex; align-items: center; justify-content: space-between; gap: clamp(.7rem, 2.7vw, 2.7rem); border-bottom: 1px solid #fff3; }
.wordmark { font-family: var(--serif); font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1; letter-spacing: -.05em; text-decoration: none; white-space: nowrap; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.65rem, 2.2vw, 2.1rem); }
.desktop-nav a, .mobile-menu nav > a:not(.button) { font-size: .77rem; font-weight: 700; letter-spacing: .11em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
.desktop-nav a[aria-current], .desktop-nav a:hover, .mobile-menu nav > a[aria-current] { color: #f4d8a9; }
.button { display: inline-flex; justify-content: center; align-items: center; border: 0; border-radius: 100px; min-height: 2.8rem; padding: .68rem 1.45rem; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .075em; text-transform: uppercase; white-space: normal; cursor: pointer; }
.button-gold { color: #2a2117; background: var(--gold); }
.button-gold:hover { background: var(--gold-hover); }
.button-dark { color: #fff; background: var(--brown); }
.button-dark:hover { background: #564536; }
.button-light { color: var(--ink); background: #f1e9db; }
.button-light:hover { background: #e8dac5; }
.header-cta { white-space: nowrap; }
.mobile-menu { display: none; }

.hero { color: #fff; background-color: #574b3d; background-size: cover; background-position: center; }
.hero-home { background-image: linear-gradient(95deg, #1f1b17ea, #211c17b2 52%, #231d1766), url('hero.webp'); }
.home-hero-grid { min-height: clamp(39rem, 82vh, 51rem); display: grid; grid-template-columns: minmax(0, 1.42fr) minmax(19rem, .85fr); align-items: center; gap: clamp(2rem, 6vw, 6.2rem); padding-block: 8rem 4rem; }
.hero-copy { max-width: 44rem; }
.hero-copy h1 span { color: #e8cda2; }
.hero-copy > p:not(.eyebrow), .consultation p { color: #f1eae0; max-width: 34rem; font-size: clamp(1rem, 1.5vw, 1.16rem); }
.eyebrow { margin-bottom: 1.15rem; color: #f2dcb9; font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 700; }
.text-link { display: inline-block; text-underline-offset: 5px; text-decoration-thickness: 1px; font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }
.hero-link { color: #fff5e5; margin-top: .55rem; }
.hero-inner { display: grid; align-items: end; min-height: clamp(17rem, 35vw, 24rem); padding-block: 8.5rem clamp(2.4rem, 7vw, 5rem); }
.hero-inner h1 { font-size: clamp(2.65rem, 6vw, 4.75rem); margin-bottom: 0; }
.hero-wall { background-image: linear-gradient(95deg, #2b221bdc, #5241317d), url('warm-wall.webp'); background-position: center 53%; }
.hero-resort { background-image: linear-gradient(95deg, #222019db, #302a1f68), url('resort.webp'); background-position: center 49%; }

.inquiry-panel { background: #fff; color: var(--ink); padding: clamp(1.45rem, 3.4vw, 2.65rem); border: 1px solid var(--line); box-shadow: 0 15px 44px #392f251a; }
.inquiry-panel h2 { font-size: clamp(1.55rem, 2.55vw, 2.07rem); margin: 0 0 1.25rem; }
.inquiry-hero { background: #faf7f2; border-color: #fff5; }
.inquiry-form, .form-stack { display: grid; gap: .8rem; }
.form-row { display: grid; gap: .3rem; }
.form-row label, .form-stack label { font-weight: 700; font-size: .88rem; }
.form-row input, .form-row textarea, .form-stack input:not([type='checkbox']), .form-stack textarea { min-height: 2.72rem; padding: .58rem .74rem; border: 1px solid #d3c9bb; border-radius: .2rem; color: var(--ink); background: #fdfcfb; }
.form-row textarea { resize: vertical; }
.inquiry-form .button, .form-stack .button { justify-self: start; margin-top: .3rem; }
.form-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.notice { padding: .65rem .85rem; margin: 0 0 1rem; background: #f4f0e7; color: var(--ink); border-left: 3px solid var(--gold); overflow-wrap: anywhere; }
.notice p:last-child { margin-bottom: 0; }
.notice.success { background: #edf4ed; border-left-color: #438052; color: #245233; }
.notice.error { background: #fbedea; border-left-color: #a74837; color: #752b1f; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 6vw, 6.1rem); }
.copy { max-width: 38rem; }
.feature-photo { width: 100%; aspect-ratio: 1.21; object-fit: cover; }
.values { display: flex; flex-wrap: wrap; gap: .9rem 1.45rem; list-style: none; padding: 0; margin: 1.65rem 0 1.8rem; }
.values li { display: flex; align-items: center; gap: .43rem; font-size: .87rem; font-weight: 700; }
.values img { width: 2rem; height: 2rem; object-fit: contain; }
.feature-grid, .service-grid, .resident-grid { display: grid; gap: clamp(1rem, 2.1vw, 1.7rem); }
.feature-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature, .service-card { background: #fff; border: 1px solid var(--line); min-width: 0; }
.feature img { width: 100%; height: auto; aspect-ratio: 1.42; object-fit: cover; }
.feature-copy, .service-card { padding: 1.35rem; }
.feature-copy h3 { min-height: 3.2rem; }
.detail-list { list-style: none; padding: 0; margin: 0; font-size: .93rem; color: var(--muted); }
.detail-list li { padding-left: .85rem; position: relative; margin-bottom: .33rem; }
.detail-list li::before { content: ''; width: .28rem; height: .28rem; background: #a88655; border-radius: 50%; position: absolute; left: 0; top: .64em; }
.section-action { margin-top: 1.65rem; }
.why-section { align-items: start; }
.why-list p { padding: 0 0 .9rem; border-bottom: 1px solid var(--line); }
.why-list p:last-child { margin-bottom: 0; }
.why-list strong { color: var(--ink); }
.resident-grid, .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.resident-grid h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
.resident-grid > div { border-top: 2px solid var(--gold); padding-top: 1.2rem; }
.consultation { color: #fff; background: linear-gradient(90deg, #30251bf2, #3b2e2370), url('consultation.webp') center 55% / cover; }
.consultation-inner { padding-block: clamp(3.5rem, 8vw, 6.4rem); }
.consultation p { margin-bottom: 1.35rem; }
.contact-grid { align-items: start; }
.contact-address { display: grid; gap: .85rem; margin-top: 1.55rem; }
.contact-address > a { width: fit-content; color: #6e5129; text-underline-offset: 4px; }
.contact-address > div { color: var(--muted); }
.contact-address strong { color: var(--ink); }
.site-footer { color: #f4eadb; background: #2d261e; }
.footer-grid { display: grid; grid-template-columns: 1.55fr .7fr 1.15fr .65fr; gap: 1.65rem; padding-block: 3rem 2.2rem; }
.footer-grid .wordmark { display: inline-block; color: #fff; margin-bottom: .7rem; }
.footer-grid h2 { font: 700 .85rem/1.4 var(--sans); margin: .38rem 0 .65rem; }
.footer-grid a:not(.wordmark) { display: block; width: fit-content; text-decoration: none; }
.footer-grid a:not(.wordmark):hover { text-decoration: underline; }
.footer-grid p, .footer-grid a:not(.wordmark), .footer-grid address, .footer-bottom { color: #e0d3be; font-size: .9rem; line-height: 1.7; }
.footer-grid p { max-width: 21rem; }
.footer-grid address { margin-bottom: .35rem; }
.footer-bottom { border-top: 1px solid #ffffff2d; padding-block: 1rem 1.3rem; }

.admin-body { background: var(--soft); }
.admin-top { background: var(--brown); color: #fff; }
.admin-top .wrap { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 3.35rem; }
.admin-top .wordmark { font-size: 2rem; }
.admin-top button { min-height: 2.4rem; }
.admin-nav { display: flex; gap: 1rem; margin-right: auto; margin-left: 1rem; }
.admin-nav a { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.admin-nav a[aria-current] { color: #eed5ad; text-decoration: underline; text-underline-offset: .35rem; }
.admin-shell { padding-block: clamp(.9rem, 3vw, 2rem); }
.admin-shell h1 { font-size: clamp(1.55rem, 4vw, 2.5rem); }
.admin-shell h2 { font-size: clamp(1.45rem, 3vw, 2.05rem); }
.admin-panel { background: #fff; border: 1px solid var(--line); padding: clamp(.8rem, 2vw, 1.35rem); margin-bottom: .75rem; }
.admin-auth { width: min(100%, 31rem); margin-inline: auto; }
.admin-auth label { display: block; }
.admin-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.admin-actions form { margin: 0; }
.admin-filter { margin-bottom: .5rem; justify-content: space-between; }
.admin-filter a { color: #694e2d; }
.admin-folders { display: flex; align-items: center; gap: .15rem; }
.admin-folders a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .55rem; text-decoration: none; font-size: .88rem; }
.admin-folders a[aria-current] { color: var(--ink); font-weight: 700; text-decoration: underline; text-underline-offset: .27rem; }
.admin-shell .button { min-height: 44px; padding: .35rem .75rem; }
.admin-import { margin: 0 0 .65rem; font-size: .85rem; color: var(--muted); }
.admin-import summary { cursor: pointer; }
.admin-import p { margin: .35rem 0; }
.inbox-feedback { margin: .25rem 0 .6rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table td, .admin-table th { text-align: left; vertical-align: top; padding: .4rem .45rem; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.admin-table th { color: var(--muted); font-size: .86rem; }
.admin-table tr.unread .inbox-subject { font-weight: 700; }
.inbox-search, .bulk-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.inbox-search { margin-bottom: .6rem; }
.inbox-search input, .inbox-search select, .bulk-bar select { min-height: 44px; border: 1px solid #a99b89; background: #fff; border-radius: .3rem; padding: .35rem .55rem; color: var(--ink); font: inherit; }
.inbox-search input { flex: 1 1 10rem; min-width: 0; width: auto; }
.search-count { margin: 0 0 .5rem; }
.bulk-bar { margin-bottom: .35rem; font-size: .85rem; }
.bulk-bar .admin-date { margin-right: auto; }
.bulk-select, .inbox-check label { display: inline-flex; align-items: center; min-height: 44px; gap: .35rem; cursor: pointer; }
.bulk-select[hidden] { display: none; }
.inbox-bulk input[type="checkbox"] { width: 1.15rem; height: 1.15rem; margin: 0; accent-color: var(--brown); }
.admin-table .inbox-check { width: 3rem; padding-block: 0; }
.inbox-check label { justify-content: center; width: 100%; }
.admin-date { font-size: .86rem; color: #655c4f; }
.message-toolbar { display: flex; max-width: 54rem; justify-content: space-between; align-items: center; gap: .5rem; margin: 0 auto .35rem; }
.message-toolbar .text-link { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; }
.message-toolbar .button-delete { color: #942b2b; border-color: #a64242; }
.message-panel { max-width: 54rem; margin-inline: auto; line-height: 1.5; }
.message-panel h1 { margin-bottom: .35rem; overflow-wrap: anywhere; }
.message-meta { padding-bottom: .6rem; margin-bottom: .75rem; border-bottom: 1px solid var(--line); }
.message-meta p { margin: 0; }
.message-sender { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: .65rem; overflow-wrap: anywhere; font-size: .92rem; }
.message-sender a, .message-sender span { min-width: 0; }
.admin-message { white-space: pre-wrap; overflow-wrap: anywhere; margin-bottom: .65rem; }
.message-panel details { font-size: .88rem; overflow-wrap: anywhere; }
.message-alert { margin: .55rem 0 .45rem; }
.pager { display: flex; align-items: center; gap: .75rem; margin-top: .65rem; }

.stats-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.stats-heading h1 { margin-bottom: .25rem; }
.stats-heading p { margin: 0; }
.stats-periods { display: flex; gap: .2rem; padding: .25rem; background: #fff; border: 1px solid var(--line); border-radius: .4rem; }
.stats-periods a { padding: .35rem .75rem; border-radius: .22rem; font-size: .88rem; font-weight: 700; text-decoration: none; }
.stats-periods a[aria-current] { color: #fff; background: var(--brown); }
.stats-metrics, .stats-breakdowns { display: grid; gap: 1rem; margin: 0 0 1rem; }
.stats-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stats-breakdowns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stats-metrics .admin-panel, .stats-breakdowns .admin-panel { margin: 0; }
.stats-metrics dt { font-size: .88rem; color: var(--muted); }
.stats-metrics dd { margin: .2rem 0 0; font: 600 clamp(1.55rem, 4vw, 2.65rem)/1.1 var(--serif); }
.stats-metrics dd.stats-missing { font-size: 1.2rem; color: var(--muted); }
.stats-breakdown dl { margin: 0; }
.stats-breakdown dl div { display: flex; justify-content: space-between; gap: .75rem; padding: .45rem 0; border-bottom: 1px solid var(--line); }
.stats-breakdown dl div:last-child { border-bottom: 0; }
.stats-breakdown dt { overflow-wrap: anywhere; }
.stats-breakdown dd { margin: 0; white-space: nowrap; }
.stats-unit { color: var(--muted); font-size: .78rem; }
.stats-trend { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.stats-trend th, .stats-trend td { padding: .5rem .3rem; border-bottom: 1px solid var(--line); text-align: right; }
.stats-trend th:first-child { text-align: left; }
.stats-trend thead { color: var(--muted); font-size: .86rem; }

@media (max-width: 47rem) {
  .stats-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 33rem) {
  .admin-nav { gap: .5rem; margin-left: 0; font-size: .82rem; }
  .admin-top .wordmark { font-size: 1.45rem; }
  .admin-top button { padding-inline: .6rem; font-size: .76rem; }
  .stats-breakdowns { grid-template-columns: minmax(0, 1fr); }
  .stats-trend { font-size: .85rem; }
  .stats-trend thead { font-size: .78rem; }
}

@media (max-width: 68rem) {
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feature-copy h3 { min-height: 0; }
}
@media (max-width: 51rem) {
  .site-header .desktop-nav, .site-header .header-cta { display: none; }
  .header-inner { min-height: 4.5rem; }
  .mobile-menu { display: block; position: relative; }
  .mobile-menu summary { color: #fff; border: 1px solid #ffffff6b; border-radius: 100px; padding: .35rem .82rem; cursor: pointer; }
  .mobile-menu nav { display: grid; gap: .85rem; position: absolute; right: 0; top: calc(100% + .6rem); width: min(16rem, 70vw); padding: 1.2rem; background: #2d261e; box-shadow: 0 10px 30px #1e19175e; }
  .mobile-menu .button { font-size: .72rem; padding-inline: .85rem; }
  .home-hero-grid { grid-template-columns: minmax(0, 1fr); min-height: 0; align-items: start; padding-top: 7.35rem; gap: 1.8rem; }
  .home-hero-grid .inquiry-panel { width: min(100%, 36rem); }
  .split { gap: 2rem; grid-template-columns: minmax(0, 1fr); }
  .resident-grid, .service-grid, .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid .inquiry-panel { width: min(100%, 38rem); }
}
@media (max-width: 33rem) {
  .feature-grid, .resident-grid, .service-grid, .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .feature img { aspect-ratio: 1.7; }
  .footer-grid { gap: 1.25rem; }
  .section-heading { margin-bottom: 1.25rem; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; }
  .admin-table thead { position: absolute; clip-path: inset(50%); width: 1px; height: 1px; overflow: hidden; }
  .admin-table tr { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr); border-bottom: 1px solid var(--line); padding: .35rem 0 .4rem; }
  .admin-table td { border: 0; padding: .05rem 0; line-height: 1.35; }
  .admin-table .inbox-check { width: auto; grid-row: span 3; }
  .inbox-search input { flex-basis: 100%; }
  .admin-table td br { display: none; }
  .admin-table td .inquiry-source::before { content: " · "; }
  .admin-shell.wrap { width: calc(100% - 1.25rem); }
}
