/* Layout concept: a seaside guest book — asymmetric editorial grid, photos captioned like a contact sheet,
   the house's own colours: sea-salt walls, Thanet-sea ink, the mustard front door. */
:root {
  --salt: #F1F1EC;        /* page ground: sea-salt off-white */
  --paper: #FAFAF7;       /* raised surfaces */
  --ink: #14232B;         /* Thanet sea at dusk: text + dark bands */
  --ink-soft: #46555D;    /* secondary text */
  --rule: #D6D8D2;        /* hairlines */
  --door: #E2B13C;        /* the mustard front door: the one accent */
  --door-deep: #8A6514;   /* accent text on light ground */
  --on-ink: #EEEBE2;      /* text on dark bands */
  --on-ink-soft: #A9B4B8;

  --f-display: "Gloock", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --f-body: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-mono: "DM Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --step-0: 1.0625rem;
  --step-1: 1.25rem;
  --step-2: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --step-3: clamp(2rem, 1.4rem + 2.6vw, 3.25rem);
  --step-4: clamp(2.75rem, 1.6rem + 5.4vw, 6.25rem);

  --wrap: 1240px;
  --gutter-l: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --radius: 3px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--salt);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
[hidden] { display: none !important; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--door-deep); outline-offset: 3px; }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + 40px);
  margin-inline: auto;
  padding-left: var(--gutter-l);
  padding-right: var(--gutter-r);
}

