/* ============================================
   PIÑA ACADEMIC — STYLES
   Editorial · sobrio · moderno
   ============================================ */

/* --- Tokens --- */
:root {
  --ink: #221D24;
  --ink-90: rgba(34, 29, 36, 0.92);
  --paper: #EFEEEC;
  --paper-soft: #E3E2DF;
  --graphite: #2C262E;
  --ash: #9C97A1;
  --ash-dark: #6B6770;
  --bone: #D6D5D1;
  --bone-line: rgba(34, 29, 36, 0.10);
  --academic: #4FA5CC;        /* bright blue (was orange — replaced per client) */
  --academic-soft: #E8F1F7;   /* soft sky tint (was peachy) */
  --orange: #4FA5CC;          /* legacy alias — now also blue, no more orange anywhere */
  --literary: #003F7F;        /* deep navy — accent on light backgrounds */
  --literary-soft: #E1EAF4;
  --blue: #003F7F;            /* deep navy */
  --blue-mid: #4FA5CC;        /* bright cyan-blue — italics on dark backgrounds */
  --blue-soft: #E1EAF4;

  --font-serif: 'Crimson Pro', 'Cormorant Garamond', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', Menlo, monospace;

  --fs-display: clamp(2.75rem, 6.5vw, 6rem);
  --fs-h1: clamp(2.25rem, 5vw, 4.5rem);
  --fs-h2: clamp(1.875rem, 3.2vw, 3rem);
  --fs-h3: clamp(1.375rem, 1.8vw, 1.625rem);
  --fs-lead: clamp(1.0625rem, 1.4vw, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-eyebrow: 0.75rem;

  --container: 1280px;
  --gutter: clamp(24px, 5vw, 80px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast: 200ms var(--ease);
  --t: 400ms var(--ease);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'ss01' on, 'cv11' on;
}
.display, .h1, .h2, .h3,
.hero__title, .page-header__title,
.service__title, .pricing__title,
.cta-band h2, .quote__text {
  font-feature-settings: 'ss01' on, 'liga' on;
  font-optical-sizing: auto;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; padding: 0; margin: 0; }

/* --- Typography utilities --- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 var(--space-4, 16px);
  display: block;
  width: fit-content;
}
.eyebrow--center { margin-left: auto; margin-right: auto; }
.hero .eyebrow,
.page-header .eyebrow,
.sni-strip .eyebrow,
.cta-band .eyebrow,
.footer .eyebrow,
.section--ink .eyebrow { color: var(--literary); }
.display { font-family: var(--font-serif); font-size: var(--fs-display); line-height: 0.95; font-weight: 500; letter-spacing: -0.035em; margin: 0; }
.h1 { font-family: var(--font-serif); font-size: var(--fs-h1); line-height: 1; font-weight: 500; letter-spacing: -0.03em; margin: 0; }
.h2 { font-family: var(--font-serif); font-size: var(--fs-h2); line-height: 1.05; font-weight: 500; letter-spacing: -0.025em; margin: 0 0 1rem; }
.h3 { font-family: var(--font-serif); font-size: var(--fs-h3); line-height: 1.2; font-weight: 500; letter-spacing: -0.01em; margin: 0 0 0.75rem; }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--ash-dark); margin: 0 0 1.5rem; max-width: 56ch; }
.small { font-size: var(--fs-small); color: var(--ash-dark); }
.serif-italic { font-family: var(--font-serif); font-style: italic; }

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: clamp(64px, 10vw, 128px) 0; }
.section--tight { padding: clamp(48px, 6vw, 80px) 0; }
.section--ink { background: var(--ink); color: var(--paper); }
.section--ink .lead { color: var(--ash); }
.section--ink .small { color: var(--ash); }

.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--hero { grid-template-columns: 7fr 5fr; gap: clamp(40px, 7vw, 96px); align-items: start; }
@media (max-width: 900px) {
  .grid--2, .grid--3 { grid-template-columns: 1fr; }
  .grid--hero { grid-template-columns: 1fr; gap: 56px; }
}

/* --- Navigation --- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(14, 10, 16, 0.92);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border-bottom: 0.5px solid rgba(244, 239, 231, 0.08);
  color: var(--paper);
  transition: background 320ms var(--ease), border-color 320ms var(--ease);
}
.nav::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(244, 239, 231, 0.1) 40%, rgba(244, 239, 231, 0.1) 60%, transparent);
  pointer-events: none;
}
.nav.is-scrolled {
  background: rgba(10, 7, 12, 0.96);
  border-bottom-color: rgba(244, 239, 231, 0.14);
}
@supports not (backdrop-filter: blur(1px)) {
  .nav { background: rgba(14, 10, 16, 0.98); }
  .nav.is-scrolled { background: rgba(10, 7, 12, 1); }
}
.nav__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.nav__brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.nav__brand-mark { color: var(--literary); }
.nav__links {
  display: flex;
  gap: 24px;
  align-items: center;
}
.nav__link {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
  position: relative;
  padding: 6px 0;
  transition: opacity var(--t-fast);
}
.nav__link:hover { opacity: 1; }
.nav__link.is-active { opacity: 1; }
.nav__link.is-active::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--literary);
}
.nav__lang {
  display: flex;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ash);
}
.nav__lang a { padding: 4px 8px; }
.nav__lang a.is-active { color: var(--paper); }
.nav__burger {
  display: none;
  background: none;
  border: none;
  color: var(--paper);
  padding: 8px;
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__lang { display: none; }
  .nav__burger { display: block; }
  .nav__inner.is-open + .nav__mobile { display: flex; }
}
.nav__mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ink);
  flex-direction: column;
  padding: 24px var(--gutter) 32px;
  gap: 16px;
  border-bottom: 0.5px solid rgba(244,239,231,0.08);
}
.nav__mobile a {
  color: var(--paper);
  font-size: 18px;
  font-family: var(--font-serif);
  padding: 8px 0;
  border-bottom: 0.5px solid rgba(244,239,231,0.08);
}
.nav.is-open .nav__mobile { display: flex; }

/* --- Hero --- */
.hero {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 10vw, 140px) 0 clamp(64px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}

.hero--portrait { min-height: clamp(640px, 92vh, 1000px); display: flex; align-items: center; padding: clamp(48px, 8vh, 96px) 0; }
.hero--portrait .container { position: relative; z-index: 3; width: 100%; }

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}
.hero__bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 30%;
  filter: grayscale(100%) contrast(1.08) brightness(0.92);
  mix-blend-mode: luminosity;
  opacity: 0.92;
}
.hero__bg-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      var(--ink) 0%,
      var(--ink) 42%,
      rgba(34, 29, 36, 0.7) 56%,
      rgba(34, 29, 36, 0.32) 80%,
      rgba(34, 29, 36, 0.4) 100%),
    linear-gradient(180deg,
      rgba(34, 29, 36, 0.45) 0%,
      transparent 14%,
      transparent 78%,
      rgba(34, 29, 36, 0.6) 100%);
  pointer-events: none;
}
.hero__bg-vline {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, rgba(244, 239, 231, 0.16) 22%, rgba(210, 98, 46, 0.45) 50%, rgba(244, 239, 231, 0.16) 78%, transparent 100%);
  pointer-events: none;
}
@media (max-width: 900px) {
  .hero__bg-img { width: 100%; right: 0; opacity: 0.4; object-position: center 10%; }
  .hero__bg-fade {
    background:
      linear-gradient(180deg, rgba(34,29,36,0.4) 0%, rgba(34,29,36,0.55) 35%, rgba(34,29,36,0.92) 75%, var(--ink) 100%);
  }
  .hero__bg-vline { display: none; }
}

