/* ============================================================
   brijeshdeb.com | Shared Stylesheet
   Design: Full Dark · Fraunces + Figtree · Amber Accents
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:          #060d18;
  --surface-1:   #0a1525;
  --surface-2:   #0f1e35;
  --surface-3:   #162540;
  --border:      rgba(255,255,255,0.07);
  --border-mid:  rgba(255,255,255,0.1);
  --amber:       #d4900a;
  --amber-light: #f0aa20;
  --amber-dim:   rgba(212,144,10,0.12);
  --white:       #ffffff;
  --text:        rgba(255,255,255,0.88);
  --text-mid:    rgba(255,255,255,0.5);
  --text-dim:    rgba(255,255,255,0.28);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Figtree', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

/* NOISE TEXTURE */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 500;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px;
}

/* ====== NAV ====== */
nav {
  height: 66px;
  padding: 0 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(6,13,24,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
  text-decoration: none;
}

.nav-logo span {
  color: var(--amber-light);
  font-style: italic;
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--amber-light); }

.nav-cta {
  background: var(--amber) !important;
  color: #060d18 !important;
  padding: 0.5rem 1.25rem !important;
  font-weight: 600 !important;
  border-radius: 2px !important;
  transition: background 0.2s !important;
  letter-spacing: 0.05em !important;
}

