/* ==========================================================================
   MAHEK PEDNEKAR — Portfolio Website
   Main Stylesheet
   Design: Attic Salt Advertising
   Font: DM Sans (self-hosted)
   ========================================================================== */


/* --------------------------------------------------------------------------
   FONTS
   -------------------------------------------------------------------------- */

@font-face {
  font-family: 'DM Sans';
  font-weight: 300;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-300.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-400.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-400i.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-500.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-600.woff2') format('woff2');
}

@font-face {
  font-family: 'DM Sans';
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  src: url('/assets/fonts/dm-sans-700.woff2') format('woff2');
}


/* --------------------------------------------------------------------------
   DESIGN TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Colours */
  --ink:          #454545;
  --bg:           #F7F7F7;
  --white:        #FFFFFF;
  --grey-light:   #E8E8E8;
  --grey-mid:     #AAAAAA;
  --grey-dark:    #777777;
  --accent-green: #B9C896;   /* Attic Salt brand accent */
  --accent-lilac: #C3B8D4;   /* Pantone 14-3812 TCX — Mahek's palette accent */
  --overlay:      rgba(69, 69, 69, 0.55);

  /* Typography */
  --font:         'DM Sans', sans-serif;

  /* Scale */
  --text-xs:      0.75rem;    /* 12px */
  --text-sm:      0.875rem;   /* 14px */
  --text-base:    1rem;       /* 16px */
  --text-md:      1.125rem;   /* 18px */
  --text-lg:      1.25rem;    /* 20px */
  --text-xl:      1.5rem;     /* 24px */
  --text-2xl:     2rem;       /* 32px */
  --text-3xl:     2.75rem;    /* 44px */
  --text-4xl:     3.75rem;    /* 60px */
  --text-hero:    5.5rem;     /* 88px */

  /* Spacing */
  --space-1:   0.25rem;
  --space-2:   0.5rem;
  --space-3:   0.75rem;
  --space-4:   1rem;
  --space-6:   1.5rem;
  --space-8:   2rem;
  --space-10:  2.5rem;
  --space-12:  3rem;
  --space-16:  4rem;
  --space-20:  5rem;
  --space-24:  6rem;
  --space-32:  8rem;

  /* Layout */
  --nav-h:        64px;
  --max-w:        1200px;
  --max-w-text:   680px;
  --gutter:       clamp(1rem, 4vw, 2rem);
  --radius:       2px;

  /* Transitions */
  --ease:         cubic-bezier(0.25, 0.1, 0.25, 1);
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --duration:     220ms;

  /* Button radius */
  --radius-btn:   100px;
}


/* --------------------------------------------------------------------------
   RESET
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: var(--font);
  font-size: var(--text-base);
}


/* --------------------------------------------------------------------------
   TYPOGRAPHY
   -------------------------------------------------------------------------- */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--ink);
}

h1 { font-size: clamp(var(--text-2xl), 5vw, var(--text-4xl)); }
h2 { font-size: clamp(var(--text-xl),  3vw, var(--text-3xl)); }
h3 { font-size: clamp(var(--text-lg),  2vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg);  letter-spacing: 0.1em; }
h6 { font-size: var(--text-base); letter-spacing: 0.12em; }

p {
  max-width: 68ch;
  line-height: 1.7;
}

p + p {
  margin-top: var(--space-4);
}

strong { font-weight: 700; }
em     { font-style: italic; }

.label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-dark);
}

.caption {
  font-size: var(--text-sm);
  color: var(--grey-dark);
  line-height: 1.5;
}

.lede {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.75;
  color: var(--ink);
}


/* --------------------------------------------------------------------------
   LAYOUT UTILITIES
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: var(--max-w-text);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.page-top {
  padding-top: calc(var(--nav-h) + var(--space-16));
}

.section {
  padding-block: var(--space-16);
}

.section--lg {
  padding-block: var(--space-24);
}


/* --------------------------------------------------------------------------
   NAVIGATION
   -------------------------------------------------------------------------- */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--grey-light);
  display: flex;
  align-items: center;
  padding-inline: var(--gutter);
  transition: box-shadow var(--duration) var(--ease);
}

.nav.scrolled {
  box-shadow: 0 2px 16px rgba(69,69,69,0.07);
}

