/* ============================================================
   PANGEA DESIGNS · SHARED STYLES
   Philosophy: Strict mono architecture, chromatic punctuation.
   Lime and turquoise as anchors, never decoration.
   ============================================================ */

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

:root {
  --paper:    #ffffff;
  --ink:      #0a0a0a;
  --ink-08:   rgba(10, 10, 10, 0.08);
  --ink-12:   rgba(10, 10, 10, 0.12);
  --ink-18:   rgba(10, 10, 10, 0.18);
  --ink-32:   rgba(10, 10, 10, 0.32);
  --ink-50:   rgba(10, 10, 10, 0.5);
  --ink-70:   rgba(10, 10, 10, 0.7);

  /* Accent system — used sparingly as anchors */
  --lime:     #C6F542;
  --lime-soft:#E4FAA0;
  --turq:     #4ED8C8;
  --turq-soft:#A9EBE2;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: 400;
  line-height: 1.45;
  overflow-x: hidden;
}

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

::selection { background: var(--lime); color: var(--ink); }

/* ============================================================
   PAGE LOAD MASK
   ============================================================ */
.page-mask {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: pageReveal 1.2s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}
.page-mask .pm-word {
  color: var(--paper);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 4rem);
  letter-spacing: -0.03em;
  animation: pmWord 1.2s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}
.page-mask .pm-word span { display: inline-block; color: var(--lime); }
@keyframes pageReveal {
  0%   { transform: translateY(0); }
  60%  { transform: translateY(0); }
  100% { transform: translateY(-101%); pointer-events: none; }
}
@keyframes pmWord {
  0%   { opacity: 0; transform: translateY(8px); }
  20%  { opacity: 1; transform: translateY(0); }
  55%  { opacity: 1; transform: translateY(0); }
  85%  { opacity: 0; transform: translateY(-8px); }
  100% { opacity: 0; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap {
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ============================================================
   NAV
   ============================================================ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ink-08);
  transition: background 0.3s, border-color 0.3s;
}

.nav-inner {
  max-width: 1480px;
  margin: 0 auto;
  padding: 20px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.nav-mark {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
}

.nav-mark .dot {
  display: inline-block;
  width: 7px; height: 7px;
  background: var(--lime);
  border-radius: 50%;
  margin: 0 10px 1px 0;
  vertical-align: middle;
  transition: background 0.3s;
}
.nav-mark:hover .dot { background: var(--turq); }

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  justify-content: center;
}

.nav-links a {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 6px;
  background: var(--lime);
  transition: width 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: -1;
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta {
  justify-self: end;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  transition: all 0.25s cubic-bezier(0.77, 0, 0.18, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}
.nav-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.25s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: -1;
}
.nav-cta:hover { color: var(--paper); }
.nav-cta:hover::before { transform: translateY(0); }

.nav-toggle {
  display: none;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--ink);
  margin: 5px 0;
  transition: transform 0.25s;
}

/* ============================================================
   BUTTONS / CTA
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s cubic-bezier(0.77, 0, 0.18, 1);
}
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(101%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: -1;
}
.btn:hover { color: var(--paper); }
.btn:hover::before { transform: translateY(0); }
.btn .arrow {
  display: inline-block;
  transition: transform 0.3s;
}
.btn:hover .arrow { transform: translateX(4px); }

.btn-dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.btn-dark::before { background: var(--lime); }
.btn-dark:hover { color: var(--ink); }

.btn-accent {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
}
.btn-accent::before { background: var(--ink); }
.btn-accent:hover { color: var(--paper); }

/* ============================================================
   HERO — used on home and category pages
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 140px 0 120px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-stamp {
  position: absolute;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.hero-stamp.tl { top: 90px; left: 40px; }
.hero-stamp.tr { top: 90px; right: 40px; text-align: right; }
.hero-stamp.bl { bottom: 40px; left: 40px; }
.hero-stamp.br { bottom: 40px; right: 40px; text-align: right; }

.hero-stamp .accent { color: var(--lime); font-weight: 900; }

.hero-wordmark {
  text-align: center;
  line-height: 0.86;
  letter-spacing: -0.045em;
  font-weight: 700;
  font-size: clamp(4.5rem, 17vw, 16rem);
  text-transform: uppercase;
  position: relative;
}

/* HOME HERO BANNER (animation + wordmark side by side)
   Animation width = two-line text height: 13vw × 2 lines × 0.86 line-height ≈ 22.36vw */
.hero-banner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-anim-wrap {
  position: relative;
  width: clamp(5.16rem, 22.36vw, 20.64rem);
  aspect-ratio: 1 / 1;
  background: var(--paper);
  overflow: hidden;
  /* No border — keeps the silhouette flush with the page */
}
.hero-anim-wrap iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
  background: var(--paper);
}
.hero-anim-loading {
  position: absolute;
  inset: 0;
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-32);
  transition: opacity 0.6s ease;
  pointer-events: none;
  z-index: 2;
}
.hero-anim-loading.hide { opacity: 0; }
.hero-banner-text {
  text-align: left;
  font-size: clamp(3rem, 13vw, 12rem);
  font-weight: 700;
  line-height: 0.86;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}
