/* Ambianzia — modern brand system */
:root {
  --ink: #121212;
  --charcoal: #1c1c1c;
  --graphite: #2a2a2a;
  --muted: #6e6a63;
  --stone: #e9e6e0;
  --paper: #f6f4ef;
  --white: #ffffff;
  --gold: #c9a227;
  --gold-soft: #d4b84a;
  --gold-deep: #9a7a14;
  --line: rgba(18, 18, 18, 0.1);
  --line-light: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.18);
  --radius: 2px;
  --header-h: 84px;
  --font-display: "Syne", sans-serif;
  --font-body: "Outfit", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 2.5rem, 1320px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease),
    border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled,
.site-header.solid {
  background: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-light);
}

.site-header.solid {
  background: var(--ink);
}

.header-inner {
  width: min(100% - 2.5rem, 1320px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo img {
  height: 42px;
  width: auto;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav a {
  position: relative;
  padding: 0.55rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.25s ease;
}

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

.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.9rem;
  right: 0.9rem;
  bottom: 0.2rem;
  height: 1px;
  background: var(--gold);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.3s ease, color 0.3s ease;
}

.header-cta:hover {
  background: var(--gold);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-light);
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--white);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.85rem 1.6rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.35s var(--ease), background 0.3s ease, color 0.3s ease,
    border-color 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
}

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.55);
}

.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.btn-dark:hover {
  background: var(--graphite);
}

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

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

/* Hero — full-bleed, first viewport composition */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroKen 18s ease-in-out infinite alternate;
}

@keyframes heroKen {
  from {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.12) translate3d(-1.5%, -1%, 0);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.25) 35%, rgba(0, 0, 0, 0.78) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 55%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, 1320px);
  margin: 0 auto;
  padding: calc(var(--header-h) + 4rem) 0 5.5rem;
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - 1320px) / 2 + 1.25rem));
}

.hero-brand {
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.15s forwards;
}

.hero-brand img {
  height: 56px;
  width: auto;
}

.hero h1 {
  font-size: clamp(2.6rem, 6.5vw, 5.2rem);
  font-weight: 700;
  margin-bottom: 0.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.3s forwards;
}

.hero-lead {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  max-width: 34ch;
  margin-bottom: 2rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.45s forwards;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  opacity: 0;
  animation: rise 0.9s var(--ease) 0.6s forwards;
}

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

.page-hero {
  position: relative;
  min-height: 48svh;
  display: grid;
  align-items: end;
  color: var(--white);
  background: var(--ink);
  overflow: hidden;
}

.page-hero-media {
  position: absolute;
  inset: 0;
}

.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.page-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.82));
}

.page-hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
  padding: calc(var(--header-h) + 3rem) 0 3.25rem;
}

.page-hero .eyebrow {
  color: var(--gold);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 0.4rem;
}

.page-hero p {
  max-width: 42ch;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.9rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

/* Sections */
.section {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.section-dark {
  background: var(--ink);
  color: var(--white);
}

.section-stone {
  background: var(--stone);
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-head p {
  color: var(--muted);
  margin: 0;
}

.section-dark .section-head p {
  color: rgba(255, 255, 255, 0.68);
}

.section-dark .eyebrow {
  color: var(--gold);
}

/* Expertise strip */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.expertise-card {
  position: relative;
  min-height: 320px;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  isolation: isolate;
}

.expertise-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  transition: transform 0.8s var(--ease), opacity 0.4s ease;
}

.expertise-card:hover img {
  transform: scale(1.08);
  opacity: 0.7;
}

.expertise-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.85) 100%);
  z-index: 1;
}

.expertise-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.6rem;
}

.expertise-body h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.expertise-body p {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.75);
}

/* Services list */
.services-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 4.5rem 1fr 1.2fr;
  gap: 1.5rem;
  align-items: start;
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease;
}

.service-row:hover {
  background: rgba(201, 162, 39, 0.06);
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
}

.service-row h3 {
  font-size: 1.55rem;
  margin: 0;
}

.service-row p {
  margin: 0;
  color: var(--muted);
}

/* Projects */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.filter-btn {
  padding: 0.55rem 1rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover,
.filter-btn.is-active {
  border-color: var(--ink);
  color: var(--ink);
  background: var(--white);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.project-card {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--graphite);
  color: var(--white);
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}

.project-card:hover img {
  transform: scale(1.07);
}

.project-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.82));
}

.project-card .tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.project-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

.project-card.is-hidden {
  display: none;
}

