/* ============================================================
   Stephen Kim Creative — Global Styles
   Refined Editorial Palette
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Montserrat:wght@300;400;500;600&display=swap');

:root {
  /* ── Palette ── */
  --bg:         #F7F3EA;   /* warm cream */
  --bg-dark:    #FFFCF6;   /* ivory */
  --bg-deep:    #2F3A2F;   /* deep olive */
  --soft-olive: #6F7A63;   /* soft olive */
  --text:       #151515;   /* primary text */
  --text-muted: #6B675F;   /* muted text */
  --border:     #DED6C8;   /* warm border */
  --accent:     #C8F135;   /* yellow accent — use sparingly */
  --white:      #FFFCF6;

  /* ── Type ── */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', Helvetica, sans-serif;

  /* ── Layout ── */
  --nav-height: 72px;
  --max-width:  1380px;
  --gutter:     clamp(20px, 5vw, 72px);
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; background: none; border: none; }

/* ============================================================
   NAVIGATION
   ============================================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.nav__logo img {
  height: 44px;
  width: auto;
  transition: opacity var(--transition);
}
.nav__logo:hover img { opacity: 0.6; }

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

.nav__link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  position: relative;
  transition: color var(--transition);
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--text);
  transition: width var(--transition);
}
.nav__link:hover { color: var(--soft-olive); }
.nav__link:hover::after,
.nav__link.active::after { width: 100%; }
.nav__link.active { color: var(--text); }

.nav__instagram {
  display: flex;
  align-items: center;
  color: var(--text);
  opacity: 0.65;
  transition: opacity var(--transition);
}
.nav__instagram:hover { opacity: 1; }
.nav__instagram svg { width: 19px; height: 19px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--text);
}

.nav__mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--text);
}

/* ============================================================
   HERO — Full Bleed Parallax
   ============================================================ */
.hero {
  min-height: 100vh;
  padding-top: var(--nav-height);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hero--fullbleed {
  display: block;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.hero__parallax-bg {
  position: absolute;
  inset: -15% 0;
  will-change: transform;
}
.hero__parallax-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(23,28,20,0.80) 0%,
    rgba(23,28,20,0.45) 55%,
    rgba(23,28,20,0.10) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: calc(var(--nav-height) + 80px) var(--gutter) 80px;
  max-width: 640px;
}

.hero__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(200,241,53,0.85);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero__label::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: rgba(200,241,53,0.7);
}

.hero__headline {
  font-family: var(--font-display);
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 28px;
}

.hero__text {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: rgba(255,252,246,0.82);
  max-width: 420px;
  margin-bottom: 44px;
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: var(--transition);
}

.btn--primary {
  background: var(--text);
  color: var(--white);
  border: 1px solid var(--text);
}
.btn--primary:hover {
  background: var(--bg-deep);
  border-color: var(--bg-deep);
}

.btn--secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,252,246,0.5);
}
.btn--secondary:hover {
  background: rgba(255,252,246,0.12);
  border-color: var(--white);
}

.btn--dark {
  background: var(--bg-deep);
  color: var(--white);
  border: 1px solid var(--bg-deep);
}
.btn--dark:hover {
  background: transparent;
  color: var(--bg-deep);
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section {
  padding: clamp(60px, 8vw, 120px) var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
}

.section__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.section__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--soft-olive);
  margin-bottom: 10px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--text);
}

.section__link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-olive);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition);
  white-space: nowrap;
  margin-bottom: 4px;
}
.section__link:hover { color: var(--text); }
.section__link::after { content: '→'; transition: transform var(--transition); }
.section__link:hover::after { transform: translateX(4px); }

