/* ─── DESIGN TOKENS ─── */
:root {
  --bg-base:       #07111e;
  --bg-surface:    #0d1a2b;
  --bg-raised:     #112236;

  --text-primary:  #f0f4f8;
  --text-secondary:#c5d4e0;
  --text-muted:    #8ba5bc;

  --accent:        #5bafd6;
  --accent-dim:    #2e5f7a;

  --border:        #1e3548;
  --border-light:  #2a4a62;

  --font-display:  'Syncopate', sans-serif;
  --font-serif:    'Cormorant Garamond', serif;
  --font-body:     'DM Sans', sans-serif;

  --max-w-narrow:  720px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

/* ─── SKIP LINK ─── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--accent);
  color: var(--bg-base);
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 0 0 4px 4px;
  z-index: 9999;
  text-decoration: none;
}
.skip-link:focus { top: 0; }

/* ─── NAV ─── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 3rem;
  background: rgba(7, 17, 30, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

.nav-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}
.nav-brand .brand-fluxe {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--text-primary);
}
.nav-brand .brand-by {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 0.15rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.25s, border-color 0.25s;
}
.nav-links a:hover,
.nav-links a:focus,
.nav-links a.active {
  color: var(--text-primary);
  border-bottom-color: var(--accent);
  outline: none;
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 300;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-secondary);
  transition: all 0.3s ease;
}
.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); }

.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(7,17,30,0.98);
  z-index: 250;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.nav-drawer a:hover { color: var(--accent); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2rem;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  transition: all 0.25s ease;
  white-space: nowrap;
  background: none;
  cursor: pointer;
}
.btn:hover, .btn:focus {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--text-primary);
  outline: none;
}
.btn--accent {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-base);
}
.btn--accent:hover, .btn--accent:focus {
  background: #72c0e3;
  border-color: #72c0e3;
  color: var(--bg-base);
}
.btn--ghost {
  background: none;
  border-color: var(--border-light);
  color: var(--text-secondary);
}
.btn--ghost:hover, .btn--ghost:focus {
  border-color: var(--accent);
  color: var(--text-primary);
  background: var(--accent-dim);
}
.btn--large {
  font-size: 1rem;
  padding: 1rem 2.5rem;
  letter-spacing: 0.15em;
}

/* ─── SECTION SHELL ─── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 3rem;
}
.section--full {
  max-width: 100%;
  padding: 6rem 3rem;
}
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 2rem;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--text-secondary);
}
hr.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 3rem;
}

/* ─── PAGE HEADER (about, works, contact) ─── */
.page-header {
  padding: 9rem 3rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}
.page-eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.page-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-title--serif {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
}
.page-intro {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 640px;
}
.page-foreword {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 680px;
  margin-bottom: 1.5rem;
}
.page-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
}
.page-opener {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.85;
  max-width: 480px;
  margin: 0 auto 2.5rem;
}

/* ─── HERO (home) ─── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      rgba(7,17,30,0.5) 0%,
      rgba(7,17,30,0.15) 45%,
      rgba(7,17,30,0.75) 80%,
      var(--bg-base) 100%
    ),
    url('/images/home/twips.jpg') center / cover no-repeat;
  filter: saturate(0.5) brightness(0.7);
  animation: slowZoom 20s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 35, 65, 0.4);
}
@keyframes slowZoom {
  from { transform: scale(1.03); }
  to   { transform: scale(1.0);  }
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 1.5rem;
  animation: fadeUp 1.2s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.3s ease both;
}
.hero-name {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-primary);
  line-height: 1;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s ease both;
}
.hero-by {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--text-secondary);
  margin-top: 0.6rem;
  letter-spacing: 0.05em;
  opacity: 0;
  animation: fadeUp 0.9s 0.7s ease both;
}
.hero-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  opacity: 0;
  animation: fadeUp 0.9s 0.95s ease both;
}
.hero-tag {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 1px solid var(--border-light);
  padding: 0.35rem 0.85rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  animation: fadeUp 0.9s 1.3s ease both;
}
.hero-scroll span {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-bar {
  width: 1px;
  height: 36px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 1;   }
}

/* ─── STORY STRIP (home) ─── */
.story-bg { background: var(--bg-surface); }

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 5rem;
  align-items: start;
}
.story-right p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}
.story-right p.lead {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.75;
}
.story-right p strong {
  color: var(--text-primary);
  font-weight: 500;
}

/* Tensegrity explainer box */
.tensegrity-box {
  margin-top: 2.5rem;
  border-left: 3px solid var(--accent-dim);
  padding: 1.5rem 1.75rem;
  background: var(--bg-raised);
}
.tensegrity-box h3 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.tensegrity-box p {
  font-size: 0.95rem !important;
  line-height: 1.8 !important;
  color: var(--text-secondary) !important;
  margin-bottom: 0.75rem !important;
}
.tensegrity-box p:last-child { margin-bottom: 0 !important; }

