@import url("fonts.css");

/* ============================================================
   EDĒN Reformer Studio — design system
   Brand: #000000 · #E9D8C5 · #9F5942 · Vito Wide + Raleway
   ============================================================ */

:root {
  /* brand */
  --black:        #000000;
  --sand:         #e9d8c5;
  --terra:        #9f5942;

  /* derived surfaces */
  --shell:        #fbf8f4;
  --cream:        #f4ebe0;
  --sand-soft:    #f0e3d4;
  --dark:         #17130f;
  --dark-2:       #211a15;

  /* ink */
  --ink:          #16130f;
  --ink-2:        #3b332b;
  --muted:        #6f655b;
  --muted-light:  rgba(249, 243, 235, .66);

  /* accent */
  --terra-deep:   #8a4a36;
  --terra-soft:   #c98a6e;
  --terra-wash:   #f6e8df;

  /* lines */
  --line:         rgba(22, 19, 15, .13);
  --line-strong:  rgba(22, 19, 15, .24);
  --line-light:   rgba(240, 231, 219, .22);

  /* type */
  --sans: "Raleway", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Playfair Display", "Iowan Old Style", Georgia, "Times New Roman", serif;

  --t--1: clamp(.78rem, .76rem + .08vw, .84rem);
  --t-0:  clamp(1rem, .97rem + .14vw, 1.07rem);
  --t-1:  clamp(1.1rem, 1.04rem + .3vw, 1.3rem);
  --t-2:  clamp(1.35rem, 1.22rem + .62vw, 1.75rem);
  --t-3:  clamp(1.7rem, 1.46rem + 1.1vw, 2.45rem);
  --t-4:  clamp(2.1rem, 1.66rem + 2.1vw, 3.5rem);
  --t-5:  clamp(2.6rem, 1.8rem + 3.6vw, 4.9rem);
  --t-6:  clamp(3rem, 1.9rem + 5vw, 6rem);

  /* rhythm */
  --gap:  clamp(18px, 2.2vw, 32px);
  --pad:  clamp(20px, 5vw, 56px);
  --sect: clamp(74px, 9.5vw, 148px);

  /* shape */
  --r-s: 10px;
  --r-m: 18px;
  --r-l: 28px;
  --r-pill: 999px;

  --shadow-s: 0 1px 2px rgba(22, 19, 15, .05), 0 6px 18px -10px rgba(22, 19, 15, .16);
  --shadow-m: 0 2px 4px rgba(22, 19, 15, .04), 0 22px 48px -26px rgba(22, 19, 15, .3);
  --shadow-l: 0 40px 90px -46px rgba(22, 19, 15, .44);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --header-h: 84px;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--sans);
  font-size: var(--t-0);
  font-weight: 400;
  line-height: 1.68;
  color: var(--ink-2);
  background: var(--shell);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
body.is-locked { overflow: hidden; }

img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.07;
  letter-spacing: -.016em;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: var(--t-5); }
h2 { font-size: var(--t-4); }
h3 { font-size: var(--t-2); }
h4 { font-size: var(--t-1); }
p { text-wrap: pretty; }

:focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 3px;
  border-radius: 3px;
}

::selection { background: var(--terra); color: #fff; }

/* ---------- helpers ---------- */
.wrap { width: 100%; max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.wrap--narrow { max-width: 940px; }
.wrap--mid { max-width: 1100px; }
.section { padding-block: var(--sect); position: relative; }
.section--tight { padding-block: clamp(54px, 6.5vw, 96px); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 50%; top: 10px; translate: -50% -200%;
  z-index: 200; background: var(--ink); color: var(--shell);
  padding: 12px 22px; border-radius: var(--r-pill); font-size: var(--t--1);
  letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: translate .25s var(--ease);
}
.skip-link:focus-visible { translate: -50% 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .72em;
  font-size: clamp(.68rem, .66rem + .1vw, .76rem);
  font-weight: 500; letter-spacing: .26em; text-transform: uppercase;
  color: var(--terra-deep);
}
.eyebrow::before {
  content: ""; inline-size: clamp(22px, 4vw, 44px); block-size: 1px;
  background: currentColor; opacity: .55; flex: none;
}
.eyebrow--plain::before { display: none; }

.lede { font-size: var(--t-1); line-height: 1.6; color: var(--ink-2); max-width: 58ch; }
.muted { color: var(--muted); }
.serif-i { font-family: var(--serif); font-style: italic; }

.rule { block-size: 1px; background: var(--line); border: 0; }

/* section heading block */
.head { display: grid; gap: clamp(14px, 1.6vw, 20px); max-width: 62ch; }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--center .lede { margin-inline: auto; }
.head__row {
  display: flex; flex-wrap: wrap; align-items: end;
  justify-content: space-between; gap: var(--gap);
  max-width: none;
}

/* ---------- buttons ---------- */
.btn {
  --btn-bg: var(--terra);
  --btn-fg: #fff;
  --btn-bd: var(--terra);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .72em;
  padding: 1.02em 1.7em;
  background: var(--btn-bg); color: var(--btn-fg);
  border: 1px solid var(--btn-bd);
  border-radius: var(--r-pill);
  font-size: var(--t--1); font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  line-height: 1; white-space: nowrap;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease),
              box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-m); }
