/* =========================================================
   Fox Art Space, Design System
   Cinematic dark, single-family typography, committed crimson.
   No glass except where it earns it. No editorial-magazine reflex.
   ========================================================= */

:root {
  /* Canvas, tinted toward brand red */
  --bg:           #100A0C;
  --bg-elev:     #15101296;
  --surface:     #1A1216;
  --surface-2:   #221619;

  /* Brand crimson */
  --primary:      #D93644;
  --primary-soft: #E85A6B;
  --primary-deep: #8E1F30;

  /* Continuity neutral */
  --ink:          #292B3A;

  /* Text */
  --text:        #F2EAE3;
  --text-mute:   #A89C95;
  --text-dim:    #6E625E;

  /* Lines */
  --border:        rgba(242,234,227,0.07);
  --border-strong: rgba(242,234,227,0.14);
  --border-accent: rgba(217,54,68,0.32);

  /* Glass, used only on .nav and .founder__inner */
  --glass-bg:    rgba(26,18,22,0.55);
  --glass-blur:  saturate(140%) blur(18px);

  /* Type, single family */
  --font:        'Bricolage Grotesque', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Sizes (fluid) */
  --fs-xs:   .8125rem;
  --fs-sm:   .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg:   clamp(1.125rem, 1.05rem + .35vw, 1.375rem);
  --fs-xl:   clamp(1.5rem, 1.25rem + .9vw, 2.125rem);
  --fs-2xl:  clamp(2.125rem, 1.7rem + 1.7vw, 3.25rem);
  --fs-3xl:  clamp(2.875rem, 2.1rem + 3.1vw, 4.75rem);
  --fs-hero: clamp(3.25rem, 2.1rem + 5vw, 7rem);

  /* Spacing */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 6rem;
  --sp-10: 9rem;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --radius-sm: 6px;
  --radius:    14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --d-fast: 180ms;
  --d-mid:  320ms;
  --d-slow: 600ms;

  /* Z */
  --z-nav: 50;
  --z-modal: 80;
  --z-toast: 90;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  font-feature-settings: "ss02", "cv02", "cv11";
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1100px 600px at 80% -10%, rgba(217,54,68,.12), transparent 60%),
    radial-gradient(900px 700px at -10% 30%, rgba(217,54,68,.05), transparent 70%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-weight: 400;
}
img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; }
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}
::selection { background: var(--primary); color: var(--text); }

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 var(--sp-4);
}
h1 { font-size: var(--fs-hero); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: var(--fs-3xl); letter-spacing: -0.028em; }
h3 { font-size: var(--fs-2xl); }
h4 { font-size: var(--fs-xl); }
p  { margin: 0 0 var(--sp-4); color: var(--text); }
.lead { font-size: var(--fs-lg); color: var(--text); line-height: 1.55; max-width: 60ch; font-weight: 400; }
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-4);
}
.muted { color: var(--text-mute); }
em { color: var(--primary); font-style: italic; font-weight: 500; }
strong { font-weight: 700; color: var(--text); }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 var(--sp-5);
}
section { padding: var(--sp-9) 0; position: relative; }
@media (min-width: 768px) { section { padding: var(--sp-10) 0; } }