/* ---------- type ---------- */
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.04; letter-spacing: -0.01em; margin: 0; text-wrap: balance; }
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-2); }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
.lede { font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); }
.label {
  font-family: var(--f-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.flip { display: inline-block; transform: rotate(180deg); transform-origin: 50% 54%; }

/* ---------- header ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--salt); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--salt) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.wordmark { font-family: var(--f-display); font-size: 1.3rem; text-decoration: none; white-space: nowrap; line-height: 1; }
.nav { display: flex; align-items: center; gap: 24px; }
.nav a { text-decoration: none; font-size: 0.95rem; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn, .nav .btn:hover { color: var(--salt); }
.nav .btn:hover { color: var(--ink); }
.nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--door); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.menu-btn { display: none; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font: 600 0.95rem/1 var(--f-body);
  padding: 15px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1px solid var(--ink); background: var(--ink); color: var(--salt);
  transition: background .2s, color .2s, transform .2s;
}
.btn:hover { background: var(--door); border-color: var(--door); color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--salt); }
.btn--door { background: var(--door); border-color: var(--door); color: var(--ink); }
.btn--door:hover { background: var(--on-ink); border-color: var(--on-ink); }
.btn--sm { padding: 10px 16px; font-size: 0.875rem; }
.btn svg { width: 16px; height: 16px; flex: none; }

@media (max-width: 980px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--salt); border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter-r) 20px var(--gutter-l);
  }
  .nav.open a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1.05rem; color: var(--ink); }
  .nav.open .btn { margin-top: 16px; justify-content: center; border-bottom: 1px solid var(--ink); color: var(--salt); padding: 16px 22px; }
  .menu-btn {
    display: inline-flex; align-items: center; gap: 8px; background: none; border: 1px solid var(--rule);
    border-radius: 999px; padding: 9px 14px; font: 500 0.875rem var(--f-body); color: var(--ink); cursor: pointer;
  }
  .wordmark { font-size: 1.12rem; }
}

/* ---------- hero: the name, the photo hung beneath it, then the details ---------- */
.hero { padding-block: clamp(28px, 4vw, 56px) clamp(48px, 7vw, 96px); }
.hero .wrap { display: grid; }
.hero-top { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.hero h1 {
  font-size: clamp(3rem, 7.6vw, 7rem);
  line-height: .92; letter-spacing: -0.025em;
  padding-block: clamp(18px, 2.4vw, 34px) clamp(14px, 1.8vw, 24px);
  text-wrap: balance;
}
.hero h1 .flip { transition: transform 1.1s cubic-bezier(.7,0,.2,1) .35s; }
.hero h1.pre .flip { transform: rotate(0deg); }
.hero-media { position: relative; margin: 0; min-width: 0; }
.hero-media > img:first-child { width: 100%; aspect-ratio: 2.15 / 1; object-fit: cover; object-position: 50% 58%; border-radius: var(--radius); }
.hero-media .inset {
  position: absolute; right: clamp(14px, 2.6%, 36px); bottom: calc(clamp(14px, 2.6%, 36px) + 2.1rem);
  width: clamp(120px, 17%, 220px); aspect-ratio: 3 / 4; object-fit: cover;
  border: 6px solid var(--salt); border-radius: var(--radius);
  box-shadow: 0 18px 40px -22px rgb(20 35 43 / .55);
}
.hero-info {
  display: grid; grid-template-columns: minmax(0, 6fr) auto minmax(0, 4fr);
  gap: clamp(20px, 3vw, 48px); align-items: start; margin-top: clamp(36px, 4vw, 56px);
}
.hero-info .lede { max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.accolades { display: grid; gap: 14px; justify-self: end; }
.accolade { display: flex; align-items: baseline; gap: 10px; }
.accolade strong { font-family: var(--f-display); font-weight: 400; font-size: 1.6rem; line-height: 1; min-width: 4.4em; }
.accolade span { font-size: 0.9rem; color: var(--ink-soft); line-height: 1.3; }
figcaption { margin-top: 10px; display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 1080px) {
  .hero-info { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hero-info .lede { grid-column: 1 / -1; }
  .accolades { justify-self: start; }
}
@media (max-width: 700px) {
  .hero-media > img:first-child { aspect-ratio: 4 / 3.4; object-position: 40% 50%; }
  .hero-media .inset { width: 28%; right: 12px; bottom: calc(12px + 2.1rem); border-width: 4px; }
  .hero-media .cap-right { display: none; }
  .hero-info { grid-template-columns: 1fr; margin-top: 28px; }
  .hero-top .label:last-child { display: none; }
  .accolades { grid-auto-flow: row; padding-top: 20px; border-top: 1px solid var(--rule); width: 100%; }
}

/* ---------- facts ---------- */
.facts { border-block: 1px solid var(--rule); background: var(--paper); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.facts li { padding: 22px 18px; display: grid; gap: 4px; border-left: 1px solid var(--rule); }
.facts li:first-child { border-left: 0; padding-left: 0; }
.facts .n { font-family: var(--f-display); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.facts .t { font-size: 0.875rem; color: var(--ink-soft); line-height: 1.3; }
@media (max-width: 900px) {
  .facts ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts li:nth-child(4) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+4) { border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) {
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li { border-left: 0; padding-left: 0; }
  .facts li:nth-child(even) { border-left: 1px solid var(--rule); padding-left: 18px; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .facts li:nth-child(4) { border-left: 1px solid var(--rule); padding-left: 18px; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 9vw, 128px); }
.section-head { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .label { margin-bottom: 18px; display: block; }
.section-head p { color: var(--ink-soft); }
@media (max-width: 860px) { .section-head { grid-template-columns: 1fr; } }

/* the house: editorial mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.mosaic figure { margin: 0; min-width: 0; }
.mosaic img { width: 100%; height: auto; object-fit: cover; border-radius: var(--radius); }
.m-ext { grid-column: 1 / 6; } .m-ext img { aspect-ratio: 4/5; object-position: 40% 50%; }
.m-a { grid-column: 6 / 13; align-self: end; } .m-a img { aspect-ratio: 4/3; }
.m-b { grid-column: 1 / 8; } .m-b img { aspect-ratio: 4/3; }
.m-d { grid-column: 8 / 13; } .m-d img { aspect-ratio: 1/1; }
.mosaic-note { grid-column: 8 / 13; align-self: start; display: grid; gap: 10px; }
@media (max-width: 760px) {
  .m-ext, .m-a, .m-b, .m-d, .mosaic-note { grid-column: 1 / -1; }
  .m-ext img, .m-d img { aspect-ratio: 4/3; }
}

/* rooms */
.rooms { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 40px) clamp(16px, 2vw, 28px); }
.room { display: grid; gap: 14px; align-content: start; min-width: 0; }
.room img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.room h3 { font-size: 1.6rem; }
.room p { color: var(--ink-soft); font-size: 1rem; }
.room .label { display: flex; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) { .rooms { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .rooms { grid-template-columns: 1fr; } }

.garden-strip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); gap: clamp(14px, 2vw, 24px); margin-top: clamp(48px, 6vw, 88px); align-items: end; }
.garden-strip figure { margin: 0; min-width: 0; }
.garden-strip img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.garden-strip figure:nth-child(2) img { aspect-ratio: 4/5; }
.garden-note { display: grid; gap: 12px; align-self: end; padding-bottom: 2.1rem; }
.garden-note p { color: var(--ink-soft); font-size: 1rem; }
@media (max-width: 860px) { .garden-strip { grid-template-columns: 1fr 1fr; } .garden-note { grid-column: 1 / -1; padding-bottom: 0; } .garden-strip figure:nth-child(2) img { aspect-ratio: 4/3; } }
@media (max-width: 560px) { .garden-strip { grid-template-columns: 1fr; } }

/* dark band */
.band { background: var(--ink); color: var(--on-ink); }
.band .label, .band p, .band .lede { color: var(--on-ink-soft); }
.band h2, .band h3 { color: var(--on-ink); }

/* amenities */
.amenities { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); }
.amenities ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.amenities li { padding: 16px 0; border-top: 1px solid rgb(238 235 226 / .16); display: grid; gap: 2px; }
.amenities li strong { font-weight: 600; color: var(--on-ink); }
.amenities li span { font-size: 0.95rem; color: var(--on-ink-soft); }
.amenities .times { display: flex; gap: 40px; margin-top: 36px; }
.amenities .times div { display: grid; gap: 4px; }
.amenities .times strong { font-family: var(--f-display); font-weight: 400; font-size: 2.4rem; line-height: 1; color: var(--door); }
@media (max-width: 860px) { .amenities { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .amenities ul { grid-template-columns: 1fr; } }

/* gallery */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-flow: dense; gap: clamp(8px, 1vw, 14px); }
.gallery button { all: unset; cursor: zoom-in; display: block; overflow: hidden; border-radius: var(--radius); position: relative; }
.gallery button:focus-visible { outline: 2px solid var(--door-deep); outline-offset: 3px; }
.gallery img { width: 100%; height: 100%; aspect-ratio: 1/1; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.gallery button:hover img { transform: scale(1.035); }
.gallery .wide { grid-column: span 2; } .gallery .wide img { aspect-ratio: 2/1; }
.gallery .tall { grid-row: span 2; } .gallery .tall img { aspect-ratio: 1/2; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.lightbox { border: 0; padding: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgb(10 18 23 / .96); color: var(--on-ink); }
.lightbox::backdrop { background: rgb(10 18 23 / .9); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top, .lb-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 14px max(16px, env(safe-area-inset-right, 0px)) 14px max(16px, env(safe-area-inset-left, 0px)); }
.lb-top { padding-top: max(14px, env(safe-area-inset-top, 0px)); }
.lb-bottom { padding-bottom: max(14px, env(safe-area-inset-bottom, 0px)); }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 0 16px; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: var(--radius); }
.lb-btn { background: none; border: 1px solid rgb(238 235 226 / .3); color: var(--on-ink); border-radius: 999px; padding: 10px 16px; font: 500 .9rem var(--f-body); cursor: pointer; }
.lb-btn:hover { border-color: var(--door); color: var(--door); }
.lightbox .label { color: var(--on-ink-soft); }

/* location */
.place { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.place figure { margin: 0; min-width: 0; }
.place figure img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.walks { list-style: none; margin: 28px 0 32px; padding: 0; }
.walks li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.walks li:last-child { border-bottom: 1px solid var(--rule); }
.walks .mins { font-family: var(--f-mono); font-size: 0.85rem; color: var(--ink-soft); white-space: nowrap; font-variant-numeric: tabular-nums; }
@media (max-width: 860px) { .place { grid-template-columns: 1fr; } }

/* guide teaser cards */
.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); }
.card { text-decoration: none; display: grid; gap: 12px; align-content: start; min-width: 0; }
.card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: var(--radius); transition: filter .3s; }
.card:hover img { filter: saturate(1.15) brightness(1.04); }
.card h3 { font-size: 1.45rem; }
.card p { font-size: 0.95rem; color: var(--ink-soft); }
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* hosts */
.hosts { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hosts img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius); }
.hosts blockquote { margin: 0; font-family: var(--f-display); font-size: var(--step-2); line-height: 1.25; max-width: 26ch; }
.hosts .body { display: grid; gap: 22px; }
@media (max-width: 860px) { .hosts { grid-template-columns: 1fr; } .hosts img { aspect-ratio: 4/3; } }

/* closing CTA */
.closer { position: relative; color: var(--on-ink); background: var(--ink); overflow: hidden; }
.closer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.closer .wrap { position: relative; padding-block: clamp(80px, 12vw, 168px); display: grid; gap: 26px; justify-items: start; }
.closer h2 { color: var(--on-ink); max-width: 14ch; }
.closer p { color: var(--on-ink); }

/* footer */
.site-footer { background: var(--ink); color: var(--on-ink-soft); font-size: 0.95rem; border-top: 1px solid rgb(238 235 226 / .12); }
.site-footer .wrap { padding-block: 56px max(40px, env(safe-area-inset-bottom, 0px)); display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { font: 400 0.75rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--on-ink-soft); margin: 0 0 14px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-ink); text-decoration: none; }
.site-footer a:hover { color: var(--door); }
.site-footer .wordmark { color: var(--on-ink); font-size: 1.6rem; display: inline-block; margin-bottom: 14px; }
.site-footer .small { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgb(238 235 226 / .12); font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .brand { grid-column: 1 / -1; } }

/* ---------- inner pages ---------- */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(36px, 5vw, 64px); }
.page-hero .wrap { display: grid; gap: 22px; }
.page-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4.6vw, 5.2rem); max-width: 16ch; }
.page-banner img { width: 100%; aspect-ratio: 21/8; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 640px) { .page-banner img { aspect-ratio: 4/3; } }