.btn:active { transform: translateY(0); }
.btn svg { inline-size: 1.05em; block-size: 1.05em; flex: none; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--shell); --btn-bd: var(--ink); }

.btn--light { --btn-bg: transparent; --btn-fg: var(--sand); --btn-bd: rgba(233, 216, 197, .42); }
.btn--light:hover { --btn-bg: var(--sand); --btn-fg: var(--ink); --btn-bd: var(--sand); }

.btn--solid-light { --btn-bg: var(--sand); --btn-fg: var(--ink); --btn-bd: var(--sand); }
.btn--solid-light:hover { --btn-bg: #fff; --btn-bd: #fff; }

.btn--sm { padding: .82em 1.3em; font-size: .72rem; }
.btn--lead { flex-direction: row-reverse; }
.btn--lead:hover svg { transform: none; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: var(--t--1); font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; text-decoration: none; color: var(--terra-deep);
  padding-block: .35em;
  border-bottom: 1px solid currentColor;
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.link-arrow:hover { gap: 1em; color: var(--ink); }
.link-arrow svg { inline-size: 1em; block-size: 1em; }
.link-arrow--light { color: var(--sand); }
.link-arrow--light:hover { color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; flex: none; }
.logo__mark, .logo__word {
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain;
}
.logo__mark {
  -webkit-mask-image: url("../img/eden-monogram.png"); mask-image: url("../img/eden-monogram.png");
  inline-size: 30px; block-size: 30px;
}
.logo__word {
  -webkit-mask-image: url("../img/eden-wordmark.png"); mask-image: url("../img/eden-wordmark.png");
  inline-size: 128px; block-size: 37px;
}
@media (max-width: 520px) {
  .logo__word { inline-size: 104px; block-size: 30px; }
  .logo__mark { inline-size: 25px; block-size: 25px; }
}

/* ---------- header ---------- */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 100;
  color: var(--sand);
  transition: background .4s var(--ease), color .4s var(--ease),
              box-shadow .4s var(--ease), border-color .4s var(--ease),
              backdrop-filter .4s var(--ease), -webkit-backdrop-filter .4s var(--ease);
  border-block-end: 1px solid transparent;
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: clamp(16px, 2.5vw, 36px);
  block-size: var(--header-h);
}
.header--solid, .header--light {
  /* light frosted glass: content scrolling underneath shows through as soft colour */
  background: rgba(251, 248, 244, .62);
  backdrop-filter: blur(20px) saturate(1.6);
  -webkit-backdrop-filter: blur(20px) saturate(1.6);
  color: var(--ink);
  border-block-end-color: rgba(22, 19, 15, .08);
}
.header--solid { box-shadow: 0 1px 24px -16px rgba(22, 19, 15, .45); }
/* dark frosted glass while the home hero photo is still under the header */
.header--glass-dark {
  background: rgba(23, 19, 15, .3);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  color: var(--sand);
  border-block-end-color: rgba(233, 216, 197, .14);
}
/* no blur support: fall back to a near-solid bar so text never sits on unblurred content */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header--solid, .header--light { background: rgba(251, 248, 244, .96); }
  .header--glass-dark { background: rgba(23, 19, 15, .92); }
}

.nav { display: flex; align-items: center; gap: clamp(18px, 2.3vw, 36px); }
.nav__link {
  position: relative; text-decoration: none;
  font-size: .8rem; font-weight: 500; letter-spacing: .1em;
  padding-block: 6px; white-space: nowrap;
  opacity: .82; transition: opacity .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; inset-block-end: 0; inset-inline-start: 0;
  inline-size: 100%; block-size: 1px; background: currentColor;
  scale: 0 1; transform-origin: right; transition: scale .4s var(--ease-out);
}
.nav__link:hover { opacity: 1; }
.nav__link:hover::after, .nav__link[aria-current="page"]::after { scale: 1 1; transform-origin: left; }
.nav__link[aria-current="page"] { opacity: 1; }

.header__actions { display: flex; align-items: center; gap: clamp(10px, 1.4vw, 18px); }

.lang {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid currentColor; border-radius: var(--r-pill);
  padding: 5px; opacity: .72; transition: opacity .3s var(--ease);
}
.lang:hover { opacity: 1; }
.lang a, .lang span { text-decoration: none; padding: 3px 9px; border-radius: var(--r-pill); line-height: 1; }
.lang [aria-current] { background: currentColor; }
.lang [aria-current] b { color: var(--dark); font-weight: 600; }
.header--solid .lang [aria-current] b,
.header--light .lang [aria-current] b { color: var(--shell); }

