/* =============================================
   PAW PARADISE LOVEDEAN - App styles
   Same colours and fonts as the website, laid out like a phone app.
   ============================================= */

/* ── Colours ─────────────────────────────────── */
:root {
  --forest: #1C3D28;
  --moss: #3A6645;
  --sage: #7B9B7F;
  --sage-pale: #EBF0E8;
  --amber: #B87333;
  --gold: #8A5220;          /* darker amber so white text passes contrast */
  --amber-pale: #F5E9D8;
  --bg: #F7F2E9;            /* cream page */
  --bg-2: #EDE5D4;          /* parchment sections */
  --card: #FFFDF9;
  --text: #2A1F14;
  --text-mid: #5C4A38;
  --text-light: #7A6656;
  --border: #D4C4A8;
  --bar: rgba(247, 242, 233, 0.92);
  --bar-solid: #F7F2E9;
  --tab-idle: #7A6656;
  --tab-active: #1C3D28;
  --danger: #A12C1F;
  --accent-text: #8A5220;   /* amber that passes contrast on cream */
  --on-forest: #F7F2E9;
  --link: #1C3D28;
  --shadow: 0 1px 2px rgba(28,61,40,.06), 0 4px 14px rgba(28,61,40,.08);
  --radius: 14px;
  --radius-sm: 10px;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, -apple-system, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --bar-h: 52px;
  --tab-h: 58px;
  color-scheme: light;
}

[data-theme="dark"] {
  --forest: #EDE5D4;
  --moss: #7AAF8A;
  --sage: #5A8A6A;
  --sage-pale: #1A3526;
  --amber: #C9853A;
  --gold: #C9853A;
  --amber-pale: #22301C;
  --bg: #1A3526;
  --bg-2: #21402F;
  --card: #273F31;
  --text: #EDE5D4;
  --text-mid: #B5CBB9;
  --text-light: #93AE9A;
  --border: #36584A;
  --bar: rgba(15, 31, 23, 0.92);
  --bar-solid: #0F1F17;
  --tab-idle: #93AE9A;
  --tab-active: #E8B06E;
  --danger: #FF9A8A;
  --accent-text: #E8B06E;
  --on-forest: #0F1F17;
  --link: #E8B06E;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 4px 14px rgba(0,0,0,.35);
  color-scheme: dark;
}

[data-contrast="on"] {
  --forest: #003D14;
  --moss: #00591E;
  --amber: #7A3C00;
  --gold: #6B3400;
  --bg: #FFFFFF;
  --bg-2: #F0F0F0;
  --card: #FFFFFF;
  --text: #000000;
  --text-mid: #111111;
  --text-light: #333333;
  --border: #555555;
  --bar: #FFFFFF;
  --bar-solid: #FFFFFF;
  --tab-idle: #333333;
  --tab-active: #003D14;
  --link: #003D14;
  --accent-text: #6B3400;
  --sage-pale: #D8EAD8;
}
[data-theme="dark"][data-contrast="on"] {
  --forest: #FFFFFF;
  --moss: #B8F0C8;
  --amber: #FFC870;
  --gold: #FFC870;
  --bg: #000000;
  --bg-2: #0D0D0D;
  --card: #0D0D0D;
  --text: #FFFFFF;
  --text-mid: #F2F2F2;
  --text-light: #DDDDDD;
  --border: #BBBBBB;
  --bar: #000000;
  --bar-solid: #000000;
  --tab-idle: #DDDDDD;
  --tab-active: #FFC870;
  --link: #FFC870;
  --sage-pale: #0A1F12;
  --on-forest: #000000;
  --accent-text: #FFC870;
  --danger: #FF9A8A;
}

html[data-fontsize="sm"] { font-size: 88%; }
html[data-fontsize="lg"] { font-size: 122%; }
html[data-dyslexia="on"] { --font-heading: 'Atkinson Hyperlegible', Arial, sans-serif; --font-body: 'Atkinson Hyperlegible', Arial, sans-serif; }
[data-dyslexia="on"] body { letter-spacing: .02em; word-spacing: .08em; }
[data-dyslexia="on"] p, [data-dyslexia="on"] li { line-height: 1.85; }
[data-dyslexia="on"] h1, [data-dyslexia="on"] h2, [data-dyslexia="on"] h3 { font-style: normal !important; }
[data-motion="reduced"] *, [data-motion="reduced"] *::before, [data-motion="reduced"] *::after {
  animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important;
}