.hero-banner-text .line { display: block; overflow: hidden; }
.hero-banner-text .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineRise 1s cubic-bezier(0.77, 0, 0.18, 1) forwards 0.2s;
}
.hero-banner-text .line:nth-child(2) span { animation-delay: 0.32s; }
.hero-banner-text .punct { color: var(--lime); }

/* Cascading reveal per word/line */
.hero-wordmark .line {
  display: block;
  overflow: hidden;
}
.hero-wordmark .line span {
  display: inline-block;
  transform: translateY(110%);
  animation: lineRise 1s cubic-bezier(0.77, 0, 0.18, 1) forwards;
}
.hero-wordmark .line:nth-child(2) span { animation-delay: 0.12s; }
.hero-wordmark .line:nth-child(3) span { animation-delay: 0.24s; }
@keyframes lineRise {
  to { transform: translateY(0); }
}

.hero-wordmark .punct {
  color: var(--lime);
  font-style: normal;
}

.hero-tagline {
  text-align: center;
  margin-top: 56px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-70);
  opacity: 0;
  animation: fadeUp 0.9s cubic-bezier(0.77, 0, 0.18, 1) forwards 0.6s;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-tagline .pip {
  display: inline-block;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--turq);
  margin: 0 14px 2px 14px;
  vertical-align: middle;
}

/* Category hero variant */
.hero-cat {
  min-height: 70vh;
  padding: 140px 0 80px;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.hero-cat .hero-stamp { color: rgba(255,255,255,0.5); }
.hero-cat .hero-stamp .accent { color: var(--lime); }

.hero-cat-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
  max-width: 1480px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
  z-index: 2;
}

.hero-cat-headline {
  font-size: clamp(3rem, 9vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  padding-bottom: 0.18em; /* descender room so g/y/p/q don't get clipped by overflow:hidden + photo strip */
}
.hero-cat-headline.reveal-mask { padding-bottom: 0.22em; }
.hero-cat-headline .punct { color: var(--lime); }

.hero-cat-intro {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.75);
  max-width: 460px;
  padding-bottom: 12px;
}

.hero-cat-photo {
  position: absolute;
  top: 0; right: 0;
  width: 42%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  filter: grayscale(20%);
  z-index: 1;
  clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
}

/* Infinite horizontal photo marquee — replaces the big 60vh photo divider on category pages */
.hero-cat-strip {
  position: relative;
  background: var(--ink);
  padding: 28px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.18);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.hero-cat-strip-track {
  display: flex;
  gap: 14px;
  align-items: center;
  width: max-content;
  animation: stripScroll 55s linear infinite;
}
.hero-cat-strip-track img {
  height: 200px;
  width: auto;
  object-fit: cover;
  flex-shrink: 0;
  filter: grayscale(15%) brightness(0.95);
  transition: filter 0.5s ease, transform 0.5s ease;
}
.hero-cat-strip:hover .hero-cat-strip-track { animation-play-state: paused; }
.hero-cat-strip-track img:hover {
  filter: grayscale(0%) brightness(1.02);
  transform: translateY(-4px);
}
@keyframes stripScroll {
  0%   { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 780px) {
  .hero-cat-strip-track img { height: 140px; }
}

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
section { padding: 130px 0; position: relative; }

.section-meta {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: start;
}

.section-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-50);
  display: flex;
  align-items: center;
  gap: 12px;
}

.section-tag::before {
  content: '';
  width: 28px; height: 1px;
  background: var(--lime);
}

