:root {
  --ink: #0e1726;
  --ink-soft: #334155;
  --mute: #64748b;
  --paper: #f6f3ee;
  --paper-2: #fffdf9;
  --line: rgba(14, 23, 38, 0.1);
  --gold: #b08d3a;
  --gold-deep: #8c6d28;
  --sea: #1f6b6a;
  --wa: #25d366;
  --danger: #b42318;
  --shadow: 0 12px 32px rgba(14, 23, 38, 0.1);
  --radius: 16px;
  --max: 1120px;
  --nav-h: 56px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scrollbar-width: none; scroll-padding-top: calc(var(--nav-h) + 0.6rem); }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(900px 380px at 8% -8%, rgba(176, 141, 58, 0.12), transparent 60%),
    radial-gradient(700px 320px at 100% 0%, rgba(31, 107, 106, 0.1), transparent 55%),
    var(--paper);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}
body.drawer-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.wrap { width: min(100% - 1.5rem, var(--max)); margin-inline: auto; overflow: visible; }
.icon { width: 1.15em; height: 1.15em; display: inline-block; flex-shrink: 0; }
.btn .icon { width: 1.15em; height: 1.15em; }

/* Header — full width, compact */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(246, 243, 238, 0.94);
  border-bottom: 1px solid var(--line);
}
.nav-bar {
  height: var(--nav-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 0.7rem;
  width: 100%;
  gap: 0.5rem;
}
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
}
.nav-links a {
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--ink-soft);
}
.nav-links a:hover,
.nav-links a.is-active {
  background: rgba(14, 23, 38, 0.06);
  color: var(--ink);
}
.nav-end { display: flex; align-items: center; justify-content: flex-end; gap: 0.4rem; }
.header-wa { display: inline-flex; }
.brand { display: flex; align-items: center; gap: 0.45rem; min-width: 0; }
.brand img { width: 40px; height: 40px; border-radius: 0; object-fit: cover; background: #fff; display: block; }
.brand-mark {
  display: grid; place-items: center;
  width: 40px; height: 40px; flex-shrink: 0;
  border-radius: 10px; background: #fff; overflow: hidden;
}
.brand strong {
  display: block; font-family: var(--font-display); font-size: 0.84rem;
  font-weight: 650; letter-spacing: -0.02em; line-height: 1.1;
}
.brand span {
  display: block; font-size: 0.54rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--mute); font-weight: 700;
}
.menu-btn {
  width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 10px;
  background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink);
}
.menu-btn .icon { width: 18px; height: 18px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 0.62rem 1.05rem; font-weight: 750; font-size: 0.9rem;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--ink), #1f2a3d); color: #fff !important; }
.btn-gold { background: linear-gradient(135deg, var(--gold), var(--gold-deep)); color: #fff; }
.btn-ghost { background: rgba(255,255,255,0.75); border: 1px solid var(--line); color: var(--ink); }
.btn-wa { background: var(--wa); color: #fff; font-weight: 800; padding: 0.7rem 1.15rem; font-size: 0.95rem; }
.btn-wa .icon { color: #fff; }
.btn-sm { padding: 0.38rem 0.72rem; font-size: 0.78rem; }

/* Drawer */
.drawer-backdrop {
  position: fixed; inset: 0; background: rgba(14,23,38,0.4); z-index: 80;
  animation: fadeIn 0.2s ease;
}
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(86vw, 340px);
  background: var(--paper-2); z-index: 90; transform: translateX(104%);
  transition: transform 0.28s cubic-bezier(.2,.8,.2,1);
  box-shadow: -16px 0 40px rgba(14,23,38,0.16);
  display: flex; flex-direction: column; padding: 0.85rem;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.drawer-nav { display: grid; gap: 0.2rem; }
.drawer-nav a {
  padding: 0.7rem 0.75rem; border-radius: 12px; font-weight: 700; font-size: 0.95rem;
  display: flex; align-items: center; justify-content: space-between;
}
.drawer-nav a:hover, .drawer-nav a.is-active { background: rgba(176,141,58,0.12); color: var(--gold-deep); }
.drawer-foot { margin-top: auto; display: grid; gap: 0.45rem; padding-top: 1rem; }

.wa-float {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 60;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--wa); color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px rgba(37,211,102,0.4);
  animation: floatIn 0.5s ease both;
}
.wa-float .icon { width: 28px; height: 28px; }
.wa-float:hover { transform: scale(1.06); }

/* Hero */
.hero {
  position: relative; min-height: calc(100svh - var(--nav-h));
  display: grid; place-items: center; overflow: hidden; color: #fff; text-align: center;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,23,38,0.32), rgba(14,23,38,0.72));
}
.hero-content { position: relative; z-index: 1; padding: 2.4rem 0 2.1rem; max-width: 680px; margin-inline: auto; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.22rem 0.55rem; border-radius: 999px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.65rem;
}
.hero h1 {
  font-family: var(--font-display); font-size: clamp(1.75rem, 4vw, 2.85rem);
  line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 0.55rem;
}
.hero p { font-size: 0.95rem; color: rgba(255,255,255,0.88); max-width: 34rem; margin: 0 auto 1.05rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.hero-stats {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 0.4rem; margin: 1.15rem auto 0; max-width: 340px;
}
.hero-stats div {
  padding: 0.45rem 0.5rem; border-radius: 10px;
  background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.14);
}
.hero-stats strong { display: block; font-family: var(--font-display); font-size: 1.1rem; }
.hero-stats span { font-size: 0.62rem; opacity: 0.8; font-weight: 600; }

.section { padding: 2.1rem 0; }
.section-screen {
  display: flex; flex-direction: column; justify-content: center; gap: 1.4rem;
  min-height: calc(100svh - var(--nav-h));
  box-sizing: border-box;
}
.section-screen > .wrap { width: min(100% - 1.5rem, var(--max)); }
.section-head { margin-bottom: 0.8rem; }
.section-head h2 {
  font-family: var(--font-display); font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  letter-spacing: -0.03em; line-height: 1.15;
}
.section-head p { color: var(--mute); font-size: 0.88rem; max-width: 36rem; }
.section-head .row { display: flex; justify-content: space-between; align-items: end; gap: 0.75rem; }

/* Carousel — full-bleed on small screens, shadows not clipped */
.carousel-bleed { position: relative; overflow: visible; }
.hscroll {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(244px, 280px);
  gap: 0.7rem; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory;
  padding: 0.65rem 0 1.35rem;
  scrollbar-width: none;
}
.hscroll::-webkit-scrollbar { display: none; }
.carousel-nav {
  display: none;
  position: absolute;
  top: calc(50% - 0.4rem);
  z-index: 4;
  width: 44px; height: 44px; padding: 0;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink);
  box-shadow: 0 8px 20px rgba(14,23,38,0.12);
  cursor: pointer; place-items: center;
}
.carousel-nav .icon,
.carousel-nav svg {
  width: 18px; height: 18px;
  color: var(--ink);
  stroke: var(--ink);
  fill: none;
}
.carousel-nav.prev { left: -0.35rem; }
.carousel-nav.next { right: -0.35rem; }
.carousel-nav:hover { background: var(--paper); }
.carousel-nav:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(176,141,58,0.28); }
.carousel-nav:disabled { opacity: 0.35; cursor: default; box-shadow: none; }
.carousel-nav[hidden] { display: none !important; }

