/* ============================================================
   Daniela & Enrique — slate & electric
   ============================================================ */

:root {
  --ink: #151a24;
  --ink-2: #232b3a;
  --ink-soft: #4a515d;
  --ink-mute: #727884;
  --paper: #f1f1ee;
  --paper-2: #f9f9f6;
  --cream: #f3f5fb;
  --line: #e4e4df;
  --line-strong: #d2d3cd;
  --white: #ffffff;

  /* accent (electric indigo) + card tints */
  --gold: #5b7cff;
  --gold-soft: #8aa2ff;
  --sky: #b9c9f5;
  --sage: #a9e0cf;
  --blush: #f4d38a;
  --violet: #60beff;

  --shell: 1180px;
  --radius-sm: 14px;
  --radius-md: 26px;
  --radius-lg: 40px;
  --shadow-soft: 0 26px 60px -24px rgba(21, 26, 36, 0.35);
  --shadow-card: 0 30px 80px -30px rgba(21, 26, 36, 0.45);

  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.62;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body,
a,
button {
  -webkit-tap-highlight-color: transparent;
}

/* Global film grain — the tactile "salt" over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
}

p,
h1,
h2,
h3,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 0.98;
}

::selection {
  background: var(--gold);
  color: var(--white);
}

.shell {
  width: min(calc(100% - 44px), var(--shell));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

/* ---------- Reveal-on-scroll ---------- */
.has-js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 720ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 720ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Eyebrows ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.eyebrow-dark {
  color: var(--gold);
}

.eyebrow-dark::before {
  background: var(--gold);
  opacity: 1;
}

/* ============================================================
   Header
   ============================================================ */
.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  color: var(--cream);
  transition: color 260ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(243, 243, 239, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transition: opacity 300ms ease;
  pointer-events: none;
}

.site-header.is-scrolled {
  color: var(--ink);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.site-nav {
  position: relative;
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
}

.wordmark-name {
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.wordmark .amp {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-variation-settings: "opsz" 30, "SOFT" 60, "WONK" 1;
  color: var(--gold);
  transition: transform 400ms cubic-bezier(0.22, 1, 0.36, 1);
}

.wordmark:hover .amp {
  display: inline-block;
  transform: rotate(-10deg) scale(1.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.88rem;
  font-weight: 600;
}

.nav-links a {
  position: relative;
  text-decoration: none;
  transition: color 160ms ease, opacity 160ms ease;
}

.nav-links > a:not(.nav-contact)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -5px;
  height: 1px;
  background: currentColor;
  transition: right 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-links > a:not(.nav-contact):hover::after {
  right: 0;
}

.nav-links .nav-contact {
  padding: 9px 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  opacity: 0.95;
  transition: background-color 200ms ease, color 200ms ease, border-color 200ms ease;
}

.nav-links .nav-contact:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  opacity: 1;
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(91, 124, 255, 0.16), transparent 46%),
    radial-gradient(90% 80% at 8% 108%, rgba(96, 190, 255, 0.16), transparent 50%),
    linear-gradient(175deg, #1d2431 0%, #151a24 55%, #10141c 100%);
}

/* Soft drifting aurora blobs */
.aurora {
  position: absolute;
  z-index: -2;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}

.aurora-1 {
  top: -160px;
  right: -60px;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle at 50% 50%, rgba(91, 124, 255, 0.5), transparent 62%);
  animation: drift-a 22s ease-in-out infinite;
}

.aurora-2 {
  bottom: -200px;
  left: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle at 50% 50%, rgba(96, 190, 255, 0.42), transparent 62%);
  animation: drift-b 26s ease-in-out infinite;
}

@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-46px, 40px) scale(1.12); }
}

@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(56px, -36px) scale(1.1); }
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-one {
  top: -300px;
  right: -80px;
  width: 660px;
  height: 660px;
  animation: spin 60s linear infinite;
}

.hero-orbit-two {
  top: -160px;
  right: 80px;
  width: 410px;
  height: 410px;
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.06);
  animation: spin 90s linear infinite reverse;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 6%;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.74fr);
  min-height: 720px;
  padding-top: 172px;
  padding-bottom: 60px;
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(3.2rem, 6.2vw, 5.6rem);
  font-variation-settings: "opsz" 144, "wght" 380, "SOFT" 44, "WONK" 1;
  letter-spacing: -0.028em;
  line-height: 0.95;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "wght" 380, "SOFT" 60, "WONK" 1;
  color: var(--gold);
}

