/* =========================================================
   The Government Hill House — styles
   Colors are set once here; change them to restyle the site.
   ========================================================= */
:root {
  --cream: #f5f9ff;       /* page background (very light blue) */
  --sand: #e6f0fc;        /* alternate section background */
  --white: #ffffff;
  --ink: #0f2540;         /* main text (deep navy) */
  --muted: #4f6480;
  --line: #d3e2f4;
  --accent: #1a73e8;      /* bright blue — buttons, icons */
  --accent-dark: #1259b8;
  --gold: #ffb627;        /* sunshine gold — the "pop" color */
  --gold-text: #a86b00;   /* deeper gold for small text on light backgrounds */
  --gold-soft: #fff3d1;   /* pale gold for icon tiles */
  --gold-light: #ffd56b;  /* light gold text on blue backgrounds */
  --warm: var(--gold-text); /* small labels above headings */
  --navy: var(--accent);  /* footer & photo overlay now use bright blue */
  --sky-light: var(--gold-light);
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 37, 64, 0.08);
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); }
/* "WONK" 0 turns off Fraunces' leaning f/h/n letters */
h1, h2, h3, .brand-text, .fact strong, .price-big, .hero-price .price, .footer-brand, .brand-mark { font-variation-settings: "WONK" 0, "SOFT" 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.3rem; }
h4 { margin: 0 0 2px; font-size: 1rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.section { padding: 84px 0; }
.section-alt { background: var(--sand); }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem; font-weight: 600; color: var(--warm); margin-bottom: 10px; }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 680px; margin-bottom: 36px; }
.note { margin-top: 32px; padding: 16px 20px; background: var(--white); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; color: var(--muted); }
.small { font-size: 0.88rem; color: var(--muted); }
.mt { margin-top: 56px; }

