/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #ffffff;
  --bg-2:      #f2f1ee;
  --ink:       #0a0a0a;
  --ink-soft:  #2a2a2a;
  --ink-mute:  #63615c;
  --accent:    #c5301e;
  --accent-2:  #8f2116;
  --line:      #0a0a0a;
  --line-soft: rgba(10,10,10,0.14);
  --cream:     #f6f3ec;

  --display: "Ranade", "Space Grotesk", -apple-system, sans-serif;
  --subtitle: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Menlo, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --nav-h: 72px;
  --gutter: 1px;
}

@property --count-progress {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-h);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
ul { list-style: none; padding: 0; }
h1, h2 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--display); font-weight: 700; }
h3, h4 { text-wrap: balance; line-height: 1.08; letter-spacing: -0.01em; font-family: var(--subtitle); font-weight: 700; }
::selection { background: var(--accent); color: var(--cream); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--ink); color: var(--cream);
  font-family: var(--mono); font-size: .85rem;
  transition: top .3s var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container {
  width: 100%;
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}
@media (min-width: 720px)  { .container { padding-inline: 2rem; } }
@media (min-width: 1280px) { .container { padding-inline: 3rem; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.section {
  padding-block: 4.5rem;
  border-top: 1px solid var(--line);
  position: relative;
}
@media (min-width: 960px) { .section { padding-block: 7rem; } }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: .75rem 1.5rem;
  margin-bottom: 2.5rem;
}
@media (min-width: 960px) { .section-head { margin-bottom: 4rem; } }

.section-num {
  font-family: var(--mono);
  font-size: .95rem;
  color: var(--accent);
  letter-spacing: .04em;
}
.section-title {
  font-size: clamp(1.9rem, 5vw, 3.2rem);
}
.section-lede {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* =============================================================
   4. Components — buttons
   ============================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .9rem 1.5rem;
  font-family: var(--mono);
  font-size: .85rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1.5px solid var(--ink);
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out);
  text-align: center;
  max-width: 100%;
}
@media (min-width: 540px) { .btn { white-space: nowrap; } }
.btn-primary {
  background: var(--ink);
  color: var(--cream);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover, .btn-ghost:focus-visible {
  background: var(--ink);
  color: var(--cream);
}
.btn-accent {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.btn-accent:hover, .btn-accent:focus-visible {
  background: var(--ink);
  border-color: var(--ink);
}
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* =============================================================
   5. Nav
   ============================================================= */
.nav {
  position: fixed; top: 0; inset-inline: 0; z-index: 500;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.nav.is-scrolled {
  border-bottom-color: var(--line);
}
.nav-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  display: inline-flex;
  align-items: center;
}
.brand-logo { height: 52px; width: auto; display: block; }

.nav-links {
  display: none;
  align-items: center;
  gap: 1.7rem;
  font-family: var(--subtitle);
  font-weight: 700;
  font-size: .88rem;
  letter-spacing: .01em;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-link {
  position: relative;
  padding-block: .3rem;
  color: var(--ink-soft);
  transition: color .3s var(--ease-out);
}
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--accent);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-link:hover, .nav-link.is-active { color: var(--ink); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex; } }

.nav-burger {
  display: inline-flex;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
  border: 1.5px solid var(--ink);
}
@media (min-width: 1024px) { .nav-burger { display: none; } }
.nav-burger-lines {
  position: relative; width: 18px; height: 12px;
}
.nav-burger-lines span {
  position: absolute; left: 0; right: 0; height: 2px; background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .3s var(--ease-out), top .3s var(--ease-out);
}
.nav-burger-lines span:nth-child(1) { top: 0; }
.nav-burger-lines span:nth-child(2) { top: 5px; }
.nav-burger-lines span:nth-child(3) { top: 10px; }
.nav-burger[aria-expanded="true"] .nav-burger-lines span:nth-child(1) { top: 5px; transform: rotate(45deg); }
.nav-burger[aria-expanded="true"] .nav-burger-lines span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] .nav-burger-lines span:nth-child(3) { top: 5px; transform: rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 400;
  background: var(--ink); color: var(--cream);
  clip-path: inset(0 0 100% 0);
  transition: clip-path .5s var(--ease-soft);
  overflow-y: auto;
}
.nav-mobile[data-open="true"] { clip-path: inset(0 0 0 0); }
@media (min-width: 1024px) { .nav-mobile { display: none; } }
.nav-mobile-inner {
  padding: 2.5rem 1.25rem;
  display: flex; flex-direction: column; gap: 1.6rem;
}
.nav-mobile a {
  font-family: var(--display);
  font-size: 1.7rem;
  text-transform: uppercase;
  font-weight: 800;
  border-bottom: 1px solid rgba(246,243,236,0.18);
  padding-bottom: .7rem;
}
.nav-mobile .btn { align-self: flex-start; margin-top: .5rem; }

