/* Casa D'Karmen — brand site design system.
   Base: brown #6b4226 + warm gray + cream/white. Orange #f15a24 is a SCARCE
   accent (primary CTA, hamburger, small highlights) — never a surface color. */

/* ---- fonts (self-hosted; Fraunces = Copper stand-in, see BUILD-SPEC) ---- */
@font-face {
  font-family: 'Fraunces Variable';
  src: url('/assets/fonts/fraunces.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Lora Variable';
  src: url('/assets/fonts/lora.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: 'Lora Variable';
  src: url('/assets/fonts/lora-italic.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

/* ---- tokens -------------------------------------------------------------- */
:root {
  --brown-950: #2e1d10;
  --brown-900: #3e2717;
  --brown: #6b4226;          /* brand brown */
  --brown-soft: #8a5c3d;
  --gray-700: #57504a;       /* body text on light */
  --gray-500: #857b73;       /* secondary text */
  --gray-300: #d9d0c6;       /* hairlines */
  --cream: #faf6f0;          /* page background */
  --cream-2: #f2eadf;        /* alternate section */
  --white: #ffffff;
  --orange: #f15a24;         /* accent ONLY */
  --orange-deep: #d1470f;
  --on-dark: #f6efe6;        /* text on brown */
  --on-dark-dim: #cdbba9;

  --font-display: 'Fraunces Variable', Georgia, serif;
  --font-body: 'Lora Variable', Georgia, serif;
  --soft: 'SOFT' 80, 'WONK' 0;

  --measure: 62ch;
  --wrap: 1160px;
  --radius: 14px;
  --shadow-card: 0 2px 24px rgba(62, 39, 23, 0.08);
  --shadow-lift: 0 12px 40px rgba(62, 39, 23, 0.14);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---- base ---------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--gray-700);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  color: var(--brown-900);
  line-height: 1.12;
  margin: 0 0 0.5em;
  font-weight: 640;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
p { margin: 0 0 1em; max-width: var(--measure); }
a { color: var(--brown); text-underline-offset: 3px; }
a:hover { color: var(--orange-deep); }
::selection { background: rgba(241, 90, 36, 0.18); }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--brown-900);
  color: var(--on-dark);
  padding: 0.75rem 1.25rem;
  z-index: 100;
}
.skip:focus { left: 0.5rem; top: 0.5rem; }

/* small caps label — the quiet premium detail used everywhere */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-soft);
  margin: 0 0 1.1rem;
}
.eyebrow::after {
  content: '';
  display: inline-block;
  width: 34px;
  height: 2px;
  background: var(--orange);
  margin-left: 0.9rem;
  vertical-align: middle;
  border-radius: 2px;
}

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }
.section--alt { background: var(--cream-2); }
.section--dark { background: var(--brown-900); }
.section--dark h2, .section--dark h3 { color: var(--on-dark); }
.section--dark p { color: var(--on-dark-dim); }
.center { text-align: center; }
.center p, .center .eyebrow { margin-inline: auto; }