.hero--portrait .hero__text { max-width: 620px; position: relative; }
.hero--portrait .hero__title { max-width: 14ch; }
@media (max-width: 900px) {
  .hero--portrait { min-height: auto; padding-top: clamp(72px, 14vw, 120px); padding-bottom: clamp(56px, 10vw, 96px); }
  .hero--portrait .hero__text { max-width: 100%; }
  .hero--portrait .hero__title { max-width: 100%; }
}

.hero__plate {
  position: absolute;
  top: clamp(28px, 4vh, 56px);
  right: clamp(24px, 5vw, 80px);
  z-index: 4;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: right;
  line-height: 1.6;
}
.hero__plate-num {
  font-family: var(--font-serif);
  font-size: 32px;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-weight: 500;
  color: var(--literary);
  font-style: italic;
}
@media (max-width: 900px) { .hero__plate { display: none; } }

.hero__sni-float {
  position: absolute;
  right: clamp(32px, 6vw, 100px);
  bottom: clamp(32px, 6vh, 80px);
  z-index: 4;
  width: clamp(112px, 13vw, 156px);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.hero__sni-float svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__sni-float svg .hero__sni-ring {
  transform-origin: 50% 50%;
  animation: rotateCW 60s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .hero__sni-float svg .hero__sni-ring { animation: none; } }
.hero__sni-float-mark {
  position: relative;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.4vw, 32px);
  font-weight: 500;
  color: var(--literary);
  line-height: 1;
  letter-spacing: -0.02em;
  z-index: 2;
}
.hero__sni-float-sub {
  position: relative;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--paper);
  text-transform: uppercase;
  margin-top: 4px;
  z-index: 2;
}
@media (max-width: 900px) {
  .hero__sni-float {
    width: 88px;
    right: clamp(20px, 5vw, 40px);
    bottom: clamp(20px, 5vh, 40px);
  }
}

.hero__edge-caption {
  position: absolute;
  bottom: 18px;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: rgba(244, 239, 231, 0.35);
  text-transform: uppercase;
}
@media (max-width: 700px) { .hero__edge-caption { display: none; } }
.hero__meta {
  position: absolute;
  top: 32px;
  right: var(--gutter);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ash);
  text-align: right;
  line-height: 1.8;
  z-index: 1;
}
@media (max-width: 1100px) { .hero__meta { display: none; } }
.hero .eyebrow { margin: 0 0 28px; }
.hero__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}
.hero__title {
  display: block;
  font-family: var(--font-serif);
  font-size: var(--fs-display);
  line-height: 0.98;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0 0 28px;
  max-width: 18ch;
  font-optical-sizing: auto;
  text-wrap: balance;
  width: 100%;
}
@media (max-width: 900px) {
  .hero__title { max-width: 100%; line-height: 1; }
}
.hero__title em {
  font-style: italic;
  color: var(--literary);
  font-weight: 400;
}
.hero__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(244, 239, 231, 0.78);
  max-width: 52ch;
  margin: 0 0 40px;
  text-wrap: pretty;
}
.hero__ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero__portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--graphite);
  overflow: hidden;
  border-top: 1px solid var(--literary);
}
.hero__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%) contrast(1.02);
}
.hero__portrait-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ash);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  gap: 12px;
  text-transform: uppercase;
}
.hero__sni {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  border: 1px double var(--literary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--ink-90);
  backdrop-filter: blur(8px);
  text-align: center;
}
.hero__sni-mark {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--literary);
  line-height: 1;
}
.hero__sni-sub {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--paper);
  margin-top: 4px;
  text-transform: uppercase;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast);
  position: relative;
  text-transform: uppercase;
}
.btn--academic { background: var(--academic); color: var(--paper); }
.btn--academic:hover { background: var(--paper); color: var(--academic); transform: translateY(-1px); }
.btn--literary { background: var(--literary); color: var(--paper); }
.btn--literary:hover { background: var(--paper); color: var(--literary); transform: translateY(-1px); }
.btn--blue { background: var(--blue); color: var(--paper); }
.btn--blue:hover { background: var(--paper); color: var(--blue); transform: translateY(-1px); }
.btn--outline-blue { background: transparent; color: var(--blue); border: 1px solid var(--blue); }
.btn--outline-blue:hover { background: var(--blue); color: var(--paper); transform: translateY(-1px); }
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(244, 239, 231, 0.4);
}
.btn--ghost:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--academic); }
.btn__arrow { transition: transform var(--t-fast); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* --- Section: profile / identity --- */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
@media (max-width: 900px) { .profile-grid { grid-template-columns: 1fr; } }
.profile-grid h2 { max-width: 14ch; }
.profile-col {
  position: relative;
  padding-top: 24px;
}
.profile-col + .profile-col { padding-top: 24px; }
.profile-col::before {
  content: '';
  display: block;
  width: 48px;
  height: 1px;
  background: var(--blue);
  margin-bottom: 24px;
}
.profile-col-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-dark);
  margin-bottom: 12px;
}

/* --- Services dual cards (modern split-screen) --- */
.services {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  position: relative;
}
@media (max-width: 900px) { .services { grid-template-columns: 1fr; } }
.service {
  padding: clamp(48px, 6vw, 88px) clamp(40px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 620px;
  position: relative;
  overflow: hidden;
  transition: transform 500ms var(--ease);
}
.service--academic { background: var(--paper); color: var(--ink); }
.service--literary { background: var(--ink); color: var(--paper); }
.service::before {
  content: attr(data-num);
  position: absolute;
  top: -3vw;
  right: -2vw;
  font-family: var(--font-serif);
  font-size: clamp(14rem, 26vw, 26rem);
  line-height: 0.78;
  font-weight: 500;
  font-style: italic;
  letter-spacing: -0.06em;
  color: currentColor;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
  font-optical-sizing: auto;
}
.service--literary::before { opacity: 0.08; }
.service > * { position: relative; z-index: 1; }
.service__top { display: flex; flex-direction: column; gap: 18px; }
.service__number {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-dark);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.service--literary .service__number { color: var(--ash); }
.service__number::before {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  display: inline-block;
  opacity: 0.6;
}
.service__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 4.4vw, 4rem);
  line-height: 0.94;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
}
.service--academic .service__title { color: var(--ink); }
.service--literary .service__title { color: var(--paper); }
.service__title em {
  color: var(--literary);
  font-style: italic;
  font-weight: 400;
}
.service__desc {
  font-size: 1.0625rem;
  line-height: 1.6;
  max-width: 36ch;
  margin: 20px 0 0;
}
.service--academic .service__desc { color: var(--ash-dark); }
.service--literary .service__desc { color: rgba(244, 239, 231, 0.72); }
.service__list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 40px 0;
  border-top: 0.5px solid;
}
.service--academic .service__list { border-top-color: var(--bone-line); }
.service--literary .service__list { border-top-color: rgba(244, 239, 231, 0.14); }
.service__item {
  font-size: 15px;
  padding: 16px 0 16px 0;
  border-bottom: 0.5px solid;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: padding-left 320ms var(--ease), color 320ms var(--ease);
  position: relative;
  cursor: default;
}
.service--academic .service__item { border-bottom-color: var(--bone-line); }
.service--literary .service__item { border-bottom-color: rgba(244, 239, 231, 0.14); }
.service__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--literary);
  transition: width 320ms var(--ease);
  transform: translateY(-50%);
}
.service__item:hover { padding-left: 22px; }
.service__item:hover::before { width: 14px; }
.service__item-name { font-weight: 500; }
.service__item-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  transition: transform 320ms var(--ease);
}
.service--academic .service__item-meta { color: var(--ash-dark); }
.service--literary .service__item-meta { color: var(--ash); }
.service__item:hover .service__item-meta {
  color: var(--literary);
  transform: translateX(-4px);
}
.service__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  align-self: flex-start;
  padding: 16px 24px;
  border: none;
  transition: gap 280ms var(--ease), transform 280ms var(--ease), background 280ms var(--ease);
  cursor: pointer;
}
.service--academic .service__cta {
  background: var(--ink);
  color: var(--paper);
}
.service--academic .service__cta:hover {
  background: var(--literary);
  gap: 18px;
  transform: translateY(-2px);
}
.service--literary .service__cta {
  background: var(--literary);
  color: var(--paper);
}
.service--literary .service__cta:hover {
  background: var(--paper);
  color: var(--ink);
  gap: 18px;
  transform: translateY(-2px);
}

