/* ============================================
   RESET & TOKENS
   ============================================ */
:root {
  --gold: #B8870A;
  --gold-2: #D4A31A;
  --gold-3: #8A6508;
  --bg: #ffffff;
  --bg-alt: #f5f5f9;
  --glass: rgba(0,0,0,0.025);
  --glass-border: rgba(0,0,0,0.09);
  --text: #0d0d12;
  --text-2: #5a5a6e;
  --text-3: #a0a0b2;
  --nav-h: 92px;
  --r: 18px;
  --ease: cubic-bezier(0.16,1,0.3,1);
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 60px rgba(0,0,0,0.13);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
em { font-style: italic; font-family: 'Playfair Display', serif; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  transition: background .35s, box-shadow .35s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.08);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 28px;
  height: 100%; display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  margin-right: auto;
  display: flex; align-items: center;
  padding-top: 10px;
}
.nav-logo img {
  height: 88px; width: auto;
  display: block;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  font-size: .78rem; font-weight: 600; letter-spacing: .07em;
  text-transform: uppercase; color: var(--text-2);
  transition: color .22s;
}
.nav-links a:hover { color: var(--text); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-icon {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 9px;
  color: var(--text-2); transition: color .22s, background .22s;
}
.nav-icon:hover { color: var(--text); background: var(--glass); }
.nav-cta {
  padding: 9px 22px; border: 1.5px solid rgba(184,135,10,.35); border-radius: 9px;
  font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); transition: background .22s, border-color .22s;
}
.nav-cta:hover { background: rgba(184,135,10,.07); border-color: var(--gold); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 1.5px; background: var(--text); transition: .3s; }

/* ============================================
   HERO — two-column
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden;
  padding: var(--nav-h) 0 80px;
  background: var(--bg);
}

/* Subtle blobs */
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(100px);
  animation: blob-drift 16s ease-in-out infinite;
}
.aurora-blob:nth-child(1) {
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(184,135,10,.07) 0%, transparent 70%);
  top: -200px; right: -100px;
}
.aurora-blob:nth-child(2) {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(120,90,200,.05) 0%, transparent 70%);
  bottom: -100px; left: -50px;
  animation-delay: -5s; animation-duration: 20s;
}
.aurora-blob:nth-child(3) {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(184,135,10,.05) 0%, transparent 70%);
  top: 40%; left: 30%;
  animation-delay: -9s; animation-duration: 24s;
}
@keyframes blob-drift {
  0%,100% { transform: translate(0,0) scale(1); }
  33% { transform: translate(40px,-30px) scale(1.05); }
  66% { transform: translate(-20px,20px) scale(0.97); }
}

/* Subtle grid */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,0,0,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 90% 80% at 50% 50%, black 0%, transparent 100%);
}

#spotlight {
  position: absolute; width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,135,10,.06) 0%, transparent 65%);
  pointer-events: none; transform: translate(-50%,-50%);
  transition: opacity .4s;
}

/* Hero layout */
.hero-inner {
  position: relative; z-index: 1;
  max-width: 1180px; margin: 0 auto; width: 100%;
  padding: 0 28px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.hero-content {
  width: 100%;
  max-width: 980px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; margin-bottom: 32px;
  border: 1.5px solid rgba(184,135,10,.3); border-radius: 100px;
  background: rgba(184,135,10,.06);
  font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.35rem, 4.7vw, 4.45rem);
  font-weight: 900; line-height: .96; letter-spacing: -.03em;
  margin-bottom: 22px;
  color: var(--text);
}
.hero-title .line { display: block; }
.hero-title .italic-line { display: inline-block; padding-bottom: .08em; }
.hero-title .italic-line {
  font-style: italic; font-weight: 700;
  background: linear-gradient(125deg, var(--gold-3) 0%, var(--gold) 45%, var(--gold-2) 65%, var(--gold) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: text-shimmer 5s linear infinite;
}
@keyframes text-shimmer { 0%{background-position:0% center} 100%{background-position:200% center} }

.hero-desc {
  font-size: clamp(.9rem, 1.8vw, 1.05rem);
  color: var(--text-2); font-weight: 400; line-height: 1.75;
  margin-bottom: 34px; max-width: 660px;
}

.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 8px; }

