/* =========================================================
   IB Smoke Plus-Store
   Palette: Soft slate & brass  ·  Type: Fraunces / Inter
   ========================================================= */

:root {
  --bg:        #E7E9EC;   /* pale slate — dominant field */
  --bg-2:      #DEE1E5;   /* deeper slate for alternation */
  --surface:   #EEF0F2;   /* card / panel surface */
  --ink:       #1E2226;   /* charcoal text */
  --ink-2:     #4A525A;   /* muted secondary text */
  --ink-3:     #7B838B;   /* faint captions */
  --brass:     #B08A46;   /* accent */
  --brass-deep:#8C6C34;   /* accent hover / on-light contrast */
  --line:      rgba(30, 34, 38, 0.12);
  --line-2:    rgba(30, 34, 38, 0.06);

  --maxw: 1160px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 14px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-family: var(--font-display); font-weight: 500; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- canvas + scrim ---------- */
#smoke {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  transition: opacity 0.6s var(--ease);
}
.page-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* soft, near-uniform veil so the smoke reads behind the whole page while text stays crisp */
  background: linear-gradient(180deg,
    rgba(231,233,236,0.56) 0%,
    rgba(231,233,236,0.40) 13%,
    rgba(231,233,236,0.40) 87%,
    rgba(231,233,236,0.52) 100%);
}

/* everything above the canvas */
.nav, main, .compliance, .footer, .skip-link { position: relative; z-index: 2; }

/* WebGL unavailable -> static gradient fallback, content untouched */
body.no-webgl #smoke { display: none; }
body.no-webgl {
  background:
    radial-gradient(90% 70% at 25% 20%, rgba(176, 138, 70, 0.06), transparent 55%),
    linear-gradient(180deg, #E7E9EC 0%, #DBDEE2 100%);
}
body.no-webgl .page-scrim { display: none; }

/* ---------- utility ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-deep);
  font-weight: 600;
  margin-bottom: 1rem;
}
.eyebrow--hero { color: var(--brass-deep); }

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 18ch;
}
.section-sub {
  margin-top: 1.1rem;
  color: var(--ink-2);
  font-size: 1.06rem;
  max-width: 46ch;
}
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4rem); }

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--ink); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--font-body); font-weight: 500; font-size: 0.98rem;
  padding: 0.85rem 1.5rem; border-radius: 100px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.35s var(--ease), background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: #F3F4F5; }
.btn--primary:hover { background: var(--brass-deep); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-deep); transform: translateY(-2px); }
.btn--block { width: 100%; justify-content: center; margin-top: 0.4rem; }

.btn--call {
  background: transparent; border: 1px solid var(--line); color: var(--ink);
  padding: 0.6rem 1.1rem; font-size: 0.9rem;
}
.btn--call:hover { border-color: var(--brass); color: var(--brass-deep); }
.btn__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brass); box-shadow: 0 0 0 4px rgba(176,138,70,0.18); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(231, 233, 236, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: baseline; gap: 0.6rem; }
.brand__mark {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  border: 1.5px solid var(--brass); border-radius: 8px;
  padding: 0.05em 0.4em; line-height: 1;
}
.brand__name { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-2); letter-spacing: 0.01em; }

.nav__links { display: flex; gap: 1.9rem; }
.nav__links a { font-size: 0.95rem; color: var(--ink-2); position: relative; padding: 0.2rem 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 1.5px; width: 0;
  background: var(--brass); transition: width 0.35s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; flex-direction: column; gap: 6px; align-items: center; justify-content: center;
}
.nav__toggle span { width: 22px; height: 1.6px; background: var(--ink); transition: transform 0.3s var(--ease), opacity 0.3s var(--ease); }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.8px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column; gap: 0.4rem;
  padding: 0.5rem var(--gutter) 1.4rem;
  background: rgba(231, 233, 236, 0.96);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.mobile-menu:not([hidden]) { display: flex; }
.mobile-menu a { padding: 0.75rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line-2); color: var(--ink); }
.mobile-menu__call { color: var(--brass-deep) !important; font-weight: 600; border-bottom: 0 !important; }

/* =========================================================
   HERO
   ========================================================= */
.hero-stage { height: 190vh; position: relative; }
.hero-sticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  padding: 96px var(--gutter) 56px;
  max-width: var(--maxw); margin: 0 auto;
}
.hero { max-width: 40rem; will-change: transform, opacity; }
.eyebrow--hero { margin-bottom: 1.4rem; }