/* ============================================================
   FEATURED CATEGORY THUMBNAILS (Homepage + Work page)
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.cat-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: block;
}

.cat-card__img {
  position: absolute;
  inset: 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.cat-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-card:hover .cat-card__img { transform: scale(1.05); }

.cat-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(23,28,20,0.75) 0%,
    rgba(23,28,20,0.15) 50%,
    transparent 100%
  );
  transition: opacity var(--transition);
}
.cat-card:hover .cat-card__overlay { opacity: 0.9; }

.cat-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px;
  color: var(--white);
}

.cat-card__num {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(200,241,53,0.75);
  margin-bottom: 6px;
}

.cat-card__title {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 34px);
  font-weight: 300;
  line-height: 1.2;
}

.cat-card__arrow {
  font-size: 18px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity var(--transition), transform var(--transition);
  display: block;
  margin-top: 12px;
}
.cat-card:hover .cat-card__arrow { opacity: 1; transform: translateX(0); }

/* Image placeholder */
.img-placeholder {
  width: 100%; height: 100%;
  background: #e8e4dc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 8px;
  color: var(--text-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px dashed var(--border);
}
.img-placeholder svg { opacity: 0.3; width: 28px; height: 28px; }

/* ============================================================
   ABOUT TEASER STRIP
   ============================================================ */
.about-strip {
  background: var(--bg-deep);
  color: var(--white);
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.about-strip__img {
  overflow: hidden;
  min-height: 480px;
}
.about-strip__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-strip__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(48px, 7vw, 100px);
}

.about-strip__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(200,241,53,0.8);
  margin-bottom: 20px;
}

.about-strip__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 300;
  line-height: 1.2;
  margin-bottom: 24px;
  color: var(--white);
}

.about-strip__body {
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255,252,246,0.72);
  margin-bottom: 36px;
  max-width: 420px;
}

/* ============================================================
   PAGE HERO (Inner pages)
   ============================================================ */
.page-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 48px;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  max-width: var(--max-width);
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}
.page-hero__eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--soft-olive);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.page-hero__eyebrow::before {
  content: '';
  display: block;
  width: 22px;
  height: 1px;
  background: var(--soft-olive);
}
.page-hero__title {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 76px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--text);
}
.page-hero__subtitle {
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  margin-top: 18px;
  max-width: 460px;
}

/* ============================================================
   VIDEO CARDS
   ============================================================ */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr));
  gap: 40px 36px;
}

.video-card { display: flex; flex-direction: column; gap: 14px; }

.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  background: #e8e4dc;
}
.video-card__embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}

.video-card__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.01em;
}

/* ============================================================
   PHOTOGRAPHY — Compact Masonry Grid
   ============================================================ */
.photo-section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--soft-olive);
  padding: clamp(40px,5vw,64px) var(--gutter) 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.photo-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.masonry-grid {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
  columns: 4;
  column-gap: 4px;
}
.masonry-item {
  break-inside: avoid;
  margin-bottom: 4px;
  overflow: hidden;
  display: block;
}
.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s;
}
.masonry-item:hover img { opacity: 0.88; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
.about-portrait { position: sticky; top: calc(var(--nav-height) + 32px); }
.about-portrait__img { overflow: hidden; }
.about-portrait__img img { width: 100%; height: auto; display: block; }
.about-portrait__caption {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 14px;
}

.about-text { padding-top: 12px; }
.about-text h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 300;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 28px;
}
.about-text p {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.about-text strong { color: var(--text); font-weight: 400; }
.about-text .highlight {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
  border-left: 2px solid var(--border);
  padding-left: 24px;
  margin: 36px 0;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-centered {
  max-width: 640px;
  margin: 0 auto;
}
.contact-centered h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 68px);
  font-weight: 300;
  text-align: center;
  margin-bottom: 14px;
  color: var(--text);
}
.contact-centered .subtitle {
  text-align: center;
  font-size: 14px;
  font-weight: 300;
  color: var(--text-muted);
  margin-bottom: 48px;
  line-height: 1.7;
}
.contact-centered .btn--primary {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 10px;
  letter-spacing: 0.22em;
  margin-top: 8px;
  background: var(--bg-deep);
  border-color: var(--bg-deep);
}
.contact-centered .btn--primary:hover {
  background: transparent;
  color: var(--bg-deep);
}