/* About */
.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.about-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
}

.about-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: auto -8% -8% auto;
  width: 42%;
  height: 42%;
  border: 1px solid var(--gold);
  z-index: 1;
  pointer-events: none;
}

.about-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.about-copy p {
  color: var(--muted);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.stat span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.testimonial {
  padding: 2rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
}

.testimonial p {
  font-size: 1.15rem;
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.45;
  margin-bottom: 1.25rem;
}

.testimonial cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* CTA band */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 5rem) 0;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.22), transparent 40%),
    linear-gradient(120deg, transparent 40%, rgba(201, 162, 39, 0.08));
  pointer-events: none;
}

.cta-inner {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-inner h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  max-width: 14ch;
  margin: 0;
}

.cta-inner p {
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.7);
  margin: 0.85rem 0 0;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-info h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
}

.contact-info p {
  color: var(--muted);
}

.info-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.info-list li {
  display: grid;
  gap: 0.2rem;
}

.info-list strong {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.info-list a:hover {
  color: var(--gold-deep);
}

.contact-form {
  display: grid;
  gap: 1rem;
  padding: 2rem;
  background: var(--white);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 0.9rem 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s ease;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--gold);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-note {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(201, 162, 39, 0.12);
  border-left: 3px solid var(--gold);
  color: var(--ink);
}

.form-success.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
  padding: 4rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-light);
}

.footer-brand img {
  height: 44px;
  margin-bottom: 1.1rem;
}

.footer-brand p {
  max-width: 34ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
}

.footer-col h4 {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  font-size: 0.88rem;
}

/* WhatsApp float */
.wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s var(--ease);
}

.wa-float:hover {
  transform: translateY(-3px) scale(1.04);
}

.wa-float svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

/* Reveal motion */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}
.reveal-delay-2 {
  transition-delay: 0.2s;
}
.reveal-delay-3 {
  transition-delay: 0.3s;
}

/* Process steps */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.process-step {
  padding: 1.75rem 1.4rem;
  background: var(--white);
  border-top: 3px solid var(--gold);
}

.process-step span {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-deep);
  margin-bottom: 0.75rem;
}

.process-step h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.process-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Values */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.value-card {
  padding: 1.75rem;
  background: var(--white);
}

.value-card h3 {
  font-size: 1.25rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
}

/* Map placeholder */
.map-embed {
  margin-top: 3rem;
  min-height: 280px;
  background:
    linear-gradient(135deg, rgba(201, 162, 39, 0.12), transparent 50%),
    var(--stone);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  border: 1px solid var(--line);
}

.map-embed p {
  margin: 0.4rem 0 0;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 980px) {
  .expertise-grid,
  .project-grid,
  .process,
  .values {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-split,
  .contact-grid,
  .footer-top {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 3rem 1fr;
  }

  .service-row p {
    grid-column: 2;
  }

  .about-visual {
    min-height: 380px;
  }
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
  }

  .header-cta {
    display: none;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.5rem;
    background: rgba(18, 18, 18, 0.97);
    border-bottom: 1px solid var(--line-light);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s var(--ease), opacity 0.4s var(--ease);
  }

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

  .nav a {
    padding: 0.95rem 0.25rem;
    border-bottom: 1px solid var(--line-light);
  }

  .hero-content {
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 4rem;
  }

  .testimonial-grid,
  .expertise-grid,
  .project-grid,
  .process,
  .values,
  .form-row,
  .stat-row {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    align-items: start;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ========== Rich homepage upgrades ========== */
.page-home {
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(201, 162, 39, 0.08), transparent 55%),
    var(--paper);
}

.hero-rich .hero-media::after {
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.55) 0%, rgba(8, 8, 8, 0.2) 40%, rgba(8, 8, 8, 0.88) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.72) 0%, rgba(8, 8, 8, 0.25) 52%, transparent 78%);
}

.hero-rich .hero-content {
  max-width: 760px;
  padding-bottom: 6.5rem;
}