.hero-intro {
  max-width: 620px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(1.05rem, 1.5vw, 1.24rem);
  line-height: 1.68;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
}

/* ---------- Buttons ---------- */
.button {
  position: relative;
  display: inline-flex;
  min-height: 54px;
  padding: 14px 26px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 220ms ease, background-color 200ms ease;
}

.button-primary {
  background: linear-gradient(180deg, #6f8cff, #4f6ae8);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), 0 14px 30px -12px rgba(91, 124, 255, 0.7);
}

.button-primary:hover {
  transform: translateY(-3px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 22px 46px -14px rgba(91, 124, 255, 0.85);
}

.text-link {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.6;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: gap 200ms ease, color 180ms ease, border-color 180ms ease;
}

.text-link span {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.text-link:hover {
  gap: 13px;
}

.text-link:hover span {
  transform: translate(3px, -3px);
}

.text-link-light {
  color: var(--cream);
  border-color: rgba(255, 255, 255, 0.4);
}

.text-link-light:hover {
  color: var(--gold);
  border-color: var(--gold);
}

/* ---------- Hero portrait (circular, with rotating ring) ---------- */
.hero-portrait {
  position: relative;
  margin: 0;
  justify-self: end;
  width: min(100%, 366px);
}

.hero-portrait-media {
  position: relative;
  aspect-ratio: 1;
}

.hero-portrait-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: rgba(255, 255, 255, 0.72);
  animation: spin 44s linear infinite;
}

.hero-portrait-ring text {
  font-family: var(--sans);
  font-size: 3.55px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.hero-portrait-frame {
  position: absolute;
  inset: 10%;
  overflow: hidden;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-card);
}

.hero-portrait-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
  background: linear-gradient(180deg, transparent 60%, rgba(10, 14, 22, 0.32));
  pointer-events: none;
}

.hero-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 36%;
}

.hero-portrait figcaption {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 600;
}

/* ---------- Status indicator ---------- */
.status-dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sage);
}

.status-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid var(--sage);
  opacity: 0.6;
  animation: ping 2.4s ease-out infinite;
}

@keyframes ping {
  0% { transform: scale(0.6); opacity: 0.7; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* ---------- Proof strip ---------- */
.proof-strip {
  position: relative;
  z-index: 2;
  display: grid;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  grid-template-columns: repeat(3, 1fr);
}

.proof-strip p {
  display: flex;
  margin: 0;
  flex-direction: column;
  gap: 3px;
}

.proof-strip p + p {
  padding-left: 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.proof-strip strong {
  font-family: var(--display);
  font-size: 1.3rem;
  font-weight: 400;
  font-variation-settings: "opsz" 40, "SOFT" 30;
  color: var(--gold);
}

.proof-strip span {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   Marquee band
   ============================================================ */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 20px 0;
  background: var(--ink);
  color: var(--paper);
  border-block: 1px solid rgba(255, 255, 255, 0.08);
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 2;
  pointer-events: none;
}

.marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--ink), transparent);
}

.marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--ink), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  align-items: center;
  gap: 42px;
  animation: marquee 34s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-track span {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 400;
  font-variation-settings: "opsz" 40, "SOFT" 20;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.marquee-track .dot {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.7rem;
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 128px 0;
}

.services-section {
  position: relative;
  background:
    radial-gradient(60% 40% at 90% 0%, rgba(91, 124, 255, 0.07), transparent 60%),
    var(--paper);
}

.section-heading {
  display: grid;
  margin-bottom: 60px;
  align-items: end;
  gap: 22px 7%;
  grid-template-columns: 1fr minmax(280px, 0.46fr);
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.section-heading h2,
.about-copy h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 5.4vw, 5.1rem);
  font-variation-settings: "opsz" 110, "wght" 400, "SOFT" 34, "WONK" 1;
  letter-spacing: -0.025em;
}

.section-heading > p:last-child {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 1.04rem;
}

/* ---------- Service cards ---------- */
.services-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  min-height: 528px;
  padding: 30px;
  flex-direction: column;
  border: 1px solid rgba(21, 26, 36, 0.08);
  border-radius: var(--radius-md);
  color: var(--ink);
  transition: box-shadow 300ms cubic-bezier(0.22, 1, 0.36, 1), transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(200deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 42%);
  pointer-events: none;
}