.contact-form { display: flex; flex-direction: column; gap: 26px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--soft-olive);
}
.form-input,
.form-textarea,
.form-select {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 11px 0;
  font-family: var(--font-body);
  font-size: 16px; /* prevent iOS zoom */
  font-weight: 300;
  color: var(--text);
  outline: none;
  transition: border-color var(--transition);
  width: 100%;
}
.form-input::placeholder,
.form-textarea::placeholder { color: var(--border); }
.form-input:focus,
.form-textarea:focus,
.form-select:focus { border-bottom-color: var(--text); }
.form-textarea { resize: vertical; min-height: 110px; }
.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7'%3E%3Cpath d='M0 0l5.5 7L11 0z' fill='%236B675F'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 6px center;
  padding-right: 22px;
}
.form-select option { background: var(--bg); color: var(--text); }
.form-success {
  display: none;
  background: #f0f4ee;
  border: 1px solid #c0cebc;
  padding: 18px 22px;
  font-size: 13px;
  color: #3a5236;
}
.form-success.show { display: block; }

/* ============================================================
   WORK INDEX (Work.html)
   ============================================================ */
.work-index {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.work-index-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1/1;
  display: block;
}
.work-index-card__bg {
  position: absolute; inset: 0;
  transition: transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.work-index-card__bg img { width: 100%; height: 100%; object-fit: cover; }
.work-index-card:hover .work-index-card__bg { transform: scale(1.05); }
.work-index-card__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(23,28,20,0.75) 0%, transparent 55%);
}
.work-index-card__content {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 32px;
  color: var(--white);
}
.work-index-card__num {
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(200,241,53,0.75);
  margin-bottom: 6px;
}
.work-index-card__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.2vw, 36px);
  font-weight: 300;
  line-height: 1.15;
}
.work-index-card__arrow {
  font-size: 18px;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity var(--transition), transform var(--transition);
  display: block;
  margin-top: 10px;
}
.work-index-card:hover .work-index-card__arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-deep);
  color: var(--white);
  padding: 56px var(--gutter) 36px;
}
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer__logo img {
  height: 40px;
  width: auto;
  filter: invert(1);
  opacity: 0.85;
}
.footer__tagline {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 300;
  margin-top: 14px;
  color: rgba(255,252,246,0.55);
  line-height: 1.5;
}
.footer__col-title {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: rgba(200,241,53,0.7);
}
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__link {
  font-size: 13px;
  color: rgba(255,252,246,0.6);
  transition: color var(--transition);
}
.footer__link:hover { color: var(--white); }
.footer__bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer__copy { font-size: 11px; color: rgba(255,252,246,0.3); letter-spacing: 0.04em; }
.footer__social a { color: rgba(255,252,246,0.35); transition: color var(--transition); }
.footer__social a:hover { color: var(--white); }

/* ============================================================
   WORK PAGE NAV (between work pages)
   ============================================================ */
.work-page-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 52px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  gap: 20px;
}
.work-page-nav__btn {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  font-family: var(--font-body);
}
.work-page-nav__btn:hover { color: var(--text); }
.work-page-nav__arrow {
  width: 44px; height: 44px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: border-color var(--transition);
  flex-shrink: 0;
}
.work-page-nav__btn:hover .work-page-nav__arrow { border-color: var(--text); }
.work-page-nav__hint { font-size: 9px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-muted); display: block; }
.work-page-nav__name { font-family: var(--font-display); font-size: 20px; font-weight: 300; color: var(--text); display: block; }

/* Work category tab bar */
.work-tab {
  font-size: 10px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; padding: 16px 22px; white-space: nowrap;
  border-bottom: 2px solid transparent; color: var(--text-muted);
  text-decoration: none; display: inline-block;
  transition: color 0.3s, border-color 0.3s; flex-shrink: 0;
}
.work-tab:hover { color: var(--text); }
.work-tab.active { color: var(--text); border-bottom-color: var(--text); }
.work-tab--back {
  padding-left: 0; padding-right: 22px;
  border-right: 1px solid var(--border); margin-right: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid .cat-card:last-child { grid-column: span 2; aspect-ratio: 1/1; }
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .about-strip { grid-template-columns: 1fr; }
  .about-strip__img { min-height: 300px; }
  .masonry-grid { columns: 3; }
}