.card {
  position: relative; scroll-snap-align: start;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 8px 22px rgba(14,23,38,0.08);
  display: flex; flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-hit { position: absolute; inset: 0; z-index: 1; }
.card-body h3 a, .card-actions { position: relative; z-index: 2; }
.card-media { position: relative; aspect-ratio: 16/11; background: #d9d2c6; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.photo-count {
  position: absolute; right: 0.45rem; bottom: 0.45rem;
  background: rgba(14,23,38,0.78); color: #fff; font-size: 0.62rem; font-weight: 700;
  padding: 0.18rem 0.4rem; border-radius: 999px;
}
.badges { position: absolute; top: 0.45rem; left: 0.45rem; display: flex; flex-wrap: wrap; gap: 0.22rem; }
.badge {
  font-family: var(--font-body); font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
  padding: 0.2rem 0.42rem; border-radius: 999px; background: rgba(14,23,38,0.82); color: #fff;
}
.badge.sale { background: var(--sea); }
.badge.rent { background: var(--gold-deep); }
.badge.feat { background: #5b4bb7; }
.badge.deal { background: #b42318; }
.card-body { padding: 0.5rem 0.65rem 0.65rem; display: grid; gap: 0.22rem; }
.card-body h3 { font-size: 0.86rem; font-weight: 750; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.price { font-weight: 800; color: var(--gold-deep); font-size: 0.86rem; }
.meta-row { display: flex; flex-wrap: wrap; gap: 0.35rem 0.5rem; color: var(--mute); font-size: 0.72rem; font-weight: 600; }
.meta-item { display: inline-flex; align-items: center; gap: 0.18rem; }
.card-actions { display: flex; gap: 0.32rem; padding-top: 0.15rem; }
.card-actions .btn { flex: 1; }

/* Home story */
.story-grid {
  display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 1rem; align-items: center;
}
.story-photo {
  border-radius: 18px; min-height: 300px; background: #d7d0c4 center/cover no-repeat;
  box-shadow: var(--shadow);
}
.story-copy h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin: 0.25rem 0 0.5rem; }
.story-copy p { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 0.7rem; }
.story-copy .hero-cta { justify-content: flex-start; }
.pill-list { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.65rem 0 0.9rem; }
.pill {
  padding: 0.26rem 0.52rem; border-radius: 999px; background: rgba(176,141,58,0.12);
  color: var(--gold-deep); font-size: 0.7rem; font-weight: 750;
}
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.65rem; }
.value-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px; padding: 0.9rem;
  transition: transform 0.2s ease;
}
.value-card:hover { transform: translateY(-3px); }
.value-card h3 { font-size: 0.92rem; margin-bottom: 0.3rem; }
.value-card p { color: var(--mute); font-size: 0.82rem; }

.page-hero {
  position: relative; min-height: 220px; display: grid; align-items: end; overflow: hidden; color: #fff;
}
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,23,38,0.2), rgba(14,23,38,0.72)); }
.page-hero .wrap { position: relative; z-index: 1; padding: 2.2rem 0 1.4rem; }
.page-hero h1 { font-family: var(--font-display); font-size: clamp(1.6rem, 3.2vw, 2.4rem); }

