/* ============================================================
   THE TRAVEL WINDOW
   Main stylesheet — kept in the website root as requested.

   Native slice dimensions:
   Header:             1300 × 62
   Wall row:           1300 × 712
      Left wall:        530 × 712
      Window slice:     673 × 712
      Right wall:        97 × 712
   Chair rail:         1300 × 40
   Shadow spacer:      1300 × 9
   Wainscoting:        1300 × 339 minimum
   Footer:             1300 × 38
   ============================================================ */

:root {
  --site-width: 1300px;
  --paper: #f4f0e9;
  --ink: #182c3d;
  --navy: #123a5b;
  --navy-dark: #08263d;
  --blue: #315e88;
  --window-gold: #f0ad58;
  --window-gold-light: #ffd18b;
  --panel-cream: rgba(248, 244, 235, 0.92);
  --line: rgba(20, 51, 75, 0.28);
  --focus: #ffcf72;
  --error: #8f1e2b;
  --success: #30683e;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 300px;
  scroll-behavior: smooth;
  background: #0a2c47;
}

body {
  min-width: 300px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(90deg, #071f32, #12405f 50%, #071f32);
  font-family: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  font-size: 18px;
  line-height: 1.45;
}

img {
  max-width: 100%;
}

button,
input,
select {
  font: inherit;
}

button,
select {
  cursor: pointer;
}

a {
  color: inherit;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  left: 1rem;
  top: 1rem;
  padding: 0.55rem 0.8rem;
  color: #fff;
  background: var(--navy-dark);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(100%, var(--site-width));
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 42px rgba(0, 0, 0, 0.48);
}

/* ----------------------------- Header ----------------------------- */

.site-header {
  position: relative;
  z-index: 50;
  min-height: 62px;
  background:
    #efede9 url("images/1-header-bg.png") center top / 100% 62px no-repeat;
}

.main-navigation {
  min-height: 62px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0 20px 10px;
}

.main-navigation ul {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(13px, 1.55vw, 26px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-navigation a {
  display: inline-block;
  color: #21354a;
  font-size: clamp(0.76rem, 1.31vw, 1.03rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px rgba(255, 255, 255, 0.88);
  transition:
    color 160ms ease,
    transform 160ms ease,
    text-shadow 160ms ease;
}

.main-navigation a:hover,
.main-navigation a:focus-visible,
.main-navigation a[aria-current="page"] {
  color: #8b4f1e;
  transform: translateY(-1px);
  text-shadow: 0 1px #fff, 0 0 8px rgba(222, 154, 79, 0.25);
}

.nav-toggle {
  display: none;
}

/* ----------------------------- Main wall ----------------------------- */

.wall-scene {
  position: relative;
  display: grid;
  grid-template-columns: 530fr 673fr 97fr;
  width: 100%;
  aspect-ratio: 1300 / 712;
  overflow: hidden;
  background: #6684a6;
}

.left-wall,
.right-wall,
.window-stage {
  min-width: 0;
  height: 100%;
}

.left-wall {
  position: relative;
  background:
    #6d8eb2 url("images/2-blank-wall-left-bg.jpg") center / 100% 100% no-repeat;
}

.right-wall {
  background:
    #6d8eb2 url("images/4-blank-wall-right.jpg") center / 100% 100% no-repeat;
}

.left-content {
  position: absolute;
  z-index: 1;
  inset: 5.8% 8.5% 4.5% 7.8%;
  display: flex;
  flex-direction: column;
}

.left-content::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -2.5% -3%;
  border-radius: 18px;
  background:
    radial-gradient(
      ellipse at 45% 42%,
      rgba(210, 226, 238, 0.76) 0%,
      rgba(195, 217, 233, 0.58) 58%,
      rgba(180, 207, 227, 0.20) 82%,
      transparent 100%
    );
  filter: blur(2px);
  pointer-events: none;
}

.left-content h1 {
  flex: 0 0 auto;
  margin: 0 0 clamp(10px, 1.45vw, 22px);
  color: var(--window-gold);
  font-family: "Lobster", "Brush Script MT", "Segoe Script", cursive;
  font-size: clamp(2.18rem, 3.8vw, 3.2rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  text-shadow:
    0 2px 0 rgba(255, 239, 204, 0.3),
    0 3px 3px rgba(6, 33, 54, 0.75);
}

.panel-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
}

.intro-panel,
.controls-panel {
  position: absolute;
  inset: 0;
  transition:
    opacity 430ms ease,
    transform 430ms ease,
    visibility 430ms;
}

.intro-panel {
  display: flex;
  flex-direction: column;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.controls-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(18px);
}

.left-content.controls-open .intro-panel {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-18px);
}

.left-content.controls-open .controls-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.intro-panel p {
  margin: 0 0 clamp(10px, 1.15vw, 17px);
  color: #102c44;
  font-size: clamp(0.88rem, 1.34vw, 1.08rem);
  font-weight: 600;
  line-height: 1.43;
  text-shadow: 0 1px rgba(255, 255, 255, 0.28);
}

.open-window-link {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  margin-top: clamp(4px, 0.8vw, 12px);
  padding: 0.3rem 0.08rem 0.18rem;
  color: #7c3518;
  border-bottom: 2px solid rgba(124, 53, 24, 0.52);
  font-size: clamp(1.02rem, 1.65vw, 1.3rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  transition:
    color 170ms ease,
    border-color 170ms ease,
    gap 170ms ease;
}

.open-window-link:hover,
.open-window-link:focus-visible {
  gap: 0.9rem;
  color: #a65020;
  border-color: currentColor;
}

.intro-footnote {
  margin-top: auto !important;
  padding-top: 1rem;
  border-top: 1px solid rgba(18, 58, 91, 0.27);
  font-size: clamp(0.78rem, 1.1vw, 0.93rem) !important;
  font-style: italic;
  font-weight: 600 !important;
}

/* ----------------------------- Hidden controls ----------------------------- */

.controls-heading-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: clamp(8px, 1vw, 14px);
}

.controls-heading-row h2 {
  margin: 0;
  color: #143b5c;
  font-size: clamp(1.35rem, 2vw, 1.76rem);
  font-weight: 600;
  line-height: 1;
}

.close-controls {
  width: 35px;
  height: 35px;
  flex: 0 0 35px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #153a57;
  border: 1px solid rgba(18, 58, 91, 0.35);
  border-radius: 50%;
  background: rgba(247, 242, 232, 0.58);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  line-height: 1;
  transition:
    color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.close-controls:hover {
  color: #fff;
  background: #8c4b24;
  transform: rotate(5deg);
}

.form-field {
  margin-bottom: clamp(9px, 1vw, 14px);
}

.form-field label {
  display: block;
  margin: 0 0 5px;
  color: #143b5c;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.67rem, 0.9vw, 0.77rem);
  font-weight: 700;
  letter-spacing: 0.045em;
  line-height: 1.15;
  text-transform: uppercase;
}

.destination-row {
  display: grid;
  grid-template-columns: 1fr 42px;
  gap: 7px;
}

.form-field input,
.form-field select {
  width: 100%;
  min-height: clamp(38px, 3.6vw, 45px);
  padding: 0 12px;
  color: #112d43;
  border: 1px solid rgba(17, 55, 84, 0.42);
  border-radius: 6px;
  outline: none;
  background-color: rgba(250, 248, 243, 0.88);
  box-shadow:
    inset 0 1px 4px rgba(20, 45, 63, 0.12),
    0 1px rgba(255, 255, 255, 0.46);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.76rem, 1.06vw, 0.88rem);
}

.form-field select {
  padding-right: 34px;
}

.form-field input::placeholder {
  color: rgba(17, 45, 67, 0.52);
}

.form-field input:focus-visible,
.form-field select:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.surprise-button {
  min-height: clamp(38px, 3.6vw, 45px);
  padding: 0;
  color: #fff4d9;
  border: 1px solid #aa6731;
  border-radius: 6px;
  background:
    radial-gradient(circle at 37% 28%, rgba(255, 224, 161, 0.38), transparent 36%),
    linear-gradient(#bd7135, #7e421e);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1;
  transition: transform 150ms ease, filter 150ms ease;
}

.surprise-button:hover {
  transform: rotate(7deg) translateY(-1px);
  filter: brightness(1.08);
}

.website-field {
  position: absolute !important;
  left: -99999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.generate-button {
  width: 100%;
  min-height: clamp(43px, 4.1vw, 51px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  margin-top: clamp(10px, 1.2vw, 17px);
  padding: 8px 15px;
  color: #fff8ea;
  border: 1px solid #cc8b4a;
  border-radius: 8px;
  background:
    linear-gradient(180deg, #b66d32, #7f3f1c);
  box-shadow:
    0 6px 13px rgba(16, 43, 64, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.25);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.79rem, 1.14vw, 0.94rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 1px 2px rgba(52, 20, 4, 0.62);
  transition: transform 150ms ease, filter 150ms ease;
}

.generate-button:hover:not(:disabled) {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.generate-button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.status-line {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: clamp(8px, 1vw, 13px);
  padding: 7px 9px;
  color: #183b55;
  border: 1px solid rgba(18, 58, 91, 0.19);
  border-radius: 6px;
  background: rgba(244, 241, 234, 0.55);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.68rem, 0.9vw, 0.77rem);
  line-height: 1.25;
}

.status-line.error {
  color: var(--error);
  border-color: rgba(143, 30, 43, 0.38);
}

.status-line.success {
  color: var(--success);
  border-color: rgba(48, 104, 62, 0.36);
}

.status-orb {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--window-gold);
  box-shadow: 0 0 8px rgba(226, 140, 55, 0.8);
}

.window-stage.is-generating + .right-wall,
.window-stage.is-generating {
  cursor: progress;
}

.left-content.is-generating .status-orb {
  animation: statusPulse 900ms ease-in-out infinite alternate;
}

@keyframes statusPulse {
  from { opacity: 0.35; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1.25); }
}

.view-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 8px;
}

.view-actions button {
  min-height: 34px;
  padding: 6px 8px;
  color: #173953;
  border: 1px solid rgba(21, 57, 83, 0.34);
  border-radius: 5px;
  background: rgba(247, 244, 237, 0.73);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.64rem, 0.84vw, 0.73rem);
  font-weight: 700;
}

.view-actions button:hover {
  color: #fff;
  background: #315e88;
}

/* ----------------------------- Window layer ----------------------------- */

.window-stage {
  position: relative;
  overflow: hidden;
  background: #112f47;
  isolation: isolate;
}

.travel-view {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.008);
  filter: saturate(1.02) contrast(1.01);
  transition:
    opacity 800ms ease,
    filter 800ms ease,
    transform 6s ease;
}

.window-stage.has-generated-view .travel-view {
  transform: scale(1.055);
}

.window-stage.is-generating .travel-view {
  opacity: 0.46;
  filter: blur(5px) saturate(0.72);
}

.window-atmosphere {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 52% 42%, transparent 32%, rgba(5, 25, 40, 0.16) 100%),
    linear-gradient(110deg, rgba(255, 226, 168, 0.06), transparent 34%);
}