.header .btn--book { --btn-bg: var(--terra); --btn-fg: #fff; --btn-bd: var(--terra); }

/* burger */
.burger {
  display: none; inline-size: 44px; block-size: 44px;
  align-items: center; justify-content: center; border-radius: var(--r-pill);
  border: 1px solid currentColor;
}
.burger span {
  position: relative; display: block; inline-size: 17px; block-size: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: background .25s var(--ease);
}
.burger span::before, .burger span::after {
  content: ""; position: absolute; inset-inline: 0; block-size: 1.5px;
  background: currentColor; border-radius: 2px;
  transition: translate .3s var(--ease), rotate .3s var(--ease);
}
.burger span::before { translate: 0 -5.5px; }
.burger span::after { translate: 0 5.5px; }
[aria-expanded="true"].burger span { background: transparent; }
[aria-expanded="true"].burger span::before { translate: 0 0; rotate: 45deg; }
[aria-expanded="true"].burger span::after { translate: 0 0; rotate: -45deg; }

@media (max-width: 1040px) {
  .nav, .header__actions .btn--book { display: none; }
  .burger { display: inline-flex; }
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 99;
  background: var(--dark); color: var(--sand);
  padding: calc(var(--header-h) + 28px) var(--pad) 40px;
  display: grid; align-content: start; gap: 6px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; translate: 0 -12px;
  transition: opacity .4s var(--ease), translate .4s var(--ease), visibility .4s;
}
.drawer.is-open { opacity: 1; visibility: visible; translate: 0 0; }
.drawer__link {
  font-family: var(--serif); font-size: var(--t-3); text-decoration: none;
  padding-block: .34em; border-block-end: 1px solid var(--line-light);
  color: var(--sand);
  display: flex; align-items: baseline; gap: .7em;
}
.drawer__link span { font-family: var(--sans); font-size: .7rem; letter-spacing: .14em; opacity: .4; }
.drawer__foot { margin-block-start: 30px; display: grid; gap: 18px; justify-items: start; }
.drawer__foot .btn { inline-size: 100%; }

/* ---------- hero ---------- */
.hero {
  position: relative; isolation: isolate;
  min-block-size: min(104svh, 980px);
  display: grid; align-items: end;
  padding-block: calc(var(--header-h) + 60px) clamp(90px, 11vw, 150px);
  color: var(--sand);
  overflow: hidden;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { inline-size: 100%; block-size: 100%; object-fit: cover; object-position: var(--hero-focus, 50% 50%); }
/* narrow screens see a thin slice of the wide hero; aim it at the lit niches. Re-tune for real photos. */
@media (max-width: 760px) { .hero__media img { object-position: var(--hero-focus-mobile, 76% 50%); } }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(14,11,9,.62) 0%, rgba(14,11,9,.2) 34%, rgba(14,11,9,.46) 72%, rgba(14,11,9,.84) 100%),
    linear-gradient(100deg, rgba(14,11,9,.7) 0%, rgba(14,11,9,.18) 56%, rgba(14,11,9,0) 80%);
}
.hero__inner { display: grid; gap: clamp(22px, 3vw, 34px); max-width: 920px; }
.hero .eyebrow { color: var(--sand); }
.hero h1 { color: #fdfaf6; font-size: var(--t-6); letter-spacing: -.022em; }
.hero h1 em { font-style: italic; color: var(--sand); }
.hero__lede { font-size: var(--t-1); color: var(--muted-light); max-width: 46ch; line-height: 1.6; }
.hero__scroll {
  position: absolute; inset-block-end: clamp(18px, 3vw, 34px); inset-inline-end: var(--pad);
  display: inline-flex; align-items: center; gap: .8em;
  font-size: .68rem; letter-spacing: .24em; text-transform: uppercase;
  color: rgba(249,243,235,.56);
}
.hero__scroll i {
  display: block; inline-size: 1px; block-size: 46px;
  background: linear-gradient(var(--sand), transparent);
  animation: drip 2.4s var(--ease) infinite;
  transform-origin: top;
}
@keyframes drip { 0% { scale: 1 0; opacity: 0; } 40% { scale: 1 1; opacity: 1; } 100% { scale: 1 1; opacity: 0; transform-origin: bottom; } }
@media (max-width: 760px) { .hero__scroll { display: none; } }

/* compact page hero */
.phero {
  position: relative; isolation: isolate;
  padding-block: calc(var(--header-h) + clamp(56px, 8vw, 104px)) clamp(48px, 7vw, 92px);
  background: var(--cream);
  overflow: hidden;
  border-block-end: 1px solid var(--line);
}
.phero::before {
  content: ""; position: absolute; z-index: -1;
  inline-size: min(52vw, 620px); aspect-ratio: 1;
  inset-block-start: -22%; inset-inline-end: -8%;
  background: radial-gradient(circle at 50% 50%, rgba(201,138,110,.3), transparent 66%);
  pointer-events: none;
}
.phero__inner { display: grid; gap: clamp(16px, 2vw, 24px); max-width: 60ch; }
.phero h1 { font-size: var(--t-4); }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .55em;
  font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  margin-block-end: clamp(20px, 2.6vw, 32px);
}
.crumbs li:last-child { color: var(--terra-deep); }
.crumbs a { text-decoration: none; opacity: .8; }
.crumbs a:hover { opacity: 1; color: var(--terra-deep); }
.crumbs li { display: flex; align-items: center; gap: .55em; }
.crumbs { list-style: none; padding: 0; }
.crumbs li + li::before { content: "/"; opacity: .4; }

