/* ==========================================================================
   Paras Soni — Personal Website Design System & Layout
   Production stylesheet for https://parassoni.com/
   ========================================================================== */

:root {
  /* Color Tokens */
  --color-stone: #E9E9E7;
  --color-obsidian: #141017;
  --color-white: #FFFFFF;
  --color-black: #000000;
  --color-muted: #5F6567;
  --color-charcoal: #242627;
  --color-lilac: #D9AFD0;
  --color-hairline: rgba(0, 0, 0, 0.15);
  --color-hairline-light: rgba(255, 255, 255, 0.16);
  --color-pill-bg: rgba(28, 24, 32, 0.56);
  --color-pill-bg-hover: rgba(28, 24, 32, 0.72);
  --color-white-20: rgba(255, 255, 255, 0.2);

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Fluid Type Scale */
  --text-xl: clamp(64px, 9vw, 180px);
  --text-l: clamp(48px, 6vw, 120px);
  --text-h1: clamp(36px, 3vw, 90px);
  --text-h2: clamp(28px, 1.9vw, 60px);
  --text-h3: clamp(24px, 1.5vw, 50px);
  --text-lead: clamp(18px, 0.95vw, 28px);
  --text-body: clamp(16px, 0.8vw, 22px);
  --text-nav-top: clamp(14px, 0.65vw, 18px);
  --text-micro: clamp(10px, 0.45vw, 12px);

  /* Layout & Radii */
  --container-max: 2000px;
  --gutter: 30px;
  --radius-card: 60px;
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--color-stone);
  color: var(--color-black);
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.4;
  background-color: var(--color-stone);
  color: var(--color-black);
  overflow-x: clip;
}

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

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

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

/* Utility Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Diagonal Arrow SVG Helper */
.arrow-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-out-expo);
}

/* Page Entrance Curtain (matches Elementor e-page-transition) */
.page-transition-curtain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--color-stone);
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.35s;
}

.page-transition-curtain.is-done {
  opacity: 0;
  visibility: hidden;
}

/* Scroll-triggered Entrance Animations (1.25s matching Elementor .animated) */
[data-animate] {
  opacity: 0;
}

[data-animate="fadeInUp"].is-visible {
  animation: fadeInUp 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

[data-animate="fadeInDown"].is-visible {
  animation: fadeInDown 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.footer-connect-line {
  display: block;
}

/* ==========================================================================
   Top Header Bar
   ========================================================================== */
.site-header {
  position: relative;
  z-index: 100;
  width: 100%;
  min-height: 100px;
  padding: 20px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-header--compact {
  min-height: 90px;
}

.brand-wordmark {
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -3px;
  line-height: 1.2;
  color: var(--color-black);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  animation: slideInDown 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: opacity 0.3s ease;
}

.brand-wordmark:hover {
  opacity: 0.7;
}

.brand-agency-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 3vw, 48px);
  animation: slideInDown 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.availability-text {
  font-size: var(--text-nav-top);
  font-weight: 400;
  color: var(--color-charcoal);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: var(--text-nav-top);
  font-weight: 400;
  color: var(--color-black);
}

.header-cta .arrow-icon {
  width: 18px;
  height: 18px;
}

.header-cta:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* Mobile Menu Trigger */
.mobile-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  z-index: 210;
}

.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background-color: var(--color-black);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(45deg);
}

.mobile-menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 20px;
  right: 20px;
  background: var(--color-white);
  border-radius: 20px;
  padding: 24px;
  z-index: 200;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.14);
  flex-direction: column;
  gap: 16px;
}

.mobile-drawer.is-open {
  display: flex;
  animation: fadeInDown 0.3s var(--ease-out-expo) both;
}