.section-headline {
  font-size: clamp(2.4rem, 6vw, 5.4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.025em;
}
.section-headline .punct {
  color: var(--lime);
  font-weight: 900;
}

/* ============================================================
   PHOTO DIVIDER STRIP (with parallax)
   ============================================================ */
.photo-divider {
  height: 60vh;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.photo-divider .pd-img {
  position: absolute;
  inset: -10% 0 -10% 0;
  width: 100%;
  height: 120%;
  background-size: cover;
  background-position: center;
  transform: translateZ(0);
  will-change: transform;
  filter: brightness(0.92);
}
.photo-divider .pd-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.0) 30%, rgba(0,0,0,0.0) 70%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
.photo-divider .pd-tag {
  display: none;
}
.photo-divider .pd-tag .accent { color: var(--lime); }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.about-headline {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.025em;
}
.about-headline .punct { color: var(--turq); }

.about-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink-70);
}
.about-body p + p { margin-top: 16px; }

.signature-block {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--ink-18);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.signature-block .who { font-size: 13px; letter-spacing: 0.18em; margin-top: 8px; }

.meta-col .section-tag { display: block; margin-bottom: 20px; }
.meta-col .small {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-50);
  line-height: 1.8;
}

/* ============================================================
   SERVICES (used on home)
   ============================================================ */
.services-list { border-top: 1px solid var(--ink); }

.service-row {
  display: grid;
  grid-template-columns: 80px 1fr 1.4fr 140px;
  gap: 40px;
  padding: 36px 0;
  border-bottom: 1px solid var(--ink-18);
  align-items: baseline;
  position: relative;
  transition: padding 0.4s cubic-bezier(0.77, 0, 0.18, 1);
  cursor: pointer;
  overflow: hidden;
}
.service-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateX(-101%);
  transition: transform 0.5s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: -1;
}
.service-row:hover {
  padding-left: 16px;
  padding-right: 16px;
  color: var(--paper);
}
.service-row:hover::before { transform: translateX(0); }
.service-row:hover .service-num { color: var(--lime); }
.service-row:hover .service-meta { color: var(--turq); }
.service-row:hover .service-arrow { transform: translateX(0); opacity: 1; color: var(--lime); }

.service-row > * { position: relative; z-index: 1; }

.service-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--ink-50);
  transition: color 0.3s;
}

.service-name {
  font-size: clamp(1.8rem, 3.6vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.service-desc {
  font-size: 0.98rem;
  line-height: 1.6;
}

.service-meta {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-50);
  text-align: right;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  transition: color 0.3s;
}

.service-arrow {
  display: inline-block;
  font-size: 16px;
  transform: translateX(-6px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.77, 0, 0.18, 1);
}

/* ============================================================
   WORK GRID — photo tiles
   ============================================================ */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink-12);
  border-left: 1px solid var(--ink-12);
}

.work-tile {
  grid-column: span 4;
  aspect-ratio: 1 / 1;
  border-right: 1px solid var(--ink-12);
  border-bottom: 1px solid var(--ink-12);
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--ink);
}

.work-tile img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
}

.work-tile::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.7) 100%);
  transition: opacity 0.4s ease, background 0.4s ease;
}
.work-tile::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--lime);
  mix-blend-mode: multiply;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.work-tile:hover img { transform: scale(1.06); }
.work-tile:hover::before { background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0.85) 100%); }
.work-tile:hover::after { opacity: 0.18; }

.work-tile .tile-meta {
  display: none;
}

.work-tile .tile-name {
  font-size: clamp(1.1rem, 1.5vw, 1.45rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--paper);
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-tile .tile-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-top: 10px;
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.06s;
}
.work-tile .tile-foot .tag-accent { color: var(--lime); }

.work-tile:hover .tile-name,
.work-tile:hover .tile-foot {
  transform: translateY(0);
  opacity: 1;
}

/* Special "small" variant for previews */
.work-grid.preview .work-tile { aspect-ratio: 4/5; }

/* ============================================================
   CATEGORY CARDS (used on home for navigation)
   ============================================================ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--ink-12);
  border: 1px solid var(--ink-12);
  margin-top: 64px;
}

.cat-card {
  background: var(--paper);
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  display: block;
}

.cat-card .cat-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.5s ease;
  filter: grayscale(35%);
}
.cat-card:hover .cat-img { transform: scale(1.05); filter: grayscale(0%); }

.cat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.0) 35%, rgba(0,0,0,0.0) 60%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
  transition: opacity 0.4s;
}

.cat-card .cat-meta {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: var(--paper);
}

.cat-card .cat-num {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
}

.cat-card .cat-num .ax { color: var(--lime); }

.cat-card .cat-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.cat-card .cat-name {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
}

.cat-card .cat-arrow {
  width: 36px; height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  transition: all 0.3s;
  flex-shrink: 0;
  margin-left: 12px;
}
.cat-card:hover .cat-arrow {
  background: var(--turq);
  color: var(--ink);
  border-color: var(--turq);
  transform: rotate(-45deg);
}

/* ============================================================
   AWARDS
   ============================================================ */
