/* ============================================================
   Anika Mountain Home — styles.css
   Agency standards: ~/Downloads/Vybe Operations/AGENCY-STANDARDS.md
   ============================================================ */

/* --- @font-face --- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-italic-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/cormorant-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --- Variables --- */
:root {
  --primary:    #2D4A3E;
  --accent:     #C9A870;
  --bg:         #ffffff;
  --bg-warm:    #F7F3EE;
  --bg-dark:    #111714;
  --text:       #1a1a1a;
  --text-muted: #666666;
  --radius:     8px;
  --radius-lg:  16px;
  --max-w:      1200px;
  --accent-dark: #b8955f;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body { margin: 0; font-family: 'Inter', sans-serif; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; font-family: 'Cormorant Garamond', Georgia, serif; line-height: 1.15; }
p { margin: 0; line-height: 1.7; }
button { cursor: pointer; border: none; background: none; font: inherit; }
address { font-style: normal; }

/* --- Skip to content --- */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* --- Layout --- */
.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }
section { padding: 5rem 0; }

/* --- Typography --- */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}
.eyebrow--light { color: rgba(255,255,255,0.6); }
.eyebrow--gold { color: var(--accent); }

h1 { font-size: clamp(2.5rem, 8vw, 5rem); font-weight: 400; }
h2 { font-size: clamp(1.75rem, 4vw, 3rem); font-weight: 400; margin-bottom: 2.5rem; }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); font-weight: 400; margin-bottom: 0.75rem; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9375rem;
  font-family: 'Inter', sans-serif;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer;
  border: 2px solid transparent;
  line-height: 1;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn--primary    { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn--accent     { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn--accent:hover { background: var(--accent-dark); opacity: 1; }
.btn--light      { background: #fff; color: var(--primary); border-color: #fff; box-shadow: 0 8px 28px rgba(0,0,0,0.14); }
.btn--light:hover { background: var(--bg-warm); opacity: 1; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.8); }
.btn--outline-light:hover { opacity: 1; background: rgba(255,255,255,0.1); }
.btn--outline-on-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.btn--outline-on-dark:hover { background: rgba(255,255,255,0.08); opacity: 1; }
.btn--full       { width: 100%; justify-content: center; }
.btn--lg         { padding: 1.125rem 2.25rem; font-size: 1.0625rem; }

.btn:focus-visible,
a:focus-visible,
.gallery__item:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* --- Header --- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0;
  transition: background 0.35s, padding 0.35s, box-shadow 0.35s;
}
.header:not(.scrolled) {
  background: linear-gradient(180deg, rgba(17,23,20,0.88) 0%, rgba(17,23,20,0.45) 55%, transparent 100%);
}
.header.scrolled { background: #fff; box-shadow: 0 1px 12px rgba(0,0,0,0.09); padding: 0.75rem 0; }

.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header__logo img { height: 2rem; transition: filter 0.35s; }

/* White logo on transparent header */
.header:not(.scrolled) .header__logo img { filter: brightness(0) invert(1); }

.header__nav { display: none; gap: 2rem; align-items: center; }
.header__nav a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.9);
  transition: color 0.2s;
}
.header.scrolled .header__nav a { color: var(--text); }
.header__nav a:hover { color: var(--accent); }

.header__cta { display: none; font-size: 0.875rem; padding: 0.625rem 1.25rem; }
.header:not(.scrolled) .header__cta { background: transparent; border-color: rgba(255,255,255,0.7); color: #fff; }
.header.scrolled .header__cta { background: var(--primary); border-color: var(--primary); color: #fff; }

.hamburger { display: flex; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; transition: transform 0.3s, background 0.3s; }
.header.scrolled .hamburger span { background: var(--text); }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--bg-warm);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
}
.mobile-nav.open { visibility: visible; opacity: 1; }
.mobile-nav a:not(.mobile-nav__cta) { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 400; color: var(--text); }
.mobile-nav__cta { margin-top: 1rem; }

