/* ==========================================================================
   KIRAN KODI — BRANDING PAGE STYLESHEET
   Matches Brand Designer.png with exact colors, typography and proportions.
   Colors: #DE0606 (Red), #0F0F0F (Dark), #E2E2E2 (Light Gray)
   Fonts: Season Mix (Headlines), Season Sans (Body / UI)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. BRAND FONTS (Season Font Family)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Season Mix';
  src: url('./season-font-family/SeasonMix-TRIAL-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./season-font-family/SeasonMix-TRIAL-RegularItalic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./season-font-family/SeasonMix-TRIAL-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Mix';
  src: url('./season-font-family/SeasonMix-TRIAL-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./season-font-family/SeasonSans-TRIAL-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./season-font-family/SeasonSans-TRIAL-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./season-font-family/SeasonSans-TRIAL-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Season Sans';
  src: url('./season-font-family/SeasonSans-TRIAL-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --------------------------------------------------------------------------
   2. GLOBAL TOKENS & RESET
   -------------------------------------------------------------------------- */
:root {
  --color-red: #DE0606;
  --color-red-hover: #fa1919;
  --color-dark: #0F0F0F;
  --color-light-gray: #E2E2E2;
  --color-input-bg: #D0D0D0;
  --color-charcoal-watermark: #3f3f3f;

  --font-headline: 'Season Mix', Georgia, serif;
  --font-body: 'Season Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --ease-framer: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  font-size: 16px;
  background-color: var(--color-light-gray);
  color: var(--color-dark);
  font-family: var(--font-body);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  background-color: var(--color-light-gray);
  color: var(--color-dark);
  cursor: default;
}

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

/* Project title links inherit dark text, no underline */
.project-title a {
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.25s ease;
}

.project-title a:hover {
  color: var(--color-red);
}

/* --------------------------------------------------------------------------
   PERFORMANCE: GPU compositing & content-visibility for off-screen sections
   -------------------------------------------------------------------------- */

.branding-works-section,
.branding-cta-section,
.branding-contact-section,
.branding-footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

.branding-hero-section {
  content-visibility: visible;
}

.project-image,
.hero-illustration,
.cta-bg-layer {
  will-change: transform;
}


/* --------------------------------------------------------------------------
   3. CUSTOM CURSOR (Defined in cursor.css)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   4. NAVIGATION (Sticky while scrolling)
   -------------------------------------------------------------------------- */
.branding-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 28px 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  background-color: transparent;
  transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Glassmorphism state when scrolled — matches product nav exactly */
.branding-nav.scrolled {
  padding: 18px 56px;
  background-color: rgba(226, 226, 226, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.nav-brand {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  color: var(--color-dark);
  text-decoration: none;
  transition: opacity 0.25s ease;
}

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

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

.nav-item {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
  position: relative;
}

.nav-item:hover {
  color: var(--color-red);
}

.nav-item.active {
  color: var(--color-red);
  font-weight: 500;
}

/* Dedicated Go Back Nav Button */
.nav-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--color-dark);
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.07);
  transition: all 0.25s var(--ease-framer);
  text-decoration: none;
}

.nav-back-btn:hover {
  color: var(--color-red);
  background: rgba(222, 6, 6, 0.08);
  border-color: rgba(222, 6, 6, 0.2);
}

.nav-back-btn .back-arrow {
  display: inline-block;
  font-size: 1.05rem;
  line-height: 1;
  transition: transform 0.25s var(--ease-framer);
}

.nav-back-btn:hover .back-arrow {
  transform: translateX(-3px);
}

/* --------------------------------------------------------------------------
   4b. HAMBURGER MOBILE MENU
   -------------------------------------------------------------------------- */

/* Hamburger button — hidden on desktop */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background-color 0.2s ease;
  flex-shrink: 0;
  -webkit-tap-highlight-color: transparent;
}

.nav-hamburger:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background-color: var(--color-dark);
  border-radius: 2px;
  transition: transform 0.35s var(--ease-framer), opacity 0.2s ease, width 0.2s ease;
  transform-origin: center;
}

