/* ============ Tokens ============ */
:root {
  --bg: #f5f5f7;
  --card: #ffffff;
  --ink: #1d1d1f;
  --ink-2: #424245;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, .08);
  --accent: #157a5f;          /* the green roof */
  --accent-soft: #e4f1ec;
  --glass: rgba(251, 251, 253, .72);
  --radius: 28px;
  --radius-sm: 18px;
  --shadow: 0 2px 6px rgba(0, 0, 0, .03), 0 12px 32px rgba(0, 0, 0, .06);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  --max: 1320px;
  --gutter: 20px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000; --card: #1c1c1e; --ink: #f5f5f7; --ink-2: #c7c7cc; --muted: #8e8e93;
    --line: rgba(255, 255, 255, .1); --accent: #3ccf9f; --accent-soft: rgba(60, 207, 159, .14);
    --glass: rgba(22, 22, 23, .72); --shadow: none;
  }
}

/* ============ Base ============ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
html.lb-open { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.5 var(--font); letter-spacing: -.012em;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  -webkit-text-size-adjust: 100%;
}
a { color: var(--accent); }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 440px; padding-top: 56px; }
.muted { color: var(--muted); }
.ico { width: 22px; height: 22px; display: block; flex: none; }
h1, h2, h3 { font-family: var(--display); margin: 0; }

/* ============ Hero ============ */
.hero {
  position: relative; height: 78vh; height: 78svh; min-height: 460px; max-height: 760px;
  overflow: hidden; color: #fff; display: flex; align-items: flex-end; isolation: isolate;
  background: #0d2b22;
}
.hero.no-img { background: radial-gradient(120% 80% at 70% 10%, #2f8f6f, #0d2b22 70%); }
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; display: block; will-change: transform;
  animation: heroIn .7s ease-out both; transform-origin: 50% 40%;
}
@keyframes heroIn { from { opacity: 0; } to { opacity: 1; } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 45%, rgba(0,0,0,.62) 100%);
}
.hero-copy {
  width: 100%; max-width: var(--max); margin: 0 auto;
  padding: 0 var(--gutter) calc(84px + env(safe-area-inset-bottom)); will-change: transform, opacity;
}
.hero-copy > * { animation: rise 1.1s var(--ease) both; }
.hero-copy > :nth-child(2) { animation-delay: .12s; }
.hero-copy > :nth-child(3) { animation-delay: .24s; }
.eyebrow { margin: 0 0 6px; font-size: clamp(19px, 2.4vw, 23px); font-weight: 600; letter-spacing: 0; opacity: .95; }
.hero h1 {
  font-size: clamp(44px, 12vw, 96px); font-weight: 700; letter-spacing: -.035em; line-height: 1.02;
  text-wrap: balance; text-shadow: 0 2px 30px rgba(0, 0, 0, .25);
}
.tagline { margin: 14px 0 0; font-size: clamp(18px, 2.6vw, 24px); font-weight: 500; line-height: 1.35; max-width: 28em; opacity: .92; text-wrap: balance; }
.scroll-cue {
  position: absolute; left: 50%; margin-left: -22px; bottom: calc(20px + env(safe-area-inset-bottom));
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: #fff;
  background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .3); animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translateY(5px); } }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* ============ Blocks & headlines ============ */
.block { padding-top: 52px; padding-bottom: 8px; }
.headline {
  font-size: clamp(32px, 7vw, 56px); font-weight: 700; letter-spacing: -.03em; line-height: 1.06;
  margin-bottom: 22px; text-wrap: balance;
}
.headline span { color: var(--muted); }