.generation-effect {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
}

.window-stage.is-generating .generation-effect {
  opacity: 1;
}

.generation-ring {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 66%;
  aspect-ratio: 1;
  border: 2px solid rgba(255, 221, 158, 0.73);
  border-radius: 50%;
  box-shadow:
    0 0 20px rgba(255, 210, 127, 0.5),
    inset 0 0 20px rgba(255, 210, 127, 0.27);
  transform: translate(-50%, -50%) scale(0.18);
}

.generation-ring-one {
  animation: openRing 2.3s ease-out infinite;
}

.generation-ring-two {
  animation: openRing 2.3s 1.05s ease-out infinite;
}

.generation-glow {
  position: absolute;
  left: 50%;
  top: 48%;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 226, 167, 0.22);
  filter: blur(24px);
  transform: translate(-50%, -50%);
  animation: windowGlow 1.6s ease-in-out infinite alternate;
}

@keyframes openRing {
  0% {
    opacity: 0.9;
    transform: translate(-50%, -50%) scale(0.16);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.6);
  }
}

@keyframes windowGlow {
  from { opacity: 0.25; transform: translate(-50%, -50%) scale(0.8); }
  to { opacity: 0.85; transform: translate(-50%, -50%) scale(1.22); }
}

.travel-window-frame {
  position: absolute;
  z-index: 10;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
  user-select: none;
}