/* --- SNI strip --- */
.sni-strip {
  background: var(--graphite);
  color: var(--paper);
  padding: clamp(48px, 6vw, 96px) 0;
  position: relative;
}
.sni-strip__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}
@media (max-width: 900px) { .sni-strip__inner { grid-template-columns: 1fr; text-align: center; } }
.sni-badge {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 1px double var(--literary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sni-badge::before {
  content: '';
  position: absolute;
  width: 110px; height: 110px;
  border-radius: 50%;
  border: 0.5px solid rgba(210, 98, 46, 0.4);
}
.sni-badge__mark { font-family: var(--font-serif); font-size: 28px; color: var(--literary); line-height: 1; }
.sni-badge__sub { font-family: var(--font-mono); font-size: 9px; letter-spacing: 0.22em; color: var(--paper); margin-top: 6px; text-transform: uppercase; }
.sni-strip__body { max-width: 56ch; }
.sni-strip__body h3 { font-family: var(--font-serif); font-size: 1.875rem; line-height: 1.2; font-weight: 500; margin: 0 0 12px; }
.sni-strip__body p { font-size: 1rem; line-height: 1.65; color: rgba(244,239,231,0.8); margin: 0; }
.sni-strip__cta { white-space: nowrap; }

/* --- Featured works / portfolio --- */
.works-list {
  display: flex;
  flex-direction: column;
  border-top: 0.5px solid var(--bone-line);
}
.work {
  display: grid;
  grid-template-columns: 80px 1fr auto auto;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 0.5px solid var(--bone-line);
  align-items: baseline;
  transition: padding-left var(--t);
}
.work:hover { padding-left: 8px; }
.work__year { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--ash-dark); }
.work__title { font-family: var(--font-serif); font-size: 1.375rem; line-height: 1.2; font-weight: 500; }
.work__title em { font-style: italic; }
.work__author { font-size: 14px; color: var(--ash-dark); }
.work__body { display: flex; flex-direction: column; gap: 6px; }
.work__meta { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ash-dark); }
.work__meta em { font-style: italic; }
.work__title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast), color var(--t-fast);
}
.work__title a:hover { color: var(--literary); border-bottom-color: var(--literary); }

/* --- Testimonial cards --- */
.testimonial {
  position: relative;
  margin: 0;
  padding: 40px 32px 32px;
  background: var(--paper);
  border: 1px solid var(--ash-soft);
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: transform var(--t), box-shadow var(--t);
}
.testimonial:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(20, 16, 22, 0.06);
}
.testimonial__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: -8px 0 4px;
}
.testimonial__photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-soft);
  filter: grayscale(0.15);
  flex-shrink: 0;
}
.testimonial__mark {
  width: 28px;
  height: 28px;
  color: var(--literary);
  opacity: 0.35;
  flex-shrink: 0;
}
.testimonial__text {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.55;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  font-style: italic;
}
.testimonial__text em { font-style: normal; font-weight: 500; }
.testimonial__attr {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 20px;
  border-top: 0.5px solid var(--bone-line);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
}
.testimonial__attr strong {
  font-family: var(--font-sans);
  font-size: 14px;
  letter-spacing: 0;
  color: var(--ink);
  font-weight: 600;
}
.testimonial__attr span { color: var(--ash-dark); }
.work__type {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 10px;
  border: 0.5px solid currentColor;
}
.work__type--academic { color: var(--academic); }
.work__type--literary { color: var(--literary); }
@media (max-width: 700px) {
  .work { grid-template-columns: 60px 1fr; row-gap: 4px; }
  .work__author { grid-column: 2; }
  .work__type { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* --- Testimonials --- */
.quote {
  max-width: 56ch;
  margin: 0 auto;
  text-align: left;
  padding: 48px 0;
  position: relative;
}
.quote::before {
  content: '';
  display: block;
  width: 56px;
  height: 1px;
  background: var(--blue);
  margin-bottom: 32px;
}
.quote__text { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1.35; margin: 0 0 24px; font-weight: 400; }
.quote__attr { font-size: 13.5px; color: var(--ash-dark); letter-spacing: 0.04em; }
.quote__attr strong { font-weight: 500; color: var(--ink); }

/* --- Final CTA band --- */
.cta-band {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0;
  text-align: left;
}
.cta-band__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 64px;
  align-items: end;
}
@media (max-width: 900px) { .cta-band__inner { grid-template-columns: 1fr; gap: 32px; } }
.cta-band h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.05;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.015em;
}
.cta-band h2 em { color: var(--literary); font-style: italic; font-weight: 400; }
.cta-band__actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* --- Footer --- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 80px 0 32px;
  border-top: 0.5px solid rgba(244,239,231,0.08);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__brand { font-family: var(--font-serif); font-size: 1.75rem; font-weight: 500; margin: 0 0 12px; }
.footer__tagline { font-size: 14px; color: var(--ash); max-width: 32ch; line-height: 1.6; }
.footer h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--literary);
  margin: 0 0 20px;
  font-weight: 500;
}
.footer__list a {
  display: block;
  font-size: 14px;
  padding: 6px 0;
  color: var(--paper);
  opacity: 0.78;
  transition: opacity var(--t-fast);
}
.footer__list a:hover { opacity: 1; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 0.5px solid rgba(244,239,231,0.08);
  font-size: 12px;
  color: var(--ash);
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
}
@media (max-width: 600px) { .footer__bottom { flex-direction: column; gap: 12px; } }

/* --- Page header (interior pages) --- */
.page-header {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(80px, 10vw, 140px) 0 clamp(48px, 6vw, 80px);
  position: relative;
}
.page-header__crumb {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-bottom: 24px;
}
.page-header__title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  max-width: 20ch;
  font-optical-sizing: auto;
}
.page-header__lead {
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: rgba(244,239,231,0.78);
  max-width: 56ch;
  margin: 0;
}
.page-header--academic .page-header__crumb { color: rgba(230,238,248,0.7); }
.page-header--literary .page-header__crumb { color: rgba(248,231,219,0.7); }

.page-header--graphic .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 900px) {
  .page-header--graphic .container { grid-template-columns: 1fr; gap: 48px; }
}

.page-header__visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.page-header__visual--frame {
  border: 1px solid rgba(244, 239, 231, 0.18);
  background: rgba(244, 239, 231, 0.02);
  aspect-ratio: 4 / 5;
}
.page-header__visual--frame::before {
  content: '';
  position: absolute;
  top: 16px; left: 16px;
  right: 16px; bottom: 16px;
  border: 0.5px dashed rgba(244, 239, 231, 0.12);
  pointer-events: none;
}

.page-header__num {
  font-family: var(--font-serif);
  font-size: clamp(10rem, 22vw, 22rem);
  line-height: 0.78;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--literary);
  text-align: right;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.page-header__num em {
  font-style: italic;
  font-size: 0.55em;
  color: var(--paper);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
}
.page-header__num-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 12px;
  text-align: right;
}

.page-header__svg {
  width: 100%;
  height: 100%;
  max-height: 480px;
}
.page-header__svg path,
.page-header__svg circle,
.page-header__svg line,
.page-header__svg rect { stroke: var(--literary); fill: none; stroke-width: 0.6; }
.page-header__svg .accent { stroke: var(--paper); opacity: 0.4; }
.page-header__svg text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  fill: var(--ash);
}