.service-card-blue {
  background: linear-gradient(165deg, #cdd9fa, var(--sky));
  --glow: rgba(110, 140, 240, 0.5);
}

.service-card-green {
  background: linear-gradient(165deg, #c6ecdd, var(--sage));
  --glow: rgba(80, 200, 165, 0.45);
}

.service-card-coral {
  background: linear-gradient(165deg, #f9e2a6, var(--blush));
  --glow: rgba(230, 185, 85, 0.5);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 34px 60px -28px var(--glow);
}

.service-top {
  display: flex;
  margin-bottom: 40px;
  align-items: center;
  justify-content: space-between;
}

.service-number {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(21, 26, 36, 0.4);
  border-radius: 50%;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.service-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 13px;
  background: rgba(21, 26, 36, 0.9);
  color: var(--paper-2);
  transition: transform 380ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.06);
}

.service-icon svg {
  width: 24px;
  height: 24px;
}

.service-watermark {
  position: absolute;
  right: -24px;
  bottom: -30px;
  z-index: -1;
  color: rgba(21, 26, 36, 0.07);
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service-watermark svg {
  width: 200px;
  height: 200px;
}

.service-card:hover .service-watermark {
  transform: translate(-6px, -6px) rotate(-4deg);
}

.service-card-body {
  flex: 1;
}

.service-kicker {
  margin-bottom: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(21, 26, 36, 0.62);
}

.service-card h3 {
  margin-bottom: 20px;
  font-size: clamp(1.9rem, 2.9vw, 2.6rem);
  font-variation-settings: "opsz" 72, "wght" 440, "SOFT" 20;
  line-height: 1.02;
}

.service-card-body > p:not(.service-kicker) {
  margin-bottom: 26px;
  color: rgba(21, 26, 36, 0.78);
  font-size: 0.95rem;
}

.service-list {
  display: grid;
  margin: 0 0 30px;
  padding: 0;
  gap: 9px;
  font-size: 0.85rem;
  font-weight: 650;
  list-style: none;
}

.service-list li {
  position: relative;
  padding-left: 20px;
}

.service-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--ink);
  transform: rotate(45deg);
}

.service-card .text-link {
  border-color: rgba(21, 26, 36, 0.35);
}

.service-card .text-link:hover {
  border-color: var(--ink);
}

/* ============================================================
   About
   ============================================================ */
.about-section {
  overflow: hidden;
  background: var(--paper-2);
}

.about-grid {
  display: grid;
  align-items: center;
  gap: 8%;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.66fr);
}

/* ---------- LinkedIn profile cards ---------- */
.about-people {
  display: grid;
  gap: 16px;
  align-content: center;
}

.about-people-label {
  margin: 0 2px 4px;
  color: var(--ink-mute);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.person-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 5px;
  padding: 24px 26px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  background: var(--cream);
  text-decoration: none;
  transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 300ms ease, border-color 260ms ease;
}

.person-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.person-card:hover {
  transform: translateY(-4px);
  border-color: rgba(21, 26, 36, 0.28);
  box-shadow: var(--shadow-soft);
}

.person-card:hover::before {
  transform: scaleY(1);
}