/* ============ Bento grid ============ */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile {
  background: var(--card); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 2px; min-width: 0; color: inherit; text-decoration: none;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
a.tile:active { transform: scale(.98); }
@media (hover: hover) { a.tile:hover { transform: translateY(-4px); box-shadow: 0 4px 10px rgba(0,0,0,.04), 0 24px 48px rgba(0,0,0,.1); } }
.label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.tile strong { font-size: 17px; font-weight: 600; line-height: 1.3; overflow-wrap: anywhere; margin-top: 2px; }
.tile strong.big { font-family: var(--display); font-size: clamp(26px, 6vw, 34px); font-weight: 700; letter-spacing: -.025em; }
.ico-sq {
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent);
}
.ico-sq .ico { width: 20px; height: 20px; }
.more { margin-top: auto; padding-top: 12px; display: inline-flex; align-items: center; gap: 2px; font-size: 15px; font-weight: 600; color: var(--accent); }
.more .ico { width: 16px; height: 16px; transition: transform .4s var(--ease); }
a.tile:hover .more .ico { transform: translateX(3px); }
.tile strong.nowrap { white-space: nowrap; overflow-wrap: normal; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 14px; }
.pill {
  flex: 1 1 auto; display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  text-align: center; padding: 8px 14px; border-radius: 980px; font-size: 15px; font-weight: 600;
  text-decoration: none; background: var(--accent); color: #fff; transition: opacity .2s, transform .3s var(--ease);
}
.pill + .pill { background: var(--accent-soft); color: var(--accent); }
.pill:active { transform: scale(.96); opacity: .85; }