/* =============================================================
   6. Hero
   ============================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--nav-h) + 3.5rem);
  padding-bottom: 4rem;
  border-top: 0;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: .16;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,.85) 55%, var(--bg) 92%);
}
.hero > .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 7fr 5fr; gap: 3rem; align-items: end; }
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .05em;
  color: var(--accent);
  margin-bottom: 1.4rem;
}
.hero-kicker::before {
  content: ""; width: 8px; height: 8px; background: var(--accent);
}
.hero-title {
  font-size: clamp(2.3rem, 6.4vw, 4.6rem);
  max-width: 16ch;
}
.hero-title em {
  font-style: normal;
  color: var(--accent);
}
.hero-sub {
  margin-top: 1.6rem;
  max-width: 52ch;
  font-size: 1.1rem;
  color: var(--ink-soft);
}
.hero-actions {
  margin-top: 2.2rem;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gutter);
  background: var(--line);
  border: 1px solid var(--line);
}
.hero-stat {
  background: var(--bg);
  padding: 1.1rem 1rem;
}
.hero-stat-num {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: clamp(1.3rem, 3vw, 1.9rem);
  color: var(--ink);
}
.hero-stat-label {
  display: block;
  margin-top: .3rem;
  font-size: .78rem;
  color: var(--ink-mute);
  letter-spacing: .01em;
}

/* =============================================================
   7. Marquee ticker
   ============================================================= */
.marquee-wrap {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  padding-block: .9rem;
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 3rem;
  animation: marqueeScroll 32s linear infinite;
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
}
.marquee-track span { color: var(--ink-mute); }
.marquee-track span.is-accent { color: var(--accent); }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* =============================================================
   8. Quiénes somos
   ============================================================= */
.about-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 960px) {
  .about-grid { grid-template-columns: 5fr 7fr; gap: 3rem; }
}
.about-media {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}
.about-media img {
  width: 75%;
  height: auto;
  aspect-ratio: 4 / 5;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: grayscale(.15) contrast(1.05);
}
.about-lead {
  font-family: var(--subtitle);
  font-size: clamp(1.4rem, 2.6vw, 1.8rem);
  font-weight: 700;
  max-width: 26ch;
}
.about-body p + p { margin-top: 1.1rem; }
.about-body p { max-width: 62ch; color: var(--ink-soft); }
.about-tags {
  margin-top: 1.8rem;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
}
.about-tag {
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: .78rem;
  padding: .4rem .8rem;
  letter-spacing: .02em;
}

/* =============================================================
   9. Grid-12 utility (hairline grid, brutalist signature)
   ============================================================= */
.grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
@media (min-width: 720px)  { .grid-12 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-12 { grid-template-columns: repeat(3, 1fr); } }
.grid-12 > * {
  background: var(--bg);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* =============================================================
   10. Service / project cards
   ============================================================= */
.card {
  padding: 2rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.card-icon {
  width: 40px; height: 40px;
  color: var(--accent);
  transition: color .35s var(--ease-out);
}
.card:hover .card-icon { color: currentColor; }
.card-num {
  font-family: var(--mono);
  font-size: .78rem;
  color: var(--ink-mute);
  transition: color .35s var(--ease-out);
}
.card-title {
  font-family: var(--subtitle);
  font-size: 1.25rem;
  line-height: 1.15;
}
.card-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .04em;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: .2rem .5rem;
  width: fit-content;
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.card-text { color: var(--ink-soft); font-size: .96rem; }

@media (hover: hover) and (pointer: fine) {
  .card:hover {
    background: var(--ink);
    color: var(--cream);
  }
  .card:hover .card-text { color: rgba(246,243,236,0.78); }
  .card:hover .card-num { color: rgba(246,243,236,0.5); }
  .card:hover .card-tag { color: var(--cream); border-color: var(--cream); }
}

.card-image {
  position: relative;
  padding: 0;
  min-height: 260px;
  overflow: hidden;
  color: var(--cream);
}
.card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35) contrast(1.05);
  transition: transform .7s var(--ease-soft), filter .5s var(--ease-out);
}
.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.35) 55%, rgba(10,10,10,.1) 100%);
}
.card-image-text {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.6rem;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
@media (hover: hover) and (pointer: fine) {
  .card-image:hover img { transform: scale(1.08); filter: grayscale(0) contrast(1.05); }
}

/* =============================================================
   11. Beneficios
   ============================================================= */
.benefits-grid {
  display: grid;
  gap: var(--gutter);
  background: var(--line);
  border: 1px solid var(--line);
}
@media (min-width: 720px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
.benefit-item {
  background: var(--bg);
  padding: 1.6rem;
  display: flex;
  gap: 1rem;
}
.benefit-mark {
  font-family: var(--mono);
  color: var(--accent);
  font-weight: 600;
  flex-shrink: 0;
}
.benefit-item h3 {
  font-family: var(--subtitle);
  text-transform: none;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0;
  margin-bottom: .3rem;
}
.benefit-item p { color: var(--ink-soft); font-size: .93rem; }

.stat-band {
  margin-top: 2.5rem;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 1.5rem;
  display: grid;
  gap: 1.6rem;
  text-align: center;
}
@media (min-width: 720px) { .stat-band { grid-template-columns: repeat(3, 1fr); text-align: left; } }
.stat-band-item { display: flex; flex-direction: column; gap: .3rem; }
.stat-band-num {
  font-family: var(--mono);
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  font-weight: 600;
}
.stat-band-num .accent { color: var(--accent); }
.stat-band-label { font-size: .85rem; color: rgba(246,243,236,0.65); }

.stat-band {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px; /* Ajusta según necesites el espacio entre items */
  padding: 40px 20px;
  background: #000;
}

.stat-band-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  max-width: 300px;
}

.stat-band-num {
  display: block;
  font-size: 2.5rem;
  font-weight: bold;
  color: #fff;
  margin-bottom: 12px;
}

.stat-band-num .accent {
  color: #ff6b35; /* Ajusta al color naranja que uses */
}

.stat-band-label {
  display: block;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .stat-band {
    flex-direction: column;
    gap: 40px;
  }
}

/* =============================================================
   12. Experiencia
   ============================================================= */
.exp-stats {
  display: grid;
  gap: var(--gutter);
  background: var(--line);
  border: 1px solid var(--line);
  margin-bottom: 3rem;
}
@media (min-width: 720px) { .exp-stats { grid-template-columns: repeat(3, 1fr); } }
.exp-stat { background: var(--bg); padding: 1.8rem 1.4rem; }
.exp-stat-num { font-family: var(--mono); font-size: clamp(1.5rem, 3vw, 2rem); color: var(--accent); }
.exp-stat-label { margin-top: .4rem; font-size: .88rem; color: var(--ink-soft); }

.exp-sub {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}
@media (min-width: 960px) { .exp-sub { grid-template-columns: 4fr 8fr; } }
.exp-sub h3 {
  font-family: var(--subtitle);
  font-size: 1.5rem;
}
.exp-sub-list { display: flex; flex-direction: column; gap: 1rem; }
.exp-sub-list li {
  display: flex; gap: .8rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink-soft);
}
.exp-sub-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.exp-sub-list li::before {
  content: "—";
  color: var(--accent);
  flex-shrink: 0;
}

.projects-heading { margin-bottom: 2rem; }
.projects-heading h3 { font-family: var(--subtitle); font-size: 1.6rem; }