.person-role {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.person-name {
  font-family: var(--display);
  font-size: 2rem;
  font-variation-settings: "opsz" 48, "wght" 440, "SOFT" 24, "WONK" 1;
  line-height: 1;
  color: var(--ink);
}

.person-link {
  display: inline-flex;
  margin-top: 12px;
  align-items: center;
  gap: 9px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
}

.person-link svg {
  width: 19px;
  height: 19px;
  color: #0a66c2;
}

.person-link .arrow {
  color: var(--ink-mute);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.person-card:hover .person-link .arrow {
  transform: translate(3px, -3px);
}

.about-copy .eyebrow {
  margin-bottom: 26px;
}

.about-copy h2 {
  margin-bottom: 32px;
}

.about-copy > p {
  max-width: 640px;
  color: var(--ink-soft);
}

.about-copy .about-lead {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.5rem;
  font-variation-settings: "opsz" 44, "wght" 420, "SOFT" 30;
  line-height: 1.4;
}

.principles {
  display: grid;
  margin-top: 42px;
  border-top: 1px solid var(--line);
}

.principles p {
  display: grid;
  margin: 0;
  padding: 20px 0;
  gap: 14px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.88rem;
  grid-template-columns: 30px 150px 1fr;
  transition: padding-left 240ms ease;
}

.principles p:hover {
  padding-left: 8px;
}

.principle-number {
  font-family: var(--display);
  font-size: 0.95rem;
  font-variation-settings: "opsz" 30;
  color: var(--gold);
}

.principles strong {
  color: var(--ink);
  font-weight: 650;
}

/* ============================================================
   Contact
   ============================================================ */
.contact-section {
  padding-bottom: 0;
  background: var(--paper-2);
}

.contact-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  display: grid;
  padding: 72px;
  align-items: end;
  gap: 70px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  background:
    radial-gradient(80% 120% at 100% 0%, rgba(91, 124, 255, 0.14), transparent 55%),
    radial-gradient(70% 100% at 0% 100%, rgba(96, 190, 255, 0.14), transparent 55%),
    var(--ink);
  color: var(--cream);
  grid-template-columns: 1fr minmax(330px, 0.66fr);
}

.contact-copy .eyebrow {
  margin-bottom: 24px;
  color: var(--gold);
}

.contact-copy .eyebrow::before {
  background: var(--gold);
  opacity: 1;
}

.contact-copy h2 {
  max-width: 700px;
  margin-bottom: 0;
  font-size: clamp(2.9rem, 5.6vw, 5.4rem);
  font-variation-settings: "opsz" 120, "wght" 380, "SOFT" 40, "WONK" 1;
}

.contact-actions {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.contact-person {
  position: relative;
  display: flex;
  padding: 22px 44px 22px 16px;
  flex-direction: column;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  text-decoration: none;
  border-radius: 12px;
  transition: background-color 220ms ease, padding-left 220ms ease;
}

.contact-person:hover {
  padding-left: 26px;
  background: rgba(255, 255, 255, 0.05);
}

.contact-person > span:first-child {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-person strong {
  overflow-wrap: anywhere;
  font-size: 0.98rem;
  font-weight: 550;
}

.contact-arrow {
  position: absolute;
  top: 50%;
  right: 16px;
  color: var(--gold);
  font-size: 1.3rem;
  transform: translateY(-50%);
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-person:hover .contact-arrow {
  transform: translate(4px, -50%) rotate(0deg) scale(1.15);
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  padding: 52px 0;
  background: var(--ink);
  color: var(--cream);
}

.footer-inner {
  display: grid;
  align-items: center;
  gap: 24px;
  grid-template-columns: 1fr auto 1fr;
}

.wordmark-footer {
  width: fit-content;
}

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.78rem;
}

.footer .copyright {
  text-align: right;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner {
    min-height: auto;
    gap: 44px;
    padding-top: 164px;
    padding-bottom: 56px;
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 8vw, 5.1rem);
  }

  .hero-portrait {
    justify-self: start;
    width: min(70%, 340px);
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 440px;
  }

  .about-grid {
    gap: 52px;
    grid-template-columns: 1fr;
  }

  .about-people {
    grid-template-columns: 1fr 1fr;
  }

  .about-people-label {
    grid-column: 1 / -1;
  }

  .contact-panel {
    padding: 56px;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 740px) {
  .shell {
    width: min(calc(100% - 30px), var(--shell));
  }

  .site-nav {
    min-height: 74px;
  }

  .wordmark-name {
    font-size: 0.98rem;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links > a:not(.nav-contact) {
    display: none;
  }

  .hero-inner {
    padding-top: 124px;
    padding-bottom: 48px;
  }

  .hero h1 {
    font-size: clamp(2.6rem, 11.2vw, 4rem);
    line-height: 0.98;
  }

  .hero-portrait {
    width: min(80%, 300px);
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .proof-strip {
    gap: 18px;
    grid-template-columns: 1fr;
  }

  .proof-strip p + p {
    padding-top: 18px;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-left: 0;
  }

  .marquee-track span {
    font-size: 1.15rem;
  }

  .section {
    padding: 86px 0;
  }

  .section-heading {
    margin-bottom: 42px;
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .about-copy h2 {
    font-size: clamp(2.6rem, 12.5vw, 4.4rem);
  }

  .section-heading .eyebrow {
    grid-column: auto;
  }

  .service-card {
    min-height: 500px;
    padding: 26px;
  }

  .service-watermark svg {
    width: 160px;
    height: 160px;
  }

  .about-people {
    grid-template-columns: 1fr;
  }

  .principles p {
    gap: 6px 12px;
    grid-template-columns: 28px 1fr;
  }

  .principle-copy {
    grid-column: 2;
    font-size: 0.85rem;
  }

  .contact-panel {
    width: 100%;
    padding: 52px 24px;
    gap: 46px;
    border-radius: 0;
  }

  .contact-copy h2 {
    font-size: clamp(2.9rem, 13.5vw, 4.6rem);
  }

  .footer-inner {
    justify-items: center;
    text-align: center;
    grid-template-columns: 1fr;
  }

  .footer .copyright {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}