.nav__logo {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  white-space: nowrap;
  margin-right: auto;
  padding-right: var(--space-8);
}

.nav__logo:hover {
  color: var(--accent-lilac);
  transition: color var(--duration) var(--ease);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__links a {
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  position: relative;
  padding-bottom: 2px;
  white-space: nowrap;
  transition: color var(--duration) var(--ease);
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1.5px;
  background: var(--accent-lilac);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration) var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after,
.nav__links a.active::after {
  transform: scaleX(1);
}

.nav__links a.active {
  color: var(--ink);
}

/* Dropdown */
.nav__item {
  position: relative;
  list-style: none;
}

.nav__dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--white);
  border: 1px solid var(--grey-light);
  box-shadow: 0 8px 28px rgba(69,69,69,0.10);
  min-width: 190px;
  padding: var(--space-2) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms var(--ease), visibility 180ms var(--ease), transform 180ms var(--ease);
  z-index: 200;
  list-style: none;
}

.nav__dropdown::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  background: var(--white);
  border-top: 1px solid var(--grey-light);
  border-left: 1px solid var(--grey-light);
}

.nav__item--has-dropdown:hover .nav__dropdown,
.nav__item--has-dropdown.dropdown-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav__dropdown li {
  border: none;
}

.nav__dropdown a {
  display: block;
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dark);
  white-space: nowrap;
  position: static;
  padding-bottom: var(--space-2);
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}

.nav__dropdown a::after {
  display: none;
}

.nav__dropdown a:hover {
  color: var(--accent-lilac);
  padding-left: calc(var(--space-6) + 4px);
}

/* Dropdown toggle button (mobile only) */
.nav__dropdown-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--grey-dark);
  flex-shrink: 0;
}

.nav__dropdown-toggle::before {
  content: '';
  display: block;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform-origin: center;
  transform: rotate(45deg);
  transition: transform var(--duration) var(--ease);
}

.nav__dropdown-toggle[aria-expanded="true"]::before {
  transform: rotate(-135deg);
}

/* Hamburger toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 4px;
  margin-left: var(--space-4);
}

.nav__toggle span {
  display: block;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
  transform-origin: center;
}

.nav__toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.nav__toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* Mobile nav */
@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }

  .nav__links {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: var(--space-4) var(--gutter) var(--space-8);
    border-bottom: 1px solid var(--grey-light);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 280ms var(--ease), opacity 280ms var(--ease);
    box-shadow: 0 8px 24px rgba(69,69,69,0.1);
    overflow-x: hidden;
    overflow-y: auto;
    max-height: calc(100vh - var(--nav-h));
    max-height: calc(100dvh - var(--nav-h));
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__links li {
    width: 100%;
    border-bottom: 1px solid var(--grey-light);
  }

  .nav__links li:last-child {
    border-bottom: none;
  }

  .nav__links a {
    display: block;
    padding: var(--space-4) 0;
    white-space: normal;
  }

  .nav__links a::after {
    display: none;
  }

  /* Mobile dropdown */
  .nav__item--has-dropdown {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    width: 100%;
  }

  .nav__item--has-dropdown > a {
    flex: 1;
  }

  .nav__dropdown-toggle {
    display: inline-flex;
  }

  .nav__dropdown {
    position: static;
    left: auto;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--grey-light);
    background: var(--bg);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms var(--ease), opacity 280ms var(--ease), visibility 280ms var(--ease);
  }

  .nav__dropdown::before {
    display: none;
  }

  .nav__item--has-dropdown.dropdown-open .nav__dropdown {
    opacity: 1;
    visibility: visible;
    max-height: 600px;
    transform: none;
  }

  .nav__dropdown a {
    padding: var(--space-3) calc(var(--gutter) + var(--space-4));
    font-size: var(--text-sm);
    color: var(--ink);
    white-space: normal;
  }

  .nav__dropdown a:hover {
    padding-left: calc(var(--gutter) + var(--space-4));
  }
}


/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */

.footer {
  background: var(--ink);
  color: var(--white);
  padding-block: var(--space-12);
  margin-top: var(--space-24);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--space-4);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--grey-mid);
  max-width: none;
  text-align: center;
}


