:root {
  --navy: #14263d;
  --navy-2: #1d3554;
  --brick: #b4332a;
  --brick-dark: #8f2720;
  --gold: #c9a45c;
  --cream: #faf7f2;
  --tint: #f2ede4;
  --ink: #232a33;
  --muted: #5d6673;
  --line: #e2dbcf;
  --white: #fff;
  --radius: 10px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.9rem); font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--brick); }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

/* Buttons */
.btn { font: 600 .95rem var(--sans); border: 1.5px solid transparent; border-radius: 999px; padding: .85em 1.7em; cursor: pointer; text-decoration: none; display: inline-block; transition: .2s; }
.btn-primary { background: var(--brick); color: #fff; }
.btn-primary:hover { background: var(--brick-dark); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-small { padding: .55em 1.2em; font-size: .85rem; background: var(--brick); color: #fff; }
.btn-block { width: 100%; margin-top: .6em; }
.btn:disabled { opacity: .7; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: rgba(20,38,61,.92); backdrop-filter: blur(8px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { text-decoration: none; color: #fff; font-family: var(--serif); font-size: 1.6rem; font-weight: 700; letter-spacing: .02em; }
.brand-sub { font-weight: 500; color: var(--gold); margin-left: .3em; }
.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { color: #e9edf3; text-decoration: none; font-size: .9rem; }
.main-nav a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; color: #fff; padding: 110px 0 80px; }
.hero-bg { position: absolute; inset: 0; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,38,61,.55), rgba(20,38,61,.85)); }
.hero-inner { position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: .6em; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); border-radius: 999px; padding: .4em 1em; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #ff6b5c; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.hero h1 { color: #fff; font-size: clamp(3.2rem, 9vw, 6.2rem); font-weight: 700; margin: .3em 0 .15em; }
.hero-tag { font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 36em; color: #e7ecf3; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; padding: 0; margin: 1.8rem 0; }
.hero-facts li { border-left: 2px solid var(--gold); padding-left: .9rem; }
.hero-facts strong { display: block; font: 600 1.7rem var(--serif); }
.hero-facts span { font-size: .85rem; color: #cdd6e2; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; }

/* Sections */
.section { padding: clamp(56px, 9vw, 104px) 0; }
.section-tint { background: var(--tint); }
.section-label { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--brick); margin-bottom: .8em; }
.section-label.light { color: var(--gold); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.figure img, .figure iframe { width: 100%; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(20,38,61,.18); }
.figure img { aspect-ratio: 4/3; object-fit: cover; }
.map iframe { border: 0; aspect-ratio: 4/3; height: auto; }
.credit { color: var(--muted); font-size: .9rem; font-style: italic; }
.link { font-weight: 600; text-decoration: none; }
.note { color: var(--muted); font-size: .85rem; margin-top: 1.4rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; gap: 24px; margin-top: 2.2rem; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; }
.card-featured { border-color: var(--gold); box-shadow: 0 14px 34px rgba(20,38,61,.12); }
.card-type { font: 700 2rem var(--serif); color: var(--brick); margin: 0; }
.card-size { font: 600 1.5rem var(--serif); color: var(--navy); margin-bottom: 1rem; }
.card-size small { font: 400 .8rem var(--sans); color: var(--muted); }
.card ul { list-style: none; padding: 0; margin: 0 0 1.2rem; color: var(--muted); font-size: .92rem; }
.card li { padding: .35em 0; border-top: 1px solid var(--line); }
.card-price { font-weight: 600; color: var(--navy); }

/* Features */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 2.2rem; }
.feature { padding: 1.6rem; background: #fff; border-radius: var(--radius); border-top: 3px solid var(--brick); box-shadow: 0 6px 20px rgba(20,38,61,.06); }
.feature h3 { font-size: 1.35rem; }
.feature p { color: var(--muted); font-size: .92rem; margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 2.2rem; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: var(--radius); }
.gallery .g-wide { grid-column: span 2; }

/* Blog */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 2.2rem; }
.post-grid.two { grid-template-columns: repeat(2, 1fr); }
.post-card { display: flex; flex-direction: column; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 0 0 1.3rem; text-decoration: none; color: var(--ink); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: 0 14px 30px rgba(20,38,61,.14); transform: translateY(-3px); }
.post-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.post-card h3, .post-card p, .post-card .post-meta, .post-card .read-more { margin: 0; padding: 0 1.2rem; }
.post-card h3 { font-size: 1.45rem; margin-top: .3rem; }
.post-card p { color: var(--muted); font-size: .92rem; }
.read-more { color: var(--brick); font-weight: 600; font-size: .9rem; margin-top: auto !important; padding-top: .4rem !important; }
.post-meta { display: flex; gap: .8rem; align-items: center; font-size: .78rem; color: var(--muted); margin-top: .9rem; }
.tag { text-transform: uppercase; letter-spacing: .12em; font-weight: 600; color: var(--brick); }
.more { margin-top: 2rem; }
.btn-ghost-dark { color: var(--navy); border-color: var(--navy); background: transparent; }
.btn-ghost-dark:hover { background: var(--navy); color: #fff; }
.blog-main { padding-top: 64px; }
.blog-hero { background: var(--navy); color: #cdd6e2; padding: clamp(48px, 8vw, 88px) 0; }
.blog-hero h1 { color: #fff; font-size: clamp(2.4rem, 6vw, 4rem); }
.blog-hero .section-label { color: var(--gold); }
.narrow { max-width: 760px; }
.article { padding: clamp(32px, 6vw, 64px) 0 clamp(48px, 8vw, 88px); }
.article h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-top: .5rem; }
.crumbs a { text-decoration: none; font-weight: 600; font-size: .9rem; }
.article-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: var(--radius); margin: 1.4rem 0 1.8rem; }
.article-body { font-size: 1.05rem; }
.article-body h2 { font-size: 1.9rem; margin-top: 1.6em; }
.article-body ul { padding-left: 1.2em; }
.article-body li { margin-bottom: .5em; }
.cta-box { margin-top: 2.5rem; padding: 1.8rem; background: var(--tint); border-radius: var(--radius); border: 1px solid var(--line); }
.cta-box h3 { font-size: 1.7rem; }
.related { margin-top: 3.5rem; }
.related h2 { text-align: center; font-size: 2rem; }

/* FAQ */
.faq-wrap { max-width: 820px; }
.faq-list { margin-top: 2rem; display: grid; gap: 10px; }
.faq { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 3rem 1.1rem 1.3rem; font-weight: 600; color: var(--navy); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 1.3rem; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--brick); transition: transform .2s; }
.faq[open] summary::after { content: "\2212"; }
.faq summary:focus-visible { outline: 2px solid var(--brick); outline-offset: 2px; border-radius: var(--radius); }
.faq p { margin: 0; padding: 0 1.3rem 1.2rem; color: var(--muted); }
form input[readonly] { background: var(--tint); color: var(--muted); cursor: default; }

/* Contact */
.contact { background: var(--navy); color: #dbe3ee; }
.contact h2 { color: #fff; }
.contact-line a { color: var(--gold); font-weight: 600; }
.form-wrap, .modal { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(20px, 4vw, 34px); }
form label { display: block; font-size: .82rem; font-weight: 600; margin: .9em 0 .3em; color: var(--navy); }
.opt { font-weight: 400; color: var(--muted); }
form input, form select { width: 100%; font: inherit; padding: .75em .9em; border: 1.5px solid var(--line); border-radius: 8px; background: #fff; }
form input:focus, form select:focus { outline: 0; border-color: var(--brick); box-shadow: 0 0 0 3px rgba(180,51,42,.15); }
.fine { font-size: .75rem; color: var(--muted); margin: .8em 0 0; text-align: center; }
.success-message { display: none; text-align: center; padding: 1.5rem 0; }
.success-message.active { display: block; }
.success-message h3 { color: var(--brick); }

/* Footer */
.site-footer { background: #0e1c2d; color: #9fadbf; padding: 40px 0 90px; font-size: .85rem; }
.footer-brand { font: 600 1.3rem var(--serif); color: #fff; }
.disclaimer { max-width: 60em; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(10,20,34,.7); display: none; align-items: center; justify-content: center; padding: 12px; overflow: hidden; }
.modal-overlay.open { display: flex; }
.modal { position: relative; width: min(400px, 100%); max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 22px 22px 20px; scrollbar-width: thin; }
.modal h3 { font-size: 1.5rem; padding-right: 1.8rem; margin-bottom: .3em; }
.modal-sub { color: var(--muted); font-size: .85rem; margin-bottom: .4em; }
.modal-close { position: sticky; float: right; top: 0; margin: -10px -8px 0 0; z-index: 2; background: #fff; width: 32px; height: 32px; border-radius: 50%; background: none; border: 0; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--muted); }

/* Sticky + back to top */
.sticky-bar { display: none; }
.back-to-top { position: fixed; right: 16px; bottom: 20px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--navy); color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0; pointer-events: none; transition: .25s; z-index: 40; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }

/* Thank-you */
.thanks-page { background: var(--navy); }
.thanks { min-height: 100vh; display: grid; place-content: center; text-align: center; gap: .4rem; padding: 24px; color: #dbe3ee; }
.thanks h1 { color: #fff; font-size: clamp(2.2rem, 6vw, 3.6rem); }
.thanks .brand-mark { font: 700 1.8rem var(--serif); color: #fff; }
.thanks .btn { justify-self: center; margin-top: 1rem; }

/* Responsive */
@media (max-width: 900px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--navy); padding: 8px 16px 18px; display: none; }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8em 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .main-nav .btn { margin-top: 12px; }
  .cards { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .gallery .g-wide { grid-column: auto; }
  .hero-cta .btn { flex: 1 1 100%; text-align: center; }
  .sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1fr 1fr 1.3fr; background: #fff; box-shadow: 0 -4px 16px rgba(0,0,0,.15); }
  .sticky-bar button { border: 0; background: #fff; padding: 14px 0; font: 600 .9rem var(--sans); color: var(--navy); }
  .sticky-bar .primary { background: var(--brick); color: #fff; }
  .back-to-top { bottom: 70px; }
}
@media (max-width: 640px) {
  .post-grid, .post-grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
}

/* Blog: horizontal scroller (end of page) */
.blog-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; }
.blog-head h2 { margin: 0; }
.scroll-btns { display: flex; gap: 10px; }
.scroll-btn { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--navy); background: transparent; color: var(--navy); font-size: 1.2rem; cursor: pointer; transition: .2s; }
.scroll-btn:hover { background: var(--navy); color: #fff; }
.post-scroll { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; padding: 2rem max(16px, calc((100% - 1140px) / 2)) 1.2rem; scroll-padding-inline: max(16px, calc((100% - 1140px) / 2)); scrollbar-width: thin; scrollbar-color: var(--brick) var(--line); }
.post-scroll .post-card { flex: 0 0 min(320px, 82vw); scroll-snap-align: start; }
.post-scroll::-webkit-scrollbar { height: 8px; }
.post-scroll::-webkit-scrollbar-thumb { background: var(--brick); border-radius: 8px; }
.post-scroll::-webkit-scrollbar-track { background: var(--line); border-radius: 8px; }
.post-scroll:focus-visible { outline: 2px solid var(--brick); outline-offset: -2px; }
@media (max-width: 760px) { .scroll-btns { display: none; } }

/* Keep intrinsic width/height attributes (for SEO/CLS) from overriding aspect-ratio boxes */
.post-card img, .article-img, .figure img { height: auto; }

/* Blog categories */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.6rem; }
.chip { padding: .45em 1em; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--navy); text-decoration: none; font-size: .85rem; font-weight: 500; }
.chip:hover { border-color: var(--brick); color: var(--brick); }
.chip.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 1.4rem; }
.cat-card { display: flex; flex-direction: column; gap: .3rem; padding: 1.3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink); transition: box-shadow .2s, transform .2s; }
.cat-card:hover { box-shadow: 0 12px 26px rgba(20,38,61,.13); transform: translateY(-2px); }
.cat-card h3 { font-size: 1.3rem; margin: 0; }
.cat-card p { color: var(--muted); font-size: .88rem; margin: 0; }
.cat-card .count { margin-top: auto; padding-top: .5rem; color: var(--brick); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; }
.h-sm { font-size: 1.9rem; }
.lead { max-width: 46em; font-size: 1.08rem; }
.crumbs { font-size: .88rem; color: var(--muted); margin-bottom: .8rem; }
.crumbs a { text-decoration: none; font-weight: 600; }
.crumbs.light { color: #9fadbf; } .crumbs.light a { color: var(--gold); }
a.tag { text-decoration: none; }
.cta-box.wide { margin-top: 2.5rem; }
.source-note { background: var(--tint); border-left: 4px solid var(--gold); padding: 1rem 1.2rem; border-radius: 6px; font-size: .9rem; color: var(--muted); margin: 1.4rem 0; }
.src { font-size: .88rem; } .src a { word-break: break-word; }
@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }

/* Category pages, byline, hub links, picture */
picture { display: contents; }
.cat-intro { max-width: 46em; margin-bottom: 2rem; }
.cat-intro p { color: var(--muted); }
.faq-h { margin-top: 3rem; }
.cat-faq { max-width: 820px; margin-top: 1rem; }
.byline { color: var(--muted); font-size: .88rem; margin: .2rem 0 0; }
.byline a { font-weight: 600; text-decoration: none; }
.hub-links { margin-top: 1.4rem; padding: 1.2rem 1.4rem; background: var(--tint); border-radius: var(--radius); }
.hub-title { font-weight: 600; color: var(--navy); margin-bottom: .5rem; }
.hub-links ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hub-links a { font-size: .9rem; font-weight: 500; }

/* Compact enquiry popup: tighter fields, scrolls inside when the screen is short */
.modal form label { margin: .65em 0 .2em; font-size: .78rem; }
.modal form input, .modal form select { padding: .6em .8em; font-size: .92rem; }
.modal .btn-block { margin-top: .9em; padding: .75em 1em; }
.modal::-webkit-scrollbar { width: 6px; }
.modal::-webkit-scrollbar-thumb { background: var(--line); border-radius: 6px; }
@media (max-height: 640px), (max-width: 380px) {
  .modal { padding: 16px 16px 14px; }
  .modal h3 { font-size: 1.3rem; }
  .modal-sub { display: none; }
  .modal form label { margin: .5em 0 .15em; }
}
