/*
Theme Name:  Profi Designs
Description: Custom theme for Profi Designs interior design studio
Version:     2.0
Author:      Profi Designs
*/

/* Fonts: Montserrat via wp_enqueue (functions.php). Tokens: tokens.css */

/* ========================================================
   RESET
======================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-primary);
  font-size: var(--text-base);
  font-weight: var(--font-regular);
  line-height: var(--leading-relaxed);
  color: var(--color-text-primary);
  background: var(--color-bg-default);
}

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

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

ul { list-style: none; }

/* ========================================================
   TYPOGRAPHY
======================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--font-regular);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ========================================================
   LAYOUT
======================================================== */
.container {
  width: 100%;
  max-width: var(--grid-max-width);
  margin: 0 auto;
  padding: 0 40px;
}

section {
  padding: var(--section-pad) 0;
}

/* ========================================================
   BUTTONS — base + variants: amiciburo-design-system/components/button.css
======================================================== */
.btn-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========================================================
   EYEBROW LABEL
======================================================== */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-primary);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: '';
  flex-shrink: 0;
  width: 40px;
  height: 1px;
  background: var(--color-accent);
}

/* ========================================================
   HEADER / NAV
======================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed-header);
  height: var(--header-h);
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.site-logo {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-primary);
}

.site-nav ul {
  display: flex;
  gap: 40px;
}

.site-nav a {
  font-family: var(--font-primary);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  transition: color var(--transition-normal);
  position: relative;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--color-accent);
  transition: width var(--transition-normal);
}

.site-nav a:hover { color: var(--color-accent); }
.site-nav a:hover::after { width: 100%; }
.site-nav a.current-page { color: var(--color-accent); }
.site-nav a.current-page::after { width: 100%; }

/* Font Switcher */
.font-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  cursor: pointer;
  padding: 4px 10px;
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wide);
  line-height: 1;
  transition: border-color var(--transition-base), color var(--transition-base), background var(--transition-base);
}
.font-toggle:hover {
  border-color: var(--color-text-primary);
}
.font-toggle.is-active {
  background: var(--color-text-primary);
  color: var(--color-bg-default);
  border-color: var(--color-text-primary);
}
.font-toggle__a {
  pointer-events: none;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--color-text-primary);
  transition: var(--transition-normal);
}

/* ========================================================
   HERO — split layout
======================================================== */
.hero {
  min-height: 100vh;
  background: var(--color-surface);
  display: flex;
  align-items: stretch;
  padding-top: 0;
}

.hero__inner {
  width: 100%;
  max-width: var(--grid-max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 45% 55%;
  overflow: hidden;
}

/* Left text column */
.hero__text-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: calc(var(--header-h) + 80px) 64px 80px 40px;
}

/* Right image column — flex column: slides area + info strip */
.hero__image-col {
  display: flex;
  flex-direction: column;
  background: var(--color-bg-alt);
  overflow: hidden;
}

.hero__image-wrap--empty {
  flex: 1;
  background: var(--color-bg-alt);
}

/* Stacked slides with opacity fade */
.hero__slides {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Project info strip — below the image */
.hero__strip {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 24px;
  border-top: 1px solid var(--color-border-light);
  background: var(--color-surface);
  flex-shrink: 0;
}

.hero__strip-infos {
  position: relative;
  flex: 1;
  height: 44px;
  min-width: 0;
}

.hero__strip-info {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  overflow: hidden;
}

.hero__strip-info.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero__strip-num {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.hero__strip-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero__strip-meta {
  font-size: 10px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__strip-link {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-text-primary);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 2px;
  margin-left: auto;
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--transition-normal), border-color var(--transition-normal);
}

.hero__strip-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Slide navigation */
.hero__nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.hero__nav-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 6px;
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
  line-height: 1;
}

.hero__nav-btn:hover {
  color: var(--color-text-primary);
}

.hero__nav-dots {
  display: flex;
  gap: 6px;
  align-items: center;
}

.hero__nav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: var(--color-border);
  transition: background var(--transition-normal), transform var(--transition-normal);
}

.hero__nav-dot.is-active {
  background: var(--color-text-primary);
  transform: scale(1.4);
}