/* X state when open */
.nav-hamburger.is-open .hamburger-bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-hamburger.is-open .hamburger-bar:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-hamburger.is-open .hamburger-bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav panel — slides down from nav bar */
.nav-mobile-panel {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--color-light-gray);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.35s var(--ease-framer), transform 0.35s var(--ease-framer);
  pointer-events: none;
  overflow: hidden;
}

.nav-mobile-panel.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-mobile-link {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(2.4rem, 9vw, 4rem);
  letter-spacing: -0.02em;
  color: var(--color-dark);
  text-decoration: none;
  padding: 16px 32px;
  width: 100%;
  text-align: center;
  transition: color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile-link:hover,
.nav-mobile-link.active {
  color: var(--color-red);
}

.nav-mobile-close {
  display: none !important;
}

/* Mobile nav panel social media links */
.nav-mobile-socials {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 36px;
  padding: 0 16px;
  flex-wrap: wrap;
  z-index: 2;
}

.nav-mobile-social-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  background: rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 9999px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1;
  color: var(--color-dark);
  text-decoration: none;
  transition: all 0.25s var(--ease-framer);
  -webkit-tap-highlight-color: transparent;
}

.nav-mobile-social-link .social-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: currentColor;
  transition: transform 0.25s ease;
}

.nav-mobile-social-link .social-arrow {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  opacity: 0.5;
  stroke: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-mobile-social-link:hover,
.nav-mobile-social-link:active {
  background: var(--color-dark);
  color: #FFFFFF;
  border-color: var(--color-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.nav-mobile-social-link:hover .social-icon,
.nav-mobile-social-link:active .social-icon {
  transform: scale(1.1);
}

.nav-mobile-social-link:hover .social-arrow,
.nav-mobile-social-link:active .social-arrow {
  opacity: 1;
  transform: translate(1.5px, -1.5px);
}

/* --------------------------------------------------------------------------
   5. HERO SECTION (Light Background #E2E2E2)
   -------------------------------------------------------------------------- */
.branding-hero-section {
  position: relative;
  background-color: var(--color-light-gray);
  color: var(--color-dark);
  width: 100%;
  padding-top: 110px;
  padding-bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.hero-content-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  flex: 1;
  position: relative;
}

/* Two-column headline and blurb */
.hero-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  position: relative;
  z-index: 10;
}

.hero-headline-col {
  flex: 1;
}

.hero-headline {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(2.8rem, 5.8vw, 6.2rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
  color: var(--color-red);
}

.hero-headline .period {
  color: var(--color-red);
}

.hero-description-col {
  width: 380px;
  max-width: 100%;
  padding-top: 14px;
}

.hero-description {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.15vw, 1.15rem);
  line-height: 1.48;
  color: rgba(15, 15, 15, 0.88);
  letter-spacing: -0.005em;
}

/* Hero Visual Cutout */
.hero-visual-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: -70px;
  z-index: 5;
  pointer-events: none;
}

.hero-illustration {
  width: 100%;
  max-width: 1050px;
  height: auto;
  display: block;
  user-select: none;
  filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.09));
  transition: transform 0.6s var(--ease-framer);
}

.hero-visual-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 90px;
  background: linear-gradient(180deg, rgba(226, 226, 226, 0) 0%, rgba(226, 226, 226, 0.85) 70%, var(--color-light-gray) 100%);
  pointer-events: none;
}

/* Scroll indicator prompt */
.hero-scroll-prompt {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  position: relative;
  z-index: 10;
}

.scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 0.825rem;
  letter-spacing: 0.02em;
  color: rgba(15, 15, 15, 0.65);
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.scroll-link:hover {
  color: var(--color-red);
  transform: translateY(2px);
}

.scroll-arrow {
  font-size: 0.95rem;
  transition: transform 0.3s ease;
}

.scroll-link:hover .scroll-arrow {
  transform: translateY(3px);
}

/* --------------------------------------------------------------------------
   6. SELECTED BRANDS SHOWCASE (Light Background #E2E2E2)
   -------------------------------------------------------------------------- */
.branding-works-section {
  background-color: var(--color-light-gray);
  padding: 110px 0 100px;
  position: relative;
}

.works-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 48px;
}

/* Dark Watermark Heading */
.works-header-block {
  margin-bottom: 72px;
}

.works-heading {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  line-height: 1.02;
  letter-spacing: -0.025em;
  color: var(--color-charcoal-watermark);
  user-select: none;
}

