/*
Theme Name: PAES Arts, Entertainment & Sports
Theme URI: https://paesco.com
Author: PAES
Author URI: https://paesco.com
Description: Boutique talent management for artists and athletes. Editorial luxury aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: paes
Tags: custom-background, custom-logo, custom-menu, full-width-template, one-column
*/

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --black: #0a0a0a;
  --white: #f5f2ed;
  --cream: #ede8e0;
  --warm-gray: #b8b0a4;
  --accent: #c9a96e;
  --accent-dark: #9a7a48;
  --text-dark: #1a1816;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', Helvetica, sans-serif;
  --font-mono: 'Courier New', monospace;

  --transition: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.2s ease;

  --max-width: 1400px;
  --section-pad: clamp(80px, 12vw, 160px);
  --nav-height: 80px;
}

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

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

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  cursor: default;
}

body.light-page {
  background-color: var(--white);
  color: var(--text-dark);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.display-xl {
  font-size: clamp(72px, 12vw, 180px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  font-style: italic;
}

.display-lg {
  font-size: clamp(48px, 7vw, 100px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.0;
}

.display-md {
  font-size: clamp(32px, 4.5vw, 64px);
  font-weight: 300;
  line-height: 1.15;
}

.label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.body-lg {
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: 300;
  line-height: 1.75;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease, background 0.3s ease;
  mix-blend-mode: normal;
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
  opacity: 0.6;
}

body:has(a:hover) .cursor,
body:has(button:hover) .cursor {
  width: 14px;
  height: 14px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.light-page .site-header.scrolled {
  background: rgba(245, 242, 237, 0.92);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  transition: color var(--transition-fast);
}

.light-page .site-logo {
  color: var(--text-dark);
}

.site-logo:hover {
  color: var(--accent);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(32px, 4vw, 56px);
  list-style: none;
}

.primary-nav a {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-gray);
  position: relative;
  transition: color var(--transition-fast);
}

.primary-nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.primary-nav a:hover {
  color: var(--white);
}

.light-page .primary-nav a:hover {
  color: var(--text-dark);
}

.primary-nav a:hover::after {
  width: 100%;
}

.nav-instagram {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--warm-gray) !important;
}

.nav-instagram svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--white);
  transition: var(--transition);
}

.light-page .nav-toggle span {
  background: var(--text-dark);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--white);
  transition: color var(--transition-fast);
}

.mobile-nav a:hover {
  color: var(--accent);
}

/* ============================================================
   HERO — HOME
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.45);
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to   { transform: scale(1.0); }
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,10,10,0.95) 0%,
    rgba(10,10,10,0.3) 50%,
    rgba(10,10,10,0.1) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 clamp(24px, 5vw, 80px) clamp(60px, 8vw, 120px);
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-label {
  color: var(--accent);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 0.3s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(64px, 11vw, 160px);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeUp 0.9s 0.5s forwards;
}

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

.hero-tagline {
  font-size: clamp(14px, 1.2vw, 17px);
  color: var(--warm-gray);
  max-width: 420px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.9s 0.75s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: clamp(32px, 5vw, 60px);
  right: clamp(24px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeIn 1s 1.2s forwards;
  z-index: 2;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-gray);
  writing-mode: vertical-lr;
  transform: rotate(180deg);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--warm-gray), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

/* ============================================================
   HOME SECTIONS
   ============================================================ */
.section-intro {
  padding: var(--section-pad) 0;
  position: relative;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.intro-label {
  color: var(--accent);
  margin-bottom: 28px;
}

.intro-heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 36px;
}

.intro-heading em {
  font-style: italic;
  color: var(--accent);
}

.intro-text {
  color: var(--warm-gray);
  font-size: 17px;
  line-height: 1.85;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 18px 36px;
  position: relative;
  overflow: hidden;
  transition: color var(--transition), border-color var(--transition);
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform var(--transition);
  z-index: 0;
}

.btn-primary:hover {
  border-color: var(--accent);
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-primary svg {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: transform var(--transition);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* Pillars / Services section */
.section-pillars {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.pillars-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 80px;
}

.pillars-heading {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 300;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
}

.pillar-item {
  background: var(--black);
  padding: 56px 40px;
  transition: background var(--transition);
}

.pillar-item:hover {
  background: #111;
}

.pillar-number {
  font-family: var(--font-display);
  font-size: 72px;
  font-weight: 300;
  color: rgba(255,255,255,0.06);
  line-height: 1;
  margin-bottom: 24px;
  font-style: italic;
  transition: color var(--transition);
}

.pillar-item:hover .pillar-number {
  color: var(--accent);
}

.pillar-title {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 300;
  margin-bottom: 16px;
  color: var(--white);
}

.pillar-desc {
  font-size: 14px;
  color: var(--warm-gray);
  line-height: 1.75;
}

/* Divider text strip */
.strip {
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  overflow: hidden;
  white-space: nowrap;
}

.strip-inner {
  display: inline-flex;
  animation: marquee 20s linear infinite;
}

.strip-text {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 300;
  font-style: italic;
  color: rgba(255,255,255,0.07);
  padding-right: 80px;
}

.strip-text em {
  color: var(--accent);
  font-style: normal;
}

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

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-height) + clamp(60px, 10vw, 140px));
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
}