/* Right column — video */
.hero-visual {
  display: flex; justify-content: center; align-items: center;
  width: 100%;
}
.hero-video-wrap {
  position: relative; width: min(100%, 900px);
  animation: hero-float 7s ease-in-out infinite;
}
@keyframes hero-float {
  0%,100% { transform: translateY(0px); }
  50% { transform: translateY(-16px); }
}
.hero-video-frame {
  position: relative; border-radius: 22px; overflow: hidden;
  border: 1.5px solid rgba(184,135,10,.2);
  background: linear-gradient(180deg, #faf8f2 0%, #f3efe4 100%);
  box-shadow:
    0 40px 100px rgba(0,0,0,.14),
    0 0 0 1px rgba(184,135,10,.08);
}
.hero-video-frame video {
  width: 100%; height: auto; display: block;
  object-fit: contain; object-position: center;
}
.hero-video-glow {
  position: absolute; bottom: -34px; left: 5%; right: 5%;
  height: 72px;
  background: radial-gradient(ellipse, rgba(184,135,10,.2), transparent 70%);
  filter: blur(16px); border-radius: 50%; pointer-events: none;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn-gold {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--gold-3), var(--gold), var(--gold-2));
  background-size: 200% auto;
  color: #fff; font-weight: 700; font-size: .8rem;
  letter-spacing: .06em; text-transform: uppercase; border-radius: 10px;
  box-shadow: 0 4px 20px rgba(184,135,10,.25);
  transition: background-position .4s, transform .25s, box-shadow .25s;
}
.btn-gold:hover {
  background-position: right center;
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(184,135,10,.38);
}
.btn-lg { padding: 18px 44px; font-size: .9rem; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px;
  border: 1.5px solid rgba(0,0,0,.15); border-radius: 10px;
  font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  color: var(--text-2);
  transition: border-color .22s, color .22s, transform .25s;
}
.btn-outline:hover { border-color: rgba(0,0,0,.35); color: var(--text); transform: translateY(-3px); }

/* ============================================
   SECTIONS SHARED
   ============================================ */
