/* =========================================================
   SUMI Builders — Stylesheet
   Editorial / architectural aesthetic.
   ========================================================= */

:root {
  --c-bg: #f7f5f1;
  --c-bg-alt: #ece8e1;
  --c-ink: #1a1a1a;
  --c-ink-soft: #4a4a4a;
  --c-muted: #8a8276;
  --c-line: #d8d2c6;
  --c-accent: #2f4a3a;
  --c-accent-hover: #1f3327;
  --c-paper: #ffffff;

  --f-display: "Cormorant Garamond", "Times New Roman", serif;
  --f-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --container: 1240px;
  --gutter: 32px;
  --radius: 2px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

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

/* =========================================================
   HEADER / NAV — centered logo, split nav, white bg
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-paper);
  padding: 0;
  border-bottom: 1px solid var(--c-line);
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
}

.header-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-ink);
  min-width: 140px;
}

.logo-img {
  height: 90px;
  width: 90px;
  min-width: 90px;
  min-height: 90px;
  max-width: none;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}

.primary-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  margin: 0; padding: 0;
}
.primary-nav-left ul { justify-content: flex-end; gap: 40px; }
.primary-nav-right ul { justify-content: flex-start; gap: 40px; }

.primary-nav a {
  color: var(--c-ink);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.3s var(--ease);
}
.primary-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--c-accent);
  transition: width 0.35s var(--ease);
}
.primary-nav a:hover { color: var(--c-accent); }
.primary-nav a:hover::after { width: 100%; }
.primary-nav a.is-active { color: var(--c-accent); }
.primary-nav a.is-active::after { width: 100%; }

/* Dropdown menus */
.primary-nav .has-dropdown { position: relative; }
.primary-nav .has-dropdown > a { display: inline-flex; align-items: center; gap: 6px; }
.primary-nav .caret {
  font-size: 11px;
  opacity: 0.55;
  transition: transform 0.25s var(--ease);
  margin-left: 2px;
  line-height: 1;
}
.primary-nav .has-dropdown:hover .caret { transform: rotate(45deg); }
.primary-nav .dropdown {
  list-style: none;
  margin: 0;
  padding: 14px 0;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 240px;
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  box-shadow: 0 24px 48px -24px rgba(0,0,0,0.18);
  display: block;
  gap: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
  z-index: 50;
}
.primary-nav .has-dropdown:hover > .dropdown,
.primary-nav .has-dropdown:focus-within > .dropdown,
.primary-nav .has-dropdown.is-open > .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.primary-nav .dropdown li { display: block; }
.primary-nav .dropdown a {
  display: block;
  padding: 11px 24px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--c-ink);
  white-space: nowrap;
  transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.primary-nav .dropdown a::after { display: none; }
.primary-nav .dropdown a:hover {
  background: var(--c-bg);
  color: var(--c-accent);
}

/* Featured project block */
.featured-project {
  width: 100%;
  aspect-ratio: 16 / 9;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.3);
  margin: 0;
}

/* =========================================================
   PORTFOLIO — category grid
   ========================================================= */
.section.portfolio-categories { padding: clamp(20px, 2.5vw, 32px) 0 clamp(40px, 5vw, 64px); }
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2vw, 32px);
}
.category-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--c-paper);
  isolation: isolate;
}
.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
  transition: opacity 0.4s var(--ease);
}
.category-card h3 {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-paper);
  text-align: center;
  padding: 0 20px;
  transition: opacity 0.4s var(--ease);
}
.category-card:hover::before { opacity: 0; }
.category-card:hover h3 { opacity: 0; }

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

/* =========================================================
   CATEGORY PAGE (per-category portfolio)
   ========================================================= */