/* --- Hero (base) --- */
.hero { position: relative; color: #fff; }
.hero__eyebrow { color: var(--accent); }
.hero__title { font-size: clamp(2.5rem, 7vw, 4.25rem); font-weight: 400; line-height: 1.05; margin-bottom: 1.25rem; }
.hero__sub { font-size: 1.0625rem; color: rgba(255,255,255,0.88); margin-bottom: 1.25rem; line-height: 1.65; max-width: 34rem; }
.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}
.hero__facts li {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0.4rem 0.7rem;
  border-radius: 100px;
  border: 1px solid rgba(201, 168, 112, 0.4);
  background: rgba(17, 23, 20, 0.35);
}
.hero__sub-break { display: inline; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.875rem; }
.hero__scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero__scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.6));
  margin: 0 auto;
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.4; }
}

.hero--panorama-overlay {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}
.hero--panorama-overlay .hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero--panorama-overlay .hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  transform: scale(1.06);
  opacity: 0;
  animation: heroImgReveal 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.hero--panorama-overlay .hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to top, rgba(17,23,20,0.97) 0%, rgba(17,23,20,0.88) 22%, rgba(17,23,20,0.45) 50%, rgba(17,23,20,0.55) 100%),
    linear-gradient(to right, rgba(17,23,20,0.9) 0%, rgba(17,23,20,0.5) 50%, transparent 75%);
  opacity: 0;
  animation: heroScrimIn 1s ease 0.35s forwards;
}
.hero--panorama-overlay .hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: 6rem;
  max-width: 42rem;
  opacity: 0;
  transform: translateY(1.75rem);
  animation: heroContentIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}
.hero--panorama-overlay .hero__title {
  color: #fff;
  text-shadow: 0 2px 28px rgba(0,0,0,0.4);
}
.hero--panorama-overlay .hero__sub {
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 16px rgba(0,0,0,0.35);
}
.hero--panorama-overlay .hero__facts li {
  text-shadow: 0 1px 8px rgba(0,0,0,0.25);
}
.hero--panorama-overlay .hero__eyebrow {
  color: var(--accent);
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}
.hero--panorama-overlay .hero__scroll {
  opacity: 0;
  animation: heroContentIn 0.6s ease 1.2s forwards;
}
.hero--panorama-overlay .btn--light {
  background: rgba(247,243,238,0.96);
  color: var(--primary);
  border-color: rgba(201,168,112,0.55);
  box-shadow: 0 6px 28px rgba(0,0,0,0.28);
}
.hero--panorama-overlay .btn--light:hover {
  background: #fff;
  border-color: var(--accent);
  opacity: 1;
}
.hero--panorama-overlay .btn--outline-light {
  color: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.hero--panorama-overlay .btn--outline-light:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(201,168,112,0.6);
  opacity: 1;
}

@keyframes heroImgReveal {
  to { opacity: 1; transform: scale(1); }
}
@keyframes heroScrimIn {
  to { opacity: 1; }
}
@keyframes heroContentIn {
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hero--panorama-overlay .hero__visual img,
  .hero--panorama-overlay .hero__scrim,
  .hero--panorama-overlay .hero__content,
  .hero--panorama-overlay .hero__scroll {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero--panorama-overlay .hero__visual img { transform: scale(1); }
}

/* Hero: Forest (live) — full-bleed image, text anchored left and vertically centered */
.hero--forest {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero--forest .hero__visual { position: absolute; inset: 0; z-index: 0; }
.hero--forest .hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0;
  animation:
    heroImgFade 1.6s ease forwards,
    heroKenBurns 28s ease-in-out infinite alternate;
}
.hero--forest .hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(17,23,20,0.92) 0%, rgba(17,23,20,0.72) 30%, rgba(17,23,20,0.28) 60%, rgba(17,23,20,0) 88%),
    linear-gradient(to top, rgba(17,23,20,0.5) 0%, rgba(17,23,20,0) 38%);
  opacity: 0;
  animation: heroScrimIn 1s ease 0.35s forwards;
}
.hero--forest .hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 40rem;
  opacity: 0;
  transform: translateY(1.75rem);
  animation: heroContentIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) 0.8s forwards;
}
.hero--forest .hero__title { color: #fff; text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.hero--forest .hero__sub { color: rgba(255,255,255,0.92); text-shadow: 0 1px 16px rgba(0,0,0,0.5); }
.hero--forest .hero__eyebrow { color: var(--accent); text-shadow: 0 1px 8px rgba(0,0,0,0.4); }
.hero--forest .hero__scroll { opacity: 0; animation: heroContentIn 0.6s ease 1.2s forwards; }
.hero--forest .btn--light {
  background: rgba(247,243,238,0.96);
  color: var(--primary);
  border-color: rgba(201,168,112,0.55);
  box-shadow: 0 6px 28px rgba(0,0,0,0.28);
}
.hero--forest .btn--light:hover { background: #fff; border-color: var(--accent); opacity: 1; }
.hero--forest .btn--outline-light {
  color: rgba(255,255,255,0.95);
  border-color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
}
.hero--forest .btn--outline-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(201,168,112,0.6); opacity: 1; }

/* Hero: slow continuous Ken Burns drift on the image */
@keyframes heroImgFade { to { opacity: 1; } }
@keyframes heroKenBurns {
  from { transform: scale(1.06) translate3d(1.5%, 1%, 0); }
  to   { transform: scale(1.15) translate3d(-4%, -2.5%, 0); }
}

/* Hero inline meta labels — gold-dot separated, airy */
.hero__facts--inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0;
  margin: 0 0 1.9rem;
  padding: 0;
  list-style: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  text-shadow: 0 1px 10px rgba(0,0,0,0.55);
}
.hero__facts--inline li { display: inline-flex; align-items: center; }
.hero__facts--inline li:not(:last-child)::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 0.95rem;
  opacity: 0.9;
}