.awards-list {
  border-top: 1px solid var(--ink);
}
.award-row {
  display: grid;
  grid-template-columns: 100px 1fr 1fr 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--ink-18);
  align-items: baseline;
  position: relative;
}
.award-row::before {
  content: '';
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 2px;
  background: var(--turq);
  transition: width 0.5s cubic-bezier(0.77, 0, 0.18, 1);
}
.award-row:hover::before { width: 100%; }

.award-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--ink-50);
}

.award-name {
  font-family: 'Helvetica Neue', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.award-org {
  font-size: 0.98rem;
  color: var(--ink-70);
}

.award-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-50);
  text-align: right;
}
.award-tag .ax { color: var(--turq); }

/* ============================================================
   PROCESS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
}
.process-step {
  padding: 48px 28px 48px 0;
  border-right: 1px solid var(--ink-18);
  position: relative;
}
.process-step:last-child { border-right: none; padding-right: 0; }
.process-step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--lime);
  transition: width 0.6s cubic-bezier(0.77, 0, 0.18, 1);
}
.process-step.in::before { width: 80%; }

.step-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--ink-50);
  margin-bottom: 36px;
}
.step-num .ax { color: var(--lime); }

.step-name {
  font-size: 1.7rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 18px;
}

.step-desc {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink-70);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 96px;
}

.contact-headline {
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin-bottom: 48px;
}
.contact-headline .punct { color: var(--lime); }

.contact-info-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  padding: 24px 0;
  border-top: 1px solid var(--ink-18);
  align-items: baseline;
  position: relative;
}
.contact-info-row:last-of-type { border-bottom: 1px solid var(--ink-18); }
.contact-info-row .label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.contact-info-row .value {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.contact-info-row .value a {
  background-image: linear-gradient(var(--lime), var(--lime));
  background-repeat: no-repeat;
  background-size: 0% 35%;
  background-position: 0 88%;
  transition: background-size 0.35s cubic-bezier(0.77, 0, 0.18, 1);
}
.contact-info-row .value a:hover { background-size: 100% 35%; }

.contact-form {
  border: 1px solid var(--ink);
  padding: 48px;
  background: var(--paper);
}
.contact-form .form-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 16px;
}
.contact-form .form-eyebrow .ax { color: var(--lime); }

.contact-form h3 {
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 32px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { padding: 14px 0; border-bottom: 1px solid var(--ink-18); transition: border-color 0.25s; }
.form-field:focus-within { border-bottom-color: var(--lime); }
.form-field + .form-field { margin-top: 4px; }

.form-field label {
  display: block;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ink-50);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  padding: 0;
}

.form-field textarea { resize: vertical; min-height: 70px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--ink-32); }

.form-submit {
  margin-top: 36px;
  width: 100%;
  padding: 22px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: color 0.3s;
}
.form-submit::before {
  content: '';
  position: absolute; inset: 0;
  background: var(--lime);
  transform: translateY(101%);
  transition: transform 0.35s cubic-bezier(0.77, 0, 0.18, 1);
  z-index: -1;
}
.form-submit:hover { color: var(--ink); }
.form-submit:hover::before { transform: translateY(0); }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--ink);
  color: var(--paper);
  padding: 110px 0 40px;
  position: relative;
  overflow: hidden;
}
.footer-headline {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  margin-bottom: 48px;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-headline::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--lime);
}
.footer-headline .punct { color: var(--lime); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,0.18);
  margin-bottom: 64px;
}
.footer-col h5 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 24px;
}
.footer-col h5 .ax { color: var(--lime); }

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 14px; }
.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
  position: relative;
}
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1px;
  background: var(--turq);
  transition: width 0.3s;
}
.footer-col a:hover { color: var(--turq); }
.footer-col a:hover::after { width: 100%; }

.footer-brand-blurb {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.65);
  max-width: 360px;
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}
.footer-bottom .pip {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--lime);
  border-radius: 50%;
  vertical-align: middle;
  margin: 0 8px 2px;
}

/* ============================================================
   BRAND ANIMATION EMBED
   ============================================================ */
