/* ==========================================================================
   BUEN DIA — tokens
   ========================================================================== */
@font-face{
  font-family: "Acumin Pro Wide";
  src: url("assets/fonts/AcuminProWide-ExtraLight.otf") format("opentype");
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

:root{
  --paper:      #EFE9DC;
  --paper-2:    #E4DCC9;
  --paper-3:    #DED4BC;
  --ink:        #2B2A28;
  --ink-soft:   #524E45;
  --moss:       #5B6B4F;
  --moss-dark:  #3F4A37;
  --plum:       #6B3A45;
  --plum-dark:  #4E2933;
  --butter:     #E3AE3E;
  --teal:       #3D5A6C;
  --terracotta: #DA8070;
  --terracotta-dark: #B5624F;
  --cream-gold: #F3D89B;
  --line:       rgba(43,42,40,0.14);
  --line-soft:  rgba(43,42,40,0.08);

  --font-display: "Acumin Pro Wide", "Fraunces", Georgia, serif;
  --font-body:    "Acumin Pro Wide", "Karla", -apple-system, sans-serif;
  --font-label:   "Space Mono", "Courier New", monospace;

  --radius: 4px;
  --container: 1120px;
  --section-pad: clamp(64px, 10vw, 120px);
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,h2,h3{ font-family: var(--font-display); font-weight: 200; letter-spacing: 0.01em; margin: 0; color: var(--ink); }
p{ margin: 0; }
a{ color: inherit; text-decoration: none; }
ul{ list-style: none; margin: 0; padding: 0; }
img,svg{ display:block; max-width:100%; }
:focus-visible{ outline: 2px solid var(--plum); outline-offset: 3px; }

.eyebrow{
  font-family: var(--font-label);
  font-size: 12.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--plum);
  margin: 0 0 14px;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position: sticky; top:0; z-index: 100;
  background: rgba(239,233,220,0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease;
}
.nav--on-dark{ background: rgba(239,233,220,0.96); }
.nav__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 16px 24px;
  display:flex; align-items:center; justify-content:space-between;
}
.nav__logo{
  display: flex;
  align-items: center;
}
.nav__logo-img{
  display: block;
  height: 42px;
  width: auto;
}
.nav__logo-dot{ color: var(--butter); }
.nav__links{ display:flex; align-items:center; gap: 30px; }
.nav__links a{
  font-family: var(--font-label);
  font-size: 12.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 4px 0;
}
.nav__links a:hover{ color: var(--ink); }
.nav__links a::after{
  content:""; position:absolute; left:0; right:100%; bottom:-2px; height:1px;
  background: var(--plum); transition: right 0.25s ease;
}
.nav__links a:hover::after{ right:0; }
.nav__cta{
  border: 1px solid var(--ink); border-radius: 999px;
  padding: 8px 16px !important;
}
.nav__cta::after{ display:none; }
.nav__cta:hover{ background: var(--terracotta); border-color: var(--terracotta); color: var(--paper); }

.nav__toggle{
  display:none; flex-direction:column; justify-content:center; gap:5px;
  width: 36px; height: 32px; background:none; border:none; cursor:pointer; padding:0;
}
.nav__toggle span{ display:block; height:2px; width:100%; background: var(--ink); transition: transform .25s ease, opacity .25s ease; }
.nav__toggle[aria-expanded="true"] span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* Language switcher */
.lang-switch{
  display:inline-flex; align-items:center; gap:2px;
  margin-left: 18px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,0.35);
}
.lang-switch__btn{
  appearance:none; background:none; border:none; cursor:pointer;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  padding: 5px 10px;
  border-radius: 999px;
  transition: background .2s ease, color .2s ease;
}
.lang-switch__btn:hover{ color: var(--ink); }
.lang-switch__btn.is-active{
  background: var(--terracotta);
  color: #fff;
}
.nav--on-dark .lang-switch{
  border-color: rgba(239,233,220,0.28);
  background: rgba(43,42,40,0.18);
}
.nav--on-dark .lang-switch__btn{ color: rgba(239,233,220,0.75); }
.nav--on-dark .lang-switch__btn:hover{ color: var(--paper); }
.nav--on-dark .lang-switch__btn.is-active{ background: var(--cream-gold); color: var(--ink); }