/* Eyebrow label with decorative line */
.hero__label {
  margin-bottom: 36px;
}

/* Heading: each line animates independently */
.hero__heading {
  font-family: var(--font-primary);
  font-size: clamp(44px, 5.5vw, 48px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0.03em;
  color: var(--color-text-primary);
  margin-bottom: 32px;
  display: flex;
  flex-direction: column;
}

.hero__line {
  display: block;
}

.hero__sub {
  font-size: 16px;
  font-weight: 300;
  color: var(--color-text-muted);
  margin-bottom: 44px;
  line-height: 1.65;
  max-width: 380px;
}

/* CTA row: primary button + secondary text-link */
.hero__actions {
  display: flex;
  align-items: center;
  gap: 36px;
  margin-bottom: 0;
}

.hero__action-link {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  text-decoration: none;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 3px;
  transition: color var(--transition-normal), border-color var(--transition-normal);
}

.hero__action-link:hover {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* Scroll hint — vertical line + label at bottom */
.hero__scroll-hint {
  margin-top: auto;
  padding-top: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-text-muted);
  cursor: pointer;
  text-decoration: none;
  transition: color var(--transition-normal);
}

.hero__scroll-hint:hover {
  color: var(--color-text-primary);
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: currentColor;
  animation: hero-scroll-pulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes hero-scroll-pulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50%       { opacity: 0.8; transform: scaleY(0.65); }
}

.hero__scroll-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}


/* ── Hero load animations ──────────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
  .hero__label {
    opacity: 0;
    transition: opacity .6s ease 0.05s;
  }
  .is-loaded .hero__label { opacity: 1; }

  .hero__line {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
  }
  .is-loaded .hero__line:nth-child(1) { opacity: 1; transform: none; transition-delay: 0.12s; }
  .is-loaded .hero__line:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.25s; }
  .is-loaded .hero__line:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.38s; }

  .hero__sub {
    opacity: 0;
    transition: opacity .8s ease 0.56s;
  }
  .is-loaded .hero__sub { opacity: 1; }

  .hero__actions {
    opacity: 0;
    transition: opacity .8s ease 0.72s;
  }
  .is-loaded .hero__actions { opacity: 1; }

  .hero__scroll-hint {
    opacity: 0;
    transition: opacity .8s ease 0.92s;
  }
  .is-loaded .hero__scroll-hint { opacity: 1; }

  /* Image: clip-path reveal left-to-right */
  .hero__img {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0.08s;
  }
  .is-loaded .hero__img { clip-path: inset(0 0% 0 0); }

  /* Strip fades in after image reveal */
  .hero__strip {
    opacity: 0;
    transition: opacity .6s ease 1.1s;
  }
  .is-loaded .hero__strip { opacity: 1; }
}

/* ========================================================
   SECTION HEADER
======================================================== */
.section-header {
  margin-bottom: 72px;
}

.section-header h2 {
  font-size: clamp(28px, 3.2vw, 42px);
}

/* ========================================================
   PORTFOLIO PREVIEW
======================================================== */
.portfolio-preview {
  background: var(--color-surface);
}

.portfolio-preview .section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

/* Horizontal drag-scroll slider — starts at container left edge, bleeds to viewport right */
.portfolio-slider {
  display: flex;
  gap: 3px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-padding-left: max(40px, calc(50vw - 560px));
  scrollbar-width: none;
  cursor: grab;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 0;
}

/* Spacers as flex-items — reliable cross-browser alternative to padding on overflow containers */
.portfolio-slider::before {
  content: '';
  flex: 0 0 max(40px, calc(50vw - 560px));
}
.portfolio-slider::after {
  content: '';
  flex: 0 0 0px;
}

.portfolio-slider::-webkit-scrollbar {
  display: none;
}

.portfolio-slider:active {
  cursor: grabbing;
}

/* ~3.2 slides visible on desktop → 4th slide peeks signalling scrollability */
.portfolio-slider__slide {
  flex: 0 0 clamp(260px, 28vw, 400px);
  scroll-snap-align: start;
  min-width: 0;
}

.portfolio-slider__slide .project-card__img {
  aspect-ratio: 3 / 4;
}