/* ---- buttons ------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  padding: 1.02rem 1.9rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
    background-color 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 6px 20px rgba(241, 90, 36, 0.28);
}
.btn--primary:hover { background: var(--orange-deep); color: #fff; box-shadow: 0 10px 26px rgba(241, 90, 36, 0.32); }
.btn--ghost {
  background: transparent;
  color: var(--brown-900);
  border-color: var(--brown-soft);
}
.btn--ghost:hover { border-color: var(--brown-900); color: var(--brown-900); background: rgba(107, 66, 38, 0.05); }
.section--dark .btn--ghost { color: var(--on-dark); border-color: var(--on-dark-dim); }
.section--dark .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255, 255, 255, 0.06); }
.btn-row { display: flex; gap: 0.9rem; flex-wrap: wrap; }
.center .btn-row { justify-content: center; }

/* ---- header -------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(107, 66, 38, 0.1);
}
/* blur lives on a pseudo so the header never becomes a containing block for
   the fixed mobile nav (backdrop-filter on the header itself would trap it) */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: blur(10px);
}
.site-header__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 0.7rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.site-header__logo img { height: 52px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 1.9rem; margin-left: auto; }
.site-nav a {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--brown-900);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding-block: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease);
}
.site-nav a:hover { color: var(--orange-deep); }
.site-nav a[aria-current='page'] { border-bottom-color: var(--orange); }
.site-nav .btn { padding: 0.8rem 1.5rem; font-size: 0.95rem; }
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  margin: 5px 0;
  transition: transform 0.35s var(--ease), opacity 0.25s;
}
@media (max-width: 880px) {
  .site-nav {
    position: fixed;
    inset: 0;
    top: 66px;
    background: var(--cream);
    flex-direction: column;
    justify-content: center;
    gap: 1.6rem;
    font-size: 1.25rem;
    transform: translateY(-115%);
    visibility: hidden;
    transition: transform 0.5s var(--ease), visibility 0s 0.5s;
    z-index: 40;
  }
  .site-nav a { font-size: 1.35rem; }
  .site-nav.open { transform: translateY(0); visibility: visible; transition: transform 0.5s var(--ease); }
  .nav-toggle { display: block; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
  body.nav-open { overflow: hidden; }
}

/* ---- hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  min-height: min(88vh, 780px);
  align-items: center;
}
.hero__media { position: absolute; inset: 0; overflow: hidden; }
.hero__media > * { width: 100%; height: 100%; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(46, 29, 16, 0.72) 0%, rgba(46, 29, 16, 0.38) 45%, rgba(46, 29, 16, 0.3) 100%);
}
.hero__in { position: relative; padding-block: clamp(5rem, 12vw, 8rem); }
.hero h1 { color: #fff; margin-bottom: 0.35em; }
.hero .hero__sub {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero .eyebrow { color: rgba(255, 255, 255, 0.75); }

/* interior page hero (short, no photo) */
.page-head { padding: clamp(3.5rem, 8vw, 5.5rem) 0 clamp(1.5rem, 4vw, 2.5rem); }

/* ---- photo slots ---------------------------------------------------------
   Clearly-marked placeholders until the owner's real photos land.
   Swap: replace .ph's inner content with <img src=... alt=...>. */
.photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-2);
  box-shadow: var(--shadow-card);
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--43 { aspect-ratio: 4 / 3; }
.photo--45 { aspect-ratio: 4 / 5; }
.photo--169 { aspect-ratio: 16 / 9; }
.photo--sq { aspect-ratio: 1; }
.ph {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  border: 2px dashed rgba(107, 66, 38, 0.35);
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(241, 90, 36, 0.05), transparent 55%),
    linear-gradient(160deg, #efe5d7, #e6d9c7);
  color: var(--brown-soft);
  text-align: center;
  padding: 1rem;
}
.ph svg { width: 34px; height: 34px; opacity: 0.55; }
.ph small {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  max-width: 22ch;
  line-height: 1.5;
}
/* in the hero the slot label steps aside: bottom-left, dim, out of the headline's way */
.hero .ph {
  border: 0;
  border-radius: 0;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 2rem clamp(1.25rem, 4vw, 2.5rem);
  opacity: 0.55;
}
.hero .ph svg { width: 24px; height: 24px; }

/* ---- layout patterns ------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
}
.split--flip > :first-child { order: 2; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; }
  .split--flip > :first-child { order: 0; }
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
@media (max-width: 1020px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .grid-4 { grid-template-columns: 1fr; } }

/* ---- proof band (Tripadvisor etc.) --------------------------------------- */
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.proof__item { padding: 1.4rem 1rem; }
.proof__n {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  color: var(--brown);
  line-height: 1;
}
.proof__n .star { color: var(--orange); }
.proof__l {
  margin: 0.55rem auto 0;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-500);
  max-width: 20ch;
}
@media (max-width: 820px) { .proof { grid-template-columns: repeat(2, 1fr); } }