.view-label {
  position: absolute;
  z-index: 11;
  left: 9%;
  right: 11%;
  bottom: 4.7%;
  padding: 7px 11px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 7px;
  background: rgba(7, 26, 40, 0.67);
  box-shadow: 0 4px 13px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
  font-family: Arial, Helvetica, sans-serif;
  pointer-events: none;
}

.view-label strong,
.view-label span {
  display: block;
}

.view-label strong {
  font-size: clamp(0.68rem, 1vw, 0.88rem);
  line-height: 1.2;
}

.view-label span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(0.55rem, 0.75vw, 0.68rem);
  line-height: 1.2;
}

/* ----------------------------- Lower wall ----------------------------- */

.chair-rail {
  height: 40px;
  background:
    #e7e4df url("images/5-chair-rail-bg.png") center / 100% 40px no-repeat;
}

.wainscot-shadow {
  height: 9px;
  background:
    #0b2e49 url("images/6-wainscotting-shadow-spacer.gif") center / 100% 9px no-repeat;
}

.wainscot-content {
  min-height: 339px;
  padding: clamp(36px, 4.5vw, 62px) clamp(28px, 4.6vw, 62px);
  color: #edf5fb;
  background:
    #0c3452 url("images/7-wainscotting-bg.jpg") center top / 100% auto repeat-y;
}

