.tour {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fffbf2;
  background: #201e19;
  --inset: clamp(24px, 5.5vw, 96px);
}
.tour-film, .tour-shade { position: absolute; inset: 0; pointer-events: none; }
.tour-film {
  z-index: -2;
  background: #201e19 url("media/tour-wide-poster.jpg?v=visit-film") 76% 53% / cover no-repeat;
}
.tour-film video { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 76% 53%; }
.tour-shade {
  z-index: -1;
  background: linear-gradient(90deg, #0b1712c9 0%, #10211b9c 35%, #0c110f22 67%, transparent 83%),
    linear-gradient(0deg, #121914db 0%, #16221a38 22%, transparent 55%, #100e0b38 100%);
}
.tour-inner {
  min-height: max(560px, 100vh);
  min-height: max(560px, 100svh);
  max-width: 2100px;
  margin: auto;
  padding: clamp(20px, 3.7vh, 42px) var(--inset) max(22px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}
.tour-top, .top-controls, .tour-langs, .tour-book { display: flex; align-items: center; }
.tour-top { justify-content: space-between; gap: 14px; }
.wordmark { display: block; width: clamp(134px, 13vw, 195px); }
.brand-logo { display: block; width: 100%; height: auto; }
footer { background: #173e36; color: #fffaf5; }
footer .brand-logo { width: clamp(110px, 12vw, 150px); }
.visit address a { text-underline-offset: .2em; }
.top-controls { gap: 12px; }
.tour-langs, .motion { background: #162019b5; border: 1px solid #fffc; border-radius: 28px; color: white; }
.tour-langs { padding: 2px; }
.tour-langs a { display: grid; place-items: center; color: white; min-width: 42px; min-height: 37px; border-radius: 22px; font-size: 14px; text-decoration: none; }
.tour-langs [aria-current] { background: #fffaf0; color: #1b2c22; font-weight: 700; }
.motion { display: grid; place-items: center; width: 44px; height: 44px; cursor: pointer; }
.motion span { margin-left: 3px; border-block: 6px solid transparent; border-left: 10px solid currentColor; }
.motion.is-playing span { margin: 0; height: 13px; width: 10px; border: 0; border-inline: 3px solid currentColor; }
.tour-text { margin-top: auto; margin-bottom: clamp(32px, 7vh, 88px); padding-top: 38px; }
.tour-location { font: 600 clamp(12px, 1.05vw, 16px)/1.4 Arial, sans-serif; letter-spacing: .17em; text-transform: uppercase; margin: 0 0 18px; }
.tour h1 { font: normal clamp(62px, 7.4vw, 130px)/.97 Georgia, serif; letter-spacing: -.06em; margin: 0; }
.tour h1 em { color: #ffe1bf; font-weight: 400; }
.tour-book { display: inline-flex; justify-content: space-between; gap: 26px; min-height: 48px; border-radius: 40px; margin-top: clamp(20px, 3.5vh, 42px); padding: 10px 22px; background: #fff9ec; color: #172c22; font-size: 16px; font-weight: 600; text-decoration: none; }
.tour-book:hover { background: #ffe1bf; }
.tour-links { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 0; border-top: 1px solid #ffffffa1; }
.tour-links a { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 51px; margin-top: 8px; padding: 0 clamp(8px, 1.25vw, 22px); border-left: 1px solid #ffffff42; color: inherit; font-size: clamp(14px, 1.2vw, 18px); text-decoration: none; }
.tour-links a:first-child { padding-left: 0; border-left: 0; }
.tour-links a:hover { color: #ffdeb7; }
.tour-links .arrow { font-size: 17px; }
.tour :focus-visible { outline: 3px solid #ffd596; outline-offset: 3px; }
.founder-intro { display: grid; grid-template-columns: minmax(210px, 365px) minmax(220px, 460px); gap: clamp(30px, 6vw, 95px); align-items: center; margin: 28px 0; }
.founder-card { margin: 0; background: #f4e8dc; }
.founder-card img { display: block; width: 100%; aspect-ratio: 1.25; object-fit: cover; object-position: 65% 30%; }
.founder-card figcaption { padding: 17px 22px 23px; }
.founder-intro > p { font: normal clamp(22px, 2.5vw, 37px)/1.23 Georgia, serif; margin: 0; }
@media (max-aspect-ratio: 6/5) {
  .tour-film { bottom: clamp(80px, 15svh, 170px); background-image: url("media/tour-poster.jpg?v=visit-film"); background-position: center 43%; }
  .tour-film video { object-position: center 43%; }
  .tour-shade { background: linear-gradient(0deg, #18221b 0%, #18221b 15%, #16221bd9 28%, #0b130e22 50%, transparent 68%, #11140f55 100%); }
  .tour-text { margin-bottom: 22px; }
}
@media(max-width: 760px) {
  .tour { --inset: clamp(18px, 4.7vw, 34px); }
  .tour-inner { min-height: max(520px, 100svh); padding-top: max(19px,env(safe-area-inset-top)); padding-bottom: max(14px, env(safe-area-inset-bottom)); }
  .wordmark { width: clamp(116px, 30vw, 150px); }
  .top-controls { gap: 7px; }
  .tour h1 { font-size: clamp(46px, 8.5vw, 65px); }
  .tour-location { margin-bottom: 9px; letter-spacing: .12em; font-size: 12px; }
  .tour-book { margin-top: 14px; min-height: 44px; padding: 8px 18px; }
  .tour-links { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .tour-links a { font-size: 14px; min-height: 44px; padding: 0 10px; margin: 0; border: 0; }
  .tour-links a:nth-child(3n+1) { padding-left: 0; }.tour-links a:nth-child(3n) { padding-right: 0; }
  .tour-links a:nth-child(n+4) { border-top: 1px solid #ffffff42; }
  .tour-links .arrow { font-size: 14px; }
  .founder-intro { grid-template-columns: 1fr; gap: 22px; }
}
@media(max-height: 520px) and (min-aspect-ratio: 6/5) {
  .tour-inner { min-height: 100svh; padding-block: 14px; }
  .tour-text { margin-bottom: 12px; padding-top: 16px; }
  .tour-location { margin-bottom: 4px; }
  .tour h1 { font-size: clamp(40px, 9vh, 64px); }
  .tour-book { min-height: 40px; margin-top: 8px; }
  .tour-links a { min-height: 38px; margin-top: 0; }
}
.tour-links .arrow, .tour-book > span {
  width: 11px; height: 11px; position: relative; flex: none;
  font-size: 0; line-height: 0;
}
.tour-links .arrow::before, .tour-book > span::before {
  content: ''; position: absolute; top: 1px; right: 1px; width: 7px; height: 7px;
  border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
}
.tour-links .arrow::after, .tour-book > span::after {
  content: ''; position: absolute; top: 1px; right: 1px; height: 1.5px; width: 12px;
  transform-origin: right center; transform: rotate(-45deg); background: currentColor;
}

.music-control {
  position: fixed; z-index: 10;
  top: max(91px, calc(env(safe-area-inset-top) + 84px));
  right: max(5.5vw, 18px);
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 14px; border: 1px solid #fff9;
  border-radius: 24px; background: #17291feb; color: #fffaf1;
  font: 500 14px/1.2 Arial, sans-serif; cursor: pointer;
}
.music-control svg { width: 20px; height: 20px; flex: none; }
.music-control .sound-waves, .music-control.playing .sound-off { display: none; }
.music-control.playing .sound-waves { display: inline; }
.music-control:focus-visible { outline: 3px solid #ffc88c; outline-offset: 3px; }
@media (max-width:760px) {
  .music-control { top: max(75px, calc(env(safe-area-inset-top) + 70px)); right: 4.7vw; }
}