.section.cat-page { padding: clamp(28px, 3.5vw, 48px) 0 clamp(48px, 6vw, 80px); }
.cat-intro {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.7;
  color: var(--c-ink-soft);
  max-width: 64ch;
  margin: 0 auto clamp(32px, 4vw, 56px);
  font-weight: 300;
  text-align: center;
}
.cat-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 3vw, 40px);
}
.cat-project {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  margin: 0;
  overflow: hidden;
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.3);
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(24px, 3.5vw, 44px);
  text-decoration: none;
  color: var(--c-paper);
  isolation: isolate;
}
.cat-project::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1;
  transition: opacity 0.4s var(--ease);
}
.cat-project:hover {
  transform: translateY(-3px);
  filter: saturate(1.05) contrast(1.03);
}
.cat-project:hover::before { opacity: 0; }
.cat-project:hover figcaption { opacity: 0; }
.cat-project figcaption {
  position: relative;
  z-index: 2;
  margin: 0;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: clamp(16px, 1.6vw, 22px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-paper);
  text-align: center;
  padding: 0 20px;
  transition: opacity 0.4s var(--ease);
}
.cat-cta {
  margin-top: clamp(48px, 6vw, 80px);
  text-align: center;
}
.cat-cta .text-link { margin-top: 0; }

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

/* Cat-project as link (anchor wrapper) */
a.cat-project {
  text-decoration: none;
  color: inherit;
}
a.cat-project figcaption {
  cursor: pointer;
}

/* =========================================================
   PROJECT DETAIL PAGE
   ========================================================= */
.proj-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-paper);
  opacity: 0.85;
  font-weight: 600;
  margin: 0 0 16px;
}
.hero-sub .hero-content .proj-eyebrow { text-align: center; }

.proj-page { padding: clamp(40px, 5vw, 64px) 0; }
.proj-back-top {
  margin: 0 0 clamp(32px, 4vw, 48px);
}
.proj-back-top .text-link { margin: 0; }

.proj-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.proj-gallery-item {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,0.3);
  transition: transform 0.4s var(--ease), filter 0.4s var(--ease);
  margin: 0;
}
.proj-gallery-item:hover {
  transform: translateY(-3px);
  filter: saturate(1.05) contrast(1.03);
}
.proj-gallery-item:first-child {
  grid-column: 1 / -1;
  aspect-ratio: 16 / 9;
}
.proj-gallery-item.proj-gallery-item--contain {
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  background-color: var(--c-paper);
}

/* Natural-size gallery: each image at its own aspect ratio, no cropping */
.proj-gallery--natural {
  display: flex;
  flex-direction: column;
  gap: clamp(20px, 2.5vw, 32px);
}
.proj-gallery--natural img.proj-gallery-item {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: auto;
  background: none;
  object-fit: contain;
}
.proj-gallery--natural img.proj-gallery-item:first-child {
  grid-column: auto;
  aspect-ratio: auto;
}

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

.proj-page .cat-cta {
  margin-top: clamp(48px, 6vw, 80px);
  text-align: center;
}

@media (max-width: 768px) {
  .proj-gallery { grid-template-columns: 1fr; }
  .proj-gallery-item:first-child { aspect-ratio: 4 / 3; }
}

.nav-phone {
  font-variant-numeric: tabular-nums;
  color: var(--c-accent) !important;
}