.toc { display: flex; flex-wrap: wrap; gap: 8px; }
.toc a { text-decoration: none; font-size: 0.9rem; padding: 8px 14px; border: 1px solid var(--rule); border-radius: 999px; background: var(--paper); }
.toc a:hover { border-color: var(--ink); }

.chapter { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(20px, 5vw, 72px); padding-block: clamp(48px, 6vw, 80px); border-top: 1px solid var(--rule); scroll-margin-top: 80px; }
.chapter > header { display: grid; gap: 12px; align-content: start; }
.chapter > header h2 { font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem); }
.chapter .content { display: grid; gap: 22px; min-width: 0; }
.chapter .content p { color: var(--ink-soft); }
@media (max-width: 860px) { .chapter { grid-template-columns: 1fr; } }

.entries { display: grid; gap: 0; }
.entry { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 24px; padding: 20px 0; border-top: 1px solid var(--rule); }
.entry:last-child { border-bottom: 1px solid var(--rule); }
.entry h3 { font-size: 1.5rem; }
.entry p { grid-column: 1 / -1; color: var(--ink-soft); }
.entry .meta { font-family: var(--f-mono); font-size: 0.8rem; color: var(--ink-soft); white-space: nowrap; align-self: center; }
.entry a.out { color: var(--door-deep); font-weight: 600; text-decoration: none; }
.entry a.out:hover { text-decoration: underline; }
@media (max-width: 520px) { .entry { grid-template-columns: 1fr; } }