.btn-inline { margin-top: 1.5rem; }

/* ─── EVENTS (home) ─── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 2.5rem;
}
.event-card {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  padding: 2rem 1.75rem;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.event-card:hover, .event-card:focus {
  border-color: var(--accent);
  background: var(--bg-raised);
  outline: none;
}
.event-card:hover .event-arrow,
.event-card:focus .event-arrow {
  opacity: 1;
  transform: translate(0, 0);
}
.event-num {
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  display: block;
}
.event-name {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.event-detail {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}
.event-detail .highlight {
  color: var(--accent);
  font-weight: 500;
}
.event-badge {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  border: 1px solid var(--accent-dim);
  padding: 0.3rem 0.7rem;
}
.event-arrow {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1rem;
  color: var(--accent);
  opacity: 0;
  transform: translate(-4px, 4px);
  transition: all 0.25s ease;
}

/* ─── HOME WORKS SHOWCASE (3-col) ─── */
.works-bg { background: var(--bg-surface); }

.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.home-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.home-works-grid .work-card {
  background: var(--bg-raised);
  border: 1px solid var(--border);
}
.home-works-grid .work-thumb {
  aspect-ratio: 4/3;
}
.works-cta-wrap {
  text-align: center;
  margin-top: 3rem;
}

/* ─── WORKS CATALOG (works.html, 4-col with thin borders) ─── */
.filter-bar {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 3rem 3rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.filter-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.45rem 1.1rem;
  border: 1px solid var(--border-light);
  background: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn:focus {
  border-color: var(--accent);
  color: var(--text-secondary);
  outline: none;
}
.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-base);
}
.works-grid {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 3rem 8rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
}
.works-grid .work-card {
  background: var(--bg-base);
}
.works-grid .work-thumb {
  aspect-ratio: 1/1;
}

/* ─── WORK CARD (shared) ─── */
.work-card {
  text-decoration: none;
  display: block;
  position: relative;
  overflow: hidden;
  transition: border-color 0.25s, background 0.25s;
}
.work-card:hover, .work-card:focus {
  border-color: var(--accent);
  background: var(--bg-surface);
  outline: none;
}
.work-thumb {
  background: var(--bg-base);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.work-card:hover .work-thumb img { transform: scale(1.04); }
.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
}
.thumb-placeholder svg {
  opacity: 0.15;
  width: 48px;
  height: 48px;
  transition: opacity 0.3s;
}
.work-card:hover .thumb-placeholder svg { opacity: 0.25; }
.card-arrow {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(91,175,214,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 0.8rem;
  opacity: 0;
  transform: translate(4px,-4px);
  transition: all 0.25s ease;
  background: rgba(7,17,30,0.6);
}
.work-card:hover .card-arrow,
.work-card:focus .card-arrow {
  opacity: 1;
  transform: translate(0,0);
}
.work-info {
  padding: 1.25rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border);
}
.work-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}
.work-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.5rem;
  font-style: italic;
}
.work-year {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.work-link-hint {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: all 0.25s ease;
}
.work-card:hover .work-link-hint,
.work-card:focus .work-link-hint {
  opacity: 1;
  transform: translateX(0);
}

/* ─── WORKS BOTTOM CTA ─── */
.works-cta {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 6rem 3rem;
}
.works-cta-inner {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.cta-sub, .cta-lab-text {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 1.75rem;
}
.works-cta-right {
  border-left: 1px solid var(--border);
  padding-left: 4rem;
}

/* ─── ABOUT PAGE ─── */
.opening-photo {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem 5rem;
}
.photo-slot {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.photo-slot--hero    { aspect-ratio: 16/7; }
.photo-slot--mid     { aspect-ratio: 3/2;  }
.photo-slot--portrait{ aspect-ratio: 4/5;  }
.photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--text-muted);
  padding: 2rem;
  text-align: center;
}
.photo-placeholder svg {
  opacity: 0.25;
  width: 42px;
  height: 42px;
}
.photo-placeholder p {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.45;
}
.photo-caption {
  padding: 0.6rem 1rem;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
}

.narrative {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 3rem 8rem;
}
.chapter {
  display: grid;
  grid-template-columns: var(--max-w-narrow) 1fr;
  gap: 0;
  margin-bottom: 5rem;
}
.chapter:last-child { margin-bottom: 0; }
.chapter-text { padding-right: 4rem; }
.chapter-text h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.3;
}
.chapter-text p {
  font-size: 1.05rem;
  line-height: 1.95;
  color: var(--text-secondary);
  margin-bottom: 1.4rem;
}
.chapter-text p:last-child { margin-bottom: 0; }
.chapter-text p strong { color: var(--text-primary); font-weight: 500; }
.chapter-text em { font-style: italic; }
.chapter-photo { padding-top: 0.25rem; }
.chapter-photo .photo-slot {
  position: sticky;
  top: 6rem;
}
.photo-break {
  max-width: var(--max-w-narrow);
  margin: 0 0 5rem 0;
}
.pull-quote {
  margin: 2.25rem 0;
  padding: 1.75rem 1.75rem 1.75rem 2rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-raised);
}
.pull-quote p {
  font-family: var(--font-serif);
  font-size: 1.35rem !important;
  font-style: italic;
  color: var(--text-primary) !important;
  line-height: 1.6 !important;
  margin-bottom: 0 !important;
}

