/* ═══════════════════════════════════════════════════════════════
   HAILEY DANG PORTFOLIO — STYLE SHEET
   Design tokens → Reset → Layout → Components → Animations
═══════════════════════════════════════════════════════════════ */

/* ── GOOGLE FONTS imported in HTML ── */

/* ─────────────────────── DESIGN TOKENS ─────────────────────── */
:root {
  /* Color — light mode */
  --bg:           #FFFFFF;
  --surface:      #F7F3FB;
  --elevated:     #EDE7F6;
  --border:       rgba(10, 5, 18, 0.08);
  --border-hover: rgba(10, 5, 18, 0.16);

  --text:         #0A0512;
  --text-muted:   rgba(10, 5, 18, 0.55);
  --text-dim:     rgba(10, 5, 18, 0.35);

  --accent:       #E040FB;
  --accent-glow:  rgba(224, 64, 251, 0.1);
  --accent-hover: #CC00EE;

  /* Typography — Playfair Display for display/headings, Plus Jakarta Sans for body */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --font-sans:    'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --hero-bg:      transparent;
  --magenta:      #E040FB;
  --magenta-warm: #CC00FF;
  --magenta-glow: rgba(224, 64, 251, 0.2);
  --magenta-deep: rgba(180, 0, 230, 0.1);

  /* Spacing */
  --space-4:  4px;
  --space-8:  8px;
  --space-16: 16px;
  --space-24: 24px;
  --space-32: 32px;
  --space-48: 48px;
  --space-64: 64px;
  --space-80: 80px;
  --space-120: 120px;
  --space-160: 160px;

  /* Layout */
  --max-width: 1200px;
  --nav-height: 72px;
  --gutter: clamp(24px, 5vw, 80px);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 100px;

  /* Easing */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: transparent;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ───────────────────────── GRAIN TEXTURE ───────────────────────── */
.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grain 8s steps(2) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  10%       { transform: translate(-2%, -3%); }
  20%       { transform: translate(3%, 2%); }
  30%       { transform: translate(-1%, 4%); }
  40%       { transform: translate(4%, -1%); }
  50%       { transform: translate(-3%, 3%); }
  60%       { transform: translate(2%, -4%); }
  70%       { transform: translate(-4%, 1%); }
  80%       { transform: translate(1%, -2%); }
  90%       { transform: translate(-2%, 4%); }
}

/* ─────────────────────────── NAV ───────────────────────────── */
#nav {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;            /* let clicks pass through outside pill */
  background: transparent;
  border: none;
}

/* Floating centered pill */
.nav-pill {
  pointer-events: all;             /* restore clicks on the pill itself */
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 10px 8px 20px;
  background: rgba(255, 255, 255, 0.97);
  border-radius: 100px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.10), 0 1px 4px rgba(0, 0, 0, 0.06);
  backdrop-filter: blur(0px);      /* pill itself: no blur (it's opaque) */
  -webkit-backdrop-filter: blur(0px);
}

/* Logo — serif display font */
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  padding-right: 8px;
}

.nav-name {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 500;
  color: #1a1a1a;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.nav-logo:hover .nav-name { color: #555; }

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 450;
  color: #3a3a3a;
  padding: 7px 14px;
  border-radius: 100px;
  transition: color 0.18s, background 0.18s;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.nav-link:hover {
  color: #111;
  background: rgba(0, 0, 0, 0.055);
}

/* Resume — dark filled pill */
.nav-resume {
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  padding: 9px 20px;
  background: #111;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-resume:hover {
  background: #2a2a2a;
  transform: translateY(-1px);
}

/* Remove old monogram / scrolled state rules (nav is always pill now) */
.nav-inner { display: none; }
.nav-monogram { display: none; }

/* ─────────────────────────── HERO ──────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  background: var(--hero-bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + var(--space-16)) var(--gutter) 96px;
  overflow: hidden;
  text-align: center;
}

/* Glowing magenta orb — sits centered behind headline + subtitle */
.hero-glow {
  position: absolute;
  top: 50%;                               /* center vertically in hero */
  left: 50%;
  transform: translate(-50%, -50%);       /* fully centered — no bottom clip */
  width: min(900px, 120vw);
  height: min(900px, 120vw);
  border-radius: 50%;                     /* perfectly circular */
  background: radial-gradient(
    circle at 50% 50%,
    rgba(224, 64, 251, 0.22) 0%,
    rgba(200, 40, 240, 0.12) 28%,
    rgba(210, 80, 255, 0.05) 55%,
    transparent 72%
  );
  filter: blur(32px);                     /* soft glow edge */
  pointer-events: none;
  z-index: 0;
}

/* Second inner bloom for extra luminance at the core */
.hero-glow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  height: 38%;
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(224, 64, 251, 0.30) 0%,
    transparent 70%
  );
  filter: blur(20px);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1300px;
  padding-top: 12vh;
  text-align: center;
}