.section { padding: 130px 0; }
.label {
  display: block; font-size: .68rem; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 20px;
  color: var(--text);
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.about p.body-text { color: var(--text-2); font-size: 1rem; line-height: 1.85; margin-bottom: 22px; }
.skills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.skill-item {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 16px; border: 1.5px solid var(--glass-border); border-radius: 100px;
  font-size: .74rem; font-weight: 500; color: var(--text-2); letter-spacing: .03em;
  background: var(--bg); transition: border-color .22s, color .22s;
}
.skill-item svg { flex-shrink: 0; opacity: .5; }
.skill-item:hover { border-color: rgba(184,135,10,.4); color: var(--gold); background: rgba(184,135,10,.04); }
.skill-item:hover svg { opacity: 1; }

.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.astat {
  padding: 28px;
  background: var(--bg); border: 1.5px solid var(--glass-border); border-radius: var(--r);
  box-shadow: var(--shadow-sm); transition: border-color .3s, transform .3s, box-shadow .3s;
}
.astat:hover { border-color: rgba(184,135,10,.3); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.astat-n {
  display: block; font-family: 'Playfair Display', serif;
  font-size: 2.8rem; font-weight: 900;
  background: linear-gradient(135deg, var(--gold-3), var(--gold-2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.astat-l { display: block; font-size: .72rem; color: var(--text-2); margin-top: 8px; line-height: 1.4; letter-spacing: .05em; }
.astat--wide { grid-column: span 2; display: flex; align-items: center; }
.astat-badge-info { display: flex; flex-direction: column; gap: 4px; }
.astat-badge-info strong { display: block; font-weight: 700; font-size: 1rem; color: var(--text); }
.astat-badge-info span { font-size: .78rem; color: var(--text-2); }
.astat-badge-loc {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; color: var(--text-3); margin-top: 2px;
}

/* ============================================
   WORK — BENTO GRID
   ============================================ */
.work { background: var(--bg); }
.work-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 52px; }
.work-sub { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); padding-bottom: 6px; }
.work-header .h2 { margin-bottom: 0; }

.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 420px;
  gap: 16px;
}
.bento-card { border-radius: var(--r); overflow: hidden; position: relative; }
.bento-card--2 { grid-column: span 2; }
.bento-card--3 { grid-column: span 3; }
.bento-card--4 { grid-column: span 4; }
.bento-card--6 { grid-column: span 6; }
.bento-card--tall { grid-row: span 2; }

/* Glass card base */
.bcard {
  height: 100%; display: flex; flex-direction: column;
  background: var(--bg);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--r); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bcard:hover {
  border-color: rgba(184,135,10,.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Browser chrome + screenshot */
.bcard-browser {
  flex: 0 0 auto; height: 220px;
  display: flex; flex-direction: column; overflow: hidden;
}
.bcard-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: #f0f0f4;
  border-bottom: 1px solid rgba(0,0,0,0.08);
  flex-shrink: 0;
}
.bcard-dots { display: flex; gap: 5px; flex-shrink: 0; }
.bd { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.bd-r { background: #ff5f57; }
.bd-y { background: #ffbd2e; }
.bd-g { background: #28c940; }
.bcard-chrome-url {
  flex: 1; font-size: .63rem; color: rgba(0,0,0,.4);
  letter-spacing: .02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bcard-chrome-open {
  color: rgba(0,0,0,.25); display: flex; align-items: center; flex-shrink: 0;
  transition: color .2s;
}
.bcard-chrome-open:hover { color: rgba(0,0,0,.6); }

.bcard-screen { flex: 1; position: relative; overflow: hidden; }
.bcard-screen img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top center;
  display: block;
  transition: transform .65s var(--ease);
}
.bcard:hover .bcard-screen img { transform: scale(1.04); }
.bcard-screen--icon {
  display: flex; align-items: center; justify-content: center;
  background:
    radial-gradient(circle at top, rgba(255,255,255,.95), rgba(245,245,249,.92) 48%, rgba(235,236,242,.98) 100%);
}
.bcard-screen--ministry {
  background:
    radial-gradient(circle at 50% 20%, rgba(208,169,74,.18), transparent 46%),
    linear-gradient(160deg, #fbfaf7 0%, #f1ede2 100%);
}
.bcard-screen--mission {
  background:
    radial-gradient(circle at 50% 20%, rgba(105,142,189,.18), transparent 45%),
    linear-gradient(160deg, #f8fafc 0%, #edf3f8 100%);
}
.bcard-screen--network {
  background:
    radial-gradient(circle at 50% 20%, rgba(184,135,10,.18), transparent 44%),
    linear-gradient(160deg, #fbfaf8 0%, #f2eee7 100%);
}
.bcard-screen--education {
  background:
    radial-gradient(circle at 50% 20%, rgba(83,128,112,.18), transparent 44%),
    linear-gradient(160deg, #f7faf8 0%, #eaf1ee 100%);
}
.bcard-icon-shell {
  width: 124px; height: 124px;
  border-radius: 32px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(255,255,255,.9);
  box-shadow:
    0 20px 40px rgba(0,0,0,.08),
    inset 0 1px 0 rgba(255,255,255,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.bcard-emblem {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px;
  position: relative;
}
.bcard-emblem::before,
.bcard-emblem::after {
  content: '';
  position: absolute;
  inset: 14px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.55);
  pointer-events: none;
}
.bcard-emblem::after {
  inset: 22px;
  border-color: rgba(255,255,255,.4);
}
.bcard-emblem-code {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: .08em;
  color: #8a6508;
}
.bcard-emblem-rule {
  width: 42px;
  height: 1px;
  background: currentColor;
  opacity: .35;
}
.bcard-emblem-label {
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(13,13,18,.55);
}
.bcard-screen--mission .bcard-emblem-code,
.bcard-screen--mission .bcard-emblem-rule { color: #41678f; }
.bcard-screen--network .bcard-emblem-code,
.bcard-screen--network .bcard-emblem-rule { color: #9a7210; }
.bcard-screen--education .bcard-emblem-code,
.bcard-screen--education .bcard-emblem-rule { color: #456c60; }
.bcard:hover .bcard-icon-shell {
  transform: translateY(-4px) scale(1.03);
  box-shadow:
    0 28px 46px rgba(0,0,0,.11),
    inset 0 1px 0 rgba(255,255,255,.98);
}
.bcard-screen-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(255,255,255,0.6) 100%);
}

/* Card body */
.bcard-body {
  padding: 18px 22px 22px; flex: 1;
  display: flex; flex-direction: column;
  background: var(--bg);
}
.bcard-cat {
  display: inline-block;
  font-size: .63rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--text-3);
  margin-bottom: 6px; flex-shrink: 0;
}
.bcard-title {
  font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700;
  margin-bottom: 6px; line-height: 1.25; flex-shrink: 0;
  color: var(--text);
}
.bcard-desc { font-size: .78rem; color: var(--text-2); line-height: 1.65; flex: 1; }
.bcard-link {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--gold); transition: gap .25s, opacity .25s;
  margin-top: 14px; flex-shrink: 0;
}
.bcard-link:hover { gap: 9px; opacity: .75; }

/* Pills */
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--bg-alt); border: 1.5px solid var(--glass-border); border-radius: 100px;
  font-size: .72rem; font-weight: 500; letter-spacing: .04em;
  color: var(--text-2); transition: border-color .22s, color .22s, background .22s;
}
.pill svg { opacity: .5; flex-shrink: 0; }
.pill:hover { border-color: rgba(184,135,10,.35); color: var(--gold); background: rgba(184,135,10,.05); }
.pill:hover svg { opacity: 1; }

/* ── 1304 El Camino featured card ── */
.ec-card {
  display: flex; flex-direction: column;
  background: #0e0908;
  border-color: rgba(180,80,40,.2) !important;
  box-shadow: var(--shadow-md);
}
.ec-card:hover { border-color: rgba(220,120,60,.4) !important; box-shadow: var(--shadow-lg); }

.ec-chrome {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid rgba(255,255,255,.06);
  flex-shrink: 0;
}
.ec-chrome-left { display: flex; gap: 5px; }
.ec-chrome-url {
  flex: 1; display: flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07);
  border-radius: 6px; padding: 4px 10px;
  font-size: .65rem; color: rgba(255,255,255,.35); letter-spacing: .02em;
}
.ec-chrome-open { color: rgba(255,255,255,.3); display: flex; align-items: center; transition: color .25s; }
.ec-chrome-open:hover { color: rgba(255,255,255,.8); }

.ec-top {
  padding: 20px 22px; flex-shrink: 0;
  display: flex; gap: 16px; justify-content: space-between; align-items: flex-start;
}
.ec-top-left { flex: 1; }
.ec-hero-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .62rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(220,140,60,.8); margin-bottom: 8px;
}
.ec-hero-eyebrow::before { content: ''; width: 16px; height: 1px; background: rgba(220,140,60,.5); }
.ec-hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem; font-weight: 700; line-height: 1.2;
  color: #fff; letter-spacing: -.01em; margin-bottom: 14px;
}
.ec-top-info { display: flex; flex-direction: column; gap: 5px; }
.ec-info-row {
  display: flex; align-items: center; gap: 7px;
  font-size: .66rem; color: rgba(255,255,255,.35);
}
.ec-info-row svg { color: rgba(220,140,60,.5); flex-shrink: 0; }
.ec-top-right { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; flex-shrink: 0; }
.ec-feat-sm {
  display: flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid rgba(200,100,40,.2);
  font-size: .65rem; font-weight: 500; color: rgba(220,140,60,.7);
}
.ec-img-bottom { flex: 1; position: relative; overflow: hidden; min-height: 160px; }
.ec-hero-img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
  transition: transform .7s ease; display: block;
}
.ec-card:hover .ec-hero-img { transform: scale(1.05); }
.ec-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(14,9,8,.7) 0%, rgba(14,9,8,.1) 40%, transparent 100%);
}
.ec-visit-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 8px;
  background: linear-gradient(135deg, #c86428, #e07830);
  color: #fff; font-size: .75rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  transition: opacity .25s, transform .25s; flex-shrink: 0;
}
.ec-visit-btn:hover { opacity: .88; transform: translateY(-2px); }

/* ============================================
   CONTACT
   ============================================ */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--glass-border);
}
.contact-box {
  position: relative; text-align: center;
  max-width: 600px; margin: 0 auto;
  padding: 80px 40px;
  background: var(--bg); border: 1.5px solid var(--glass-border); border-radius: 28px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.contact-box .h2 { margin-bottom: 20px; }
.contact-box p { color: var(--text-2); font-size: 1rem; line-height: 1.75; margin-bottom: 40px; }
.contact-glow {
  position: absolute; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(184,135,10,.05), transparent 70%);
  top: 50%; left: 50%; transform: translate(-50%,-50%);
  border-radius: 50%; pointer-events: none;
}
.contact-socials { display: flex; align-items: center; gap: 12px; margin-top: 28px; justify-content: center; }
.contact-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 12px;
  border: 1.5px solid var(--glass-border); color: var(--text-2);
  transition: border-color .22s, color .22s, background .22s;
}
.contact-socials a:hover { border-color: rgba(184,135,10,.4); color: var(--gold); background: rgba(184,135,10,.05); }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: var(--bg); border-top: 1px solid var(--glass-border); padding: 28px 0; }
.footer .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.footer-logo-link { display: flex; align-items: center; }
.footer-logo-img { height: 48px; width: auto; display: block; }
.footer p { font-size: .72rem; color: var(--text-3); }
.footer-right { display: flex; align-items: center; gap: 10px; }
.footer-icon { color: var(--text-3); display: flex; transition: color .22s; }
.footer-icon:hover { color: var(--text-2); }
.footer-url { font-family: 'Playfair Display', serif; color: var(--gold) !important; font-size: .78rem !important; }

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
  opacity: 0; transform: translateY(28px);
  animation: fadeUp .9s var(--ease) forwards;
}
.fade-up:nth-child(1){animation-delay:.05s}
.fade-up:nth-child(2){animation-delay:.15s}
.fade-up:nth-child(3){animation-delay:.28s}
.fade-up:nth-child(4){animation-delay:.4s}
.fade-up:nth-child(5){animation-delay:.52s}
.fade-up:nth-child(6){animation-delay:.64s}
@keyframes fadeUp { to{opacity:1;transform:translateY(0)} }