.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-strong), transparent);
  margin: 0;
  border: 0;
}

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  top: var(--sp-4);
  left: var(--sp-4);
  right: var(--sp-4);
  z-index: var(--z-nav);
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 40px -16px rgba(0,0,0,.5);
  transition: background var(--d-mid) var(--ease), border-color var(--d-mid) var(--ease);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-3) var(--sp-5);
  max-width: var(--container);
  margin: 0 auto;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
}
.nav__logo img { width: 32px; height: auto; }
.nav__logo span { line-height: 1; }
.nav__links {
  display: none;
  align-items: center;
  gap: var(--sp-6);
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__link {
  position: relative;
  font-size: var(--fs-sm);
  color: var(--text-mute);
  font-weight: 500;
  padding: var(--sp-2) 0;
  transition: color var(--d-fast) var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link.is-active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1.5px; background: var(--primary); border-radius: 2px;
}
.nav__cta { display: none; }
@media (min-width: 980px) {
  .nav__links, .nav__cta { display: flex; }
}
.nav__toggle {
  display: flex; flex-direction: column; gap: 5px;
  width: 38px; height: 38px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
}
.nav__toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--text); border-radius: 2px;
  transition: transform var(--d-fast) var(--ease), opacity var(--d-fast);
}
@media (min-width: 980px) { .nav__toggle { display: none; } }
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.nav__mobile {
  display: none;
  flex-direction: column;
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  border-top: 1px solid var(--border);
  gap: var(--sp-4);
}
.nav.is-open .nav__mobile { display: flex; }
.nav__mobile a {
  font-size: var(--fs-lg);
  font-weight: 600;
  color: var(--text);
  padding: var(--sp-2) 0;
}
@media (min-width: 980px) { .nav__mobile { display: none !important; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  font-family: var(--font);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: -0.005em;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: background var(--d-fast) var(--ease), color var(--d-fast) var(--ease),
              border-color var(--d-fast) var(--ease), box-shadow var(--d-fast) var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn--primary {
  background: var(--primary);
  color: var(--text);
}
.btn--primary:hover {
  background: var(--primary-soft);
  box-shadow: 0 8px 28px -10px rgba(217,54,68,.6);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn--ghost:hover { background: rgba(242,234,227,.06); border-color: var(--primary); }

/* WhatsApp button: green is the channel signifier, used here only.
   Sole green on the site, by design. */
.btn--whatsapp {
  background: #25D366;
  color: #0A1F12;
  font-weight: 700;
}
.btn--whatsapp:hover {
  background: #2EE070;
  box-shadow: 0 8px 28px -10px rgba(37,211,102,.5);
}
.btn--whatsapp svg { flex-shrink: 0; }
.btn--lg { padding: var(--sp-4) var(--sp-6); font-size: var(--fs-base); }
.btn .arrow {
  display: inline-block;
  transition: transform var(--d-fast) var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Hero ---------- */
.page-hero {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding-top: 140px;
  padding-bottom: var(--sp-9);
  overflow: hidden;
}
.page-hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.page-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .35;
  filter: contrast(1.05) saturate(.85);
}
.page-hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,10,12,.55), rgba(16,10,12,.92) 70%, var(--bg)),
    radial-gradient(800px 400px at 50% 0%, rgba(217,54,68,.18), transparent 60%);
}
.page-hero__inner { position: relative; }

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 120px;
  padding-bottom: var(--sp-8);
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  z-index: -1;
}
.hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: .42;
  transform: scale(1.04);
  animation: heroDrift 20s ease-in-out infinite alternate;
}
.hero__bg::after {
  content: '';
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(16,10,12,.4) 0%, rgba(16,10,12,.78) 60%, var(--bg) 100%),
    radial-gradient(900px 500px at 80% 30%, rgba(217,54,68,.18), transparent 70%);
}
@keyframes heroDrift {
  from { transform: scale(1.04) translate(0,0); }
  to   { transform: scale(1.08) translate(-1.5%, -1%); }
}
.hero__content { max-width: 880px; position: relative; }
.hero__title {
  font-size: var(--fs-hero);
  line-height: 1;
  margin-bottom: var(--sp-5);
  font-weight: 700;
  letter-spacing: -0.04em;
}
.hero__title em {
  color: var(--primary);
  font-style: italic;
  font-weight: 600;
}
.hero__sub {
  font-size: var(--fs-lg);
  color: var(--text-mute);
  max-width: 56ch;
  margin-bottom: var(--sp-7);
  line-height: 1.55;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

/* Scroll indicator */
.scroll-hint {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  font-size: .7rem;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}
.scroll-hint::after {
  content: '';
  width: 1px; height: 36px;
  background: linear-gradient(180deg, var(--primary), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: .3; transform: scaleY(.6); }
  50%     { opacity: 1;  transform: scaleY(1); }
}

/* ---------- Section header ---------- */
.section-head {
  max-width: 720px;
  margin: 0 auto var(--sp-8);
  text-align: center;
}
.section-head--left { text-align: left; margin: 0 0 var(--sp-7); }
.section-head h2 { margin-bottom: var(--sp-4); }
.section-head p { color: var(--text-mute); font-size: var(--fs-lg); }

/* ---------- Cards (flat by default; glass reserved for nav + founder) ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--d-mid) var(--ease), border-color var(--d-mid) var(--ease),
              box-shadow var(--d-mid) var(--ease);
  position: relative;
  display: flex; flex-direction: column;
}
.card:hover {
  border-color: var(--border-accent);
  box-shadow: 0 24px 60px -30px rgba(0,0,0,.6);
}
.card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
}
.card__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--d-slow) var(--ease);
}
.card:hover .card__media img { transform: scale(1.06); }
.card__body { padding: var(--sp-5) var(--sp-5) var(--sp-6); }
.card__title {
  font-size: var(--fs-xl);
  margin: 0 0 var(--sp-2);
  color: var(--text);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.card__desc { color: var(--text-mute); margin: 0; font-size: var(--fs-sm); line-height: 1.65; }
.card__link {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  margin-top: var(--sp-4);
  font-size: var(--fs-sm); color: var(--primary); font-weight: 600;
}
.card:hover .card__link .arrow { transform: translateX(4px); }

/* ---------- Grids ---------- */
.grid { display: grid; gap: var(--sp-5); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 980px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Asymmetric "mosaic" grid for subject cards (replaces uniform 6-up) */
.mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-4);
}
@media (min-width: 700px) {
  .mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-flow: dense;
  }
  .mosaic > :nth-child(6n+1) { grid-column: span 4; aspect-ratio: 16/10; }
  .mosaic > :nth-child(6n+2) { grid-column: span 2; aspect-ratio: 4/5; }
  .mosaic > :nth-child(6n+3) { grid-column: span 2; aspect-ratio: 4/5; }
  .mosaic > :nth-child(6n+4) { grid-column: span 2; aspect-ratio: 1/1; }
  .mosaic > :nth-child(6n+5) { grid-column: span 2; aspect-ratio: 1/1; }
  .mosaic > :nth-child(6n+0) { grid-column: span 2; aspect-ratio: 1/1; }
}