.mobile-drawer a {
  font-size: 16px;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 1px solid var(--color-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-drawer a:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Floating Bottom Pill Navigation
   ========================================================================== */
.floating-pill-nav {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 150;
  background-color: var(--color-pill-bg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 60px;
  padding: 6px 20px;
  display: flex;
  align-items: center;
  gap: 2px;
  animation: pillSlideUp 1.25s cubic-bezier(0.22, 1, 0.36, 1) both;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.floating-pill-nav:hover {
  background-color: var(--color-pill-bg-hover);
}

.floating-pill-nav a {
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--text-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  padding: 12px 12px;
  border-radius: 40px;
  transition: color 0.3s ease, opacity 0.3s ease;
}

.floating-pill-nav a:hover,
.floating-pill-nav a.is-active {
  color: var(--color-white);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  background-color: var(--color-stone);
  margin-top: -100px;
  padding-top: 100px;
  overflow: hidden;
  z-index: 1;
}

.hero-inner {
  position: relative;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: flex-end;
  min-height: 85vh;
}

.hero-name-col {
  position: relative;
  width: 36%;
  z-index: 8;
  padding-bottom: 11.5vw;
  padding-left: 5.5vw;
  pointer-events: none;
}

.hero-name-line {
  font-size: clamp(72px, 10.5vw, 185px);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--color-black);
  white-space: nowrap;
  will-change: transform;
}

.hero-name-line--first {
  margin-right: -14vw;
}

.hero-name-line--last {
  margin-right: -22vw;
  padding-left: 7vw;
}

.hero-name-enter {
  display: inline-block;
}

.hero-name-enter--down {
  animation: fadeInDown 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-name-enter--up {
  animation: fadeInUp 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.hero-portrait-col {
  position: relative;
  width: 64%;
  min-height: 80vh;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
}

.hero-portrait-wrap {
  position: absolute;
  right: 7vw;
  bottom: -4vh;
  z-index: 1;
  height: clamp(360px, 52vw, 84vh);
  display: flex;
  align-items: flex-end;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.hero-portrait-img {
  height: 100%;
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  filter: grayscale(100%) contrast(1.06);
}

/* Organic Wavy Obsidian Overlay Transition */
.hero-wave-transition {
  position: relative;
  width: 100%;
  z-index: 3;
  margin-top: -12vw;
  line-height: 0;
  pointer-events: none;
}

.hero-wave-svg {
  display: block;
  width: 100%;
  height: auto;
}

/* ==========================================================================
   Dark Role Stack & Bio Section (#141017)
   ========================================================================== */
.dark-intro-section {
  position: relative;
  background-color: var(--color-obsidian);
  color: var(--color-stone);
  z-index: 2;
  padding-top: 0;
  padding-bottom: 18vh;
  margin-top: -3.2vw;
}

.role-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1vh var(--gutter) 0;
  overflow: hidden;
  user-select: none;
}

.role-slot {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 2vh 0;
}

.role-slot--plus {
  padding: 4vh 0;
}

.role-word {
  font-size: var(--text-l);
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-muted);
  letter-spacing: -0.02em;
  will-change: transform, opacity, filter;
  transition: color 0.3s ease;
}

.role-plus {
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 0.9;
  color: var(--color-muted);
  margin: 0.1em 0;
  display: inline-block;
  will-change: transform, opacity;
}

.intro-spacer {
  height: 18vh;
}

.bio-block {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 18%;
}

.bio-heading {
  font-size: var(--text-h3);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-stone);
  margin-bottom: 36px;
}

.bio-paragraphs {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 44px;
}

.bio-paragraphs p {
  font-size: var(--text-lead);
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-stone);
}

.bio-cta {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--color-stone);
  padding: 8px 0;
  transition: opacity 0.25s ease;
}

.bio-cta .arrow-icon {
  width: 20px;
  height: 20px;
}

.bio-cta:hover .arrow-icon {
  transform: translate(4px, -4px);
}

/* ==========================================================================
   Selected Work — Sticky Stacked Portfolio Cards
   ========================================================================== */
.work-section {
  position: relative;
  background-color: var(--color-obsidian);
  margin-top: -60px;
  z-index: 3;
}

.work-card {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  overflow: hidden;
  display: block;
  background-color: var(--color-obsidian);
}

.work-card--1 {
  z-index: 1;
}

.work-card--2 {
  z-index: 2;
}

.work-card--3 {
  z-index: 3;
}

.work-card--4 {
  z-index: 4;
}

.work-card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.3);
  transform-origin: center center;
  will-change: transform;
}