.page-hero-label {
  color: var(--accent);
  margin-bottom: 24px;
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(56px, 9vw, 128px);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
}

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

/* About body */
.about-body {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
}

.about-sidebar .label {
  color: var(--accent);
  display: block;
  margin-bottom: 20px;
}

.about-sidebar-quote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 300;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}

.about-content p {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.85;
  color: rgba(245, 242, 237, 0.8);
  margin-bottom: 28px;
}

.about-content p:first-child {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  color: var(--white);
  font-weight: 300;
  line-height: 1.5;
}

.about-cta-strip {
  margin-top: var(--section-pad);
  padding: clamp(60px, 8vw, 120px) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.about-cta-strip h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  margin-bottom: 40px;
}

.about-cta-strip h2 em {
  font-style: italic;
  color: var(--accent);
}

/* ============================================================
   TEAM PAGE
   ============================================================ */
.team-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.team-member {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 7vw, 120px);
  align-items: start;
  padding: clamp(60px, 8vw, 100px) 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.team-member:first-child {
  padding-top: 0;
}

.team-member.reverse {
  direction: rtl;
}

.team-member.reverse > * {
  direction: ltr;
}

.team-photo-wrap {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.team-photo-wrap::before {
  content: '';
  position: absolute;
  inset: 16px 16px -16px -16px;
  border: 1px solid var(--accent);
  z-index: 0;
  opacity: 0.4;
  transition: all var(--transition);
}

.team-photo-wrap:hover::before {
  inset: 8px 8px -8px -8px;
  opacity: 0.7;
}

.team-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
  filter: grayscale(20%);
  transition: filter var(--transition), transform var(--transition);
}

.team-photo-wrap:hover img {
  filter: grayscale(0%);
  transform: scale(1.03);
}

.team-info {
  padding-top: 20px;
}

.team-role {
  color: var(--accent);
  margin-bottom: 16px;
  display: block;
}

.team-name {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 8px;
}

.team-credentials {
  font-family: var(--font-display);
  font-size: clamp(16px, 1.5vw, 20px);
  font-style: italic;
  color: var(--warm-gray);
  margin-bottom: 36px;
}

.team-bio p {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(245, 242, 237, 0.7);
  margin-bottom: 20px;
}

.team-expertise {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.team-expertise .label {
  color: var(--accent);
  display: block;
  margin-bottom: 16px;
}

.expertise-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.expertise-tag {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--warm-gray);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 8px 16px;
  transition: all var(--transition-fast);
}

.expertise-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: var(--section-pad) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px, 8vw, 140px);
  align-items: start;
}

.contact-left .label {
  color: var(--accent);
  display: block;
  margin-bottom: 24px;
}

.contact-left h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  margin-bottom: 32px;
}

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

.contact-left p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--warm-gray);
  margin-bottom: 48px;
}

.contact-email-link {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 32px);
  font-style: italic;
  color: var(--white);
  border-bottom: 1px solid var(--accent);
  padding-bottom: 4px;
  display: inline-block;
  transition: color var(--transition-fast);
}

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

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.form-field {
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  transition: border-color var(--transition-fast);
  margin-bottom: 0;
}

.form-field:focus-within {
  border-color: var(--accent);
}

.form-field label {
  display: block;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--warm-gray);
  padding: 20px 0 8px;
  transition: color var(--transition-fast);
}

.form-field:focus-within label {
  color: var(--accent);
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  padding: 0 0 20px;
  resize: none;
}

.form-field textarea {
  min-height: 100px;
}

.form-field select option {
  background: var(--black);
  color: var(--white);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-submit {
  margin-top: 48px;
}

.btn-submit {
  width: 100%;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 22px 40px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--transition), border-color var(--transition);
}

.btn-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-101%);
  transition: transform var(--transition);
  z-index: 0;
}

.btn-submit:hover {
  border-color: var(--accent);
}

.btn-submit:hover::before {
  transform: translateX(0);
}

.btn-submit span {
  position: relative;
  z-index: 1;
}

/* PAES wordmark — contact page bottom */
.contact-wordmark {
  margin-top: var(--section-pad);
  padding-top: clamp(60px, 8vw, 120px);
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  overflow: hidden;
}

.wordmark-lines {
  font-family: var(--font-display);
  font-size: clamp(56px, 10vw, 180px);
  font-weight: 300;
  line-height: 1.0;
  color: rgba(255,255,255,0.04);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.wordmark-lines span {
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 48px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.footer-links a {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

/* ============================================================
   PAGE TRANSITIONS & ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16,1,0.3,1), transform 0.8s cubic-bezier(0.16,1,0.3,1);
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Horizontal line reveal */
.line-reveal {
  overflow: hidden;
}

.line-reveal-inner {
  display: block;
  transform: translateY(100%);
  transition: transform 0.9s cubic-bezier(0.16,1,0.3,1);
}

.line-reveal.visible .line-reveal-inner {
  transform: translateY(0);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .primary-nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .intro-grid,
  .about-grid,
  .contact-grid,
  .team-member {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .team-member.reverse {
    direction: ltr;
  }

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

  .pillars-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-scroll {
    display: none;
  }
}

@media (max-width: 600px) {
  .team-photo-wrap {
    aspect-ratio: 4/5;
  }

  .wordmark-lines {
    font-size: clamp(40px, 14vw, 80px);
  }
}