@media (prefers-reduced-motion: reduce) {
  .hero--forest .hero__visual img,
  .hero--forest .hero__scrim,
  .hero--forest .hero__content,
  .hero--forest .hero__scroll {
    animation: none;
    opacity: 1;
    transform: none;
  }
  .hero--forest .hero__visual img { transform: scale(1); }
}

/* Hero: Split panel */
.hero--split {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: min(52svh, 420px) 1fr;
}
.hero--split .hero__split-panel {
  order: 2;
  background: var(--primary);
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
}
.hero--split .hero__split-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hero--split .hero__split-media {
  order: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}
.hero--split .hero__split-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--split .hero__split-inset {
  display: none;
}

/* Hero: Cinema card */
.hero--cinema {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-bottom: 4rem;
  background: var(--bg-dark) center / cover no-repeat;
}
.hero--cinema .hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(17,23,20,0.55) 0%,
    rgba(17,23,20,0.2) 40%,
    rgba(17,23,20,0.75) 100%
  );
}
.hero--cinema .hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding-top: 6rem;
}
.hero--cinema .hero__card {
  max-width: 36rem;
  padding: 2rem 1.75rem;
  background: rgba(17,23,20,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(201,168,112,0.25);
  border-radius: var(--radius-lg);
}

/* Hero: Centered statement */
.hero--centered {
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-dark) center / cover no-repeat;
}
.hero--centered .hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(45,74,62,0.75) 0%,
    rgba(17,23,20,0.5) 50%,
    rgba(17,23,20,0.8) 100%
  );
}
.hero--centered .hero__content {
  position: relative;
  z-index: 1;
  padding: 6rem 0 4rem;
  max-width: 52rem;
}
.hero--centered .hero__sub { margin-left: auto; margin-right: auto; }
.hero--centered .hero__ctas { justify-content: center; }