/* --------------------------------------------------------------------------
   PAGE HEADER (shared across landing + project pages)
   -------------------------------------------------------------------------- */

.page-header {
  padding-top: calc(var(--nav-h) + var(--space-16));
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--grey-light);
  margin-bottom: var(--space-12);
}

.page-header__breadcrumb {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.page-header__breadcrumb a {
  transition: color var(--duration) var(--ease);
}

.page-header__breadcrumb a:hover {
  color: var(--accent-lilac);
}

.page-header__breadcrumb span {
  color: var(--grey-mid);
}

.page-header__title {
  margin-bottom: var(--space-4);
}

.page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
  margin-top: var(--space-6);
}

.page-header__meta-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.page-header__meta-item .label {
  color: var(--accent-lilac);
}

.page-header__meta-item span:last-child {
  font-size: var(--text-base);
  font-weight: 500;
}

.page-header__desc {
  margin-top: var(--space-6);
  max-width: 56ch;
  font-weight: 300;
  font-size: var(--text-md);
  line-height: 1.75;
}


/* --------------------------------------------------------------------------
   T1: HOME PAGE
   -------------------------------------------------------------------------- */

/* Hero: Split screen */
.hero-split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  height: 100vh;
  min-height: 600px;
}

.hero-split__left {
  background: #454545;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--nav-h) + var(--space-8)) clamp(2rem, 5vw, 4rem) var(--space-16);
  color: var(--white);
}

.hero-split__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-lilac);
  margin-bottom: var(--space-8);
  display: block;
}

.hero-split__name {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1.0;
  color: var(--white);
  margin-bottom: var(--space-8);
}

.hero-split__tagline {
  font-size: clamp(var(--text-base), 1.4vw, var(--text-md));
  font-weight: 300;
  line-height: 1.75;
  color: rgba(255,255,255,0.68);
  max-width: 36ch;
  margin-bottom: var(--space-10);
}

.hero-split__cta {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.btn--hero-primary {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent-lilac);
  color: var(--ink);
  border: 1.5px solid var(--accent-lilac);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 300ms var(--ease);
  white-space: nowrap;
}

.btn--hero-primary:hover {
  background: var(--white);
  border-color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(195, 184, 212, 0.35);
}

.btn--hero-primary:active {
  transform: scale(0.97);
}

.btn--hero-outline {
  display: inline-flex;
  align-items: center;
  padding: var(--space-3) var(--space-8);
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: var(--radius-btn);
  cursor: pointer;
  transition: all 300ms var(--ease);
  white-space: nowrap;
}

.btn--hero-outline:hover {
  border-color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.08);
  transform: translateY(-1px);
}

.btn--hero-outline:active {
  transform: scale(0.97);
}

.hero-split__right {
  position: relative;
  overflow: hidden;
  background: var(--grey-light);
}

.hero-split__right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* Home: Editorial features */
.home-editorial {
  background: var(--bg);
}

.home-editorial__feature {
  display: grid;
  grid-template-columns: 60fr 40fr;
  min-height: 540px;
}

.home-editorial__feature--reverse {
  grid-template-columns: 40fr 60fr;
}

.home-editorial__img-wrap {
  display: block;
  overflow: hidden;
  position: relative;
  min-height: 460px;
}

.home-editorial__img-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease);
}

.home-editorial__img-wrap:hover img {
  transform: scale(1.03);
}

.home-editorial__text {
  padding: var(--space-16) clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-editorial__category {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-lilac);
  display: block;
  margin-bottom: var(--space-4);
}

.home-editorial__title {
  font-size: clamp(var(--text-xl), 2.2vw, var(--text-3xl));
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: var(--space-6);
}

.home-editorial__text p {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.8;
  color: var(--grey-dark);
  max-width: 38ch;
  margin-bottom: var(--space-8);
}

.home-editorial__link {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent-lilac);
  padding-bottom: 3px;
  display: inline-block;
  transition: color var(--duration) var(--ease);
}

.home-editorial__link:hover {
  color: var(--accent-lilac);
}

/* Home: Statement / quote */
.home-statement {
  background: var(--white);
  padding-block: var(--space-24);
}

.home-statement__inner {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: var(--space-16);
  align-items: center;
}