/* Controls row */
.portfolio-slider__controls {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
}

.portfolio-slider__nav-btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-primary);
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.portfolio-slider__nav-btn:hover {
  background: var(--color-text-primary);
  border-color: var(--color-text-primary);
  color: var(--color-text-inverse);
}

.portfolio-slider__nav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* Clip-path slide-up overlay instead of plain opacity fade */
.portfolio-preview .project-card__overlay {
  opacity: 1;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-preview .project-card:hover .project-card__overlay {
  clip-path: inset(0 0 0% 0);
}

/* Remove the duplicate ::after "View Project" label */
.portfolio-preview .project-card__img::after {
  display: none;
}

/* Location badge — always visible on image */
.project-card__badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  z-index: 2;
  pointer-events: none;
}

/* .project-card + __img: amiciburo card.css */

.project-card__info {
  padding: 20px 0 28px;
}

.portfolio-preview .project-card__info {
  padding: 16px 0 24px;
  border-top: 1px solid var(--color-border-light);
}

.project-card__info .project-card__title {
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-bottom: 4px;
}

.project-card__meta {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.portfolio-preview__cta {
  text-align: center;
}

/* ========================================================
   SERVICES SECTION (HOME)
======================================================== */
.services-home {
  background: var(--color-surface);
}

/* Two-column outer layout: left label+photo / right service rows */
.services-home__inner {
  display: grid;
  grid-template-columns: 30fr 70fr;
  gap: 0 80px;
  align-items: start;
}

.services-home__left {
  position: sticky;
  top: calc(var(--header-h) + 48px);
  padding-top: 4px;
}

.services-home__heading {
  font-family: var(--font-primary);
  font-size: clamp(13px, 1.4vw, 17px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin-top: 12px;
  margin-bottom: 0;
}

.services-home__photo {
  margin-top: 80px;
  width: 100%;
  max-width: 280px;
}

.services-home__photo img {
  width: 100%;
  display: block;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.services-home__right {
  display: flex;
  flex-direction: column;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-row {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 0 48px;
  align-items: start;
  padding: 44px 0;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}

.service-row:first-child {
  padding-top: 0;
}

.service-row__title-col {
  display: flex;
  flex-direction: column;
  padding-top: 2px;
}

.service-row__title {
  font-family: var(--font-primary);
  font-size: clamp(15px, 1.6vw, 20px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  line-height: 1.25;
}

.service-row__body {
  display: flex;
  flex-direction: column;
}

.service-row__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-row__list li {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: 4px 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.service-row__list li::before {
  content: '\2014'; /* em-dash */
  flex-shrink: 0;
  color: var(--color-text-muted);
}

.service-row__text {
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.75;
}

.service-row__price {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-top: 6px;
}


.services-home__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 48px;
}

/* ========================================================
   PROCESS
======================================================== */
.process {
  background: var(--color-surface);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 72px;
}

.process-step {
  border-top: 1px solid var(--color-border);
  padding-top: 40px;
}

.process-step__num {
  font-family: var(--font-primary);
  font-size: 40px;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 24px;
}

.process-step__title {
  font-family: var(--font-primary);
  font-size: 18px;
  margin-bottom: 16px;
}

.process-step__text {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================================
   ABOUT — BASE
======================================================== */
.about {
  background: var(--color-surface);
}

/* ========================================================
   ABOUT — V1: Full-Bleed Editorial
   Image bleeds to the right viewport edge, no container.
======================================================== */
.about--v1 {
  padding: 0;
  overflow: hidden;
}

.about--v1 .about__inner {
  display: grid;
  grid-template-columns: 1fr 52vw;
  min-height: 88vh;
}

.about--v1 .about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-pad) 60px var(--section-pad) max(40px, calc((100vw - var(--grid-max-width)) / 2 + 40px));
}

.about--v1 .about__text h2 {
  font-size: clamp(26px, 3.2vw, 48px);
  margin-bottom: 32px;
}

.about--v1 .about__text p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
  max-width: 420px;
}

.about--v1 .about__text .btn {
  margin-top: 20px;
  align-self: flex-start;
}

.about--v1 .about__image {
  height: 100%;
  overflow: hidden;
}

.about--v1 .about__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* ========================================================
   ABOUT — V2: Asymmetric Mosaic
   Three columns: tall photo | text with borders | photo offset down.
======================================================== */
.about--v2 .about__mosaic {
  display: grid;
  grid-template-columns: 0.85fr 1.3fr 0.85fr;
  align-items: start;
}

.about--v2 .about__img-main {
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.about--v2 .about__img-main img,
.about--v2 .about__img-side img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

.about--v2 .about__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 64px 48px;
  /* border-left: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border); */
}

.about--v2 .about__text h2 {
  font-size: clamp(20px, 2.2vw, 32px);
  margin-bottom: 28px;
}

.about--v2 .about__text p {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 18px;
}

.about--v2 .about__text .btn {
  margin-top: 16px;
}

.about--v2 .about__img-side {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  margin-top: 30%;
}

/* ========================================================
   ABOUT — V3: Magazine Strip
   Two-column header with oversized ghost text + horizontal photo strip.
======================================================== */
.about--v3 {
  position: relative;
  overflow: hidden;
}

.about--v3::before {
  content: 'STUDIO';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: clamp(80px, 16vw, 200px);
  font-weight: var(--font-semibold);
  letter-spacing: 0.12em;
  color: var(--color-text-primary);
  opacity: 0.04;
  white-space: nowrap;
  pointer-events: none;
  line-height: 1;
  z-index: 0;
}

.about--v3 .about__header {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: end;
  padding-bottom: 60px;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
  z-index: 1;
}

.about--v3 .about__intro h2 {
  font-size: clamp(34px, 5.5vw, 72px);
  line-height: 1.02;
  margin-top: 16px;
}

.about--v3 .about__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.about--v3 .about__body p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.about--v3 .about__body .btn {
  margin-top: 8px;
}

.about--v3 .about__strip {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  position: relative;
  z-index: 1;
}

.about--v3 .about__strip-img {
  overflow: hidden;
  aspect-ratio: 3 / 4;
}

.about--v3 .about__strip-img--landscape {
  aspect-ratio: 3 / 4;
  align-self: center;
  margin-top: -40px;
}

.about--v3 .about__strip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* ========================================================
   CONTACT SECTION (HOME + PAGE)
======================================================== */
.contact-section {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.contact-section h2 {
  color: var(--color-text-primary);
  font-size: clamp(28px, 3.2vw, 42px);
  margin-bottom: 16px;
}

.contact-section .lead {
  color: var(--color-text-muted);
  font-size: 17px;
  margin-bottom: 40px;
  max-width: 480px;
}

.contact-section__details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 40px;
  margin-bottom: 48px;
}

.contact-section__detail {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  color: inherit;
}

.contact-section__detail-label {
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.contact-section__detail-value {
  font-size: 14px;
  color: var(--color-text-primary);
}

a.contact-section__detail:hover .contact-section__detail-value {
  color: var(--color-accent);
}

/* FORM */
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
}

.contact-form .form-field {
  margin-bottom: 32px;
}

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

.contact-form label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: 15px;
  padding: 10px 0;
  outline: none;
  transition: border-color var(--transition-normal);
  appearance: none;
  -webkit-appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--color-border);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-bottom-color: var(--color-text-primary);
}

.contact-form select option {
  background: var(--color-surface);
  color: var(--color-text-primary);
}

.contact-form textarea {
  resize: none;
  height: 100px;
}

.contact-form .form-submit {
  grid-column: 1 / -1;
  margin-top: 16px;
}

.form-success {
  padding: 20px 0;
  color: var(--color-text-primary);
  font-size: 16px;
  border-top: 1px solid var(--color-border);
}

/* ========================================================
   PAGE HERO (inner pages)
======================================================== */
.page-hero {
  padding-top: calc(var(--header-h) + 100px);
  padding-bottom: 80px;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: clamp(38px, 4.8vw, 64px);
  margin-bottom: 20px;
}

.page-hero .lead {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 560px;
  line-height: 1.6;
}

.page-simple__title {
  font-size: clamp(38px, 4.8vw, 64px);
  margin-bottom: 24px;
}

/* ========================================================
   PORTFOLIO PAGE
======================================================== */
.portfolio-full {
  background: var(--color-surface);
  padding-top: 80px;
}

.portfolio-full .project-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 0;
}

