/* ============================================
   JEEHAE HWANG — Personal Real Estate Brand
   Sleek Luxury Aesthetic
   ============================================ */

/* Google Fonts loaded via <link> in HTML for performance */

/* --- Design Tokens --- */
:root {
  /* Colors */
  --bg-primary: #F2F1EF;
  --bg-secondary: #D9D2CC;
  --bg-tertiary: #E8E4DF;
  --gold: #4a4a4a;
  --gold-light: #6a6a6a;
  --gold-dark: #333333;
  --gold-gradient: linear-gradient(135deg, #4a4a4a 0%, #6a6a6a 50%, #4a4a4a 100%);
  --text-primary: #4a4a4a;
  --text-secondary: #7a7a7a;
  --text-muted: #aaaaaa;
  --border: #D0C9C2;
  --border-light: #B8B0A8;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 12vw, 160px);
  --container-width: 1200px;
  --container-pad: clamp(20px, 5vw, 40px);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Noise Texture Overlay (applied to body) --- */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  z-index: 10000;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

/* --- Section Label --- */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--gold);
}

.section-label--center {
  justify-content: center;
}

.section-label--center::before {
  display: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  transition: background-color 0.5s var(--ease-out),
              border-color 0.5s var(--ease-out),
              backdrop-filter 0.5s var(--ease-out);
  border-bottom: 1px solid transparent;
}

.nav--scrolled {
  background-color: rgba(242, 241, 239, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--border);
}

/* Pages with a hero image: nav links go white on hero, solid on scroll */
.nav--hero .nav__link,
.nav--hero .nav__logo {
  color: rgba(255,255,255,0.88);
}
.nav--hero.nav--scrolled .nav__link,
.nav--hero.nav--scrolled .nav__logo {
  color: inherit;
}

.nav__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  transition: opacity 0.3s ease;
}

.nav__logo:hover {
  opacity: 0.8;
}

.nav__logo-img {
  height: 36px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: color 0.3s ease;
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.nav__link:hover,
.nav__link--active {
  color: var(--text-primary);
}

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
  z-index: 10001;
}

.nav__hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--text-primary);
  transition: transform 0.4s var(--ease-out), opacity 0.3s ease;
}

.nav__hamburger--active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

/* Subtle radial glow behind hero */
.hero::before {
  content: '';
  position: absolute;
  top: 30%;
  right: 15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(74, 74, 74, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero__content {
  position: relative;
}

.hero__subtitle {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out) 0.5s forwards;
}

.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__description {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 440px;
  margin-bottom: 40px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero__cta {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

/* Gold accent line in hero */
.hero__accent {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 80px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  opacity: 0;
  animation: fadeIn 1s var(--ease-out) 1.2s forwards;
}

/* Hero image */
.hero__image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}

.hero__image-frame {
  position: relative;
  width: 380px;
  height: 480px;
}

.hero__image-frame::before {
  content: '';
  position: absolute;
  top: -8px;
  right: -8px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

.hero__image-frame:hover::before {
  opacity: 0.6;
}

.hero__headshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(15%);
  transition: filter 0.5s ease;
}

.hero__image-frame:hover .hero__headshot {
  filter: grayscale(0%);
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: all 0.4s var(--ease-out);
  position: relative;
}

.btn--gold {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn--gold:hover {
  background: var(--gold);
  color: var(--bg-primary);
  box-shadow: 0 0 30px rgba(74, 74, 74, 0.15);
}

.btn--gold-filled {
  background: var(--gold);
  color: var(--bg-primary);
  border: 1px solid var(--gold);
}

.btn--gold-filled:hover {
  background: var(--gold-light);
  box-shadow: 0 0 30px rgba(74, 74, 74, 0.2);
}

.btn__arrow {
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

/* ============================================
   SERVICES / WHAT I DO
   ============================================ */
.services {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
}

/* Top gold line */
.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold));
}

.services__header {
  text-align: center;
  margin-bottom: 60px;
}

.services__header .section-label {
  justify-content: center;
}

.services__header .section-label::before {
  display: none;
}

.services__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  color: var(--text-primary);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  padding: 40px 32px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  transition: border-color 0.5s ease, transform 0.5s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gold-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-out);
}

.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
}

.service-card:hover::after {
  transform: scaleX(1);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  margin-bottom: 24px;
  color: var(--gold);
}

.service-card__icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
}