/* Hero: Editorial mosaic */
.hero--mosaic {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  background: var(--bg-dark);
}
.hero--mosaic .hero__mosaic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 0.375rem;
  min-height: min(48svh, 380px);
}
.hero--mosaic .hero__mosaic-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--mosaic .hero__mosaic-grid img:first-child {
  grid-column: 1 / -1;
}
.hero--mosaic .hero__panel {
  background: var(--primary);
  padding: 2.5rem 0 3.5rem;
  display: flex;
  align-items: center;
}
.hero--mosaic .hero__panel-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Variations page */
.hero-variations-nav {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  max-width: calc(100% - 2rem);
  padding: 0.625rem 0.875rem;
  background: rgba(17,23,20,0.92);
  border: 1px solid rgba(201,168,112,0.3);
  border-radius: 100px;
  backdrop-filter: blur(8px);
}
.hero-variations-nav a {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  transition: background 0.2s, color 0.2s;
}
.hero-variations-nav a:hover { color: #fff; background: rgba(255,255,255,0.1); }
.hero-variant-label {
  position: absolute;
  top: 5.5rem;
  left: 1.25rem;
  z-index: 2;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(17,23,20,0.75);
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
  border: 1px solid rgba(201,168,112,0.35);
}

/* Premium branded CTAs */
.cta-brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
}
.cta-brand__primary {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem 1.5rem 0.5rem 0.5rem;
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(201,168,112,0.45);
  border-radius: 3px;
  box-shadow: 0 4px 20px rgba(45,74,62,0.18);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.cta-brand__primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45,74,62,0.26);
  border-color: var(--accent);
  opacity: 1;
}
.cta-brand__icon {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(201,168,112,0.14);
  border: 1px solid rgba(201,168,112,0.35);
  border-radius: 2px;
  color: var(--accent);
}
.cta-brand__text { text-align: left; line-height: 1.25; }
.cta-brand__label {
  display: block;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.2rem;
}
.cta-brand__action { display: block; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.02em; }
.cta-brand__secondary {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  padding-bottom: 0.2rem;
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s, border-color 0.2s;
}
.cta-brand__secondary:hover { color: var(--primary); border-color: var(--primary); opacity: 1; }
.hero__body--dark .cta-brand__secondary { color: rgba(255,255,255,0.55); border-color: rgba(201,168,112,0.55); }
.hero__body--dark .cta-brand__secondary:hover { color: #fff; border-color: var(--accent); }

/* Header: always light (options page) */
.header--solid {
  background: #fff;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
  padding: 0.75rem 0;
}
.header--solid .header__logo img { filter: none; }
.header--solid .header__nav a { color: var(--text); }
.header--solid .header__cta { display: inline-flex; background: var(--primary); border-color: var(--primary); color: #fff; }
.header--solid .hamburger span { background: var(--text); }

/* Hero E: Panoramic stack */
.hero--panorama,
.hero--horizon,
.hero--framed,
.hero--aside { padding: 0; }

.hero--panorama { color: var(--text); }
.hero--panorama .hero__visual {
  position: relative;
  height: min(56svh, 500px);
  overflow: hidden;
}
.hero--panorama .hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.hero--panorama .hero__body--warm {
  background: var(--bg-warm);
  padding: 3rem 0 4rem;
}
.hero--panorama .hero__body-inner { max-width: 38rem; }
.hero--panorama .hero__title { color: var(--primary); margin-bottom: 1rem; }
.hero--panorama .hero__sub { color: var(--text-muted); margin-bottom: 2rem; }
.hero--panorama .hero__rule {
  width: 2.5rem;
  height: 2px;
  background: var(--accent);
  margin-bottom: 1.25rem;
}

/* Hero F: Horizon cut */
.hero--horizon .hero__visual {
  position: relative;
  height: min(50svh, 460px);
  overflow: hidden;
}
.hero--horizon .hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero--horizon .hero__body--dark {
  background: var(--primary);
  padding: 3.25rem 0 4.5rem;
}
.hero--horizon .hero__body-inner { max-width: 40rem; }
.hero--horizon .hero__title { color: #fff; margin-bottom: 1rem; }
.hero--horizon .hero__sub { color: rgba(255,255,255,0.82); margin-bottom: 2rem; }
.hero--horizon .hero__eyebrow { color: var(--accent); }

/* Hero G: Framed editorial */
.hero--framed { background: #fff; color: var(--text); }
.hero--framed .hero__frame-wrap {
  position: relative;
  padding: 5.25rem 1.25rem 0;
  max-width: calc(var(--max-w) + 4rem);
}
.hero--framed .hero__frame-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
}
.hero--framed .hero__body--light {
  padding: 2.75rem 0 4rem;
  text-align: center;
}
.hero--framed .hero__body-inner { max-width: 36rem; margin: 0 auto; }
.hero--framed .hero__title { color: var(--primary); margin-bottom: 1rem; }
.hero--framed .hero__sub { color: var(--text-muted); margin-bottom: 2rem; margin-left: auto; margin-right: auto; }
.hero--framed .cta-brand { justify-content: center; }
.hero--framed .hero__eyebrow { color: var(--accent); }

/* Hero H: Side editorial */
.hero--aside {
  display: grid;
  grid-template-columns: 1fr;
  color: var(--text);
}
.hero--aside .hero__visual {
  position: relative;
  height: min(44svh, 380px);
  overflow: hidden;
}
.hero--aside .hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.hero--aside .hero__body--aside {
  background: var(--bg-warm);
  padding: 2.75rem 0 3.5rem;
  display: flex;
  align-items: center;
}
.hero--aside .hero__body-inner { max-width: 26rem; }
.hero--aside .hero__title { color: var(--primary); margin-bottom: 1rem; }
.hero--aside .hero__sub { color: var(--text-muted); margin-bottom: 2rem; }
.hero--aside .hero__eyebrow { color: var(--accent); }

.hero__body-inner .container,
.hero__body-inner.container { padding: 0 1.25rem; }

/* Options page intro */
.hero-options-intro {
  padding: 6rem 0 2rem;
  background: var(--bg-dark);
  color: rgba(255,255,255,0.8);
  text-align: center;
}
.hero-options-intro h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 0.75rem;
}
.hero-options-intro p { font-size: 0.9375rem; max-width: 32rem; margin: 0 auto; line-height: 1.6; }

/* --- Experience --- */
.experience { background: var(--bg-warm); }
.experience .container { text-align: center; }
.experience h2 { margin-bottom: 3rem; }

.experience__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: left; }

.experience__card { background: #fff; border-radius: var(--radius-lg); overflow: hidden; }
.experience__card-img { aspect-ratio: 16/10; overflow: hidden; }
.experience__card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.experience__card:hover .experience__card-img img { transform: scale(1.04); }
.experience__card-body { padding: 1.75rem 2rem 2rem; }
.experience__icon {
  width: 56px; height: 56px;
  background: rgba(45,74,62,0.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary);
}
.experience__card h3 { margin-bottom: 0.75rem; color: var(--primary); }
.experience__card p { color: var(--text-muted); font-size: 0.9375rem; }

/* --- Apartments --- */
.apartments .container { text-align: center; }
.apartments h2 { margin-bottom: 3rem; }
.apartments__grid { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: left; }

.apt-card { border-radius: var(--radius-lg); border: 1px solid rgba(0,0,0,0.08); overflow: hidden; transition: box-shadow 0.3s; background: #fff; }
.apt-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.1); }
.apt-card--featured { border-color: var(--accent); }

.apt-card__img-wrap { position: relative; aspect-ratio: 3/2; overflow: hidden; }
.apt-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.apt-card:hover .apt-card__img-wrap img { transform: scale(1.03); }

.badge {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--accent);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.375rem 0.75rem;
  border-radius: 100px;
}