.reveal { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1100px) {
  .hero-inner { gap: 30px; }
  .hero-title { font-size: clamp(2.15rem, 4.6vw, 3.7rem); }
  .bento { grid-template-columns: repeat(4,1fr); grid-auto-rows: 400px; }
  .bento-card--4 { grid-column: span 4; }
  .bento-card--2 { grid-column: span 2; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
}

@media (max-width: 820px) {
  .hero-inner { gap: 28px; padding-top: 20px; }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-pills { justify-content: center; }
  .hero-video-wrap { max-width: 560px; margin: 0 auto; }
  .nav-links, .nav-cta { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: rgba(255,255,255,.97); backdrop-filter: blur(20px);
    align-items: center; justify-content: center; gap: 40px; font-size: 1.3rem; z-index: 99;
  }
  .nav-toggle { display: flex; }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 380px; }
  .bento-card--4 { grid-column: span 2; }
  .bento-card--tall { grid-row: span 1; }
  .work-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .section { padding: 90px 0; }
  .contact-box { padding: 48px 24px; }
  .footer .container { flex-direction: column; text-align: center; }
}

@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .bento-card { min-height: 360px; }
  .bento-card--2, .bento-card--4 { grid-column: span 1; }
  .bcard-browser { height: 200px; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .hero-title { font-size: clamp(1.95rem, 7.5vw, 2.85rem); }
  .hero-desc { max-width: 92%; }
  .nav-logo { padding-top: 6px; }
  .nav-logo img { height: 72px; }
  .footer-logo-img { height: 40px; }
  .bcard-icon-shell { width: 108px; height: 108px; border-radius: 26px; }
  .bcard-emblem-code { font-size: 1.7rem; }
  .bcard-emblem-label { font-size: .5rem; }
}