.lower-grid {
  display: grid;
  grid-template-columns: minmax(0, 39%) minmax(0, 61%);
  gap: clamp(30px, 4.4vw, 64px);
}

.lower-eyebrow,
.ad-label {
  margin: 0 0 7px;
  color: #c7d9e8;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.site-highlights h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.42rem, 2.2vw, 2rem);
  font-weight: 600;
  line-height: 1;
}

.highlight-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}

.highlight-links a {
  min-height: 92px;
  display: flex;
  flex-direction: column;
  padding: 12px;
  color: #eaf3fa;
  border: 1px solid rgba(211, 229, 241, 0.2);
  border-radius: 7px;
  background: rgba(5, 30, 48, 0.35);
  text-decoration: none;
  transition:
    border-color 160ms ease,
    background 160ms ease,
    transform 160ms ease;
}

.highlight-links a:hover {
  border-color: rgba(244, 181, 99, 0.68);
  background: rgba(8, 37, 57, 0.76);
  transform: translateY(-2px);
}

.highlight-links strong {
  color: #ffd08e;
  font-size: 0.92rem;
  line-height: 1.05;
}

.highlight-links span {
  margin-top: 6px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.69rem;
  line-height: 1.32;
}

.newsletter-note {
  margin: 15px 0 0;
  color: rgba(232, 243, 250, 0.8);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  line-height: 1.4;
}

.commercial-area {
  min-width: 0;
}

.ad-label {
  text-align: center;
}

.ad-slot {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 18px;
  color: rgba(232, 242, 249, 0.58);
  border: 1px solid rgba(211, 229, 241, 0.25);
  border-radius: 7px;
  background:
    linear-gradient(135deg, rgba(6, 28, 44, 0.42), rgba(14, 56, 82, 0.35));
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.035em;
  text-align: center;
}

.partner-note {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 3px solid #d7974f;
  background: rgba(6, 27, 43, 0.25);
}

.partner-note strong {
  color: #ffd08e;
  white-space: nowrap;
}

.partner-note span {
  color: rgba(233, 243, 250, 0.78);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  line-height: 1.35;
}

/* ----------------------------- Footer ----------------------------- */