.lang-switch--mobile{
  margin: 40px 0 0 0;
}

.mobile-overlay{
  position: fixed; inset:0; z-index: 99;
  background: var(--paper);
  display:flex; flex-direction:column; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform: translateY(-8px);
  transition: opacity .3s ease, transform .3s ease, visibility 0s linear .3s;
}
.mobile-overlay.is-open{
  opacity:1; visibility:visible; transform: translateY(0);
  transition: opacity .3s ease, transform .3s ease;
}
.mobile-overlay__links{ display:flex; flex-direction:column; align-items:center; gap: 26px; }
.mobile-overlay__links a{
  font-family: var(--font-display); font-size: 30px; font-weight: 200;
}

/* ==========================================================================
   SHARED: sections, scatter decoration, containers
   ========================================================================== */
.section{ position: relative; padding: var(--section-pad) 24px; overflow: hidden; }
.section__inner{ position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; }
.section__bg{ position:absolute; inset:0; z-index:1; pointer-events:none; }

/* ambient looping gif, sitting low in the stack behind the scatter icons & a vignette scrim */
.section__gif, .hero__gif{
  position:absolute; inset:0; width:100%; height:100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.9) brightness(0.95) blur(0.5px);
  mix-blend-mode: multiply;
  pointer-events:none;
}
.section--coworking .section__gif,
.section--culture .section__gif{
  opacity: 0.38;
  filter: saturate(0.95) brightness(0.85) blur(0.5px);
  mix-blend-mode: soft-light;
}
.section__bg::after, .hero__bg::after{
  content:"";
  position:absolute; inset:0;
  background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,0.18) 100%);
  pointer-events:none;
}

.section__title{
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  max-width: 14ch;
  margin-bottom: 28px;
}
.lead{ font-size: 18px; color: var(--ink-soft); max-width: 58ch; }
.menu__note{ margin-top: 34px; font-family: var(--font-label); font-size: 13px; color: var(--ink-soft); }