/* Project List Layout */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.project-item {
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* Layout Variations matching Brand Designer.png */
.project-full {
  max-width: 100%;
}

.project-offset-left {
  max-width: 66%;
  margin-right: auto;
}

.project-offset-right {
  max-width: 66%;
  margin-left: auto;
}

/* Media Card */
.project-media-card {
  position: relative;
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  background-color: #d8d8d8;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  aspect-ratio: 16 / 9;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s var(--ease-framer), filter 0.7s var(--ease-framer);
}

.project-media-card:hover .project-image {
  transform: scale(1.03);
}

.project-card-star {
  display: none !important;
}

/* Project Meta Bar */
.project-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  padding: 0 4px;
  gap: 24px;
}

.project-info {
  flex: 1;
}

.project-title {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(1.4rem, 1.8vw, 1.85rem);
  letter-spacing: -0.015em;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.project-subtitle {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.9rem, 1.05vw, 1.05rem);
  color: rgba(15, 15, 15, 0.7);
  letter-spacing: -0.005em;
}

/* Button: Red Pill */
.btn-pill-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-red);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 12px 28px;
  border-radius: 9999px;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.25s var(--ease-framer), transform 0.25s var(--ease-framer), box-shadow 0.25s var(--ease-framer);
}

.btn-pill-red:hover {
  background-color: var(--color-red-hover);
  box-shadow: 0 6px 20px rgba(222, 6, 6, 0.45);
  transform: translateY(-2px);
}

.btn-arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.btn-pill-red:hover .btn-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   7. CTA BANNER SECTION (assets/cta bg.png)
   -------------------------------------------------------------------------- */
.branding-cta-section {
  position: relative;
  width: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 90px 24px;
  overflow: hidden;
  background-color: #4a0202;
}

.cta-bg-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('assets/cta bg.webp') center center / cover no-repeat;
  z-index: 1;
}