.apt-card__body { padding: 1.75rem; }
.apt-card__meta { display: flex; gap: 1rem; margin-bottom: 0.75rem; }
.apt-card__size, .apt-card__guests {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--bg-warm);
  padding: 0.25rem 0.625rem;
  border-radius: 100px;
}
.apt-card h3 { color: var(--primary); margin-bottom: 0.375rem; }
.apt-card__tagline { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 1.25rem; }

.apt-card__features { display: flex; flex-direction: column; gap: 0.625rem; margin-bottom: 1.75rem; }
.apt-card__features li {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text);
}
.apt-card__features li svg { color: var(--primary); flex-shrink: 0; }

.apt-card__ctas { display: flex; flex-direction: column; gap: 0.75rem; }
.apt-card__booking {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.apt-card__booking:hover { color: var(--text); }

/* --- Gallery --- */
.gallery { background: var(--bg-dark); padding: 5rem 0; }
.gallery__heading { color: #fff; }
.gallery .container { margin-bottom: 2.5rem; text-align: center; }

.gallery__grid {
  columns: 2;
  column-gap: 0.5rem;
  padding: 0 1.25rem;
}
.gallery__item {
  break-inside: avoid;
  margin: 0 0 0.5rem 0;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
}
.gallery__item:hover::after { background: rgba(0,0,0,0.15); }
.gallery__item img { width: 100%; height: auto; display: block; transition: transform 0.5s; }
.gallery__item:hover img { transform: scale(1.03); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox[hidden] { display: none; }
.lightbox__img-wrap { max-width: 90vw; max-height: 85vh; display: flex; align-items: center; justify-content: center; }
.lightbox__img-wrap img { max-width: 90vw; max-height: 85vh; object-fit: contain; border-radius: 4px; }
.lightbox__close, .lightbox__prev, .lightbox__next {
  position: absolute;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  transition: background 0.2s;
}
.lightbox__close:hover, .lightbox__prev:hover, .lightbox__next:hover { background: rgba(255,255,255,0.25); }
.lightbox__close { top: 1.5rem; right: 1.5rem; }
.lightbox__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,0.6);
  font-size: 0.8125rem;
  text-align: center;
  max-width: 80vw;
}

/* --- Amenities --- */
.amenities { background: var(--bg-warm); }
.amenities .container { text-align: center; }
.amenities h2 { margin-bottom: 3rem; }
.amenities__categories { display: grid; grid-template-columns: 1fr; gap: 2rem; text-align: left; }

.amenities__category h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(45,74,62,0.2);
}
.amenities__list li {
  font-size: 0.875rem;
  color: var(--text);
  padding: 0.375rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}