/* ── Hero Headline — Editorial Grotesque ── */
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(39px, 4.1vw, 62px);
  font-weight: 400;
  line-height: 1.10;
  letter-spacing: -0.02em;
  color: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 0 clamp(28px, 3.5vw, 52px);
}

.hero-line {
  display: block;
  white-space: nowrap;
}

/* Only the italic lines — same black, regular weight */
.hero-headline em {
  font-style: italic;
  font-weight: 400;
  color: #111;
}

/* ── Subtext ── */
.hero-sub {
  font-family: var(--font-sans);
  font-size: clamp(13px, 1.4vw, 16px);
  font-weight: 400;
  color: #555;                           /* dark grey */
  letter-spacing: 0.01em;
  line-height: 1.5;
}

.hero-sub strong {
  font-weight: 600;
  color: #333;
}

.sub-sep {
  color: #999;
  margin: 0 0.25em;
}

/* ── Decorative corner anchors ── */
.hero-corner {
  position: absolute;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.hero-corner--bl { left: clamp(20px, 4vw, 56px); }
.hero-corner--br { right: clamp(20px, 4vw, 56px); }

.corner-mark {
  font-size: 16px;
  color: var(--magenta);
  opacity: 0.5;
  animation: cornerSpin 12s linear infinite;
  display: inline-block;
}

@keyframes cornerSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.corner-text {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #BDBDBD;
}

.corner-email {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(224, 64, 251, 0.3);
  font-size: 16px;
  color: var(--magenta);
  opacity: 0.6;
  transition: opacity 0.2s, border-color 0.2s, transform 0.2s var(--ease-out);
  text-decoration: none;
}

.corner-email:hover {
  opacity: 1;
  border-color: var(--magenta);
  transform: scale(1.1);
}

/* ─────────────────────────── BUTTONS ───────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 32px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: background 0.25s, transform 0.2s var(--ease-out), box-shadow 0.25s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(227, 179, 155, 0.25);
}

.btn-primary:active { transform: translateY(0); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  color: var(--text-muted);
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border-hover);
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}

.btn-ghost:hover {
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

/* ─────────────────────────── SECTIONS ──────────────────────── */
.section {
  padding: var(--space-120) var(--gutter);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: var(--space-64);
  text-align: center;
}

.section-label {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;                    /* up from 11px */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-16);
  position: relative;
  padding-left: var(--space-24);
}

.section-label::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ─────────────────────── WORK / CARDS ──────────────────────── */
.work-section {
  background: var(--bg);
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-24);
}

/* ── PROJECT CARD ── Corey West-inspired */
.project-card {
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: border-color 0.3s, transform 0.45s var(--ease-out),
              box-shadow 0.45s var(--ease-out);
  will-change: transform;
  cursor: pointer;
}

.project-card:hover,
.project-card:focus-within {
  transform: translateY(-8px) scale(1.012);
  border-color: rgba(224, 64, 251, 0.25);
  box-shadow: 0 24px 56px rgba(10, 5, 18, 0.1),
              0 0 0 1px rgba(224, 64, 251, 0.12);
}

.card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  outline: none;
}

/* Card image area */
.card-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  aspect-ratio: 16/10;
}

.card-image {
  width: 100%;
  height: 100%;
  transition: transform 0.6s var(--ease-out), filter 0.4s;
}

.project-card:hover .card-image {
  transform: scale(1.04);
  filter: brightness(1.05);
}