.cta-content-wrapper {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.cta-headline {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(2.5rem, 5.2vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  color: #FFFFFF;
  margin-bottom: 16px;
}

.cta-subtext {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: -0.005em;
  margin-bottom: 32px;
}

/* CTA Pill Button */
.btn-cta-darkred {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #b31e1e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 13px 34px;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.25s var(--ease-framer), transform 0.25s var(--ease-framer), box-shadow 0.25s var(--ease-framer);
}

.btn-cta-darkred:hover {
  background-color: var(--color-red);
  box-shadow: 0 8px 24px rgba(222, 6, 6, 0.4);
  transform: translateY(-2px);
}

.cta-arrow {
  font-size: 1rem;
  transition: transform 0.25s ease;
}

.btn-cta-darkred:hover .cta-arrow {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   8. CONTACT FORM SECTION (Light Background #E2E2E2)
   -------------------------------------------------------------------------- */
.branding-contact-section {
  background-color: var(--color-light-gray);
  padding: 90px 48px 120px;
  position: relative;
}

.contact-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.branding-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-grid-two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.full-width-group {
  width: 100%;
}

.form-label {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-dark);
  margin-bottom: 8px;
  letter-spacing: -0.005em;
}

.form-input,
.form-textarea {
  background-color: var(--color-input-bg);
  border: 1.5px solid transparent;
  border-radius: 6px;
  color: var(--color-dark);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 15px 20px;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.form-input {
  height: 54px;
}

.form-textarea {
  min-height: 280px;
  resize: vertical;
  line-height: 1.5;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(15, 15, 15, 0.45);
  font-family: var(--font-body);
}

.form-input:focus,
.form-textarea:focus {
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px rgba(222, 6, 6, 0.2);
  background-color: #FFFFFF;
}

/* Submit Button Row */
.form-submit-row {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 14px;
}

.btn-submit {
  background-color: var(--color-red);
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  padding: 14px 54px;
  cursor: pointer;
  transition: background-color 0.25s var(--ease-framer), transform 0.25s var(--ease-framer), box-shadow 0.25s var(--ease-framer);
}

.btn-submit:hover {
  background-color: var(--color-red-hover);
  box-shadow: 0 6px 20px rgba(222, 6, 6, 0.45);
  transform: translateY(-2px);
}

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

.form-status-msg {
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
  margin-top: 8px;
  min-height: 24px;
  transition: opacity 0.3s ease;
}

.form-status-msg.success {
  color: #4ade80;
}

.form-status-msg.error {
  color: #f87171;
}

/* --------------------------------------------------------------------------
   9. MASSIVE FOOTER WORDMARK
   -------------------------------------------------------------------------- */
.branding-footer {
  background-color: var(--color-light-gray);
  padding: 40px 0 32px;
  width: 100%;
  overflow: hidden;
}

.footer-wordmark-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  line-height: 0.88;
  position: relative;
  pointer-events: auto;
  touch-action: pan-y;
  padding: 0 max(16px, 4vw);
}

.footer-wordmark {
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: clamp(2.75rem, 15vw, 16.5rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-align: center;
  display: block;
  user-select: none;
  background: linear-gradient(180deg, #DE0606 0%, rgba(222, 6, 6, 0.6) 45%, rgba(226, 226, 226, 0.1) 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transform: none;
  white-space: nowrap;
  pointer-events: auto;
  touch-action: pan-y;
  max-width: 100%;
  transform-origin: center center;
}

/* --------------------------------------------------------------------------
   10. LIQUID SCROLL REVEALS & PROGRESSIVE ENTRANCE ANIMATIONS
   -------------------------------------------------------------------------- */
:root {
  --ease-liquid: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-liquid-gentle: cubic-bezier(0.25, 1, 0.5, 1);
}

/* Base reveal items */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s var(--ease-liquid), transform 0.95s var(--ease-liquid);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Hero section cinematic entrance on page load */
.hero-headline {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-liquid), transform 0.95s var(--ease-liquid);
  will-change: opacity, transform;
}

.hero-description {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease-liquid), transform 0.9s var(--ease-liquid);
  will-change: opacity, transform;
}

.hero-illustration {
  opacity: 0;
  transform: translateY(30px) scale(0.98);
  transition: opacity 1.1s var(--ease-liquid-gentle), transform 1.2s var(--ease-liquid);
  will-change: opacity, transform;
}

.hero-scroll-prompt {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-liquid), transform 0.85s var(--ease-liquid);
  will-change: opacity, transform;
}

.hero-content-container.is-revealed .hero-headline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 100ms;
}

.hero-content-container.is-revealed .hero-description {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 240ms;
}

.hero-content-container.is-revealed .hero-illustration {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 180ms;
}

.hero-content-container.is-revealed .hero-scroll-prompt {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 380ms;
}

/* Progressive staggered child reveals inside project cards */
.project-item .project-media-card {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-liquid), transform 0.95s var(--ease-liquid);
  will-change: opacity, transform;
  overflow: hidden;
  border-radius: 20px;
}

.project-item .project-info {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease-liquid), transform 0.9s var(--ease-liquid);
  will-change: opacity, transform;
}

.project-item .project-cta-wrap {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.8s var(--ease-liquid), transform 0.85s var(--ease-liquid);
  will-change: opacity, transform;
}

.project-item.is-revealed .project-media-card {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}

.project-item.is-revealed .project-info {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 120ms;
}

.project-item.is-revealed .project-cta-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 180ms;
}

/* Subtle liquid optical parallax on project showcase images */
.project-media-card img.project-image {
  transform: scale(1.05) translate3d(0, 0, 0);
  transform-origin: center center;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: transform;
}

.project-media-card:hover img.project-image {
  transform: scale(1.065) translate3d(0, 0, 0);
}

/* Progressive staggered reveals for CTA section */
.cta-content-wrapper .cta-headline,
.cta-content-wrapper .cta-subtext,
.cta-content-wrapper .cta-action-wrap {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease-liquid), transform 0.9s var(--ease-liquid);
  will-change: opacity, transform;
}

.cta-content-wrapper.is-revealed .cta-headline {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}

.cta-content-wrapper.is-revealed .cta-subtext {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 90ms;
}

.cta-content-wrapper.is-revealed .cta-action-wrap {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 170ms;
}

/* Progressive staggered reveals for Contact form */
.branding-contact-section .form-grid-two-cols,
.branding-contact-section .full-width-group,
.branding-contact-section .form-submit-row {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s var(--ease-liquid), transform 0.9s var(--ease-liquid);
  will-change: opacity, transform;
}