.amenities__list li:last-child { border-bottom: none; }
.amenity-note {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* --- Location --- */
.location { background: #fff; }
.location .container { text-align: center; }
.location h2 { margin-bottom: 2.5rem; }
.location__inner { text-align: left; }
.location__inner { display: grid; grid-template-columns: 1fr; gap: 2.5rem; }
.location__map iframe { width: 100%; height: 300px; border-radius: var(--radius-lg); display: block; }
.location__address { font-size: 1rem; line-height: 1.6; margin-bottom: 1.5rem; color: var(--text); }
.location__address strong { font-family: 'Cormorant Garamond', serif; font-size: 1.25rem; color: var(--primary); }
.location__highlights { display: flex; flex-direction: column; gap: 1rem; }
.location__highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text);
}
.location__highlights li svg { color: var(--accent); flex-shrink: 0; }

/* --- Host --- */
.host { background: var(--bg-warm); }
.host .container { text-align: center; }
.host__inner { display: flex; flex-direction: column; gap: 2rem; align-items: center; text-align: left; }
.host__avatar {
  width: 100px; height: 100px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--accent);
  flex-shrink: 0;
}
.host__avatar svg { width: 80px; height: 80px; }
.host__content .eyebrow { margin-bottom: 0.25rem; }
.host__content h2 { margin-bottom: 1rem; }
.host__text { color: var(--text-muted); font-size: 1rem; margin-bottom: 1.75rem; max-width: 600px; }

