/* ==========================================================================
   GLOBAL VARIABLES & RESETS
   ========================================================================== */
:root {
  --espresso:   #311300;
  --coffee:     #5c3820;
  --cream:      #F5EFE0;
  --driftwood:  #E8D9C5;
  --white:      #ffffff;
  --terracotta: #B9784F;
  --terracotta-deep: #8C4128;
  --terracotta-glass: #D27F58;
  --peach:      #E8A87C;
  --denim:      #7B9EB0;
  --seamist:    #B5CEDD;
  --muted:      #9c7b6a;
  --font-head:  'Urbanist', system-ui, sans-serif;
  --font-body:  'DM Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); -webkit-font-smoothing: antialiased; color: var(--espresso); overflow-x: hidden; }

*:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 3px; border-radius: 3px; }

/* ==========================================================================
   CTA BUTTON — sea glass treatment
   ========================================================================== */
.cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--espresso);
  background: linear-gradient(135deg, rgba(232,168,124,0.90), rgba(210,127,88,0.90));
  backdrop-filter: blur(6px) saturate(160%);
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  text-decoration: none;
  padding: 16px 36px;
  border-radius: 6px;
  min-height: 44px;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,0.35);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
  box-shadow:
    0 8px 20px rgba(49,19,0,0.16),
    inset 0 1px 1px rgba(255,255,255,0.55),
    inset 0 -2px 4px rgba(49,19,0,0.10);
  transition: background 0.45s ease-in-out, transform 0.45s ease-in-out, box-shadow 0.45s ease-in-out;
}
.cta-btn::before {
  content: '';
  position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.45), transparent);
  pointer-events: none;
}
.cta-btn:hover::before { animation: glass-shine 1.1s ease-in-out; }
@keyframes glass-shine { from { left: -120%; } to { left: 170%; } }

.cta-btn:hover,
.cta-btn:focus-visible,
.cta-btn.is-pressed {
  background: linear-gradient(135deg, rgba(232,168,124,0.98), rgba(210,127,88,0.98));
  transform: translateY(-3px);
  box-shadow:
    0 10px 24px rgba(192,94,58,0.4),
    0 4px 10px rgba(49,19,0,0.2),
    inset 0 1px 1px rgba(255,255,255,0.6),
    inset 0 -2px 4px rgba(49,19,0,0.12);
}

.header__actions .cta-btn, .header__drawer-cta {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

@media (prefers-reduced-transparency: reduce) {
  .cta-btn {
    background: var(--terracotta-glass);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .cta-btn::before { display: none; }
}

.cta-btn--secondary {
  background: transparent;
  color: var(--espresso);
  border: 2px solid var(--espresso);
  padding: 14px 34px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.cta-btn--secondary::before { display: none; }
.cta-btn--secondary:hover,
.cta-btn--secondary:focus-visible,
.cta-btn--secondary.is-pressed {
  opacity: 1;
  background: var(--espresso);
  color: var(--cream);
  box-shadow: 0 10px 20px rgba(49,19,0,0.25);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
main { padding-top: 130px; }
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000; width: 100%;
  height: 130px;
  background: var(--cream);
  box-shadow: 0 1px 0 rgba(49,19,0,0.07);
  display: flex;
  align-items: center;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.header--hidden { transform: translateY(-100%); }
.header::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.68' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)'/%3E%3C/svg%3E");
  opacity: 0.05; mix-blend-mode: multiply;
}
.header::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(ellipse 50% 120% at 88% -10%, rgba(181,206,221,.20) 0%, transparent 65%),
              radial-gradient(ellipse 35% 80%  at  3% 60%,  rgba(232,168,124,.12) 0%, transparent 55%);
}
.header__inner { position: relative; z-index: 2; max-width: 1220px; margin: 0 auto; padding: 0 44px; width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 32px; }

.header__logo { display: flex; align-items: center; gap: 11px; text-decoration: none; flex-shrink: 0; }
.header__logo-mark { width: 46px; height: 46px; border-radius: 50%; overflow: hidden; flex-shrink: 0; box-shadow: 0 0 0 1.5px rgba(49,19,0,.12), 0 2px 8px rgba(49,19,0,.10); }
.header__logo-mark img { width: 46px; height: 46px; display: block; object-fit: cover; }
.header__logo-text { display: flex; flex-direction: column; line-height: 1; }
.header__logo-name { font-family: var(--font-body); font-weight: 600; font-size: 18px; letter-spacing: -.01em; color: var(--espresso); }
.header__logo-tag { font-family: var(--font-body); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--peach); margin-top: 2px; }

.header__nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; position: relative; z-index: 2; }
.header__nav-link { font-family: var(--font-body); font-size: 15px; font-weight: 500; color: rgba(49,19,0,.72); text-decoration: none; padding: 8px 15px; border-radius: 6px; transition: color .18s, background .18s; white-space: nowrap; }
.header__nav-link:hover { color: var(--espresso); background: rgba(49,19,0,.06); }
.header__nav-link.is-active { color: var(--terracotta-deep); font-weight: 600; }

