/* ==========================================================================
   HAAT AT DHAAR — Signature Design System & Fine-Art Theme
   Version: Sketch & Mountain Edition
   ========================================================================== */

/* Typography */
@font-face {
  font-family: "Bodoni Moda";
  src: url("../fonts/bodoni.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Tiro Devanagari Hindi";
  src: url("../fonts/tiro-devanagari.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+25CC, U+A830-A839, U+A8E0-A8FF;
}
@font-face {
  font-family: "Tiro Devanagari Hindi";
  src: url("../fonts/tiro-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --gold: #bd8938;
  --ochre: #926f49;
  --background: #e2ded8;
  --foreground: #62402d;
  --canvas: #e2ded8;
  --paper: #e2ded8;
  --ink: #62402d;
  --slate: #716f74;
  --mist: #d4b68e;
  --apricot: #a25132;
  --deodar: #465034;
  --line: rgba(98, 64, 45, 0.2);
  --card: #e2ded8;
  --card-foreground: #62402d;
  --popover: #e2ded8;
  --popover-foreground: #62402d;
  --primary: #465034;
  --primary-foreground: #e2ded8;
  --secondary: #d4b68e;
  --secondary-foreground: #62402d;
  --muted: #e2ded8;
  --muted-foreground: #62402d;
  --accent: #a25132;
  --accent-foreground: #62402d;
  --destructive: #a25132;
  --border: rgba(98, 64, 45, 0.18);
  --input: rgba(98, 64, 45, 0.18);
  --ring: #716f74;
  --radius: 0.75rem;

  --font-serif: "Bodoni Moda", "Tiro Devanagari Hindi", Georgia, serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-hindi: "Tiro Devanagari Hindi", serif;

  /* Compatibility aliases for subpages */
  --c-linen: #E2DED8;
  --c-sand: #D4B68E;
  --c-terracotta: #A25132;
  --c-slate: #716F74;
  --c-gold: #BD8938;
  --c-walnut: #926F49;
  --c-olive: #465034;
  --c-deep-walnut: #62402D;
  --c-cream: #FAF8F5;
  --c-charcoal: #1C1C1B;
  --c-dark-timber: #16120E;
  --font-serif-display: var(--font-serif);
  --font-serif-accent: var(--font-serif);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --shadow-soft: 0 10px 30px rgba(98, 64, 45, 0.08);
  --shadow-elevated: 0 20px 45px rgba(98, 64, 45, 0.14);
  --transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  --hero-shift: 0px;
  --page-progress: 0%;
  --hero-progress: 0;
  --hero-content-y: 0px;
  --hero-content-scale: 1;
  --hero-content-opacity: 1;
  --hero-art-scale: 1.02;
  --hero-draw: 0;
  --hero-reveal: 0%;
  --hero-far-y: 0px;
  --hero-mid-y: 0px;
  --hero-near-y: 0px;
}

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

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: var(--page-progress);
  height: 2px;
  content: "";
  background: var(--apricot);
  pointer-events: none;
}

/* Layout & Containers */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.container-narrow {
  width: 88%;
  max-width: 860px;
  margin: 0 auto;
}

.section {
  padding: clamp(60px, 8vw, 120px) 0;
  position: relative;
}

.section-header {
  margin-bottom: clamp(30px, 5vw, 60px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.85rem 1.8rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--deodar);
  color: var(--paper);
  border-color: var(--deodar);
}

.btn-primary:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ==========================================================================
   Editorial Subpages & Mobile Optimization System
   ========================================================================== */
.hero-editorial {
  padding: clamp(105px, 12vw, 150px) 0 clamp(32px, 4vw, 60px);
  position: relative;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-editorial h1 {
  margin: 16px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(34px, 5.5vw, 68px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.hero-editorial .hero-lead {
  font-size: clamp(16px, 1.8vw, 21px);
  line-height: 1.65;
  color: var(--ink);
  max-width: 800px;
}

/* Responsive Two-Column Split Grid */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  margin-bottom: clamp(40px, 6vw, 75px);
}

.split-grid.asymmetric-left {
  grid-template-columns: 1.15fr 0.85fr;
}

.split-grid.asymmetric-right {
  grid-template-columns: 0.85fr 1.15fr;
}

.split-grid h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 18px;
}

.split-grid p {
  font-size: clamp(15px, 1.3vw, 17px);
  line-height: 1.8;
  margin-bottom: 16px;
}

.split-media img {
  width: 100%;
  height: clamp(260px, 42vw, 460px);
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

/* Journal Chronicle List */
.journal-list {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vw, 70px);
}

.journal-card {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(28px, 4.5vw, 60px);
  align-items: center;
  padding-bottom: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}

.journal-card.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

.journal-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 14px;
}

.journal-chapter {
  color: var(--apricot);
}

.journal-card h2 {
  font-family: var(--font-serif);
  font-size: clamp(28px, 3.8vw, 44px);
  line-height: 1.18;
  margin-bottom: 18px;
}

.journal-card p {
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.8;
  margin-bottom: 14px;
}

.journal-card img {
  width: 100%;
  height: clamp(260px, 38vw, 400px);
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--line);
}

/* ==========================================================================
   Luxury Editorial Contact Page & Professional Form System
   ========================================================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(36px, 5.5vw, 72px);
  align-items: start;
}

.contact-layout h2 {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3.8vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  margin: 12px 0 16px;
  color: var(--ink);
}

/* Coordinates & Elevation Pill */
.contact-coords-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(98, 64, 45, 0.07);
  border: 1px solid rgba(98, 64, 45, 0.14);
  border-radius: 999px;
  font-family: var(--font-serif-accent);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--apricot);
  margin-bottom: 18px;
}

/* Contact Channel Cards */
.contact-channels-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 26px 0;
}

.contact-channel-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(98, 64, 45, 0.1);
  border-radius: 8px;
  transition: all 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-channel-card:hover {
  background: #FFF;
  border-color: rgba(98, 64, 45, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px -8px rgba(60, 40, 25, 0.08);
}

.contact-channel-icon {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(212, 182, 142, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--apricot);
}

.contact-channel-body {
  flex-grow: 1;
}

.contact-channel-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 3px;
}