.hero-rich h1 {
  font-size: clamp(3rem, 7.2vw, 5.8rem);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-rich .hero-lead {
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  max-width: 36ch;
  font-weight: 300;
}

.hero-scroll {
  position: absolute;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: 2.4rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-scroll i {
  width: 1px;
  height: 52px;
  background: linear-gradient(180deg, var(--gold), transparent);
  display: block;
  animation: scrollPulse 2.2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.75);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.marquee {
  overflow: hidden;
  background: var(--ink);
  border-block: 1px solid rgba(201, 162, 39, 0.28);
  padding: 1rem 0;
}

.marquee-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: var(--font-display);
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.marquee-track span[aria-hidden="true"] {
  color: var(--gold);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.section-expertise {
  padding-top: clamp(5rem, 10vw, 8rem);
}

.expertise-tall .expertise-card {
  min-height: 480px;
  aspect-ratio: 3 / 4;
}

.expertise-tall .expertise-card img {
  opacity: 0.78;
}

.expertise-index {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.55rem;
}

.expertise-tall .expertise-body h3 {
  font-size: 1.7rem;
}

.section-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: none;
}

.section-head-row > div {
  max-width: 640px;
}

.text-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.text-link:hover {
  color: var(--ink);
}

.section-featured {
  background:
    linear-gradient(180deg, transparent, rgba(201, 162, 39, 0.04)),
    var(--stone);
}

.featured-mosaic {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
  min-height: 680px;
}

.mosaic-main,
.mosaic-side {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
  isolation: isolate;
}

.mosaic-main {
  grid-row: 1 / span 2;
  min-height: 680px;
}

.mosaic-main img,
.mosaic-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.mosaic-main:hover img,
.mosaic-side:hover img {
  transform: scale(1.06);
}

.mosaic-main::after,
.mosaic-side::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.82));
  z-index: 1;
}

.mosaic-caption {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.6rem 1.5rem 1.7rem;
}

.mosaic-caption .tag {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.mosaic-caption h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
}

.mosaic-caption p {
  margin: 0.45rem 0 0;
  max-width: 34ch;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
}

.immersion {
  position: relative;
  min-height: min(78svh, 760px);
  overflow: hidden;
  color: var(--white);
  background: var(--ink);
}

.immersion img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transform: scale(1.04);
}

.immersion::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 100%),
    linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.55));
}

.immersion-content {
  position: relative;
  z-index: 1;
  width: min(100% - 2.5rem, var(--max));
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) 0;
  max-width: 560px;
  margin-left: max(1.25rem, calc((100% - var(--max)) / 2));
}

.immersion-content h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 0.7rem;
}

.immersion-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.15rem;
  font-weight: 300;
}

.section-process .process-rich .process-step {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 2px solid var(--gold);
  color: var(--white);
}

.section-process .process-rich .process-step p {
  color: rgba(255, 255, 255, 0.62);
}

.section-quote-split {
  background: var(--paper);
}

.quote-split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.quote-visual {
  position: relative;
  min-height: 560px;
  overflow: hidden;
}

.quote-visual img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quote-visual::after {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  pointer-events: none;
}

.quote-copy blockquote {
  margin: 0 0 2rem;
  padding: 0 0 0 1.15rem;
  border-left: 2px solid var(--gold);
}

.quote-copy blockquote p {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  line-height: 1.4;
  font-weight: 500;
  margin-bottom: 0.85rem;
}

.quote-copy cite {
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta-rich {
  position: relative;
  isolation: isolate;
}

.cta-rich .cta-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-rich .cta-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.cta-rich::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(120deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.72) 55%, rgba(10, 10, 10, 0.55)),
    radial-gradient(circle at 85% 20%, rgba(201, 162, 39, 0.28), transparent 42%);
}

.cta-rich .cta-inner {
  position: relative;
  z-index: 1;
}

@media (max-width: 980px) {
  .featured-mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    min-height: 0;
  }

  .mosaic-main {
    grid-row: auto;
    min-height: 420px;
  }

  .mosaic-side {
    min-height: 280px;
  }

  .quote-split {
    grid-template-columns: 1fr;
  }

  .quote-visual {
    min-height: 360px;
  }

  .expertise-tall .expertise-card {
    aspect-ratio: auto;
    min-height: 380px;
  }
}

@media (max-width: 820px) {
  .hero-scroll {
    display: none;
  }

  .section-head-row {
    flex-direction: column;
    align-items: start;
  }

  .immersion-content {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track,
  .hero-scroll i {
    animation: none !important;
  }
}

/* ========== Global polish v2 ========== */
::selection {
  background: rgba(201, 162, 39, 0.28);
  color: var(--ink);
}

.page-hero {
  min-height: 58svh;
}

.page-hero-tall {
  min-height: 72svh;
}

.page-hero-media img {
  opacity: 0.72;
  transform: scale(1.04);
  transition: transform 8s linear;
}

.page-hero:hover .page-hero-media img {
  transform: scale(1.08);
}

.page-hero-media::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.28) 40%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, transparent 60%);
}