.primary-nav a.nav-cta {
  border: 1.5px solid var(--c-ink);
  padding: 10px 18px;
  font-weight: 700;
  letter-spacing: 0.2em;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.primary-nav a.nav-cta::after { display: none; }
.primary-nav a.nav-cta:hover {
  background: var(--c-ink);
  color: var(--c-paper);
}
.primary-nav a.nav-cta.is-active {
  background: var(--c-ink);
  color: var(--c-paper);
}

.lang-toggle {
  position: absolute;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid var(--c-line);
  border-radius: 999px;
  padding: 6px 12px;
  color: var(--c-ink);
  font-family: var(--f-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1;
  transition: background 0.3s var(--ease);
  flex-shrink: 0;
}
.lang-toggle span { transition: opacity 0.2s var(--ease); opacity: 0.45; }
.lang-toggle span.active { opacity: 1; font-weight: 600; }
.lang-toggle .lang-sep { opacity: 0.35; font-weight: 400; }
.lang-toggle:hover { background: rgba(0,0,0,0.04); }

.nav-toggle {
  display: none;
  background: none; border: 0;
  width: 40px; height: 40px;
  position: relative;
  padding: 0;
}
.nav-toggle span {
  display: block;
  position: absolute;
  left: 8px; right: 8px;
  height: 2px;
  background: var(--c-ink);
  transition: 0.3s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 14px; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 14px; }
.menu-open .nav-toggle span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.menu-open .nav-toggle span:nth-child(2) { opacity: 0; }
.menu-open .nav-toggle span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-paper);
  overflow: hidden;
  padding: 80px 0;
}
.hero.hero-sub {
  min-height: 0;
  padding: clamp(44px, 6vw, 72px) 0;
  background: var(--c-bg-alt);
  color: var(--c-ink);
}
.hero.hero-sub .hero-media,
.hero.hero-sub .hero-image,
.hero.hero-sub .hero-overlay {
  display: none;
}
.hero.hero-sub h1 {
  font-size: clamp(28px, 3.4vw, 46px);
  color: var(--c-ink);
  text-shadow: none;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.hero.hero-sub h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 2px;
  background: var(--c-accent);
  margin: 22px auto 0;
}
.hero.hero-sub .proj-eyebrow {
  color: var(--c-accent);
  opacity: 1;
}

.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-image {
  position: absolute; inset: 0;
  background-image: url('images/hero-home.jpg');
  background-size: cover;
  background-position: center;
  filter: contrast(1.02) saturate(1.02);
  transform: scale(1.06);
  animation: heroZoom 18s ease-out forwards;
}
@keyframes heroZoom {
  to { transform: scale(1); }
}

/* Carousel slides */
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: contrast(1.02) saturate(1.02);
  opacity: 0;
  transition: opacity 1s var(--ease);
  z-index: 0;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }

/* Carousel arrows */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(0,0,0,0.18);
  border: 0;
  color: var(--c-paper);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
  opacity: 0.85;
}
.hero-arrow:hover {
  background: rgba(0,0,0,0.45);
  opacity: 1;
}
.hero-arrow-prev { left: 24px; }
.hero-arrow-next { right: 24px; }
.hero-arrow svg { display: block; }

/* Carousel dots */
.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--c-paper);
  background: transparent;
  padding: 0;
  cursor: pointer;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}
.hero-dot:hover { background: rgba(255,255,255,0.4); }
.hero-dot.is-active { background: var(--c-paper); transform: scale(1.15); }

@media (max-width: 640px) {
  .hero-arrow { width: 44px; height: 44px; }
  .hero-arrow-prev { left: 12px; }
  .hero-arrow-next { right: 12px; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg,
    rgba(15, 18, 16, 0.30) 0%,
    rgba(15, 18, 16, 0.20) 50%,
    rgba(15, 18, 16, 0.50) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero h1 {
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: clamp(32px, 4vw, 55px);
  line-height: 1;
  letter-spacing: 0;
  margin: 0;
  color: var(--c-paper);
  text-shadow: 0 2px 24px rgba(0,0,0,0.35);
}

.lede {
  font-size: clamp(16px, 1.4vw, 19px);
  font-weight: 300;
  line-height: 1.55;
  max-width: 56ch;
  opacity: 0.92;
  margin: 0 auto 40px;
  text-align: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: all 0.35s var(--ease);
  cursor: pointer;
}
.btn-primary {
  background: var(--c-paper);
  color: var(--c-ink);
}
.btn-primary:hover {
  background: var(--c-accent);
  color: var(--c-paper);
}
.btn-ghost {
  background: transparent;
  color: var(--c-paper);
  border-color: rgba(255,255,255,0.45);
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--c-paper);
}
.btn.full { width: 100%; }

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 36px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.7;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, currentColor);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.7; }
  50% { transform: scaleY(0.5); opacity: 0.3; }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section {
  padding: clamp(80px, 10vw, 140px) 0;
  position: relative;
}
.hero + .section {
  padding-top: clamp(32px, 4vw, 56px);
}