.nav-cta:hover { background: var(--amber-light) !important; color: #060d18 !important; }
.nav-cta.active { color: #060d18 !important; }

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--amber-light);
  transition: all 0.25s;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ====== MOBILE NAV DRAWER ====== */
.nav-drawer {
  display: none;
  position: fixed;
  top: 66px;
  left: 0;
  right: 0;
  background: rgba(6,13,24,0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 199;
  padding: 2rem;
  flex-direction: column;
  gap: 0;
}

.nav-drawer.open { display: flex; }

.nav-drawer li {
  list-style: none;
  border-bottom: 1px solid var(--border);
}

.nav-drawer li:last-child { border-bottom: none; }

.nav-drawer a {
  display: block;
  padding: 1rem 0;
  text-decoration: none;
  color: var(--text-mid);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-drawer a:hover { color: var(--amber-light); }
.nav-drawer a.active { color: var(--amber-light); }
.nav-drawer .nav-cta { color: #060d18 !important; background: var(--amber); padding: 0.75rem 1.5rem !important; display: inline-block; border-radius: 2px; margin-top: 1rem; }

/* ====== SECTION SYSTEM ====== */
.section {
  padding: 6rem 4rem;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.section-alt {
  padding: 6rem 4rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
}

.section-deep {
  padding: 6rem 4rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3.5rem;
}

.eyebrow {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: 'Fraunces', serif;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
}

.section-see-all {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.section-see-all:hover {
  color: var(--amber-light);
  border-color: var(--amber);
}

/* ====== HERO (HOMEPAGE) ====== */
.hero {
  background: var(--bg);
  display: grid;
  grid-template-columns: 1fr 460px;
  min-height: calc(100vh - 66px);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 40%, rgba(212,144,10,0.06) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(15,30,53,0.8) 0%, transparent 50%);
  pointer-events: none;
}

.hero-left {
  padding: 6rem 4rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 2.5rem;
  width: fit-content;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--amber-light);
  border-radius: 50%;
  animation: blink 2.2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.badge-text {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--amber-light);
  font-weight: 500;
}

.hero-headline {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.8rem, 4.5vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.75rem;
  max-width: 16ch;
}

.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-light);
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 46ch;
  margin-bottom: 2.75rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.hero-quote {
  border-left: 2px solid var(--amber);
  padding-left: 1.25rem;
  max-width: 44ch;
}

.hero-quote p {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 0.6rem;
}

.hero-quote cite {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-style: normal;
}

/* HERO RIGHT */
.hero-right {
  background: var(--surface-1);
  border-left: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  display: flex;
}

.hero-photo-area {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-photo-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(212,144,10,0.08) 0%, transparent 60%);
}

.photo-initials {
  font-family: 'Fraunces', serif;
  font-size: 10rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(212,144,10,0.07);
  line-height: 1;
  user-select: none;
  position: relative;
  z-index: 1;
}

.photo-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  border: 1px dashed var(--border-mid);
  padding: 0.4rem 0.9rem;
}

.hero-stats-bar {
  width: 80px;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-v {
  width: 100%;
  padding: 1.5rem 0;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.stat-v:last-child { border-bottom: none; }

.stat-v-num {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-v-label {
  font-size: 0.5rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
  line-height: 1.4;
  padding: 0 0.4rem;
}

/* ====== PAGE HERO (inner pages) ====== */
.page-hero {
  background: var(--surface-1);
  padding: 5rem 4rem 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 50%, rgba(212,144,10,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero-eyebrow {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1rem;
}

.page-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 20ch;
  position: relative;
  z-index: 1;
}

.page-hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--amber-light);
}

.page-hero-sub {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 56ch;
  position: relative;
  z-index: 1;
}

/* ====== CONFERENCE STRIP ====== */
.conf-strip {
  display: flex;
  border-bottom: 1px solid var(--border);
  background: var(--surface-1);
  overflow-x: auto;
}

.conf-label {
  background: var(--surface-2);
  color: var(--text-dim);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  border-right: 1px solid var(--border);
}

.conf-items {
  display: flex;
  flex: 1;
}

.conf-item {
  padding: 1rem 2rem;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  flex-shrink: 0;
  transition: color 0.2s, background 0.2s;
}

.conf-item:hover {
  color: var(--amber-light);
  background: var(--amber-dim);
}

.conf-item:last-child { border-right: none; }

/* ====== BUTTONS ====== */
.btn-amber {
  background: var(--amber);
  color: #060d18;
  font-family: 'Figtree', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.95rem 2.2rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
  border-radius: 2px;
  border: none;
  cursor: pointer;
}

.btn-amber:hover {
  background: var(--amber-light);
  transform: translateY(-1px);
}

.btn-amber-lg {
  background: var(--amber);
  color: #060d18;
  font-family: 'Figtree', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 1rem 2.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  border-radius: 2px;
}

.btn-amber-lg:hover { background: var(--amber-light); }

.btn-ghost {
  color: var(--text-mid);
  font-size: 0.82rem;
  font-weight: 400;
  text-decoration: none;
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 2px;
  transition: color 0.2s, border-color 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: var(--text-mid);
}

.btn-outline {
  border: 1px solid var(--border-mid);
  color: var(--text-mid);
  font-size: 0.85rem;
  font-weight: 400;
  padding: 1rem 2rem;
  text-decoration: none;
  display: inline-block;
  transition: all 0.2s;
  border-radius: 2px;
}

.btn-outline:hover {
  border-color: var(--amber);
  color: var(--amber-light);
}

.btn-fw {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(212,144,10,0.35);
  color: var(--amber-light);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  text-decoration: none;
  transition: all 0.2s;
  border-radius: 2px;
  cursor: pointer;
  background: none;
  font-family: 'Figtree', sans-serif;
}

.btn-fw:hover {
  background: var(--amber);
  border-color: var(--amber);
  color: #060d18;
}

.btn-dark {
  display: inline-block;
  background: #060d18;
  color: var(--white);
  font-family: 'Figtree', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.8rem;
  text-decoration: none;
  transition: background 0.2s;
  border-radius: 2px;
  width: fit-content;
}

.btn-dark:hover { background: var(--surface-3); }

/* ====== WORK CARDS ====== */
.work-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.work-card {
  background: var(--surface-1);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
  text-decoration: none;
  display: block;
}

.work-card:hover { background: var(--surface-2); }

.work-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.work-card:hover::after { transform: scaleX(1); }

.work-bg-num {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-family: 'Fraunces', serif;
  font-size: 5rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(212,144,10,0.05);
  line-height: 1;
  user-select: none;
}

.work-tag {
  display: inline-block;
  background: var(--amber-dim);
  color: var(--amber-light);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.work-title {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.work-desc {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.75;
}

/* ====== FRAMEWORK CARDS ====== */
.fw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.fw-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s;
}

.fw-card:hover { border-color: rgba(212,144,10,0.3); }

.fw-bg {
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  font-family: 'Fraunces', serif;
  font-size: 10rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(212,144,10,0.04);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.fw-name {
  font-family: 'Fraunces', serif;
  font-size: 3rem;
  font-weight: 900;
  font-style: italic;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.fw-full {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.75rem;
}

.fw-desc {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 40ch;
}

/* ====== TESTIMONIALS ====== */
.testi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.testi-card {
  background: var(--surface-1);
  padding: 2.75rem;
  transition: background 0.2s;
}

.testi-card:hover { background: var(--surface-2); }

.testi-mark {
  font-family: 'Fraunces', serif;
  font-size: 3.5rem;
  font-weight: 900;
  font-style: italic;
  color: var(--amber);
  opacity: 0.35;
  line-height: 0.8;
  margin-bottom: 1rem;
  display: block;
}

.testi-quote {
  font-family: 'Fraunces', serif;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.testi-rule {
  width: 1.5rem;
  height: 2px;
  background: var(--amber);
  margin-bottom: 1rem;
  opacity: 0.6;
}

.testi-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.2rem;
}

.testi-role {
  font-size: 0.7rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ====== WRITING CARDS ====== */
.writing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.writing-card {
  background: var(--surface-1);
  padding: 2.75rem;
  transition: background 0.2s;
}

.writing-card:hover { background: var(--surface-2); }

.writing-source {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 1rem;
}

.writing-title {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.writing-excerpt {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.writing-link {
  font-size: 0.73rem;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  border-bottom: 1px solid var(--border-mid);
  padding-bottom: 1px;
  transition: color 0.2s, border-color 0.2s;
}

.writing-link:hover {
  color: var(--amber-light);
  border-color: var(--amber);
}

/* ====== WRITING LIST (writing.html) ====== */
.writing-list {
  border: 1px solid var(--border);
}

.writing-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 2rem;
  padding: 1.4rem 2rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.writing-row:last-child { border-bottom: none; }
.writing-row:hover { background: var(--surface-1); }

.writing-row-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  line-height: 1.3;
  letter-spacing: -0.01em;
  transition: color 0.2s;
}

.writing-row-title:hover { color: var(--amber-light); }

.writing-row-source {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  white-space: nowrap;
}

.writing-row-tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  background: var(--surface-2);
  padding: 0.25rem 0.6rem;
  border-radius: 2px;
  white-space: nowrap;
}

.writing-row-arrow {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.writing-row-arrow:hover { color: var(--amber-light); }

/* FILTER BAR */
.filter-bar {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border-mid);
  color: var(--text-mid);
  font-family: 'Figtree', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 1.2rem;
  cursor: pointer;
  transition: all 0.2s;
  border-radius: 2px;
}

.filter-btn:hover { border-color: var(--amber); color: var(--amber-light); }
.filter-btn.active { background: var(--amber-dim); border-color: var(--amber); color: var(--amber-light); }

/* ====== ENGAGEMENTS ====== */
.engage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.engage-card {
  background: var(--surface-1);
  padding: 2.5rem;
  transition: background 0.2s;
  text-decoration: none;
  display: block;
}

.engage-card:hover { background: var(--surface-2); }

.engage-icon {
  width: 38px;
  height: 38px;
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-bottom: 1.25rem;
  border-radius: 2px;
}

.engage-title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.6rem;
  line-height: 1.25;
}

.engage-desc {
  font-size: 0.8rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ====== COMMUNITY BLOCK ====== */
.community-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  border-bottom: 1px solid var(--border);
}

.community-amber {
  background: var(--amber);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.community-title {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 900;
  font-style: italic;
  color: #060d18;
  line-height: 1.1;
  margin-bottom: 0.6rem;
}

.community-sub {
  font-size: 0.87rem;
  color: rgba(6,13,24,0.65);
  line-height: 1.65;
  max-width: 36ch;
  margin-bottom: 2rem;
}

.community-dark {
  background: var(--surface-2);
  padding: 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid var(--border);
}

.community-stats {
  display: flex;
  gap: 3rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.c-stat-num {
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--amber-light);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.c-stat-label {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.community-desc {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 40ch;
}

/* ====== CTA BAND ====== */
.cta-band {
  background: var(--surface-1);
  padding: 5rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  gap: 3rem;
}

.cta-band h2 {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
}

.cta-band p {
  font-size: 0.88rem;
  color: var(--text-mid);
}

.cta-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-shrink: 0;
  flex-wrap: wrap;
}

/* ====== FRAMEWORK DETAIL (frameworks.html) ====== */
.fw-section {
  padding: 6rem 4rem;
  border-bottom: 1px solid var(--border);
}

.fw-section:nth-of-type(odd) { background: var(--bg); }
.fw-section:nth-of-type(even) { background: var(--surface-1); }

.fw-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.fw-left {}

.fw-left .fw-name {
  font-size: 4rem;
  margin-bottom: 0.25rem;
}

.fw-left .fw-full {
  margin-bottom: 0.75rem;
}

.fw-meta-label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
  margin-top: 1.5rem;
}

.fw-meta-value {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

.fw-right {}

.fw-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.fw-pillar {
  background: var(--surface-2);
  padding: 2rem;
  transition: background 0.2s;
}

.fw-pillar:hover { background: var(--surface-3); }

.fw-pillar-num {
  font-family: 'Fraunces', serif;
  font-size: 1.8rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(212,144,10,0.18);
  line-height: 1;
  margin-bottom: 0.75rem;
}

.fw-pillar-name {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.fw-pillar-desc {
  font-size: 0.78rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.fw-pillar-accent {
  width: 20px;
  height: 2px;
  background: var(--amber);
  margin-bottom: 0.75rem;
  opacity: 0.5;
}

/* ====== PRACTICE AREA (work.html) ====== */
.practice-block {
  padding: 6rem 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.practice-block:nth-child(odd)  { background: var(--bg); }
.practice-block:nth-child(even) { background: var(--surface-1); }

.practice-bg-num {
  position: absolute;
  top: 2rem;
  right: 3rem;
  font-family: 'Fraunces', serif;
  font-size: 12rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(212,144,10,0.04);
  line-height: 1;
  user-select: none;
}

.practice-tag {
  display: inline-block;
  background: var(--amber-dim);
  color: var(--amber-light);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.practice-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  max-width: 22ch;
  position: relative;
  z-index: 1;
}

.practice-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 56ch;
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.practice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 52ch;
  position: relative;
  z-index: 1;
}

.practice-list li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding-left: 1.5rem;
  position: relative;
  line-height: 1.65;
}

.practice-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 14px;
  height: 1px;
  background: var(--amber);
  opacity: 0.6;
}

/* ====== SPEAKING CARDS ====== */
.talk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.talk-card {
  background: var(--surface-1);
  padding: 3rem;
  position: relative;
  overflow: hidden;
  transition: background 0.25s;
}

.talk-card:hover { background: var(--surface-2); }

.talk-conf {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 600;
  margin-bottom: 1rem;
}

.talk-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

.talk-desc {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* CONFERENCE HISTORY */
.conf-history {
  border: 1px solid var(--border);
}

.conf-history-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 3rem;
  padding: 1.4rem 2.5rem;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.conf-history-row:last-child { border-bottom: none; }
.conf-history-row:hover { background: var(--surface-1); }

.conf-history-name {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.01em;
}

.conf-history-loc {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.conf-history-tag {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  background: var(--amber-dim);
  padding: 0.25rem 0.65rem;
  border-radius: 2px;
}

/* TOPICS GRID */
.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.topic-chip {
  background: var(--surface-1);
  padding: 2rem 2.5rem;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-mid);
  transition: background 0.2s, color 0.2s;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.topic-chip:hover { background: var(--surface-2); color: var(--white); }

/* ====== COMMUNITY (AMBER HERO) ====== */
.community-hero {
  background: var(--amber);
  padding: 6rem 4rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.community-hero::before {
  content: 'TTC';
  position: absolute;
  bottom: -2rem;
  right: -1rem;
  font-family: 'Fraunces', serif;
  font-size: 16rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(6,13,24,0.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
}

.community-hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(6,13,24,0.5);
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
}

.community-hero-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 900;
  font-style: italic;
  color: #060d18;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.community-hero-sub {
  font-size: 1.1rem;
  color: rgba(6,13,24,0.65);
  line-height: 1.75;
  max-width: 52ch;
}

/* PODCAST SECTION */
.podcast-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 3.5rem;
  position: relative;
  overflow: hidden;
}

.podcast-title {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 900;
  font-style: italic;
  color: var(--amber-light);
  margin-bottom: 0.5rem;
  line-height: 1.1;
}

.podcast-sub {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.podcast-desc {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.8;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.podcast-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ====== ABOUT ====== */
.about-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 5rem;
  align-items: start;
}

.about-photo {
  background: var(--surface-1);
  border: 1px solid var(--border);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.about-photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(212,144,10,0.08) 0%, transparent 60%);
}

.about-photo-initials {
  font-family: 'Fraunces', serif;
  font-size: 8rem;
  font-weight: 900;
  font-style: italic;
  color: rgba(212,144,10,0.07);
  user-select: none;
  position: relative;
  z-index: 1;
}

.about-photo-hint {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  white-space: nowrap;
  border: 1px dashed var(--border-mid);
  padding: 0.35rem 0.75rem;
}

.about-bio {
  padding-top: 0.5rem;
}

.about-bio-lead {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
}

.about-bio-body {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.9;
}

.about-bio-body p { margin-bottom: 1.25rem; }
.about-bio-body p:last-child { margin-bottom: 0; }

.about-bio-body strong {
  color: var(--text);
  font-weight: 600;
}

/* MILESTONES */
.timeline {
  border: 1px solid var(--border);
}

.timeline-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.2s;
}

.timeline-row:last-child { border-bottom: none; }
.timeline-row:hover { background: var(--surface-2); }

.timeline-year {
  padding: 1.5rem 1.5rem;
  border-right: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  padding-top: 1.6rem;
}

.timeline-year span {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.05em;
}

.timeline-content {
  padding: 1.5rem 2rem;
}

.timeline-content strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.timeline-content p {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ====== CONTACT ====== */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.contact-card {
  background: var(--surface-1);
  padding: 3rem;
  transition: background 0.2s;
}

.contact-card:hover { background: var(--surface-2); }

.contact-card-num {
  font-family: 'Fraunces', serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--amber);
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  display: block;
}

.contact-card-title {
  font-family: 'Fraunces', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.contact-card-value {
  display: block;
  font-size: 0.9rem;
  color: var(--amber-light);
  text-decoration: none;
  margin-bottom: 0.75rem;
  transition: opacity 0.2s;
  word-break: break-word;
}

.contact-card-value:hover { opacity: 0.75; }

.contact-card-desc {
  font-size: 0.82rem;
  color: var(--text-mid);
  line-height: 1.65;
}

.contact-note {
  text-align: center;
  padding-top: 3rem;
  font-size: 0.82rem;
  color: var(--text-dim);
  letter-spacing: 0.04em;
}

/* ====== FOOTER ====== */
footer {
  background: var(--surface-1);
  border-top: 1px solid var(--border);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.footer-logo span {
  color: var(--amber-light);
  font-style: italic;
  font-weight: 400;
}

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-mid); }

.footer-email a {
  color: var(--amber-light);
  text-decoration: none;
  font-size: 0.83rem;
  transition: opacity 0.2s;
}

.footer-email a:hover { opacity: 0.7; }

.footer-copy {
  width: 100%;
  font-size: 0.68rem;
  color: var(--text-dim);
  letter-spacing: 0.05em;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ====== SCROLL ANIMATIONS ====== */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge    { animation: fadeUp 0.5s ease 0.1s both; }
.hero-headline { animation: fadeUp 0.5s ease 0.2s both; }
.hero-sub      { animation: fadeUp 0.5s ease 0.3s both; }
.hero-actions  { animation: fadeUp 0.5s ease 0.4s both; }
.hero-quote    { animation: fadeUp 0.5s ease 0.5s both; }

/* ====== UTILITIES ====== */
.text-amber { color: var(--amber-light); }
.text-dim   { color: var(--text-dim); }
.text-mid   { color: var(--text-mid); }

/* ====== RESPONSIVE ====== */

/* ─── 1024px ─── */
@media (max-width: 1024px) {
  nav { padding: 0 2rem; }

  .hero { grid-template-columns: 1fr 360px; }

  .section,
  .section-alt,
  .section-deep,
  .page-hero,
  .fw-section,
  .practice-block { padding: 5rem 2.5rem; }

  .engage-grid { grid-template-columns: 1fr 1fr; }
  .topics-grid { grid-template-columns: 1fr 1fr; }
  .fw-layout   { gap: 3rem; }

  .cta-band { padding: 4rem 2.5rem; }
  footer    { padding: 2rem 2.5rem; }
  .conf-strip .conf-label { padding: 1rem 1.25rem; }
  .conf-strip .conf-item  { padding: 1rem 1.25rem; }
}

/* ─── 768px ─── */
@media (max-width: 768px) {
  nav { padding: 0 1.25rem; gap: 1rem; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-right {
    display: none;
  }

  .hero-left {
    padding: 4rem 1.5rem 4rem;
  }

  .section,
  .section-alt,
  .section-deep,
  .page-hero,
  .fw-section,
  .practice-block { padding: 4rem 1.5rem; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 1rem; }

  .work-grid       { grid-template-columns: 1fr; }
  .fw-grid         { grid-template-columns: 1fr; }
  .testi-grid      { grid-template-columns: 1fr; }
  .writing-grid    { grid-template-columns: 1fr; }
  .engage-grid     { grid-template-columns: 1fr; }
  .talk-grid       { grid-template-columns: 1fr; }
  .topics-grid     { grid-template-columns: 1fr 1fr; }
  .contact-grid    { grid-template-columns: 1fr; }
  .community-block { grid-template-columns: 1fr; }
  .fw-layout       { grid-template-columns: 1fr; gap: 3rem; }
  .fw-pillars      { grid-template-columns: 1fr; }
  .about-layout    { grid-template-columns: 1fr; }
  .about-photo     { aspect-ratio: 4/3; max-width: 320px; }

  .cta-band { flex-direction: column; align-items: flex-start; padding: 3rem 1.5rem; }

  .conf-history-row { grid-template-columns: 1fr auto; gap: 1rem; }
  .conf-history-loc { display: none; }

  .writing-row { grid-template-columns: 1fr auto; gap: 1rem; }
  .writing-row-source { display: none; }
  .writing-row-tag    { display: none; }

  footer { flex-direction: column; align-items: flex-start; padding: 2rem 1.5rem; }

  .community-amber,
  .community-dark { padding: 3rem 1.5rem; }

  .community-hero { padding: 4rem 1.5rem; }

  .podcast-card { padding: 2.5rem 1.5rem; }

  .conf-strip { flex-wrap: nowrap; overflow-x: auto; }
  .conf-items { flex-wrap: nowrap; }
}

@media (max-width: 480px) {
  .topics-grid { grid-template-columns: 1fr; }
  .fw-pillars  { grid-template-columns: 1fr; }
  .hero-headline { font-size: 2.5rem; }
  .cta-actions { flex-direction: column; align-items: flex-start; }
}