.work-card-overlay {
  position: absolute;
  inset: 0;
  background-color: var(--color-black);
  opacity: 0;
  transition: opacity 1s ease;
}

.work-card:hover .work-card-overlay {
  opacity: 0.2;
}

.work-card-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 40px 36px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.work-card-meta {
  max-width: 70%;
}

.work-card-tags {
  font-size: var(--text-micro);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 12px;
}

.work-card-title {
  font-size: var(--text-h3);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-white);
}

.work-card-btn {
  width: 56px;
  height: 56px;
  border-radius: 100px;
  border: 1px solid var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  flex-shrink: 0;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.35s var(--ease-out-expo);
}

.work-card-btn .arrow-icon {
  width: 18px;
  height: 18px;
}

.work-card:hover .work-card-btn {
  background-color: var(--color-white);
  color: var(--color-black);
  transform: scale(1.05);
}

/* ==========================================================================
   Awards & Educational Section (Sticky Deck Layer on Desktop)
   ========================================================================== */
.awards-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--color-stone);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  margin-top: -60px;
  z-index: 5;
  padding: 8vh var(--gutter) 12vh;
}

@media (min-width: 1025px) and (min-height: 760px) {
  .awards-section {
    position: sticky;
    top: 0;
  }
}

.awards-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 60px;
}

.table-col-heading {
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-black);
  margin-bottom: 40px;
}

.data-table {
  width: 100%;
}

.data-row {
  display: grid;
  grid-template-columns: 12% 36% 45% 7%;
  align-items: center;
  padding: 30px 10px 30px 0;
  border-bottom: 1px solid var(--color-hairline);
  font-size: var(--text-body);
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-black);
  transition: opacity 0.25s ease, padding-left 0.3s var(--ease-out-expo);
}

.data-row:hover {
  padding-left: 8px;
}

.data-row:hover .data-row-arrow .arrow-icon {
  transform: translate(3px, -3px);
}

.data-row-year {
  color: var(--color-black);
}

.data-row-org,
.data-row-title {
  padding-right: 14px;
}

.data-row-arrow {
  display: flex;
  justify-content: flex-end;
  color: var(--color-charcoal);
}

.data-row-arrow .arrow-icon {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   Halftone "Pixels with Purpose" Section
   ========================================================================== */
.halftone-section {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  margin-top: -60px;
  z-index: 6;
  min-height: max(130vw, 200vh);
}

.halftone-sticky-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-card) var(--radius-card) 0 0;
}

.halftone-graphic-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 1;
}

.halftone-canvas {
  width: min(74vw, 760px);
  height: min(74vw, 760px);
  will-change: transform;
  transform-origin: center center;
}

.halftone-copy {
  position: relative;
  z-index: 5;
  text-align: center;
  padding: 0 var(--gutter);
  pointer-events: none;
  opacity: 0;
  will-change: opacity;
}

.halftone-title {
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--color-white);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.15);
}

.halftone-subtitle {
  margin-top: 24px;
  font-size: var(--text-body);
  font-weight: 400;
  color: #8E9294;
}

/* ==========================================================================
   Reviews / Testimonial Carousel Section
   ========================================================================== */
.reviews-section {
  position: relative;
  background-color: var(--color-stone);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  margin-top: -60px;
  z-index: 7;
  padding: 65px var(--gutter) 16vh;
}

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

.reviews-heading {
  font-size: var(--text-h2);
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-black);
  margin-bottom: 6vh;
}

.carousel-viewport {
  overflow: hidden;
  width: 100%;
  cursor: grab;
  user-select: none;
}

.carousel-viewport:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s var(--ease-out-expo);
  will-change: transform;
}

.review-slide {
  flex: 0 0 calc((100% - 100px) / 3);
  margin-right: 50px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.review-quote-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--color-black);
}