.section-head {
  margin-bottom: 64px;
  max-width: 720px;
}
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 100%;
  gap: 32px;
  flex-wrap: wrap;
}

.section-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin: 0 0 20px;
  font-weight: 500;
}
.section-eyebrow.center { text-align: center; }

.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.012em;
  margin: 0 0 24px;
  color: var(--c-ink);
}

.section-body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  max-width: 60ch;
  margin: 0 0 20px;
  font-weight: 300;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 8vw, 100px);
  align-items: center;
}

/* =========================================================
   HOME — TAGLINE BAND
   ========================================================= */
.band-tagline {
  background: var(--c-paper);
  padding: clamp(60px, 8vw, 100px) 0;
  text-align: center;
  border-bottom: 1px solid var(--c-line);
}
.tagline-display {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.3;
  color: var(--c-ink);
  margin: 0 0 20px;
  max-width: 28ch;
  margin-left: auto;
  margin-right: auto;
}
.tagline-sub {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: var(--c-ink-soft);
  max-width: 60ch;
  margin: 0 auto;
  font-weight: 300;
}

/* =========================================================
   HOME — STATS BAND (image-backed)
   ========================================================= */
.band-stats {
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
  background-size: cover;
  background-position: center;
  color: var(--c-paper);
  overflow: hidden;
}
.band-stats-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,18,16,0.65), rgba(15,18,16,0.78));
}
.band-stats > .container { position: relative; z-index: 1; }
.band-stats .stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}
.band-stats .stat-num {
  font-family: var(--f-display);
  font-size: clamp(48px, 6vw, 72px);
  line-height: 1;
  font-weight: 500;
  color: var(--c-paper);
  margin-bottom: 10px;
}
.band-stats .stat:not(:last-child) .stat-num::after {
  content: '+';
  font-size: 0.55em;
  vertical-align: super;
  opacity: 0.7;
  margin-left: 2px;
}
.band-stats .stat-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}
.band-stats-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 48px;
  flex-wrap: wrap;
}

/* =========================================================
   HOME — TEXT LINK (arrow link)
   ========================================================= */
.text-link {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--c-accent);
  position: relative;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--c-accent);
  transition: gap 0.3s var(--ease), opacity 0.3s var(--ease);
}
.text-link:hover { opacity: 0.7; }

/* =========================================================
   HOME — SERVICES TEASER (tiles)
   ========================================================= */
.services-teaser { background: var(--c-bg-alt); }
.service-tiles {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--c-line);
}
.service-tiles li {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 36px 0;
  border-bottom: 1px solid var(--c-line);
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 500;
  color: var(--c-ink);
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}
.service-tiles li:nth-child(odd) { padding-right: 36px; border-right: 1px solid var(--c-line); }
.service-tiles li:nth-child(even) { padding-left: 36px; }
.service-tiles .service-num {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 16px;
  color: var(--c-accent);
  flex-shrink: 0;
}

/* =========================================================
   HOME — FINAL CTA BAND (image-backed)
   ========================================================= */
.band-cta {
  position: relative;
  padding: clamp(100px, 12vw, 160px) 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--c-paper);
  text-align: center;
  overflow: hidden;
}
.band-cta-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,18,16,0.55), rgba(15,18,16,0.75));
}
.band-cta > .container { position: relative; z-index: 1; }
.cta-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  margin: 0 0 18px;
}
.cta-body {
  font-size: 17px;
  line-height: 1.6;
  max-width: 56ch;
  margin: 0 auto 36px;
  opacity: 0.92;
  font-weight: 300;
}

.btn-outline-light {
  background: transparent;
  color: var(--c-paper);
  border: 1.5px solid var(--c-paper);
}
.btn-outline-light:hover {
  background: var(--c-paper);
  color: var(--c-ink);
}
.btn-lg { padding: 20px 44px; font-size: 13px; }