@media (max-width: 768px) {
  :root { --nav-height: 60px; --gutter: 20px; }

  .nav { padding: 0 20px; }
  .nav__logo img { height: 38px; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .nav__mobile .nav__link { font-size: 14px; }

  .hero--fullbleed { min-height: 100svh; }
  .hero__parallax-bg { inset: 0; }
  .hero__content {
    padding: calc(var(--nav-height) + 40px) 20px 56px;
    min-height: 100svh;
    justify-content: flex-end;
    max-width: 100%;
  }
  .hero__overlay {
    background: linear-gradient(to top, rgba(23,28,20,0.88) 0%, rgba(23,28,20,0.5) 55%, rgba(23,28,20,0.15) 100%);
  }
  .hero__headline { font-size: clamp(36px, 10vw, 54px); margin-bottom: 18px; }
  .hero__text { font-size: 13px; margin-bottom: 30px; max-width: 100%; }
  .hero__actions { gap: 10px; }
  .btn { padding: 13px 22px; font-size: 10px; }

  .section { padding: 52px 20px; }
  .section__header { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 36px; }

  .cat-grid { grid-template-columns: 1fr; gap: 3px; }
  .cat-grid .cat-card { aspect-ratio: 1/1; }
  .cat-grid .cat-card:last-child { grid-column: auto; aspect-ratio: 1/1; }

  .work-index { grid-template-columns: 1fr; gap: 3px; }
  .work-index-card { aspect-ratio: 1/1; }

  .video-grid { grid-template-columns: 1fr; gap: 32px; }
  .video-card__title { font-size: 18px; }

  .about-layout { grid-template-columns: 1fr; gap: 36px; }
  .about-portrait { position: static; }
  .about-text h2 { font-size: clamp(22px, 6.5vw, 34px); }

  .footer__inner { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 44px 20px 30px; }

  .page-hero { padding-top: calc(var(--nav-height) + 44px); padding-bottom: 36px; }
  .page-hero__title { font-size: clamp(30px, 8.5vw, 52px); }

  .masonry-grid { columns: 2; column-gap: 3px; padding: 0 20px; }
  .masonry-item { margin-bottom: 3px; }

  .work-page-nav { padding: 40px 20px; flex-direction: column; align-items: flex-start; gap: 16px; }
  .work-tab { padding: 13px 14px; font-size: 9px; }

  .form-input, .form-textarea, .form-select { font-size: 16px; }
}

@media (max-width: 480px) {
  .masonry-grid { columns: 2; }
  .hero__actions { flex-direction: column; align-items: flex-start; width: 100%; }
  .hero__actions .btn { width: 100%; justify-content: center; }
  .section { padding: 44px 16px; }
  .footer { padding: 40px 16px 28px; }
}

@supports (padding-bottom: env(safe-area-inset-bottom)) {
  .footer__bottom { padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* Scroll reveal */
[data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: 0.1s; }
[data-reveal][data-delay="2"] { transition-delay: 0.22s; }
[data-reveal][data-delay="3"] { transition-delay: 0.36s; }

/* ============================================================
   BOTTOM PORTFOLIO NAV (like screenshot)
   ============================================================ */
.portfolio-nav {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--border);
  min-height: 100px;
}

.portfolio-nav__btn {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
  padding: clamp(28px, 4vw, 48px) clamp(20px, 4vw, 60px);
  text-decoration: none;
  color: var(--text);
  transition: background var(--transition), color var(--transition);
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 36px);
  font-weight: 300;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.portfolio-nav__btn:hover { background: var(--bg-deep); color: var(--white); }
.portfolio-nav__btn--prev { justify-content: flex-start; border-right: 1px solid var(--border); }
.portfolio-nav__btn--next { justify-content: flex-end; text-align: right; }
.portfolio-nav__btn--empty { flex: 1; }
.portfolio-nav__arrow { font-size: clamp(18px, 2.5vw, 28px); flex-shrink: 0; }

@media (max-width: 600px) {
  .portfolio-nav { flex-direction: column; }
  .portfolio-nav__btn--prev { border-right: none; border-bottom: 1px solid var(--border); }
  .portfolio-nav__btn { font-size: 18px; padding: 24px 20px; }
}