.review-text {
  font-size: var(--text-lead);
  font-weight: 400;
  line-height: 1.5;
  color: var(--color-black);
  margin-bottom: 28px;
}

.review-author {
  font-size: var(--text-body);
  font-weight: 500;
  color: var(--color-black);
}

.carousel-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 56px;
}

.carousel-dot {
  width: 4px;
  height: 4px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.25);
  transition: width 0.3s ease, background-color 0.3s ease;
}

.carousel-dot.is-active {
  width: 20px;
  border-radius: 6px;
  background-color: var(--color-black);
}

/* ==========================================================================
   Footer / Contact CTA Section
   ========================================================================== */
.site-footer {
  position: relative;
  background-color: var(--color-white);
  border-radius: var(--radius-card) var(--radius-card) 0 0;
  margin-top: -60px;
  z-index: 10;
  padding: 65px var(--gutter) 32px;
}

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

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 8vh;
}

.footer-identity {
  flex: 1;
}

.footer-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-black);
  margin-bottom: 4px;
}

.footer-role {
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  margin-bottom: 44px;
}

.footer-connect-link {
  display: inline-block;
  font-size: var(--text-xl);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--color-black);
  transition: opacity 0.25s ease, transform 0.4s var(--ease-out-expo);
}

.footer-connect-link:hover {
  opacity: 0.72;
  transform: translateX(6px);
}

.footer-avatar-wrap {
  flex-shrink: 0;
  width: 225px;
  height: 225px;
  border-radius: 100%;
  overflow: hidden;
  background-color: var(--color-stone);
  transform-origin: top right;
  will-change: transform;
}

.footer-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  filter: grayscale(100%) contrast(1.06);
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 60px;
}

.footer-copyright {
  font-size: var(--text-body);
  font-weight: 400;
  color: var(--color-black);
}

.footer-copyright a:hover {
  text-decoration: underline;
}

.footer-links-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
  font-size: var(--text-body);
}

.footer-links-right a:hover {
  opacity: 0.65;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

/* ==========================================================================
   Subpages Shared Styles (Contact, Blog, Case Studies)
   ========================================================================== */
.subpage-main {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 40px var(--gutter) 14vh;
}

.subpage-h1 {
  font-size: clamp(42px, 5vw, 96px);
  font-weight: 300;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--color-black);
  margin-bottom: 28px;
}

.subpage-lead {
  font-size: clamp(18px, 1.3vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-charcoal);
  max-width: 720px;
  margin-bottom: 52px;
}

/* Contact Page */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: start;
}

.contact-form-card {
  background-color: var(--color-white);
  border-radius: 4px;
  overflow: hidden;
}

.contact-field-row {
  display: grid;
  grid-template-columns: 1fr;
}

.contact-field-row--split {
  grid-template-columns: 1fr 1fr;
}

.contact-input,
.contact-textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-hairline);
  padding: 22px 24px;
  outline: none;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.contact-field-row--split .contact-input:first-child {
  border-right: 1px solid var(--color-hairline);
}

.contact-input::placeholder,
.contact-textarea::placeholder {
  color: var(--color-muted);
}

.contact-input:focus,
.contact-textarea:focus {
  border-bottom-color: var(--color-black);
  background-color: rgba(0, 0, 0, 0.015);
}

.contact-textarea {
  min-height: 160px;
  resize: vertical;
}

.contact-submit-btn {
  width: 100%;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 500;
  color: var(--color-black);
  transition: background-color 0.25s ease;
}

.contact-submit-btn:hover {
  background-color: rgba(0, 0, 0, 0.04);
}

.contact-submit-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.contact-status {
  padding: 16px 24px;
  font-size: 14px;
  line-height: 1.45;
  color: #1c5c2e;
  background-color: #eaf5ed;
  display: none;
}

.contact-status.is-visible {
  display: block;
}

.contact-status.is-duplicate {
  color: #7c4a03;
  background-color: #fef5e7;
}