.contact-channel-val {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.5;
}

.contact-channel-val a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(98, 64, 45, 0.3);
  transition: text-decoration-color 200ms ease, color 200ms ease;
}

.contact-channel-val a:hover {
  color: var(--apricot);
  text-decoration-color: var(--apricot);
}

/* Mountain Route / Transit Box */
.contact-route-card {
  background: rgba(245, 240, 233, 0.75);
  border: 1px solid rgba(98, 64, 45, 0.12);
  border-radius: 8px;
  padding: clamp(20px, 3vw, 26px);
  margin-top: 24px;
}

.contact-route-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.contact-transit-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-transit-item {
  display: flex;
  gap: 12px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink);
}

.contact-transit-tag {
  flex-shrink: 0;
  font-weight: 700;
  color: var(--apricot);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 1px;
}

/* ==========================================================================
   Luxury Inquiry Form Box & Professional Fields
   ========================================================================== */
.contact-card-box {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  padding: clamp(24px, 4.5vw, 44px);
  border-radius: 12px;
  border: 1px solid rgba(98, 64, 45, 0.15);
  box-shadow: 0 24px 50px -18px rgba(60, 40, 25, 0.12);
}

.contact-card-box .form-header {
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(98, 64, 45, 0.1);
}

.contact-card-box .form-header h3 {
  font-family: var(--font-serif);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 6px 0 8px;
}

.contact-card-box .form-header p {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--slate);
  margin: 0;
}

/* Form Grid System */
.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 20px;
}

.contact-form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-form-group.col-span-2 {
  grid-column: 1 / -1;
}

.contact-form-group label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--slate);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.contact-form-group label .hint {
  font-weight: 400;
  text-transform: none;
  font-size: 11px;
  color: rgba(98, 64, 45, 0.55);
}

.contact-form-group input,
.contact-form-group select,
.contact-form-group textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid rgba(98, 64, 45, 0.18);
  border-radius: 6px;
  background: #FFFFFF;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.5;
  outline: none;
  transition: border-color 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
  box-sizing: border-box;
}

.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder {
  color: rgba(98, 64, 45, 0.42);
  font-weight: 400;
}

.contact-form-group input:hover,
.contact-form-group select:hover,
.contact-form-group textarea:hover {
  border-color: rgba(98, 64, 45, 0.38);
}

.contact-form-group input:focus,
.contact-form-group select:focus,
.contact-form-group textarea:focus {
  border-color: var(--apricot);
  box-shadow: 0 0 0 3px rgba(162, 81, 50, 0.12);
  background: #FFF;
}

/* Custom styled select with refined SVG chevron */
.contact-form-group select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2362402D' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 42px;
  cursor: pointer;
}

.contact-form-group textarea {
  min-height: 110px;
  resize: vertical;
}

/* Button & Privacy Reassurance */
.contact-submit-btn {
  width: 100%;
  margin-top: 8px;
  padding: 16px 28px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  border-radius: 6px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 14px rgba(45, 29, 20, 0.15);
}