/* Wi-Fi feature tile */
.wifi {
  grid-column: 1 / -1; color: #fff; padding: 24px; position: relative; overflow: hidden;
  background: linear-gradient(140deg, #0f5c47 0%, #12392f 55%, #0b1f1a 100%);
}
.wifi::after { /* soft light bloom */
  content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -150px; border-radius: 50%;
  background: radial-gradient(circle, rgba(120, 255, 200, .35), transparent 65%); pointer-events: none;
}
.wifi .label { color: rgba(255, 255, 255, .62); }
.wifi-head { display: flex; align-items: center; gap: 14px; position: relative; z-index: 1; }
.wifi-head strong { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; }
.ico-circle { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); }
.copy {
  -webkit-appearance: none; appearance: none; font: inherit; color: inherit; text-align: left;
  box-sizing: border-box; cursor: pointer; width: 100%; position: relative; z-index: 1;
  margin-top: 20px; padding: 12px 12px 12px 18px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); transition: background .3s, transform .4s var(--ease);
}
.copy:active { transform: scale(.985); }
.copy:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pw { display: block; font: 600 19px/1.3 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .01em; overflow-wrap: anywhere; }
.copy-btn {
  position: relative; flex: none; height: 38px; min-width: 104px; border-radius: 980px;
  background: #fff; color: #0f5c47; font-size: 15px; font-weight: 600; overflow: hidden;
  transition: background .4s var(--ease), color .4s var(--ease);
}
.copy-btn > span {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: transform .5s var(--ease), opacity .3s;
}
.copy-btn .ico { width: 16px; height: 16px; }
.c-done { transform: translateY(100%); opacity: 0; }
.copy.done .copy-btn { background: #34c759; color: #fff; }
.copy.done .c-copy { transform: translateY(-100%); opacity: 0; }
.copy.done .c-done { transform: none; opacity: 1; }

/* ============ Wi-Fi QR ============ */
.qr-box { background: #fff; border-radius: 14px; padding: 6px; line-height: 0; flex: none; }
.qr-box svg { width: 100%; height: auto; display: block; }
.wifi-qr-inline { display: none; position: relative; z-index: 1; align-items: center; gap: 16px; margin-top: 20px; }
.wifi-qr-inline .qr-box { width: 128px; }
.wifi-qr-inline p { margin: 0; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .8); max-width: 15em; }
.qr-open {
  -webkit-appearance: none; appearance: none; border: 0; cursor: pointer; position: relative; z-index: 1;
  margin-top: 10px; width: 100%; min-height: 46px; border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255, 255, 255, .1); color: #fff; font: inherit; font-size: 15px; font-weight: 600;
  transition: background .3s, transform .4s var(--ease);
}
.qr-open:active { transform: scale(.985); background: rgba(255, 255, 255, .18); }
.qr-open .ico { width: 18px; height: 18px; }
.qr-sheet {
  border: 0; padding: 0; margin: auto; background: transparent; max-width: calc(100vw - 32px);
  -webkit-animation: sheetIn .45s var(--ease); animation: sheetIn .45s var(--ease);
}
.qr-sheet::backdrop { background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
@-webkit-keyframes sheetIn { from { opacity: 0; -webkit-transform: translateY(24px) scale(.97); } to { opacity: 1; -webkit-transform: none; } }
@keyframes sheetIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.qr-card {
  position: relative; width: 340px; max-width: 100%; padding: 28px 24px 24px; text-align: center; color: #fff;
  border-radius: 30px; background: linear-gradient(150deg, #0f5c47 0%, #12392f 60%, #0b1f1a 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}
.qr-card .ico-circle { margin: 0 auto 10px; }
.qr-card h2 { font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
.qr-box.big { width: min(240px, 70vw); margin: 18px auto 14px; padding: 10px; border-radius: 20px; }
.qr-net { margin: 0; font-weight: 700; font-size: 17px; }
.qr-card .muted { margin: 6px 0 0; font-size: 14px; color: rgba(255, 255, 255, .7); }
.qr-close {
  position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 0; cursor: pointer;
  display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, .14); color: #fff;
}
.qr-close .ico { width: 18px; height: 18px; }

/* ============ Photo grid (no sideways scrolling) ============ */
.photo-grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: clamp(120px, 30vw, 240px); grid-auto-flow: dense; gap: 10px;
}
.photo-grid .shot {
  -webkit-appearance: none; appearance: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit;
  display: block; position: relative; cursor: zoom-in; overflow: hidden; background: var(--card);
  width: 100%; height: 100%; border-radius: 20px; transition: transform .5s var(--ease);
}
.shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 1.2s var(--ease); }
@media (hover: hover) { .shot:hover img { transform: scale(1.04); } }
.shot:active { transform: scale(.98); }
.shot:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.cap {
  position: absolute; left: 14px; bottom: 14px; padding: 6px 13px; border-radius: 980px;
  font-size: 13px; font-weight: 600; color: #fff;
  background: rgba(30, 30, 30, .45); -webkit-backdrop-filter: blur(20px) saturate(1.8); backdrop-filter: blur(20px) saturate(1.8);
}
.photo-grid .shot.feature { grid-column: span 2; grid-row: span 2; }
.photo-grid .shot:not(.feature) .cap { left: 10px; bottom: 10px; padding: 4px 10px; font-size: 12px; }

/* ============ House guide (always open) ============ */
.jumpnav {
  position: sticky; top: 0; z-index: 10; margin: 0 0 18px;
  background: var(--glass); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
}
.jumpnav-inner {
  max-width: var(--max); margin: 0 auto; display: flex; gap: 8px; overflow-x: auto;
  padding: 10px var(--gutter); scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.jumpnav-inner::-webkit-scrollbar { display: none; }
.jumpnav a {
  flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 6px 15px;
  border-radius: 980px; background: var(--card); border: 1px solid var(--line);
  color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s;
}
.jumpnav a.active { background: var(--accent); border-color: var(--accent); color: #fff; }
.info {
  background: var(--card); border-radius: 24px; box-shadow: var(--shadow);
  padding: 22px 22px 24px; scroll-margin-top: 72px;
}
.info-head {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line);
}
.info-ico {
  width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--accent-soft);
  display: flex; align-items: center; justify-content: center; font-size: 24px;
}
.info h3 { font-size: 21px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; }
.info .body { max-width: none; font-size: 16px; }
.info-rows { display: flex; flex-direction: column; gap: 14px; }
.info-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
.info-row.n1 .body { max-width: none; }
@media (min-width: 860px) {
  .info-rows, .info-row { gap: 18px; }
  .info-row.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .info-row.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .info { padding: 26px 28px 28px; }
  .info h3 { font-size: 23px; }
  .info-row.n3 .info { padding: 24px 24px 26px; }
  .info-row.n3 .info h3 { font-size: 21px; }
}

/* ============ Topic text ============ */
.body { color: var(--ink-2); max-width: 62ch; }
.body p { margin: 0 0 14px; }
.body strong { color: var(--ink); font-weight: 600; }
.body ul { list-style: none; margin: 0 0 14px; padding: 0; }
.body li { position: relative; padding: 10px 0 10px 30px; border-top: 1px solid var(--line); }
.body li:first-child { border-top: 0; }
.body li::before {
  content: ""; position: absolute; left: 2px; top: 13px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23157a5f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center/11px no-repeat;
}
.body > :last-child { margin-bottom: 0; }
.body a { overflow-wrap: anywhere; text-decoration: none; font-weight: 500; }
.body a:hover { text-decoration: underline; }

/* ============ Lightbox ============ */
.lightbox {
  border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none;
  background: #000; color: #fff; animation: fade .35s var(--ease);
}
.lightbox::backdrop { background: #000; }
.lightbox.closing { animation: fade .22s ease reverse forwards; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.lb-track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior: contain; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-track figure {
  flex: 0 0 100%; height: 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 64px 0 40px;
}
.lb-track img { max-width: 100%; max-height: calc(100% - 40px); object-fit: contain; display: block; }
.lb-track figcaption { font-size: 15px; color: rgba(255, 255, 255, .7); }
.lb-bar {
  position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between;
  padding: calc(14px + env(safe-area-inset-top)) 16px 14px 20px; pointer-events: none;
}
.lb-count { font-size: 15px; font-weight: 600; color: rgba(255, 255, 255, .8); }
.lb-close {
  pointer-events: auto; width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  display: grid; place-items: center; background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
}
.lb-close .ico { width: 20px; height: 20px; }

/* ============ Phone quick-action bar ============ */
.quickbar { display: none; }
@media (max-width: 699px) {
  .quickbar {
    position: fixed; z-index: 20; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom));
    display: flex; justify-content: space-around; gap: 4px; padding: 6px;
    border-radius: 22px; background: var(--glass); border: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(1.8) blur(20px); backdrop-filter: saturate(1.8) blur(20px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
    -webkit-transform: translate3d(0, 140%, 0); transform: translate3d(0, 140%, 0);
    transition: transform .5s var(--ease);
  }
  .quickbar.show { -webkit-transform: none; transform: none; }
  html.lb-open .quickbar { display: none; }
  .quickbar a {
    flex: 1; min-height: 48px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    border-radius: 16px; text-decoration: none; color: var(--ink); font-size: 12px; font-weight: 600;
  }
  .quickbar a:active { background: var(--accent-soft); }
  .quickbar .ico { width: 20px; height: 20px; color: var(--accent); }
  .footer { padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
}
.wifi.flash { animation: flash 1.2s var(--ease); }
@keyframes flash { 0%, 100% { box-shadow: var(--shadow); } 30% { box-shadow: 0 0 0 4px var(--accent), 0 0 0 10px var(--accent-soft); } }

/* ============ Footer ============ */
.footer { text-align: center; padding: 64px var(--gutter) calc(72px + env(safe-area-inset-bottom)); }
.sign { font-family: var(--display); font-size: clamp(28px, 6vw, 40px); font-weight: 700; letter-spacing: -.03em; margin: 0; }
.footer .muted { margin: 6px 0 0; font-size: 17px; }

/* ============ Motion ============ */
/* Only hide-then-reveal when JavaScript is running, so content always shows without it */
html.js .reveal {
  opacity: 0; -webkit-transform: translate3d(0, 32px, 0); transform: translate3d(0, 32px, 0);
  transition: opacity .8s var(--ease), transform .9s var(--ease);
  transition-delay: calc(var(--d, 0) * 70ms);
}
html.js .reveal.in { opacity: 1; -webkit-transform: none; transform: none; }

/* ============ Gate & forms ============ */
.gate { max-width: 440px; margin: 48px auto 80px; padding: 36px 26px; text-align: center; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.gate-ico { width: 60px; height: 60px; border-radius: 18px; margin: 0 auto 16px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent); }
.gate-ico .ico { width: 28px; height: 28px; }
.gate h2 { font-size: 26px; letter-spacing: -.025em; }
.gate input { margin: 22px 0 12px; text-align: center; font-size: 19px; letter-spacing: .06em; }
.gate .btn { width: 100%; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow); }
input, textarea {
  font: inherit; font-size: 17px; color: var(--ink); background: var(--bg); width: 100%;
  border: 1px solid transparent; border-radius: 12px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s, background .2s;
}
textarea { resize: vertical; font-size: 16px; line-height: 1.5; }
input:focus, textarea:focus { outline: none; background: var(--card); border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.btn {
  font: inherit; font-size: 17px; font-weight: 600; cursor: pointer; border: 0; border-radius: 980px; padding: 13px 24px;
  background: var(--accent); color: #fff; text-decoration: none; display: inline-block; transition: opacity .2s, transform .3s var(--ease);
}
.btn:hover { opacity: .9; }
.btn:active { transform: scale(.97); }
.btn.danger { background: none; color: #ff3b30; padding: 8px 0; }
.error { color: #ff3b30; font-weight: 500; }
.notice { background: var(--accent-soft); color: var(--ink); padding: 12px 16px; border-radius: 14px; }

/* ============ Admin ============ */
body.admin { font-size: 16px; }
.admin .wrap { max-width: 820px; padding-bottom: 64px; }
.admin h1 { font-size: 34px; font-weight: 700; letter-spacing: -.03em; }
.admin h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin: 40px 0 12px; }
.topbar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 8px; padding-top: 28px; }
.topbar a { text-decoration: none; font-weight: 500; }
.form { padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.form.grid { display: grid; grid-template-columns: 1fr 1fr; }
.form.grid .wide { grid-column: 1 / -1; }
.help { font-size: 14px; color: var(--muted); margin: 0 0 12px; }
.help code { overflow-wrap: anywhere; }
.edit { margin: 10px 0; overflow: hidden; }
.edit summary { padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.edit summary::-webkit-details-marker { display: none; }
.edit summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform .3s var(--ease); }
.edit[open] summary::after { transform: rotate(225deg); }
.edit > form:last-child { padding: 0 20px 14px; }
.row { display: flex; gap: 10px; }
.row .grow { flex: 1; min-width: 0; }
.icon-field { width: 72px; }
.order-field { width: 84px; }
.add summary { color: var(--accent); }

/* ============ Larger screens ============ */
@media (min-width: 700px) {
  :root { --gutter: 40px; }
  .block { padding-top: 72px; }
  .shot { --h: clamp(280px, 32vw, 440px); }
  .headline { font-size: clamp(34px, 4.2vw, 52px); }
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .wifi { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: 24px; padding: 30px 32px; }
  .wifi .copy { margin-top: 0; }
  .tile { padding: 26px; }
}
@media (min-width: 900px) {
  .bento { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(0, auto); }
  .wifi { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; }
  .wifi .copy { margin-top: 24px; }
  .wifi-head strong { font-size: 28px; }
  .wifi-qr-inline { display: flex; }
  .qr-open { display: none; }
  .hero-copy { padding-bottom: 72px; }
}
@media (min-width: 700px) {
  .photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 15vw, 220px); gap: 14px; }
  .photo-grid .shot { border-radius: 24px; }
}
@media (max-width: 520px) {
  .form.grid { grid-template-columns: 1fr; }
  .row { flex-wrap: wrap; }
  .row .grow { flex-basis: 100%; order: -1; }
}

/* ============ Phones ============ */
@media (max-width: 699px) {
  .hero { height: auto; min-height: 66vh; min-height: 66svh; }
  .hero-copy { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
  .block { padding-top: 44px; }
  .headline { margin-bottom: 18px; }
  .tile { padding: 18px; border-radius: 24px; }
  .ico-sq { margin-bottom: 12px; }
  .wifi { padding: 20px; }
  .copy { padding: 10px 10px 10px 14px; }
  .pw { font-size: 17px; }
}
@media (max-width: 699px) {
  .tile.address, .tile.host { grid-column: 1 / -1; }
  .tile.address .actions, .tile.host .actions { max-width: 360px; }
}
@media (max-width: 359px) {
  .bento { grid-template-columns: 1fr; }
  .copy { flex-wrap: wrap; }
  .copy-btn { width: 100%; }
}

/* Admin: visual layout board */
.board {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 16px; border-radius: 22px; background: var(--bg); border: 1px solid var(--line);
  -webkit-user-select: none; user-select: none;
}
.board-row { display: flex; gap: 12px; min-height: 76px; border-radius: 16px; }
.board-card {
  position: relative; flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 14px 8px; border-radius: 16px; background: var(--card); border: 1px solid var(--line);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .04); cursor: grab; outline: none;
  transition: opacity .2s, box-shadow .25s, border-color .25s, -webkit-transform .25s var(--ease), transform .25s var(--ease);
}
.board-card:hover { border-color: var(--accent); }
.board-card:focus-visible { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.bc-grip {
  flex: none; width: 28px; align-self: stretch; display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 18px; border-radius: 10px; touch-action: none; cursor: grab;
}
.board-card:hover .bc-grip { color: var(--accent); }
.bc-ico { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); display: flex; align-items: center; justify-content: center; font-size: 21px; }
.bc-text { min-width: 0; display: flex; flex-direction: column; }
.bc-title { font-weight: 700; font-size: 16px; line-height: 1.25; letter-spacing: -.01em; }
.bc-prev { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board-row[data-n="3"] .bc-ico { display: none; }
.board-card.is-source { opacity: .3; }
.board-card.ghost {
  position: fixed; z-index: 100; pointer-events: none; cursor: grabbing; border-color: var(--accent);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .2); -webkit-transform: rotate(-1.5deg) scale(1.03); transform: rotate(-1.5deg) scale(1.03);
}
.board.is-dragging, .board.is-dragging * { cursor: grabbing; }
html.board-drag, html.board-drag * { -webkit-user-select: none !important; user-select: none !important; cursor: grabbing !important; }
.board-indicator { position: absolute; display: none; border-radius: 4px; background: var(--accent); z-index: 5; pointer-events: none; box-shadow: 0 0 0 4px var(--accent-soft); }
.board-indicator.show { display: block; }
.board-card.dropped { -webkit-animation: dropped .6s var(--ease); animation: dropped .6s var(--ease); }
@keyframes dropped { 0% { box-shadow: 0 0 0 3px var(--accent); } 100% { box-shadow: 0 1px 2px rgba(0, 0, 0, .04); } }
.kbd-help { margin-top: 10px; font-size: 13px; }
@media (hover: none) { .kbd-help { display: none; } }
@media (max-width: 600px) {
  .board { padding: 10px; gap: 10px; }
  .board-row { gap: 8px; min-height: 64px; }
  .board-card { padding: 10px 10px 10px 4px; gap: 6px; }
  .bc-ico { width: 32px; height: 32px; font-size: 17px; }
  .board-row[data-n="2"] .bc-ico, .board-row[data-n="3"] .bc-prev { display: none; }
  .bc-title { font-size: 14px; }
}
.grip-inline { display: inline-block; padding: 0 4px; border: 1px solid var(--line); border-radius: 6px; font-size: 13px; }
.save-status {
  position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom)); z-index: 60;
  -webkit-transform: translate(-50%, 20px); transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  margin: 0; padding: 10px 18px; border-radius: 980px; background: var(--ink); color: var(--bg);
  font-size: 15px; font-weight: 600; transition: opacity .3s, transform .4s var(--ease); max-width: calc(100vw - 32px); text-align: center;
}
.save-status.show { opacity: 1; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); }
.save-status.bad { background: #ff3b30; color: #fff; }

/* Admin photos */
.admin-jump { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; }
.admin-jump a { padding: 7px 14px; border-radius: 980px; background: var(--card); border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; }
.upload { margin-bottom: 16px; }
.dropzone {
  position: relative; display: flex !important; flex-direction: column; align-items: center; gap: 4px !important;
  padding: 26px 16px; border: 2px dashed var(--line); border-radius: 16px; text-align: center; cursor: pointer;
  transition: border-color .2s, background .2s;
}
.dropzone:hover, .dropzone:focus-within { border-color: var(--accent); background: var(--accent-soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.dz-title { font-size: 17px; font-weight: 700; color: var(--accent); }
.dz-sub { font-size: 13px; font-weight: 500; color: var(--muted); }
.admin-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.photo-card { padding: 12px; display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 20px; }
.photo-card label { display: flex; flex-direction: column; gap: 5px; font-size: 13px; font-weight: 600; color: var(--muted); }
.pc-img { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; overflow: hidden; background: var(--bg); }
.pc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-badge { position: absolute; left: 8px; top: 8px; padding: 4px 10px; border-radius: 980px; font-size: 12px; font-weight: 700; color: #fff; background: var(--accent); }
.pc-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.pc-move { display: flex; gap: 6px; margin-right: auto; }
.btn.small { font-size: 15px; padding: 8px 16px; }
.btn.danger.small { padding: 8px 4px; }
.iconbtn {
  -webkit-appearance: none; appearance: none; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer;
}
.iconbtn.wide { font-size: 13px; }
.iconbtn:disabled { opacity: .35; cursor: default; }

/* Admin top bar */
.topbar-links { display: flex; align-items: center; gap: 14px; }
.linkbtn { -webkit-appearance: none; appearance: none; border: 0; background: none; padding: 0; color: var(--accent); font: inherit; font-weight: 500; cursor: pointer; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  html.js .reveal { opacity: 1; transform: none; }
}
@media print {
  .hero { height: auto; min-height: 0; color: #000; background: none; padding: 24px 0; }
  .hero-media, .hero-shade, .scroll-cue, .quickbar, .gallery-block, .copy-btn { display: none; }
  html.js .reveal { opacity: 1; transform: none; }
  .wifi { color: #000; background: none; border: 1px solid #ccc; }
  .wifi-qr-inline { display: flex; }
  .wifi-qr-inline p { color: #000; }
  .qr-open, .qr-sheet { display: none; }
  .tile, .info { box-shadow: none; border: 1px solid #ddd; break-inside: avoid; }
  .jumpnav { display: none; }
}

/* Bigger touch targets on phones and tablets */
@media (pointer: coarse) {
  .jumpnav a { min-height: 44px; }
  .jumpnav-inner { padding-top: 8px; padding-bottom: 8px; }
  .scroll-cue { width: 48px; height: 48px; margin-left: -24px; }
}
.jumpnav { padding-top: env(safe-area-inset-top); }

/* Camp logo in the hero */
.site-logo{display:block;width:200px;height:auto;margin:0 auto 16px;border-radius:50%;opacity:1;box-shadow:0 0 0 5px #fff,0 0 0 7px rgba(18,57,47,.85),0 12px 30px rgba(0,0,0,.5)}
@media (max-width:480px){.site-logo{width:150px;margin-bottom:12px}}
@media (max-width:480px) and (max-height:760px){.site-logo{width:96px;margin-bottom:8px}}
@media (max-width:360px){.site-logo{width:88px}}

/* Airbnb reviews link in the hero */
.reviews-link{margin:16px 0 0}

/* Guest reviews, faded behind the top of the page: three reviews, 5 seconds each */
/* Guest reviews, shown under the logo, headline and button: cards stack in one cell so the box holds the tallest review and nothing shifts */
.hero-reviews { display: grid; max-width: 640px; margin-top: 22px; pointer-events: none; }
.hero-rv { grid-area: 1 / 1; margin: 0; color: #fff; opacity: 0; text-shadow: 0 1px 3px rgba(0,0,0,.85), 0 0 12px rgba(0,0,0,.4); animation: heroRv 15s infinite; }
.hero-rv:nth-child(2) { animation-delay: 5s; }
.hero-rv:nth-child(3) { animation-delay: 10s; }
.hero-stars { color: #e0a526; font-size: 16px; letter-spacing: 2px; margin-bottom: 6px; text-shadow: 0 1px 3px rgba(0,0,0,.85); }
.hero-rv blockquote { margin: 0; }
.hero-rv p { margin: 0; font-size: clamp(15px, 1.9vw, 19px); font-style: italic; line-height: 1.5; }
.hero-rv cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; }
@keyframes heroRv { 0% { opacity: 0; } 3% { opacity: 1; } 30% { opacity: 1; } 36% { opacity: 0; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hero-rv { animation: none; } .hero-rv:not(:first-child) { display: none; } .hero-rv:first-child { opacity: 1; } }