/* ========================================================
   SERVICES FULL PAGE
======================================================== */
.services-full {
  background: var(--color-surface);
}

.services-full .service-item {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 72px 0;
  border-top: 1px solid var(--color-border);
  align-items: start;
}

.services-full .service-item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.service-item__label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  padding-top: 6px;
}

.service-item__body h3 {
  font-size: 26px;
  margin-bottom: 24px;
}

.service-item__body p {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 20px;
}

.service-item__includes {
  margin-top: 28px;
}

.service-item__includes h4 {
  font-family: var(--font-primary);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  font-weight: 500;
  margin-bottom: 14px;
}

.service-item__includes ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-item__includes li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 20px;
  position: relative;
}

.service-item__includes li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* ========================================================
   CONTACT PAGE
======================================================== */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.contact-info h3 {
  font-size: 18px;
  margin-bottom: 32px;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-info-item__label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 6px;
}

.contact-info-item__value {
  font-size: 15px;
  color: var(--color-text-muted);
}

/* ========================================================
   FOOTER
======================================================== */
.site-footer {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  font-family: var(--font-primary);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-social {
  display: flex;
  gap: 24px;
}

.footer-social a {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
}

.footer-social a:hover { color: var(--color-text-primary); }

.footer-legal {
  width: 100%;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--color-text-muted);
}