.hero__title {
  font-size: clamp(2.6rem, 8.2vw, 6.4rem);
  line-height: 0.96;
  letter-spacing: -0.025em;
  font-weight: 500;
}
.hero__line { display: block; }
.hero__line--muted { color: var(--ink-2); font-weight: 400; font-style: italic; }

.hero__lede {
  margin-top: 1.8rem;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: var(--ink-2);
  max-width: 34ch;
  line-height: 1.55;
}
.hero__actions { margin-top: 2.4rem; display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.hero__hint { font-size: 0.82rem; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; }

.hero__scroll {
  position: absolute; left: var(--gutter); bottom: 2.2rem;
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3);
}
.hero__scroll-line { width: 46px; height: 1px; background: var(--ink-3); position: relative; overflow: hidden; }
.hero__scroll-line::after {
  content: ""; position: absolute; inset: 0; background: var(--brass);
  transform: translateX(-100%); animation: scrollLine 2.6s var(--ease) infinite;
}
@keyframes scrollLine { 0%{transform:translateX(-100%)} 55%{transform:translateX(0)} 100%{transform:translateX(100%)} }

/* ---------- hero floating product ---------- */
.hero__product {
  position: absolute; top: 0; bottom: 0;
  right: clamp(8px, 2vw, 44px);
  width: min(30vw, 420px);
  display: flex; align-items: center; justify-content: center;
  z-index: 1; pointer-events: none;
  will-change: transform, opacity;
}
.hero__product::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(40% 44% at 52% 50%, rgba(176,138,70,0.18), rgba(176,138,70,0) 70%);
  filter: blur(4px);
}
.hero__product picture { display: contents; }
.hero__product-img {
  position: relative;
  height: min(70vh, 600px);
  width: auto; max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 26px 44px rgba(30,34,38,0.24));
  animation: floatY 6.5s ease-in-out infinite;
}
@keyframes floatY {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-16px) rotate(0.7deg); }
}

/* =========================================================
   SHOP
   ========================================================= */