/* ---------- value strip ---------- */
.strip {
  position: relative; z-index: 2;
  background: var(--shell);
  border-block-end: 1px solid var(--line);
}
.strip--float { margin-block-start: calc(var(--sect) * -.5); }
.strip__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.strip__item {
  display: grid; gap: 14px; justify-items: start;
  padding: clamp(28px, 3.4vw, 44px) clamp(18px, 2.4vw, 34px);
  border-inline-start: 1px solid var(--line);
}
.strip__item:first-child { border-inline-start: 0; }
.strip__item svg { inline-size: 26px; block-size: 26px; color: var(--terra); stroke-width: 1.2; }
.strip__item h3 { font-family: var(--sans); font-size: var(--t-0); font-weight: 600; letter-spacing: 0; line-height: 1.3; }
.strip__item p { font-size: .88rem; color: var(--muted); line-height: 1.55; }
@media (max-width: 900px) {
  .strip__grid { grid-template-columns: repeat(2, 1fr); }
  .strip__item:nth-child(-n+2) { border-block-end: 1px solid var(--line); }
  .strip__item:nth-child(odd) { border-inline-start: 0; }
  .strip--float { margin-block-start: calc(var(--sect) * -.34); }
}
@media (max-width: 520px) {
  .strip__grid { grid-template-columns: 1fr; }
  .strip__item { border-inline-start: 0; border-block-end: 1px solid var(--line); }
  .strip__item:last-child { border-block-end: 0; }
}

/* ---------- media / arch frames ---------- */
.frame { position: relative; overflow: hidden; border-radius: var(--r-m); background: var(--sand-soft); }
.frame img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.frame--arch { border-radius: 50vw 50vw var(--r-m) var(--r-m); }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--portrait { aspect-ratio: 3 / 4; }
.frame--square { aspect-ratio: 1; }
.frame--wide { aspect-ratio: 16 / 10; }
.frame--pano { aspect-ratio: 21 / 9; }
.frame img { transition: scale 1.1s var(--ease-out); }
.frame--zoom:hover img { scale: 1.045; }

.media-note {
  position: absolute; inset-block-end: 10px; inset-inline-start: 10px;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase;
  background: rgba(22,19,15,.52); color: rgba(255,250,244,.82);
  padding: 5px 10px; border-radius: var(--r-pill);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  pointer-events: none;
}


/* ---------- split section ---------- */
.split {
  display: grid; gap: clamp(32px, 5vw, 84px);
  grid-template-columns: 1fr 1fr; align-items: center;
}
.split--media-first > :first-child { order: -1; }
.split__body { display: grid; gap: clamp(18px, 2.2vw, 28px); align-content: start; }
.split__media { position: relative; }
@media (max-width: 880px) {
  .split { grid-template-columns: 1fr; }
  .split > * { order: 0 !important; }
}

/* stacked media pair */
.media-pair { position: relative; display: grid; gap: var(--gap); }
.media-pair__sub {
  position: absolute; inline-size: 42%; inset-block-end: -8%; inset-inline-end: -6%;
  border: 8px solid var(--shell); border-radius: var(--r-m); overflow: hidden;
  box-shadow: var(--shadow-m);
}
@media (max-width: 880px) {
  .media-pair { margin-block-end: 9%; }
  .media-pair__sub { inline-size: 40%; inset-inline-end: 0; border-width: 6px; }
}

/* ---------- cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r-l); overflow: hidden;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), border-color .5s var(--ease);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-m); border-color: transparent; }
.card__media { position: relative; overflow: hidden; }
.card__media img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: scale 1.1s var(--ease-out); }
.card:hover .card__media img { scale: 1.05; }
.card__body { display: grid; gap: 12px; padding: clamp(22px, 2.4vw, 32px); align-content: start; flex: 1; }
.card__body p { font-size: .94rem; color: var(--muted); }
.card__foot { margin-block-start: auto; padding-block-start: 6px; }
.card__tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  padding: 6px 11px; border-radius: var(--r-pill);
  background: var(--terra-wash); color: var(--terra-deep);
}
.tag--line { background: transparent; border: 1px solid var(--line); color: var(--muted); }
.card__index {
  font-family: var(--serif); font-size: var(--t-2); color: var(--terra); line-height: 1;
}

/* soft card, no image */
.card--soft { background: var(--cream); border-color: transparent; }
.card--plain { background: transparent; border: 0; border-radius: 0; }
.card--plain:hover { transform: none; box-shadow: none; }

/* ---------- steps ---------- */
.steps { display: grid; gap: 0; counter-reset: s; }
.step {
  display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(26px, 3vw, 40px);
  border-block-start: 1px solid var(--line);
  align-items: start;
}
.step:last-child { border-block-end: 1px solid var(--line); }
.step__n {
  font-family: var(--serif); font-size: var(--t-2); color: var(--terra);
  line-height: 1; min-inline-size: 2.4ch;
}
.step__body { display: grid; gap: 10px; }
.step__body h3 { font-size: var(--t-1); }
.step__body p { color: var(--muted); max-width: 56ch; }
@media (min-width: 881px) {
  .step { grid-template-columns: auto minmax(0, 24ch) minmax(0, 1fr); align-items: baseline; }
  .step__body { display: contents; }
  .step__body p { grid-column: 3; }
}