/* --- CTA Section --- */
.cta-section { background: var(--primary); color: #fff; text-align: center; }
.cta-section__inner { max-width: 680px; margin: 0 auto; }
.cta-section h2 { color: #fff; margin-bottom: 1rem; }
.cta-section__sub { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 2.5rem; }
.cta-section .btn--accent { font-size: 1.0625rem; padding: 1.125rem 2.5rem; }
.cta-section__alt { margin-top: 1.25rem; }
.cta-section__alt a { color: rgba(255,255,255,0.55); font-size: 0.875rem; text-decoration: underline; text-underline-offset: 3px; }
.cta-section__alt a:hover { color: rgba(255,255,255,0.85); }

/* --- Scroll reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.85s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal--fade {
  transform: none;
}
.reveal--fade.is-visible {
  transform: none;
}
.reveal--left {
  transform: translateX(-1.5rem);
}
.reveal--left.is-visible {
  transform: translateX(0);
}
.reveal--right {
  transform: translateX(1.5rem);
}
.reveal--right.is-visible {
  transform: translateX(0);
}
.reveal--scale {
  transform: scale(0.96);
}
.reveal--scale.is-visible {
  transform: scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --- Footer --- */
.footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.65);
  padding: 4.5rem 0 2rem;
  font-size: 0.875rem;
  border-top: 1px solid rgba(201,168,112,0.2);
  position: relative;
}
.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(8rem, 40%);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__logo-link { display: inline-block; margin-bottom: 1rem; }
.footer__logo {
  height: 2rem;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
  transition: opacity 0.2s;
}
.footer__logo-link:hover .footer__logo { opacity: 1; }
.footer__tagline {
  color: rgba(255,255,255,0.55);
  font-size: 0.9375rem;
  line-height: 1.65;
  max-width: 22rem;
  margin-bottom: 1.25rem;
}
.footer__address {
  color: rgba(255,255,255,0.45);
  font-size: 0.8125rem;
  line-height: 1.7;
}
.footer__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: #fff;
  margin: 0 0 1.125rem;
  letter-spacing: 0.02em;
}
.footer__nav-list,
.footer__contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}
.footer__nav-list a,
.footer__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.875rem;
  transition: color 0.2s, transform 0.2s;
}
.footer__nav-list a:hover,
.footer__contact-link:hover {
  color: var(--accent);
  transform: translateX(3px);
  opacity: 1;
}
.footer__contact-link svg { flex-shrink: 0; opacity: 0.85; }
.footer__bar {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 1.75rem;
  font-size: 0.8125rem;
}
.footer__copy { color: rgba(255,255,255,0.35); margin: 0; }
.footer__credit { color: rgba(255,255,255,0.35); margin: 0; }
.footer__credit a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer__credit a:hover { color: var(--accent); }
.footer__top {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  margin-top: 0.5rem;
  padding: 0.5rem 0.875rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.footer__top:hover {
  color: var(--accent);
  border-color: rgba(201,168,112,0.4);
  background: rgba(201,168,112,0.06);
  opacity: 1;
}

/* ============================================================
   Desktop - min-width: 768px
   ============================================================ */
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
  section { padding: 6rem 0; }

  /* Header */
  .header__nav { display: flex; }
  .header__cta { display: inline-flex; }
  .hamburger { display: none; }

  /* Hero split desktop */
  .hero--split {
    grid-template-columns: minmax(340px, 44%) 1fr;
    grid-template-rows: 1fr;
    min-height: 100svh;
  }
  .hero--aside {
    grid-template-columns: 1.08fr 0.92fr;
    min-height: 100svh;
  }
  .hero--aside .hero__visual { height: auto; min-height: 100%; }
  .hero--aside .hero__body--aside { padding: 0; min-height: 100%; }

  .hero--framed .hero__frame-wrap { padding: 6rem 2rem 0; }
  .hero--panorama .hero__visual { height: min(60svh, 560px); }
  .hero--horizon .hero__visual { height: min(54svh, 500px); }
  .hero--split .hero__split-panel { order: 0; padding: 0; }
  .hero--split .hero__split-inner { padding: 0 2.5rem 0 2rem; }
  .hero--split .hero__split-media { order: 1; }
  .hero--split .hero__split-inset {
    display: block;
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    width: 38%;
    max-width: 220px;
    aspect-ratio: 4/5;
    object-fit: cover;
    border-radius: var(--radius);
    border: 3px solid rgba(255,255,255,0.9);
    box-shadow: 0 16px 48px rgba(0,0,0,0.35);
  }
  .hero--split .hero__scroll { left: 22%; }

  .hero--mosaic {
    grid-template-columns: 42% 1fr;
    grid-template-rows: 1fr;
  }
  .hero--mosaic .hero__mosaic-grid {
    min-height: 100%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1.2fr 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
  }
  .hero--mosaic .hero__mosaic-grid img:first-child { grid-column: 1 / -1; }
  .hero--mosaic .hero__panel { padding: 0; }

  .hero--panorama-overlay .hero__content { max-width: 46rem; }
  .hero--panorama-overlay .hero__sub-break { display: none; }

  /* Gallery */
  .gallery__grid { padding: 0 2rem; }

  /* Experience */
  .experience__grid { grid-template-columns: repeat(3, 1fr); }

  /* Apartments */
  .apartments__grid { grid-template-columns: repeat(2, 1fr); }

  /* Gallery */
  .gallery__grid { columns: 3; }

  /* Amenities */
  .amenities__categories { grid-template-columns: repeat(2, 1fr); }

  /* Location */
  .location__inner { grid-template-columns: 1fr 1fr; align-items: start; }
  .location__map iframe { height: 400px; }

  /* Host */
  .host__inner { flex-direction: row; align-items: center; gap: 3rem; }

  /* Footer */
  .footer__grid {
    grid-template-columns: 1.4fr 0.8fr 0.8fr;
    gap: 3rem;
    align-items: start;
  }
  .footer__bar {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
  }
  .footer__top { margin-top: 0; margin-left: auto; }
}

@media (min-width: 1024px) {
  .container { padding: 0 2.5rem; }

  /* Amenities */
  .amenities__categories { grid-template-columns: repeat(3, 1fr); }
  .amenities__category:last-child:nth-child(5) { grid-column: 2; }

  /* Gallery */
  .gallery__grid { padding: 0 2.5rem; }
}