.page-header__caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  z-index: 2;
}
.page-header__caption-r {
  position: absolute;
  top: 16px;
  right: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  text-align: right;
  z-index: 2;
}

/* --- Footer social/contact icons (v=32) --- */
.footer__list a {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  transition: color var(--t-fast);
}
.footer__list a .footer__icon {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--blue-mid);
  transition: transform var(--t-fast), color var(--t-fast);
}
.footer__list a:hover .footer__icon {
  transform: translateX(2px);
  color: var(--paper);
}

/* --- Metrics: card layout with shadows + icons (v=31) --- */
.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.8vw, 22px);
  position: relative;
}
@media (max-width: 900px) { .metrics { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .metrics { grid-template-columns: 1fr; } }

.metric {
  background: var(--paper);
  border: 1px solid rgba(34, 29, 36, 0.06);
  border-radius: 14px;
  padding: clamp(26px, 3vw, 36px);
  box-shadow:
    0 1px 2px rgba(34, 29, 36, 0.04),
    0 6px 22px rgba(34, 29, 36, 0.05);
  position: relative;
  transition: transform 420ms var(--ease), box-shadow 420ms var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
  cursor: default;
  overflow: hidden;
}
.metric::after {
  /* subtle inner highlight, top-left, gives the card depth */
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
  pointer-events: none;
}
.metric:hover {
  transform: translateY(-4px);
  box-shadow:
    0 2px 4px rgba(34, 29, 36, 0.06),
    0 16px 36px rgba(34, 29, 36, 0.10);
}
.metric__index {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--ash);
  opacity: 0.6;
}
.metric__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
  transition: transform 420ms var(--ease), background 420ms var(--ease);
}
.metric__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.5;
}
.metric:hover .metric__icon {
  transform: scale(1.06) rotate(-3deg);
  background: var(--blue);
  color: var(--paper);
}
.metric__value {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 3.4vw, 2.85rem);
  line-height: 1;
  font-weight: 500;
  color: var(--ink);
  font-style: italic;
  letter-spacing: -0.01em;
  display: flex;
  align-items: baseline;
  gap: 4px;
  flex-wrap: wrap;
}
.metric__value-num {
  color: var(--blue);
  font-style: italic;
  font-weight: 500;
}
.metric__value-unit {
  font-family: var(--font-sans);
  font-style: normal;
  font-size: 0.46em;
  color: var(--ash-dark);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}
.metric__rule {
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.2s var(--ease) 0.2s;
  width: 32px;
  margin: 2px 0;
}
.metric.is-visible .metric__rule { transform: scaleX(1); }
.metric__label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ash-dark);
  line-height: 1.45;
  margin-top: 2px;
}

.sni-feature {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(48px, 7vw, 96px) 0;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* Background image (book + data hologram). Sits on the LEFT (behind the disc),
   fades to solid ink toward the right so the text remains fully readable. */
.sni-feature::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/img/sni-bg.jpg');
  background-position: left center;
  background-size: 58% auto;
  background-repeat: no-repeat;
  filter: grayscale(0.85) contrast(1.05) brightness(0.78);
  mix-blend-mode: luminosity;
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
/* Strong gradient overlay: image visible on the left edge, fades fast to dark
   so the disc keeps its presence and the right column stays readable. */
.sni-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(34, 29, 36, 0.40) 0%,
      rgba(34, 29, 36, 0.65) 28%,
      rgba(34, 29, 36, 0.90) 52%,
      var(--ink) 70%,
      var(--ink) 100%),
    linear-gradient(180deg,
      var(--ink) 0%,
      transparent 18%,
      transparent 82%,
      var(--ink) 100%);
  z-index: 1;
  pointer-events: none;
}
.sni-feature > .container { position: relative; z-index: 2; }
@media (max-width: 900px) {
  .sni-feature::before {
    background-size: cover;
    background-position: center;
    opacity: 0.35;
  }
  .sni-feature::after {
    background:
      linear-gradient(180deg,
        rgba(34, 29, 36, 0.55) 0%,
        rgba(34, 29, 36, 0.80) 30%,
        var(--ink) 70%);
  }
}
.sni-feature__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: center;
  position: relative;
}
@media (max-width: 900px) { .sni-feature__grid { grid-template-columns: 1fr; text-align: center; } }

.sni-disc {
  width: clamp(260px, 32vw, 380px);
  aspect-ratio: 1;
  position: relative;
  margin: 0 auto;
}
.sni-disc svg { width: 100%; height: 100%; }
.sni-disc__ring-outer {
  animation: rotateCW 90s linear infinite;
  transform-origin: 50% 50%;
}
.sni-disc__ring-inner {
  animation: rotateCCW 60s linear infinite;
  transform-origin: 50% 50%;
}
.sni-disc__center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}
.sni-disc__mark {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
  font-weight: 500;
  color: var(--literary);
  letter-spacing: -0.04em;
}
.sni-disc__sub {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--paper);
  text-transform: uppercase;
}
.sni-disc__year {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--literary);
  text-transform: uppercase;
}
.sni-disc__year--tl { top: 8%; left: 12%; }
.sni-disc__year--tr { top: 8%; right: 12%; }
.sni-disc__year--bl { bottom: 8%; left: 12%; }
.sni-disc__year--br { bottom: 8%; right: 12%; }

@keyframes rotateCW { to { transform: rotate(360deg); } }
@keyframes rotateCCW { to { transform: rotate(-360deg); } }
@media (prefers-reduced-motion: reduce) {
  .sni-disc__ring-outer, .sni-disc__ring-inner { animation: none; }
}

.sni-feature__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.96;
  font-weight: 500;
  letter-spacing: -0.035em;
  margin: 16px 0 24px;
  font-optical-sizing: auto;
}
.sni-feature__title em { color: var(--literary); font-style: italic; font-weight: 400; }
.sni-feature__lead {
  font-size: var(--fs-lead);
  line-height: 1.5;
  color: rgba(244, 239, 231, 0.78);
  max-width: 52ch;
  margin: 0 0 36px;
}

.sni-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 0.5px solid rgba(244, 239, 231, 0.15);
}
@media (max-width: 700px) { .sni-stats { grid-template-columns: 1fr; } }
.sni-stat {
  padding: 24px 0;
  border-left: 0.5px solid rgba(244, 239, 231, 0.15);
  padding-left: 24px;
}
.sni-stat:first-child { border-left: none; padding-left: 0; }
@media (max-width: 700px) {
  .sni-stat { border-left: none; padding-left: 0; border-top: 0.5px solid rgba(244,239,231,0.15); }
  .sni-stat:first-child { border-top: none; }
}
.sni-stat__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 500;
  color: var(--literary);
  letter-spacing: -0.03em;
  font-style: italic;
}
.sni-stat__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ash);
  margin-top: 8px;
}

.credentials-marquee {
  background: var(--graphite);
  color: var(--paper);
  padding: 22px 0;
  overflow: hidden;
  border-top: 0.5px solid rgba(244, 239, 231, 0.08);
}
.credentials-marquee .marquee__track {
  animation-duration: 60s;
  animation-direction: reverse;
}
.credentials-marquee .marquee__item {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-style: normal;
  font-weight: 400;
  color: rgba(244, 239, 231, 0.85);
}
.credentials-marquee .marquee__item::after {
  content: '·';
  color: var(--literary);
  font-size: 1.2em;
  margin-left: 6px;
}