.footer-legal a {
  color: var(--color-text-muted);
  transition: color var(--transition-normal);
}
.footer-legal a:hover { color: var(--color-text-primary); }

.footer-links {
  display: flex;
  gap: 24px;
}

/* ========================================================
   MODAL
======================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: var(--color-overlay-dark);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: relative;
  background: var(--color-surface);
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.35s ease;
}

.modal-overlay.is-open .modal {
  transform: translateY(0);
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: var(--z-above);
  width: 40px;
  height: 40px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  font-size: 20px;
  line-height: 1;
  color: var(--color-text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-normal), color var(--transition-normal);
}

.modal__close:hover {
  background: var(--color-text-primary);
  color: var(--color-text-inverse);
}

.modal__body {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
}

.modal__gallery {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.modal__img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  display: block;
}

.modal__info {
  padding: 52px 48px;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid var(--color-border);
}

.modal__info .eyebrow {
  margin-bottom: 16px;
}

.modal__info .eyebrow::before {
  display: none;
}

.modal__title {
  font-size: 22px;
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.modal__meta {
  font-size: 12px;
  color: var(--color-text-muted);
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.modal__desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.75;
  flex: 1;
  margin-bottom: 40px;
}

.modal__link {
  align-self: flex-start;
  margin-top: auto;
}

/* div.project-card__link inherits cursor from the article */
div.project-card__link {
  cursor: inherit;
}

/* ========================================================
   CONTACT MODAL
======================================================== */
.modal--contact {
  max-width: 640px;
}

.modal--contact__body {
  padding: 64px 56px 56px;
  display: flex;
  flex-direction: column;
}

.modal--contact__body .eyebrow {
  margin-bottom: 12px;
}

.modal--contact__body h2 {
  font-family: var(--font-primary);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--color-border);
}

.modal--contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 24px;
}

.modal--contact__form .form-field--full,
.modal--contact__form .form-submit {
  grid-column: 1 / -1;
}