/* --------- "To be confirmed" highlight (remove class when confirmed) --------- */
.tbd { background: #fff2a8; color: inherit; padding: 0 4px; border-radius: 3px; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.draft-banner { background: var(--navy); color: #e6f0fc; font-size: 0.85rem; text-align: center; padding: 8px 16px; }
.draft-banner .tbd { color: var(--ink); }

/* ------------------------------ Buttons ------------------------------ */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-size: 1rem; font-family: inherit; transition: background .2s, transform .2s, color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-ghost { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn-ghost:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-small { padding: 9px 18px; font-size: 0.9rem; background: var(--accent); color: #fff !important; }
.btn-block { display: block; width: 100%; text-align: center; }

/* ------------------------------ Header ------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 249, 255, 0.95); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-family: var(--serif); font-size: 1.3rem; }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 1.08rem; line-height: 1.1; }
.brand-text small { display: block; font-family: var(--sans); font-weight: 400; font-size: 0.72rem; color: var(--muted); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem; }
.site-nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* ------------------------------ Hero ------------------------------ */
.hero { position: relative; min-height: 640px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-photo, .hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(18,96,206,.92) 0%, rgba(26,115,232,.72) 55%, rgba(56,160,255,.25) 100%); }
.hero-content { position: relative; padding-top: 70px; padding-bottom: 70px; }
.hero h1 { max-width: 760px; }
.hero .eyebrow { color: var(--gold-light); }
.hero-price .price { color: var(--gold-light); }
.hero .btn-primary { background: #fff; color: var(--accent-dark); }
.hero .btn-primary:hover { background: var(--gold-soft); }
.hero-address { display: inline-block; font-weight: 600; font-size: 1rem; background: rgba(255,255,255,.14); border: 1px solid var(--gold); padding: 6px 14px; border-radius: 999px; margin-bottom: 18px; }
.hero-sub { font-size: 1.15rem; max-width: 600px; opacity: .92; }
.hero-price { margin: 22px 0 26px; display: flex; align-items: baseline; gap: 8px; }
.hero-price .price { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; }
.hero-price .tbd { color: var(--ink); }
.hero-price .per { opacity: .85; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-avail { margin-top: 18px; font-size: 0.95rem; opacity: .9; }
.hero-avail .tbd { color: var(--ink); }

/* Placeholder boxes for photos not yet taken */
.placeholder { background: repeating-linear-gradient(135deg, #c5d9f2 0 14px, #b9d0ee 14px 28px); position: relative; }
.placeholder::after { content: "📷  " attr(data-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); background: rgba(255,255,255,.88); color: var(--ink); padding: 6px 12px; border-radius: 6px; font-size: 0.82rem; font-weight: 500; white-space: nowrap; }
.hero-photo.placeholder { position: absolute; }
.hero-photo.placeholder::after { top: auto; bottom: 18px; left: auto; right: 18px; transform: none; }

/* ------------------------------ Facts bar ------------------------------ */
.facts { background: var(--white); border-bottom: 1px solid var(--line); }
.facts-grid { display: grid; grid-template-columns: repeat(5, 1fr); text-align: center; }
.fact { padding: 26px 8px; border-right: 1px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.7rem; color: var(--accent); }
.fact span { font-size: 0.85rem; color: var(--muted); }

/* ------------------------------ Cards ------------------------------ */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); }
.card .icon { font-size: 1.8rem; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 12px; background: var(--gold-soft); margin-bottom: 16px; }
.card { border-top: 4px solid var(--gold); }
.card h3 { font-size: 1.15rem; }
.card p { color: var(--muted); font-size: 0.95rem; margin: 0; }

/* ------------------------------ Gallery ------------------------------ */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; margin-bottom: 56px; }
.gallery > * { border-radius: 10px; overflow: hidden; width: 100%; height: 100%; object-fit: cover; }
.gallery .g-large { grid-column: span 2; grid-row: span 2; }

.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.detail { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.detail > span { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.detail strong { font-weight: 600; }
.detail strong .tbd { font-weight: 600; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: repeat(2, 1fr); } }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.check-list { list-style: none; padding: 0; margin: 0 0 24px; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' stroke='white' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.spec-table, .terms { margin: 0; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.spec-table div, .terms div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 20px; border-bottom: 1px solid var(--line); }
.spec-table div:last-child, .terms div:last-child { border-bottom: 0; }
dt { color: var(--muted); }
dd { margin: 0; font-weight: 500; text-align: right; }

/* ------------------------------ Amenities ------------------------------ */
.amenity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.amenity { display: flex; gap: 14px; align-items: flex-start; background: var(--white); padding: 18px; border-radius: 12px; border: 1px solid var(--line); }
.amenity > span { font-size: 1.5rem; flex: none; width: 44px; height: 44px; display: grid; place-items: center; background: var(--gold-soft); border-radius: 10px; }
.amenity p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ------------------------------ Location ------------------------------ */
.location { align-items: center; }
.place-list { list-style: none; padding: 0; margin: 24px 0; }
.place-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.place-list span { color: var(--muted); font-size: 0.92rem; text-align: right; }
.map-wrap iframe { width: 100%; height: 420px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ------------------------------ Pricing ------------------------------ */
.pricing { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.price-card { background: var(--white); border: 2px solid var(--accent); border-top: 8px solid var(--gold); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.price-label { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; color: var(--muted); margin: 0; }
.price-big { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; margin: 6px 0 0; color: var(--ink); }
.price-per { color: var(--muted); margin-bottom: 22px; }
.rules { columns: 2; gap: 40px; padding-left: 20px; }
.rules li { margin-bottom: 8px; break-inside: avoid; }
.also-on { margin-top: 48px; padding: 28px; background: var(--sand); border-radius: var(--radius); text-align: center; }
.platforms { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; }
.platform { padding: 10px 20px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; }
.platform:hover { border-color: var(--accent); color: var(--accent); }

/* ------------------------------ FAQ ------------------------------ */
details { background: var(--white); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; padding: 0 22px; }
summary { cursor: pointer; padding: 18px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--accent); transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ------------------------------ Form ------------------------------ */
.form { background: var(--white); padding: 32px; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: block; font-weight: 500; font-size: 0.9rem; margin-bottom: 18px; }
.form .opt { color: var(--muted); font-weight: 400; }
.form input, .form select, .form textarea { display: block; width: 100%; margin-top: 6px; padding: 12px 14px; font: inherit; font-size: 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; background: #fff; }
.form .invalid { border-color: #c0392b; }
.hp { position: absolute; left: -9999px; }
.form-status { margin: 14px 0 0; text-align: center; font-weight: 500; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #c0392b; }
.contact-alt { text-align: center; margin-top: 24px; color: var(--muted); }

/* ------------------------------ Footer ------------------------------ */
.site-footer { background: var(--accent); color: #eaf3ff; border-top: 6px solid var(--gold); padding: 60px 0 20px; font-size: 0.92rem; }
.site-footer a { color: #fff; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.5fr; gap: 40px; }
.footer-brand { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.footer-head { color: #fff; font-weight: 600; }
.eho { display: flex; gap: 14px; align-items: flex-start; }
.eho-logo { color: #fff; flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.3); margin-top: 40px; padding-top: 18px; font-size: 0.82rem; }
.site-footer .tbd { color: var(--ink); }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 980px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .amenity-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .eho { grid-column: span 2; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--cream); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .site-nav a.btn { margin-top: 14px; text-align: center; border: 0; }
  .two-col, .pricing { grid-template-columns: 1fr; gap: 36px; }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .rules { columns: 1; }
}
@media (max-width: 600px) {
  .section { padding: 60px 0; }
  .hero { min-height: 0; }
  .hero-content { padding-top: 56px; padding-bottom: 80px; }
  .hero-actions .btn { flex: 1; text-align: center; white-space: nowrap; }
  .hero-price { flex-wrap: wrap; }
  .hero-price .price { font-size: 1.8rem; }
  .facts-grid { grid-template-columns: repeat(3, 1fr); }
  .fact:nth-child(3) { border-right: 0; }
  .fact:nth-child(n+4) { border-top: 1px solid var(--line); }
  .fact { padding: 18px 4px; }
  .card-grid, .amenity-grid, .form-row, .footer-grid { grid-template-columns: 1fr; }
  .form-row { gap: 0; }
  .eho { grid-column: auto; }
  .form, .price-card { padding: 24px 18px; }
  .brand-text { font-size: 0.98rem; }
  .placeholder::after { font-size: 0.72rem; white-space: normal; text-align: center; width: max-content; max-width: 90%; }
}