.shop { background: transparent; padding-block: clamp(5rem, 12vw, 9rem); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card {
  background: rgba(240, 242, 244, 0.68);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  min-height: 240px;
  display: flex; flex-direction: column;
  transition: background 0.4s var(--ease);
}
.card:hover { background: rgba(255, 255, 255, 0.82); }
.card__key {
  font-family: var(--font-display); font-size: 0.95rem; color: var(--brass);
  letter-spacing: 0.05em; margin-bottom: auto;
}
.card__title { font-size: 1.35rem; margin-top: 1.5rem; letter-spacing: -0.01em; }
.card__body { margin-top: 0.7rem; color: var(--ink-2); font-size: 0.98rem; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: transparent; padding-block: clamp(5rem, 12vw, 9rem); }
.about__grid {
  display: grid; grid-template-columns: 1.35fr 0.9fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about__para { margin-top: 1.4rem; color: var(--ink-2); font-size: 1.06rem; line-height: 1.7; max-width: 52ch; }
.about__para:first-of-type { margin-top: 1.8rem; }

.about__credibility {
  background: rgba(26, 30, 34, 0.86); color: #E7E9EC;
  padding: clamp(1.8rem, 3vw, 2.6rem); border-radius: var(--radius);
  position: sticky; top: 100px;
}
.stat__value { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.4rem); line-height: 1; color: var(--brass); }
.stat__label { margin-top: 0.8rem; font-size: 0.98rem; color: #C9CDD2; }
.stat__rule { border: 0; border-top: 1px solid rgba(255,255,255,0.14); margin: 1.6rem 0; }
.stat__note { font-size: 0.86rem; color: #9BA2AA; line-height: 1.6; }

/* =========================================================
   GALLERY
   ========================================================= */
.gallery { background: transparent; padding-block: clamp(5rem, 12vw, 9rem); }
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 210px;
  gap: 14px;
}
.shot {
  position: relative; margin: 0; overflow: hidden; border-radius: var(--radius);
  background: var(--surface); border: 1px solid var(--line);
}
/* explicit composition: feature tall + two wide bands */
.shot:nth-child(1) { grid-column: 1; grid-row: 1 / span 2; }
.shot:nth-child(2) { grid-column: 2; grid-row: 1; }
.shot:nth-child(3) { grid-column: 3; grid-row: 1; }
.shot:nth-child(4) { grid-column: 2 / span 2; grid-row: 2; }
.shot:nth-child(5) { grid-column: 1; grid-row: 3; }
.shot:nth-child(6) { grid-column: 2 / span 2; grid-row: 3; }

.shot__ph {
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 60% at 30% 25%, rgba(176,138,70,0.10), transparent 60%),
    repeating-linear-gradient(135deg, rgba(30,34,38,0.035) 0 12px, transparent 12px 24px),
    linear-gradient(160deg, #E9EBEE, #D9DCE0);
}
.shot__img {
  position: absolute; left: 0; top: -9%;
  width: 100%; height: 118%;
  object-fit: cover;
  transform: translateY(var(--py, 0));
  transition: transform 0.1s linear;
}
.shot__cap {
  position: absolute; left: 14px; bottom: 12px; z-index: 2;
  font-size: 0.8rem; letter-spacing: 0.05em; color: var(--ink);
  background: rgba(238,240,242,0.86); backdrop-filter: blur(4px);
  padding: 0.3rem 0.7rem; border-radius: 100px; border: 1px solid var(--line);
}
.gallery__note { margin-top: 1.6rem; color: var(--ink-3); font-size: 0.9rem; }

/* ---------- storefront band ---------- */
.storefront { position: relative; height: min(62vh, 560px); overflow: hidden; }
.storefront__img {
  position: absolute; left: 0; top: -8%;
  width: 100%; height: 116%;
  object-fit: cover;
  transform: translateY(var(--py, 0));
}
.storefront__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(22,25,28,0.12) 0%, rgba(22,25,28,0.20) 45%, rgba(22,25,28,0.58) 100%);
}
.storefront__cap { position: absolute; left: 0; right: 0; bottom: 2.4rem; }
.storefront__eyebrow { color: #D8B36A; margin-bottom: 0.7rem; }
.storefront__line {
  font-family: var(--font-display); color: #F6F7F8;
  font-size: clamp(1.3rem, 3.4vw, 2.3rem); letter-spacing: -0.01em;
}

/* =========================================================
   VISIT
   ========================================================= */
.visit { background: transparent; padding-block: clamp(5rem, 12vw, 9rem); }
.visit__grid {
  display: grid; grid-template-columns: 1fr 0.95fr; gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.visit__details { margin: 2rem 0 0; }
.visit__row { display: grid; grid-template-columns: 92px 1fr; gap: 1.2rem; padding: 1.05rem 0; border-top: 1px solid var(--line); }
.visit__row:last-child { border-bottom: 1px solid var(--line); }
.visit__row dt { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); padding-top: 0.15rem; }
.visit__row dd { margin: 0; color: var(--ink); font-size: 1.02rem; }
.visit__row dd a:hover { color: var(--brass-deep); }
.hours__line { display: flex; justify-content: space-between; gap: 1rem; max-width: 260px; }
.hours__line + .hours__line { margin-top: 0.35rem; }
.visit__cta { display: flex; gap: 0.9rem; margin-top: 2rem; flex-wrap: wrap; }

.visit__side { display: flex; flex-direction: column; gap: 1.4rem; }
.map {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  min-height: 260px; background: rgba(238, 240, 242, 0.66);
}
.map__frame { width: 100%; height: 100%; min-height: 260px; border: 0; }
.map--placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  background:
    radial-gradient(80% 80% at 50% 30%, rgba(176,138,70,0.08), transparent 60%),
    repeating-linear-gradient(90deg, rgba(30,34,38,0.04) 0 1px, transparent 1px 42px),
    repeating-linear-gradient(0deg, rgba(30,34,38,0.04) 0 1px, transparent 1px 42px),
    var(--surface);
}
.map__pin { width: 44px; height: 44px; }
.map__pin path { fill: none; stroke: var(--brass-deep); stroke-width: 3; }
.map__pin circle { fill: var(--brass); }
.map__label { font-size: 0.85rem; color: var(--ink-3); }