/* Placeholder state — light mode */
.card-image--placeholder {
  background: linear-gradient(135deg, #F3E8FC 0%, #EDD8F9 50%, #F5EAFE 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-image--alt {
  background: linear-gradient(135deg, #E8F0FD 0%, #D9E5FA 50%, #E8EFFD 100%);
}

.placeholder-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-8);
  color: var(--text-dim);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.05em;
  user-select: none;
}

.placeholder-icon {
  font-size: 24px;
  color: rgba(224, 64, 251, 0.35);
  animation: iconPulse 3s ease-in-out infinite;
}

@keyframes iconPulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.1) rotate(10deg); }
}

/* Hover overlay CTA */
.card-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
    rgba(224, 64, 251, 0.55) 0%,
    rgba(200, 20, 240, 0.1) 60%,
    transparent 100%);
  display: flex;
  align-items: flex-end;
  padding: var(--space-24);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.project-card:hover .card-hover-overlay { opacity: 1; }

.card-cta {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.02em;
  transform: translateY(8px);
  transition: transform 0.35s var(--ease-out);
}

.project-card:hover .card-cta { transform: translateY(0); }

/* ── COMING SOON card ── */
.project-card--coming-soon {
  cursor: default;
  pointer-events: none; /* not clickable */
}

/* Re-enable pointer events only for the hover overlay effect */
.project-card--coming-soon .card-image-wrap {
  pointer-events: auto;
}

.card-hover-overlay--soon {
  background: linear-gradient(to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.1) 60%,
    transparent 100%);
}

.project-card--coming-soon:hover .card-hover-overlay--soon { opacity: 1; }

.card-cta--soon {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  padding: 6px 16px;
  transform: translateY(8px);
  transition: transform 0.35s var(--ease-out);
}

.project-card--coming-soon:hover .card-cta--soon { transform: translateY(0); }

/* Card body */
.card-body {
  padding: var(--space-24) var(--space-32) var(--space-32);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-8);
  margin-bottom: var(--space-12, 12px);
}

.card-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid rgba(224, 64, 251, 0.2);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  transition: background 0.2s;
}

.project-card:hover .card-tag { background: rgba(224, 64, 251, 0.18); }

.card-year {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 400;
}

.card-title {
  font-family: var(--font-sans);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 600;
  color: var(--text);
  margin-bottom: var(--space-8);
  transition: color 0.25s;
  line-height: 1.3;
}

.project-card:hover .card-title { color: var(--accent); }

.card-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  font-weight: 400;
}

.work-footer {
  margin-top: var(--space-48);
  text-align: center;
}

.work-more {
  font-size: 14px;
  color: var(--text-dim);
  letter-spacing: 0.02em;
}

/* ─────────────────────────── ABOUT ─────────────────────────── */
.about-section {
  background: #F9F5FD;
  border-top: 1px solid rgba(10, 5, 18, 0.07);
  border-bottom: 1px solid rgba(10, 5, 18, 0.07);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-80);
  align-items: start;
}

.about-title {
  font-family: var(--font-serif);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-top: var(--space-16);
  margin-bottom: var(--space-32);
}

.about-title em {
  color: var(--accent);
  font-style: italic;
  font-weight: 700;
}

.about-body p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-16);
}

/* Availability badge (Owen-inspired green dot) */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: var(--radius-pill);
  margin-bottom: var(--space-32);
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ADE80;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.4);
  animation: availPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes availPulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70%  { box-shadow: 0 0 0 8px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.avail-text {
  font-size: 13px;
  font-weight: 600;
  color: #4ADE80;
  letter-spacing: 0.02em;
}

.about-details {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--border);
}

.detail-row:last-child { border-bottom: none; }

.detail-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.detail-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-align: right;
}

/* ──────────────────────────── CONTACT ──────────────────────── */
.contact-section {
  background: var(--bg);
}

.contact-inner {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-top: var(--space-16);
  margin-bottom: var(--space-48);
}

.contact-title em {
  color: var(--accent);
  font-style: italic;
}

.contact-email {
  display: inline-block;
  font-size: clamp(18px, 2.5vw, 26px);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.01em;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
  margin-bottom: var(--space-32);
  transition: color 0.2s;
}

.contact-email:hover { color: var(--accent); }