/* =========================================================
   HOME — PORTFOLIO TEASER (simpler 3-up grid)
   ========================================================= */
.gallery-grid-teaser {
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 220px;
}
.gallery-grid-teaser .gallery-item { grid-column: span 2; grid-row: span 1; }
.gallery-grid-teaser .gallery-tall { grid-column: span 2; grid-row: span 2; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { background: var(--c-bg); }
.about .section-body { font-weight: 600; color: var(--c-ink); }
.about .section-eyebrow { font-weight: 700; }

/* =========================================================
   PROCESS — accordion with side image (about page)
   ========================================================= */
.process { background: var(--c-paper); }
.process-title {
  font-family: var(--f-sans);
  font-weight: 800;
  font-size: clamp(32px, 4vw, 48px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-ink);
  margin: 0;
  line-height: 1;
}
.process-subtitle {
  font-family: var(--f-sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin: 14px 0 0;
}
.process-rule {
  width: 80px;
  height: 3px;
  background: var(--c-accent);
  margin: 22px 0 28px;
}
.process-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--c-line);
}
.process-item { border-bottom: 1px solid var(--c-line); }
.process-toggle {
  display: flex;
  align-items: center;
  gap: 22px;
  width: 100%;
  padding: 20px 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: var(--f-sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-ink);
  transition: color 0.25s var(--ease);
}
.process-toggle:hover .process-label,
.process-item.is-open .process-label { color: var(--c-accent); }
.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: 18px;
  font-weight: 400;
  flex-shrink: 0;
  transition: background 0.25s var(--ease), transform 0.3s var(--ease);
}
.process-item.is-open .process-icon { background: var(--c-accent); transform: rotate(45deg); }
.process-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}
.process-item.is-open .process-body { max-height: 200px; }
.process-body p {
  margin: 0 0 22px 52px;
  padding-right: 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--c-ink-soft);
  font-weight: 400;
}

.image-process {
  background-image: url('images/proj-r1-8.jpg');
}

.image-card {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  position: relative;
  box-shadow: 0 30px 80px -30px rgba(0,0,0,0.25);
}
.image-about {
  background-image: url('images/proj-r1-3.jpg');
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--c-line);
}
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1;
  font-weight: 500;
  color: var(--c-accent);
  margin-bottom: 8px;
}
.stats .stat:not(:last-child) .stat-num::after {
  content: '+';
  font-size: 0.6em;
  vertical-align: super;
  opacity: 0.6;
  margin-left: 2px;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
}

/* =========================================================
   SERVICES (image + description, no click-through)
   ========================================================= */
.services { background: var(--c-bg-alt); }

.service-list {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vw, 96px);
  margin-top: 24px;
}

.service-item {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.service-item.reverse { direction: rtl; }
.service-item.reverse > * { direction: ltr; }

.service-visual {
  width: 100%;
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.3);
}

.service-body { max-width: 46ch; }

.service-num {
  display: inline-block;
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  color: var(--c-accent);
  letter-spacing: 0.04em;
  margin-bottom: 16px;
}

.service-body h3 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  letter-spacing: -0.008em;
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--c-ink);
}

.service-body p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--c-ink-soft);
  margin: 0;
  font-weight: 300;
}

/* =========================================================
   GALLERY (visual showcase, non-clickable)
   ========================================================= */
.gallery { background: var(--c-bg); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 200px;
  gap: 16px;
}