.home-statement__quote {
  font-size: clamp(var(--text-xl), 3vw, var(--text-3xl));
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  color: var(--accent-lilac);
  padding: 0;
  border: none;
}

.home-statement__quote-mark {
  display: block;
  font-size: clamp(4rem, 7vw, 6.5rem);
  line-height: 0.75;
  color: var(--accent-lilac);
  opacity: 0.35;
  font-style: normal;
  margin-bottom: var(--space-4);
}

.home-statement__bio p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--grey-dark);
}

.home-statement__bio p + p {
  margin-top: var(--space-4);
}

/* Responsive: Home */
@media (max-width: 900px) {
  .hero-split {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
    overflow: hidden;
  }

  .hero-split__left {
    padding: calc(var(--nav-h) + var(--space-12)) var(--gutter) var(--space-12);
    justify-content: flex-end;
    min-height: 70vh;
    overflow: hidden;
  }

  .hero-split__name::before {
    width: 110%;
    left: -5%;
  }

  .hero-split__right {
    height: 60vw;
    min-height: 300px;
  }

  .home-editorial__feature,
  .home-editorial__feature--reverse {
    grid-template-columns: 1fr;
  }

  .home-editorial__feature--reverse .home-editorial__text {
    order: -1;
  }

  .home-editorial__img-wrap {
    min-height: 280px;
  }

  .home-editorial__text {
    padding: var(--space-12) var(--gutter);
  }

  .home-statement__inner {
    grid-template-columns: 1fr;
    gap: var(--space-10);
  }
}


/* --------------------------------------------------------------------------
   T2: ARTIST STATEMENT
   -------------------------------------------------------------------------- */

.statement {
  padding-top: calc(var(--nav-h) + var(--space-24));
  padding-bottom: var(--space-32);
}

.statement__header {
  text-align: center;
  margin-bottom: var(--space-16);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--grey-light);
}

.statement__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-lilac);
  display: block;
  margin-bottom: var(--space-4);
}

.statement__title {
  font-size: clamp(var(--text-2xl), 4vw, var(--text-4xl));
  letter-spacing: 0.08em;
}

.statement__body {
  max-width: 62ch;
  margin-inline: auto;
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.85;
  color: var(--ink);
  text-align: center;
}

.statement__body p + p {
  margin-top: var(--space-8);
}

.statement__quote-wrap {
  max-width: 52ch;
  margin-inline: auto;
  padding: var(--space-16) 0 var(--space-12);
  text-align: center;
}

.statement__quote {
  font-size: clamp(var(--text-lg), 2.5vw, var(--text-xl));
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--ink);
  position: relative;
  padding: 0 var(--space-6);
}

.statement__quote::before {
  content: '\201C';
  font-size: 4rem;
  line-height: 0;
  vertical-align: -1.2rem;
  color: var(--accent-lilac);
  margin-right: 0.15em;
  font-style: normal;
}

.statement__bio {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--space-8);
  max-width: var(--max-w-text);
  margin-inline: auto;
  margin-top: var(--space-20);
  padding-top: var(--space-12);
  border-top: 1px solid var(--grey-light);
}

.statement__bio-item .label {
  display: block;
  margin-bottom: var(--space-2);
}

.statement__bio-item p {
  font-size: var(--text-sm);
  color: var(--grey-dark);
  line-height: 1.65;
}


/* --------------------------------------------------------------------------
   T3: SECTION LANDING
   -------------------------------------------------------------------------- */

.landing__intro {
  max-width: 60ch;
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.75;
  margin-bottom: var(--space-12);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--space-6);
}

.card-grid--2col {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid--3col {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  overflow: hidden;
  transition: transform var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
  text-decoration: none;
  color: var(--ink);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(195, 184, 212, 0.22), 0 4px 12px rgba(69,69,69,0.06);
}

.card__thumb {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--grey-light);
  position: relative;
}

.card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease);
}

.card:hover .card__thumb img {
  transform: scale(1.04);
}

/* Placeholder when no image */
.card__thumb--empty {
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__thumb--empty::after {
  content: '';
  width: 32px;
  height: 32px;
  border: 1px solid var(--grey-mid);
  border-radius: 50%;
}

.card__body {
  padding: var(--space-6);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 2px solid var(--accent-lilac);
}

.card__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-lilac);
}