.project-card__img::after {
  content: 'View Project';
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
  color: var(--color-text-inverse);
  font-family: var(--font-primary);
  font-size: var(--text-xs);
  font-weight: var(--font-medium);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.project-card:hover .project-card__img::after {
  opacity: 1;
}

/* ========================================================
   RESPONSIVE
======================================================== */
@media (max-width: 1024px) {
  :root { --section-pad: 100px; }

  .hero { min-height: 90vh; }
  .hero__inner { grid-template-columns: 1fr; min-height: 90vh; }
  .hero__image-col { display: none; }
  .hero__text-col { padding: calc(var(--header-h) + 72px) 40px 72px; min-height: 90vh; justify-content: center; }

  .project-grid { grid-template-columns: 1fr; gap: 2px; }
  .services-home__inner { grid-template-columns: 28fr 72fr; gap: 0 48px; }
  .service-row { grid-template-columns: 1fr 1.6fr; gap: 0 32px; }
  .process-steps { grid-template-columns: 1fr; gap: 32px; }
  /* about v1 */
  .about--v1 .about__inner { grid-template-columns: 1fr; min-height: auto; }
  .about--v1 { padding: var(--section-pad) 0; }
  .about--v1 .about__text { padding: 0 40px 60px; }
  .about--v1 .about__image { aspect-ratio: 16 / 9; height: auto; }
  /* about v2 */
  .about--v2 .about__mosaic { grid-template-columns: 1fr; }
  .about--v2 .about__img-side { display: none; }
  .about--v2 .about__text { border: none; border-top: 1px solid var(--color-border); border-bottom: 1px solid var(--color-border); padding: 48px 0; }
  .about--v2 .about__img-main { aspect-ratio: 16 / 9; }
  /* about v3 */
  .about--v3 .about__header { grid-template-columns: 1fr; gap: 40px; }
  .about--v3 .about__strip { grid-template-columns: 1fr 1fr; }
  .about--v3 .about__strip-img:last-child { display: none; }
  .contact-form { grid-template-columns: 1fr; }
  .contact-page-grid { grid-template-columns: 1fr; }
  .services-full .service-item { grid-template-columns: 1fr; gap: 24px; }
  .portfolio-preview .section-header { flex-direction: column; align-items: flex-start; gap: 24px; }
  .portfolio-slider { scroll-padding-left: 24px; }
  .portfolio-slider::before { flex-basis: 24px; }
  .portfolio-slider::after { flex-basis: 0; }
  .portfolio-slider__slide { flex: 0 0 clamp(220px, 55vw, 340px); }
}

@media (max-width: 768px) {
  :root { --section-pad: 72px; }
  .container { padding: 0 24px; }

  .site-nav { display: none; position: fixed; top: var(--header-h); left: 0; right: 0; background: var(--color-surface); border-bottom: 1px solid var(--color-border); padding: 32px 24px; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 24px; }
  .nav-toggle { display: flex; }

  .hero { min-height: 80vh; }
  .hero__inner { grid-template-columns: 1fr; min-height: 80vh; }
  .hero__image-col { display: none; }
  .hero__text-col { padding: calc(var(--header-h) + 56px) 24px 56px; min-height: 80vh; justify-content: center; }
  .hero__scroll-hint { display: none; }
  .portfolio-full .project-grid { grid-template-columns: 1fr; }
  .portfolio-slider { scroll-padding-left: 24px; }
  .portfolio-slider::before { flex-basis: 24px; }
  .portfolio-slider__slide { flex: 0 0 clamp(200px, 80vw, 300px); }
  .portfolio-slider__slide .project-card__img { aspect-ratio: 4 / 3; }
  .footer-legal { flex-direction: column; gap: 12px; align-items: flex-start; }

  .services-home__inner { grid-template-columns: 1fr; gap: 40px 0; }
  .services-home__left { position: static; }
  .services-home__photo { display: none; }
  .service-row { grid-template-columns: 1fr; gap: 12px 0; padding: 32px 0; }
  .services-home__footer { justify-content: flex-start; margin-top: 36px; }
  .modal--contact__body { padding: 40px 28px 36px; }
  .modal--contact__form { grid-template-columns: 1fr; }

  .modal__body { grid-template-columns: 1fr; }
  .modal__gallery { max-height: 260px; }
  .modal__img { min-height: 0; height: 260px; }
  .modal__info { padding: 32px 24px; border-left: none; border-top: 1px solid var(--color-border); }
  .modal__title { font-size: 18px; }

  /* about v1 mobile */
  .about--v1 .about__text { padding: 0 24px 48px; }
  .about--v1 .about__text p { max-width: 100%; }
  /* about v2 mobile */
  .about--v2 .about__text { padding: 40px 0; }
  /* about v3 mobile */
  .about--v3 .about__strip { grid-template-columns: 1fr; }
  .about--v3 .about__strip-img:last-child { display: block; }
  .about--v3 .about__strip-img--landscape { margin-top: 0; }
  .about--v3 .about__header { gap: 28px; padding-bottom: 40px; margin-bottom: 32px; }
}

/* ========================================================
   PROJECT CARD — homepage link wrap
======================================================== */
.project-card__link {
  display: block;
  text-decoration: none;
  color: inherit;
}

/* ========================================================
   ARCHIVE: ALL PROJECTS
======================================================== */
.archive-projects__header {
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 48px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.archive-projects__title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.archive-projects__count {
  font-size: 13px;
  font-weight: 400;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
}

/* 4-column grid — no gaps (amiciburo style) */
.projects-archive-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

@media (max-width: 1200px) {
  .projects-archive-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .projects-archive-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
  .projects-archive-grid { grid-template-columns: 1fr; }
}

/* Archive card */
.archive-card {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.archive-card__link {
  display: block;
  text-decoration: none;
  position: relative;
}

.archive-card__img {
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.archive-card__img img,
.archive-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.archive-card__placeholder {
  background: var(--color-bg-alt);
}

.archive-card:hover .archive-card__img img {
  transform: scale(1.04);
}

/* Overlay appears on hover */
.archive-card__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-overlay-dark);
  opacity: 0;
  transition: opacity var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  gap: 6px;
}

.archive-card:hover .archive-card__overlay {
  opacity: 1;
}

.archive-card__number {
  font-size: var(--text-micro);
  font-weight: var(--font-light);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.archive-card__title {
  font-size: var(--text-md);
  font-weight: var(--font-regular);
  line-height: var(--leading-snug);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-text-inverse);
  margin: 0;
}

/* ========================================================
   SINGLE PROJECT PAGE
======================================================== */
.single-project {
  padding-top: 0;
}

/* Hero image */
.single-project__hero {
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 900px;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.single-project__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Meta block */
.single-project__meta-wrap {
  padding-top: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--color-border);
}

.single-project__meta {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: start;
}

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

.single-project__identity {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.single-project__number {
  font-size: 11px;
  font-weight: var(--font-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.single-project__title {
  font-size: clamp(26px, 4vw, 50px);
  font-weight: var(--font-regular);
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Stats dl */
.single-project__stats {
  display: flex;
  flex-direction: row;
  gap: 40px;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .single-project__stats { gap: 24px; }
}

.single-project__stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.single-project__stat dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.single-project__stat dd {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-primary);
}

/* Description — padding handled by .single-project__body grid */
.single-project__description {
  padding-top: 0;
  padding-bottom: 0;
}

.single-project__content {
  max-width: 760px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--color-text-secondary);
}

.single-project__content h2 {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-top: 56px;
  margin-bottom: 24px;
  color: var(--color-text-primary);
}

.single-project__content h3 {
  font-size: 14px;
  font-weight: 400;
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.single-project__content p {
  margin-bottom: 20px;
}

/* CTA block */
.single-project__cta {
  padding: 64px 0;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.single-project__cta-note {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.single-project__form {
  background: var(--color-bg-alt);
}

/* ========================================================
   GALLERY SLIDER
======================================================== */
.single-project__gallery-wrap {
  overflow: hidden;
  position: relative;
  background: var(--color-bg-alt);
  margin-bottom: 0;
}

.project-slider {
  position: relative;
  overflow: hidden;
  user-select: none;
}

.project-slider__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  cursor: grab;
}

.project-slider__track:active {
  cursor: grabbing;
}

.project-slider__slide {
  flex: 0 0 100%;
  width: 100%;
  max-height: 80vh;
  overflow: hidden;
  background: var(--color-bg-alt);
}

.project-slider__slide img {
  width: 100%;
  height: 100%;
  max-height: 80vh;
  object-fit: cover;
  display: block;
}

/* Prev / Next buttons */
.project-slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: var(--z-above);
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.85);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-base);
}

.project-slider__btn:hover {
  background: var(--color-surface);
}

.project-slider__btn svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-primary);
}

.project-slider__btn--prev { left: 16px; }
.project-slider__btn--next { right: 16px; }

@media (max-width: 768px) {
  .project-slider__btn { width: 40px; height: 40px; }
  .project-slider__btn svg { width: 16px; height: 16px; }
}

/* Bullet navigation */
.project-slider__bullets {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: var(--z-above);
}

.project-slider__bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-base), transform var(--transition-base);
}