/* fade-up reveal, toggled by JS via IntersectionObserver */
.reveal{ opacity:0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view{ opacity:1; transform: translateY(0); }

/* scatter icon backgrounds — shared skeleton, positions set per-section below */
.scatter{ position:absolute; inset:0; }
.scatter .s{ position:absolute; width: 54px; height:54px; opacity: 0.16; }
.scatter .s use{ color: var(--ink); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position: relative;
  min-height: 92vh;
  display:flex; align-items:center; justify-content:center;
  padding: 120px 24px 80px;
  overflow:hidden;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, #F5EFE0 0%, transparent 60%),
    var(--paper);
}
.hero__bg{ position:absolute; inset:0; z-index:0; }
.hero__sun{
  position:absolute; left:50%; top:-12%;
  width: clamp(340px, 55vw, 640px); height:auto;
  transform: translateX(-50%);
  fill: var(--terracotta);
  opacity: 0.35;
  filter: blur(2px);
  animation: sunPulse 8s ease-in-out infinite;
}
@keyframes sunPulse{ 0%,100%{ opacity:.30; } 50%{ opacity:.42; } }

.scatter--hero .s1{ top:14%; left:8%; width:38px; height:38px; }
.scatter--hero .s2{ top:66%; left:12%; }
.scatter--hero .s3{ top:22%; right:10%; width:32px; height:32px; }
.scatter--hero .s4{ top:72%; right:14%; }
.scatter--hero .s5{ top:44%; left:4%; width:30px; height:30px; opacity:0.12; }
.scatter--hero .s6{ top:8%; right:22%; width:30px; height:30px; opacity:0.12; }

.hero__content{ position:relative; z-index:2; max-width: 760px; text-align:center; margin: 0 auto; }
.hero__content .eyebrow{ display:block; text-align:center; }
.hero__title{
  font-size: clamp(56px, 12vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}
.hero__logo{
  display: block;
  width: clamp(240px, 42vw, 460px);
  height: auto;
  margin: 0 auto;
}
.hero__tagline{
  font-size: clamp(17px, 2vw, 20px);
  color: var(--ink-soft);
  max-width: 46ch; margin: 0 auto 56px;
}

.stamp-wrap{ display:flex; flex-direction:column; align-items:center; gap:16px; }
.stamp{
  position: relative;
  width: 168px; height:168px;
  display:flex; align-items:center; justify-content:center;
  color: var(--terracotta-dark);
  transform: rotate(-8deg) scale(0.5);
  opacity: 0;
  animation: stampDown 0.55s cubic-bezier(.2,1.4,.4,1) 0.35s forwards;
}
@keyframes stampDown{
  0%{ transform: rotate(-8deg) scale(2.2); opacity:0; }
  60%{ opacity:1; }
  100%{ transform: rotate(-8deg) scale(1); opacity:1; }
}
.stamp__ring{
  position:absolute; inset:0; width:100%; height:100%;
  fill:none; stroke: currentColor; stroke-width: 2;
}
.stamp__ring circle{ stroke-dasharray: 6 4; }
.stamp__text{ display:flex; flex-direction:column; align-items:center; text-align:center; }
.stamp__line1{ font-family: var(--font-label); font-size: 12px; letter-spacing:.08em; text-transform:uppercase; }
.stamp__line2{ font-family: var(--font-display); font-weight:200; letter-spacing:0.03em; font-size: 27px; margin-top:2px; }
.stamp__line3{ font-family: var(--font-label); font-size: 9.5px; letter-spacing:.05em; margin-top:6px; opacity:.8; }

.countdown{
  font-family: var(--font-label); font-size: 13px; color: var(--ink-soft);
  letter-spacing: 0.02em;
}
.countdown strong{ color: var(--terracotta-dark); font-weight:700; }

.scroll-cue{
  position:absolute; left:50%; bottom:34px; transform: translateX(-50%);
  width: 22px; height: 36px; border: 1.5px solid var(--ink-soft); border-radius: 12px;
  display:flex; justify-content:center; padding-top:6px;
  opacity: 0.6;
}
.scroll-cue span{ width:3px; height:7px; border-radius:2px; background: var(--ink-soft); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot{ 0%{ transform: translateY(0); opacity:1; } 70%{ transform: translateY(10px); opacity:0; } 100%{ opacity:0; } }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.section--about{ background: var(--paper); }
.scatter--about .s1{ top:10%; left:6%; }
.scatter--about .s2{ top:20%; right:9%; width:34px;height:34px; }
.scatter--about .s3{ bottom:16%; left:10%; width:40px;height:40px; }
.scatter--about .s4{ bottom:12%; right:8%; }
.scatter--about .s5{ top:52%; left:2%; width:28px;height:28px; opacity:.1; }
.scatter--about .s6{ top:60%; right:2%; width:28px;height:28px; opacity:.1; }
.scatter--about .s7{ top:4%; left:46%; width:26px;height:26px; opacity:.1; }

.about__grid{ display:grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items:start; }
.about__list{ display:flex; flex-direction:column; gap:20px; }
.about__list li{ display:flex; gap:14px; align-items:flex-start; }
.li-icon{ width:26px; height:26px; flex:0 0 auto; color: var(--moss); margin-top:2px; }
.about__list span{ color: var(--ink-soft); font-size:15.5px; }

/* ==========================================================================
   MENU
   ========================================================================== */
.section--menu{ background: var(--paper-2); }
.scatter--menu .s1{ top:8%; left:4%; }
.scatter--menu .s2{ top:14%; right:6%; width:44px;height:44px; }
.scatter--menu .s3{ bottom:10%; left:8%; width:38px;height:38px; }
.scatter--menu .s4{ bottom:18%; right:10%; }
.scatter--menu .s5{ top:50%; left:44%; width:30px;height:30px; opacity:.1; }
.scatter--menu .s6{ top:70%; left:2%; width:28px;height:28px; opacity:.1; }
.scatter--menu .s7{ top:4%; right:38%; width:26px;height:26px; opacity:.1; }

.cards{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 8px; }
.card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
}
.card__icon{ width:34px; height:34px; color: var(--plum); margin-bottom: 18px; }
.card h3{ font-size: 20px; margin-bottom: 10px; }
.card p{ color: var(--ink-soft); font-size: 15px; }

/* ==========================================================================
   COWORKING
   ========================================================================== */
.section--coworking{ background: var(--teal); color: var(--paper); }
.section--coworking .eyebrow{ color: var(--butter); }
.section--coworking .section__title{ color: var(--paper); }
.section--coworking .lead{ color: rgba(239,233,220,0.82); }
.section--coworking .tick-list li{ color: rgba(239,233,220,0.82); }
.scatter--coworking .s use{ color: var(--paper); }
.scatter--coworking .s1{ top:10%; left:6%; width:70px;height:70px; opacity:.08; }
.scatter--coworking .s2{ bottom:14%; left:10%; width:36px;height:36px; opacity:.14; }
.scatter--coworking .s3{ top:20%; right:8%; opacity:.12; }
.scatter--coworking .s4{ bottom:10%; right:14%; width:28px;height:28px; opacity:.12; }

.section__inner--split{ display:grid; grid-template-columns: 1.1fr 0.7fr; gap: 60px; align-items:center; }
.tick-list{ margin-top: 26px; display:flex; flex-direction:column; gap:10px; }
.tick-list li{ font-size:15px; padding-left: 20px; position:relative; }
.tick-list li::before{ content:"—"; position:absolute; left:0; color: var(--butter); }

.split__art{ display:flex; justify-content:center; }
.booth-illustration{
  width: 100%; max-width: 220px; height:auto;
  fill:none; stroke: var(--paper); stroke-width: 1.6;
}
.booth-illustration .thin{ stroke-width: 0.8; opacity:.5; }
.booth-illustration .dot{ fill: var(--butter); stroke:none; }

/* ==========================================================================
   HOUSE RULES
   ========================================================================== */
.section--rules{ background: var(--paper); text-align:center; }
.section--rules .section__title{ margin-left:auto; margin-right:auto; }
.scatter--rules .s use{ color: var(--moss); }
.scatter--rules .s1{ top:12%; left:8%; width:34px;height:34px; opacity:.16; }
.scatter--rules .s2{ top:66%; left:4%; width:26px;height:26px; opacity:.12; transform: rotate(-20deg); }
.scatter--rules .s3{ top:16%; right:8%; width:30px;height:30px; opacity:.14; transform: rotate(15deg); }
.scatter--rules .s4{ bottom:12%; right:6%; width:24px;height:24px; opacity:.1; }
.scatter--rules .s5{ top:44%; left:48%; width:60px;height:60px; opacity:.06; }

.badges{ display:flex; justify-content:center; gap: 48px; flex-wrap:wrap; margin: 44px 0 12px; }
.badge{ position:relative; width:140px; height:140px; display:flex; flex-direction:column; align-items:center; justify-content:center; color: var(--plum); }
.badge__ring{ position:absolute; inset:0; width:100%; height:100%; fill:none; stroke: var(--cream-gold); stroke-width:2; stroke-dasharray: 4 3; }
.badge__icon{ width:36px; height:36px; margin-bottom:10px; color: var(--terracotta-dark); }
.badge__label{ font-family: var(--font-label); font-size: 11.5px; letter-spacing:.06em; text-transform:uppercase; color: var(--ink); }

/* ==========================================================================
   CULTURE
   ========================================================================== */
.section--culture{ background: var(--plum); color: var(--paper); }
.section--culture .eyebrow{ color: var(--butter); }
.section--culture .section__title{ color: var(--paper); }
.section--culture .card{ background: var(--plum-dark); border-color: rgba(239,233,220,0.16); }
.section--culture .card p{ color: rgba(239,233,220,0.78); }
.section--culture .card h3{ color: var(--paper); }
.section--culture .card__icon{ color: var(--butter); }
.scatter--culture .s use{ color: var(--paper); }
.scatter--culture .s1{ top:8%; left:6%; opacity:.1; }
.scatter--culture .s2{ top:18%; right:8%; width:34px;height:34px; opacity:.12; }
.scatter--culture .s3{ bottom:14%; left:10%; opacity:.1; }
.scatter--culture .s4{ bottom:10%; right:10%; width:38px;height:38px; opacity:.1; }
.scatter--culture .s5{ top:50%; left:2%; width:26px;height:26px; opacity:.08; }
.scatter--culture .s6{ top:46%; right:44%; width:24px;height:24px; opacity:.06; }

/* ==========================================================================
   CAREERS
   ========================================================================== */
.section--careers{ background: var(--paper-2); }
.scatter--careers .s1{ top:10%; left:8%; opacity:.12; }
.scatter--careers .s2{ bottom:14%; right:10%; width:34px;height:34px; opacity:.12; }
.scatter--careers .s3{ top:20%; right:6%; width:28px;height:28px; opacity:.1; }

.contact-cards{ display:grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.contact-card{
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.contact-card h3{ font-size:22px; margin: 4px 0 12px; }
.contact-card p{ color: var(--ink-soft); font-size:15px; margin-bottom: 20px; }
.mail-link{
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-label); font-size: 13.5px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 3px;
}
.mail-link:hover{ color: var(--plum); border-color: var(--plum); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{ position:relative; background: var(--ink); color: var(--paper); padding: 80px 24px 40px; overflow:hidden; }
.footer__bg{ position:absolute; inset:0; z-index:0; display:flex; align-items:center; justify-content:center; }
.footer__ring{ width: clamp(320px, 40vw, 520px); fill:none; stroke: rgba(239,233,220,0.08); stroke-width:1.4; }
.footer__inner{ position:relative; z-index:1; max-width: var(--container); margin:0 auto; text-align:center; }
.footer__brand-img{ display: inline-block; height: 64px; width: auto; }
.footer__line{ margin-top: 10px; color: rgba(239,233,220,0.7); font-size:15px; }
.footer__meta{ margin-top: 26px; font-family: var(--font-label); font-size: 12.5px; color: rgba(239,233,220,0.6); display:flex; gap:10px; justify-content:center; flex-wrap:wrap; }
.footer__meta a:hover{ color: var(--paper); }
.footer__dot{ opacity:.5; }
.footer__fine{ margin-top: 34px; font-size: 12px; letter-spacing:.04em; color: rgba(239,233,220,0.4); text-transform: uppercase; font-family: var(--font-label); }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 860px){
  .nav__links{ display:none; }
  .nav__inner > .lang-switch{ display:none; }
  .nav__toggle{ display:flex; }
  .about__grid{ grid-template-columns: 1fr; gap: 34px; }
  .cards{ grid-template-columns: 1fr 1fr; }
  .section__inner--split{ grid-template-columns: 1fr; }
  .split__art{ order:-1; }
  .booth-illustration{ max-width:160px; }
  .contact-cards{ grid-template-columns: 1fr; }
  .badges{ gap: 28px; }
}
@media (max-width: 560px){
  body{ font-size: 16px; }
  .section{ padding: 64px 18px; }
  .cards{ grid-template-columns: 1fr; }
  .hero{ min-height: 100vh; padding-top: 110px; }
  .hero__logo{ width: clamp(220px, 70vw, 320px); }
  .stamp{ width: 148px; height: 148px; }
  .badges{ gap: 20px; }
  .badge{ width: 116px; height: 116px; }
  .scatter .s{ width: 34px !important; height: 34px !important; }
}