.site-footer {
  min-height: 38px;
  display: grid;
  place-items: center;
  padding: 8px 22px;
  color: #293947;
  background:
    #eeece8 url("images/8-footer-bg.png") center / 100% 38px no-repeat;
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(0.67rem, 1.04vw, 0.83rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1.1;
  text-transform: uppercase;
}

.noscript-note {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: 1rem;
  width: min(92%, 680px);
  padding: 0.75rem 1rem;
  color: #fff;
  border-radius: 7px;
  background: #7c1f2b;
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
  transform: translateX(-50%);
}

/* ----------------------------- Responsive layout ----------------------------- */

@media (max-width: 940px) {
  .site-header {
    min-height: 62px;
    background-size: auto 62px;
  }

  .nav-toggle {
    position: relative;
    z-index: 2;
    min-height: 62px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
    padding: 9px 20px;
    color: #20374a;
    border: 0;
    background: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
  }

  .nav-toggle-lines,
  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    width: 25px;
    height: 2px;
    display: block;
    background: currentColor;
    transition: transform 180ms ease;
  }

  .nav-toggle-lines {
    position: relative;
  }

  .nav-toggle-lines::before,
  .nav-toggle-lines::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .nav-toggle-lines::before { top: -7px; }
  .nav-toggle-lines::after { top: 7px; }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines {
    background: transparent;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
    top: 0;
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
    top: 0;
    transform: rotate(-45deg);
  }

  .main-navigation {
    min-height: 0;
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    background: rgba(240, 238, 233, 0.98);
    transition: max-height 300ms ease, padding 300ms ease;
  }

  .main-navigation.open {
    max-height: 620px;
    padding: 8px 20px 22px;
  }

  .main-navigation ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
  }

  .main-navigation li {
    border-bottom: 1px solid rgba(31, 53, 72, 0.14);
  }

  .main-navigation a {
    width: 100%;
    padding: 11px 8px;
    font-size: 1rem;
    white-space: normal;
  }

  .wall-scene {
    display: block;
    aspect-ratio: auto;
    overflow: visible;
  }

  .left-wall {
    min-height: 595px;
    background-size: cover;
  }

  .left-content {
    position: relative;
    inset: auto;
    min-height: 595px;
    padding: 34px clamp(28px, 7vw, 62px) 38px;
  }

  .left-content::before {
    inset: 14px clamp(16px, 4vw, 36px);
    background: rgba(201, 220, 235, 0.58);
    border: 1px solid rgba(240, 248, 253, 0.24);
    box-shadow: 0 10px 25px rgba(5, 34, 54, 0.12);
    filter: none;
  }

  .left-content h1 {
    font-size: clamp(2.9rem, 9vw, 4.4rem);
  }

  .panel-stage {
    min-height: 455px;
  }

  .intro-panel p {
    font-size: clamp(1.03rem, 2.8vw, 1.2rem);
  }

  .controls-panel {
    max-width: 600px;
    margin: 0 auto;
  }

  .window-stage {
    width: 100%;
    height: auto;
    aspect-ratio: 673 / 712;
  }

  .right-wall {
    display: none;
  }

  .lower-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .main-navigation ul {
    grid-template-columns: 1fr;
  }

  .left-wall {
    min-height: 650px;
  }

  .left-content {
    min-height: 650px;
    padding-inline: 24px;
  }

  .left-content h1 {
    margin-bottom: 20px;
  }

  .panel-stage {
    min-height: 505px;
  }

  .highlight-links {
    grid-template-columns: 1fr;
  }

  .partner-note {
    grid-template-columns: 1fr;
  }

  .partner-note strong {
    white-space: normal;
  }

  .wainscot-content {
    padding-inline: 22px;
  }

  .site-footer p {
    letter-spacing: 0.08em;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* ============================================================
   V2: DUAL WINDOW STATES, SEASONAL VIEWS & DESTINATION LINKS
   ============================================================ */

/*
  Both frame PNGs must share the same pixel dimensions and positioning.
  The supplied working frame has been duplicated under both names as a
  temporary placeholder. Replace the files without changing the HTML.
*/

.seasonal-view,
.generated-view {
  transition:
    opacity 760ms ease,
    filter 760ms ease,
    transform 6s ease;
}

.seasonal-view {
  opacity: 1;
  z-index: 1;
}

.generated-view {
  opacity: 0;
  z-index: 2;
}

.seasonal-view.is-changing {
  opacity: 0.2;
  filter: blur(3px) saturate(0.75);
}

.window-stage.show-generated-view .seasonal-view {
  opacity: 0;
  filter: blur(3px) saturate(0.8);
  transform: scale(1.025);
}

.window-stage.show-generated-view .generated-view {
  opacity: 1;
}

.window-stage.has-generated-view .generated-view {
  transform: scale(1.045);
}

.window-stage.is-switching-generated .generated-view {
  opacity: 0.12;
  filter: blur(5px) saturate(0.72);
  transform: scale(1.065);
}

.closed-window-frame,
.open-window-frame {
  transform-origin: 50% 50%;
  transition:
    opacity 850ms ease,
    filter 850ms ease,
    transform 850ms ease;
}

.closed-window-frame {
  opacity: 1;
}

.open-window-frame {
  opacity: 0;
  transform: scale(1.008);
}

.window-stage.window-is-open .closed-window-frame {
  opacity: 0;
  filter: blur(1.5px);
  transform: scale(1.014);
}

.window-stage.window-is-open .open-window-frame {
  opacity: 1;
  transform: scale(1);
}

.window-stage.window-is-closed .closed-window-frame {
  opacity: 1;
}

.window-stage.window-is-closed .open-window-frame {
  opacity: 0;
}

.window-stage.is-generating .seasonal-view,
.window-stage.is-generating .generated-view {
  filter: blur(4px) saturate(0.72);
}

.view-actions {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.destination-links-card {
  width: 100%;
  margin: 0 0 clamp(32px, 4vw, 54px);
  padding: clamp(22px, 3vw, 34px);
  color: #18384f;
  border: 1px solid rgba(220, 234, 244, 0.58);
  border-radius: 14px;
  background:
    linear-gradient(
      145deg,
      rgba(245, 248, 250, 0.96),
      rgba(218, 231, 240, 0.92)
    );
  box-shadow:
    0 18px 38px rgba(1, 20, 34, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.88);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 420ms ease,
    transform 420ms ease;
}

.destination-links-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.destination-links-intro {
  max-width: 850px;
  margin-bottom: 20px;
}

.destination-links-intro .lower-eyebrow {
  color: #416884;
}

.destination-links-intro h2 {
  margin: 0 0 7px;
  color: #123a5b;
  font-size: clamp(1.55rem, 2.6vw, 2.3rem);
  font-weight: 600;
  line-height: 1.05;
}

.destination-links-intro p:last-child {
  margin: 0;
  color: #29495f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.78rem, 1.05vw, 0.92rem);
  line-height: 1.5;
}

.destination-link-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 34px);
}