.contact-links {
  display: flex;
  justify-content: center;
  gap: var(--space-24);
}

.contact-social {
  font-size: 17px;                     /* up from 14px */
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.contact-social:hover { color: var(--text); }

/* ──────────────────────────── FOOTER ───────────────────────── */
/* Footer sits inside the visual meadow space at the bottom of the page */
.footer {
  padding: 95px var(--gutter) 200px;    /* 220-125=95 top, 250-50=200 bottom */
  text-align: center;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-copy {
  font-size: 12px;
  color: #666666;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-name  { display: none; }
.footer-email { display: none; }



/* ─────────────────── REVEAL ANIMATIONS ─────────────────────── */
.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-card {
  opacity: 0;
  transform: translateY(32px) scale(0.98);
  transition: opacity 0.7s var(--ease-out),
              transform 0.7s var(--ease-out);
}

.reveal-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.45s; }

/* Card stagger via nth-child */
.reveal-card:nth-child(1) { transition-delay: 0.05s; }
.reveal-card:nth-child(2) { transition-delay: 0.18s; }

/* ─────────────────────── RESPONSIVE ────────────────────────── */
@media (max-width: 768px) {
  :root {
    --gutter: 20px;
    --space-120: 80px;
  }

  .nav-name { display: none; }
  .nav-links { gap: 0; }

  .work-grid {
    grid-template-columns: 1fr;
    gap: var(--space-16);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-48);
  }

  .about-right { order: -1; }

  /* hero-headline font-size set globally at 36px max — no mobile override needed */

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

  .hero-headline { align-items: center; }

  .hero-photo { order: -1; }

  .hero-photo-img {
    width: clamp(180px, 55vw, 280px);
    height: clamp(240px, 72vw, 360px);
    transform: none;
  }
}

@media (max-width: 480px) {
  .nav-links { display: none; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .btn-primary, .btn-ghost { text-align: center; justify-content: center; }
}

/* ─────────────── FOCUS / ACCESSIBILITY ─────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}


/* ════════════════════════════════════════════════════════
   ABOUT SECTION — Reference layout (light mode)
════════════════════════════════════════════════════════ */

/* Centered eyebrow + tagline header */
.about-header {
  text-align: center;
  margin-bottom: 96px;  /* more breathing room before the two-column body */
}

/* Eyebrow = same as .section-label */
.about-eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 14px;                    /* up from 11px, matches section-label */
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-16);
  position: relative;
  padding-left: var(--space-24);
}
.about-eyebrow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 1px;
  background: var(--accent);
}

/* Tagline = same as .section-title */
.about-tagline {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.about-tagline em {
  font-style: italic;
  color: var(--magenta);
}

/* Two-column body split */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

/* Left column */
.about-left-new {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Symbolic trait list */
.about-traits {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;    /* extra gap below traits, before bio */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-traits li {
  font-size: 20px;                     /* up from 18px */
  color: #444;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.trait-sym {
  color: var(--magenta);
  font-size: 18px;
  flex-shrink: 0;
  width: 20px;
}

/* Bio paragraph */
.about-bio {
  font-size: 19px;                     /* up from 17px */
  color: #555;
  line-height: 1.80;
}

.about-bio strong {
  font-weight: 700;
  color: #1a1a1a;
}

/* "More about me" subtle link */
.about-more-link {
  font-size: 16px;
  color: #999;
  cursor: default;
  margin-top: 20px;    /* extra gap above, separating from bio */
}

/* CTA pill button */
.about-cta-btn {
  display: inline-block;
  border: 1.5px solid #1a1a1a;
  border-radius: 100px;
  padding: 14px 32px;
  font-size: 16px;                     /* up from 13px */
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a1a1a;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
  align-self: flex-start;
}

.about-cta-btn:hover {
  background: #1a1a1a;
  color: #fff;
}

/* Right column — avatar */
.about-avatar-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-avatar {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 4px 16px rgba(0, 0, 0, 0.08);
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .about-split {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-avatar-wrap { order: -1; }

  .about-avatar {
    max-width: 220px;
    aspect-ratio: 1 / 1;
  }

  .about-tagline { font-size: clamp(24px, 8vw, 36px); }
}