.service-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   STATS / CREDENTIALS
   ============================================ */
.stats {
  padding: 60px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats__container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.stat {
  text-align: center;
  display: flex;
  align-items: center;
  gap: 60px;
}

.stat:last-child {
  gap: 0;
}

.stat__text {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  white-space: nowrap;
}

.stat__divider {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  padding: 60px 0 40px;
  border-top: 1px solid var(--gold);
  background: var(--bg-primary);
}

.footer__container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer__logo {
  height: 50px;
  width: auto;
}

.footer__name {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
}

.footer__name-img {
  height: 32px;
  width: auto;
}

.footer__tagline {
  font-size: 13px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

.footer__social {
  display: flex;
  gap: 20px;
  margin-top: 8px;
}

.footer__social-link {
  width: 40px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

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

.footer__social-link svg {
  width: 18px;
  height: 18px;
}

.footer__legal {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 16px;
}

.footer__legal-img {
  height: 18px;
  width: auto;
}

/* ============================================
   ABOUT PAGE — BIO
   ============================================ */
.page-header {
  padding: calc(80px + var(--section-pad)) 0 var(--section-pad);
  text-align: center;
}

.page-header__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--text-primary);
  margin-top: 16px;
}

.bio {
  padding: 0 0 var(--section-pad);
}

.bio__container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}

.bio__image-wrapper {
  position: relative;
}

.bio__image-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.bio__image-frame::before {
  content: '';
  position: absolute;
  bottom: -8px;
  left: -8px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--gold);
  opacity: 0.3;
  z-index: -1;
}

.bio__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio__content {
  padding-top: 20px;
}

.bio__text {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.bio__text:first-of-type {
  font-size: 18px;
  color: var(--text-primary);
}

/* ============================================
   APPROACH SECTION
   ============================================ */
/* ========== ABOUT HERO (full-bleed skyline) ========== */
.about-hero {
  position: relative;
  height: 70vh;
  min-height: 420px;
  max-height: 720px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-top: 0;
}

.about-hero__image-wrap {
  position: absolute;
  inset: 0;
}

.about-hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  filter: sepia(25%) saturate(80%) brightness(0.85);
}

.about-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(20,16,10,0.65) 0%, rgba(20,16,10,0.1) 35%, rgba(20,16,10,0.0) 60%, rgba(20,16,10,0.6) 100%);
}

.about-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 40px 52px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.about-hero__label {
  font-family: 'Outfit', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 10px;
}

.about-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: #fff;
  margin: 0;
  line-height: 1.15;
}

/* Fallback: if image missing, show dark bg */
.about-hero__image-wrap:not(:has(img[src])) {
  background: #1c1a18;
}

@media (max-width: 600px) {
  .about-hero {
    height: 55vh;
    min-height: 300px;
  }
  .about-hero__content {
    padding: 0 24px 36px;
  }
}

/* ========================================= */

/* ========== TESTIMONIAL ========== */
.testimonial {
  padding: 80px 0;
  background: #f5f3ef;
}

.testimonial__inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.testimonial__mark {
  width: 32px;
  height: auto;
  color: #c8a96e;
  opacity: 0.6;
  margin-bottom: 28px;
}

.testimonial__quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.2rem, 2.5vw, 1.65rem);
  line-height: 1.7;
  color: #2a2420;
  margin: 0 0 32px;
  border: none;
  padding: 0;
}

.testimonial__attribution {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.testimonial__name {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #2a2420;
  margin: 0;
}

.testimonial__title {
  font-family: 'Outfit', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #888;
  margin: 0;
}

/* ========================================= */

/* ========== PULL QUOTE ========== */
.pull-quote {
  background: #1c1a18;
  padding: 100px 24px;
  text-align: center;
}

.pull-quote__inner {
  max-width: 820px;
  margin: 0 auto;
}

.pull-quote__text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.5;
  color: #f0eeeb;
  margin: 0 0 28px;
  border: none;
  padding: 0;
}

.pull-quote__attribution {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(240,238,235,0.4);
  margin: 0;
}

/* ========================================= */

/* ========== BIO CREDENTIALS ROW ========== */
.bio__credentials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.bio__cred-item {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888;
}

.bio__cred-divider {
  color: #ccc;
  font-size: 12px;
}

/* ========================================= */

.approach {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
}

.approach__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  color: var(--text-primary);
}

.approach__title--center {
  text-align: center;
}