.project-card {
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.project-icon { width: 34px; height: 34px; color: var(--accent); }
.project-client {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
  transition: color .35s var(--ease-out);
}
.project-name { font-family: var(--subtitle); font-size: 1.2rem; }
.project-desc { font-size: .92rem; color: var(--ink-soft); flex-grow: 1; }
.project-metric {
  font-family: var(--mono);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: .8rem;
  border-top: 1px solid var(--line-soft);
  transition: color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.project-card[data-project-modal] { cursor: pointer; }
.project-view-hint {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .project-card:hover { background: var(--ink); color: var(--cream); }
  .project-card:hover .project-desc { color: rgba(246,243,236,0.78); }
  .project-card:hover .project-client { color: rgba(246,243,236,0.5); }
  .project-card:hover .project-metric { color: var(--cream); border-color: rgba(246,243,236,0.3); }
  .project-card[data-project-modal]:hover .project-view-hint { opacity: 1; transform: translateY(0); }
}
.project-card[data-project-modal]:focus-visible .project-view-hint { opacity: 1; transform: translateY(0); }

/* ---- Project lightbox ---- */
.project-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  pointer-events: none;
}
.project-lightbox[hidden] { display: none; }
.project-lightbox[data-open="true"] { pointer-events: auto; }
.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,.88);
  opacity: 0;
  transition: opacity .3s var(--ease-out);
}
.project-lightbox-panel {
  position: relative;
  width: 100%;
  max-width: 720px;
  max-height: 90vh;
  overflow-y: auto;
  background: var(--bg);
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateY(16px) scale(.98);
  transition: opacity .3s var(--ease-out), transform .3s var(--ease-out);
}
.project-lightbox[data-open="true"] .project-lightbox-backdrop { opacity: 1; }
.project-lightbox[data-open="true"] .project-lightbox-panel { opacity: 1; transform: translateY(0) scale(1); }
.project-lightbox-img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: cover;
  filter: grayscale(.15) contrast(1.05);
}
.project-lightbox-close {
  position: absolute;
  top: .7rem;
  right: .7rem;
  z-index: 1;
  width: 2.2rem;
  height: 2.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  line-height: 1;
  background: var(--ink);
  color: var(--cream);
  border-radius: 50%;
}
.project-lightbox-close:hover { background: var(--accent); }
.project-lightbox-caption { padding: 1.5rem 1.7rem; }
.project-lightbox-client {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.project-lightbox-caption h3 {
  font-family: var(--subtitle);
  font-size: 1.4rem;
  margin-top: .3rem;
}
.project-lightbox-note {
  margin-top: .8rem;
  font-size: .78rem;
  color: var(--ink-mute);
}

.project-card-image {
  position: relative;
  padding: 0;
  min-height: 260px;
  overflow: hidden;
  color: var(--cream);
}
.project-card-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(.35) contrast(1.05);
  transition: transform .7s var(--ease-soft), filter .5s var(--ease-out);
}
.project-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(10,10,10,.92) 0%, rgba(10,10,10,.3) 55%, rgba(10,10,10,.05) 100%);
}
.project-card-image-text {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 1.6rem;
}
.project-card-image-text span {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(246,243,236,0.65);
  margin-bottom: .4rem;
}
.project-card-image-text p {
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
}
@media (hover: hover) and (pointer: fine) {
  .project-card-image:hover img { transform: scale(1.08); filter: grayscale(0) contrast(1.05); }
}

.exp-closing {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.exp-closing p {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  text-transform: none;
  font-weight: 700;
  max-width: 42ch;
}

/* =============================================================
   13. FAQ (native details/summary — works with JS disabled)
   ============================================================= */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.4rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--subtitle);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  text-transform: none;
  font-weight: 700;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-plus {
  font-family: var(--mono);
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .35s var(--ease-out);
}
.faq-item[open] .faq-plus { transform: rotate(45deg); }
.faq-answer {
  padding-bottom: 1.6rem;
  max-width: 66ch;
  color: var(--ink-soft);
}

/* =============================================================
   14. Contact / CTA + form
   ============================================================= */