.anim-section {
  background: var(--ink);
  color: var(--paper);
  padding: 130px 0;
  position: relative;
  overflow: hidden;
}
.anim-section .section-tag { color: rgba(255,255,255,0.5); }
.anim-section .section-tag::before { background: var(--turq); }
.anim-section .section-headline { color: var(--paper); }
.anim-section .section-headline .punct { color: var(--turq); }

.anim-frame-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  max-width: 1100px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid rgba(255,255,255,0.2);
  overflow: hidden;
}
.anim-frame-wrap iframe {
  width: 100%; height: 100%;
  border: 0;
  display: block;
}
.anim-loading {
  position: absolute;
  inset: 0;
  background: var(--paper);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--ink-50);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  gap: 16px;
  z-index: 2;
  transition: opacity 0.6s ease;
  pointer-events: none;
}
.anim-loading.hide { opacity: 0; }
.anim-loading .bar {
  width: 200px; height: 2px;
  background: var(--ink-12);
  position: relative;
  overflow: hidden;
}
.anim-loading .bar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--lime);
  transform-origin: left;
  animation: animPulse 1.6s ease-in-out infinite;
}
@keyframes animPulse {
  0%, 100% { transform: scaleX(0); transform-origin: left; }
  50%      { transform: scaleX(1); }
  50.001%  { transform-origin: right; }
}

.anim-actions {
  text-align: center;
  margin-top: 36px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.anim-actions a {
  color: var(--paper);
  border-bottom: 1px solid var(--turq);
  padding-bottom: 2px;
  transition: color 0.2s;
}
.anim-actions a:hover { color: var(--turq); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 10, 0.97);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
}
.lightbox-caption {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  text-align: center;
}
.lightbox-caption .ax { color: var(--lime); }
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 10px 18px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s;
}
.lightbox-close:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--paper);
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  width: 48px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-family: inherit;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.2s;
}
.lightbox-prev { left: 28px; }
.lightbox-next { right: 28px; }
.lightbox-nav:hover { background: var(--lime); color: var(--ink); border-color: var(--lime); }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.in { opacity: 1; transform: none; }