.page-hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  letter-spacing: -0.035em;
  max-width: 14ch;
}

.page-hero-content p {
  font-size: 1.1rem;
  font-weight: 300;
  max-width: 42ch;
}

.btn {
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
}

.btn-primary:hover::before {
  transform: translateX(120%);
}

.site-header {
  height: 78px;
}

.logo img {
  height: 40px;
}

/* Intro band */
.intro-band {
  background: var(--ink);
  color: var(--white);
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.intro-band-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.intro-band-copy {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.4vw, 1.7rem);
  line-height: 1.35;
  font-weight: 500;
  max-width: 28ch;
}

.intro-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.intro-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.intro-stats span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

/* Service bento */
.section-services-bento {
  padding-top: clamp(4rem, 8vw, 6.5rem);
}

.service-bento {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: 280px 300px;
  gap: 1rem;
}

.svc-card {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
  isolation: isolate;
  min-height: 240px;
}

.svc-card-lg {
  grid-row: 1 / span 2;
  min-height: 100%;
}

.svc-card-wide {
  grid-column: 2 / span 2;
}

.svc-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 0.9s var(--ease), opacity 0.4s ease;
}

.svc-card:hover img {
  transform: scale(1.08);
  opacity: 0.85;
}

.svc-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, 0.88) 100%);
  z-index: 1;
}

.svc-card-body {
  position: absolute;
  inset: auto 0 0;
  z-index: 2;
  padding: 1.5rem;
}

.svc-num {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  margin-bottom: 0.45rem;
}

.svc-card-body h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  margin-bottom: 0.4rem;
}

.svc-card-body p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  max-width: 36ch;
}

/* Service panels */
.service-panels {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.service-panel {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.service-panel-flip {
  direction: rtl;
}

.service-panel-flip > * {
  direction: ltr;
}

.service-panel-copy h3 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.service-panel-copy p {
  color: var(--muted);
}

.service-panel-copy ul {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.65rem;
}

.service-panel-copy li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-size: 0.95rem;
}

.service-panel-copy li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 1px;
  background: var(--gold);
}

.service-panel-media {
  position: relative;
  min-height: 360px;
  overflow: hidden;
}

.service-panel-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.service-panel:hover .service-panel-media img {
  transform: scale(1.05);
}

.service-panel-media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 auto;
  width: 38%;
  height: 38%;
  border-right: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  pointer-events: none;
  opacity: 0.7;
}

.section-focus {
  background: var(--ink);
  color: var(--white);
}

.section-focus .section-head p,
.section-focus .expertise-body p {
  color: rgba(255, 255, 255, 0.68);
}

.section-focus .eyebrow {
  color: var(--gold);
}

/* Projects page polish */
.project-grid {
  gap: 1rem;
}

.project-card {
  aspect-ratio: 4 / 5;
}

.project-card figcaption {
  padding: 1.4rem 1.25rem 1.5rem;
  transform: translateY(6px);
  transition: transform 0.4s var(--ease);
}

.project-card:hover figcaption {
  transform: translateY(0);
}

.project-card h3 {
  font-size: 1.3rem;
}

/* Contact form polish */
.contact-form {
  border-top: 3px solid var(--gold);
}

.field input,
.field textarea,
.field select {
  background: #faf9f6;
  border-radius: 0;
}

/* About polish */
.about-visual {
  min-height: 580px;
}

.about-visual::before {
  width: 46%;
  height: 46%;
  border-width: 1px;
}

