:root {
  color-scheme: light;
  --paper: #f6f5ef;
  --white: #fffefa;
  --ink: #223730;
  --green: #173f38;
  --muted: #52675f;
  --light: #e8eee6;
  --line: #d7ded3;
  --accent: #e8c17a;
  --max: 70rem;
  font-family: "Aptos", "Hiragino Kaku Gothic ProN", "Noto Sans", "Yu Gothic", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  scroll-padding-top: 5.8rem;
}
* { box-sizing: border-box; }
body { margin: 0; }
button, select { font: inherit; }
a { color: inherit; }
button, select, summary { cursor: pointer; }
button, select, a, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #b66e34; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--max), calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 9; inset-block-start: .6rem; inset-inline-start: 1rem; padding: .7rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.top { background: var(--white); border-block-end: 1px solid var(--line); }
.top .wrap { display: flex; justify-content: space-between; align-items: center; gap: .7rem; min-height: 4.7rem; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; font-weight: 750; }
.mark { display: grid; place-items: center; inline-size: 2.25rem; block-size: 2.25rem; border-radius: 50%; background: var(--green); color: var(--accent); font: 1.15rem Georgia, serif; flex: none; }
.language { position: relative; flex: none; }
.language::after { content: ""; position: absolute; inset-inline-end: 1rem; inset-block-start: 1.02rem; inline-size: .43rem; block-size: .43rem; border: solid var(--green); border-width: 0 1.7px 1.7px 0; transform: rotate(45deg); pointer-events: none; }
.language select { appearance: none; border: 1px solid var(--line); border-radius: .6rem; color: var(--green); background: var(--white); min-height: 2.65rem; padding: .5rem 2.15rem .5rem .75rem; }
[dir=rtl] .language select { padding: .5rem .75rem .5rem 2.15rem; }
.hero { margin-block-start: 1.8rem; display: grid; grid-template-columns: 1fr 1.16fr; min-height: 24rem; border-radius: 1.3rem; overflow: hidden; background: var(--green); color: #fffefa; }
.hero-copy { padding: clamp(1.4rem, 4vw, 3.15rem); align-self: center; }
.eyebrow { margin: 0 0 .9rem; color: var(--accent); font-size: .97rem; font-weight: 700; }
h1, h2, h3, p { margin-block-start: 0; }
h1 { font-size: clamp(2.3rem, 4.7vw, 4.25rem); line-height: 1.06; letter-spacing: -.034em; margin-block-end: .85rem; overflow-wrap: anywhere; }
[lang=ar] h1 { letter-spacing: normal; line-height: 1.22; }
.intro { color: #e5ece6; font-size: 1.075rem; line-height: 1.6; margin-block-end: 1.55rem; }
.hero-photo { position: relative; margin: 0; min-height: 16rem; direction: ltr; }
.hero-photo img { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: 51% 55%; }
.hero-photo figcaption { position: absolute; inset-inline-end: .8rem; inset-block-end: .8rem; background: #102821ed; color: white; display: inline-block; padding: .45rem .7rem; border-radius: .4rem; font-size: .875rem; }
.times { display: flex; flex-wrap: wrap; gap: .8rem 1.25rem; }
.time { display: grid; gap: .25rem; border-inline-start: 2px solid var(--accent); padding-inline-start: .7rem; }
.time span { font-size: .9rem; color: #e4ece5; }
.time strong { font-size: 1.24rem; white-space: nowrap; }
.primary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-block: 1rem 1.8rem; }
.primary a { background: var(--white); padding: 1rem; border: 1px solid var(--line); border-radius: .85rem; min-height: 4.4rem; display: flex; align-items: center; gap: .72rem; text-decoration: none; font-weight: 750; line-height: 1.3; }
.badge { flex: none; display: grid; place-items: center; inline-size: 2.1rem; block-size: 2.1rem; border-radius: .5rem; background: var(--light); color: var(--green); font-size: 1.12rem; }
.primary a:first-child { background: var(--accent); border-color: #d8ad62; color: #292d21; }
.primary a:first-child .badge { background: #f4d8a3; }
.primary a:hover, .chapters a:hover { border-color: var(--green); }
.chapters { position: sticky; top: 0; z-index: 3; background: var(--paper); border-block-end: 1px solid var(--line); }
.chapters .wrap { display: flex; gap: .45rem; overflow-x: auto; padding-block: .65rem; scrollbar-width: thin; }
.chapters a { flex: none; white-space: nowrap; border: 1px solid var(--line); background: var(--white); border-radius: 2rem; padding: .58rem .85rem; font-size: .91rem; font-weight: 650; text-decoration: none; }
.chapters a[aria-current] { color: white; background: var(--green); border-color: var(--green); }
main.wrap { padding-block: 1.35rem 3rem; }
.guide-section { background: var(--white); border: 1px solid var(--line); border-radius: 1rem; padding: clamp(1rem, 3.2vw, 2.25rem); margin-block-end: 1rem; }
.section-head { display: flex; justify-content: space-between; align-items: flex-start; gap: .6rem 1rem; flex-wrap: wrap; margin-block-end: 1rem; }
h2 { letter-spacing: -.025em; font-size: clamp(1.38rem, 3vw, 2.12rem); line-height: 1.2; margin-block-end: 0; }
h3 { font-size: 1.11rem; margin-block-end: .45rem; }
.guide-section p, .guide-section li { line-height: 1.58; }
.section-body > :last-child, .panel > :last-child { margin-block-end: 0; }
.actions { display: flex; gap: .55rem; flex-wrap: wrap; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 2.75rem; border: 1px solid var(--line); color: var(--green); background: var(--white); padding: .53rem .78rem; border-radius: .55rem; text-decoration: none; font-size: .94rem; font-weight: 700; text-align: start; }
.btn:hover { background: var(--light); }
.btn.main { color: white; background: var(--green); border-color: var(--green); }
.btn[data-speak][aria-pressed=true] { background: var(--green); color: white; }
.audio-status:empty, .local-status:empty { display: none; }
.audio-status, .local-status { color: var(--muted); margin-block: .65rem 0; }
.place { background: var(--light); border-radius: .65rem; padding: .85rem 1rem; margin-block-end: .8rem; }
.place p { margin: 0; overflow-wrap: anywhere; }
.panel { padding: .85rem 1rem 1rem; border: 1px solid var(--line); border-radius: .7rem; margin-block: .65rem; }
.panel summary { font-weight: 750; line-height: 1.35; min-height: 1.8rem; }
.panel[open] summary { margin-block-end: .7rem; }
.note { background: #faf0d8; border-inline-start: 3px solid #bd8e45; border-radius: .3rem; padding: .7rem .88rem; margin-block: .7rem 1rem; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); gap: .75rem; margin-block: .8rem; }
figure { margin: 0; }
.photo { background: var(--paper); border: 1px solid var(--line); border-radius: .6rem; overflow: hidden; }
.photo img { display: block; inline-size: 100%; block-size: 11rem; object-fit: contain; background: #e7e8df; }
.photo figcaption { padding: .55rem .65rem; font-size: .94rem; line-height: 1.45; }
.photo.single { max-width: 33rem; margin-block: .75rem; }
.photo.single img { block-size: auto; max-block-size: 26rem; }
.plain, .steps { padding-inline-start: 1.45rem; margin-block: .25rem .75rem; }
.plain li + li, .steps li + li { margin-block-start: .35rem; }
.list-time { font-size: 1.5rem; font-weight: 800; margin-block-end: .35rem; }
.network { font: 1.08rem ui-monospace, monospace; overflow-wrap: anywhere; }
.guest-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); gap: .75rem; }
.guest-field { margin: 0; }
.guest-field .btn { margin-block-start: .55rem; }
.house-rules { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); gap: .7rem; list-style: none; padding: 0; margin: 0 0 1rem; }
.house-rules li { padding: .8rem .95rem; background: var(--light); border-radius: .6rem; }
.house-rules li + li { margin: 0; }
.house-rules strong { display: block; margin-block-end: .25rem; color: var(--green); }
.house-rules p { margin: 0; }
.footer { background: var(--green); color: white; }
.footer .wrap { min-height: 5.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem; padding-block: .9rem; }
.footer small { color: #d4e2d8; font-size: .9rem; }
.footer a { font-size: .94rem; }
.photo a, .lightbox-image { display: block; position: relative; }
.photo-direction { position: absolute; inset-block-start: .5rem; inset-inline-end: .5rem; color: white; background: #8e3925; font-size: 1.2rem; font-weight: 750; min-width: 1.9rem; height: 1.9rem; padding: .12rem .25rem; border-radius: .35rem; text-align: center; box-shadow: 0 0 0 2px #fffefa; }
.photo a[data-mark] img { block-size: auto; }
[data-mark=hall]::before, [data-mark=hall]::after, [data-mark=living-room]::after, [data-mark=keypad]::after {
  content: ""; position: absolute; pointer-events: none; border: 2px solid #e13925; box-shadow: 0 0 0 1px #fffefa;
}
[data-mark=hall]::before { left: 35%; top: 60%; width: 16%; height: 9%; border-style: dashed; transform: skewX(-28deg); }
[data-mark=hall]::after { left: 71.6%; top: 25.4%; width: 2.6%; height: 6%; border-radius: .13rem; }
[data-mark=living-room]::after { left: 80.3%; top: 42.5%; width: 4.7%; height: 8.7%; border-radius: .13rem; }
[data-mark=keypad]::after { left: 25.5%; top: 68%; width: 15%; height: 16%; border-radius: 50%; }
.lightbox { width: min(52rem, calc(100% - 1rem)); max-height: 94dvh; padding: 0; border: 0; border-radius: .85rem; background: var(--white); color: var(--ink); }
.lightbox::backdrop { background: #0d261ee0; }
.lightbox-panel { padding: .75rem; }
.lightbox-panel button { margin-block-end: .5rem; }
.lightbox-image { width: fit-content; max-width: 100%; margin-inline: auto; }
.lightbox img { display: block; max-width: 100%; max-height: 73dvh; object-fit: contain; margin-inline: auto; }
.lightbox p { margin: .5rem .2rem 0; line-height: 1.45; }
bdi { unicode-bidi: isolate; }
@media (max-width: 700px) {
  .wrap { width: calc(100% - 1.5rem); }
  .top .wrap { min-height: 3.75rem; }
  .hero { grid-template-columns: 1fr; margin-block-start: .75rem; min-height: 0; }
  .hero-copy { padding: 1.15rem; }
  .eyebrow { margin-block-end: .5rem; }
  h1 { font-size: clamp(2rem, 8vw, 3.2rem); margin-block-end: .55rem; }
  .intro { margin-block-end: .8rem; }
  .hero-photo { min-height: clamp(8rem, 38vw, 14rem); }
  .primary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-block: .75rem; }
  .primary a { padding: .5rem .55rem; gap: .4rem; min-height: 2.8rem; font-size: .89rem; overflow-wrap: anywhere; }
  .badge { inline-size: 1.6rem; block-size: 1.6rem; font-size: .95rem; }
  .guide-section { padding: .92rem; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photo img { block-size: 10rem; }
  #walk .photo-grid, #parking .photo-grid { grid-template-columns: 1fr; }
  #walk .photo img, #parking .photo img { block-size: auto; max-block-size: 18rem; }
  .photo.single img { block-size: auto; }
}
@media (max-width: 350px) {
  .brand { font-size: .86rem; }
  .mark { inline-size: 1.8rem; block-size: 1.8rem; }
  .language select { font-size: .91rem; }
}
@media print {
  .top, .chapters, .actions, .primary, .footer, .hero-photo { display: none; }
  .hero { display: block; color: black; background: white; }
  .eyebrow, .intro, .time span { color: black; }
  .guide-section { break-inside: avoid; }
}