/* ── Base ────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
body {
  font-family: var(--font-body); font-size: 1rem; line-height: 1.6; font-weight: 400;
  color: var(--text); background: var(--bar-solid);
  overflow: hidden; overscroll-behavior: none;
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--link); }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-heading); color: var(--forest); line-height: 1.15; margin: 0 0 .5em; font-weight: 600; }
h1 { font-size: 2rem; font-style: italic; }
h2 { font-size: 1.6rem; font-style: italic; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 .9em; color: var(--text-mid); }
strong { color: var(--text); font-weight: 600; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 6px; }
[tabindex="-1"]:focus { outline: none; }
[hidden] { display: none !important; }

/* ── Splash ──────────────────────────────────── */
.splash {
  position: fixed; inset: 0; z-index: 500; display: flex; align-items: center; justify-content: center;
  background: #F7F2E9; transition: opacity .35s ease;
}
[data-theme="dark"] .splash { background: #0F1F17; }
.splash img { width: 160px; height: auto; animation: splashPop .6s cubic-bezier(.2,.8,.2,1); }
.splash.is-gone { opacity: 0; pointer-events: none; }
@keyframes splashPop { from { transform: scale(.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ── App frame ───────────────────────────────── */
.app {
  position: fixed; inset: 0; display: flex; flex-direction: column;
  max-width: 600px; margin: 0 auto; background: var(--bg);
}
@media (min-width: 640px) {
  body { background: var(--bg-2); }
  .app { box-shadow: 0 0 0 1px var(--border), 0 10px 40px rgba(0,0,0,.12); }
}

/* Top bar */
.topbar {
  flex: 0 0 auto; position: relative; z-index: 10;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  height: calc(var(--bar-h) + var(--safe-top)); padding: var(--safe-top) 8px 0;
  background: var(--bar); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.topbar.is-scrolled { border-bottom-color: var(--border); }
.topbar-title {
  font-family: var(--font-body); font-weight: 600; font-size: 1.02rem; color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 62vw; text-align: center;
  opacity: 0; transition: opacity .2s;
}
.topbar.show-title .topbar-title, .topbar.is-home .topbar-title { opacity: 1; }
.topbar.is-home .topbar-title { font-family: var(--font-heading); font-style: italic; font-size: 1.25rem; color: var(--forest); display: inline-flex; align-items: center; gap: 8px; }
.topbar.is-home .topbar-title::before { content: ''; width: 30px; height: 30px; border-radius: 50%; background: url(../images/logo.png) center/cover; flex: none; }
.topbar-side { display: flex; align-items: center; min-width: 0; }
.topbar-right { justify-content: flex-end; }
.icon-btn {
  display: inline-flex; align-items: center; gap: 0; min-height: 44px; min-width: 44px; padding: 0 6px 0 2px;
  border: 0; background: none; color: var(--link); cursor: pointer; border-radius: 10px;
}
.back-label { font-size: 1rem; font-weight: 500; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.topbar.on-staff .staff-pill { display: none; }
.staff-pill {
  font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; text-decoration: none;
  padding: 6px 12px; border-radius: 100px; background: var(--forest); color: var(--bg); min-height: 32px; display: inline-flex; align-items: center;
}

/* Screens */
.screens { position: relative; flex: 1 1 auto; overflow: hidden; }
.screen {
  position: absolute; inset: 0; overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch; overscroll-behavior-y: contain;
  background: var(--bg); padding-bottom: 28px; will-change: transform;
}
.screen:focus { outline: none; }
.anim-push .is-entering { z-index: 2; animation: pushIn .32s cubic-bezier(.2,.8,.2,1) both; box-shadow: -8px 0 24px rgba(0,0,0,.08); }
.anim-push .is-leaving  { z-index: 1; animation: pushOut .32s cubic-bezier(.2,.8,.2,1) both; }
.anim-pop .is-entering  { z-index: 1; animation: popIn .32s cubic-bezier(.2,.8,.2,1) both; }
.anim-pop .is-leaving   { z-index: 2; animation: popOut .32s cubic-bezier(.2,.8,.2,1) both; box-shadow: -8px 0 24px rgba(0,0,0,.08); }
.anim-fade .is-entering { z-index: 2; animation: fadeIn .22s ease both; }
.anim-fade .is-leaving  { z-index: 1; }
@keyframes pushIn  { from { transform: translateX(100%); } to { transform: none; } }
@keyframes pushOut { from { transform: none; } to { transform: translateX(-28%); opacity: .7; } }
@keyframes popIn   { from { transform: translateX(-28%); opacity: .7; } to { transform: none; opacity: 1; } }
@keyframes popOut  { from { transform: none; } to { transform: translateX(100%); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

/* Tab bar */
.tabbar {
  flex: 0 0 auto; position: relative; z-index: 10;
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding: 4px 4px var(--safe-bottom); min-height: calc(var(--tab-h) + var(--safe-bottom));
  background: var(--bar); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-top: 1px solid var(--border);
}
.tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 50px; text-decoration: none; color: var(--tab-idle); font-size: .7rem; font-weight: 500; letter-spacing: .01em;
  border-radius: 12px;
}
.tab svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.tab.is-active { color: var(--tab-active); font-weight: 600; }
.tab.is-active svg { stroke-width: 2.2; }
.tab.is-active[data-tab="home"] svg, .tab.is-active[data-tab="reviews"] svg { fill: currentColor; fill-opacity: .15; }
.tab:active svg { transform: scale(.88); }

/* ── Content blocks ──────────────────────────── */
.section { padding: 22px 18px 6px; }
.section--first { padding-top: 14px; }
.section--tint { background: var(--bg-2); margin-top: 18px; padding-bottom: 20px; }
.section--forest { background: #1C3D28; margin-top: 18px; padding-bottom: 22px; }
.section--forest, .section--forest p, .section--forest h2, .section--forest .eyebrow, .section--forest strong { color: #F7F2E9; }
.section--forest a:not(.btn) { color: #F5D3A8; }
[data-theme="dark"] .section--forest { background: #0F1F17; }
[data-contrast="on"] .section--forest { background: #00260D; }
[data-theme="dark"][data-contrast="on"] .section--forest { background: #000; border-top: 2px solid #fff; border-bottom: 2px solid #fff; }
.eyebrow { font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin: 0 0 6px; }
.screen-h1 { font-size: 2.1rem; }
.center { text-align: center; }
.center-block { display: block; margin: 12px auto 0; }
.small { font-size: .86rem; }
.muted { color: var(--text-light); }
.lead { font-size: 1.08rem; color: var(--text); }
.tagline { font-family: var(--font-heading); font-style: italic; font-size: 1.25rem; color: var(--forest); line-height: 1.35; }
.hint { font-size: .86rem; color: var(--text-light); margin: 14px 2px 12px; }
.empty { text-align: center; color: var(--text-light); padding: 22px 8px; }

.opening-banner {
  display: flex; align-items: center; gap: 12px; margin: 12px 14px 0; padding: 12px 14px;
  background: #1C3D28; color: #F7F2E9; border-radius: var(--radius); text-decoration: none; font-size: .9rem; line-height: 1.4;
}
.opening-banner strong { color: #F7F2E9; }
.opening-banner .row-chevron { margin-left: auto; color: #F7F2E9; opacity: .7; flex: none; }
[data-theme="dark"] .opening-banner { background: #0F1F17; border: 1px solid var(--border); }
.ob-tag, .opening-pill span {
  flex: none; font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  background: #C9853A; color: #1A120A; border-radius: 100px; padding: 4px 9px;
}
.opening-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--forest); margin-bottom: 10px; }

.hero { text-align: center; padding: 22px 20px 8px; }
.hero-logo { width: 132px; height: auto; margin: 0 auto 14px; border-radius: 50%; box-shadow: var(--shadow); }
.hero-title { font-size: 1.95rem; }
.hero-sub { font-size: .98rem; }

.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 14px 16px 0; }
.quick {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 4px 10px;
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); text-decoration: none;
  color: var(--text); font-size: .78rem; font-weight: 500; box-shadow: var(--shadow);
}
.quick span { font-size: 1.45rem; line-height: 1; }
.quick:active, .feature-card:active, .list-row:active, .news-card:active, .tile:active, .mini-card:active, .stat:active { transform: scale(.97); }

.h-scroll {
  display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 10px -18px 0; padding: 4px 18px 14px;
  scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.feature-card {
  flex: 0 0 76%; scroll-snap-align: start; padding: 16px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none; color: inherit;
  transition: transform .12s;
}
.feature-card h3 { margin: 8px 0 6px; }
.feature-card p { font-size: .9rem; margin-bottom: .5em; }
.feature-icon { font-size: 1.7rem; }

.tick-list { list-style: none; padding: 0; margin: 10px 0 14px; }
.tick-list li { position: relative; padding: 0 0 0 28px; margin-bottom: 10px; color: var(--text-mid); }
.tick-list li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage-pale) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%233A6645' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.tick-list--compact li { margin-bottom: 7px; font-size: .94rem; }
[data-theme="dark"] .tick-list li::before {
  background: #2F5A40 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%23CDEBD5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 6px 0 16px; }
.stat {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 12px 8px; text-align: center;
  text-decoration: none; color: var(--text-mid); font-size: .74rem; line-height: 1.3; transition: transform .12s;
}
.stat strong { display: block; font-family: var(--font-heading); font-size: 1.5rem; font-style: italic; color: var(--forest); margin-bottom: 2px; }

.note-card, .banner-card, .hours-card {
  display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); box-shadow: var(--shadow); margin: 10px 0;
}
.note-icon, .banner-card > span, .hours-card > span { font-size: 1.8rem; line-height: 1; flex: none; }
.note-card h2, .banner-card h2 { font-size: 1.4rem; }
.banner-card--gold { background: var(--amber-pale); }
.hours-card h3 { margin-bottom: 4px; }
.hours-card p { margin: 0 0 2px; font-weight: 500; color: var(--text); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 14px; }
.chip {
  display: inline-block; padding: 6px 12px; border-radius: 100px; font-size: .82rem; font-weight: 500;
  background: var(--sage-pale); color: var(--forest); border: 1px solid var(--border);
}

.steps { list-style: none; margin: 10px 0 0; padding: 0; }
.steps li a {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px; margin-bottom: 10px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border); text-decoration: none; color: var(--text-mid); font-size: .92rem;
}
.steps strong { display: block; font-size: 1rem; margin-bottom: 2px; }
.step-num {
  flex: none; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--forest); color: var(--bg); font-weight: 600;
}

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 10px 0 14px;
  box-shadow: var(--shadow);
}
.card h2 { font-size: 1.45rem; }

/* FAQs */
.faq-group-title { font-size: 1.3rem; margin: 22px 2px 10px; }
.faq-group-title:first-child { margin-top: 4px; }
.faq-list { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 10px 0 16px; }
.faq + .faq { border-top: 1px solid var(--border); }
.faq summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 15px 16px; min-height: 52px; cursor: pointer; font-weight: 500; color: var(--text);
}
.faq summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sage-pale); position: relative; transition: transform .2s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; background: var(--forest); border-radius: 2px; }
.faq-icon::after { transform: rotate(90deg); transition: transform .2s; }
.faq[open] .faq-icon::after { transform: rotate(0); }
.faq-a { padding: 0 16px 8px; font-size: .95rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px;
  border-radius: 12px; border: 1.5px solid transparent; font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .1s, background .2s; text-align: center; line-height: 1.25;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .6; cursor: default; }
.btn-block { display: flex; width: 100%; margin: 10px 0; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: .88rem; }
.btn-primary { background: #1C3D28; color: #F7F2E9; }
.btn-secondary { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-gold { background: var(--gold); color: #FFFDF9; }
.btn-light { background: #F7F2E9; color: #1C3D28; }
.btn-danger { background: transparent; color: var(--danger); border-color: var(--danger); }
[data-theme="dark"] .btn-primary { background: #E8B06E; color: #1A120A; }
[data-theme="dark"] .btn-gold { color: #1A120A; }
[data-theme="dark"] .btn-light { background: #E8B06E; color: #1A120A; }
[data-contrast="on"] .btn-primary { background: #003D14; color: #fff; }
[data-theme="dark"][data-contrast="on"] .btn-primary, [data-theme="dark"][data-contrast="on"] .btn-light { background: #FFC870; color: #000; }
.text-link {
  background: none; border: 0; padding: 0; color: var(--link); font-weight: 600; text-decoration: underline;
  text-underline-offset: 3px; cursor: pointer; font-size: inherit; display: inline; min-height: 0;
}
.text-link--light { color: #F5D3A8; }
.pill-links { display: flex; flex-wrap: wrap; gap: 8px; }
.action-btns { margin-top: 8px; }

/* Booking prices */
.price-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; margin: 12px 0;
  box-shadow: var(--shadow);
}
.price-card--alt { border: 2px solid var(--amber); }
.price-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
.price-head h3 { margin: 0 0 2px; font-size: 1.3rem; }
.price-head p { margin: 0; font-weight: 600; color: var(--accent-text); }
.price { font-family: var(--font-heading); font-style: italic; font-weight: 600; font-size: 2.4rem; line-height: 1; color: var(--forest) !important; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.mini-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; text-decoration: none;
  color: inherit; transition: transform .12s;
}
.mini-card > span { font-size: 1.5rem; }
.mini-card h3 { font-size: 1.05rem; margin: 6px 0 4px; }
.mini-card p { font-size: .82rem; margin: 0; }

/* Reviews */
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.review-head h2 { margin: 0; }
.review-logo { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.15rem; flex: none; }
.review-logo--google { background: #fff; color: #4285F4; border: 1px solid var(--border); }
.review-logo--facebook { background: #1877F2; color: #fff; }

/* Social */
.social-row { display: flex; gap: 12px; margin: 10px 0; }
.social-btn {
  width: 50px; height: 50px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--card); color: var(--forest); border: 1px solid var(--border); text-decoration: none;
}
.section--forest .social-btn { background: rgba(247,242,233,.12); color: #F7F2E9; border-color: rgba(247,242,233,.3); }

/* what3words */
.w3w { display: inline-flex; align-items: baseline; gap: 2px; font-weight: 600; color: var(--forest); text-decoration: underline; text-underline-offset: 3px; }
.w3w-slashes { color: #E11F26; font-weight: 700; letter-spacing: -0.04em; margin-right: 1px; }
.w3w--big { font-size: 1.12rem; padding: 8px 18px; border-radius: 100px; background: var(--card); border: 1.5px solid var(--border); text-decoration: none; }

/* More tab lists */
.more-head { display: flex; align-items: center; gap: 14px; padding: 18px 18px 6px; }
.more-head img { width: 64px; height: 64px; border-radius: 50%; flex: none; box-shadow: var(--shadow); }
.more-head h1 { font-size: 1.5rem; margin: 0; }
.more-head p { margin: 0; font-size: .9rem; }
.install-card {
  display: flex; align-items: center; gap: 12px; margin: 12px 16px 0; padding: 14px; border-radius: var(--radius);
  background: var(--amber-pale); border: 1px solid var(--border);
}
.install-card > span { font-size: 1.6rem; }
.install-card div { flex: 1; display: flex; flex-direction: column; font-size: .85rem; color: var(--text-mid); line-height: 1.35; }
.install-card strong { font-size: .95rem; }
.is-installed .install-card { display: none; }
.list-title { font-family: var(--font-body); font-style: normal; font-size: .76rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); margin: 24px 30px 8px; }
.list { margin: 0 16px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.list-row {
  display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; min-height: 56px;
  background: none; border: 0; text-decoration: none; color: var(--text); text-align: left; cursor: pointer; transition: background .15s;
}
.list-row + .list-row { border-top: 1px solid var(--border); }
.list-row:active { background: var(--sage-pale); transform: none; }
.row-icon { width: 34px; height: 34px; flex: none; border-radius: 9px; background: var(--sage-pale); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.row-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.row-label { font-weight: 500; }
.row-sub { font-size: .8rem; color: var(--text-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-chevron { flex: none; color: var(--text-light); }
.list-row--static { cursor: default; flex-wrap: wrap; }
.list-row--static .row-text { min-width: 7.5em; }
.list-row--static:active { background: none; }
.more-foot { text-align: center; padding: 26px 20px 10px; }
.more-foot .social-row { justify-content: center; }
.more-foot p { font-size: .86rem; }

/* Segmented control & switches */
.segmented { display: inline-flex; background: var(--bg-2); border: 1px solid var(--border); border-radius: 10px; padding: 3px; gap: 2px; }
.segmented button {
  border: 0; background: none; border-radius: 8px; padding: 6px 12px; min-height: 36px; min-width: 44px; font-size: .86rem; font-weight: 500;
  color: var(--text-mid); cursor: pointer;
}
.segmented button[aria-checked="true"], .segmented button[aria-selected="true"] { background: var(--card); color: var(--forest); font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.12); }
[data-theme="dark"] .segmented button[aria-checked="true"], [data-theme="dark"] .segmented button[aria-selected="true"] { background: #E8B06E; color: #1A120A; }
[data-theme="dark"][data-contrast="on"] .segmented button[aria-checked="true"], [data-theme="dark"][data-contrast="on"] .segmented button[aria-selected="true"] { background: #FFC870; color: #000; }
[data-contrast="on"]:not([data-theme="dark"]) .segmented button[aria-checked="true"], [data-contrast="on"]:not([data-theme="dark"]) .segmented button[aria-selected="true"] { background: #003D14; color: #fff; }
.segmented button { white-space: nowrap; }
.segmented--full { display: flex; width: 100%; margin: 6px 0 2px; }
.segmented--full button { flex: 1; padding: 8px 2px; font-size: .82rem; }
.badge:not(:empty) { display: inline-block; min-width: 20px; padding: 0 6px; margin-left: 2px; border-radius: 100px; background: var(--amber); color: #fff; font-size: .72rem; line-height: 20px; }
[data-theme="dark"] .badge:not(:empty) { color: #1A120A; }
.setting { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--border); font-weight: 500; }
.setting:last-child { border-bottom: 0; }
.switch { width: 52px; height: 32px; border-radius: 100px; border: 0; background: var(--border); position: relative; cursor: pointer; flex: none; transition: background .2s; }
.switch span { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch[aria-checked="true"] { background: #3A6645; }
[data-theme="dark"] .switch { background: #4A6B5C; }
[data-theme="dark"] .switch[aria-checked="true"] { background: #E8B06E; }
[data-contrast="on"] .switch { background: #555; }
[data-contrast="on"] .switch[aria-checked="true"] { background: #003D14; }
[data-theme="dark"][data-contrast="on"] .switch[aria-checked="true"] { background: #FFC870; }
.switch[aria-checked="true"] span { transform: translateX(20px); }

/* Gallery tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: calc((min(100vw, 600px) - 4px) / 3); grid-auto-flow: dense; gap: 2px; margin-top: 6px; }
.tile { position: relative; padding: 0; border: 0; background: var(--bg-2); overflow: hidden; cursor: pointer; transition: transform .12s; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile--big { grid-column: span 2; grid-row: span 2; }
.play {
  position: absolute; right: 8px; bottom: 8px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center;
}
.tiles--visitors { margin: 10px -18px 0; }

/* News */
.news-card {
  display: block; padding: 16px; margin-bottom: 12px; border-radius: var(--radius); background: var(--card);
  border: 1px solid var(--border); box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .12s;
}
.news-card h2 { font-size: 1.45rem; margin: 10px 0 6px; }
.news-meta { display: flex; align-items: center; gap: 10px; font-size: .85rem; }
.news-meta > span:last-child { display: flex; flex-direction: column; line-height: 1.3; color: var(--text-light); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--forest); color: var(--bg); display: flex; align-items: center; justify-content: center; font-weight: 600; flex: none; }
.post .screen-h1 { margin-top: 14px; }
.post-body p { color: var(--text); font-size: 1.02rem; line-height: 1.75; }
.skeleton { height: 110px; border-radius: var(--radius); margin-bottom: 12px; background: linear-gradient(90deg, var(--bg-2), var(--card), var(--bg-2)); background-size: 200% 100%; animation: shimmer 1.2s infinite linear; }
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Team */
.story-photo { width: 100%; border-radius: var(--radius); margin-bottom: 16px; box-shadow: var(--shadow); }
.team-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.team-head h2 { margin: 0; }
.team-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; margin: 12px 0 16px; box-shadow: var(--shadow); }
.team-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.team-photos--two { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.team-photos--two img { aspect-ratio: 3 / 4; }
.team-body { padding: 16px; }
.team-body h3 { font-size: 1.4rem; font-style: italic; margin-bottom: 2px; }
.team-role { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.team-body p:not(.team-role) { font-size: .94rem; }

/* Contact */
.contact-email { display: block; font-size: 1.15rem; font-weight: 600; margin-bottom: 8px; word-break: break-word; }
.emergency { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: var(--radius); background: #FBE9E6; border: 1px solid #E5B4AC; margin: 6px 0 14px; }
.emergency p { margin: 0; color: #5A1A12; }
.emergency a { color: #8A1F12; font-weight: 700; font-size: 1.1rem; }
.emergency-tag { align-self: flex-start; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: #A12C1F; color: #fff; border-radius: 100px; padding: 3px 10px; }
[data-theme="dark"] .emergency { background: #3A1D18; border-color: #6B3027; }
[data-theme="dark"] .emergency p { color: #F6D5CF; }
[data-theme="dark"] .emergency a { color: #FFB4A8; }

/* Forms */
.form .field { margin-bottom: 14px; }
.form label, .form .label { display: block; font-size: .86rem; font-weight: 600; color: var(--text); margin-bottom: 6px; }
.opt { font-weight: 400; color: var(--text-light); }
.form input[type="text"], .form input[type="email"], .form input[type="password"], .form textarea, .form select {
  width: 100%; font: inherit; font-size: 16px; /* 16px stops iPhone zooming in */
  color: var(--text); background: var(--bg); border: 1.5px solid var(--border); border-radius: 10px; padding: 12px 14px; min-height: 48px;
  -webkit-appearance: none; appearance: none;
}
.form select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6' fill='none' stroke='%237A6656' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.form textarea { resize: vertical; min-height: 120px; }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--moss); box-shadow: 0 0 0 3px rgba(58,102,69,.25); }
.field-hint { display: block; font-size: .8rem; color: var(--text-light); margin-top: 4px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .88rem !important; color: var(--text-mid) !important; margin: 6px 0 14px; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; margin: 1px 0 0; accent-color: #3A6645; }
.form-msg { padding: 10px 12px; border-radius: 10px; font-size: .9rem; margin: 6px 0; }
.form-msg--error { background: #FBE9E6; color: #8A1F12; }
.form-msg--success { background: #E6F2E8; color: #1C4A2A; }
.form-msg--info { background: var(--bg-2); color: var(--text); }
[data-theme="dark"] .form-msg--error { background: #3A1D18; color: #FFC9BF; }
[data-theme="dark"] .form-msg--success { background: #173A24; color: #C9EBD2; }
.success-tick { width: 56px; height: 56px; margin: 4px auto 12px; border-radius: 50%; background: #3A6645; color: #fff; font-size: 1.8rem; display: flex; align-items: center; justify-content: center; }
.photo-pick { display: flex !important; align-items: center; justify-content: center; gap: 8px; min-height: 52px; border: 2px dashed var(--border); border-radius: 12px; color: var(--forest) !important; font-size: .98rem !important; cursor: pointer; background: var(--bg); }
.visually-hidden-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.visually-hidden-input:focus-visible + .field-hint, .photo-pick:focus-within { outline: 3px solid var(--amber); }
.gs-preview { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.gs-thumb { position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: var(--bg-2); }
.gs-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gs-remove { position: absolute; top: 4px; right: 4px; width: 28px; height: 28px; border-radius: 50%; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; }

/* Staff */
.staff-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin: 6px 0 14px; }
.staff-item-head { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.staff-text { color: var(--text); margin: 8px 0 12px; white-space: pre-wrap; }
.staff-item-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.staff-item-foot .btn { margin-left: auto; }
.staff-item-foot .btn + .btn { margin-left: 0; }
.tag-old { display: inline-block; margin-top: 6px; font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 100px; background: var(--amber-pale); color: var(--accent-text); }
.staff-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.staff-photo { padding: 10px; margin: 0; }
.staff-photo img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 8px; }
.staff-photo p { margin: 0 0 4px; font-size: .86rem; }
.staff-photo .staff-item-foot { margin-top: 8px; }
.photo-missing { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: var(--bg-2); border-radius: 8px; font-size: .8rem; color: var(--text-light); margin-bottom: 8px; }

/* ── Sheets (pop-ups from the bottom) ─────────── */
.has-layer .screen { overflow: hidden; }
.sheet-wrap { position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(15, 20, 12, .5); opacity: 0; transition: opacity .3s; }
.sheet {
  position: relative; width: 100%; max-width: 600px; max-height: calc(92vh - var(--safe-top)); display: flex; flex-direction: column;
  background: var(--card); border-radius: 20px 20px 0 0; box-shadow: 0 -8px 30px rgba(0,0,0,.2);
  transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1);
}
.sheet--tall { height: calc(92vh - var(--safe-top)); }
.sheet-wrap.is-open .sheet-backdrop { opacity: 1; }
.sheet-wrap.is-open .sheet { transform: none; }
.sheet-grab { display: flex; justify-content: center; padding: 8px 0 0; }
.sheet-grab span { width: 40px; height: 5px; border-radius: 100px; background: var(--border); }
.sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 12px 10px 20px; border-bottom: 1px solid var(--border); }
.sheet-title { margin: 0; font-size: 1.45rem; }
.sheet-x { width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--bg-2); color: var(--text); display: flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.sheet-body { padding: 16px 20px calc(20px + var(--safe-bottom)); overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.sheet-foot { padding: 10px 20px calc(14px + var(--safe-bottom)); border-top: 1px solid var(--border); }
.sheet-foot .btn-block { margin: 0; }
.legal h3 { font-size: 1.15rem; font-style: italic; margin: 18px 0 6px; }
.legal p, .legal li { font-size: .93rem; color: var(--text-mid); }
.legal ul { padding-left: 1.3em; }
.legal .pp-updated { font-size: .8rem; font-style: italic; color: var(--text-light); }
.install-steps { padding-left: 1.3em; }
.install-steps li { margin-bottom: 10px; color: var(--text-mid); }
.share-icon { display: inline-flex; vertical-align: -3px; color: #0A84FF; }

/* ── Full-screen layers ──────────────────────── */
.fullscreen { position: fixed; inset: 0; z-index: 120; display: flex; flex-direction: column; background: var(--bg); transform: translateY(100%); transition: transform .32s cubic-bezier(.2,.8,.2,1); }
.fullscreen.is-open { transform: none; }
.fs-bar { display: grid; grid-template-columns: 80px 1fr 80px; align-items: center; padding: calc(6px + var(--safe-top)) 8px 6px; border-bottom: 1px solid var(--border); background: var(--bar-solid); }
.fs-title { margin: 0; text-align: center; font-family: var(--font-body); font-style: normal; font-size: 1rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fs-btn { min-height: 44px; min-width: 44px; padding: 0 10px; border: 0; background: none; color: var(--link); font-weight: 600; font-size: 1rem; display: inline-flex; align-items: center; cursor: pointer; text-decoration: none; }
.fs-btn--right { justify-self: end; }
.booking-frame { position: relative; flex: 1; background: #fff; }
.booking-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.booking-loading { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; background: var(--bg); z-index: 1; }
.booking-help { padding: 10px 16px calc(10px + var(--safe-bottom)); font-size: .86rem; text-align: center; color: var(--text-mid); background: var(--bar-solid); border-top: 1px solid var(--border); }
.booking.is-slow .booking-help { background: var(--amber-pale); font-weight: 500; }
.spinner { width: 28px; height: 28px; border-radius: 50%; border: 3px solid var(--border); border-top-color: var(--moss); animation: spin .8s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.viewer { background: #000; transition: transform .25s ease, opacity .25s ease; transform: none; opacity: 0; }
.viewer.is-open { opacity: 1; }
.viewer-bar { position: absolute; top: 0; left: 0; right: 0; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: calc(8px + var(--safe-top)) 12px 8px 18px; background: linear-gradient(rgba(0,0,0,.6), transparent); color: #fff; }
.viewer-count { font-size: .9rem; font-weight: 500; }
.viewer-x { width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.18); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.viewer-track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.viewer-track::-webkit-scrollbar { display: none; }
.viewer-slide { flex: 0 0 100%; scroll-snap-align: center; scroll-snap-stop: always; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; }
.viewer-slide img, .viewer-slide video { max-width: 100%; max-height: calc(100% - 60px); object-fit: contain; }
.viewer-slide video { width: 100%; }
.viewer-slide figcaption { position: absolute; bottom: calc(14px + var(--safe-bottom)); left: 16px; right: 16px; text-align: center; color: #fff; font-size: .9rem; text-shadow: 0 1px 4px rgba(0,0,0,.8); }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 44px; height: 64px; border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 2rem; cursor: pointer; display: none; }
.viewer-prev { left: 0; border-radius: 0 10px 10px 0; }
.viewer-next { right: 0; border-radius: 10px 0 0 10px; }
@media (hover: hover) and (pointer: fine) { .viewer-nav { display: block; } }

/* Pull to refresh */
.ptr { height: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; transition: height .2s; }
.ptr .spinner { animation-play-state: paused; opacity: .5; }
.ptr.is-ready .spinner { opacity: 1; }
.ptr.is-busy .spinner { animation-play-state: running; opacity: 1; }

/* Toast */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tab-h) + var(--safe-bottom) + 14px); z-index: 300;
  transform: translate(-50%, 20px); opacity: 0; transition: opacity .25s, transform .25s;
  max-width: min(92vw, 520px); padding: 12px 18px; border-radius: 12px; background: #1A120A; color: #F7F2E9;
  font-size: .9rem; font-weight: 500; box-shadow: 0 8px 24px rgba(0,0,0,.25); text-align: center;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast--success { background: #1C4A2A; }
.toast--error { background: #7A1E14; }