@media (max-width: 980px) {
  .intro-band-inner {
    grid-template-columns: 1fr;
  }

  .service-bento {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .svc-card-lg {
    grid-row: auto;
    grid-column: 1 / -1;
    min-height: 360px;
  }

  .svc-card-wide {
    grid-column: 1 / -1;
    min-height: 280px;
  }

  .service-panel,
  .service-panel-flip {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .service-panel-media {
    min-height: 280px;
    order: -1;
  }
}

@media (max-width: 640px) {
  .intro-stats {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .service-bento {
    grid-template-columns: 1fr;
  }

  .svc-card-lg,
  .svc-card-wide {
    grid-column: auto;
  }
}

/* ========== Projects page — editorial masonry ========== */
.page-projects {
  background: var(--paper);
}

.projects-hero {
  min-height: 78svh;
}

.projects-hero .hero-meta {
  position: absolute;
  left: max(1.25rem, calc((100% - 1320px) / 2 + 1.25rem));
  bottom: 2rem;
  z-index: 2;
  display: flex;
  gap: 1.5rem;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.projects-hero .hero-meta span + span::before {
  content: "·";
  margin-right: 1.5rem;
  color: var(--gold);
}

.portfolio-section {
  padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(201, 162, 39, 0.07), transparent 55%),
    var(--paper);
}

.portfolio-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.portfolio-toolbar h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}

.filters-modern {
  display: inline-flex;
  gap: 0.35rem;
  padding: 0.35rem;
  background: rgba(18, 18, 18, 0.04);
  border: 1px solid var(--line);
}

.filters-modern .filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: none;
  padding: 0.7rem 1.1rem;
  background: transparent;
  color: var(--muted);
}

.filters-modern .filter-btn em {
  font-style: normal;
  font-size: 0.7rem;
  opacity: 0.65;
  letter-spacing: 0.04em;
}

.filters-modern .filter-btn:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.filters-modern .filter-btn.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.filters-modern .filter-btn.is-active em {
  color: var(--gold);
  opacity: 1;
}

.masonry-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 180px;
  gap: 1rem;
}

.masonry-item {
  position: relative;
  grid-column: span 4;
  grid-row: span 2;
  overflow: hidden;
  background: var(--charcoal);
  color: var(--white);
  isolation: isolate;
  cursor: default;
}

.masonry-xl {
  grid-column: span 8;
  grid-row: span 3;
}

.masonry-wide {
  grid-column: span 8;
  grid-row: span 2;
}

.masonry-tall {
  grid-column: span 4;
  grid-row: span 3;
}

.masonry-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease), filter 0.5s ease;
  filter: saturate(0.92) contrast(1.02);
}

.masonry-item:hover img {
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
}

.masonry-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, 0.82) 100%);
  opacity: 0.85;
  transition: opacity 0.4s ease;
}

.masonry-item::after {
  content: "";
  position: absolute;
  inset: 1rem;
  border: 1px solid transparent;
  z-index: 2;
  pointer-events: none;
  transition: border-color 0.4s ease;
}

.masonry-item:hover::after {
  border-color: rgba(201, 162, 39, 0.55);
}

.masonry-item:hover::before {
  opacity: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.15) 10%, rgba(0, 0, 0, 0.88) 100%);
}

.masonry-item figcaption {
  position: absolute;
  inset: auto 0 0;
  z-index: 3;
  padding: 1.5rem;
  transform: translateY(8px);
  transition: transform 0.45s var(--ease);
}

.masonry-item:hover figcaption {
  transform: translateY(0);
}

.masonry-item .tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

.masonry-item h3 {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.75rem);
}

.masonry-item p {
  margin: 0.45rem 0 0;
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.masonry-item:hover p {
  opacity: 1;
  transform: translateY(0);
}

.masonry-item.is-hidden {
  display: none;
}

/* Spotlight band */
.spotlight {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 560px;
  background: var(--ink);
  color: var(--white);
}

.spotlight-media {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.spotlight-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.spotlight-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 162, 39, 0.18), transparent 45%),
    var(--charcoal);
}

.spotlight-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 14ch;
}

.spotlight-copy p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 38ch;
}

.spotlight-copy .btn {
  align-self: start;
  margin-top: 0.5rem;
}

@media (max-width: 1100px) {
  .masonry-grid {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: 160px;
  }

  .masonry-item {
    grid-column: span 3;
  }

  .masonry-xl,
  .masonry-wide {
    grid-column: span 6;
  }

  .masonry-tall {
    grid-column: span 3;
    grid-row: span 3;
  }
}

@media (max-width: 720px) {
  .masonry-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .masonry-item,
  .masonry-xl,
  .masonry-wide,
  .masonry-tall {
    grid-column: auto;
    grid-row: span 1;
  }

  .masonry-xl,
  .masonry-tall {
    grid-row: span 1;
    min-height: 320px;
  }

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

  .portfolio-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .projects-hero .hero-meta {
    display: none;
  }

  .masonry-item p {
    opacity: 1;
    transform: none;
  }
}

/* ========== About page — studio editorial ========== */
.page-about {
  background: var(--paper);
}

.about-hero {
  min-height: 78svh;
}