/* ---------- pricing ---------- */
.toggle {
  display: inline-flex; padding: 5px; gap: 4px;
  background: var(--cream); border: 1px solid var(--line); border-radius: var(--r-pill);
}
.toggle button {
  padding: .78em 1.5em; border-radius: var(--r-pill);
  font-size: var(--t--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); line-height: 1;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.toggle button[aria-selected="true"] { background: var(--ink); color: var(--shell); }

.price-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1100px) { .price-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) {
  .price-grid { grid-template-columns: 1fr; }
  /* one card per row: nothing to align with, so drop the reserved badge row and title height */
  .price__badge--empty { display: none; }
  .price h3 { min-block-size: 0; }
}

.price {
  position: relative; display: grid; gap: 18px; align-content: start;
  padding: clamp(26px, 2.8vw, 38px);
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-l);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out);
}
.price:hover { transform: translateY(-4px); box-shadow: var(--shadow-m); }
.price--feature { background: var(--dark); border-color: var(--dark); color: var(--muted-light); }
.price--feature h3, .price--feature .price__amount { color: var(--sand); }
.price--feature .price__list li { color: rgba(249,243,235,.72); }
.price--feature .price__list li::before { color: var(--terra-soft); }
.price__badge {
  justify-self: start;
  font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: 6px 11px; border-radius: var(--r-pill);
  background: var(--terra); color: #fff;
}
/* keeps the title baseline aligned across a row where only some cards carry a badge */
.price__badge--empty { visibility: hidden; }
.price h3 { font-family: var(--sans); font-size: var(--t-0); font-weight: 600; letter-spacing: .04em;
  text-transform: uppercase; min-block-size: 2.5em; }
.price__amount { font-family: var(--serif); font-size: var(--t-3); color: var(--ink); line-height: 1; display: flex; align-items: baseline; gap: .3em; flex-wrap: wrap; }
.price__amount small { font-family: var(--sans); font-size: .8rem; font-weight: 500; letter-spacing: .08em; color: var(--muted); text-transform: uppercase; }
.price--feature .price__amount small { color: rgba(249,243,235,.6); }
.price--feature .price__was { color: rgba(249,243,235,.52); }
.price__was { font-size: .9rem; color: var(--muted); text-decoration: line-through; }
.price__list { list-style: none; padding: 0; display: grid; gap: 9px; font-size: .92rem; color: var(--muted); }
/* text owns the full width; the dash is decoration and can never push words into a narrow column */
.price__list li { position: relative; padding-inline-start: 1.6em; }
.price__list li::before {
  content: "\2014"; position: absolute; inset-inline-start: 0; inset-block-start: 0;
  color: var(--terra-soft); pointer-events: none;
}
.price__note { font-size: .8rem; color: var(--muted); }
.price--feature .price__note { color: rgba(249,243,235,.56); }

/* ---------- quote band ---------- */
.band {
  position: relative; isolation: isolate; overflow: hidden;
  color: var(--sand); text-align: center;
  padding-block: clamp(80px, 11vw, 170px);
}
.band__media { position: absolute; inset: 0; z-index: -2; }
.band__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(14,11,9,.66); }
.band blockquote { display: grid; gap: clamp(20px, 2.6vw, 30px); justify-items: center; }
.band q {
  font-family: var(--serif); font-size: var(--t-3); line-height: 1.26;
  color: #fdfaf6; max-width: 20ch; display: block; quotes: none;
}
.band q::before, .band q::after { content: none; }
.band figcaption, .band cite {
  font-style: normal; font-size: .74rem; letter-spacing: .24em;
  text-transform: uppercase; color: rgba(249,243,235,.6);
}
.band__mark {
  inline-size: 44px; block-size: 44px; background-color: var(--terra-soft);
  -webkit-mask: url("../img/eden-monogram.png") center / contain no-repeat;
  mask: url("../img/eden-monogram.png") center / contain no-repeat;
  opacity: .9;
}

/* ---------- gallery ---------- */
.gal { columns: 3; column-gap: var(--gap); }
.gal__item {
  display: block; inline-size: 100%; margin-block-end: var(--gap);
  break-inside: avoid; position: relative; border: 0; padding: 0;
  border-radius: var(--r-m); overflow: hidden; cursor: zoom-in; background: var(--sand-soft);
}
.gal__item img { inline-size: 100%; block-size: 100%; object-fit: cover; transition: scale 1s var(--ease-out); }
.gal__item:hover img { scale: 1.05; }
.gal__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(14,11,9,.3), transparent 48%);
  opacity: 0; transition: opacity .4s var(--ease);
}
.gal__item:hover::after { opacity: 1; }
.gal__item--a { aspect-ratio: 4 / 3; }
.gal__item--b { aspect-ratio: 3 / 4; }
.gal__item--c { aspect-ratio: 1; }
.gal__item--d { aspect-ratio: 16 / 10; }
@media (max-width: 900px) { .gal { columns: 2; } }
@media (max-width: 520px) { .gal { columns: 1; } }