/* ---------- Two-col split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-7);
  align-items: center;
}
@media (min-width: 880px) {
  .split { grid-template-columns: 1.1fr 1fr; gap: var(--sp-9); }
  .split--reverse > :first-child { order: 2; }
}
.split__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background: var(--surface);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Tags ---------- */
.tag-cloud { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-3); }
.tag {
  display: inline-flex; align-items: center;
  padding: var(--sp-2) var(--sp-4);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  background: rgba(242,234,227,.03);
  transition: all var(--d-fast) var(--ease);
}
.tag:hover { background: var(--primary); color: var(--text); border-color: var(--primary); }

/* ---------- Team card ---------- */
.team-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--d-mid) var(--ease), border-color var(--d-mid) var(--ease);
}
.team-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.team-card__media {
  aspect-ratio: 1/1;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 30%, rgba(217,54,68,.18), transparent 65%),
    var(--surface-2);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.team-card__media img { width: 100%; height: 100%; object-fit: cover; }
.team-card__placeholder {
  font-family: var(--font);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--primary-soft);
  opacity: .8;
  letter-spacing: -0.04em;
}
.team-card__body { padding: var(--sp-5); }
.team-card__name {
  font-size: 1.5rem;
  margin: 0 0 var(--sp-1);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.team-card__role {
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  margin: 0 0 var(--sp-3);
  font-weight: 600;
}
.team-card__bio { color: var(--text-mute); font-size: var(--fs-sm); margin: 0; line-height: 1.65; }
.team-card__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: var(--sp-4); }
.team-card__tags span {
  font-size: .7rem; letter-spacing: .04em; font-weight: 500;
  padding: 4px 10px; border-radius: var(--radius-pill);
  background: rgba(217,54,68,.1); color: var(--primary-soft);
  border: 1px solid rgba(217,54,68,.22);
}

/* ---------- Founder feature (one of two earned glass surfaces) ---------- */
.founder { position: relative; padding: var(--sp-9) 0; }
.founder__inner {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 880px) {
  .founder__inner { grid-template-columns: 1fr 1.2fr; }
}
.founder__media {
  aspect-ratio: 4/5;
  background: var(--surface);
}
.founder__media img { width: 100%; height: 100%; object-fit: cover; }
.founder__body {
  padding: var(--sp-5);
  display: flex; flex-direction: column; justify-content: center;
}
@media (min-width: 600px) {
  .founder__body { padding: var(--sp-7); }
}
.founder__credits { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.founder__credit {
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-4);
  font-size: var(--fs-sm);
}
.founder__credit strong {
  display: block;
  font-size: 1.05rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.015em;
}
.founder__credit span { color: var(--text-mute); font-size: .8rem; font-weight: 500; }

/* ---------- Quote ---------- */
.quote {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: var(--fs-2xl);
  line-height: 1.3;
  color: var(--text);
  font-style: italic;
  font-weight: 500;
  letter-spacing: -0.018em;
}
.quote::before {
  content: '"';
  color: var(--primary);
  font-size: 4rem;
  display: block;
  line-height: .3;
  margin-bottom: var(--sp-4);
  font-weight: 700;
  font-style: normal;
}
.quote__cite {
  display: block;
  margin-top: var(--sp-5);
  font-style: normal;
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 600;
}