.gallery-item {
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  grid-column: span 2;
  grid-row: span 1;
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
  margin: 0;
  filter: saturate(1) contrast(1);
}
.gallery-item:hover {
  transform: scale(1.01);
  filter: saturate(1.05) contrast(1.02);
}
.gallery-tall { grid-column: span 3; grid-row: span 2; }
.gallery-wide { grid-column: span 4; grid-row: span 2; }
.gallery-item:nth-child(2),
.gallery-item:nth-child(3) { grid-row: span 2; grid-column: span 3; }
.gallery-item:nth-child(5) { grid-column: span 2; grid-row: span 2; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { background: var(--c-bg); }

.contact-list {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
}
.contact-list li {
  padding: 20px 0;
  border-top: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--c-ink-soft);
  font-weight: 300;
}
.contact-list li:last-child { border-bottom: 1px solid var(--c-line); }
.contact-list span {
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--c-muted);
  font-weight: 500;
  padding-top: 4px;
}
.contact-list a:hover { color: var(--c-accent); }

.contact-form {
  background: var(--c-paper);
  padding: 48px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  box-shadow: 0 30px 80px -40px rgba(0,0,0,0.18);
}
.field { display: flex; flex-direction: column; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.field .optional {
  text-transform: none;
  letter-spacing: 0.04em;
  color: var(--c-muted);
  font-weight: 300;
  font-size: 11px;
}
.field input,
.field select,
.field textarea {
  font-family: var(--f-sans);
  font-size: 15px;
  padding: 12px 0;
  border: 0;
  border-bottom: 1px solid var(--c-line);
  background: transparent;
  color: var(--c-ink);
  border-radius: 0;
  transition: border-color 0.3s var(--ease);
  outline: none;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--c-accent); }

.contact-form .btn { grid-column: 1 / -1; }

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 14px;
  color: var(--c-accent);
  min-height: 20px;
  text-align: center;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--c-ink);
  color: rgba(255,255,255,0.85);
}

/* Top CTA bar */
.footer-cta {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: clamp(40px, 5vw, 60px) 0;
}
.footer-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-cta-eyebrow {
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  margin: 0 0 12px;
}
.footer-cta-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.15;
  margin: 0;
  color: var(--c-paper);
  letter-spacing: -0.005em;
}

/* 4-column footer body */
.footer-inner {
  padding-top: clamp(48px, 6vw, 72px);
  padding-bottom: clamp(40px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.footer-brand {
  display: flex;
  flex-direction: column;
}
.footer-brand .footer-logo-img {
  height: 90px;
  width: auto;
  min-width: 0;
  min-height: 0;
  margin-bottom: 18px;
  align-self: flex-start;
  filter: brightness(0) invert(1);
}
.footer-brand p {
  font-size: 12px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 6px;
}
.footer-brand .footer-tag {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  color: rgba(255,255,255,0.72);
  margin-top: 14px;
  line-height: 1.5;
  max-width: 28ch;
}

.footer-links {
  display: contents;
}
.footer-inner > div > h4 {
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-paper);
  font-weight: 600;
  margin: 0 0 14px;
  position: relative;
  padding-bottom: 12px;
}
.footer-inner > div > h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background: var(--c-accent);
}
.footer-inner > div > ul,
.footer-inner > div > p {
  margin: 0;
  padding: 0;
}
.footer-inner ul { list-style: none; }
.footer-inner li {
  font-size: 14px;
  color: rgba(255,255,255,0.78);
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 10px;
}
.footer-inner li:last-child { margin-bottom: 0; }
.footer-inner a {
  color: inherit;
  transition: color 0.25s var(--ease);
  white-space: nowrap;
}
.footer-inner a:hover { color: var(--c-accent); }