.contact-status.is-error {
  color: #9b1c1c;
  background-color: #fdecec;
}

.contact-info-block h2 {
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
  margin-bottom: 18px;
}

.contact-info-block p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-charcoal);
  margin-bottom: 10px;
}

.contact-info-divider {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
}

.contact-info-divider .sep {
  width: 1px;
  height: 18px;
  background-color: var(--color-hairline);
}

/* Blog Page */
.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--color-black);
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.blog-card-thumb {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  overflow: hidden;
  background-color: #d8d9d4;
}

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

.blog-card:hover .blog-card-thumb svg,
.blog-card:hover .blog-card-thumb img {
  transform: scale(1.04);
}

.blog-card-title {
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 400;
  line-height: 1.25;
}

.blog-list {
  margin-top: 20px;
}

.blog-list-row {
  display: grid;
  grid-template-columns: 160px 1fr 48px;
  align-items: center;
  padding: 28px 0;
  border-bottom: 1px solid var(--color-hairline);
  gap: 20px;
  transition: padding-left 0.3s var(--ease-out-expo);
}

.blog-list-row:hover {
  padding-left: 8px;
}

.blog-list-row.is-hidden {
  display: none;
}

.blog-list-date {
  font-size: 14px;
  color: var(--color-muted);
}

.blog-list-title {
  font-size: clamp(18px, 1.5vw, 24px);
  font-weight: 400;
}

.blog-load-more-wrap {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.blog-load-more-btn {
  padding: 14px 34px;
  border: 1px solid var(--color-black);
  border-radius: 60px;
  font-size: 15px;
  font-weight: 500;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.blog-load-more-btn:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

/* Case Study Page */
.case-kicker {
  font-size: clamp(18px, 1.4vw, 24px);
  font-weight: 400;
  margin-bottom: 14px;
}

.case-hero-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  margin-bottom: 64px;
}

.case-body-grid {
  display: grid;
  grid-template-columns: 35% 1fr;
  gap: 48px;
}

.case-meta-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.case-meta-label {
  font-size: var(--text-micro);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 6px;
}

.case-meta-value {
  font-size: 18px;
  font-weight: 400;
}

.case-narrative {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.case-narrative h2 {
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 400;
  margin-bottom: 10px;
}

.case-narrative p {
  font-size: clamp(17px, 1.1vw, 21px);
  line-height: 1.6;
  color: var(--color-charcoal);
}

.case-next-nav {
  margin-top: 72px;
  padding-top: 36px;
  border-top: 1px solid var(--color-hairline);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.case-next-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 500;
}

.case-build-wrap {
  margin-top: 12px;
}

.case-build-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  border-radius: 60px;
  background-color: var(--color-black);
  color: var(--color-white);
  font-size: 16px;
  font-weight: 500;
  transition: background-color 0.25s ease, transform 0.3s var(--ease-out-expo);
}

.case-build-btn:hover {
  background-color: var(--color-charcoal);
  transform: translateY(-2px);
}

.case-build-btn .arrow-icon {
  width: 18px;
  height: 18px;
}

.case-build-btn:hover .arrow-icon {
  transform: translate(3px, -3px);
}

/* Contact Popup Modal */
.contact-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background-color: rgba(20, 16, 23, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.contact-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.contact-modal {
  position: relative;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  background-color: var(--color-stone);
  border-radius: 32px;
  padding: 36px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.25);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.35s var(--ease-out-expo);
}

.contact-modal-backdrop.is-open .contact-modal {
  transform: translateY(0) scale(1);
}

.contact-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-modal-title {
  font-size: clamp(26px, 2.4vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--color-black);
  margin-bottom: 8px;
}

.contact-modal-subtitle {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-charcoal);
}

.contact-modal-close {
  width: 40px;
  height: 40px;
  border-radius: 100%;
  border: 1px solid var(--color-hairline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--color-black);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.contact-modal-close:hover {
  background-color: var(--color-black);
  color: var(--color-white);
}

@media (max-width: 767px) {
  .contact-modal {
    padding: 24px 20px;
    border-radius: 24px;
  }
}

/* Legal Pages (Privacy Policy & Terms of Service) */
.legal-meta {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-muted);
  margin-bottom: 48px;
}