.reveal-mask {
  position: relative;
  overflow: hidden;
}
.reveal-mask > * {
  transform: translateY(110%);
  transition: transform 0.95s cubic-bezier(0.77, 0, 0.18, 1);
}
.reveal-mask.in > * { transform: translateY(0); }

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s, transform 0.8s;
}
.reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.24s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.40s; }
.reveal-stagger.in > *:nth-child(7) { transition-delay: 0.48s; }
.reveal-stagger.in > *:nth-child(8) { transition-delay: 0.56s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .about-grid .meta-col { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: baseline; }
  .service-row { grid-template-columns: 60px 1fr 1.2fr; gap: 24px; }
  .service-row .service-meta { display: none; }
  .work-tile { grid-column: span 6; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:nth-child(2n) { border-right: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 64px; }
  .hero-cat-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-cat-photo { width: 100%; opacity: 0.18; clip-path: none; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .award-row { grid-template-columns: 80px 1fr 1fr; gap: 20px; }
  .award-row .award-tag { display: none; }
}

@media (max-width: 780px) {
  .nav-toggle { display: block; justify-self: end; }
  .nav-inner { grid-template-columns: 1fr auto; }
  .nav-cta { display: none; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 24px 40px 32px;
    gap: 22px;
    border-bottom: 1px solid var(--ink-08);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
  }
  .nav-links.open { transform: none; opacity: 1; visibility: visible; }

  .hero { min-height: auto; padding: 110px 0 70px; }
  .hero-stamp { font-size: 8px; letter-spacing: 0.28em; }
  .hero-stamp.tl { left: 20px; top: 78px; } .hero-stamp.tr { right: 20px; top: 78px; }
  .hero-stamp.bl { left: 20px; bottom: 28px; } .hero-stamp.br { right: 20px; bottom: 28px; }
  .hero-tagline { margin-top: 36px; font-size: 9px; letter-spacing: 0.24em; }
  .hero-tagline .pip { margin: 0 8px 2px; }

  .hero-banner { grid-template-columns: 1fr; gap: 32px; justify-items: center; }
  .hero-anim-wrap { width: min(70vw, 360px); }
  .hero-banner-text { text-align: center; font-size: clamp(3rem, 16vw, 6rem); }

  .wrap { padding: 0 20px; }
  section { padding: 80px 0; }

  .section-meta { grid-template-columns: 1fr; gap: 28px; margin-bottom: 48px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-grid .meta-col { flex-direction: column; gap: 20px; align-items: flex-start; }

  .service-row { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .service-row:hover { padding-left: 0; padding-right: 0; }

  .work-tile { grid-column: span 12; aspect-ratio: 4 / 3; }
  .process-grid { grid-template-columns: 1fr; }
  .process-step { border-right: none !important; border-bottom: 1px solid var(--ink-18); padding: 36px 0; }
  .process-step:last-child { border-bottom: none; }

  .contact-form { padding: 32px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info-row { grid-template-columns: 1fr; gap: 8px; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { font-size: 9px; }

  .cat-grid { grid-template-columns: 1fr; }
  .cat-card { aspect-ratio: 16/9; }

  .award-row { grid-template-columns: 60px 1fr; gap: 16px; }
  .award-row .award-tag, .award-row .award-org { grid-column: 2; }
}

/* ============================================================
   MOBILE POLISH — added 2026-05-21
   Targets: iOS form zoom, new Service Area section,
   contact long-text wrapping, touch targets, very-small phones.
   ============================================================ */

/* iOS Safari zooms in on input/select/textarea < 16px font.
   Force 16px on all form fields to prevent that jarring zoom. */
@media (max-width: 780px) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="url"],
  input[type="number"],
  select,
  textarea {
    font-size: 16px !important;
    -webkit-text-size-adjust: 100%;
  }

  /* Touch-target floors — Apple/Google both recommend 44px+ */
  .nav-links a,
  .footer-col ul a,
  details summary,
  .form-submit,
  .btn {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .footer-col ul a { padding: 6px 0; }

  /* FAQ on mobile — summary text wraps; keep the + icon pinned right and vertically centered */
  details summary {
    gap: 16px;
    align-items: center;
    padding-right: 4px;
  }
  details summary span:first-child {
    flex: 1;
    line-height: 1.25;
  }
  details summary span:last-child {
    flex-shrink: 0;
  }

  /* Contact-info-row Service Area cell: long comma list reads better with
     looser line-height and a smaller text size, with wrapping enforced. */
  .contact-info-row .value {
    font-size: 1rem;
    line-height: 1.55;
    word-break: normal;
    overflow-wrap: anywhere;
  }

  /* Tighten contact section padding so the form isn't crammed */
  .contact-form { padding: 28px 20px; }
  .contact-form h3 { font-size: 1.5rem; margin-bottom: 24px; }

  /* Cloudflare Turnstile widget center on mobile */
  .cf-turnstile {
    display: flex;
    justify-content: center;
  }

  /* Section-tag spacing */
  .section-tag { letter-spacing: 0.28em; font-size: 9px; }

  /* Section padding tighter on phones */
  section { padding: 70px 0; }

  /* Hero stamps don't crowd the animation on small screens */
  .hero-stamp.tl, .hero-stamp.tr { font-size: 8px; }

  /* Lightbox close button position — easier to thumb-tap */
  .lightbox-close {
    top: 16px !important;
    right: 16px !important;
    padding: 12px 16px !important;
    font-size: 14px !important;
  }
  .lightbox-nav { width: 48px !important; height: 48px !important; }
}

/* Very small phones — iPhone SE, Galaxy A series, narrow Android */
@media (max-width: 480px) {
  .wrap { padding: 0 16px; }

  /* Footer goes single column on very small screens (was 2-col) */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-headline {
    font-size: clamp(2rem, 9vw, 3.4rem) !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
  }

  /* Hero tightening for narrowest screens */
  .hero { padding: 100px 0 60px; }
  .hero-anim-wrap { width: min(60vw, 280px); }

  /* CTA buttons full-width feel-better on tiny screens */
  .btn, .form-submit {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Reduce section padding further */
  section { padding: 56px 0; }
  .section-meta { margin-bottom: 32px; gap: 16px; }

  /* FAQ summaries — slightly smaller for crammed phones */
  details summary {
    font-size: 1.05rem !important;
  }

  /* Contact-info-row gets even less left padding */
  .contact-info-row { padding: 18px 0; gap: 6px; }
  .contact-info-row .label { font-size: 9px; }
}

/* Landscape phones — when the keyboard pops in landscape, prevent layout jump */
@media (max-width: 900px) and (orientation: landscape) {
  .hero { min-height: auto; padding: 90px 0 50px; }
}