/* horizontal scroller */
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 360px);
  gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory;
  padding-block-end: 14px; margin-inline: calc(var(--pad) * -1); padding-inline: var(--pad);
  scrollbar-width: thin;
}
.rail > * { scroll-snap-align: start; }
.rail::-webkit-scrollbar { block-size: 4px; }
.rail::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 4px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  display: grid; place-items: center; padding: clamp(16px, 4vw, 48px);
  background: rgba(10, 8, 7, .93);
  opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-block-size: 84svh; max-inline-size: 100%; width: auto; border-radius: var(--r-m); object-fit: contain; }
.lightbox__close, .lightbox__nav {
  position: absolute; display: grid; place-items: center;
  inline-size: 48px; block-size: 48px; border-radius: var(--r-pill);
  border: 1px solid rgba(233,216,197,.3); color: var(--sand);
  transition: background .3s var(--ease), color .3s var(--ease);
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--sand); color: var(--ink); }
.lightbox__close { inset-block-start: clamp(14px, 3vw, 28px); inset-inline-end: clamp(14px, 3vw, 28px); }
.lightbox__nav--prev { inset-inline-start: clamp(10px, 2vw, 28px); }
.lightbox__nav--next { inset-inline-end: clamp(10px, 2vw, 28px); }
.lightbox__count {
  position: absolute; inset-block-end: clamp(14px, 3vw, 30px); inset-inline-start: 50%; translate: -50% 0;
  font-size: .74rem; letter-spacing: .2em; color: rgba(249,243,235,.62);
}
.lightbox svg { inline-size: 18px; block-size: 18px; }

/* ---------- accordion ---------- */
.faq { border-block-start: 1px solid var(--line); }
.faq details { border-block-end: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: var(--gap);
  padding-block: clamp(20px, 2.3vw, 30px); cursor: pointer; list-style: none;
  font-family: var(--serif); font-size: var(--t-1); color: var(--ink);
  transition: color .3s var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--terra-deep); }
.faq summary i {
  position: relative; flex: none; inline-size: 14px; block-size: 14px; margin-block-start: .3em;
}
.faq summary i::before, .faq summary i::after {
  content: ""; position: absolute; inset-block-start: 50%; inset-inline-start: 0;
  inline-size: 14px; block-size: 1.4px; background: var(--terra); border-radius: 2px;
  transition: rotate .35s var(--ease), opacity .35s var(--ease);
}
.faq summary i::after { rotate: 90deg; }
.faq details[open] summary i::after { rotate: 0deg; opacity: 0; }
.faq__answer { padding-block-end: clamp(20px, 2.3vw, 30px); max-width: 68ch; color: var(--muted); }
.faq details[open] .faq__answer { animation: fade .45s var(--ease-out) both; }
@keyframes fade { from { opacity: 0; translate: 0 -6px; } to { opacity: 1; translate: 0 0; } }