/* ---------- WhatsApp panel ---------- */
.wa-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: var(--sp-5);
  overflow: hidden;
  isolation: isolate;
}
.wa-panel__glow {
  position: absolute;
  inset: -40% -10% auto auto;
  width: 70%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(217,54,68,.32), transparent 70%);
  filter: blur(40px);
  z-index: -1;
  pointer-events: none;
}
.wa-panel__glow::after {
  content: "";
  position: absolute;
  inset: 30% auto auto -20%;
  width: 50%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(37,211,102,.18), transparent 70%);
  filter: blur(34px);
  border-radius: 50%;
}
.wa-panel h2 { margin-bottom: var(--sp-4); }
.wa-panel__chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.wa-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: var(--sp-2) var(--sp-4);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text);
  background: rgba(242,234,227,.04);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  transition: all var(--d-fast) var(--ease);
}
.wa-chip span {
  color: var(--text-mute);
  transition: transform var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.wa-chip:hover {
  background: rgba(217,54,68,.08);
  border-color: var(--border-accent);
  color: var(--text);
}
.wa-chip:hover span { transform: translateX(2px); color: var(--primary); }

@media (min-width: 600px) {
  .wa-panel { padding: var(--sp-7); }
}
.wa-panel__cta { margin-top: var(--sp-2); }
.wa-panel__meta {
  margin: var(--sp-5) 0 0;
  font-size: var(--fs-sm);
  color: var(--text-mute);
}
.wa-panel__meta a {
  color: var(--text);
  border-bottom: 1px solid var(--border-strong);
  transition: border-color var(--d-fast) var(--ease), color var(--d-fast) var(--ease);
}
.wa-panel__meta a:hover { color: var(--primary); border-color: var(--primary); }

/* ---------- Inline follow link (Instagram) ---------- */
.follow-link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--text-mute);
  padding: var(--sp-2) 0;
  transition: color var(--d-fast) var(--ease);
}
.follow-link:hover { color: var(--primary); }
.follow-link svg { opacity: .8; }

/* ---------- Contact tiles ----------
   Stacked anatomy: icon → label → value → hint (pinned to bottom).
   Tiles are flex-column blocks inside a CSS grid; grid stretches all
   tiles to equal heights automatically. No nested anchors allowed. */
.contact-tile {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding: var(--sp-5);
  height: 100%;
  min-width: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color var(--d-fast) var(--ease), transform var(--d-fast) var(--ease),
              box-shadow var(--d-fast) var(--ease);
}
.contact-tile:hover { border-color: var(--primary); transform: translateY(-2px); }

.contact-tile__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  background: rgba(217,54,68,.12);
  color: var(--primary);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
}
.contact-tile__icon svg { width: 20px; height: 20px; }

.contact-tile__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
  flex: 1;
}
.contact-tile h3 {
  font-size: var(--fs-xs);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin: 0;
  font-weight: 600;
  line-height: 1.3;
}
.contact-tile p {
  margin: 0;
  color: var(--text);
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: anywhere;
  min-width: 0;
}
.contact-tile__value {
  font-size: 1.0625rem !important;
  font-weight: 600 !important;
  letter-spacing: -0.005em;
}
.contact-tile__hint {
  margin-top: auto !important;
  padding-top: var(--sp-3);
  color: var(--text-dim) !important;
  font-size: var(--fs-xs) !important;
  font-weight: 400 !important;
  letter-spacing: .02em;
  line-height: 1.4 !important;
}

/* Accent variant: the WhatsApp tile */
.contact-tile--accent {
  background:
    radial-gradient(160% 100% at 0% 0%, rgba(37,211,102,.10), transparent 55%),
    var(--surface-2);
  border-color: var(--border-strong);
}
.contact-tile--accent:hover {
  border-color: #25D366;
  box-shadow: 0 16px 48px -24px rgba(37,211,102,.45);
}
.contact-tile__icon--accent {
  background: rgba(37,211,102,.14) !important;
  color: #25D366 !important;
}

/* ---------- Map ---------- */
.map-frame {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 16/10;
}
.map-frame iframe { width: 100%; height: 100%; border: 0; filter: invert(.92) hue-rotate(180deg) saturate(.5) contrast(1.1); }