.word-reveal { display: inline; }
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  filter: blur(8px);
}
.word-reveal.is-visible .word {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease);
}
.word-reveal.is-visible .word:nth-child(1) { transition-delay: 0ms; }
.word-reveal.is-visible .word:nth-child(2) { transition-delay: 80ms; }
.word-reveal.is-visible .word:nth-child(3) { transition-delay: 160ms; }
.word-reveal.is-visible .word:nth-child(4) { transition-delay: 240ms; }
.word-reveal.is-visible .word:nth-child(5) { transition-delay: 320ms; }
.word-reveal.is-visible .word:nth-child(6) { transition-delay: 400ms; }
.word-reveal.is-visible .word:nth-child(7) { transition-delay: 480ms; }
.word-reveal.is-visible .word:nth-child(8) { transition-delay: 560ms; }
.word-reveal.is-visible .word:nth-child(9) { transition-delay: 640ms; }
.word-reveal.is-visible .word:nth-child(10) { transition-delay: 720ms; }
.word-reveal.is-visible .word:nth-child(11) { transition-delay: 800ms; }
.word-reveal.is-visible .word:nth-child(12) { transition-delay: 880ms; }
@media (prefers-reduced-motion: reduce) {
  .word-reveal .word { opacity: 1; transform: none; filter: none; }
}

.dual-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 3vw, 32px);
}
@media (max-width: 700px) { .dual-image { grid-template-columns: 1fr; } }
.image-slot {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--paper-soft);
  border-top: 1px solid var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 10px;
  color: var(--ash-dark);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
}
.image-slot--wide { aspect-ratio: 16 / 10; }
.image-slot--square { aspect-ratio: 1 / 1; }
.image-slot__caption {
  position: absolute;
  bottom: 12px;
  left: 16px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash-dark);
}
.image-slot__icon { width: 36px; height: 36px; opacity: 0.5; stroke: currentColor; fill: none; }

/* --- Editorial photo treatment (Method section) --- */
.editorial-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--ink);
  margin: 0;
  display: block;
}
.editorial-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06) brightness(0.94);
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
  display: block;
}
.editorial-photo:hover .editorial-photo__img {
  transform: scale(1.04);
  filter: grayscale(100%) contrast(1.1) brightness(0.96);
}
.editorial-photo__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(34,29,36,0.55) 0%, transparent 22%, transparent 76%, rgba(34,29,36,0.7) 100%),
    linear-gradient(135deg, rgba(210,98,46,0.08) 0%, transparent 45%);
  mix-blend-mode: multiply;
}
.editorial-photo__frame {
  position: absolute;
  inset: 14px;
  z-index: 3;
  border: 0.5px solid rgba(244,239,231,0.2);
  pointer-events: none;
}
.editorial-photo__corner-tl,
.editorial-photo__corner-tr,
.editorial-photo__corner-bl,
.editorial-photo__corner-br {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 4;
  pointer-events: none;
}
.editorial-photo__corner-tl { top: 14px; left: 14px; border-top: 1px solid var(--literary); border-left: 1px solid var(--literary); }
.editorial-photo__corner-tr { top: 14px; right: 14px; border-top: 1px solid var(--literary); border-right: 1px solid var(--literary); }
.editorial-photo__corner-bl { bottom: 14px; left: 14px; border-bottom: 1px solid var(--literary); border-left: 1px solid var(--literary); }
.editorial-photo__corner-br { bottom: 14px; right: 14px; border-bottom: 1px solid var(--literary); border-right: 1px solid var(--literary); }
.editorial-photo__cap-top,
.editorial-photo__cap-bot {
  position: absolute;
  z-index: 5;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(244,239,231,0.78);
  pointer-events: none;
}
.editorial-photo__cap-top { top: 30px; left: 30px; }
.editorial-photo__cap-bot { bottom: 30px; right: 30px; color: rgba(244,239,231,0.55); }
.editorial-photo__rule {
  position: absolute;
  bottom: 38px;
  left: 30px;
  width: 56px;
  height: 1px;
  background: var(--literary);
  z-index: 5;
  pointer-events: none;
}
.editorial-photo__mark {
  position: absolute;
  top: 26px;
  right: 30px;
  z-index: 5;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 20px;
  color: var(--literary);
  line-height: 1;
  font-weight: 500;
  pointer-events: none;
}

/* --- WhatsApp floating button --- */
.wa-fab {
  position: fixed;
  bottom: clamp(20px, 3vh, 32px);
  right: clamp(20px, 3vw, 32px);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(37, 211, 102, 0.32);
  transition: transform 280ms var(--ease), box-shadow 280ms var(--ease);
  animation: waFabIn 600ms 800ms var(--ease) both;
}
.wa-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}
.wa-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24), 0 4px 12px rgba(37, 211, 102, 0.4);
}
.wa-fab:active { transform: scale(0.96); }
.wa-fab::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waPulse 2.4s infinite;
}
@keyframes waFabIn {
  from { opacity: 0; transform: scale(0.4) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes waPulse {
  0%   { opacity: 0.55; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.45); }
}
@media (prefers-reduced-motion: reduce) {
  .wa-fab, .wa-fab::after { animation: none; }
}
@media (max-width: 700px) {
  .wa-fab { width: 52px; height: 52px; }
  .wa-fab svg { width: 26px; height: 26px; }
}

.bio-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  line-height: 1.32;
  margin: 0 0 2.25rem;
  padding-top: 24px;
  border-top: 1px solid var(--literary);
  max-width: 38ch;
  color: var(--ink);
  letter-spacing: -0.01em;
  font-weight: 400;
}

.page-header__visual--photo {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--ink);
  border: none;
  overflow: hidden;
  display: block;
}
.page-header__visual--photo::before { display: none; }
.page-header__photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.06) brightness(0.94);
  mix-blend-mode: luminosity;
  z-index: 1;
  transition: transform 900ms var(--ease);
}
.page-header__visual--photo:hover .page-header__photo-img { transform: scale(1.03); }
.page-header__photo-tint {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(34,29,36,0.55) 0%, transparent 25%, transparent 75%, rgba(34,29,36,0.78) 100%),
    linear-gradient(135deg, rgba(210,98,46,0.08) 0%, transparent 45%);
  mix-blend-mode: multiply;
}
.page-header__photo-frame {
  position: absolute;
  inset: 14px;
  border: 0.5px solid rgba(244,239,231,0.22);
  z-index: 3;
  pointer-events: none;
}
.page-header__photo-corner-tl,
.page-header__photo-corner-tr,
.page-header__photo-corner-bl,
.page-header__photo-corner-br {
  position: absolute;
  width: 14px;
  height: 14px;
  z-index: 4;
  pointer-events: none;
}
.page-header__photo-corner-tl { top: 14px; left: 14px; border-top: 1px solid var(--literary); border-left: 1px solid var(--literary); }
.page-header__photo-corner-tr { top: 14px; right: 14px; border-top: 1px solid var(--literary); border-right: 1px solid var(--literary); }
.page-header__photo-corner-bl { bottom: 14px; left: 14px; border-bottom: 1px solid var(--literary); border-left: 1px solid var(--literary); }
.page-header__photo-corner-br { bottom: 14px; right: 14px; border-bottom: 1px solid var(--literary); border-right: 1px solid var(--literary); }
.page-header__photo-mark {
  position: absolute;
  top: 24px;
  right: 36px;
  z-index: 5;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 24px;
  color: var(--literary);
  line-height: 1;
  font-weight: 500;
  pointer-events: none;
}
.page-header__photo-rule {
  position: absolute;
  bottom: 56px;
  left: 36px;
  width: 56px;
  height: 1px;
  background: var(--literary);
  z-index: 5;
  pointer-events: none;
}
.page-header__visual--photo .page-header__caption-r {
  top: 28px; right: 30px; z-index: 6; color: rgba(244,239,231,0.78);
}
.page-header__visual--photo .page-header__caption {
  bottom: 30px; left: 30px; z-index: 6; color: rgba(244,239,231,0.78);
}