.header__actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; position: relative; z-index: 2; }

.header__burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; border-radius: 6px; transition: background .18s; }
.header__burger:hover { background: rgba(49,19,0,.07); }
.header__burger-bar { display: block; width: 22px; height: 2px; background: var(--espresso); border-radius: 2px; transform-origin: center; transition: transform .28s ease, opacity .18s; }
.header.is-open .header__burger-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.is-open .header__burger-bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header.is-open .header__burger-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.header__drawer { display: none; position: absolute; top: 100%; left: 0; right: 0; background: linear-gradient(180deg, var(--cream), var(--driftwood)); padding: 12px 24px 28px; flex-direction: column; gap: 2px; box-shadow: 0 12px 36px rgba(49,19,0,.12); border-bottom: 1px solid rgba(49,19,0,.08); z-index: 999; }
.header__drawer-cta { margin-top: 12px; width: 100%; }
.header__drawer.is-open { display: flex; }
.header__drawer-link { font-family: var(--font-body); font-size: 16px; font-weight: 500; color: rgba(49,19,0,.68); text-decoration: none; padding: 13px 10px; border-radius: 6px; border-bottom: 1px solid rgba(49,19,0,.07); transition: color .18s, background .18s; }
.header__drawer-link:last-of-type { border-bottom: none; }
.header__drawer-link:hover { color: var(--espresso); background: rgba(49,19,0,.05); }
.header__drawer-link.is-active { color: var(--terracotta-deep); font-weight: 600; }

@media (max-width: 860px) { .header__nav, .header__actions .cta-btn { display: none; } .header__burger { display: flex; } }
@media (max-width: 480px) { .header__inner { padding: 0 20px; } }

/* ==========================================================================
   SHARED EYEBROW UTILITIES
   ========================================================================== */
.eyebrow-light, .eyebrow-dark {
  display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase; margin-bottom: 18px;
}
.eyebrow-light { color: var(--terracotta-deep); }
.eyebrow-dark { color: var(--peach); }
.eyebrow-light::before, .eyebrow-light::after { content: ''; width: 32px; height: 1px; background: var(--terracotta-deep); opacity: .5; display: block; }
.eyebrow-dark::before, .eyebrow-dark::after { content: ''; width: 32px; height: 1px; background: var(--peach); opacity: .5; display: block; }

/* ==========================================================================
   SECTION BLEND DIVIDERS
   ========================================================================== */
.section-blend { width: 100%; height: 90px; pointer-events: none; line-height: 0; overflow: hidden; }
.section-blend svg { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) { .section-blend { height: 56px; } }

/* ==========================================================================
   ABOUT HERO
   ========================================================================== */
.about-hero { background: rgba(49,19,0,0.93); padding: 80px 60px 76px; width: 100%; text-align: center; }
.about-hero-title {
  font-family: var(--font-head); font-size: clamp(36px, 4.6vw, 62px); font-weight: 800;
  color: var(--cream); line-height: 1.12; margin: 0 auto 18px; max-width: 700px;
}
.about-hero-title .line { display: block; overflow: hidden; }
.about-hero-title .line-inner { display: block; }
.about-hero-title em { font-style: italic; font-weight: 500; color: var(--peach); }
.about-hero-sub { font-size: 18px; font-weight: 500; color: var(--driftwood); max-width: 560px; margin: 0 auto; line-height: 1.6; }

/* ==========================================================================
   OUR STORY
   ========================================================================== */