/* ---------- forms ---------- */
.form { display: grid; gap: clamp(18px, 2vw, 24px); }
.form__row { display: grid; gap: clamp(18px, 2vw, 24px); grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field label {
  font-size: .74rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.field label .req { color: var(--terra); }
.field input, .field textarea, .field select {
  inline-size: 100%; padding: .95em 1.1em;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-s);
  font-size: var(--t-0); color: var(--ink);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-block-size: 150px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(111,101,91,.6); }
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none; border-color: var(--terra); box-shadow: 0 0 0 3px rgba(159,89,66,.14);
}
.field[data-invalid="true"] input, .field[data-invalid="true"] textarea { border-color: #b3442f; }
.field__error { font-size: .78rem; color: #b3442f; min-block-size: 1em; }
.field__error:empty { display: none; }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label {
  display: grid; gap: 4px; padding: 1em 1.2em; cursor: pointer;
  border: 1px solid var(--line); border-radius: var(--r-m); background: #fff;
  font-size: .9rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.segmented label small { font-size: .78rem; color: var(--muted); font-weight: 400; }
.segmented input:checked + label { border-color: var(--terra); background: var(--terra-wash); }
.segmented input:focus-visible + label { outline: 2px solid var(--terra); outline-offset: 2px; }

.check { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start;
  font-size: .88rem; color: var(--muted); font-weight: 400; letter-spacing: 0; text-transform: none; }
.field[data-invalid="true"] .check { color: #b3442f; }
.field[data-invalid="true"] .check input { outline: 2px solid #b3442f; outline-offset: 2px; }
.check input { inline-size: 18px; block-size: 18px; margin-block-start: .22em; accent-color: var(--terra); flex: none; }
.check a { color: var(--terra-deep); }

.form__status {
  display: none; gap: 14px; align-items: start;
  padding: clamp(18px, 2vw, 24px); border-radius: var(--r-m);
  background: var(--terra-wash); border: 1px solid rgba(159,89,66,.24);
  font-size: .94rem; color: var(--ink-2);
}
.form__status.is-visible { display: grid; grid-template-columns: auto 1fr; }
.form__status svg { inline-size: 22px; block-size: 22px; color: var(--terra); }
.form__status strong { display: block; font-size: var(--t-0); color: var(--ink); margin-block-end: 3px; }

/* ---------- contact info ---------- */
.info { display: grid; gap: 2px; }
.info__item {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start;
  padding-block: clamp(16px, 1.8vw, 22px); border-block-end: 1px solid var(--line);
}
.info__item:first-child { border-block-start: 1px solid var(--line); }
.info__item svg { inline-size: 19px; block-size: 19px; color: var(--terra); margin-block-start: .3em; stroke-width: 1.3; }
.info__item dt { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-block-end: 4px; }
.info__item dd { margin: 0; font-size: var(--t-0); color: var(--ink); }
.info__item a { text-decoration: none; border-block-end: 1px solid var(--line-strong); }
.info__item a:hover { color: var(--terra-deep); border-color: currentColor; }

.hours { list-style: none; padding: 0; display: grid; gap: 10px; }
.hours li { display: flex; justify-content: space-between; gap: var(--gap); padding-block-end: 10px; border-block-end: 1px dashed var(--line); font-size: .94rem; }
.hours li:last-child { border: 0; padding-block-end: 0; }
.hours span:first-child { color: var(--muted); }
.hours span:last-child { color: var(--ink); font-variant-numeric: tabular-nums; }

.map {
  position: relative; aspect-ratio: 21 / 9; border-radius: var(--r-l); overflow: hidden;
  background:
    radial-gradient(circle at 40% 44%, rgba(159,89,66,.16), transparent 58%),
    repeating-linear-gradient(57deg, rgba(22,19,15,.05) 0 1px, transparent 1px 46px),
    repeating-linear-gradient(-33deg, rgba(22,19,15,.05) 0 1px, transparent 1px 62px),
    var(--cream);
  border: 1px solid var(--line);
  display: grid; place-items: center;
}
.map__pin { display: grid; gap: 10px; justify-items: center; text-align: center; }
.map__pin span {
  inline-size: 14px; block-size: 14px; border-radius: 50%; background: var(--terra);
  box-shadow: 0 0 0 7px rgba(159,89,66,.18), 0 0 0 16px rgba(159,89,66,.09);
}
.map__pin small { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 680px) { .map { aspect-ratio: 4 / 3; } }

/* ---------- cta band ---------- */
.cta {
  position: relative; isolation: isolate; overflow: hidden; color: var(--sand);
  padding-block: clamp(70px, 9vw, 130px);
}
.cta__media { position: absolute; inset: 0; z-index: -2; }
.cta__media img { inline-size: 100%; block-size: 100%; object-fit: cover; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(92deg, rgba(14,11,9,.9), rgba(14,11,9,.64)); }
.cta__inner { display: grid; gap: clamp(20px, 2.6vw, 30px); max-width: 62ch; }
.cta h2 { color: #fdfaf6; }
.cta p { color: var(--muted-light); }

/* ---------- footer ---------- */
.footer { background: var(--dark); color: rgba(249,243,235,.62); padding-block: clamp(56px, 7vw, 90px) 32px; }
.footer a { text-decoration: none; }
.footer__top {
  display: grid; gap: clamp(32px, 4vw, 64px);
  grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  padding-block-end: clamp(36px, 4.4vw, 60px);
  border-block-end: 1px solid var(--line-light);
}
@media (max-width: 960px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__top { grid-template-columns: 1fr; } }
.footer__brand { display: grid; gap: 20px; align-content: start; max-width: 36ch; }
.footer__brand .logo { color: var(--sand); }
.footer__brand p { font-size: .92rem; }
.footer__brand .btn { justify-self: start; }
.footer__col { display: grid; gap: 14px; align-content: start; }
.footer__col h3 {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--sand);
}
.footer__col ul { list-style: none; padding: 0; display: grid; gap: 11px; font-size: .94rem; }
.footer__col a { opacity: .78; transition: opacity .3s var(--ease), color .3s var(--ease); }
.footer__col a:hover { opacity: 1; color: var(--sand); }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: 14px var(--gap);
  align-items: center; justify-content: space-between;
  padding-block-start: 26px; font-size: .8rem;
}
.footer__bottom p { opacity: .66; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  display: grid; place-items: center; inline-size: 40px; block-size: 40px;
  border: 1px solid var(--line-light); border-radius: var(--r-pill);
  color: var(--sand); opacity: .72;
  transition: opacity .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.footer__social a:hover { opacity: 1; background: var(--sand); color: var(--dark); }
.footer__social svg { inline-size: 17px; block-size: 17px; }

/* ---------- decorative ---------- */
.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand-soft); }
.bg-dark { background: var(--dark); color: var(--muted-light); }
.bg-dark h2, .bg-dark h3, .bg-dark h4 { color: var(--sand); }
.bg-dark .eyebrow { color: var(--terra-soft); }
.bg-dark p, .bg-dark .lede, .bg-dark li, .bg-dark dd { color: var(--muted-light); }
.bg-dark .muted { color: rgba(249, 243, 235, .54); }
.bg-dark .link-arrow { color: var(--sand); }
.bg-dark .rule, .bg-dark hr { background: var(--line-light); }

.glow { position: relative; isolation: isolate; overflow-x: clip; }
.glow::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inline-size: min(60vw, 720px); aspect-ratio: 1;
  inset-block-start: -14%; inset-inline-start: -14%;
  background: radial-gradient(circle, rgba(201,138,110,.22), transparent 64%);
}
.glow--right::before { inset-inline: auto -14%; }

/* ---------- reveal ---------- */
[data-reveal] { opacity: 0; translate: 0 22px; transition: opacity .9s var(--ease-out), translate .9s var(--ease-out); }
[data-reveal].is-in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; translate: none; transition: none; }
  .hero__scroll i { animation: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- print ---------- */
@media print {
  .header, .drawer, .hero__scroll, .cta, .footer__social { display: none; }
  body { background: #fff; color: #000; }
}

/* ---------- weather widget (home hero) ---------- */
.weather {
  display: grid; gap: 12px; inline-size: min(100%, 340px);
  padding: 18px 20px 16px;
  background: rgba(23, 19, 15, .5);
  border: 1px solid rgba(233, 216, 197, .2);
  border-radius: var(--r-m);
  backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2);
  color: var(--sand);
  opacity: 0; translate: 0 10px;
  transition: opacity .7s var(--ease-out), translate .7s var(--ease-out);
}
.weather[hidden] { display: none; }
.weather.is-ready { opacity: 1; translate: 0 0; }
.weather__now { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 14px; }
.weather__icon { color: var(--terra-soft); display: grid; }
.weather__icon svg { inline-size: 40px; block-size: 40px; stroke-width: 1.3; }
.weather__temp {
  font-family: var(--serif); font-size: 2.4rem; line-height: 1; color: #fdfaf6;
  font-variant-numeric: lining-nums tabular-nums; letter-spacing: -.02em;
}
.weather__meta { display: grid; gap: 2px; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; }
.weather__meta span:first-child { color: var(--sand); font-weight: 600; }
.weather__meta span:last-child { color: rgba(249, 243, 235, .66); letter-spacing: .06em; text-transform: none; font-size: .86rem; }
.weather__tip { font-family: var(--serif); font-style: italic; font-size: 1.05rem; line-height: 1.4; color: #fdfaf6; }
.weather__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-block-start: 10px; border-block-start: 1px solid rgba(233, 216, 197, .16); }
.weather__cta {
  display: inline-flex; align-items: center; gap: .5em; text-decoration: none;
  font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--sand);
  transition: gap .3s var(--ease), color .3s var(--ease);
}
.weather__cta:hover { gap: .8em; color: #fff; }
.weather__cta svg { inline-size: 1em; block-size: 1em; }
.weather__src { font-size: .64rem; letter-spacing: .04em; color: rgba(249, 243, 235, .5); }

@media (min-width: 1200px) {
  .weather { position: absolute; inset-block-end: clamp(28px, 4vw, 56px); inset-inline-end: max(var(--pad), calc((100vw - 1280px) / 2 + var(--pad))); }
  .hero:has(.weather:not([hidden])) .hero__scroll { display: none; }
}
@media (max-width: 1199px) { .weather { margin-block-start: 8px; } }
@media (prefers-reduced-motion: reduce) { .weather { opacity: 1; translate: none; } }

/* compact state: after scrolling, the card morphs into a floating pill (icon, temperature, CTA) */
.weather.weather--compact {
  position: fixed; z-index: 90;
  inset-block-end: max(16px, env(safe-area-inset-bottom)); inset-inline-end: clamp(14px, 2.5vw, 28px);
  inset-inline-start: auto; inset-block-start: auto;
  display: flex; align-items: center; gap: 12px;
  inline-size: auto; margin: 0;
  padding: 6px 6px 6px 14px;
  border-radius: var(--r-pill);
  background: rgba(23, 19, 15, .78);
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .55);
}
.weather--compact .weather__now { display: flex; gap: 8px; }
.weather--compact .weather__icon svg { inline-size: 26px; block-size: 26px; }
.weather--compact .weather__temp { font-size: 1.4rem; }
.weather--compact .weather__meta,
.weather--compact .weather__tip,
.weather--compact .weather__src { display: none; }
.weather--compact .weather__foot { padding: 0; border: 0; }
.weather--compact .weather__cta {
  background: var(--terra); color: #fff; padding: .85em 1.15em; border-radius: var(--r-pill);
  transition: background .3s var(--ease), gap .3s var(--ease);
}
.weather--compact .weather__cta:hover { background: var(--terra-deep); color: #fff; }
/* fade the content through the shape change so stretched text never shows */
.weather.is-morphing > :not(template) { animation: wx-content .5s var(--ease-out); }
@keyframes wx-content { 0%, 45% { opacity: 0; } 100% { opacity: 1; } }
/* step aside while the footer is on screen */
.weather.weather--away { opacity: 0; translate: 0 12px; pointer-events: none; }