.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.pair img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.tile-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 22px; display: grid; gap: 6px; align-content: start; }
.tile strong { font-family: var(--f-display); font-weight: 400; font-size: 2.2rem; line-height: 1; }
.tile span { color: var(--ink-soft); font-size: 0.95rem; }
@media (max-width: 640px) { .tile-row { grid-template-columns: 1fr; } }

.rules { list-style: none; margin: 0; padding: 0; counter-reset: rule; display: grid; }
.rules li { counter-increment: rule; display: grid; grid-template-columns: 3rem minmax(0, 1fr); gap: 12px; padding: 16px 0; border-top: 1px solid var(--rule); color: var(--ink-soft); }
.rules li::before { content: counter(rule, decimal-leading-zero); font-family: var(--f-mono); font-size: .85rem; color: var(--door-deep); padding-top: 3px; }
.rules li strong { color: var(--ink); font-weight: 600; }
.fineprint { font-size: 0.85rem; color: var(--ink-soft); max-width: 75ch; }
.note { background: var(--paper); border: 1px solid var(--rule); border-left: 3px solid var(--door); padding: 18px 20px; border-radius: var(--radius); color: var(--ink); }
.note p { color: var(--ink); }

.contact-line { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.contact-line a { font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--door); }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
  @keyframes rise { from { transform: translateY(14px); opacity: .001; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
  .hero h1.pre .flip { transform: rotate(180deg); }
}

/* ---------- guest area ---------- */
.lock { padding-block: clamp(20px, 4vw, 48px) clamp(64px, 9vw, 120px); }
.lock-card {
  display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px);
  background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: clamp(22px, 4vw, 48px);
}
.lock-card form { display: grid; gap: 14px; align-content: center; }
.lock-card label { font-weight: 600; }
.lock-card input {
  font: 500 1.25rem var(--f-body); padding: 15px 18px; border: 1px solid var(--ink); border-radius: 999px;
  background: var(--salt); color: var(--ink); width: 100%; letter-spacing: .04em;
}
.lock-card input:focus-visible { outline: 2px solid var(--door); outline-offset: 2px; }
.lock-card .btn { justify-content: center; }
.lock-card .btn[disabled] { opacity: .6; cursor: progress; }
.lock-error { color: #9A2A1A; font-size: .95rem; }
.lock-card .lock-copy { display: grid; gap: 14px; align-content: center; }
.lock-card .lock-copy p { color: var(--ink-soft); }
@media (max-width: 760px) { .lock-card { grid-template-columns: 1fr; } }
.relock { margin-top: 8px; }

.codes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.code { background: var(--paper); border: 1px solid var(--rule); border-radius: var(--radius); padding: 18px 20px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; align-items: center; }
.code .label { grid-column: 1 / -1; }
.code strong { font-family: var(--f-mono); font-weight: 400; font-size: clamp(1.15rem, 1rem + .6vw, 1.45rem); letter-spacing: .04em; overflow-wrap: anywhere; user-select: all; }
.copy { font: 500 .85rem var(--f-body); border: 1px solid var(--rule); background: var(--salt); color: var(--ink); border-radius: 999px; padding: 7px 12px; cursor: pointer; }
.copy:hover { border-color: var(--ink); }
@media (max-width: 560px) { .codes { grid-template-columns: 1fr; } }

.gimg { width: 100%; object-fit: cover; border-radius: var(--radius); background: var(--rule); }
.vid { position: relative; aspect-ratio: var(--ar, 16/9); max-width: 100%; border-radius: var(--radius); overflow: hidden; background: var(--ink) center / cover no-repeat; }
.vid--portrait { max-width: 360px; }
.vid video { width: 100%; height: 100%; display: block; background: #000; }
.vid-play { all: unset; position: absolute; inset: 0; display: grid; place-items: center; cursor: pointer; background: linear-gradient(to top, rgb(20 35 43 / .45), rgb(20 35 43 / .05)); }
.vid-play span { background: var(--door); color: var(--ink); font: 600 .95rem var(--f-body); padding: 13px 20px 13px 44px; border-radius: 999px; position: relative; }
.vid-play span::before { content: ""; position: absolute; left: 20px; top: 50%; translate: 0 -50%; border-left: 12px solid var(--ink); border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.vid-play:focus-visible span { outline: 2px solid var(--ink); outline-offset: 3px; }