.about-manifesto {
  background: var(--ink);
  color: var(--white);
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.manifesto-text {
  margin: 0;
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4vw, 3rem);
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.about-story {
  padding-top: clamp(4.5rem, 9vw, 7rem);
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.about-story-media {
  position: relative;
  min-height: 560px;
}

.about-story-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-frame {
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(201, 162, 39, 0.65);
  pointer-events: none;
  z-index: 1;
}

.about-story-badge {
  position: absolute;
  left: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  background: var(--ink);
  color: var(--white);
  padding: 1rem 1.15rem;
  min-width: 110px;
}

.about-story-badge strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.about-story-badge span {
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.about-story-copy h2 {
  font-size: clamp(2rem, 3.8vw, 3.1rem);
}

.about-story-copy p {
  color: var(--muted);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.about-stats span {
  font-size: 0.82rem;
  color: var(--muted);
}

.about-journey {
  background:
    radial-gradient(circle at 10% 20%, rgba(201, 162, 39, 0.12), transparent 40%),
    var(--ink);
}

.journey-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}

.journey-track::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 4%;
  right: 4%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201, 162, 39, 0.45), transparent);
  pointer-events: none;
}

.journey-step {
  position: relative;
  padding: 0 0.25rem;
}

.journey-step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(201, 162, 39, 0.55);
  background: var(--ink);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.journey-step h3 {
  color: var(--white);
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}

.journey-step p {
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.about-principles {
  background:
    linear-gradient(180deg, rgba(201, 162, 39, 0.04), transparent 30%),
    var(--stone);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.principle-card {
  padding: 2rem 1.6rem 2.2rem;
  background: var(--white);
  border-top: 3px solid var(--gold);
  min-height: 260px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}

.principle-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.principle-num {
  display: block;
  font-family: var(--font-display);
  color: var(--gold-deep);
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
}

.principle-card h3 {
  font-size: 1.45rem;
}

.principle-card p {
  margin: 0;
  color: var(--muted);
}

.about-craft {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  min-height: 560px;
  background: var(--ink);
  color: var(--white);
}

.about-craft-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.about-craft-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.about-craft:hover .about-craft-media img {
  transform: scale(1.05);
}

.about-craft-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  background:
    radial-gradient(circle at 100% 0%, rgba(201, 162, 39, 0.2), transparent 45%),
    var(--charcoal);
}

.about-craft-copy h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  max-width: 14ch;
}

.about-craft-copy p {
  color: rgba(255, 255, 255, 0.68);
  max-width: 38ch;
}

.about-craft-copy .btn {
  align-self: start;
  margin-top: 0.35rem;
}

@media (max-width: 980px) {
  .about-story-grid,
  .journey-track,
  .principle-grid,
  .about-craft {
    grid-template-columns: 1fr;
  }

  .journey-track::before {
    display: none;
  }

  .about-story-media {
    min-height: 380px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }
}

/* ========== Density pass — less blank space ========== */
.density .section,
.density .portfolio-section,
.density .compact-section {
  padding: clamp(2.5rem, 5vw, 3.75rem) 0;
}

.density .page-hero-tall,
.density .projects-hero,
.density .about-hero {
  min-height: 52svh;
}

.page-hero-compact {
  min-height: 42svh;
}

.page-hero-compact .page-hero-content {
  padding: calc(var(--header-h) + 2rem) 0 2.25rem;
}

.page-hero-compact h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  max-width: 18ch;
}

.density .section-head {
  margin-bottom: 1.75rem;
}

.section-head.tight {
  margin-bottom: 1.5rem;
  max-width: none;
}

.density .about-manifesto,
.dense-band {
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: center;
}

.density .manifesto-text {
  max-width: none;
  font-size: clamp(1.35rem, 2.8vw, 2.1rem);
}

.manifesto-side {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.manifesto-side > div {
  padding: 1rem;
  border: 1px solid rgba(201, 162, 39, 0.3);
  background: rgba(255, 255, 255, 0.03);
}

.manifesto-side strong {
  display: block;
  font-family: var(--font-display);
  color: var(--gold);
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.manifesto-side span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

.check-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.check-list li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.95rem;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.55rem;
  height: 1px;
  background: var(--gold);
}

.density .about-story-media {
  min-height: 460px;
}

.capabilities {
  background: var(--ink);
  color: var(--white);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
}

.capabilities .eyebrow {
  color: var(--gold);
}

.capabilities h2 {
  color: var(--white);
  margin-bottom: 1.25rem;
}

.cap-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.cap-grid div {
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-display);
  font-size: 0.95rem;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.cap-grid div:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

.craft-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.density .about-craft {
  min-height: 420px;
}

.density .about-craft-copy {
  padding: clamp(2rem, 4vw, 3rem);
}

.density .principle-card {
  min-height: 200px;
  padding: 1.5rem 1.35rem;
}

.density .portfolio-section {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 3.5rem);
}