.footer-base {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.08em;
}
.footer-base .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   REVEAL ON SCROLL
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .gallery-grid { grid-auto-rows: 160px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 960px) {
  .header-inner {
    grid-template-columns: auto 1fr auto;
    gap: 16px;
  }
  /* Main menu — fullscreen overlay sliding from top */
  .primary-nav-left {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--c-paper);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 96px 24px 160px;
    overflow-y: auto;
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease);
    z-index: 90;
    visibility: hidden;
  }
  /* Phone + CTA — fixed bottom band inside the menu */
  .primary-nav-right.primary-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    background: var(--c-paper);
    border-top: 1px solid var(--c-bg-alt);
    padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease);
    z-index: 91;
    visibility: hidden;
  }
  body.menu-open .primary-nav-left {
    transform: translateY(0);
    visibility: visible;
  }
  body.menu-open .primary-nav-right.primary-nav {
    transform: translateY(0);
    visibility: visible;
  }
  body.menu-open { overflow: hidden; }

  .primary-nav-left ul {
    flex-direction: column;
    gap: 8px;
    text-align: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }
  .primary-nav-right ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    justify-content: center;
  }

  .nav-toggle { display: block; justify-self: end; }
  .logo { justify-self: start; min-width: 0; }
  .logo-img { height: 56px; width: 56px; min-width: 56px; min-height: 56px; }
  .lang-toggle {
    position: static;
    transform: none;
    padding: 6px 12px;
    font-size: 12px;
  }
  .header-inner { padding: 0 16px; gap: 8px; }
  .site-header { padding: 8px 0; }
  .primary-nav a {
    color: var(--c-ink) !important;
    font-size: 20px;
    letter-spacing: 0.04em;
    font-weight: 500;
    padding: 14px 8px;
    display: block;
  }
  .primary-nav .nav-phone {
    font-size: 16px;
    letter-spacing: 0;
    padding: 8px 4px;
    color: var(--c-accent) !important;
  }
  .primary-nav .nav-cta {
    background: var(--c-ink);
    color: var(--c-paper) !important;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 14px;
    letter-spacing: 0.12em;
  }
  .primary-nav .nav-cta:hover { background: var(--c-accent); }
  /* Mobile dropdown — inline expand instead of absolute */
  .primary-nav .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    box-shadow: none;
    background: transparent;
    min-width: 0;
    margin: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s var(--ease);
  }
  .primary-nav .has-dropdown.is-open .dropdown { max-height: 400px; padding-bottom: 8px; }
  .primary-nav .has-dropdown:hover .dropdown { max-height: 0; }
  .primary-nav .has-dropdown.is-open:hover .dropdown { max-height: 400px; }
  .primary-nav .dropdown a { padding: 10px 0; font-size: 15px; font-weight: 400; color: var(--c-ink-soft) !important; }
  .primary-nav .has-dropdown.is-open .caret { transform: rotate(45deg); }

  .two-col { grid-template-columns: 1fr; }
  .col-image { order: -1; }
  .image-card { aspect-ratio: 5 / 4; }

  .service-item,
  .service-item.reverse { grid-template-columns: 1fr; direction: ltr; gap: 28px; }
  .service-visual { aspect-ratio: 5 / 4; }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .gallery-item,
  .gallery-tall,
  .gallery-wide,
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(5) {
    grid-column: 1 / -1;
    grid-row: auto;
    height: 280px;
  }

  .contact-form { padding: 32px 24px; grid-template-columns: 1fr; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }

  .footer-links { grid-template-columns: 1fr; gap: 32px; }

  /* Stats band — stack vertically on mobile */
  .band-stats .stats-row {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 40px;
  }
  .band-stats .stat-num { font-size: clamp(36px, 12vw, 56px); }
  .band-stats-actions { flex-direction: column; gap: 12px; }
  .band-stats-actions .btn { width: 100%; max-width: 280px; }

  /* Service tiles — single column on mobile */
  .service-tiles { grid-template-columns: 1fr; }
  .service-tiles li {
    padding: 24px 0;
    font-size: clamp(22px, 5vw, 28px);
    gap: 20px;
  }
  .service-tiles li:nth-child(odd),
  .service-tiles li:nth-child(even) {
    padding-left: 0;
    padding-right: 0;
    border-right: 0;
  }

  /* CTA band — smaller padding on mobile */
  .band-cta { padding: 64px 0; }

  /* Prevent horizontal scroll site-wide */
  html, body { overflow-x: hidden; }
}

@media (max-width: 520px) {
  :root { --gutter: 22px; }
  .stats { grid-template-columns: 1fr; gap: 24px; }
  .hero { padding: 140px 0 100px; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