.legal-article {
  max-width: 860px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.legal-section h2 {
  font-size: clamp(22px, 1.8vw, 30px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--color-black);
  margin-bottom: 12px;
}

.legal-section p,
.legal-section li {
  font-size: clamp(16px, 1.05vw, 19px);
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-charcoal);
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul {
  margin-top: 10px;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-section a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-section a:hover {
  color: var(--color-black);
}

/* ==========================================================================
   Keyframes
   ========================================================================== */
@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pillSlideUp {
  from {
    opacity: 0;
    transform: translate(-50%, 30px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --text-xl: clamp(56px, 13vw, 130px);
    --text-l: clamp(42px, 10vw, 96px);
    --text-h1: 46px;
    --text-h2: 36px;
    --text-h3: 30px;
    --text-lead: 19px;
  }

  .site-header {
    min-height: 80px;
  }

  .hero-section {
    margin-top: -80px;
    padding-top: 80px;
  }

  .hero-inner {
    min-height: 75vh;
  }

  .hero-name-col {
    width: 30%;
    padding-bottom: 18vw;
  }

  .hero-portrait-col {
    width: 70%;
    min-height: 72vh;
  }

  .bio-block {
    padding: 0 8%;
  }

  .awards-section {
    position: relative;
    min-height: auto;
  }

  .awards-grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .review-slide {
    flex: 0 0 100%;
    margin-right: 0;
  }

  .review-quote-icon {
    width: 30px;
    height: 30px;
  }

  .footer-avatar-wrap {
    width: 160px;
    height: 160px;
  }

  .contact-grid,
  .case-body-grid {
    grid-template-columns: 1fr;
  }

  .blog-featured-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  :root {
    --gutter: 20px;
    --radius-card: 40px;
    --text-h1: 36px;
    --text-h2: 28px;
    --text-h3: 24px;
    --text-body: 16px;
  }

  .brand-wordmark {
    font-size: 28px;
  }

  .header-right {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .floating-pill-nav {
    padding: 4px 12px;
    bottom: 14px;
  }

  .floating-pill-nav a {
    padding: 10px 8px;
    font-size: 9px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-top: 24px;
  }

  .hero-name-col {
    width: 100%;
    padding-bottom: 0;
    padding-left: 0;
  }

  .hero-name-line {
    font-size: clamp(50px, 14vw, 96px);
  }

  .hero-name-line--first,
  .hero-name-line--last {
    margin-right: 0;
    padding-left: 0;
  }

  .hero-portrait-col {
    width: 100%;
    min-height: 54vh;
    margin-top: -16px;
  }

  .hero-portrait-wrap {
    right: 0;
    bottom: -2vh;
    height: 52vh;
  }

  .hero-wave-transition {
    margin-top: -14vw;
  }

  .intro-spacer {
    height: 6vh;
  }

  .bio-block {
    padding: 0 var(--gutter);
  }

  .work-card {
    height: 76vh;
    min-height: 460px;
  }

  .halftone-section {
    min-height: 185vh;
  }

  .work-card-header {
    padding: 28px 20px;
  }

  .work-card-btn {
    width: 44px;
    height: 44px;
  }

  .data-row {
    grid-template-columns: 18% 36% 38% 8%;
    padding: 22px 0;
    font-size: 14px;
  }

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

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

  .footer-links-right {
    align-items: flex-start;
  }

  .footer-socials {
    justify-content: flex-start;
  }

  .contact-field-row--split {
    grid-template-columns: 1fr;
  }

  .contact-field-row--split .contact-input:first-child {
    border-right: none;
  }

  .blog-list-row {
    grid-template-columns: 1fr 32px;
    gap: 8px;
  }

  .blog-list-date {
    grid-column: 1 / -1;
  }
}

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

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