.density .portfolio-toolbar {
  margin-bottom: 1.35rem;
}

.density .masonry-grid {
  gap: 0.65rem;
  grid-auto-rows: 150px;
}

.density .spotlight {
  min-height: 420px;
}

.density .spotlight-copy {
  padding: clamp(2rem, 4vw, 3rem);
}

.density .cta-band {
  padding: clamp(2.5rem, 5vw, 3.5rem) 0;
}

.density .expertise-tall .expertise-card {
  min-height: 380px;
}

.density .immersion {
  min-height: min(58svh, 560px);
}

.density .immersion-content {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.density .service-bento {
  grid-template-rows: 240px 260px;
  gap: 0.65rem;
}

.density .service-panel-media {
  min-height: 280px;
}

.density .service-panels {
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

/* Contact dense layout */
.contact-quick {
  background: var(--ink);
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
}

.contact-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
}

.quick-card {
  display: grid;
  gap: 0.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  transition: border-color 0.25s ease, background 0.25s ease;
}

a.quick-card:hover {
  border-color: var(--gold);
  background: rgba(201, 162, 39, 0.08);
}

.quick-card span {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.quick-card strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.quick-card em {
  font-style: normal;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.section-contact-main {
  padding-top: clamp(2rem, 4vw, 2.75rem) !important;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.contact-aside {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  background: var(--white);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--gold);
}

.contact-aside-media {
  position: relative;
  overflow: hidden;
  flex: 0 0 220px;
  min-height: 220px;
}

.contact-aside-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-aside-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.contact-aside-body h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
}

.contact-aside-body p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.info-list.dense {
  margin-top: 1rem;
  gap: 0.85rem;
}

.contact-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 1.25rem;
}

.contact-chips span {
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.dense-form {
  padding: 1.5rem;
}

.contact-layout .contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
  min-height: 100%;
  box-sizing: border-box;
}

.contact-layout .contact-form .recaptcha-field {
  margin-top: auto;
}

.dense-form h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.form-intro {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.faq-grid article {
  padding: 1.25rem;
  background: var(--white);
  border-left: 3px solid var(--gold);
}

.faq-grid h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.faq-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.visit-band {
  background: var(--ink);
  color: var(--white);
  padding: clamp(2rem, 4vw, 2.75rem) 0;
}

.visit-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1.25rem;
  align-items: center;
}

.visit-band .eyebrow {
  color: var(--gold);
}

.visit-band h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.visit-band p {
  color: rgba(255, 255, 255, 0.7);
}

.visit-hours {
  margin-bottom: 1.25rem !important;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.visit-map {
  position: relative;
  min-height: 280px;
  overflow: hidden;
}

.visit-map img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
}

.visit-map-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 1;
  background: rgba(0, 0, 0, 0.72);
  padding: 0.85rem 1rem;
  border-left: 3px solid var(--gold);
}

.visit-map-label strong {
  display: block;
  font-family: var(--font-display);
}

.visit-map-label span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.density .site-footer {
  padding: 2.75rem 0 1.5rem;
}

.density .footer-top {
  padding-bottom: 2rem;
  gap: 1.75rem;
}

@media (max-width: 980px) {
  .manifesto-grid,
  .contact-layout,
  .visit-grid,
  .contact-quick-grid,
  .faq-grid,
  .cap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .contact-quick-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .manifesto-grid,
  .manifesto-side,
  .contact-layout,
  .visit-grid,
  .contact-quick-grid,
  .faq-grid,
  .cap-grid {
    grid-template-columns: 1fr;
  }

  .contact-aside-media {
    flex-basis: 180px;
    min-height: 180px;
  }
}

/* ========== Projects dense grid fix ========== */
.hero-meta-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.hero-meta-inline .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.portfolio-bar {
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
  padding: 1.1rem 0;
}

.portfolio-bar-inner {
  display: grid;
  grid-template-columns: auto auto auto 1fr;
  gap: 1.5rem;
  align-items: center;
}

.portfolio-bar-stats {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding-right: 1.25rem;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.portfolio-bar-stats strong {
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--gold);
  line-height: 1;
}

.portfolio-bar-stats span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.portfolio-bar-note {
  margin: 0;
  justify-self: end;
  text-align: right;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.55);
  max-width: 36ch;
}