.story-sec { background: var(--cream); width: 100%; padding: 92px 60px 88px; }
.story-inner { display: flex; align-items: center; gap: 64px; max-width: 1140px; margin: 0 auto 64px; }
.story-photo { flex-shrink: 0; width: 38%; max-width: 400px; }
.story-photo .bcc-img-placeholder { width: 100%; aspect-ratio: 4/5; border-radius: 14px; box-shadow: 0 16px 44px rgba(49,19,0,0.13); }
.story-photo .story-polaroid { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto; filter: drop-shadow(0 18px 36px rgba(49,19,0,0.28)); }
.story-copy { flex: 1; min-width: 0; }
.story-title { font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 46px); font-weight: 800; color: var(--espresso); line-height: 1.16; margin-bottom: 18px; }
.story-title .line { display: block; overflow: hidden; }
.story-title .line-inner { display: block; }
.story-title em { font-style: italic; font-weight: 500; }
.story-text { font-size: 16px; color: var(--coffee); line-height: 1.75; margin-bottom: 16px; }
.story-text:last-child { margin-bottom: 0; }

.story-today { max-width: 800px; margin: 0 auto; text-align: center; padding-top: 48px; border-top: 1px solid rgba(232,217,197,0.18); }
.story-today-text { font-size: 17px; color: var(--cream); font-weight: 500; line-height: 1.7; margin-bottom: 40px; }

.story-stats { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.story-stat { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.story-stat-num { font-family: var(--font-head); font-size: clamp(30px, 3.4vw, 42px); font-weight: 800; color: var(--terracotta-deep); line-height: 1; }
.story-stat-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--coffee); }

/* ==========================================================================
   SHARED SECTION HEADER + CARD GRID (apart-sec)
   ========================================================================== */