.card__title {
  font-size: var(--text-base);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.3;
}

.card__desc {
  font-size: var(--text-sm);
  color: var(--grey-dark);
  line-height: 1.55;
  margin-top: var(--space-2);
  max-width: 36ch;
}

.card__arrow {
  margin-top: auto;
  padding-top: var(--space-4);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-lilac);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  transition: gap var(--duration) var(--ease);
}

.card:hover .card__arrow {
  gap: var(--space-4);
}

@media (max-width: 768px) {
  .card-grid--2col,
  .card-grid--3col {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------------------------------
   T4: GALLERY PAGE
   -------------------------------------------------------------------------- */

.gallery-grid {
  columns: 3;
  column-gap: var(--space-3);
  padding-bottom: var(--space-16);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-3);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--grey-light);
  display: block;
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 500ms var(--ease), opacity 300ms var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.03);
  opacity: 0.88;
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4) var(--space-4) var(--space-3);
  background: linear-gradient(to top, rgba(69,69,69,0.82) 0%, transparent 100%);
  color: var(--white);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
  pointer-events: none;
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item__caption-title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.gallery-item__caption-meta {
  font-size: var(--text-xs);
  font-weight: 300;
  color: rgba(255,255,255,0.78);
  margin-top: 2px;
}

@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
}

@media (max-width: 540px) {
  .gallery-grid { columns: 1; }
}


/* --------------------------------------------------------------------------
   T5: PROJECT PAGE
   -------------------------------------------------------------------------- */

/* Hero */
.project-hero {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  margin-top: var(--nav-h);
  background: var(--ink);
}

.project-hero img {
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: cover;
  opacity: 0.92;
}

/* Title block */
.project-header {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: var(--space-12) var(--gutter) var(--space-8);
  border-bottom: 1px solid var(--grey-light);
  margin-bottom: var(--space-12);
}

.project-header__breadcrumb {
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-bottom: var(--space-6);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.project-header__breadcrumb a:hover {
  color: var(--accent-lilac);
  transition: color var(--duration) var(--ease);
}

.project-header__breadcrumb span {
  color: var(--grey-mid);
}

.project-header__title {
  margin-bottom: var(--space-8);
}

.project-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
}

.project-header__meta-item .label {
  color: var(--accent-lilac);
  display: block;
  margin-bottom: var(--space-1);
}

.project-header__meta-item span:last-child {
  font-size: var(--text-base);
  font-weight: 500;
}

/* Body content */
.project-body {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.project-body__text {
  max-width: 68ch;
  margin-bottom: var(--space-12);
}

.project-body__text p {
  font-size: var(--text-md);
  font-weight: 300;
  line-height: 1.8;
}

.project-body__text p + p {
  margin-top: var(--space-6);
}

/* Process / photo sequence */
.project-sequence {
  margin-block: var(--space-16);
}

.project-sequence__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-lilac);
  margin-bottom: var(--space-6);
  display: block;
}

.project-sequence__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-10);
}

.project-sequence__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.project-sequence__item {
  position: relative;
}

.project-sequence__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

.project-sequence__step {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--accent-lilac);
  color: var(--ink);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.12em;
  padding: 2px 8px;
}

.project-sequence__item-caption {
  padding: var(--space-3) 0;
  font-size: var(--text-sm);
  color: var(--grey-dark);
}

/* Project: photo grid (non-sequential) */
.project-photos {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-3);
  margin-block: var(--space-16);
}

.project-photos--3col {
  grid-template-columns: repeat(3, 1fr);
}

.project-photos__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
}

/* PDF download */
.project-report {
  margin-block: var(--space-12);
  padding: var(--space-8);
  background: var(--white);
  border-left: 3px solid var(--accent-lilac);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  flex-wrap: wrap;
}

.project-report__info .label {
  color: var(--accent-lilac);
  margin-bottom: var(--space-2);
}

.project-report__info p {
  font-size: var(--text-sm);
  color: var(--grey-dark);
  max-width: 48ch;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-8);
  font-family: var(--font);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: var(--radius-btn);
  position: relative;
  overflow: hidden;
  transition: all 300ms var(--ease);
  white-space: nowrap;
  z-index: 1;
}