.bio-photo { margin: 0; display: flex; flex-direction: column; }
.bio-photo__inner {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--paper-soft);
  border-top: 1px solid var(--blue);
}
.bio-photo__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  display: block;
  transition: transform 700ms var(--ease);
}
.bio-photo:hover .bio-photo__img { transform: scale(1.03); }
.bio-photo__inner::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 0.5px solid rgba(27, 77, 137, 0.2);
  pointer-events: none;
}
.bio-photo__caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 14px 4px 0;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-dark);
  gap: 16px;
  flex-wrap: wrap;
}
.bio-photo__caption span:first-child { color: var(--blue); }

.feature-pair {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 96px) 0;
}
@media (max-width: 900px) { .feature-pair { grid-template-columns: 1fr; } }
.feature-pair--reverse { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) { .feature-pair--reverse { grid-template-columns: 1fr; } }
.feature-pair--reverse > :first-child { order: 2; }
@media (max-width: 900px) { .feature-pair--reverse > :first-child { order: 0; } }

.hero__portrait img,
.image-slot img,
.page-header__visual img {
  filter: grayscale(100%) contrast(1.05);
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.marquee {
  background: var(--ink);
  color: var(--paper);
  border-top: 0.5px solid rgba(244, 239, 231, 0.12);
  border-bottom: 0.5px solid rgba(244, 239, 231, 0.12);
  padding: 28px 0;
  overflow: hidden;
  position: relative;
}
.marquee--paper {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--bone-line);
}
.marquee__track {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marquee 48s linear infinite;
  width: max-content;
}
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-style: italic;
  font-optical-sizing: auto;
}
.marquee__item::after {
  content: '✕';
  font-family: var(--font-mono);
  font-size: 0.55em;
  color: var(--literary);
  font-style: normal;
  letter-spacing: 0;
}
.marquee__item:last-child::after { display: none; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

.nav-index {
  background: var(--ink);
  color: var(--paper);
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(244, 239, 231, 0.08);
}
.nav-index__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  gap: 24px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ash);
  overflow-x: auto;
}
.nav-index__item { white-space: nowrap; display: flex; gap: 6px; }
.nav-index__item span:first-child { color: var(--literary); }

.btn--pill {
  border-radius: 999px;
  padding: 10px 18px;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--literary);
  color: var(--paper);
  padding: 9px 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background var(--t-fast), transform var(--t-fast);
}
.nav__cta:hover { background: var(--paper); color: var(--literary); transform: translateY(-1px); }
@media (max-width: 900px) { .nav__cta { display: none; } }

.section--alt {
  background: var(--paper-soft);
}

/* --- Article / long-form content --- */
.prose { max-width: 70ch; margin: 0 auto; }
.prose p { font-size: 1.0625rem; line-height: 1.75; margin: 0 0 1.5em; }
.prose p:first-of-type::first-letter {
  font-family: var(--font-serif);
  font-size: 4.5em;
  line-height: 0.85;
  float: left;
  padding: 6px 12px 0 0;
  color: var(--blue);
  font-weight: 500;
}
.prose h3 { margin-top: 2.5em; }
.prose ul { margin: 0 0 1.5em; padding-left: 0; }
.prose ul li {
  position: relative;
  padding: 8px 0 8px 28px;
  border-bottom: 0.5px solid var(--bone-line);
  font-size: 1rem;
  line-height: 1.6;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 1px;
  background: var(--blue);
}

/* --- Pricing table --- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 0.5px solid var(--bone-line);
}
@media (max-width: 900px) { .pricing-grid { grid-template-columns: 1fr; } }
.pricing {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  position: relative;
}
.pricing + .pricing { border-left: 0.5px solid var(--bone-line); }
@media (max-width: 900px) {
  .pricing + .pricing { border-left: none; border-top: 0.5px solid var(--bone-line); }
}
.pricing--featured { background: var(--paper-soft); }
.pricing--featured::before {
  content: 'Más solicitado';
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--blue);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 4px 12px;
  font-weight: 500;
}
.pricing__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-dark);
  margin-bottom: 16px;
}
.pricing__title { font-family: var(--font-serif); font-size: 1.75rem; line-height: 1.15; font-weight: 500; margin: 0 0 12px; }
.pricing__price {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 500;
  margin: 24px 0 4px;
  letter-spacing: -0.01em;
}
.pricing__unit { font-size: 13px; color: var(--ash-dark); margin-bottom: 32px; }
.pricing__list { display: flex; flex-direction: column; gap: 0; margin: 0 0 32px; flex: 1; }
.pricing__list li {
  font-size: 14.5px;
  padding: 10px 0 10px 24px;
  border-bottom: 0.5px solid var(--bone-line);
  position: relative;
  line-height: 1.5;
}
.pricing__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 1px;
  background: var(--blue);
}

/* --- FAQ (editorial, numbered, animated) --- */
.faq {
  border-top: 1px solid var(--ink);
}
.faq__item {
  border-bottom: 0.5px solid var(--bone-line);
  position: relative;
  cursor: pointer;
}
.faq__item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 0;
  height: 2px;
  background: var(--literary);
  transform: translateY(-50%);
  transition: width 420ms var(--ease);
  pointer-events: none;
  z-index: 1;
}
.faq__item:hover::before,
.faq__item.is-open::before { width: 18px; }
.faq__q {
  width: 100%;
  background: none;
  border: none;
  padding: 36px 0;
  text-align: left;
  display: grid;
  grid-template-columns: 88px 1fr 48px;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
  cursor: pointer;
  transition: padding-left 420ms var(--ease);
  position: relative;
}
.faq__item:hover .faq__q,
.faq__item.is-open .faq__q { padding-left: 30px; }
@media (max-width: 700px) {
  .faq__q { grid-template-columns: 56px 1fr 40px; gap: 16px; padding: 24px 0; }
  .faq__item:hover .faq__q,
  .faq__item.is-open .faq__q { padding-left: 18px; }
}
.faq__num {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.4vw, 3rem);
  font-weight: 500;
  font-style: italic;
  color: var(--ash-dark);
  line-height: 1;
  letter-spacing: -0.025em;
  transition: color 420ms var(--ease), transform 420ms var(--ease);
  transform-origin: left center;
  font-optical-sizing: auto;
}
.faq__item:hover .faq__num,
.faq__item.is-open .faq__num { color: var(--literary); }
.faq__item.is-open .faq__num { transform: scale(1.12); }
.faq__q-content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.faq__category {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-dark);
  transition: color 420ms var(--ease);
}
.faq__item:hover .faq__category,
.faq__item.is-open .faq__category { color: var(--literary); }
.faq__question {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 1.8vw, 1.625rem);
  line-height: 1.22;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.faq__icon {
  width: 44px;
  height: 44px;
  border: 0.5px solid var(--bone-line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  transition: border-color 420ms var(--ease), background 420ms var(--ease);
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--ink);
  transition: transform 420ms var(--ease), background 420ms var(--ease);
}
.faq__icon::before { width: 14px; height: 1px; }
.faq__icon::after { width: 1px; height: 14px; }
.faq__item:hover .faq__icon { border-color: var(--literary); }
.faq__item.is-open .faq__icon {
  background: var(--literary);
  border-color: var(--literary);
}
.faq__item.is-open .faq__icon::before { background: var(--paper); }
.faq__item.is-open .faq__icon::after {
  transform: rotate(90deg);
  background: var(--paper);
}
@media (max-width: 700px) {
  .faq__icon { width: 36px; height: 36px; }
}
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 540ms var(--ease);
}
.faq__a-inner {
  display: grid;
  grid-template-columns: 88px 1fr 48px;
  gap: clamp(20px, 3vw, 40px);
  padding: 0 0 40px 30px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 420ms var(--ease) 120ms, transform 420ms var(--ease) 120ms;
}
.faq__item.is-open .faq__a-inner { opacity: 1; transform: translateY(0); }
@media (max-width: 700px) {
  .faq__a-inner { grid-template-columns: 56px 1fr 40px; gap: 16px; padding: 0 0 28px 18px; }
}
.faq__a-inner p {
  grid-column: 2;
  font-size: 1.0625rem;
  line-height: 1.72;
  color: var(--ash-dark);
  max-width: 62ch;
  margin: 0;
}