/* ---------- Subject cards (full-bleed photo, gradient overlay) ---------- */
.subject-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  cursor: pointer;
  transition: transform var(--d-mid) var(--ease), border-color var(--d-mid) var(--ease);
  display: block;
  height: 100%;
  width: 100%;
}
.subject-card:hover { border-color: var(--primary); transform: translateY(-4px); }
.subject-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--d-slow) var(--ease);
}
.subject-card:hover img { transform: scale(1.06); }
.subject-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(16,10,12,.94) 100%);
  display: flex; align-items: flex-end;
  padding: var(--sp-5);
}
.subject-card__title {
  font-size: var(--fs-2xl);
  color: var(--text);
  margin: 0;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.subject-card__sub {
  font-size: var(--fs-xs);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: var(--sp-2);
  display: block;
  font-weight: 600;
}

/* ---------- Numbered principle (asymmetric, replaces identical 4-card grid) ---------- */
.principle-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}
/* Mobile-first: single column, number sits inline above the heading. */
.principle-list > li {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-2);
  padding: var(--sp-6) 0;
  border-top: 1px solid var(--border);
}
.principle-list > li:last-child { border-bottom: 1px solid var(--border); }
.principle-list .num {
  font-size: clamp(2rem, 1.6rem + 2vw, 3.75rem);
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.04em;
  line-height: 1;
}
.principle-list h3 {
  font-size: var(--fs-xl);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.principle-list p {
  margin: var(--sp-2) 0 0;
  color: var(--text-mute);
  max-width: 56ch;
}
/* Tablet+: number in its own column, heading + body stacked beside it. */
@media (min-width: 720px) {
  .principle-list > li {
    grid-template-columns: 96px 1fr;
    column-gap: var(--sp-6);
    row-gap: var(--sp-3);
    align-items: start;
    padding: var(--sp-7) 0;
  }
  .principle-list .num { grid-row: span 2; }
  .principle-list p { margin: 0; }
}
/* Wide: heading and body sit side by side for an editorial 3-column rhythm. */
@media (min-width: 1000px) {
  .principle-list > li {
    grid-template-columns: 120px 1fr 1.2fr;
    column-gap: var(--sp-7);
    align-items: baseline;
  }
  .principle-list .num { grid-row: auto; }
}

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding: var(--sp-9) 0 var(--sp-6);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.3));
  margin-top: var(--sp-9);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-8) var(--sp-7);
  margin-bottom: var(--sp-8);
}
@media (min-width: 560px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 920px) {
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1fr; }
}

/* Brand column */
.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-4);
  max-width: 340px;
}
.footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.footer__logo img { width: 40px; height: auto; }
.footer__brand p {
  color: var(--text-mute);
  font-size: var(--fs-sm);
  line-height: 1.6;
  margin: 0;
  max-width: 32ch;
}
.footer__brand .btn { margin-top: var(--sp-1); }

/* Link columns */
.footer__col h3 {
  font-family: var(--font);
  font-size: var(--fs-xs);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin: 0 0 var(--sp-5);
  font-weight: 600;
  line-height: 1;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--sp-3); }
.footer__col a { color: var(--text-mute); font-size: var(--fs-sm); transition: color var(--d-fast) var(--ease); }
.footer__col a:hover { color: var(--primary); }

.footer__address {
  font-style: normal;
  color: var(--text-mute);
  font-size: var(--fs-sm);
  line-height: 1.7;
  margin: 0 0 var(--sp-4);
}
.footer__link-accent {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--primary);
  transition: color var(--d-fast) var(--ease);
}
.footer__link-accent:hover { color: var(--primary-soft); }

.footer__bottom {
  display: flex; flex-wrap: wrap; gap: var(--sp-3);
  justify-content: space-between; align-items: center;
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
  font-size: var(--fs-xs); color: var(--text-dim); letter-spacing: .04em;
}
.footer__social { display: flex; gap: var(--sp-3); }
.footer__social a {
  width: 36px; height: 36px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  color: var(--text-mute);
  transition: all var(--d-fast) var(--ease);
}
.footer__social a:hover { color: var(--text); background: var(--primary); border-color: var(--primary); }
.footer__social svg { width: 16px; height: 16px; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  text-align: center;
  padding: var(--sp-8) var(--sp-5);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(600px 200px at 50% 0%, rgba(217,54,68,.18), transparent 60%),
    var(--surface);
  border: 1px solid var(--border-strong);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { margin-bottom: var(--sp-4); }
.cta-banner p { color: var(--text-mute); max-width: 56ch; margin: 0 auto var(--sp-6); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero__bg img { animation: none; transform: none; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--sp-2); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.full { width: 100%; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; top: -40px; left: var(--sp-4);
  background: var(--primary); color: var(--text);
  padding: var(--sp-2) var(--sp-4); border-radius: var(--radius-sm);
  z-index: 100;
}
.skip-link:focus { top: var(--sp-4); }