.btn:active {
  transform: scale(0.97);
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
  border: 1.5px solid var(--ink);
}

.btn--primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-lilac);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms var(--ease-out);
  z-index: -1;
}

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

.btn--primary:hover::before {
  transform: scaleX(1);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}

.btn--outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 380ms var(--ease-out);
  z-index: -1;
}

.btn--outline:hover {
  color: var(--white);
  border-color: var(--ink);
}

.btn--outline:hover::before {
  transform: scaleX(1);
}

/* Project navigation (prev / next) */
.project-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
  margin-top: var(--space-16);
  padding-top: var(--space-8);
  border-top: 1px solid var(--grey-light);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.project-nav__link {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  background: var(--white);
  transition: background var(--duration) var(--ease);
  gap: var(--space-2);
}

.project-nav__link:hover {
  background: var(--grey-light);
}

.project-nav__link--next {
  text-align: right;
  align-items: flex-end;
}

.project-nav__direction {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-lilac);
}

.project-nav__title {
  font-size: var(--text-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

@media (max-width: 768px) {
  .project-sequence__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-photos {
    grid-template-columns: 1fr;
  }

  .project-photos--3col {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 540px) {
  .project-sequence__grid {
    grid-template-columns: 1fr;
  }
}


/* --------------------------------------------------------------------------
   T6: CONTACT PAGE
   -------------------------------------------------------------------------- */

.contact {
  padding-top: calc(var(--nav-h) + var(--space-16));
  padding-bottom: var(--space-32);
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--space-16);
  align-items: start;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.contact__info {
  position: sticky;
  top: calc(var(--nav-h) + var(--space-8));
}

.contact__info .label {
  color: var(--accent-lilac);
  display: block;
  margin-bottom: var(--space-4);
}

.contact__title {
  margin-bottom: var(--space-6);
}

.contact__email {
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1.5px solid var(--accent-lilac);
  padding-bottom: 2px;
  display: inline-block;
  transition: color var(--duration) var(--ease);
}

.contact__email:hover {
  color: var(--accent-lilac);
}

.contact__desc {
  margin-top: var(--space-6);
  font-size: var(--text-sm);
  color: var(--grey-dark);
  line-height: 1.7;
}

.contact__image {
  border-radius: var(--radius);
  overflow: hidden;
}

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

/* Form */
.form {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-6);
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-dark);
}

.form__input,
.form__textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--white);
  border: 1.5px solid var(--grey-light);
  border-radius: var(--radius);
  font-size: var(--text-base);
  color: var(--ink);
  transition: border-color var(--duration) var(--ease);
  outline: none;
}

.form__input:focus,
.form__textarea:focus {
  border-color: var(--accent-lilac);
}

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

@media (max-width: 768px) {
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .contact__info {
    position: static;
  }

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


/* --------------------------------------------------------------------------
   LIGHTBOX
   -------------------------------------------------------------------------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(20, 20, 20, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 280ms var(--ease);
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox__inner {
  position: relative;
  max-width: min(90vw, 1100px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

.lightbox__caption {
  margin-top: var(--space-4);
  text-align: center;
  color: rgba(255,255,255,0.78);
}

.lightbox__caption-title {
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--white);
}

.lightbox__caption-meta {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
}

.lightbox__close {
  position: absolute;
  top: calc(-1 * var(--space-10));
  right: 0;
  color: var(--white);
  font-size: var(--text-xl);
  line-height: 1;
  padding: var(--space-2);
  opacity: 0.7;
  transition: opacity var(--duration) var(--ease);
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__prev,
.lightbox__next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  color: var(--white);
  font-size: var(--text-2xl);
  padding: var(--space-4) var(--space-6);
  opacity: 0.5;
  transition: opacity var(--duration) var(--ease);
  user-select: none;
}

.lightbox__prev:hover,
.lightbox__next:hover {
  opacity: 1;
}

.lightbox__prev { left: var(--space-4); }
.lightbox__next { right: var(--space-4); }

@media (max-width: 600px) {
  .lightbox__prev,
  .lightbox__next {
    font-size: var(--text-xl);
    padding: var(--space-3);
  }
}


/* --------------------------------------------------------------------------
   MISCELLANEOUS COMPONENTS
   -------------------------------------------------------------------------- */

/* Divider */
.divider {
  height: 1px;
  background: var(--grey-light);
  margin-block: var(--space-12);
}

/* Accent rule — brushstroke */
.accent-rule {
  width: 120px;
  height: 14px;
  background: url('/assets/images/brushstroke-accent.svg') no-repeat center;
  background-size: contain;
  margin-bottom: var(--space-6);
  border: none;
}

.statement__header .accent-rule {
  margin-inline: auto;
}

/* Tag / pill */
.tag {
  display: inline-block;
  padding: 2px 10px;
  background: var(--grey-light);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dark);
}

