/* A · Editorial. Desktop mirrors A-editorial-desktop (1280), the <768px rules mirror A-editorial-mobile (390). */
:root {
  --accent: #3F5B4A; --accent-dk: #2A3F32;
  --bg: #F7F4EE; --ink: #26231F; --ink2: #3E3933; --muted: #6F6458; /* mockup #7A6F62 nudged for WCAG AA (4.5:1) on both backgrounds */ --muted2: #5C544A;
  --line: #DDD5C8; --panel: #EAE3D7; --field: #FFFDF9; --field-line: #C9BFAF;
  --serif: Fraunces, Georgia, serif; --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  /* booking widget */
  --bk-radius: 4px; --bk-field-radius: 4px; --bk-btn-radius: 4px;
  --bk-btn-bg: var(--accent); --bk-btn-fg: #fff;
  --bk-chip-bg: var(--field); --bk-chip-line: var(--field-line); --bk-chip-on-bg: var(--accent); --bk-chip-on-fg: #fff;
  --bk-text: var(--ink); --bk-muted: var(--muted2);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; }
img { display: block; max-width: 100%; }
a { color: var(--accent); }
a:hover { color: var(--accent-dk); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
h1, h2, h3 { text-wrap: balance; }
.wrap { max-width: 1224px; /* content-box 1160 + 2x32 as in the mockup */ margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; background: #fff; padding: 8px 12px; }
.m, .only-m { display: none; }
mark.ph { background: #FFE58A; color: #3a2f00; padding: 0 2px; border-radius: 2px; }

/* header */
.hdr { padding-top: 24px; padding-bottom: 24px; display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.brand { font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); text-decoration: none; }
.brand span { color: var(--muted); font-weight: 400; }
.nav-d { display: flex; flex-wrap: wrap; gap: 28px; font-size: 15px; }
.nav-d a, .menu nav a { text-decoration: none; }
.nav-d .cta, .menu .cta { font-weight: 600; }
.menu { display: none; }

/* hero */
.hero { padding-top: 8px; }
.hero-img { width: 100%; height: 560px; object-fit: cover; border-radius: 4px; }
.hero-row { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-end; padding: 40px 0 24px; }
.hero-text { flex: 1 1 520px; }
.eyebrow { margin: 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
h1 { margin: 12px 0 0; font-family: var(--serif); font-weight: 400; font-size: 64px; line-height: 1.05; letter-spacing: -0.02em; }
.price { flex: 0 1 300px; text-align: right; }
.amt { font-family: var(--serif); font-size: 48px; line-height: 1; }
.amt span { font-size: 20px; color: var(--muted); }
.incl { margin-top: 8px; font-size: 15px; color: var(--muted2); }
.facts { margin: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; padding: 20px 0; font-size: 15px; }
.facts dt { color: var(--muted); font-size: 13px; }
.facts dd { margin: 0; font-weight: 600; }

/* sections */
h2, .h2 { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 40px; line-height: 1.15; }
.intro { padding-top: 96px; display: flex; flex-wrap: wrap; gap: 64px; }
.intro h2 { flex: 1 1 340px; }
.intro-body { flex: 2 1 520px; color: var(--ink2); }
.intro-body p { margin: 0 0 20px; }
.intro-body p:last-child { margin: 0; }
.gallery { padding-top: 56px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; height: 300px; object-fit: cover; border-radius: 4px; }
.gallery figcaption { font-size: 14px; color: var(--muted); padding-top: 8px; }
.gallery-more { padding-top: 16px; font-size: 15px; }
.gallery-more a { display: inline-flex; align-items: center; min-height: 44px; }
.gallery-more span { font-size: 13px; color: var(--muted); padding-left: 12px; }
.community { padding-top: 96px; display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.community > picture { flex: 1 1 480px; min-width: 0; }
.community-img { width: 100%; height: 440px; object-fit: cover; border-radius: 4px; }
.community > div { flex: 1 1 380px; }
.community h2 { margin-bottom: 20px; }
.community ul { margin: 0; padding: 0 0 0 20px; color: var(--ink2); }
.terms { padding-top: 96px; }
.terms h2 { margin-bottom: 32px; }
.terms-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; font-size: 16px; color: var(--ink2); }
.terms h3 { margin: 0 0 8px; font-size: 16px; font-weight: 600; color: var(--ink); }
.terms p { margin: 0; }

/* booking */
.tour { margin-top: 96px; scroll-margin-top: 16px; }
.tour-box { background: var(--panel); border-radius: 4px; padding: 56px; display: flex; flex-wrap: wrap; gap: 48px; }
.tour-intro { flex: 1 1 320px; }
.tour-intro h2 { margin-bottom: 12px; }
.tour-intro p { margin: 0; color: var(--muted2); }
.tour-intro .oh { margin-top: 16px; color: var(--ink); font-weight: 500; }
.tour-intro .small, .small { margin: 24px 0 0; font-size: 14px; color: var(--muted2); }
.tour .bk { flex: 1 1 420px; }
.bk-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.bk label { font-size: 14px; }
.bk input, .bk select { height: 44px; border: 1px solid var(--field-line); background: var(--field); padding: 0 12px; }
.bk-submit { height: 52px; font-weight: 600; }

/* footer */
.ftr { padding-top: 48px; padding-bottom: 64px; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* gallery page */
.allphotos { padding-top: 24px; }
.allphotos .eyebrow a { text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.allphotos-grid { margin: 32px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 16px; }
.allphotos-grid img { width: 100%; height: auto; border-radius: 4px; }
.btn { display: inline-flex; align-items: center; height: 52px; padding: 0 24px; border-radius: 4px; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; }
.btn:hover { color: #fff; background: var(--accent-dk); }

/* simple pages (confirmation / manage) */
.panel { max-width: 720px; margin: 24px auto 0; background: var(--panel); border-radius: 4px; padding: 40px; }
.panel h1 { font-size: 40px; }

@media (max-width: 767px) {
  body { font-size: 16px; }
  .d, .only-d { display: none; }
  .m { display: inline; }
  .only-m { display: block; }
  .wrap { padding-left: 20px; padding-right: 20px; }
  .hdr { padding-top: 16px; padding-bottom: 16px; position: relative; }
  .brand { font-size: 19px; }
  .nav-d { display: none; }
  .menu { display: block; }
  .menu summary { list-style: none; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
  .menu summary::-webkit-details-marker { display: none; }
  .menu nav { position: absolute; right: 20px; top: 64px; z-index: 5; background: var(--field); border: 1px solid var(--line); border-radius: 4px; padding: 8px 0; min-width: 200px; display: flex; flex-direction: column; box-shadow: 0 8px 24px rgba(0,0,0,.08); }
  .menu nav a { padding: 0 16px; min-height: 44px; display: flex; align-items: center; }
  .hero { padding: 0; }
  .hero-img { height: 300px; border-radius: 0; }
  .hero-row { display: block; padding: 28px 20px 0; }
  .eyebrow { font-size: 12px; }
  h1 { margin-top: 10px; font-size: 34px; line-height: 1.1; letter-spacing: -0.01em; }
  .price { text-align: left; margin-top: 20px; }
  .amt { font-size: 40px; }
  .amt span { font-size: 18px; }
  .incl { margin-top: 6px; font-size: 14px; }
  .facts { margin: 24px 20px 0; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 16px 0; }
  .facts dt { font-size: 12px; }
  h2, .h2 { font-size: 28px; }
  .intro { padding-top: 48px; display: block; }
  .intro h2 { margin-bottom: 14px; }
  .intro-body p { margin-bottom: 14px; }
  .gallery { padding-top: 28px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .gallery figure:nth-child(-n+2) { grid-column: 1 / -1; margin-bottom: 8px; }
  .gallery figure:nth-child(-n+2) img { height: 230px; }
  .gallery figure:nth-child(-n+2) figcaption { font-size: 13px; padding-top: 6px; }
  .gallery figure:nth-child(n+3) img { height: 140px; }
  .gallery figure:nth-child(n+3) figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .gallery-more { display: flex; flex-direction: column; padding-top: 8px; }
  .gallery-more span { padding: 0; font-size: 12px; }
  .community { padding-top: 48px; display: block; }
  .community-img { height: 240px; }
  .community h2 { margin: 24px 0 12px; }
  .community ul { font-size: 15px; }
  .terms { padding-top: 48px; }
  .terms h2 { margin-bottom: 16px; }
  .terms-grid { display: flex; flex-direction: column; gap: 20px; font-size: 15px; }
  .terms h3 { font-size: 15px; margin-bottom: 4px; }
  .tour { margin-top: 48px; padding: 0; }
  .tour-box { border-radius: 0; padding: 36px 20px; display: block; }
  .tour-intro h2 { margin-bottom: 8px; }
  .tour-intro p { font-size: 15px; }
  .tour-intro .small { display: none; }
  .tour .bk { margin-top: 20px; }
  .bk-grid { grid-template-columns: 1fr; gap: 14px; }
  .bk input, .bk select { height: 48px; }
  .tour::after { content: ""; }
  .ftr { padding-top: 24px; padding-bottom: 40px; font-size: 12px; flex-direction: column; gap: 4px; }
  .allphotos-grid { grid-template-columns: 1fr; }
  .panel { padding: 28px 20px; border-radius: 0; }
  .panel h1 { font-size: 30px; }
}