/* ---- cards ---------------------------------------------------------------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
a.card { text-decoration: none; color: inherit; }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card .photo { border-radius: 0; box-shadow: none; }
.card__body { padding: 1.5rem 1.6rem 1.7rem; display: flex; flex-direction: column; gap: 0.3rem; flex: 1; }
.card__body h3 { margin-bottom: 0.1em; }
.card__body p { font-size: 0.98rem; margin-bottom: 0; }
.card__price {
  margin-top: auto;
  padding-top: 0.9rem;
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brown);
}
.card__price small { font-family: var(--font-body); font-weight: 600; font-size: 0.78rem; color: var(--gray-500); letter-spacing: 0.08em; text-transform: uppercase; margin-right: 0.5rem; }

/* ---- quote / testimonial -------------------------------------------------- */
.quote {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 560;
  line-height: 1.35;
  color: var(--on-dark);
  max-width: 26ch;
  margin: 0 auto 1.4rem;
  text-wrap: balance;
}
.quote-src {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-dark-dim);
}
.stars { color: var(--orange); font-size: 1.3rem; letter-spacing: 0.35em; margin-bottom: 1.6rem; }

/* ---- value chips ---------------------------------------------------------- */
.chips { display: flex; flex-wrap: wrap; gap: 0.7rem; }
.center .chips { justify-content: center; }
.chip {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 999px;
  padding: 0.62rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--brown-900);
}

/* ---- promo cards ---------------------------------------------------------- */
.promo-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.8rem 1.9rem;
  border-top: 4px solid var(--orange);
}
.promo-card h3 { margin-bottom: 0.35em; }
.promo-card p { margin-bottom: 0.4rem; font-size: 1rem; }
.promo-card .promo-until { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray-500); }
.promo-state { max-width: 46ch; margin-inline: auto; }

/* ---- info / contact rows -------------------------------------------------- */
.info-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 1.9rem 2rem;
}
.info-card h3 { display: flex; align-items: center; gap: 0.7rem; }
.info-card h3 svg { width: 22px; height: 22px; color: var(--orange); flex: none; }
.info-card p { font-size: 1rem; margin-bottom: 0.5rem; }
.tag-soon {
  display: inline-block;
  border: 1.5px dashed rgba(107, 66, 38, 0.4);
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-soft);
}

/* ---- CTA band ------------------------------------------------------------- */
.cta-band { text-align: center; }
.cta-band h2 { color: var(--on-dark); max-width: 18ch; margin-inline: auto; }
.cta-band p { margin-inline: auto; }

/* ---- footer ---------------------------------------------------------------- */
.site-footer { background: var(--brown-950); color: var(--on-dark-dim); font-size: 0.96rem; }
.site-footer__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}
.site-footer__brand img { height: 64px; width: auto; margin-bottom: 1rem; }
.site-footer h4 {
  color: var(--on-dark);
  font-size: 0.85rem;
  font-family: var(--font-body);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.site-footer p { max-width: 34ch; }
.site-footer .slogan {
  font-family: var(--font-display);
  font-variation-settings: var(--soft);
  font-style: normal;
  color: var(--on-dark);
  font-size: 1.25rem;
  font-weight: 600;
}
.site-footer__bar {
  border-top: 1px solid rgba(246, 239, 230, 0.12);
  margin-top: 1rem;
}
.site-footer__bar-in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 1.3rem clamp(1.25rem, 4vw, 2.5rem);
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 2rem;
  justify-content: space-between;
  font-size: 0.85rem;
}
@media (max-width: 820px) { .site-footer__in { grid-template-columns: 1fr; } }

/* ---- reveal motion --------------------------------------------------------- */
.rv { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.rv.in { opacity: 1; transform: none; }
.rv-d1 { transition-delay: 0.08s; }
.rv-d2 { transition-delay: 0.16s; }
.rv-d3 { transition-delay: 0.24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .card { transition: none; }
}