.project-dense-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.project-dense-grid .masonry-item {
  grid-column: auto !important;
  grid-row: auto !important;
  aspect-ratio: 4 / 5;
  min-height: 0;
  margin: 0;
}

.project-dense-grid .masonry-item figcaption {
  transform: none;
  padding: 1.15rem;
}

.project-dense-grid .masonry-item p {
  display: none;
}

.page-projects .portfolio-section {
  padding: 1.75rem 0 2.5rem;
  background: var(--stone);
}

.page-projects .portfolio-toolbar {
  margin-bottom: 1rem;
}

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

  .portfolio-bar-inner {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .portfolio-bar-stats {
    border-right: none;
    padding-right: 0;
  }

  .portfolio-bar-note {
    grid-column: 1 / -1;
    text-align: left;
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .project-dense-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .project-dense-grid .masonry-item {
    aspect-ratio: 16 / 11;
  }
}

/* ========== Home page improvements ========== */
.hero-home {
  min-height: 92svh;
}

.hero-home .hero-content {
  max-width: 720px;
  padding-bottom: 5rem;
}

.hero-home .hero-brand {
  display: none;
}

.hero-eyebrow {
  color: var(--gold) !important;
  margin-bottom: 1rem;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.1s ease;
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  animation: heroKen 18s ease-in-out infinite alternate;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(8, 8, 8, 0.5) 0%, rgba(8, 8, 8, 0.22) 40%, rgba(8, 8, 8, 0.86) 100%),
    linear-gradient(90deg, rgba(8, 8, 8, 0.7) 0%, rgba(8, 8, 8, 0.25) 55%, transparent 80%);
}

.hero-home .hero-content,
.hero-home .hero-dots {
  position: relative;
  z-index: 1;
}

.hero-home .hero-media {
  display: none;
}

.hero-dots {
  position: absolute;
  left: max(1.25rem, calc((100% - 1320px) / 2 + 1.25rem));
  bottom: 1.75rem;
  display: flex;
  gap: 0.45rem;
  z-index: 2;
}

.hero-dots button {
  width: 28px;
  height: 2px;
  border: none;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.3s ease, width 0.3s ease;
}

.hero-dots button.is-active {
  background: var(--gold);
  width: 42px;
}

.home-stats {
  background: var(--ink);
  border-bottom: 1px solid rgba(201, 162, 39, 0.25);
  padding: 1.15rem 0;
}

.home-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.home-stats-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.home-stats-grid span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.home-expertise .expertise-card {
  min-height: 360px;
  aspect-ratio: auto;
}

.home-project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
}

.home-project {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  color: var(--white);
  background: var(--charcoal);
}

.home-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease);
}

.home-project:hover img {
  transform: scale(1.07);
}

.home-project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 0, 0, 0.85));
}

.home-project-cap {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.15rem;
}

.home-project-cap .tag {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.25rem;
}

.home-project-cap h3 {
  margin: 0;
  font-size: 1.2rem;
}

.immersion-compact {
  min-height: min(58svh, 520px);
}

.immersion-compact .immersion-content {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}

.immersion-compact .btn {
  margin-top: 1rem;
  align-self: start;
}

.process-lead {
  max-width: 28ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.95rem;
}

.process-lined {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.process-lined .process-step {
  padding: 1.5rem 1.25rem;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  border-top: 3px solid var(--gold);
  background: transparent;
  margin: 0;
}

.process-lined .process-step:last-child {
  border-right: none;
}

.page-home .section-quote-split .quote-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 1.25rem;
}

.page-home .quote-visual {
  min-height: 460px;
}

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

  .process-lined {
    grid-template-columns: 1fr 1fr;
  }

  .process-lined .process-step:nth-child(2) {
    border-right: none;
  }

  .process-lined .process-step:nth-child(1),
  .process-lined .process-step:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }
}

@media (max-width: 560px) {
  .home-stats-grid,
  .home-project-grid,
  .process-lined {
    grid-template-columns: 1fr;
  }

  .process-lined .process-step {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-home .hero-scroll {
    display: none;
  }
}

.form-error {
  display: none;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(180, 40, 40, 0.1);
  border-left: 3px solid #b42828;
  color: var(--ink);
}

.form-error.is-visible {
  display: block;
}

.recaptcha-field {
  margin-top: 0.25rem;
}

.form-captcha-error {
  display: none;
  margin-top: 0.65rem;
  font-size: 0.92rem;
  color: #9a2c2c;
}

.form-captcha-error.is-visible {
  display: block;
}

.form-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

#contact-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}