.form {
  background: rgba(240, 242, 244, 0.70); border: 1px solid var(--line);
  border-radius: var(--radius); padding: clamp(1.4rem, 3vw, 2rem);
}
.form__intro { font-family: var(--font-display); font-size: 1.2rem; margin-bottom: 1.2rem; }
.form__field { margin-bottom: 1rem; }
.form__field label { display: block; font-size: 0.82rem; letter-spacing: 0.04em; color: var(--ink-2); margin-bottom: 0.4rem; }
.form__field input, .form__field textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.98rem; color: var(--ink);
  background: rgba(231, 233, 236, 0.82); border: 1px solid var(--line); border-radius: 10px;
  padding: 0.75rem 0.9rem; transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.form__field input:focus, .form__field textarea:focus {
  outline: none; border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(176,138,70,0.16);
}
.form__field textarea { resize: vertical; }
.form__status { margin-top: 0.8rem; font-size: 0.9rem; color: var(--brass-deep); min-height: 1.2em; }

/* =========================================================
   COMPLIANCE + FOOTER
   ========================================================= */
.compliance { background: var(--ink); color: #C9CDD2; padding: 1.1rem 0; }
.compliance p { font-size: 0.86rem; letter-spacing: 0.01em; }
.compliance strong { color: var(--brass); }

.footer { background: #16191C; color: #AEB4BA; padding: clamp(3rem, 7vw, 5rem) 0 2rem; }
.footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2rem;
  padding-bottom: 2.4rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__brand .brand__mark { color: #E7E9EC; border-color: var(--brass); }
.footer__tag { margin-top: 1rem; max-width: 30ch; font-size: 0.95rem; color: #8A9199; }
.footer__nav { display: flex; flex-direction: column; gap: 0.7rem; }
.footer__nav a:hover { color: var(--brass); }
.footer__contact { display: flex; flex-direction: column; gap: 0.6rem; font-size: 0.95rem; }
.footer__contact a:hover { color: var(--brass); }
.footer__base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-top: 1.6rem; font-size: 0.82rem; color: #6E757C;
}

/* =========================================================
   REVEAL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.85s var(--ease), transform 0.85s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* stagger cards */
.cards .card:nth-child(2){ transition-delay: 0.06s; }
.cards .card:nth-child(3){ transition-delay: 0.12s; }
.cards .card:nth-child(4){ transition-delay: 0.06s; }
.cards .card:nth-child(5){ transition-delay: 0.12s; }
.cards .card:nth-child(6){ transition-delay: 0.18s; }

/* =========================================================
   FOCUS
   ========================================================= */
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1100px) {
  .hero__product { display: none; }
}

@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .about__grid { grid-template-columns: 1fr; }
  .about__credibility { position: static; }
  .visit__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .gallery__grid .shot { grid-column: auto !important; grid-row: auto !important; }
  .gallery__grid .shot:nth-child(1) { grid-column: 1 / span 2 !important; grid-row: span 2 !important; }
  .storefront { height: 46vh; }
  .hero-stage { height: 160vh; }
}

@media (max-width: 560px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .gallery__grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery__grid .shot:nth-child(1) { grid-column: auto !important; grid-row: auto !important; }
  .footer__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .footer__base { flex-direction: column; gap: 0.5rem; }
  .hero__scroll { display: none; }
  .visit__row { grid-template-columns: 1fr; gap: 0.3rem; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  #smoke { opacity: 0.9; }
  .shot__img, .storefront__img { transform: none !important; }
}