.destination-link-group h3 {
  margin: 0 0 10px;
  color: #244d69;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.resolved-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.resolved-link {
  position: relative;
  min-height: 108px;
  display: flex;
  flex-direction: column;
  padding: 15px 36px 14px 15px;
  color: #163c57;
  border: 1px solid rgba(31, 77, 108, 0.23);
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  transition:
    transform 170ms ease,
    border-color 170ms ease,
    box-shadow 170ms ease,
    background 170ms ease;
}

.resolved-link:hover,
.resolved-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(174, 102, 45, 0.66);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 8px 20px rgba(12, 44, 66, 0.13);
}

.resolved-link strong {
  color: #123a5b;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.08rem;
  line-height: 1.05;
}

.resolved-link span:not(.resolved-link-arrow) {
  margin-top: 7px;
  color: #466477;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.7rem;
  line-height: 1.36;
}

.resolved-link-arrow {
  position: absolute;
  right: 14px;
  top: 15px;
  color: #9b5727;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1.2rem;
  line-height: 1;
}

.resolved-link-affiliate {
  border-color: rgba(154, 87, 39, 0.34);
  background:
    linear-gradient(
      145deg,
      rgba(255, 249, 237, 0.92),
      rgba(244, 226, 198, 0.84)
    );
}

.resolved-link-affiliate::after {
  content: "Partner";
  align-self: flex-start;
  margin-top: auto;
  padding-top: 9px;
  color: #8b572e;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.affiliate-disclosure {
  margin: 16px 0 0;
  color: #557083;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  line-height: 1.4;
}

@media (max-width: 940px) {
  .view-actions {
    grid-template-columns: 1fr;
  }

  .destination-link-groups {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .resolved-links {
    grid-template-columns: 1fr;
  }
}