.contact-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 960px) { .contact-grid { grid-template-columns: 5fr 7fr; } }
.contact-title { font-size: clamp(1.8rem, 4.4vw, 2.8rem); max-width: 14ch; }
.contact-sub { margin-top: 1.2rem; color: var(--ink-soft); max-width: 40ch; }
.contact-direct {
  margin-top: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  font-family: var(--mono);
  font-size: .95rem;
}
.contact-direct a { display: inline-flex; gap: .6rem; align-items: center; transition: color .3s; }
.contact-direct a:hover { color: var(--accent); }

.field { display: flex; flex-direction: column; gap: .4rem; }
.field label {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field input, .field select {
  border: 1.5px solid var(--ink);
  background: var(--bg);
  padding: .85rem .9rem;
  font-family: var(--sans);
  font-size: .98rem;
  color: var(--ink);
  transition: border-color .3s;
}
.field input:focus, .field select:focus { border-color: var(--accent); }
.field select {
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6 9l6 6 6-6' fill='none' stroke='%23c5301e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  background-size: 18px;
  padding-right: 2.4rem;
}
.field select:invalid { color: var(--ink-mute); }
.form-grid {
  display: grid;
  gap: 1.2rem;
}
@media (min-width: 640px) { .form-grid { grid-template-columns: 1fr 1fr; } }
.form-grid .field-full { grid-column: 1 / -1; }
.cta-form { margin-top: 0; position: relative; }
.cta-form-actions { margin-top: 1.6rem; display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.form-note { font-size: .82rem; color: var(--ink-mute); max-width: 34ch; }
.field-consent {
  margin-top: 1.2rem;
  display: flex;
  align-items: flex-start;
  gap: .6rem;
}
.field-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: .2rem;
  accent-color: var(--accent);
}
.field-consent label {
  font-size: .8rem;
  line-height: 1.5;
  color: var(--ink-mute);
}
.field-consent label a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   14b. Social section
   ============================================================= */
.social-section {
  padding-block: 3.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}
.social-section-title { font-size: 1.6rem; margin-bottom: 1.8rem; }
.social-section-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.3rem;
}
.social-section-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.social-section-link svg { width: 28px; height: 28px; }
.social-section-link:hover { color: #fff; background: var(--accent); border-color: var(--accent); }
.social-section-link.is-pending { opacity: .4; }
.social-section-link.is-pending:hover { color: var(--ink); background: none; border-color: var(--line); cursor: default; }

/* =============================================================
   15. Footer
   ============================================================= */
.footer {
  border-top: 1px solid var(--line);
  background: var(--ink);
  color: var(--cream);
  padding-block: 3rem 2rem;
}
.footer-grid {
  display: grid;
  gap: 2rem;
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand { margin-bottom: .8rem; }
.footer-brand-logo { height: 46px; width: auto; display: block; }
.footer-tag { color: rgba(246,243,236,0.6); max-width: 34ch; font-size: .92rem; }
.footer-social { display: flex; gap: .9rem; margin-top: 1.3rem; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(246,243,236,0.25);
  border-radius: 50%;
  color: rgba(246,243,236,0.85);
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out), background-color .3s var(--ease-out);
}
.footer-social-link svg { width: 22px; height: 22px; }
.footer-social-link:hover { color: var(--cream); background: var(--accent); border-color: var(--accent); }
.footer-social-link.is-pending { opacity: .45; }
.footer-social-link.is-pending:hover { color: rgba(246,243,236,0.85); background: none; border-color: rgba(246,243,236,0.25); cursor: default; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(246,243,236,0.5);
  margin-bottom: .9rem;
  font-weight: 500;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col a, .footer-col span { font-size: .92rem; color: rgba(246,243,236,0.85); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(246,243,236,0.14);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  font-family: var(--mono);
  font-size: .78rem;
  color: rgba(246,243,236,0.5);
}
.footer-bottom a { color: rgba(246,243,236,0.5); transition: color .3s; }
.footer-bottom a:hover { color: var(--accent); }

/* =============================================================
   16. Reveal on scroll (functional, not intrusive)
   ============================================================= */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* =============================================================
   17. Responsive helpers
   ============================================================= */
@media (max-width: 959px) {
  .hero-stats { grid-template-columns: 1fr; }
}

/* =============================================================
   18. Reduced motion — only intrusive effects gated
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 90s; }
}