.project-slider__bullet.is-active {
  background: var(--color-text-inverse);
  transform: scale(1.3);
}

.project-slider__bullet:focus-visible {
  outline: 2px solid var(--color-text-inverse);
  outline-offset: 2px;
}

/* ========================================================
   SCROLL REVEAL
======================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js-reveal {
    opacity: 0;
    transform: translateY(36px);
    transition: opacity .75s ease, transform .75s ease;
  }
  .js-reveal.is-visible {
    opacity: 1;
    transform: none;
  }
  .js-reveal-stagger > * {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .65s ease, transform .65s ease;
  }
  .js-reveal-stagger > *.is-visible {
    opacity: 1;
    transform: none;
  }

  /* Portfolio slider: whole slider fades in as one unit via js-reveal on section-header */
  .portfolio-slider {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .75s ease .15s, transform .75s ease .15s;
  }
  .portfolio-slider.is-visible {
    opacity: 1;
    transform: none;
  }

  /* About V2: override default js-reveal so the mosaic wrapper itself doesn't fade */
  .about--v2 .about__mosaic.js-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* Images hidden via clip-path curtain + slight scale */
  .about--v2 .about__img-main,
  .about--v2 .about__img-side {
    clip-path: inset(0 0 100% 0);
    transform: scale(0.96);
    transition:
      clip-path 1.1s cubic-bezier(0.16, 1, 0.3, 1),
      transform  1.1s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* Left image reveals immediately */
  .about--v2 .about__mosaic.is-visible .about__img-main {
    clip-path: inset(0 0 0% 0);
    transform: scale(1);
  }

  /* Right image reveals 0.4s later */
  .about--v2 .about__mosaic.is-visible .about__img-side {
    clip-path: inset(0 0 0% 0);
    transform: scale(1);
    transition-delay: 0.4s;
  }

  /* Text fades up with 0.25s delay */
  .about--v2 .about__text {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.75s ease 0.25s, transform 0.75s ease 0.25s;
  }

  .about--v2 .about__mosaic.is-visible .about__text {
    opacity: 1;
    transform: none;
  }
}