.chips { display: flex; flex-wrap: wrap; gap: 0.3rem; margin-bottom: 0.8rem; }
.listing-tools { display: flex; align-items: stretch; gap: 0.45rem; margin-bottom: 0.85rem; }
.search-bar {
  display: flex; align-items: center; gap: 0.5rem; flex: 1; min-width: 0;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: 0.45rem 0.85rem;
  box-shadow: 0 4px 14px rgba(14,23,38,0.05);
}
.search-bar .icon { color: var(--mute); width: 18px; height: 18px; }
.search-bar input {
  flex: 1; border: 0; background: transparent; outline: none;
  font-size: 0.92rem; min-width: 0;
}
.search-bar input::-webkit-search-cancel-button { appearance: none; }
.filter-drop {
  position: relative; display: none; flex: 0 0 auto; min-width: 0;
}
.filter-drop select {
  appearance: none; -webkit-appearance: none;
  height: 100%; min-height: 44px; max-width: 9.75rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: #fff; color: var(--ink);
  padding: 0.45rem 2.1rem 0.45rem 0.9rem;
  font-weight: 700; font-size: 0.78rem;
  box-shadow: 0 4px 14px rgba(14,23,38,0.05);
  cursor: pointer;
}
.filter-drop select:focus { outline: none; box-shadow: 0 0 0 3px rgba(176,141,58,0.28); }
.filter-caret {
  position: absolute; right: 0.7rem; top: 50%; transform: translateY(-50%) rotate(90deg);
  pointer-events: none; color: var(--mute); display: grid; place-items: center;
}
.filter-caret .icon { width: 14px; height: 14px; stroke: var(--mute); }
.chip {
  border: 1px solid var(--line); background: rgba(255,255,255,0.7); color: var(--ink-soft);
  border-radius: 999px; padding: 0.32rem 0.68rem; cursor: pointer; font-weight: 700; font-size: 0.76rem;
}
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.listing-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0.75rem;
}

