
:root {
  --bg: #080403;
  --bg-2: #130907;
  --ink: #fff8ec;
  --muted: rgba(255, 248, 236, 0.72);
  --faint: rgba(255, 248, 236, 0.48);
  --line: rgba(255, 232, 184, 0.14);
  --gold: #d7b560;
  --gold-2: #f5dc93;
  --red: #b44532;
  --brown: #4a2318;
  --panel: rgba(18, 9, 6, 0.72);
  --shadow: 0 34px 90px rgba(0, 0, 0, 0.44);
  --container: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: "Manrope", system-ui, sans-serif;
  background:
    radial-gradient(circle at 15% 10%, rgba(180, 69, 50, .28), transparent 30%),
    radial-gradient(circle at 85% 3%, rgba(215, 181, 96, .18), transparent 26%),
    radial-gradient(circle at 70% 75%, rgba(114, 44, 25, .26), transparent 36%),
    linear-gradient(180deg, #080403 0%, #110806 52%, #080403 100%);
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
.site-noise, .ambient { position: fixed; inset: 0; pointer-events: none; }
.site-noise {
  z-index: -1; opacity: .07; mix-blend-mode: overlay;
  background-image: linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}
.ambient { z-index: -2; filter: blur(90px); }
.ambient-one { background: radial-gradient(circle at 18% 20%, rgba(171, 58, 38, .34), transparent 34%); animation: driftOne 16s ease-in-out infinite alternate; }
.ambient-two { background: radial-gradient(circle at 82% 10%, rgba(215, 181, 96, .2), transparent 34%); animation: driftTwo 20s ease-in-out infinite alternate; }
@keyframes driftOne { to { transform: translate3d(6vw, 4vh, 0) scale(1.08); } }
@keyframes driftTwo { to { transform: translate3d(-5vw, 5vh, 0) scale(1.14); } }
.site-header {
  position: fixed; top: 18px; left: 50%; transform: translateX(-50%); z-index: 80;
  width: min(calc(100% - 28px), var(--container));
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
  padding: 10px 12px 10px 14px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(8, 4, 3, .62); backdrop-filter: blur(22px);
  box-shadow: 0 24px 54px rgba(0,0,0,.32); transition: .3s ease;
}
.site-header.scrolled { top: 10px; background: rgba(8, 4, 3, .84); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand-logo-wrap {
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(245, 220, 147, .2), transparent 60%); overflow: hidden;
}
.brand-logo-wrap img { width: 54px; height: 54px; object-fit: contain; }
.brand-text strong, .brand-text small { display: block; line-height: 1; }
.brand-text strong { font-size: 14px; font-weight: 900; letter-spacing: .01em; }
.brand-text small { margin-top: 6px; color: var(--faint); font-size: 12px; font-weight: 700; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav a { padding: 12px 14px; border-radius: 999px; color: var(--muted); font-size: 13px; font-weight: 850; transition: .22s ease; }
.main-nav a:hover, .main-nav a.active { color: var(--ink); background: rgba(255, 248, 236, .07); }
.main-nav .nav-cta { color: #130804; background: linear-gradient(135deg, var(--gold-2), var(--gold)); box-shadow: 0 14px 32px rgba(215,181,96,.22); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: rgba(255,248,236,.06); cursor: pointer; align-items: center; justify-content: center; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 18px; height: 2px; border-radius: 999px; background: var(--ink); transition: .22s ease; }
body.menu-open .menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hero {
  position: relative; width: min(calc(100% - 32px), var(--container)); min-height: 100svh; margin: 0 auto; padding: 154px 0 88px;
  display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: 54px; align-items: center;
}
.hero::before {
  content: "";
  position: absolute;
  top: 92px;
  bottom: 36px;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(8,4,3,.84), rgba(8,4,3,.46) 28%, rgba(8,4,3,.18) 58%, rgba(8,4,3,.56) 100%),
    url("assets/beans-hands-hero.jpg") center center / cover no-repeat;
  opacity: .34;
  filter: saturate(.95) contrast(1.12);
  mask-image: linear-gradient(to bottom, transparent, black 12%, black 84%, transparent);
  z-index: -1;
}
.hero-copy { position: relative; z-index: 3; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 18px; color: var(--gold-2); font-size: 12px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 1px; background: currentColor; box-shadow: 0 0 20px currentColor; }
.hero h1, .section-head h2, .story-card h2, .story-card h3, .contact-copy h2 {
  margin: 0; font-family: "Fraunces", Georgia, serif; font-weight: 750; font-variation-settings: "SOFT" 80, "WONK" 1; letter-spacing: -.025em;
}
.hero h1 { max-width: 760px; font-size: clamp(62px, 8.2vw, 124px); line-height: .83; }
.hero-lead { max-width: 650px; margin: 26px 0 0; color: var(--muted); font-size: clamp(17px, 2vw, 20px); line-height: 1.72; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; padding: 0 22px; border-radius: 999px; font-size: 14px; font-weight: 900; transition: transform .24s ease, box-shadow .24s ease, background .24s ease; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: #130804; background: linear-gradient(135deg, #fff0b8, var(--gold)); box-shadow: 0 20px 44px rgba(215,181,96,.24); }
.button-secondary { border: 1px solid var(--line); background: rgba(255,248,236,.05); color: var(--ink); }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 40px; }
.hero-metrics > div, .glass-card { padding: 18px; border: 1px solid var(--line); border-radius: 24px; background: linear-gradient(180deg, rgba(255,248,236,.055), rgba(255,248,236,.025)); backdrop-filter: blur(10px); }
.hero-metrics strong { display: block; color: var(--gold-2); font-size: 25px; line-height: 1; }
.hero-metrics span { display: block; margin-top: 9px; color: var(--faint); font-size: 13px; font-weight: 750; line-height: 1.42; }
.hero-visual { position: relative; min-height: 690px; transform-style: preserve-3d; }
.hero-orbit { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(245,220,147,.16); transform: translate(-50%, -50%); pointer-events: none; }
.hero-orbit-one { width: min(650px, 96%); aspect-ratio: 1; animation: spin 19s linear infinite; }
.hero-orbit-two { width: min(430px, 70%); aspect-ratio: 1; border-style: dashed; animation: spin 28s linear infinite reverse; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.hero-card { position: absolute; overflow: hidden; border: 1px solid rgba(245,220,147,.18); background: rgba(18,9,6,.72); box-shadow: var(--shadow); transition: transform .35s ease, box-shadow .35s ease; }
.hero-card img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-main { z-index: 3; left: 50%; top: 72px; width: min(390px, 56vw); height: 530px; border-radius: 36px; transform: translateX(-50%) rotate(-4deg); }
.hero-card-side { z-index: 2; right: 0; top: 22px; width: 260px; height: 250px; border-radius: 30px; transform: rotate(8deg); }
.hero-card-bottom { z-index: 4; left: 18px; bottom: 36px; width: 325px; height: 244px; border-radius: 30px; transform: rotate(-8deg); }
.hero-card:hover { box-shadow: 0 42px 100px rgba(0,0,0,.52); }
.hero-stamp { position: absolute; z-index: 6; left: 0; top: 100px; width: 180px; height: 180px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(245,220,147,.18); background: radial-gradient(circle at 35% 30%, rgba(245,220,147,.18), transparent 56%), rgba(8,4,3,.66); backdrop-filter: blur(16px); box-shadow: 0 30px 70px rgba(0,0,0,.34); animation: floaty 6.8s ease-in-out infinite; }
.hero-stamp img { width: 142px; height: 142px; object-fit: contain; }
.hero-float { position: absolute; z-index: 10; padding: 12px 17px; border: 1px solid rgba(245,220,147,.18); border-radius: 999px; background: rgba(8,4,3,.72); backdrop-filter: blur(10px); color: var(--gold-2); font-size: 11px; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; box-shadow: 0 18px 36px rgba(0,0,0,.32); }
.float-one { top: 44px; left: 196px; animation: floaty 5.8s ease-in-out infinite; }
.float-two { right: 10px; bottom: 18px; animation: floaty 6.6s ease-in-out infinite reverse; }
.float-three { left: 150px; bottom: 8px; animation: floaty 7.2s ease-in-out infinite; }
@keyframes floaty { 50% { transform: translateY(-14px); } }
.hero-watermark { position: absolute; right: -24px; top: 50%; transform: translateY(-50%); color: rgba(255,248,236,.035); font-family: "Fraunces", Georgia, serif; font-size: clamp(150px, 18vw, 310px); font-weight: 850; letter-spacing: -.09em; line-height: .8; user-select: none; pointer-events: none; }
to { opacity: 0; transform: translate(-50%, 13px); } }
.statement { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; padding-bottom: 26px; }
.statement-text { display: flex; justify-content: center; padding: 0 0 24px; }
.statement-text p { max-width: 980px; margin: 0; text-align: center; font-family: "Fraunces", Georgia, serif; font-size: clamp(42px, 5.8vw, 88px); font-weight: 720; font-variation-settings: "SOFT" 80, "WONK" 1; line-height: .86; letter-spacing: -.025em; }
.marquee { overflow: hidden; padding: 18px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-track { display: flex; gap: 20px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 20px; color: var(--gold-2); font-size: 12px; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
.marquee-track span::after { content: "•"; color: rgba(255,248,236,.32); }
@keyframes marquee { to { transform: translateX(-50%); } }
.section { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; padding: 120px 0; }
.section-head { display: grid; gap: 18px; margin-bottom: 40px; }
.section-head h2, .story-card h2, .contact-copy h2 { font-size: clamp(48px, 5.5vw, 90px); line-height: .84; }
.story-card h3 { font-size: clamp(34px, 3.8vw, 54px); line-height: .9; }
.section-head p, .story-card p, .product-copy p, .contact-copy p, .split-head p:last-child { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.72; }
.split-head { grid-template-columns: minmax(0, .92fr) minmax(0, 1fr); align-items: end; gap: 30px; }
.instant-code { display: inline-flex; align-items: baseline; gap: .015em; font-family: "Manrope", system-ui, sans-serif; font-weight: 950; letter-spacing: -.075em; font-size: .78em; line-height: 1; vertical-align: .03em; color: var(--gold-2); text-shadow: 0 0 24px rgba(215,181,96,.22); }
.instant-code em { font-style: normal; font-size: .48em; font-weight: 950; letter-spacing: -.08em; transform: translateY(-.06em); opacity: .92; }
.instant-join { display: inline-block; font-family: "Manrope", system-ui, sans-serif; font-size: .42em; font-weight: 950; letter-spacing: -.02em; vertical-align: .18em; opacity: .82; }
.brand-layout { display: grid; grid-template-columns: minmax(330px, .94fr) minmax(0, 1.06fr); gap: 34px; align-items: start; }
.brand-sticky { position: sticky; top: 118px; }
.brand-image-shell { overflow: hidden; border: 1px solid var(--line); border-radius: 38px; background: radial-gradient(circle at 25% 14%, rgba(215,181,96,.16), transparent 28%), rgba(255,248,236,.035); box-shadow: var(--shadow); }
.brand-image-shell img { width: 100%; height: clamp(540px, 72vh, 780px); object-fit: contain; padding: 38px; }
.brand-content { display: grid; gap: 18px; }
.story-card { padding: 30px; border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(180deg, rgba(255,248,236,.055), rgba(255,248,236,.022)); box-shadow: 0 22px 44px rgba(0,0,0,.2); }
.story-card span { display: inline-flex; margin-bottom: 20px; padding: 8px 12px; border: 1px solid rgba(245,220,147,.14); border-radius: 999px; background: rgba(255,248,236,.045); color: var(--gold-2); font-size: 11px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.products-grid { display: grid; grid-template-columns: 1.08fr 1fr 1fr; gap: 20px; }
.product-card { display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: linear-gradient(180deg, rgba(255,248,236,.055), rgba(255,248,236,.022)); box-shadow: 0 22px 48px rgba(0,0,0,.2); transition: transform .3s ease, box-shadow .3s ease; }
.product-card:hover { transform: translateY(-7px); box-shadow: 0 34px 70px rgba(0,0,0,.34); }
.product-dark { background: radial-gradient(circle at 20% 0%, rgba(215,181,96,.16), transparent 28%), linear-gradient(180deg, rgba(255,248,236,.065), rgba(255,248,236,.022)); }
.product-visual { position: relative; min-height: 342px; overflow: hidden; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.product-card:hover .product-visual img { transform: scale(1.045); }
.soft-panel::after, .product-dark .product-visual::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(to top, rgba(8,4,3,.66), transparent); }
.product-copy { display: grid; align-content: start; gap: 14px; padding: 25px; }
.product-copy span { color: var(--gold-2); font-size: 11px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.product-copy h3 { margin: 0; font-family: "Fraunces", Georgia, serif; font-size: clamp(36px, 3.1vw, 54px); font-weight: 720; font-variation-settings: "SOFT" 80, "WONK" 1; letter-spacing: -.025em; line-height: .88; }
.product-copy ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.product-copy li { position: relative; padding-left: 18px; color: var(--muted); line-height: 1.55; }
.product-copy li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.instant-showcase { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .92fr); gap: 22px; }
.instant-stage, .instant-shot { overflow: hidden; border: 1px solid var(--line); border-radius: 38px; background: rgba(255,248,236,.035); box-shadow: var(--shadow); }
.instant-stage { position: relative; min-height: 650px; }
.instant-stage-bg { position: absolute; inset: 0; background: radial-gradient(circle at 26% 20%, rgba(215,181,96,.22), transparent 28%), radial-gradient(circle at 72% 76%, rgba(180,69,50,.28), transparent 30%), linear-gradient(145deg, rgba(255,248,236,.055), rgba(255,248,236,.018)); }
.instant-stage::after { content: "INSTANT"; position: absolute; left: 34px; bottom: 22px; color: rgba(255,248,236,.055); font-size: clamp(54px, 9vw, 120px); font-weight: 950; letter-spacing: -.08em; }
.instant-box { position: absolute; overflow: hidden; border-radius: 32px; box-shadow: 0 34px 80px rgba(0,0,0,.4); }
.instant-box img { width: 100%; height: 100%; object-fit: cover; }
.instant-box-left { z-index: 3; left: 42px; bottom: 48px; width: min(380px, 49%); height: 480px; transform: rotate(-7deg); animation: floaty 7s ease-in-out infinite; }
.instant-box-right { z-index: 2; right: 40px; top: 54px; width: min(360px, 47%); height: 455px; transform: rotate(8deg); animation: floaty 7.8s ease-in-out infinite reverse; }
.instant-chip { position: absolute; z-index: 5; padding: 12px 16px; border: 1px solid rgba(245,220,147,.18); border-radius: 999px; background: rgba(8,4,3,.72); backdrop-filter: blur(12px); color: var(--gold-2); font-size: 10px; font-weight: 950; letter-spacing: .15em; text-transform: uppercase; }
.chip-left { left: 28px; top: 28px; }
.chip-right { right: 28px; bottom: 28px; }
.instant-gallery { display: grid; gap: 22px; }
.instant-shot { min-height: 314px; }
.instant-shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.instant-shot:hover img { transform: scale(1.05); }
.gallery-mosaic { display: grid; grid-template-columns: 1fr 1.12fr .88fr; grid-template-rows: 270px 330px; gap: 18px; }
.mosaic-item { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 32px; background: rgba(255,248,236,.035); box-shadow: 0 22px 44px rgba(0,0,0,.22); }
.mosaic-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic-item:hover img { transform: scale(1.055); }
.mosaic-item.tall { grid-row: span 2; }
.mosaic-item.wide { grid-column: span 2; }
.contact-panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, .82fr); gap: 26px; padding: 36px; border: 1px solid var(--line); border-radius: 40px; background: radial-gradient(circle at 14% 12%, rgba(215,181,96,.15), transparent 28%), radial-gradient(circle at 88% 86%, rgba(180,69,50,.16), transparent 30%), linear-gradient(180deg, rgba(255,248,236,.055), rgba(255,248,236,.024)); box-shadow: var(--shadow); }
.contact-links { display: grid; gap: 12px; margin-top: 30px; }
.contact-links a { display: inline-flex; width: fit-content; color: var(--ink); font-size: clamp(18px, 2vw, 25px); font-weight: 850; }
.contact-links a:hover { color: var(--gold-2); }
.contact-side { display: grid; gap: 16px; align-content: start; }
.contact-card strong, .contact-card span { display: block; }
.contact-card strong { margin-bottom: 8px; color: var(--gold-2); font-size: 12px; font-weight: 950; letter-spacing: .16em; text-transform: uppercase; }
.contact-card span { color: var(--muted); line-height: 1.7; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.site-footer { width: min(calc(100% - 32px), var(--container)); margin: 0 auto; padding: 0 0 42px; display: flex; align-items: center; justify-content: space-between; gap: 22px; color: var(--faint); font-size: 13px; }
.footer-brand { display: inline-flex; align-items: center; gap: 14px; }
.footer-brand img { width: 78px; height: auto; }
.footer-brand span { color: var(--muted); font-weight: 750; }
.site-footer p { margin: 0; }
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .75s ease, transform .75s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (max-width: 1120px) { .hero, .brand-layout, .split-head, .products-grid, .instant-showcase, .contact-panel, .site-footer { grid-template-columns: 1fr; } .hero-visual { order: -1; min-height: 630px; } .brand-sticky { position: static; } .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 270px 270px 270px; } .mosaic-item.wide { grid-column: span 2; } .mosaic-item.tall { grid-row: span 2; } }
@media (max-width: 820px) { .site-header { width: min(calc(100% - 20px), var(--container)); padding-right: 10px; } .menu-toggle { display: inline-flex; } .main-nav { position: absolute; top: calc(100% + 10px); left: 12px; right: 12px; display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 28px; background: rgba(8,4,3,.94); box-shadow: var(--shadow); opacity: 0; transform: translateY(-10px); pointer-events: none; transition: .24s ease; } body.menu-open .main-nav { opacity: 1; transform: translateY(0); pointer-events: auto; } .main-nav a { padding: 14px 16px; } .hero { width: min(calc(100% - 22px), var(--container)); padding-top: 126px; padding-bottom: 64px; } .hero::before { top: 108px; bottom: 34px; width: 100vw; left: 50%; transform: translateX(-50%); } .hero h1 { font-size: clamp(50px, 14vw, 76px); } .hero-visual { min-height: 520px; } .hero-card-main { top: 62px; width: min(300px, 58vw); height: 420px; } .hero-card-side { width: 190px; height: 174px; } .hero-card-bottom { left: 10px; width: 230px; height: 174px; } .hero-stamp { width: 128px; height: 128px; top: 88px; } .hero-stamp img { width: 104px; height: 104px; } .float-one { left: 132px; } .hero-metrics { grid-template-columns: 1fr; } .section { width: min(calc(100% - 22px), var(--container)); padding: 88px 0; } .section-head h2, .story-card h2, .contact-copy h2 { font-size: clamp(40px, 11vw, 60px); } .brand-image-shell img { height: 420px; padding: 24px; } .instant-stage { min-height: 500px; } .instant-box-left, .instant-box-right { width: min(230px, 45vw); height: 318px; } .instant-box-left { left: 18px; bottom: 28px; } .instant-box-right { right: 16px; top: 34px; } .instant-chip { font-size: 9px; padding: 10px 12px; } .contact-panel { padding: 26px; } }
@media (max-width: 640px) { .brand-logo-wrap { width: 48px; height: 48px; } .brand-logo-wrap img { width: 46px; height: 46px; } .brand-text small { display: none; } .hero-lead, .section-head p, .story-card p, .product-copy p, .contact-copy p, .split-head p:last-child { font-size: 16px; } .statement-text p { font-size: clamp(36px, 11vw, 52px); } .hero-visual { min-height: 430px; } .hero-card-main { width: 220px; height: 306px; } .hero-card-side { top: 18px; width: 128px; height: 118px; } .hero-card-bottom { width: 164px; height: 124px; bottom: 22px; } .hero-stamp { left: 0; top: 74px; width: 104px; height: 104px; } .hero-stamp img { width: 82px; height: 82px; } .hero-float { padding: 9px 11px; font-size: 9px; } .float-one { left: 100px; top: 46px; } .float-three { display: none; } .hero-watermark { font-size: 118px; bottom: 50px; top: auto; transform: none; } .instant-code { font-size: .72em; letter-spacing: -.025em; } .instant-join { font-size: .38em; } .gallery-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; } .mosaic-item, .mosaic-item.tall, .mosaic-item.wide { grid-column: auto; grid-row: auto; min-height: 250px; } .site-footer { align-items: flex-start; padding-bottom: 30px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; } }

/* Final typography tuning for long Serbian headings */
.hero h1 {
  letter-spacing: -0.032em;
  word-spacing: 0.035em;
  line-height: 0.9;
}

.section-head h2,
.statement-text p,
.story-card h2,
.story-card h3,
.contact-copy h2,
.product-copy h3 {
  letter-spacing: -0.012em;
  word-spacing: 0.075em;
}

.section-head h2,
.story-card h2,
.contact-copy h2 {
  line-height: 0.98;
}

.statement-text p {
  line-height: 1;
}

.product-copy h3,
.story-card h3 {
  line-height: 1.02;
}

@media (max-width: 640px) {
  .hero h1 {
    letter-spacing: -0.022em;
    word-spacing: 0.025em;
    line-height: 0.94;
  }

  .section-head h2,
  .statement-text p,
  .story-card h2,
  .story-card h3,
  .contact-copy h2,
  .product-copy h3 {
    letter-spacing: -0.006em;
    word-spacing: 0.055em;
  }

  .section-head h2,
  .story-card h2,
  .contact-copy h2,
  .statement-text p {
    line-height: 1.04;
  }
}


/* Mobile layout fixes */
@media (max-width: 820px) {
  .site-header {
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
    transform: none;
  }

  .main-nav {
    position: fixed;
    top: 86px;
    left: 14px;
    right: 14px;
    width: auto;
    max-width: none;
    min-width: 0;
    overflow: hidden;
    transform: translateY(-10px);
  }

  body.menu-open .main-nav {
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    box-sizing: border-box;
    overflow-wrap: anywhere;
  }

  .main-nav .nav-cta {
    justify-content: center;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin-top: 26px;
  }

  .hero-metrics > div {
    min-width: 0;
    padding: 13px 11px 12px;
    border-radius: 18px;
  }

  .hero-metrics strong {
    font-size: clamp(17px, 5.2vw, 22px);
  }

  .hero-metrics span {
    margin-top: 7px;
    font-size: clamp(10px, 2.7vw, 12px);
    line-height: 1.25;
  }
}

@media (max-width: 380px) {
  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

/* Hard mobile menu fix - centered by viewport, never by header width */
@media (max-width: 820px) {
  .site-header {
    left: 50%;
    right: auto;
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    transform: translateX(-50%);
    overflow: visible;
  }

  .main-nav {
    position: fixed !important;
    top: 84px !important;
    left: 50% !important;
    right: auto !important;
    width: calc(100vw - 32px) !important;
    max-width: calc(100vw - 32px) !important;
    min-width: 0 !important;
    padding: 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 24px !important;
    transform: translate(-50%, -10px) !important;
    overflow: hidden !important;
  }

  body.menu-open .main-nav {
    transform: translate(-50%, 0) !important;
  }

  .main-nav a,
  .main-nav .nav-cta {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    justify-content: flex-start;
    text-align: left;
  }

  .main-nav .nav-cta {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 420px) {
  .main-nav {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
  }
}

/* Final mobile centering fix */
html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 820px) {
  .site-header {
    left: 50% !important;
    right: auto !important;
    width: min(430px, calc(100% - 24px)) !important;
    max-width: calc(100% - 24px) !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
  }

  .main-nav {
    position: fixed !important;
    top: 84px !important;
    left: 50% !important;
    right: auto !important;
    width: min(420px, calc(100% - 32px)) !important;
    max-width: calc(100% - 32px) !important;
    transform: translate(-50%, -10px) !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  body.menu-open .main-nav {
    transform: translate(-50%, 0) !important;
  }

  .hero,
  .statement,
  .section,
  .site-footer {
    width: 100% !important;
    max-width: var(--container) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hero {
    overflow: hidden;
  }

  .hero::before {
    inset: 114px 0 48px !important;
    border-radius: 30px !important;
  }

  .hero-visual {
    width: 100% !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden;
  }

  .hero-card-main {
    left: 50% !important;
    transform: translateX(-50%) rotate(-4deg) !important;
  }

  .hero-card-side {
    right: 12px !important;
  }

  .hero-card-bottom {
    left: 12px !important;
  }

  .hero-stamp {
    left: 8px !important;
  }

  .float-one {
    left: 140px !important;
  }

  .float-two {
    right: 14px !important;
  }

  .hero-metrics {
    width: 100% !important;
    max-width: 430px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }

  .hero-metrics > div {
    min-width: 0 !important;
  }
}

@media (max-width: 640px) {
  .hero,
  .statement,
  .section,
  .site-footer {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .hero-visual {
    max-width: 430px !important;
    min-height: 430px !important;
  }

  .hero-card-main {
    width: min(222px, 54vw) !important;
    height: 306px !important;
  }

  .hero-card-side {
    right: 8px !important;
    width: 124px !important;
    height: 116px !important;
  }

  .hero-card-bottom {
    left: 8px !important;
    width: 164px !important;
    height: 124px !important;
  }

  .hero-stamp {
    left: 8px !important;
    width: 102px !important;
    height: 102px !important;
  }

  .hero-stamp img {
    width: 80px !important;
    height: 80px !important;
  }

  .float-one {
    left: 112px !important;
  }

  .hero-metrics {
    gap: 8px !important;
  }

  .hero-metrics > div {
    padding: 12px 10px !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 390px) {
  .hero-metrics {
    grid-template-columns: 1fr !important;
  }
}