.contact-submit-btn:hover {
  background: var(--apricot);
  border-color: var(--apricot);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(162, 81, 50, 0.25);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.contact-privacy-note {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  color: var(--slate);
  text-align: center;
  line-height: 1.5;
}

.contact-privacy-note svg {
  flex-shrink: 0;
  color: var(--apricot);
}

/* Tablet & Mobile Breakpoints for Subpages */
@media (max-width: 860px) {
  .split-grid,
  .split-grid.asymmetric-left,
  .split-grid.asymmetric-right {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .split-grid.reverse-mobile > :first-child {
    order: 2;
  }
  .split-grid.reverse-mobile > :last-child {
    order: 1;
  }

  .journal-card,
  .journal-card.reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .journal-card.reverse > :first-child {
    order: 2;
  }
  .journal-card.reverse > :last-child {
    order: 1;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact-form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

::selection {
  color: var(--paper);
  background: var(--deodar);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
  transition: transform 180ms ease;
}

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

/* ==========================================================================
   Site Header & Navigation
   ========================================================================== */

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  display: grid;
  width: 100%;
  height: 82px;
  padding: 0 clamp(22px, 4vw, 68px);
  align-items: center;
  grid-template-columns: 1fr auto 1fr;
  color: var(--ink);
  border-bottom: 1px solid rgba(98, 64, 45, 0.18);
  transition: height 300ms ease, color 300ms ease, background 300ms ease, backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  height: 66px;
  color: var(--ink);
  border-color: rgba(98, 64, 45, 0.12);
  background: rgba(226, 222, 216, 0.87);
  backdrop-filter: blur(18px);
}

.header-mark {
  display: inline-flex;
  justify-self: start;
  align-items: baseline;
  gap: 7px;
  font-family: var(--font-serif);
}

.header-mark span:first-child {
  font-size: 24px;
}

.header-mark span:last-child {
  font-size: 15px;
  letter-spacing: 0.04em;
}

.header-mark span[lang="hi"] {
  font-family: var(--font-hindi);
}

.site-header.pages-header {
  grid-template-columns: auto 1fr;
  gap: 30px;
}

.pages-header .pages-navigation {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(15px, 2vw, 30px);
}

.pages-header .pages-navigation a {
  position: relative;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.pages-header .pages-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.pages-header .pages-navigation a:hover::after,
.pages-header .pages-navigation a:focus-visible::after,
.pages-header .pages-navigation a.is-current::after,
.pages-header .pages-navigation a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.pages-menu-button {
  display: none;
}

.pages-haat-group {
  position: relative;
}

.pages-haat-label {
  display: flex;
  align-items: center;
  gap: 3px;
}

.pages-haat-label button {
  display: inline-flex;
  padding: 7px;
  border: 0;
  background: none;
  color: var(--ink);
  cursor: pointer;
}

.pages-haat-label button svg {
  width: 13px;
  height: 13px;
}

.pages-haat-submenu {
  position: absolute;
  top: calc(100% + 14px);
  left: -20px;
  width: 190px;
  padding: 10px 20px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: 0 12px 26px rgba(98, 64, 45, 0.1);
}

.pages-haat-submenu[hidden] {
  display: none;
}

.pages-haat-submenu a {
  display: block;
  padding: 13px 0;
}

.pages-haat-submenu a::after {
  bottom: 5px !important;
}

.pages-header button:focus-visible,
.pages-header a:focus-visible {
  outline: 2px solid var(--deodar);
  outline-offset: 5px;
}

/* ==========================================================================
   Sticky Journey Rail
   ========================================================================== */

.journey-rail {
  position: fixed;
  z-index: 44;
  top: 50%;
  left: 24px;
  display: flex;
  height: 250px;
  align-items: flex-start;
  justify-content: space-between;
  flex-direction: column;
  transform: translateY(-44%);
}

.journey-rail > span {
  position: absolute;
  z-index: -1;
  top: 8px;
  bottom: 8px;
  left: 4px;
  width: 1px;
  background: rgba(98, 64, 45, 0.2);
}

.journey-rail a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 240ms ease, transform 240ms ease;
  opacity: 0.55;
}

.journey-rail a i {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: var(--canvas);
  transition: background 240ms ease, transform 240ms ease;
}

.journey-rail a.is-active {
  color: var(--ink);
  opacity: 1;
  transform: translateX(4px);
}

.journey-rail a.is-active i {
  background: var(--gold);
  border-color: var(--gold);
  transform: scale(1.25);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: 130px clamp(22px, 4vw, 68px) 42px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: #e2ded8;
  overflow: hidden;
}

.hero-image {
  position: absolute;
  inset: -10% 0;
  transform: translateY(var(--hero-shift)) scale(var(--hero-art-scale));
  will-change: transform;
}

.hero-depth {
  inset: -7% -2%;
  transform: none;
}

.hero-plane,
.hero-sketch-reveal {
  position: absolute;
  inset: 0;
  overflow: hidden;
  will-change: transform, opacity, clip-path;
}

.hero-plane img,
.hero-sketch-reveal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(0.38) sepia(0.12) contrast(0.86) brightness(1.06);
}

.hero-plane-far {
  -webkit-mask-image: linear-gradient(to bottom, #000 0 58%, transparent 73%);
  mask-image: linear-gradient(to bottom, #000 0 58%, transparent 73%);
  transform: translate3d(0, var(--hero-far-y), 0) scale(1.035);
}

.hero-plane-mid {
  -webkit-mask-image: linear-gradient(to bottom, transparent 28%, #000 46% 78%, transparent 91%);
  mask-image: linear-gradient(to bottom, transparent 28%, #000 46% 78%, transparent 91%);
  transform: translate3d(0, var(--hero-mid-y), 0) scale(1.055);
}

.hero-plane-near {
  -webkit-mask-image: linear-gradient(to bottom, transparent 59%, #000 77%);
  mask-image: linear-gradient(to bottom, transparent 59%, #000 77%);
  transform: translate3d(0, var(--hero-near-y), 0) scale(1.075);
}

.hero-sketch-reveal {
  opacity: 0.58;
  clip-path: inset(0 calc(100% - var(--hero-reveal)) 0 0);
  mix-blend-mode: multiply;
  filter: contrast(1.12) grayscale(0.9) sepia(0.12);
  transform: translate3d(0, var(--hero-far-y), 0) scale(1.035);
}

.hero-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(226, 222, 216, 0.28) 0%, rgba(226, 222, 216, 0.04) 48%, rgba(226, 222, 216, 0.64) 100%),
    linear-gradient(90deg, rgba(226, 222, 216, 0.14), rgba(212, 182, 142, 0.04));
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  width: min(720px, 86vw);
  margin-top: 6vh;
  align-items: center;
  flex-direction: column;
  text-align: center;
  opacity: var(--hero-content-opacity);
  transform: translateY(var(--hero-content-y)) scale(var(--hero-content-scale));
  transform-origin: center;
  will-change: transform, opacity;
}

.hero-eyebrow,
.eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: rgba(98, 64, 45, 0.82);
}

.hero-logo {
  width: min(510px, 72vw);
  height: auto;
  margin: -17% 0 -16%;
  filter: drop-shadow(0 8px 28px rgba(98, 64, 45, 0.08));
}

.hero-intro {
  max-width: 590px;
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(21px, 2vw, 29px);
  line-height: 1.45;
  text-wrap: balance;
}

.hero-foot {
  position: absolute;
  z-index: 2;
  right: clamp(22px, 4vw, 68px);
  bottom: 34px;
  left: clamp(22px, 4vw, 68px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-foot a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-foot svg {
  width: 15px;
  height: 15px;
  animation: drift-down 1.8s ease-in-out infinite;
}

@keyframes drift-down {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(4px); }
}

/* ==========================================================================
   01. Opening: The Idea
   ========================================================================== */

.opening {
  position: relative;
  display: grid;
  min-height: 88vh;
  padding: clamp(100px, 13vw, 190px) clamp(22px, 7vw, 118px) 110px;
  grid-template-columns: 90px minmax(0, 1fr);
  background: var(--canvas);
  overflow: hidden;
}

.section-number {
  padding-top: 10px;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0.16em;
}

.opening-copy {
  max-width: 1100px;
}

.opening h2,
.table-copy h2,
.rhythm-heading h2,
.closing h2 {
  margin: 22px 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.99;
  text-wrap: balance;
}

.opening h2 {
  max-width: 920px;
  font-size: clamp(56px, 8.5vw, 132px);
}

.opening h2 em,
.scroll-sentence .is-em {
  color: var(--deodar);
  font-style: italic;
  font-weight: 400;
}

.scroll-sentence span {
  display: inline;
  opacity: 0.16;
  transition: opacity 180ms linear, color 180ms linear;
}

.opening-columns {
  display: grid;
  max-width: 900px;
  margin-top: clamp(54px, 7vw, 94px);
  gap: clamp(36px, 7vw, 100px);
  grid-template-columns: 1.2fr 0.8fr;
}

.opening-columns p {
  margin: 0;
  color: #62402d;
  font-size: 16px;
  line-height: 1.8;
}

.opening-columns .lead {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.6vw, 37px);
  line-height: 1.45;
}

.ridge-rule {
  position: absolute;
  right: -5vw;
  bottom: 36px;
  display: flex;
  width: 48vw;
  height: 60px;
  align-items: end;
  opacity: 0.45;
}

.ridge-rule span {
  width: 38%;
  height: 1px;
  background: var(--slate);
}

.ridge-rule i {
  width: 24%;
  height: 34px;
  border-top: 1px solid var(--gold);
  transform: skewY(-13deg) translateY(16px);
}

/* ==========================================================================
   02. The Ascent (Chapter Two)
   ========================================================================== */

.traveller-scene {
  --scene-progress: 0;
  --scene-y: 48px;
  --scene-roll: 5deg;
  --scene-clip: 25%;
  --scene-opacity: 0;
  --route-y: 18%;
  position: relative;
  min-height: 360vh;
  color: var(--ink);
  background: #e2ded8;
}

.traveller-sticky {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  min-height: 680px;
  padding: 8vh clamp(70px, 8vw, 132px);
  align-items: center;
  grid-template-columns: minmax(0, 1.28fr) minmax(330px, 0.72fr);
  gap: clamp(55px, 8vw, 130px);
  overflow: hidden;
  perspective: 1200px;
}

.traveller-art {
  position: relative;
  width: 100%;
  height: min(80vh, 860px);
  overflow: hidden;
  opacity: var(--scene-opacity);
  clip-path: inset(var(--scene-clip) 0 var(--scene-clip) 0 round 48% 48% 2px 2px / 16% 16% 2px 2px);
  transform: translate3d(0, var(--scene-y), 0) rotateX(var(--scene-roll));
  transform-origin: center bottom;
  will-change: transform, opacity, clip-path;
}

.traveller-depth {
  background: #e2ded8;
  transform: translate3d(0, calc(var(--scene-y) * 0.55), 0) rotateX(calc(var(--scene-roll) * 0.24));
}

.forest-plane {
  position: absolute;
  inset: -5%;
  will-change: transform;
}

.forest-plane img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
  filter: saturate(0.38) sepia(0.12) contrast(0.86) brightness(1.06);
}

.forest-sky {
  -webkit-mask-image: linear-gradient(to bottom, #000 0 48%, transparent 69%);
  mask-image: linear-gradient(to bottom, #000 0 48%, transparent 69%);
  transform: translate3d(0, var(--forest-far-y, 0), -35px) scale(1.04);
}

.forest-middle {
  -webkit-mask-image: linear-gradient(to bottom, transparent 26%, #000 46% 82%, transparent 96%);
  mask-image: linear-gradient(to bottom, transparent 26%, #000 46% 82%, transparent 96%);
  transform: translate3d(var(--forest-mid-x, 0), var(--forest-mid-y, 0), 28px) scale(1.075);
}

.forest-near {
  -webkit-mask-image: linear-gradient(to bottom, transparent 47%, #000 69%);
  mask-image: linear-gradient(to bottom, transparent 47%, #000 69%);
  transform: translate3d(var(--forest-near-x, 0), var(--forest-near-y, 0), 72px) scale(1.12);
}

.path-glow {
  position: absolute;
  right: 20%;
  bottom: -8%;
  width: 50%;
  height: 70%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(189, 137, 56, 0.21), transparent 67%);
  opacity: var(--path-opacity, 0);
  transform: translateY(var(--path-y, 0));
  mix-blend-mode: multiply;
}

.paper-edge {
  position: absolute;
  z-index: 2;
  inset: 12px;
  border: 1px solid rgba(98, 64, 45, 0.18);
  pointer-events: none;
}

.traveller-copy {
  position: relative;
  z-index: 3;
  opacity: var(--scene-opacity);
  transform: translateY(var(--scene-y));
  will-change: transform, opacity;
}

.traveller-lines {
  position: relative;
  min-height: 510px;
}

.traveller-line {
  will-change: opacity, transform;
}

.traveller-line.line-one,
.traveller-line.line-two {
  position: absolute;
  right: 0;
  margin: 0;
  color: var(--deodar);
  font-family: var(--font-serif);
  font-size: clamp(25px, 2.2vw, 34px);
  font-style: italic;
}

.line-one {
  top: 8px;
  opacity: var(--line-one-opacity, 0);
  transform: translateY(var(--line-one-y, 0));
}

.line-two {
  top: 56px;
  opacity: var(--line-two-opacity, 0);
  transform: translateY(var(--line-two-y, 0));
}

.traveller-copy .line-three {
  padding-top: 130px;
  font-family: var(--font-serif);
  font-size: clamp(50px, 5.4vw, 86px);
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.99;
  opacity: var(--line-three-opacity, 0);
  transform: translateY(var(--line-three-y, 0));
}

.traveller-copy .line-four {
  max-width: 440px;
  margin: 28px 0 0;
  color: #62402d;
  font-size: 17px;
  line-height: 1.8;
  opacity: var(--line-four-opacity, 0);
  transform: translateY(var(--line-four-y, 0));
}

.scene-route {
  position: absolute;
  top: 18%;
  right: 46px;
  bottom: 18%;
  width: 1px;
  background: rgba(98, 64, 45, 0.22);
}

.scene-route i {
  position: absolute;
  top: var(--route-y);
  left: 50%;
  width: 13px;
  height: 13px;
  border: 3px solid #e2ded8;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 1px rgba(98, 64, 45, 0.18);
  transform: translate(-50%, -50%);
  transition: top 90ms linear;
}

.scene-counter {
  position: absolute;
  right: 31px;
  bottom: 8%;
  margin: 0;
  color: var(--slate);
  font-size: 10px;
  letter-spacing: 0.14em;
  transform: rotate(-90deg);
}

/* ==========================================================================
   03. The Table
   ========================================================================== */

.table-story {
  position: relative;
  display: block;
  min-height: 270vh;
  padding: 0;
  overflow: clip;
  background: var(--paper);
}

.table-sticky {
  position: sticky;
  top: 0;
  display: grid;
  width: 100%;
  height: 100vh;
  min-height: 680px;
  padding: 8vh clamp(22px, 7vw, 118px);
  place-items: center;
  grid-template-columns: minmax(0, 0.95fr) minmax(350px, 0.75fr);
  gap: clamp(55px, 10vw, 150px);
  overflow: hidden;
}

.table-waypoint {
  position: relative;
  display: flex;
  width: min(100%, 650px);
  min-height: min(72vh, 690px);
  padding: clamp(44px, 6vw, 82px);
  justify-content: center;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 50% 50% 2px 2px / 22% 22% 2px 2px;
  background: #d4b68e;
  opacity: var(--table-opacity, 0.2);
  transform: translate3d(var(--table-left-x, 0), 0, 0) scale(var(--scene-zoom));
  transform-origin: center;
  will-change: transform, opacity;
}

.table-waypoint p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(74px, 9vw, 140px);
  letter-spacing: -0.06em;
  line-height: 0.86;
}

.table-waypoint p:first-child {
  color: var(--deodar);
  align-self: flex-start;
  font-family: var(--font-hindi);
}

.table-waypoint p:nth-of-type(2) {
  color: var(--apricot);
  align-self: flex-end;
  font-style: italic;
}

.table-waypoint span {
  margin: 26px 0;
  align-self: center;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.table-waypoint i {
  position: absolute;
  right: 8%;
  bottom: 8%;
  width: 54%;
  height: 1px;
  background: var(--slate);
  transform: rotate(-7deg);
  transform-origin: right;
}

.table-copy {
  opacity: var(--table-copy-opacity, 0);
  transform: translate3d(var(--table-right-x, 0), var(--table-copy-y, 0), 0);
  will-change: transform, opacity;
}

.table-copy h2 {
  font-size: clamp(57px, 7.2vw, 108px);
}

.table-copy > p:not(.eyebrow) {
  max-width: 520px;
  margin: 44px 0 0;
  color: #62402d;
  font-size: 17px;
  line-height: 1.85;
}

.ingredient-list {
  max-width: 520px;
  padding: 0;
  margin: 54px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.ingredient-list li {
  display: flex;
  padding: 17px 0;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-serif);
  font-size: 22px;
}

.ingredient-list span {
  color: var(--apricot);
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.portal-caption {
  position: absolute;
  right: 0;
  bottom: 26px;
  left: 0;
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  text-align: center;
  opacity: var(--portal-opacity, 0);
}

/* ==========================================================================
   04. The Rhythm (Daylight Studies)
   ========================================================================== */

.rhythm {
  display: grid;
  min-height: 100vh;
  padding: clamp(100px, 12vw, 180px) clamp(22px, 7vw, 118px);
  gap: clamp(70px, 11vw, 170px);
  grid-template-columns: minmax(300px, 0.65fr) minmax(0, 1.35fr);
  background: var(--mist);
}

.rhythm-heading h2 {
  font-size: clamp(56px, 6.5vw, 96px);
}

.rhythm-heading > p:last-child {
  max-width: 260px;
  margin: 38px 0 0;
  color: #62402d;
}

.moment-tabs {
  align-self: center;
}

.moment-list {
  display: flex;
  width: 100%;
  margin-bottom: 28px;
  gap: clamp(18px, 4vw, 64px);
  color: var(--ink);
  border-bottom: 1px solid rgba(98, 64, 45, 0.2);
}

.moment-list button {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0 0 18px;
  gap: 8px;
  background: none;
  border: 0;
  color: rgba(98, 64, 45, 0.58);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 200ms ease;
}

.moment-list button[data-state="active"] {
  color: var(--ink);
}

.moment-list button::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--apricot);
  transform: scaleX(0);
  transition: transform 200ms ease;
}

.moment-list button[data-state="active"]::after {
  transform: scaleX(1);
}

.moment-list svg {
  width: 17px;
  height: 17px;
}

.ridge-day {
  width: 100%;
  margin: 0 0 36px;
}

.ridge-day-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 1;
  overflow: hidden;
  background: var(--paper);
  transform: translateY(var(--ridge-retreat, 0px));
}

.ridge-day-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  filter: saturate(0.5) contrast(0.9);
  transition: opacity 1000ms ease;
  transform: scale(var(--ridge-scale, 1));
  transform-origin: center 60%;
}

.ridge-day-art.is-active {
  opacity: 1;
}

.ridge-day figcaption {
  margin-top: 12px;
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.moment-content {
  display: grid;
  min-height: 270px;
  align-items: center;
  gap: 28px;
  grid-template-columns: minmax(125px, 0.6fr) minmax(0, 1.4fr);
  animation: moment-in 500ms ease both;
}

@keyframes moment-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.moment-clock {
  position: relative;
  display: grid;
  width: min(100%, 170px);
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgba(98, 64, 45, 0.25);
  border-radius: 50%;
}

.moment-clock::before,
.moment-clock::after {
  position: absolute;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: var(--gold);
}

.moment-clock::before { top: -4px; }
.moment-clock::after { right: -4px; }

.moment-clock span {
  font-family: var(--font-serif);
  font-size: clamp(42px, 5vw, 68px);
  letter-spacing: -0.06em;
}

.moment-clock i {
  position: absolute;
  bottom: 15%;
  width: 1px;
  height: 27%;
  background: var(--ochre);
  transform-origin: bottom;
  transform: rotate(28deg);
}

.moment-copy h3 {
  max-width: 470px;
  margin: 14px 0 22px;
  font-family: var(--font-serif);
  font-size: clamp(40px, 4.6vw, 69px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.moment-copy > p:last-child {
  max-width: 470px;
  margin: 0;
  color: #62402d;
  line-height: 1.8;
}

.moment-kicker {
  margin: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

/* ==========================================================================
   05. Sensory Details (Warmth, Craft, Pause)
   ========================================================================== */

.details {
  display: grid;
  min-height: 62vh;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: var(--paper);
}

.detail-card {
  position: relative;
  display: flex;
  min-height: 560px;
  padding: 58px clamp(28px, 4vw, 64px);
  justify-content: space-between;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
  color: var(--ink);
}

.detail-card.apricot {
  background: var(--apricot);
  color: var(--paper);
}
.detail-card.apricot .eyebrow {
  color: var(--paper);
}

.detail-card.mist {
  background: var(--paper);
  color: var(--ink);
}
.detail-card.mist .eyebrow {
  color: var(--ink);
}

.detail-card.deodar {
  background: var(--deodar);
  color: var(--paper);
}
.detail-card.deodar .eyebrow {
  color: var(--paper);
}

.hut-detail-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  opacity: 1;
  filter: grayscale(0.94) sepia(0.18) saturate(0.3) contrast(0.72) brightness(1.12);
}

.hut-detail::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(226, 222, 216, 0.82), rgba(226, 222, 216, 0.45) 35%, rgba(226, 222, 216, 0.56) 65%, rgba(226, 222, 216, 0.9));
}

.hut-detail.apricot::before {
  background: linear-gradient(180deg, rgba(162, 81, 50, 0.87), rgba(162, 81, 50, 0.65) 40%, rgba(162, 81, 50, 0.72) 70%, rgba(162, 81, 50, 0.92));
}

.hut-detail.deodar::before {
  background: linear-gradient(180deg, rgba(70, 80, 52, 0.88), rgba(70, 80, 52, 0.65) 40%, rgba(70, 80, 52, 0.72) 70%, rgba(70, 80, 52, 0.93));
}

.hut-detail + .hut-detail {
  border-left: 1px solid rgba(98, 64, 45, 0.12);
}

.detail-word {
  margin: auto 0;
  font-family: var(--font-serif);
  font-size: clamp(58px, 6.5vw, 104px);
  font-style: italic;
  letter-spacing: -0.06em;
  line-height: 1;
  text-align: center;
}

.detail-card span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.8;
}

.hut-brush-stroke {
  stroke-dasharray: 1;
}

/* ==========================================================================
   06. Sustainability
   ========================================================================== */

.sustainability-section {
  padding: clamp(80px, 10vw, 140px) clamp(22px, 7vw, 118px);
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.sustainability-intro {
  max-width: 800px;
  margin-bottom: 48px;
}

.sustainability-intro h2 {
  margin: 22px 0 28px;
  font-family: var(--font-serif);
  font-size: clamp(46px, 6vw, 84px);
  font-weight: 400;
  line-height: 1.12;
}

.sustainability-intro > p:last-child {
  max-width: 640px;
  line-height: 1.85;
}

.sustainability-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
}

.sustainability-principles article {
  border-top: 1px solid var(--line);
  padding-top: 22px;
}

.sustainability-principles h3 {
  margin: 24px 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(28px, 2.8vw, 39px);
  font-weight: 400;
  line-height: 1.2;
}

.sustainability-principles article > p:last-child {
  line-height: 1.85;
}

/* ==========================================================================
   07. Tributes & Founders
   ========================================================================== */

.tribute-section {
  padding: clamp(90px, 11vw, 160px) clamp(22px, 7vw, 118px);
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.tribute-intro {
  max-width: 810px;
  margin-bottom: 58px;
}

.tribute-intro h2 {
  margin: 20px 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(48px, 6.6vw, 92px);
  font-weight: 400;
  line-height: 1.1;
}

.tribute-intro > p:last-child {
  max-width: 600px;
  line-height: 1.8;
}

.tribute-mother {
  position: relative;
  padding: clamp(30px, 5vw, 68px);
  background: rgba(212, 182, 142, 0.27);
  border-left: 2px solid var(--ochre);
  margin-bottom: 52px;
}

.tribute-mother h3 {
  margin: 22px 0 28px;
  font-family: var(--font-serif);
  font-size: clamp(58px, 8vw, 112px);
  font-weight: 400;
  line-height: 1;
}

.tribute-mother > p:not(.eyebrow) {
  max-width: 730px;
  font-size: 17px;
  line-height: 1.9;
}

.tribute-companions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 76px);
}

.tribute-story {
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.tribute-story h3 {
  margin: 26px 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(33px, 3.7vw, 52px);
  font-weight: 400;
  line-height: 1.15;
}

.tribute-story > p:not(.eyebrow) {
  max-width: 520px;
  line-height: 1.9;
}

/* ==========================================================================
   08. Closing Window & Invitation
   ========================================================================== */

.closing {
  position: relative;
  display: grid;
  min-height: 105vh;
  padding: clamp(100px, 11vw, 170px) clamp(22px, 7vw, 118px);
  place-items: center;
  background: var(--canvas);
  overflow: hidden;
}

.closing-window {
  position: relative;
  width: min(1160px, 88vw);
  height: min(54vh, 590px);
  overflow: hidden;
  border-radius: 50% 50% 3px 3px / 100% 100% 3px 3px;
  opacity: var(--scene-opacity, 1);
  clip-path: inset(var(--scene-clip, 0) 0 var(--scene-clip, 0) 0 round 50% 50% 3px 3px / 100% 100% 3px 3px);
  transform: translateY(var(--scene-y, 0)) rotateX(calc(var(--scene-roll, 0) * 0.25)) scale(var(--scene-zoom, 1));
  transform-origin: center bottom;
  will-change: transform, opacity, clip-path;
}

.closing-window::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(98, 64, 45, 0.08), rgba(98, 64, 45, 0.42));
}

.closing-window img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 52%;
  filter: saturate(0.38) sepia(0.12) contrast(0.86) brightness(1.06);
}

.closing-copy {
  position: absolute;
  z-index: 2;
  bottom: clamp(125px, 13vw, 195px);
  width: min(690px, 78vw);
  color: #e2ded8;
  text-align: center;
  opacity: var(--closing-copy-opacity, 1);
  transform: translateY(var(--closing-copy-y, 0));
  will-change: transform, opacity;
}

.closing-copy .eyebrow {
  color: rgba(226, 222, 216, 0.78);
}

.closing h2 {
  margin-top: 18px;
  font-size: clamp(52px, 7vw, 102px);
}

.closing-copy > p:not(.eyebrow) {
  max-width: 560px;
  margin: 28px auto 0;
  font-size: 17px;
  line-height: 1.7;
}

.closing-copy a {
  display: inline-flex;
  margin-top: 34px;
  padding-bottom: 6px;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(226, 222, 216, 0.7);
}

.closing-copy svg {
  width: 15px;
  height: 15px;
}

/* ==========================================================================
   09. Contact & Enquiry
   ========================================================================== */

.contact-section {
  padding: clamp(80px, 10vw, 150px) clamp(22px, 7vw, 118px);
  background: var(--paper);
  color: var(--ink);
  border-top: 1px solid var(--line);
  scroll-margin-top: 90px;
}

.contact-intro {
  max-width: 710px;
  margin-bottom: 58px;
}

.contact-intro h2 {
  margin: 18px 0 24px;
  font-family: var(--font-serif);
  font-size: clamp(54px, 7vw, 100px);
  font-weight: 400;
  line-height: 1.05;
}

.contact-intro > p:last-child {
  max-width: 500px;
  line-height: 1.8;
}

.contact-paths {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 48px;
}

.contact-path {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

.contact-path h3 {
  margin: 24px 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(31px, 3.4vw, 48px);
  font-weight: 400;
  line-height: 1.2;
}

.contact-path > p:not(.eyebrow) {
  max-width: 470px;
  line-height: 1.8;
}

.contact-path .contact-pending {
  margin-top: auto;
  padding-top: 24px;
  color: var(--ink);
  font-size: 12px;
}

.contact-path a {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--ink);
  overflow-wrap: anywhere;
}

.contact-path a svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.contact-path a:focus-visible {
  outline: 2px solid var(--deodar);
  outline-offset: 5px;
}

.enquiry-wrap {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(32px, 6vw, 90px);
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.enquiry-wrap h3 {
  margin: 22px 0;
  font-family: var(--font-serif);
  font-size: clamp(36px, 4vw, 58px);
  font-weight: 400;
  line-height: 1.15;
}

.enquiry-wrap > div > p:last-child {
  max-width: 390px;
  line-height: 1.85;
}

.enquiry-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.enquiry-form label {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.enquiry-form label span {
  font-size: 11px;
  font-weight: 400;
  color: var(--slate);
}

.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.45);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  transition: border-color 200ms ease, background 200ms ease;
}

.enquiry-form input:focus-visible,
.enquiry-form select:focus-visible,
.enquiry-form textarea:focus-visible,
.enquiry-submit:focus-visible {
  outline: 2px solid var(--deodar);
  outline-offset: 3px;
  background: rgba(255, 255, 255, 0.85);
}

.enquiry-form textarea {
  resize: vertical;
}

.enquiry-full {
  grid-column: 1 / -1;
}

.enquiry-privacy {
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color: var(--slate);
}

.enquiry-submit {
  justify-self: start;
  padding: 14px 26px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 200ms ease, color 200ms ease;
}

.enquiry-submit:hover {
  background: var(--deodar);
  border-color: var(--deodar);
}

.enquiry-submit:disabled {
  opacity: 0.65;
  cursor: wait;
}

.enquiry-status p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

/* ==========================================================================
   10. Footer
   ========================================================================== */

footer {
  display: grid;
  min-height: 270px;
  padding: 42px clamp(22px, 4vw, 68px);
  align-items: end;
  gap: 30px;
  grid-template-columns: 1fr 1fr 1fr;
  border-top: 1px solid var(--line);
  background: var(--canvas);
}

footer img {
  width: 150px;
  height: auto;
  object-fit: contain;
  justify-self: start;
}

footer p {
  max-width: 300px;
  margin: 0;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.7;
  letter-spacing: 0.07em;
}

footer .footer-theme {
  justify-self: end;
  text-align: right;
  text-transform: uppercase;
  color: var(--slate);
}

footer .source-credit {
  max-width: none;
  padding-top: 22px;
  grid-column: 1 / -1;
  justify-self: stretch;
  color: rgba(113, 111, 116, 0.72);
  font-size: 12px;
  letter-spacing: 0.025em;
  text-align: left;
  text-transform: none;
  border-top: 1px solid var(--line);
}

.source-credit a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* ==========================================================================
   Subpages Template Styles
   ========================================================================== */

.inside-page {
  padding-top: 115px;
  background: var(--paper);
  color: var(--ink);
  min-height: 100vh;
}

.blank-page {
  padding: 165px clamp(22px, 7vw, 118px) 80px;
}

.blank-page h1 {
  margin: 0 0 20px;
  font-family: var(--font-serif);
  font-size: clamp(52px, 7vw, 96px);
  font-weight: 400;
  line-height: 1.1;
}

/* Reveal Transitions */
[data-reveal] {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 800ms ease, transform 800ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1100px) {
  .pages-menu-button {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
    padding: 10px 0 10px 12px;
    border: 0;
    background: none;
    color: var(--ink);
    font-size: 12px;
    cursor: pointer;
  }
  .pages-menu-button svg {
    width: 20px;
    height: 20px;
  }
  .pages-header .pages-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: calc(100svh - 82px);
    overflow-y: auto;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: var(--paper);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .pages-header .pages-navigation.is-open {
    display: flex;
  }
  .pages-header .pages-navigation > a {
    display: block;
    padding: 17px 0;
    font-size: 13px;
  }
  .pages-haat-label {
    justify-content: space-between;
    padding: 10px 0;
  }
  .pages-haat-label > a {
    font-size: 13px !important;
  }
  .pages-haat-label button {
    padding: 12px;
  }
  .pages-haat-submenu {
    position: static;
    width: 100%;
    padding: 0 18px;
    border: 0;
    border-left: 1px solid var(--line);
    box-shadow: none;
    margin-bottom: 12px;
  }
}

@media (max-width: 960px) {
  .journey-rail { display: none; }
  .traveller-sticky { padding-inline: 52px; gap: 52px; grid-template-columns: 1fr 0.8fr; }
  .scene-route { right: 24px; }
  .scene-counter { right: 10px; }
  .table-story { gap: 60px; grid-template-columns: 1fr 1fr; }
  .rhythm { gap: 65px; grid-template-columns: 1fr; }
  .rhythm-heading > p:last-child { max-width: 420px; }
  .moment-content { min-height: 330px; }
  .detail-card { min-height: 470px; padding-inline: 30px; }
}

@media (max-width: 760px) {
  .sustainability-principles { grid-template-columns: 1fr; gap: 34px; }
  .portal-caption.table-caption { bottom: 18px; font-size: 12px; }
  .tribute-companions { grid-template-columns: 1fr; gap: 42px; }
  .tribute-mother > p:not(.eyebrow) { font-size: 16px; }
  .contact-paths { grid-template-columns: 1fr; gap: 44px; }
  .contact-intro { margin-bottom: 38px; }
  .enquiry-wrap { grid-template-columns: 1fr; }
  .enquiry-form { grid-template-columns: 1fr; }
  .inside-page { padding-top: 92px; }
  .blank-page { padding-top: 135px; }
  .moment-tabs .moment-content { grid-template-columns: 1fr; }
  .ridge-day-frame { aspect-ratio: 2.4 / 1; }
  .moment-tabs .moment-clock { width: 140px; }
  .hut-detail + .hut-detail { border-left: 0; border-top: 1px solid rgba(98,64,45,0.12); }
}

@media (max-width: 720px) {
  .site-header { height: 68px; padding-inline: 20px; }
  .hero { min-height: 100svh; padding-inline: 20px; }
  .hero-image { inset: -5% -30%; }
  .hero-content { width: 94vw; margin-top: 2vh; }
  .hero-logo { width: 88vw; margin-block: -21%; }
  .hero-intro { max-width: 88vw; font-size: 20px; }
  .hero-foot { right: 20px; bottom: 24px; left: 20px; }
  .hero-foot > span { display: none; }
  .hero-foot a { margin-left: auto; }
  .opening { min-height: auto; padding: 100px 22px 120px; grid-template-columns: 1fr; }
  .section-number { display: none; }
  .opening h2 { font-size: clamp(54px, 17vw, 84px); }
  .opening-columns { margin-top: 50px; gap: 30px; grid-template-columns: 1fr; }
  .ridge-rule { right: -15vw; width: 80vw; }
  .traveller-scene { min-height: 330vh; }
  .traveller-sticky {
    min-height: 0;
    padding: 84px 22px 50px;
    align-content: center;
    gap: 40px;
    grid-template-columns: 1fr;
  }
  .traveller-art { width: 78vw; height: 49vh; min-height: 330px; justify-self: center; }
  .traveller-copy { width: min(88vw, 560px); margin: 0 auto; }
  .traveller-copy h2 { font-size: clamp(45px, 13vw, 68px); }
  .traveller-copy > p:last-child { font-size: 15px; line-height: 1.65; }
  .traveller-lines { min-height: 420px; }
  .traveller-copy .line-three { padding-top: 112px; }
  .traveller-copy .line-four { font-size: 15px; line-height: 1.65; }
  .scene-route, .scene-counter { display: none; }
  .table-story { min-height: 250vh; padding: 0; }
  .table-sticky { min-height: 0; padding: 82px 22px 54px; align-content: center; gap: 42px; grid-template-columns: 1fr; }
  .table-waypoint { width: min(76vw, 440px); min-height: 39vh; padding: 32px; }
  .table-waypoint p { font-size: clamp(58px, 18vw, 92px); }
  .table-copy h2 { font-size: clamp(56px, 16vw, 84px); }
  .table-copy > p:not(.eyebrow) { display: none; }
  .ingredient-list { margin-top: 28px; }
  .rhythm { min-height: auto; padding: 100px 22px; gap: 62px; }
  .rhythm-heading h2 { font-size: 61px; }
  .moment-list { margin-bottom: 48px; gap: 21px !important; }
  .moment-list button { font-size: 11px !important; }
  .moment-list svg { display: none; }
  .moment-content { min-height: 0; gap: 42px; grid-template-columns: 1fr; }
  .moment-clock { width: 190px; }
  .moment-copy h3 { font-size: 47px; }
  .details { grid-template-columns: 1fr; }
  .detail-card { min-height: 430px; }
  .detail-word { transform: rotate(0); }
  .closing { min-height: 90vh; padding: 90px 22px; }
  .closing-window { width: 100%; height: 66vh; border-radius: 48% 48% 2px 2px / 30% 30% 2px 2px; }
  .closing-copy { bottom: 17%; width: 82vw; }
  .closing h2 { font-size: 54px; }
  .closing-copy > p:not(.eyebrow) { font-size: 15px; }
  footer { min-height: 360px; align-items: start; grid-template-columns: 1fr; }
  footer img { width: 135px; height: auto; }
  footer .footer-theme { justify-self: start; text-align: left; }
  footer .source-credit { grid-column: 1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero-image, .hero-plane, .hero-sketch-reveal { transform: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  .hero-content,
  .traveller-art,
  .traveller-copy,
  .table-waypoint,
  .closing-window,
  .closing-copy {
    opacity: 1 !important;
    clip-path: none !important;
    transform: none !important;
  }
  .hut-brush-stroke { stroke-dashoffset: 0 !important; }
  .ridge-day-art { transition: none !important; }
}