/* Listing detail product layout */
.listing-page { padding-top: 1.15rem; padding-bottom: 2rem; }
.back-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.78rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 0.85rem;
}
.back-link .icon { color: var(--ink); stroke: var(--ink); }
.back-link:hover { color: var(--ink); }
.product {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1rem; align-items: start;
}
.product > * { min-width: 0; }
.gallery-stage {
  position: relative; border-radius: 16px; overflow: hidden;
  background: #d9d2c6; aspect-ratio: 16/11; min-width: 0;
}
.gallery-main {
  display: flex; height: 100%; width: 100%; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  touch-action: pan-x; overscroll-behavior-x: contain;
}
.gallery-main::-webkit-scrollbar { display: none; }
.gallery-main img {
  flex: 0 0 100%; width: 100%; height: 100%; max-width: none;
  object-fit: cover; scroll-snap-align: start; scroll-snap-stop: always;
  pointer-events: none; user-select: none;
}
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 40px; height: 40px; padding: 0;
  border: 0; border-radius: 999px;
  background: rgba(255,255,255,0.94); color: var(--ink);
  box-shadow: 0 6px 16px rgba(14,23,38,0.18);
  cursor: pointer; display: grid; place-items: center;
}
.gallery-nav .icon, .gallery-nav svg {
  width: 18px; height: 18px; color: var(--ink); stroke: var(--ink); fill: none;
}
.gallery-nav.prev { left: 0.55rem; }
.gallery-nav.next { right: 0.55rem; }
.gallery-nav:disabled { opacity: 0.3; cursor: default; box-shadow: none; }
.gallery-count {
  position: absolute; right: 0.55rem; bottom: 0.55rem; z-index: 4;
  background: rgba(14,23,38,0.72); color: #fff;
  font-size: 0.68rem; font-weight: 700;
  padding: 0.18rem 0.48rem; border-radius: 999px;
}
.gallery-stage.is-single .gallery-nav,
.gallery-stage.is-single .gallery-count { display: none; }
.gallery-strip { position: relative; min-width: 0; width: 100%; margin-top: 0.5rem; }
.thumbs {
  display: flex; flex-wrap: nowrap; gap: 0.4rem;
  width: 100%; max-width: 100%; min-width: 0;
  overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
  touch-action: pan-x; overscroll-behavior-x: contain;
  padding: 0.15rem 0.1rem 0.25rem;
}
.thumbs::-webkit-scrollbar { display: none; }
.thumbs button {
  flex: 0 0 4.6rem; width: 4.6rem; height: 4.6rem; min-width: 4.6rem;
  border: 2px solid transparent; padding: 0; border-radius: 10px; overflow: hidden;
  cursor: pointer; background: #d9d2c6; opacity: 0.72; scroll-snap-align: start;
  touch-action: pan-x; pointer-events: auto;
}
.thumbs button.is-on { border-color: var(--gold); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.gallery-strip .carousel-nav { width: 36px; height: 36px; top: 50%; transform: translateY(-50%); }
.gallery-strip .carousel-nav.prev { left: -0.15rem; }
.gallery-strip .carousel-nav.next { right: -0.15rem; }

.detail-panel {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 16px;
  max-height: min(78vh, 720px); overflow: hidden; display: flex; flex-direction: column;
}
.detail-scroll { overflow: auto; padding: 1rem 1.05rem; scrollbar-width: none; flex: 1; }
.detail-scroll::-webkit-scrollbar { display: none; }
.detail-panel h1 { font-family: var(--font-display); font-size: clamp(1.25rem, 2.2vw, 1.7rem); line-height: 1.15; }
.detail-price { font-size: 1.15rem; font-weight: 800; color: var(--gold-deep); margin: 0.35rem 0; }
.detail-desc { color: var(--ink-soft); font-size: 0.9rem; white-space: pre-wrap; margin-top: 0.55rem; }
.amenity-list { display: flex; flex-wrap: wrap; gap: 0.3rem; margin: 0.55rem 0; }
.amenity-list span {
  font-size: 0.7rem; font-weight: 700; padding: 0.24rem 0.5rem; border-radius: 999px;
  background: rgba(14,23,38,0.05);
}
.panel-actions { display: grid; gap: 0.4rem; margin-top: 0.75rem; }
.inquiry-form { display: grid; gap: 0.5rem; margin-top: 0.7rem; padding-top: 0.7rem; border-top: 1px solid var(--line); }

.form { display: grid; gap: 0.5rem; }
.form label { display: grid; gap: 0.2rem; font-size: 0.76rem; font-weight: 700; color: var(--ink-soft); }
.form input, .form textarea, .form select {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 0.5rem 0.65rem;
}
.form textarea { min-height: 88px; resize: vertical; }
.form-note { font-size: 0.78rem; color: var(--mute); min-height: 1.1em; }
.form-note.ok { color: var(--sea); }
.form-note.err { color: var(--danger); }

.contact-hero { min-height: 260px; }
.contact-layout {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 0.9rem; margin-top: -2.4rem; position: relative; z-index: 2;
}
.contact-layout-flush { margin-top: 0; }
.contact-card {
  background: var(--paper-2); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow); overflow: hidden;
}
.contact-card-body { padding: 1.1rem; }
.contact-banner {
  min-height: 140px; background: #d7d0c4 center/cover no-repeat;
}
.contact-card h2 { font-family: var(--font-display); font-size: 1.45rem; margin-bottom: 0.35rem; }
.contact-list { display: grid; gap: 0.5rem; margin: 0.8rem 0 1rem; }
.contact-list a, .contact-list span {
  display: flex; align-items: center; gap: 0.5rem; font-weight: 650; font-size: 0.9rem; color: var(--ink-soft);
}
.contact-list .icon { width: 18px; height: 18px; color: var(--gold-deep); }