.approach__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 48px;
}

.approach__grid--two {
  grid-template-columns: repeat(2, 1fr);
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.approach-card {
  padding: 36px;
  border: 1px solid var(--border);
  background: var(--bg-primary);
  transition: border-color 0.4s ease;
}

.approach-card:hover {
  border-color: var(--border-light);
}

.approach-card__number {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 300;
  color: var(--gold);
  opacity: 0.5;
  margin-bottom: 16px;
}

.approach-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.approach-card__text {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
  padding: var(--section-pad) 0;
}

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

.contact__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact__subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.form-group {
  position: relative;
}

.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  padding: 14px 18px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 1px rgba(74, 74, 74, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact__form .btn {
  align-self: flex-start;
  margin-top: 8px;
}

.contact__status {
  font-size: 14px;
  margin-top: 12px;
  min-height: 20px;
  transition: opacity 0.3s ease;
}

.contact__status--success {
  color: #2e7d32;
}

.contact__status--error {
  color: #c62828;
}

.contact__alt {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-secondary);
}

.contact__alt a {
  color: var(--gold);
  transition: opacity 0.3s ease;
}

.contact__alt a:hover {
  opacity: 0.8;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__subtitle,
  .hero__title,
  .hero__description,
  .hero__cta,
  .hero__image-wrapper,
  .hero__accent {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ============================================
   KEYFRAMES
   ============================================ */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* ============================================
   RESPONSIVE — TABLET (768px)
   ============================================ */
@media (max-width: 1024px) {
  .hero__container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero__content {
    order: 2;
  }

  .hero__image-wrapper {
    order: 1;
  }

  .hero__image-frame {
    width: 280px;
    height: 350px;
    margin: 0 auto;
  }

  .hero__description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__cta {
    display: flex;
    justify-content: center;
  }

  .services__grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }

  .bio__container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bio__image-frame {
    max-width: 400px;
    margin: 0 auto;
  }

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

/* ============================================
   RESPONSIVE — MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(242, 241, 239, 0.98);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

  .nav__links--open {
    opacity: 1;
    visibility: visible;
  }

  .nav__links--open .nav__link {
    font-size: 18px;
    letter-spacing: 4px;
  }

  .nav__hamburger {
    display: flex;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .hero__image-frame {
    width: 220px;
    height: 280px;
  }

  .hero__title {
    font-size: clamp(32px, 8vw, 44px);
  }

  .stats__container {
    flex-direction: column;
    gap: 20px;
  }

  .stat {
    gap: 0;
  }

  .stat__divider {
    display: none;
  }
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 99999;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  background: var(--gold);
}

.cursor-ring {
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  opacity: 0;
  transition: width 0.3s var(--ease-out),
              height 0.3s var(--ease-out),
              border-color 0.3s ease,
              opacity 0.3s ease;
}

.cursor-ring--hover {
  width: 52px;
  height: 52px;
  border-color: var(--gold-light);
}

/* Hide default cursor on desktop */
@media (pointer: fine) {
  body.has-cursor,
  body.has-cursor a,
  body.has-cursor button,
  body.has-cursor input,
  body.has-cursor textarea {
    cursor: none;
  }
}

/* ============================================
   3D TILT — HERO HEADSHOT
   ============================================ */
.hero__image-frame {
  perspective: 800px;
  transform-style: preserve-3d;
}

.hero__headshot {
  transition: filter 0.5s ease, transform 0.15s ease;
  will-change: transform;
}

/* ============================================
   ENHANCED CARD HOVERS
   ============================================ */
.service-card {
  transition: border-color 0.5s ease, transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
}

.service-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.service-card__icon svg {
  transition: transform 0.4s var(--ease-out);
}

.service-card:hover .service-card__icon svg {
  transform: scale(1.1);
}

.approach-card {
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.approach-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.05);
}

.approach-card__number {
  transition: opacity 0.4s ease;
}

.approach-card:hover .approach-card__number {
  opacity: 0.8;
}

/* ============================================
   MAGNETIC BUTTON EFFECT
   ============================================ */
.btn {
  will-change: transform;
  transition: all 0.4s var(--ease-out), transform 0.2s ease;
}

/* ============================================
   FOOTER SOCIAL HOVER ENHANCEMENT
   ============================================ */
.footer__social-link {
  transition: all 0.3s ease, transform 0.3s var(--ease-out);
}

.footer__social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ============================================
   PARALLAX HERO
   ============================================ */
.hero__image-wrapper {
  will-change: transform;
}

.hero__content {
  will-change: transform;
}

/* ============================================
   UTILITY
   ============================================ */
/* ============================================
   BLOG — LISTING PAGE
   ============================================ */
.blog-listing {
  padding: calc(80px + var(--section-pad)) 0 var(--section-pad);
}

.blog-listing__header {
  text-align: center;
  margin-bottom: 60px;
}

.blog-listing__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  color: var(--text-primary);
  margin-top: 16px;
}

.blog-listing__subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 16px auto 0;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.blog-card {
  border: 1px solid var(--border);
  background: var(--bg-primary);
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.blog-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.06);
}