.tag--lilac {
  background: var(--accent-lilac);
  color: var(--white);
}

.tag--green {
  background: var(--accent-green);
  color: var(--ink);
}

/* Placeholder block */
.placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: var(--space-16);
  background: var(--white);
  border: 1.5px dashed var(--grey-mid);
  text-align: center;
  color: var(--grey-mid);
  gap: var(--space-3);
}

.placeholder__icon {
  font-size: var(--text-3xl);
  opacity: 0.3;
}

.placeholder__label {
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* Coming soon banner */
.coming-soon {
  padding: var(--space-4) var(--space-6);
  background: var(--accent-lilac);
  color: var(--white);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: var(--space-8);
}


/* --------------------------------------------------------------------------
   BACKGROUND TEXTURE & GRADIENTS
   -------------------------------------------------------------------------- */

/* Subtle paper-grain overlay — gives gallery-paper feel */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.018;
  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.85' 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;
  mix-blend-mode: multiply;
}

/* Soft lilac gradient wash between sections */
.home-editorial {
  position: relative;
}

.home-editorial::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 180px;
  background: linear-gradient(to bottom, rgba(195,184,212,0.045), transparent);
  pointer-events: none;
}

/* Alternating section tints */
.home-statement {
  background: #F9F8FB;
}

/* Statement quote section subtle wash */
.home-statement::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, rgba(195,184,212,0.035), transparent);
  pointer-events: none;
}

.home-statement {
  position: relative;
}


/* --------------------------------------------------------------------------
   BRUSHSTROKE DECORATIONS
   -------------------------------------------------------------------------- */

/* Hero brushstroke behind name */
.hero-split__left {
  position: relative;
}

.hero-split__name {
  position: relative;
}

.hero-split__name::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 130%;
  height: 160%;
  background: url('/assets/images/brushstroke-hero.svg') no-repeat center;
  background-size: contain;
  pointer-events: none;
  z-index: -1;
}

/* Section divider brushstroke */
.brushstroke-divider {
  display: block;
  width: 200px;
  height: 16px;
  margin: var(--space-12) auto;
  background: url('/assets/images/brushstroke-underline.svg') no-repeat center;
  background-size: contain;
}


/* --------------------------------------------------------------------------
   IMAGE REVEAL ANIMATION
   -------------------------------------------------------------------------- */

.reveal-wrap {
  position: relative;
  overflow: hidden;
}

.reveal-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent-lilac);
  transform-origin: right;
  transform: scaleX(1);
  transition: transform 700ms var(--ease-out);
  z-index: 2;
}

.reveal-wrap.is-revealed::after {
  transform: scaleX(0);
}


/* --------------------------------------------------------------------------
   SMOOTH PAGE TRANSITIONS
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   NESTED NAVIGATION DROPDOWNS
   -------------------------------------------------------------------------- */

/* Desktop: side-panel sub-dropdown */
.nav__dropdown-item {
  position: relative;
}

.nav__dropdown-item--has-children > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__dropdown-item--has-children > a::after {
  content: '›';
  /* Reset all properties inherited from .nav__links a::after */
  position: static;
  bottom: auto;
  left: auto;
  right: auto;
  height: auto;
  width: auto;
  background: none;
  transform: none;
  /* Own styles */
  display: block;
  flex-shrink: 0;
  font-size: var(--text-base);
  line-height: 1;
  margin-left: var(--space-3);
  opacity: 0.45;
  transition: opacity var(--duration) var(--ease);
}

.nav__dropdown-item--has-children:hover > a::after {
  opacity: 1;
}