.page-header__visual--qa {
  position: relative;
  aspect-ratio: 4 / 5;
  background: rgba(244, 239, 231, 0.02);
  border: 1px solid rgba(244, 239, 231, 0.16);
  overflow: hidden;
}
.page-header__visual--qa::before { display: none; }
.qa-stack {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.qa-q {
  position: absolute;
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.85;
  letter-spacing: -0.04em;
  font-optical-sizing: auto;
  pointer-events: none;
}
.qa-q--xl {
  font-size: clamp(11rem, 22vw, 18rem);
  top: 4%;
  right: 6%;
  color: var(--literary);
  font-style: italic;
  animation: qaFloat 8s ease-in-out infinite;
}
.qa-q--md {
  font-size: clamp(5rem, 9vw, 8rem);
  bottom: 26%;
  left: 8%;
  color: rgba(244, 239, 231, 0.92);
  font-style: italic;
  animation: qaFloatReverse 11s ease-in-out infinite;
}
.qa-q--sm {
  font-size: clamp(3rem, 5vw, 4.5rem);
  top: 38%;
  left: 35%;
  color: rgba(244, 239, 231, 0.35);
  animation: qaFloat 14s ease-in-out infinite;
}
.qa-q--xs {
  font-size: clamp(2rem, 3vw, 2.5rem);
  bottom: 14%;
  right: 28%;
  color: rgba(210, 98, 46, 0.6);
  font-style: italic;
  transform: rotate(-12deg);
}
.qa-q--xxs {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  top: 20%;
  left: 18%;
  color: rgba(244, 239, 231, 0.3);
  transform: rotate(180deg);
}
@keyframes qaFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes qaFloatReverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}
@media (prefers-reduced-motion: reduce) {
  .qa-q--xl, .qa-q--md, .qa-q--sm { animation: none; }
}
.page-header__visual--qa .page-header__caption-r,
.page-header__visual--qa .page-header__caption { z-index: 5; }

/* --- Form --- */
.form { display: grid; gap: 24px; max-width: 640px; }
.form__row { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field { position: relative; }
.field input,
.field textarea,
.field select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--bone-line);
  padding: 16px 0 12px;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color var(--t-fast);
}
.field textarea { min-height: 120px; resize: vertical; }
.field label {
  position: absolute;
  left: 0;
  top: 16px;
  font-size: 14px;
  color: var(--ash-dark);
  pointer-events: none;
  transition: transform var(--t-fast), font-size var(--t-fast), color var(--t-fast);
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-22px);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  font-family: var(--font-mono);
}
.field input:focus,
.field textarea:focus,
.field select:focus { border-bottom-color: var(--academic); }

.form__group { display: grid; gap: 22px; border: none; padding: 24px 0 28px; margin: 0; border-bottom: 1px solid var(--bone-line); }
.form__group:last-of-type { border-bottom: none; padding-bottom: 0; }
.form__legend {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 0;
  margin-bottom: 4px;
}

.field__hint { display: block; font-size: 12px; color: var(--ash-dark); margin-top: 6px; line-height: 1.5; font-style: italic; }
.field__label-static {
  display: block;
  position: static;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 6px;
}

.field--radio { display: flex; flex-direction: column; gap: 10px; padding: 8px 0; }
.radio {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--bone-line);
  cursor: pointer;
  font-size: 14px;
  transition: border-color var(--t-fast), background var(--t-fast);
}
.radio:hover { border-color: var(--blue); }
.radio input { width: 16px; height: 16px; accent-color: var(--blue); }
.radio input:checked ~ span { color: var(--ink); font-weight: 500; }

.field--file { padding: 8px 0; }
.field--file input[type="file"] { display: none; }
.field__file-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: 1px dashed var(--blue);
  background: var(--paper-soft);
  color: var(--blue);
  cursor: pointer;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background var(--t-fast);
}
.field__file-label:hover { background: var(--blue-soft); }

/* --- Contact info card --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(48px, 8vw, 96px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: flex; flex-direction: column; gap: 32px; padding-top: 12px; }
.contact-info__item { display: flex; flex-direction: column; gap: 4px; }
.contact-info__label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-dark);
}
.contact-info__value {
  font-family: var(--font-serif);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--ink);
}

/* --- About / CV timeline --- */
.cv-list { display: flex; flex-direction: column; }
.cv-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-bottom: 0.5px solid var(--bone-line);
}
@media (max-width: 600px) { .cv-item { grid-template-columns: 1fr; gap: 8px; } }
.cv-item__year {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--blue);
  font-weight: 500;
}
.cv-item__role { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.25; font-weight: 500; margin: 0 0 4px; }
.cv-item__place { font-size: 14px; color: var(--ash-dark); }
.cv-item__desc { font-size: 15px; line-height: 1.6; margin-top: 8px; max-width: 60ch; }

/* --- Animations --- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 800ms var(--ease), transform 800ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* --- Utility helpers --- */
.text-academic { color: var(--academic); }
.text-literary { color: var(--literary); }
.text-blue { color: var(--blue); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.divider-rule {
  display: block;
  width: 80px;
  height: 1px;
  background: var(--blue);
  margin: 0 0 32px;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ash-dark);
}

/* ============================================================
   LANGUAGE SELECTOR — v=29
   Editorial segmented control. Three language pills inside
   a single hairline frame. Active language fills with blue.
   ============================================================ */

.nav__lang {
  display: inline-flex;
  align-items: stretch;
  border: 1px solid rgba(244, 239, 231, 0.28);
  border-radius: 4px;
  overflow: hidden;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1;
  transition: border-color var(--t-fast);
}
.nav__lang:hover { border-color: rgba(244, 239, 231, 0.55); }
.nav__lang a {
  padding: 7px 11px;
  display: inline-flex;
  align-items: center;
  color: rgba(244, 239, 231, 0.65);
  text-decoration: none;
  border-left: 1px solid rgba(244, 239, 231, 0.15);
  transition: background var(--t-fast), color var(--t-fast);
  font-weight: 500;
  opacity: 1;
}
.nav__lang a:first-of-type { border-left: none; }
.nav__lang a:hover {
  background: rgba(244, 239, 231, 0.08);
  color: var(--paper);
}
.nav__lang a.is-active {
  background: var(--blue-mid);
  color: var(--ink);
  font-weight: 600;
}
.nav__lang a.is-active:hover {
  background: var(--blue-mid);
  color: var(--ink);
}
/* Hide the · separators — the borders now do the work */
.nav__lang > span { display: none; }

@media (max-width: 700px) {
  .nav__lang { font-size: 10px; }
  .nav__lang a { padding: 6px 9px; min-height: auto; }
}

/* Tighter nav on very small phones so the lang selector doesn't get clipped */
@media (max-width: 480px) {
  .nav__inner { gap: 10px; padding-left: 14px; padding-right: 14px; }
  .nav__cta { display: none; }
  .nav__lang { font-size: 10px; letter-spacing: 0.1em; flex-shrink: 0; }
  .nav__lang a { padding: 6px 8px; }
  /* Keep "Piña Academic" full and readable */
  .nav__brand { font-size: 1.4rem; letter-spacing: -0.01em; }
  .nav__brand-mark { font-size: 0.9em; margin-left: 5px; }
}
@media (max-width: 380px) {
  .nav__brand { font-size: 1.25rem; }
  .nav__brand-mark { font-size: 0.88em; }
  .nav__lang a { padding: 5px 7px; font-size: 9.5px; }
}