/* ========================================================
   CUSTOM CURSOR
======================================================== */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: width .2s ease, height .2s ease, opacity .2s ease;
  will-change: transform;
}

.cursor--expanded {
  width: 38px;
  height: 38px;
  opacity: .22;
}

/* ========================================================
   ARCHIVE CARD — text slides up on hover
======================================================== */
.archive-card__number,
.archive-card__title {
  transform: translateY(12px);
  transition: transform .42s ease;
}

.archive-card__title {
  transition-delay: .06s;
}

.archive-card:hover .archive-card__number,
.archive-card:hover .archive-card__title {
  transform: translateY(0);
}

/* ========================================================
   SINGLE PROJECT — two-column body with sticky sidebar
======================================================== */
.single-project__body {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 80px;
  align-items: start;
  padding: 72px 0;
  border-bottom: 1px solid var(--color-border);
}

.single-project__sidebar {
  position: sticky;
  top: calc(var(--header-h) + 40px);
}

.single-project__sidebar .single-project__number {
  font-size: 11px;
  font-weight: var(--font-light);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 10px;
  display: block;
}

.single-project__sidebar .single-project__title {
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: var(--font-regular);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 36px;
}

.single-project__stats--sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--color-border);
}

.single-project__stat--sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.single-project__stat--sidebar dt {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.single-project__stat--sidebar dd {
  font-size: 14px;
  font-weight: 400;
  color: var(--color-text-primary);
}

/* Parallax containers must clip overflow */
.single-project__hero { overflow: hidden; }
.about__image { overflow: hidden; }

.single-project__hero img,
.about__image img,
.about__img-main img,
.about__img-side img,
.about__strip-img img {
  will-change: transform;
}

@media (max-width: 1024px) {
  .single-project__body {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .single-project__sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .cursor { display: none; }
}