.menu-section-header { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.menu-section-title { font-family: var(--font-head); font-size: clamp(30px, 3.6vw, 48px); font-weight: 800; color: var(--espresso); line-height: 1.16; margin-bottom: 10px; }
.menu-section-title .line { display: block; overflow: hidden; }
.menu-section-title .line-inner { display: block; }
.menu-section-title em { font-style: italic; font-weight: 500; }

.apart-sec { background: rgba(232,217,197,0.93); width: 100%; padding: 92px 60px 96px; }
.apart-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px; max-width: 1140px; margin: 0 auto; }
.apart-card {
  background: var(--white); border-radius: 12px; padding: 30px 26px;
  box-shadow: 0 4px 18px rgba(49,19,0,0.07); border: 1px solid rgba(49,19,0,0.06);
  flex: 1 1 280px; max-width: 320px;
}
.apart-icon {
  width: 42px; height: 42px; border-radius: 10px; background: var(--driftwood); color: var(--terracotta-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.apart-card-title { font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--espresso); margin-bottom: 8px; }
.apart-card-desc { font-size: 15px; color: var(--coffee); line-height: 1.65; }
.apart-card-desc a { color: var(--terracotta-deep); text-decoration: underline; text-decoration-color: rgba(140,65,40,0.4); text-underline-offset: 2px; }
.apart-card-desc a:hover { color: var(--espresso); }

/* ==========================================================================
   ABOUT CTA SECTION
   ========================================================================== */
.about-cta-sec { background: rgba(49,19,0,0.93); width: 100%; padding: 88px 60px 96px; text-align: center; }
.about-cta-title { font-family: var(--font-head); font-size: clamp(28px, 3.4vw, 42px); font-weight: 800; color: var(--cream); margin-bottom: 16px; }
.about-cta-sub { font-size: 17px; color: var(--driftwood); max-width: 560px; margin: 0 auto 34px; line-height: 1.65; }
.about-cta-wrap { display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   SCROLL-REVEAL ANIMATIONS
   ========================================================================== */
@keyframes anim-rise     { to { opacity:1; transform:translateY(0); } }
@keyframes anim-fade-up  { to { opacity:1; transform:translateY(0); } }
@keyframes anim-img-in   { to { opacity:1; transform:translateX(0) scale(1); } }

.bcc-js .eyebrow-dark, .bcc-js .eyebrow-light            { opacity: 0; transform: translateY(14px); }
.bcc-js .about-hero-title .line-inner,
.bcc-js .story-title .line-inner,
.bcc-js .menu-section-title .line-inner                  { opacity: 0; transform: translateY(105%); }
.bcc-js .about-hero-sub, .bcc-js .story-text,
.bcc-js .story-today-text, .bcc-js .story-stats,
.bcc-js .about-cta-title, .bcc-js .about-cta-sub          { opacity: 0; transform: translateY(14px); }
.bcc-js .story-photo                                      { opacity: 0; transform: translateX(-40px) scale(0.97); }
.bcc-js .apart-card                                       { opacity: 0; transform: translateY(20px); }

.bcc-js .eyebrow-dark.in, .bcc-js .eyebrow-light.in            { animation: anim-fade-up .7s cubic-bezier(.16,1,.3,1) forwards; }
.bcc-js .about-hero-title .line-inner.in,
.bcc-js .story-title .line-inner.in,
.bcc-js .menu-section-title .line-inner.in                     { animation: anim-rise .8s cubic-bezier(.16,1,.3,1) forwards; }
.bcc-js .about-hero-sub.in, .bcc-js .story-text.in,
.bcc-js .story-today-text.in, .bcc-js .story-stats.in,
.bcc-js .about-cta-title.in, .bcc-js .about-cta-sub.in         { animation: anim-fade-up .7s cubic-bezier(.16,1,.3,1) forwards; }
.bcc-js .story-photo.in                                        { animation: anim-img-in 1.0s cubic-bezier(.22,1,.36,1) forwards; }
.bcc-js .apart-card.in                                         { animation: anim-fade-up .6s cubic-bezier(.16,1,.3,1) forwards; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer { background: rgba(49,19,0,0.93); color: var(--cream); padding: 64px 60px 56px; }
.footer-inner { max-width: 1220px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 56px; align-items: start; }

.footer-map { height: 450px; border-radius: 12px; overflow: hidden; border: 1px solid rgba(245,239,224,.14); box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.footer-map iframe { display: block; width: 100%; height: 100%; }

.footer-col { text-align: center; }
.footer-heading { font-family: var(--font-head); font-weight: 800; font-size: 26px; color: var(--cream); margin-bottom: 26px; }

.footer-area-list { list-style: none; display: flex; flex-direction: column; gap: 15px; }
.footer-area-list li { font-size: 16px; font-weight: 400; color: var(--driftwood); }

.footer-contact { display: flex; flex-direction: column; align-items: center; }
.footer-email { color: var(--cream); text-decoration: none; font-size: 16px; margin-bottom: 14px; transition: color .2s; word-break: break-word; }
.footer-email:hover { color: var(--driftwood); }
.footer-phone { color: var(--cream); text-decoration: none; font-size: 18px; font-weight: 500; margin-bottom: 26px; transition: color .2s; }
.footer-phone:hover { color: var(--driftwood); }
.footer-cta { margin-bottom: 30px; }
.footer-links { display: flex; flex-direction: column; gap: 12px; }
.footer-links a { color: var(--cream); text-decoration: none; font-size: 15px; font-style: normal; transition: color .2s; }
.footer-links a:hover { color: var(--driftwood); }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr; gap: 44px; justify-items: center; }
  .footer-map { width: 100%; max-width: 480px; }
}
@media (max-width: 480px) {
  .site-footer { padding: 48px 24px 40px; }
}

/* ==========================================================================
   RESPONSIVE — ABOUT PAGE SECTIONS
   ========================================================================== */
@media (max-width: 860px) {
  .about-hero, .story-sec, .apart-sec, .about-cta-sec { padding: 64px 28px 60px; }
  .story-inner { flex-direction: column; gap: 36px; margin-bottom: 48px; }
  .story-photo { width: 100%; max-width: 320px; }
  .story-stats { gap: 36px; }
}
@media (max-width: 540px) {
  .about-hero, .story-sec, .apart-sec, .about-cta-sec { padding: 52px 18px 48px; }
  .story-stats { gap: 24px; }
}

/* ==========================================================================
   ACCESSIBILITY FALLBACKS
   ========================================================================== */
.bcc-js *:not(.cta-btn) { opacity: 1 !important; transform: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* IMAGE PLACEHOLDERS (temporary, for routing real photography in later) */
.bcc-img-placeholder {
  background-color: var(--driftwood);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--coffee);
  font-family: sans-serif;
  font-size: 0.85rem;
  line-height: 1.4;
  min-height: 80px;
}
.bcc-img-placeholder-text { padding: 8px; }


/* ============================================================
   ABOVE-THE-FOLD HERO — no load-in animation (show immediately)
   ============================================================ */
#bcc-about-hero .eyebrow-dark,
#bcc-about-hero .about-hero-title .line-inner,
#bcc-about-hero .about-hero-sub {
  opacity: 1 !important; transform: none !important; animation: none !important;
}