.contact-container.is-revealed .form-grid-two-cols:nth-of-type(1) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0ms;
}

.contact-container.is-revealed .form-grid-two-cols:nth-of-type(2) {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 80ms;
}

.contact-container.is-revealed .full-width-group {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 150ms;
}

.contact-container.is-revealed .form-submit-row {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 210ms;
}

/* Massive footer wordmark liquid entrance */
.footer-wordmark-container {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1.1s var(--ease-liquid), transform 1.2s var(--ease-liquid);
  will-change: opacity, transform;
}

.footer-wordmark-container.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .branding-nav {
    padding: 24px 32px;
  }

  .hero-content-container {
    padding: 0 32px;
  }

  .works-container {
    padding: 0 32px;
  }

  .project-offset-left,
  .project-offset-right {
    max-width: 82%;
  }

  .branding-contact-section {
    padding: 80px 32px 50px;
  }
}

@media (max-width: 768px) {
  .branding-nav {
    padding: 16px 20px;
  }

  /* On mobile: keep back button visible, hide text links, show hamburger */
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .nav-menu .nav-item {
    display: none;
  }

  .nav-back-btn {
    display: inline-flex !important;
  }

  .nav-hamburger {
    display: flex;
  }

  /* Show the mobile panel container */
  .nav-mobile-panel {
    display: flex;
  }

  .nav-item {
    font-size: 0.85rem;
  }

  .hero-content-container {
    padding: 0 20px;
  }

  .branding-hero-section {
    padding-top: 88px;
    padding-bottom: 0;
  }

  .hero-header-row {
    flex-direction: column;
    gap: 16px;
  }

  .hero-headline {
    font-size: clamp(2.2rem, 9vw, 3.2rem);
  }

  .hero-description-col {
    width: 100%;
    padding-top: 0;
  }

  .hero-description {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .hero-visual-wrapper {
    margin-top: 24px;
  }

  .hero-illustration {
    max-width: 100%;
  }

  .hero-scroll-prompt {
    margin-top: 8px;
    margin-bottom: 8px;
  }

  .works-container {
    padding: 0 20px;
  }

  .branding-works-section {
    padding: 64px 0 80px;
  }

  .works-header-block {
    margin-bottom: 40px;
  }

  .works-heading {
    font-size: clamp(2rem, 7.5vw, 3rem);
  }

  .projects-list {
    gap: 48px;
  }

  .project-offset-left,
  .project-offset-right {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .project-meta-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .project-title {
    font-size: 1.3rem;
  }

  .btn-pill-red {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .branding-cta-section {
    padding: 60px 20px;
    min-height: 320px;
  }

  .cta-headline {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .branding-contact-section {
    padding: 56px 20px 40px;
  }

  .form-grid-two-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .branding-form {
    gap: 16px;
  }

  .form-input {
    font-size: 16px;
    /* prevents iOS zoom */
  }

  .form-textarea {
    min-height: 160px;
    font-size: 16px;
    /* prevents iOS zoom */
  }

  .btn-submit {
    width: 100%;
    font-size: 1rem;
    padding: 16px;
  }

  .branding-footer {
    padding: 32px 0 24px;
  }

  .footer-wordmark {
    font-size: clamp(2.75rem, 15vw, 16.5rem);
    transform: none;
  }

  /* Fix reveal-on-scroll on mobile — lower threshold */
  .reveal-on-scroll {
    opacity: 0;
    transform: translateY(20px);
  }
}

/* --------------------------------------------------------------------------
   14. ACCESSIBILITY: PREFERS REDUCED MOTION
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .hero-headline,
  .hero-description,
  .hero-illustration,
  .hero-scroll-prompt,
  .project-item .project-media-card,
  .project-item .project-info,
  .project-item .project-cta-wrap,
  .project-media-card img.project-image,
  .cta-content-wrapper .cta-headline,
  .cta-content-wrapper .cta-subtext,
  .cta-content-wrapper .cta-action-wrap,
  .branding-contact-section .form-grid-two-cols,
  .branding-contact-section .full-width-group,
  .branding-contact-section .form-submit-row,
  .footer-wordmark-container {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