.blog-card__image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
}

.blog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.blog-card:hover .blog-card__image img {
  transform: scale(1.03);
}

.blog-card__body {
  padding: 28px 28px 32px;
}

.blog-card__date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.blog-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 12px;
  transition: color 0.3s ease;
}

.blog-card:hover .blog-card__title {
  color: var(--gold);
}

.blog-card__excerpt {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.blog-card__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s var(--ease-out);
}

.blog-card:hover .blog-card__link {
  gap: 12px;
}

/* ============================================
   BLOG — ARTICLE PAGE
   ============================================ */
.article {
  padding: calc(80px + 60px) 0 var(--section-pad);
}

.article__container {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.article__meta {
  margin-bottom: 32px;
}

.article__date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.article__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.article__subtitle {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.article__hero-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin-bottom: 48px;
  background: var(--bg-secondary);
}

.article__hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Article body typography */
.article__body h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 500;
  color: var(--text-primary);
  margin: 48px 0 20px;
  line-height: 1.2;
}

.article__body h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--text-primary);
  margin: 36px 0 16px;
}

.article__body p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 24px;
}

.article__body p:first-child {
  font-size: 18px;
  color: var(--text-primary);
}

.article__body strong {
  color: var(--text-primary);
  font-weight: 500;
}

.article__body em {
  font-style: italic;
}

.article__body ul,
.article__body ol {
  padding-left: 24px;
  margin-bottom: 24px;
}

.article__body li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 8px;
}

.article__body blockquote {
  border-left: 2px solid var(--gold);
  padding: 16px 24px;
  margin: 32px 0;
  background: var(--bg-tertiary);
}

.article__body blockquote p {
  font-size: 17px;
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 0;
}

/* Stat callout boxes */
.stat-callout {
  background: var(--bg-secondary);
  padding: 32px;
  margin: 32px 0;
  border-left: 3px solid var(--gold);
  overflow: hidden;
}

.stat-callout__image {
  width: 100%;
  height: 200px;
  margin: -32px -32px 24px -32px;
  width: calc(100% + 64px);
  overflow: hidden;
  background: var(--bg-secondary);
}

.stat-callout__number {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.stat-callout__label {
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: 1px;
}

/* Article CTA */
.article__cta {
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  text-align: center;
}

.article__cta-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.article__cta-text {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

/* Back to blog link */
.article__back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 32px;
  transition: color 0.3s ease, gap 0.3s var(--ease-out);
}

.article__back:hover {
  color: var(--gold);
  gap: 12px;
}

/* ============================================
   DEPTH PARALLAX — 3D Image Component
   ============================================ */
.depth-parallax {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-secondary);
  cursor: crosshair;
}

.depth-parallax__canvas {
  position: absolute;
  top: -2%;     /* slight oversize to hide edge gaps during displacement */
  left: -2%;
  width: 104%;
  height: 104%;
  object-fit: cover;
}

.depth-parallax__fallback {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Fade in once WebGL is ready */
.depth-parallax__canvas {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out);
}

.depth-parallax--loaded .depth-parallax__canvas {
  opacity: 1;
}

/* Mobile: slightly reduce the oversize since gyro is subtler */
@media (max-width: 768px) {
  .depth-parallax__canvas {
    top: -1%;
    left: -1%;
    width: 102%;
    height: 102%;
  }
}

/* ============================================
   BLOG — RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }

  .article__body h2 {
    margin-top: 36px;
  }

  .stat-callout {
    padding: 24px;
  }

  .stat-callout__number {
    font-size: 32px;
  }
}

/* ============================================
   UTILITIES
   ============================================ */
.text-gold { color: var(--gold); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