.nav__subdropdown {
  position: absolute;
  left: 100%;
  top: -1px;
  background: var(--white);
  border: 1px solid var(--grey-light);
  box-shadow: 0 8px 28px rgba(69,69,69,0.10);
  min-width: 190px;
  padding: var(--space-2) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-6px);
  transition: opacity 180ms var(--ease), visibility 180ms var(--ease), transform 180ms var(--ease);
  z-index: 210;
  list-style: none;
}

.nav__dropdown-item--has-children:hover > .nav__subdropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav__subdropdown a {
  display: block;
  padding: var(--space-2) var(--space-6);
  font-size: var(--text-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dark);
  white-space: nowrap;
  transition: color var(--duration) var(--ease), padding-left var(--duration) var(--ease);
}

.nav__subdropdown a::after {
  display: none;
}

.nav__subdropdown a:hover {
  color: var(--accent-lilac);
  padding-left: calc(var(--space-6) + 4px);
}

/* Mobile: nested accordion */
@media (max-width: 900px) {
  .nav__dropdown-item--has-children > a::after {
    content: '';
    position: static;
    bottom: auto;
    left: auto;
    right: auto;
    background: none;
    font-size: unset;
    line-height: unset;
    /* Match top-level toggle chevron, slightly smaller */
    width: 5px;
    height: 5px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform-origin: center;
    transform: rotate(45deg);
    transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
  }

  .nav__dropdown-item--has-children.subdropdown-open > a::after {
    transform: rotate(-135deg);
  }

  /* Prevent hover rule from .nav__links a:hover::after overriding the chevron transform */
  .nav__dropdown-item--has-children > a:hover::after {
    transform: rotate(45deg);
  }

  .nav__dropdown-item--has-children.subdropdown-open > a:hover::after {
    transform: rotate(-135deg);
  }

  .nav__subdropdown {
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--grey-light);
    background: var(--white);
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 280ms var(--ease), opacity 280ms var(--ease), visibility 280ms var(--ease);
    padding: 0;
    min-width: unset;
  }

  .nav__dropdown-item--has-children.subdropdown-open > .nav__subdropdown {
    opacity: 1;
    visibility: visible;
    max-height: 320px;
    padding: var(--space-1) 0;
  }

  .nav__subdropdown a {
    padding: var(--space-2) calc(var(--gutter) + var(--space-8));
    font-size: 0.6875rem;
    color: var(--grey-mid);
  }

  .nav__subdropdown a:hover {
    padding-left: calc(var(--gutter) + var(--space-8));
    color: var(--accent-lilac);
  }
}


/* --------------------------------------------------------------------------
   RESPONSIVE UTILITIES
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  :root {
    --space-24: 4rem;
    --space-32: 5rem;
  }
}

@media (max-width: 600px) {
  :root {
    --space-16: 3rem;
    --space-20: 4rem;
    --space-24: 3.5rem;
  }

  .project-report {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Small mobile refinements */
@media (max-width: 480px) {
  .hero-split__cta {
    flex-direction: column;
    gap: var(--space-3);
  }

  .hero-split__cta .btn--hero-primary,
  .hero-split__cta .btn--hero-outline {
    text-align: center;
    justify-content: center;
  }

  .project-header__meta {
    flex-direction: column;
    gap: var(--space-4);
  }

  .lightbox__prev,
  .lightbox__next {
    padding: var(--space-2);
  }
}

/* ============================================================
   PDF MODAL
   ============================================================ */

.pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(20, 20, 20, 0.92);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease);
}

.pdf-modal.open {
  opacity: 1;
  pointer-events: all;
}

.pdf-modal__inner {
  position: relative;
  width: min(900px, 94vw);
  height: calc(100vh - 80px);
  margin-top: 48px;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pdf-modal__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3) var(--space-5);
  background: var(--off-white);
  border-bottom: 1px solid var(--grey-light);
  flex-shrink: 0;
}

.pdf-modal__title {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--grey-dark);
}

.pdf-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  font-size: var(--text-xl);
  color: var(--grey-dark);
  line-height: 1;
  padding: var(--space-1) var(--space-2);
  transition: color 180ms var(--ease);
}

.pdf-modal__close:hover { color: var(--ink); }

.pdf-modal__frame {
  flex: 1;
  width: 100%;
  border: none;
  display: block;
}