.site-footer {
  border-top: 1px solid var(--line); padding: 0.75rem 0.7rem 1.4rem;
  text-align: center; display: flex; flex-direction: column; align-items: center; gap: 0.45rem;
}
.footer-client {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-display); font-size: 0.85rem; font-weight: 650;
}
.footer-client img { width: 32px; height: 32px; border-radius: 0; object-fit: cover; background: #fff; display: block; }
.footer-client .brand-mark { width: 32px; height: 32px; border-radius: 8px; }
.footer-partner {
  display: inline-flex; align-items: center; gap: 0.35rem; color: var(--mute); font-size: 0.68rem;
}
.footer-partner-label { font-size: 0.58rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.footer-partner-logo { height: 16px; width: auto; }
.footer-partner-name { font-weight: 700; color: var(--ink); }

.empty-note { color: var(--mute); font-size: 0.86rem; padding: 0.4rem 1.4rem; }
.reveal { opacity: 0; transform: translateY(10px); animation: rise 0.55s ease forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes floatIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

@media (max-width: 900px) {
  html, body { overflow-x: clip; }
  .nav-bar { display: flex; justify-content: space-between; }
  .nav-links, .header-wa { display: none; }
  .brand > div { display: none; }
  .story-grid, .product, .contact-layout, .values { grid-template-columns: 1fr; }
  .story-photo { min-height: 220px; }
  .section-screen:has(.hscroll) { min-height: 70svh; }
  .thumbs button { flex-basis: 4.1rem; width: 4.1rem; height: 4.1rem; min-width: 4.1rem; }
  .gallery-strip { overflow: visible; }
  .chips { display: none; }
  .filter-drop { display: block; }
  .detail-panel { max-height: none; }
  .wa-float { right: 0.75rem; bottom: 0.75rem; }
  .section-head .row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
  }
  .carousel-bleed {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: visible;
  }
  .hscroll {
    padding-left: max(1.25rem, env(safe-area-inset-left, 0px) + 0.9rem);
    padding-right: 0;
    scroll-padding-left: max(1.25rem, env(safe-area-inset-left, 0px) + 0.9rem);
  }
  .carousel-nav { display: none !important; }
  .story-copy .hero-cta {
    flex-wrap: nowrap;
    gap: 0.4rem;
    width: 100%;
  }
  .story-copy .hero-cta .btn {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.48rem 0.55rem;
    font-size: 0.76rem;
    white-space: nowrap;
  }
}
@media (min-width: 901px) {
  .menu-btn { display: none; }
  .carousel-nav { display: grid; }
  .hscroll { padding-left: 0.15rem; padding-right: 0.15rem; }
  .carousel-bleed .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
  }
  .carousel-bleed .carousel-nav.prev {
    left: auto;
    right: calc(100% + 0.7rem);
  }
  .carousel-bleed .carousel-nav.next {
    right: auto;
    left: calc(100% + 0.7rem);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal, .wa-float { animation: none; opacity: 1; transform: none; }
}