/* ============================================================
   COLOR SCOPE — v=27 (taalcentrum-style blues)
   On dark contexts (hero, page-headers, ink sections), swap the
   deep navy --literary for the brighter --blue-mid so italic
   accents don't get lost. The Academic Translation page keeps
   the warm orange as service identity.
   ============================================================ */

.hero,
.page-header--graphic,
.section--ink,
.footer,
.cta-band,
.sni-strip {
  --literary: var(--blue-mid);
}

/* Academic Translation page — keep orange as service identity */
.page-header--academic,
.btn--academic,
.service--academic,
.text-academic,
.kicker.text-academic {
  --literary: var(--academic);
}

/* Literary Translation page — title accent uses brighter blue */
.page-header--literary {
  --literary: var(--blue-mid);
}

/* Decorative corner marks stay orange (small editorial detail) */
.page-header__photo-corner-tl,
.page-header__photo-corner-tr,
.page-header__photo-corner-bl,
.page-header__photo-corner-br,
.page-header__photo-rule,
.editorial-photo__frame {
  border-color: var(--orange) !important;
}
.page-header__photo-rule { background: var(--orange); }

/* SNI badge stays warm */
.sni-badge,
.hero__sni-float-mark,
.hero__sni-float-sub {
  color: var(--orange);
}

/* ============================================================
   MOBILE RESPONSIVE PATCH — v=21
   Comprehensive pass to tighten spacing on phones.
   All overrides scoped to max-width 900px / 700px / 600px.
   ============================================================ */

@media (max-width: 900px) {
  /* Section padding — drop from up to 128px to ~64px on tablets */
  .section { padding: 64px 0; }
  .section--tight { padding: 44px 0; }

  /* Page-header containers — tighter top/bottom */
  .page-header { padding: 56px 0 40px; }
  .page-header--graphic .container { gap: 32px; }

  /* Page-header visual height — much smaller on mobile */
  .page-header__visual { min-height: 280px; }
  .page-header__visual--frame { aspect-ratio: 4 / 3; }
  .page-header__visual--photo { min-height: 260px; }

  /* Services cards — kill the 620px min-height that creates dead space */
  .service { min-height: auto; padding: 48px 32px; }

  /* Profile grid spacing */
  .profile-grid { gap: 40px; }
  .profile-col { padding-top: 8px; }
  .profile-col + .profile-col { padding-top: 8px; }
  .profile-col::before { margin-bottom: 16px; }

  /* Feature pair (Two disciplines / Service-as / etc.) */
  .feature-pair, .feature-pair--reverse { gap: 32px; }

  /* SNI feature */
  .sni-feature__grid { gap: 32px; }

  /* Dual image */
  .dual-image { gap: 24px; }

  /* CTA band */
  .cta-band__inner { gap: 24px; }
}

@media (max-width: 700px) {
  /* Hero — keep the desktop side-by-side split on mobile too.
     Text on left (narrower column), Gerardo as a vertical strip on the right.
     Wide gradient transition so the dark-text area blends smoothly into
     the light-wall area of the photo. */
  .hero--portrait {
    min-height: auto;
    padding: 80px 0 56px;
  }
  .hero--portrait .hero__text {
    max-width: 58%;
    padding-right: 8px;
  }
  .hero__bg-img {
    width: 55%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: auto;
    opacity: 0.9;
    object-position: 28% 18%;
    mix-blend-mode: luminosity;
    filter: grayscale(100%) contrast(1.05) brightness(0.78);
    -webkit-mask-image: linear-gradient(to left,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 22%,
      rgba(0,0,0,0.85) 42%,
      rgba(0,0,0,0.55) 62%,
      rgba(0,0,0,0.25) 80%,
      rgba(0,0,0,0.08) 92%,
      transparent 100%);
            mask-image: linear-gradient(to left,
      rgba(0,0,0,1) 0%,
      rgba(0,0,0,1) 22%,
      rgba(0,0,0,0.85) 42%,
      rgba(0,0,0,0.55) 62%,
      rgba(0,0,0,0.25) 80%,
      rgba(0,0,0,0.08) 92%,
      transparent 100%);
  }
  .hero__bg-fade {
    background:
      linear-gradient(90deg,
        var(--ink) 0%,
        var(--ink) 40%,
        rgba(34,29,36,0.92) 50%,
        rgba(34,29,36,0.78) 60%,
        rgba(34,29,36,0.55) 72%,
        rgba(34,29,36,0.32) 85%,
        rgba(34,29,36,0.18) 100%);
  }
  .hero__sni-float { display: none; }
  .hero__meta { display: none; }
  .hero__edge-caption { display: none; }
  .hero__lead { font-size: 1rem; line-height: 1.55; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero__ctas .btn { width: 100%; justify-content: center; }

  /* Section padding even tighter on phones */
  .section { padding: 52px 0; }
  .section--tight { padding: 36px 0; }

  /* Page-header */
  .page-header { padding: 40px 0 28px; }
  .page-header__visual { min-height: 220px; }
  .page-header__visual--photo { min-height: 200px; }
  .page-header__title { line-height: 1.05; }

  /* Service card tighter */
  .service { padding: 40px 24px; }

  /* Container side padding consistent */
  .container { padding-left: 20px; padding-right: 20px; }

  /* Eyebrow margin tighter */
  .eyebrow { margin: 0 0 16px; }

  /* Heading sizes on phones */
  h1, .h1 { font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.04; }
  h2, .h2 { font-size: clamp(1.75rem, 7vw, 2.25rem); }
  h3, .h3 { font-size: clamp(1.25rem, 5.5vw, 1.5rem); }

  /* Hero text shrinks to fit the narrower column */
  .hero__title { font-size: clamp(1.55rem, 7.2vw, 2rem); line-height: 1.05; max-width: 100%; }
  .hero--portrait .hero__title { max-width: 100%; }
  .hero__lead { font-size: 0.95rem; line-height: 1.5; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 0.18em; margin-bottom: 18px; }
  .hero__ctas .btn { padding: 12px 18px; font-size: 12px; letter-spacing: 0.14em; }

  /* WhatsApp FAB — slightly smaller and tighter to edge */
  .wa-fab { width: 52px; height: 52px; right: 16px; bottom: 16px; }
}

@media (max-width: 600px) {
  /* Container gutter tightest */
  .container { padding-left: 18px; padding-right: 18px; }

  /* Footer compact — 2 columns with brand spanning the top.
     Override the earlier 1fr rule to keep two columns on small phones. */
  .footer { padding: 56px 0 32px; }
  .footer__grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 28px 24px;
  }
  .footer__grid > :first-child { grid-column: 1 / -1; }

  /* FAQ items */
  .faq__q { grid-template-columns: 56px 1fr 36px; gap: 16px; padding: 18px 0; }
  .faq__num { font-size: 1.6rem; }
  .faq__category { font-size: 10px; }
  .faq__question { font-size: 1rem; line-height: 1.4; }
  .faq__icon { width: 32px; height: 32px; }

  /* Form */
  .form__row { gap: 12px; }
  .field input, .field textarea, .field select { font-size: 16px; /* prevents iOS auto-zoom */ }

  /* CV-item */
  .cv-item { padding: 14px 0; }

  /* SNI strip mobile */
  .sni-strip { padding: 36px 0; }
  .sni-strip__inner { gap: 16px; }

  /* Metrics */
  .metrics { gap: 16px; }
}

/* Tap targets — minimum 44×44px for accessibility */
@media (max-width: 700px) {
  .nav__link, .nav__lang a, .footer a { min-height: 44px; display: inline-flex; align-items: center; }
  .nav__burger { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .btn { min-height: 44px; }
}