.closing-cta {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 5rem 3rem;
}
.closing-cta-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}
.closing-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  margin-bottom: 0.85rem;
}
.closing-cta h2 em { font-style: italic; font-weight: 400; color: var(--text-secondary); }
.closing-cta p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  max-width: 520px;
}
.closing-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}
.cta-socials { display: flex; gap: 0.75rem; }
.cta-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.cta-social:hover, .cta-social:focus {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}
.cta-social svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── CONTACT PAGE ─── */
.cta-hero {
  padding: 10rem 3rem 7rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}
.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1.1rem 2.75rem;
  background: var(--accent);
  border: 1px solid var(--accent);
  color: var(--bg-base);
  transition: all 0.25s ease;
}
.btn-cta:hover, .btn-cta:focus { background: #72c0e3; border-color: #72c0e3; outline: none; }
.icon-mail {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  flex-shrink: 0;
}
.cta-email-address {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 1.75rem;
  transition: color 0.25s;
  letter-spacing: 0.02em;
}
.cta-email-address:hover, .cta-email-address:focus { color: var(--accent); outline: none; }
.cta-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}
.cta-hint {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  opacity: 0.7;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 540px;
  margin: 2.5rem auto 0;
  text-align: left;
}
.form-row { display: flex; flex-direction: column; gap: 0.5rem; }
.form-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.form-input {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-primary);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  padding: 0.85rem 1rem;
  width: 100%;
  transition: border-color 0.2s;
}
.form-input:focus { outline: none; border-color: var(--accent); }
.form-textarea { resize: vertical; min-height: 8rem; line-height: 1.6; }
.contact-form .btn-cta {
  align-self: center;
  margin-top: 0.5rem;
  cursor: pointer;
  font-family: var(--font-body);
}
.conversations {
  max-width: 800px;
  margin: 0 auto;
  padding: 6rem 3rem;
}
.conversations-intro {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}
.conversation-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}
.conversation-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.conversation-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.6rem;
}
.conversation-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
  letter-spacing: 0.02em;
}
.conversation-desc {
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.contact-strip {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: 4rem 3rem;
}
.contact-strip-inner {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.contact-channel {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.channel-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}
.channel-link {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.25s;
  line-height: 1.3;
}
.channel-link:hover, .channel-link:focus { color: var(--accent); outline: none; }
.channel-handle {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.1rem;
}

/* ─── WORK / POST DETAIL PAGE ─── */
.work-article {
  max-width: 820px;
  margin: 0 auto;
  padding: 9rem 3rem 5rem;
}
.work-article header { margin-bottom: 3rem; }
.work-article h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.work-article .work-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.work-article .work-description {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 1rem;
}
.work-body {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
}
.work-body h1, .work-body h2, .work-body h3, .work-body h4 {
  font-family: var(--font-serif);
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.work-body h2 { font-size: 1.65rem; }
.work-body h3 { font-size: 1.3rem; }
.work-body p { margin-bottom: 1.4rem; }
.work-body p strong { color: var(--text-primary); font-weight: 500; }
.work-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.work-body a:hover { color: #72c0e3; }
.work-body img {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  margin: 2rem 0;
}
.work-body iframe,
.work-body video {
  width: 100%;
  aspect-ratio: 16/9;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  margin: 2rem 0;
}
.work-body blockquote {
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: var(--bg-raised);
  font-style: italic;
  color: var(--text-primary);
}
.work-body code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.92em;
  background: var(--bg-raised);
  padding: 0.1em 0.4em;
  border-radius: 3px;
  color: var(--text-primary);
}
.work-body pre {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  padding: 1rem 1.25rem;
  overflow-x: auto;
  margin: 2rem 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.work-body pre code { background: none; padding: 0; }
.work-body ul, .work-body ol {
  margin: 1rem 0 1.4rem 1.5rem;
}
.work-body li { margin-bottom: 0.5rem; }
.work-article footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.work-nav-link {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s;
}
.work-nav-link:hover { color: var(--accent); }

/* ─── FOOTER ─── */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-base);
  padding: 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 1.25rem 2rem;
}
.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  grid-column: 1;
  grid-row: 1;
}
.footer-nav {
  list-style: none;
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  grid-column: 2;
  grid-row: 1;
}
.footer-nav a {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover, .footer-nav a:focus { color: var(--text-secondary); outline: none; }
.footer-socials {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  grid-column: 3;
  grid-row: 1;
}
.footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  color: var(--text-muted);
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.footer-social-link:hover, .footer-social-link:focus {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(91,175,214,0.08);
  outline: none;
}
.footer-social-link svg { width: 20px; height: 20px; fill: currentColor; }
.footer-copy {
  font-size: 0.75rem;
  color: var(--text-muted);
  opacity: 0.6;
  grid-column: 1 / -1;
  grid-row: 2;
}

/* ─── SCROLL REVEAL ─── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 1100px) {
  .works-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1000px) {
  .chapter { grid-template-columns: 1fr; gap: 2.5rem; }
  .chapter-text { padding-right: 0; }
  .chapter-photo .photo-slot { position: static; }
  .photo-break { max-width: 100%; }
}
@media (max-width: 960px) {
  .site-nav { padding: 1rem 1.5rem; }
  .story-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .home-works-grid { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 4rem 1.5rem; }
  .section--full { padding: 4rem 1.5rem; }
  hr.divider { margin: 0 1.5rem; }
  .works-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 768px) {
  .page-header { padding: 8rem 1.5rem 3rem; }
  .opening-photo { padding: 0 1.5rem 3.5rem; }
  .narrative { padding: 0 1.5rem 5rem; }
  .closing-cta { padding: 4rem 1.5rem; }
  .closing-cta-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .closing-right { align-items: flex-start; }
  .filter-bar { padding: 0 1.5rem 2.5rem; }
  .works-grid { grid-template-columns: repeat(2, 1fr); padding: 0 1.5rem 5rem; }
  .works-cta { padding: 4rem 1.5rem; }
  .works-cta-inner { grid-template-columns: 1fr; gap: 3rem; }
  .works-cta-right { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 3rem; }
  .cta-hero { padding: 8rem 1.5rem 5rem; }
  .conversations { padding: 4rem 1.5rem; }
  .contact-strip { padding: 3rem 1.5rem; }
  .contact-strip-inner { grid-template-columns: 1fr; gap: 2rem; }
  .work-article { padding: 7rem 1.5rem 4rem; }
  .site-footer { grid-template-columns: 1fr; grid-template-rows: auto; padding: 2rem 1.5rem; }
  .footer-brand, .footer-nav, .footer-socials, .footer-copy { grid-column: 1; grid-row: auto; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .hero-name { font-size: clamp(3.2rem, 18vw, 5rem); }
  .hero-tags { gap: 0.35rem; }
  .hero-tag { font-size: 0.65rem; padding: 0.3rem 0.65rem; }
  .section { padding: 3rem 1.25rem; }
  .section--full { padding: 3rem 1.25rem; }
  hr.divider { margin: 0 1.25rem; }
  .story-grid { gap: 2rem; }
  .tensegrity-box { padding: 1.25rem; }
  .events-grid { grid-template-columns: 1fr; gap: 1rem; }
  .event-card { padding: 1.5rem 1.25rem; }
  .home-works-grid { grid-template-columns: 1fr; gap: 1rem; }
  .page-header { padding: 7rem 1.25rem 2.5rem; }
  .opening-photo { padding: 0 1.25rem 3rem; }
  .narrative { padding: 0 1.25rem 4rem; }
  .closing-cta { padding: 3rem 1.25rem; }
  .filter-bar { padding: 0 1.25rem 2rem; }
  .works-grid { grid-template-columns: repeat(2, 1fr); padding: 0 1.25rem 4rem; gap: 1px; }
  .work-info { padding: 1rem 1rem 1.25rem; }
  .work-title { font-size: 1rem; }
  .cta-hero { padding: 7rem 1.25rem 4rem; }
  .conversations { padding: 3.5rem 1.25rem; }
  .contact-strip { padding: 2.5rem 1.25rem; }
  .work-article { padding: 6rem 1.25rem 3rem; }
  .site-footer { padding: 2rem 1.25rem; }
  .footer-nav { gap: 1rem; }
}
@media (max-width: 400px) {
  .works-grid { grid-template-columns: 1fr; }
}
@media (hover: none) {
  .work-link-hint { opacity: 1; transform: translateX(0); }
  .event-arrow { opacity: 1; transform: translate(0,0); }
  .card-arrow { opacity: 1; transform: translate(0,0); }
}
