/* ═══════════════════════════════════════════
   KStudio Interior — Kelly Silva
   Style: Editorial Luxury / Markovskaia-inspired
   Palette: Off-white · Warm grey · Charcoal · Black
   ═══════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@200;300;400;500&display=swap');

/* ─────────────────────────────────────
   RESET & VARIABLES
───────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --white:        #faf9f7;
  --off-white:    #f3f1ed;
  --light-grey:   #e8e4de;
  --mid-grey:     #b5b0a8;
  --grey:         #7a7670;
  --dark:         #2c2926;
  --black:        #141210;
  --accent:       #c8a96e;
  --olive:        #2d3228;
  --salvia:       #323d2e;
  --cazador:      #2a3527;
  --terrozo:      #3a3d2a;

  --serif:        'Cormorant', serif;
  --sans:         'Jost', sans-serif;

  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
}

html { scroll-behavior: smooth; overflow-x: hidden; }

body {
  background: var(--white);
  color: var(--dark);
  font-family: var(--sans);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

/* Grain texture overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23g)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9990;
}

/* ─────────────────────────────────────
   CURSOR
───────────────────────────────────── */
.cursor-dot, .cursor-ring {
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}
.cursor-dot {
  width: 4px; height: 4px;
  background: var(--black);
}
.cursor-ring {
  width: 28px; height: 28px;
  border: 1px solid rgba(20,18,16,.35);
  transition: width 0.4s var(--ease-out),
              height 0.4s var(--ease-out),
              border-color 0.3s;
}
.cursor-ring.hovered { width: 56px; height: 56px; border-color: var(--dark); }
.cursor-ring.clicked  { width: 20px; height: 20px; }

/* Cursor claro sobre secciones oscuras */
.cursor-dot.light { background: var(--white); }
.cursor-ring.light { border-color: rgba(250,249,247,.5); }
.cursor-ring.light.hovered { border-color: var(--white); }

/* ─────────────────────────────────────
   LOADER
───────────────────────────────────── */
#loader {
  position: fixed; inset: 0; z-index: 10000;
  background: #d0c9bf;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2rem;
  transition: opacity 1s var(--ease-in-out), visibility 1s;
}
#loader.out { opacity: 0; visibility: hidden; }

.loader-name {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--dark);
  letter-spacing: 0.12em;
}
.loader-name span {
  display: inline-block;
  animation: charSlide 0.9s var(--ease-out) both;
}
.loader-name span:nth-child(2)  { animation-delay: 0.05s; }
.loader-name span:nth-child(3)  { animation-delay: 0.10s; }
.loader-name span:nth-child(4)  { animation-delay: 0.15s; }
.loader-name span:nth-child(5)  { animation-delay: 0.20s; }
.loader-name span:nth-child(6)  { animation-delay: 0.25s; }
.loader-name span:nth-child(7)  { animation-delay: 0.30s; }
.loader-name span:nth-child(8)  { animation-delay: 0.35s; }
.loader-name span:nth-child(9)  { animation-delay: 0.40s; }
.loader-name span:nth-child(10) { animation-delay: 0.45s; }
.loader-name span:nth-child(11) { animation-delay: 0.50s; }
.loader-name span:nth-child(12) { animation-delay: 0.55s; }
.loader-name span:nth-child(13) { animation-delay: 0.60s; }
.loader-name span:nth-child(14) { animation-delay: 0.65s; }
.loader-name span:nth-child(15) { animation-delay: 0.70s; }

.loader-name-sub {
  font-family: var(--sans);
  font-size: 0.8rem; letter-spacing: 0.4em; text-transform: uppercase;
  color: var(--grey);
  opacity: 0; animation: fadeIn 0.6s ease 0.8s forwards;
}

@keyframes charSlide {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { to { opacity: 1; } }

.loader-line-wrap {
  width: 120px; height: 1px;
  background: rgba(20,18,16,0.15); overflow: hidden;
}
.loader-line {
  height: 100%; width: 0;
  background: var(--dark);
  animation: lineGrow 1.8s var(--ease-out) 0.3s forwards;
}
@keyframes lineGrow { to { width: 100%; } }

/* ─────────────────────────────────────
   NAVIGATION
───────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 2rem 4rem;
  transition: padding 0.5s var(--ease-out), background 0.5s;
}
nav.solid {
  background: rgba(250,249,247,0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--light-grey);
  padding: 1.2rem 4rem;
}

/* Logo */
.nav-logo {
  text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo img {
  height: 30px; width: auto; display: block;
  filter: brightness(0) invert(1);
  transition: opacity 0.3s, filter 0.5s;
}
nav.solid .nav-logo img { filter: none; }
.nav-logo img:hover { opacity: 0.75; }

/* Links */
.nav-links { display: flex; gap: 2.8rem; list-style: none; }
.nav-links a {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  transition: color 0.25s;
}
nav.solid .nav-links a { color: var(--grey); }
.nav-links a:hover { color: var(--white); }
nav.solid .nav-links a:hover { color: var(--black); }

/* CTA */
.nav-contact {
  font-family: var(--sans);
  font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.4);
  padding-bottom: 1px;
  transition: all 0.3s;
}
nav.solid .nav-contact { color: var(--dark); border-bottom-color: var(--mid-grey); }
.nav-contact:hover { color: var(--white); border-bottom-color: var(--white); }
nav.solid .nav-contact:hover { color: var(--black); border-bottom-color: var(--black); }

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
#hero {
  position: relative;
  height: 100vh; min-height: 700px;
  display: flex; align-items: flex-end;
  padding: 0 4rem 5rem;
  overflow: hidden;
  background: var(--black);
}
.hero-bg {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(20,18,16,0.3) 0%,
    rgba(20,18,16,0.55) 60%,
    rgba(20,18,16,0.85) 100%
  );
}
.hero-visual {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-visual-inner {
  width: 100%; height: 130%;
  will-change: transform;
  overflow: hidden;
}
.hero-visual-inner img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
}
.hero-content {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: flex-end; gap: 4rem;
  width: 100%;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(4rem, 9vw, 9rem);
  font-weight: 300; line-height: 1.25;
  color: var(--white); letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; font-weight: 300; display: block; }

.hero-right-col {
  display: flex; flex-direction: column; gap: 2rem;
  padding-bottom: 0.8rem;
}
.hero-label {
  font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: rgba(250,249,247,.45);
  display: flex; align-items: center; gap: 1rem;
}
.hero-label::before {
  content: ''; width: 24px; height: 1px;
  background: rgba(250,249,247,.3); flex-shrink: 0;
}
.hero-desc {
  font-size: 1.1rem; line-height: 1.8;
  color: rgba(250,249,247,.65);
  font-weight: 300; max-width: 360px;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 1rem;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); text-decoration: none;
  transition: gap 0.3s var(--ease-out);
}
.hero-cta svg { width: 40px; overflow: visible; transition: width 0.3s var(--ease-out); }
.hero-cta:hover { gap: 1.6rem; }
.hero-cta:hover svg { width: 60px; }

.hero-counter {
  position: absolute; right: 4rem; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  z-index: 2;
}
.hero-counter-num {
  font-family: var(--serif); font-size: 0.95rem; font-weight: 300;
  color: rgba(250,249,247,.4); letter-spacing: 0.05em;
  writing-mode: vertical-rl;
}
.hero-counter-line {
  width: 1px; height: 80px;
  background: linear-gradient(to bottom, rgba(250,249,247,.15), transparent);
}
.hero-scroll-indicator {
  position: absolute; bottom: 3rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  z-index: 2;
}
.hero-scroll-indicator span {
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(250,249,247,.3);
  writing-mode: vertical-rl; transform: rotate(180deg);
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(250,249,247,.25));
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { transform: scaleY(1); opacity: 0.5; }
  50%      { transform: scaleY(0.5); opacity: 1; }
}

/* ─────────────────────────────────────
   MARQUEE
───────────────────────────────────── */
.marquee {
  overflow: hidden;
  background: var(--off-white);
  border-top: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  padding: 1.1rem 0;
}
.marquee-inner {
  display: flex; width: max-content;
  animation: marqueeRun 30s linear infinite;
}
.marquee-item {
  display: flex; align-items: center; gap: 2.5rem;
  font-size: 0.8rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--grey); white-space: nowrap; padding: 0 2.5rem;
}
.marquee-item::after { content: '·'; color: var(--mid-grey); font-size: 1.2rem; line-height: 1; }
.marquee:hover .marquee-inner { animation-play-state: paused; }
@keyframes marqueeRun { to { transform: translateX(-50%); } }

/* ─────────────────────────────────────
   SECTION BASE
───────────────────────────────────── */
.section-label {
  font-size: 1rem; letter-spacing: 0.35em; text-transform: uppercase;
  color: var(--grey);
  display: flex; align-items: center; gap: 1rem;
  margin-bottom: 2rem;
}
.section-label::before {
  content: ''; width: 20px; height: 1px;
  background: var(--mid-grey); flex-shrink: 0;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 6rem);
  font-weight: 300; line-height: 0.95;
  color: var(--black); letter-spacing: -0.02em;
}
.section-title em { font-style: italic; }

/* ─────────────────────────────────────
   ABOUT
───────────────────────────────────── */
#about {
  padding: 10rem 4rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8rem; align-items: center;
  background: var(--white);
}
.about-image-area { position: relative; }
.about-image {
  width: 100%; aspect-ratio: 3/4;
  background: var(--off-white);
  position: relative; overflow: hidden;
}
.about-image-inner { width: 100%; height: 100%; overflow: hidden; }
.about-image-inner img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.about-image-label {
  position: absolute; bottom: -1.5rem; left: 0;
  font-family: var(--serif); font-style: italic;
  font-size: 0.9rem; color: var(--grey);
}
.about-deco-br {
  position: absolute; bottom: -2rem; right: -2rem;
  width: 80px; height: 80px;
  border-bottom: 1px solid var(--light-grey);
  border-right: 1px solid var(--light-grey);
}
.about-text { padding-top: 2rem; }
.about-text .section-title { margin-bottom: 3rem; }
.about-body {
  font-size: 1.10rem; line-height: 1.9;
  color: var(--grey); margin-bottom: 1.2rem; font-weight: 300;
}
.about-body strong { color: var(--dark); font-weight: 400; }
.about-signature {
  font-family: var(--serif); font-style: italic;
  font-size: 2.2rem; font-weight: 300;
  color: var(--dark); margin-top: 2.8rem; letter-spacing: 0.02em;
}

/* ─────────────────────────────────────
   STATEMENT
───────────────────────────────────── */
.statement {
  background: var(--salvia);
  padding: 8rem 4rem;
}
.statement-inner { max-width: 900px; margin: 0 auto; text-align: center; }
.statement-quote {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 4.5rem);
  font-weight: 300; line-height: 1.25;
  color: var(--white); letter-spacing: -0.01em;
}
.statement-quote em { font-style: italic; }
.statement-attr {
  display: block; margin-top: 2.5rem;
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--mid-grey);
}

/* ─────────────────────────────────────
   MID-CENTURY
───────────────────────────────────── */
#midcentury { padding: 10rem 4rem; background: var(--off-white); }
.mcm-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8rem; align-items: start;
}
.mcm-left .section-title { margin-bottom: 2.5rem; }
.mcm-left p { font-size: 1rem; line-height: 1.9; color: var(--grey); margin-bottom: 1.4rem; }
.mcm-left p strong { color: var(--dark); font-weight: 400; }
.mcm-right { padding-top: 4rem; }
.mcm-trait {
  padding: 2.5rem 0;
  border-top: 1px solid var(--light-grey);
  display: grid; grid-template-columns: 60px 1fr;
  gap: 1.5rem; align-items: start;
  transition: padding 0.4s var(--ease-out);
  cursor: default;
}
.mcm-trait:last-child { border-bottom: 1px solid var(--light-grey); }
.mcm-trait:hover { padding-left: 1rem; }
.mcm-trait-num {
  font-family: var(--serif); font-size: 1.5rem;
  color: var(--mid-grey); letter-spacing: 0.05em; padding-top: 0.2rem;
}
.mcm-trait-name {
  font-family: var(--serif); font-size: 1.35rem; font-weight: 400;
  color: var(--dark); margin-bottom: 0.5rem;
}
.mcm-trait-desc { font-size: 0.88rem; line-height: 1.75; color: var(--grey); }

/* ─────────────────────────────────────
   SERVICES
───────────────────────────────────── */
#services { padding: 10rem 4rem; background: var(--white); }
.services-header {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: end;
  margin-bottom: 6rem;
  border-bottom: 1px solid var(--light-grey);
  padding-bottom: 4rem;
}
.services-tagline {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1rem, 1.6vw, 1.5rem);
  color: var(--grey); line-height: 1.7; font-weight: 300;
}
.services-list {
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--light-grey);
}
.svc {
  padding: 3.5rem 2.5rem;
  border-right: 1px solid var(--light-grey);
  border-bottom: 1px solid var(--light-grey);
  position: relative; transition: background 0.35s;
}
.svc:hover { background: var(--off-white); }
.svc::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 100%;
  height: 1px; background: var(--dark);
  transition: right 0.5s var(--ease-out);
}
.svc:hover::after { right: 0; }
.svc-num {
  font-family: var(--serif); font-size: 5rem; font-weight: 300;
  color: var(--light-grey); line-height: 1; margin-bottom: 1.5rem;
  transition: color 0.3s;
}
.svc:hover .svc-num { color: var(--mid-grey); }
.svc-name {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 300;
  color: var(--black); margin-bottom: 1rem; line-height: 1.15;
}
.svc-desc { font-size: 0.96rem; line-height: 1.78; color: var(--grey); }
.svc-items { list-style: none; margin-top: 1.5rem; }
.svc-items li {
  font-size: 0.78rem; color: var(--grey);
  padding: 0.4rem 0; border-bottom: 1px solid var(--light-grey);
  display: flex; align-items: center; gap: 0.7rem;
}
.svc-items li::before {
  content: ''; width: 12px; height: 1px;
  background: var(--mid-grey); flex-shrink: 0;
}

/* ─────────────────────────────────────
   PORTFOLIO
───────────────────────────────────── */
#portfolio { padding: 10rem 4rem; background: var(--off-white); }
.portfolio-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 4rem;
}
.portfolio-filters { display: flex; gap: 0.5rem; }
.pf-btn {
  font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--grey); background: none;
  border: 1px solid var(--light-grey);
  padding: 0.45rem 1.1rem; cursor: none; transition: all 0.25s;
}
.pf-btn.active, .pf-btn:hover {
  color: var(--white); background: var(--dark); border-color: var(--dark);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 280px;
  gap: 4px;
}
.pf-item {
  position: relative; overflow: hidden;
  background: var(--light-grey); cursor: none;
}
.pf-item:nth-child(1) { grid-column: 1 / 8;  grid-row: 1 / 3; }
.pf-item:nth-child(2) { grid-column: 8 / 13; }
.pf-item:nth-child(3) { grid-column: 8 / 13; }
.pf-item:nth-child(4) { grid-column: 1 / 5;  }
.pf-item:nth-child(5) { grid-column: 5 / 9;  }
.pf-item:nth-child(6) { grid-column: 9 / 13; }
.pf-img {
  width: 100%; height: 115%;
  background: linear-gradient(160deg, #e2ddd7 0%, #d0c9bf 100%);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 0.8rem;
  will-change: transform;
  transition: transform 0.7s var(--ease-out);
}
.pf-item:hover .pf-img { transform: scale(1.04); }
.pf-img svg  { width: 22px; height: 22px; stroke: rgba(122,118,112,.3); fill: none; stroke-width: 1; }
.pf-img span { font-size: 0.55rem; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(122,118,112,.4); }
.pf-img img  { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,18,16,0.78) 0%, transparent 50%);
  opacity: 0; transition: opacity 0.4s;
  display: flex; align-items: flex-end;
  justify-content: space-between;
  padding: 2rem;
}
.pf-item:hover .pf-overlay { opacity: 1; }
.pf-info-title {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 300;
  color: var(--white); display: block; margin-bottom: 0.3rem;
}
.pf-info-cat {
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(250,249,247,0.55);
}
.pf-open-btn {
  width: 36px; height: 36px; flex-shrink: 0;
  border: 1px solid rgba(250,249,247,0.3);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s, border-color 0.25s;
  margin-bottom: 0.1rem; align-self: flex-end;
}
.pf-open-btn svg { width: 14px; height: 14px; stroke: rgba(250,249,247,0.7); }
.pf-item:hover .pf-open-btn { background: rgba(250,249,247,0.1); border-color: rgba(250,249,247,0.7); }
.pf-item:hover .pf-open-btn svg { stroke: var(--white); }

/* ─────────────────────────────────────
   PARALLAX TEXT
───────────────────────────────────── */
.parallax-text-strip {
  height: 35vh; min-height: 200px;
  overflow: hidden; position: relative;
  background: var(--white);
  display: flex; align-items: center;
}
.parallax-text-inner {
  will-change: transform;
  white-space: nowrap; padding: 0 4rem;
}
.parallax-text-inner span {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(2rem, 5vw, 6rem);
  font-weight: 300; line-height: 1;
  color: var(--mid-grey);
  letter-spacing: -0.02em;
  user-select: none;
}

/* ─────────────────────────────────────
   PROCESS
───────────────────────────────────── */
#process {
  padding: 10rem 4rem;
  background: var(--white);
  display: grid; grid-template-columns: 1fr 2fr; gap: 6rem;
}
.process-left { position: sticky; top: 10rem; align-self: start; }
.process-left .section-title { margin-bottom: 1.5rem; }
.process-left p { font-size: 0.95rem; line-height: 1.85; color: var(--grey); }
.process-steps { display: flex; flex-direction: column; }
.proc {
  display: grid; grid-template-columns: 80px 1fr;
  padding: 2.8rem 0;
  border-bottom: 1px solid var(--light-grey);
  gap: 1.5rem; align-items: start;
  position: relative;
  transition: padding 0.4s var(--ease-out);
}
.proc:first-child { border-top: 1px solid var(--light-grey); }
.proc:hover { padding-left: 0.8rem; }
.proc::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 1px; background: var(--light-grey);
  transition: background 0.3s;
}
.proc:hover::before { background: var(--dark); }
.proc-num {
  font-family: var(--serif); font-style: italic;
  font-size: 2rem; color: var(--mid-grey); transition: color 0.3s;
}
.proc-title {
  font-family: var(--serif); font-size: 1.55rem; font-weight: 400;
  color: var(--black); margin-bottom: 0.6rem;
}
.proc-desc { font-size: 0.95rem; line-height: 1.78; color: var(--grey); }

/* ─────────────────────────────────────
   TESTIMONIALS
───────────────────────────────────── */
#testimonials { padding: 10rem 4rem; background: var(--salvia); }
.testi-header { margin-bottom: 5rem; }
.testi-header .section-label { color: rgba(250,249,247,0.35); }
.testi-header .section-label::before { background: rgba(250,249,247,0.2); }
.testi-header .section-title { color: var(--white); }
.testi-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
}
.testi-card {
  background: var(--salvia); padding: 3rem 2.5rem; transition: background 0.3s;
}
.testi-card:hover { background: var(--cazador); }
.testi-mark {
  font-family: var(--serif); font-size: 4rem;
  color: rgba(250,249,247,0.08); line-height: 0.7;
  margin-bottom: 1.5rem; display: block;
}
.testi-text {
  font-family: var(--serif); font-style: italic;
  font-size: 1.12rem; line-height: 1.75;
  color: rgba(250,249,247,0.65); margin-bottom: 2rem;
}
.testi-name { font-size: 0.78rem; color: rgba(250,249,247,0.5); letter-spacing: 0.05em; }
.testi-role {
  font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(250,249,247,0.25); margin-top: 0.2rem;
}

/* ─────────────────────────────────────
   CONTACT
───────────────────────────────────── */
#contact { display: grid; grid-template-columns: 1fr 1.3fr; min-height: 85vh; }
.contact-left {
  background: var(--off-white); padding: 8rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
}
.contact-left-bg {
  position: absolute; inset: -20%; will-change: transform;
  background: radial-gradient(ellipse at 50% 40%, rgba(200,169,110,0.06) 0%, transparent 65%);
}
.contact-left .section-title { margin-top: 1.5rem; margin-bottom: 2.5rem; }
.contact-left p { font-size: 1rem; line-height: 1.85; color: var(--grey); margin-bottom: 2.5rem; }
.contact-details { display: flex; flex-direction: column; gap: 1.2rem; }
.c-link {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.88rem; color: var(--dark);
  text-decoration: none; transition: color 0.25s;
}
.c-link:hover { color: var(--black); }
.c-link-icon {
  width: 34px; height: 34px;
  border: 1px solid var(--light-grey);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s, background 0.25s; flex-shrink: 0;
}
.c-link:hover .c-link-icon { border-color: var(--dark); background: var(--dark); }
.c-link-icon svg { width: 14px; height: 14px; stroke: var(--grey); fill: none; stroke-width: 1.3; transition: stroke 0.25s; }
.c-link:hover .c-link-icon svg { stroke: var(--white); }

.contact-right {
  background: var(--white); padding: 8rem 4rem;
  display: flex; flex-direction: column; justify-content: center;
}
.contact-right h3 {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 300;
  color: var(--dark); margin-bottom: 2.5rem;
}
.form { display: flex; flex-direction: column; gap: 1.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.5rem; }
.field label {
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--mid-grey);
}
.field input, .field textarea, .field select {
  background: var(--off-white);
  border: none; border-bottom: 1px solid var(--light-grey);
  color: var(--dark); padding: 0.85rem 0;
  font-family: var(--sans); font-size: 0.9rem; font-weight: 300;
  outline: none; transition: border-color 0.25s; resize: none;
  appearance: none;
}
.field input:focus, .field textarea:focus, .field select:focus {
  border-bottom-color: var(--dark);
}
.field select option { background: var(--off-white); }
.btn-send {
  display: inline-flex; align-items: center; gap: 1.2rem;
  font-size: 0.7rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--dark); background: none; border: none;
  cursor: none; transition: gap 0.3s var(--ease-out);
  align-self: flex-start; margin-top: 0.5rem;
}
.btn-send-line {
  width: 40px; height: 1px; background: var(--dark);
  transition: width 0.3s var(--ease-out);
}
.btn-send:hover { gap: 1.8rem; }
.btn-send:hover .btn-send-line { width: 64px; }

/* ─────────────────────────────────────
   FOOTER
───────────────────────────────────── */
footer {
  background: var(--salvia);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 3.5rem 4rem;
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
}
.f-logo img {
  height: 120px; width: auto; display: block;
  opacity: 0.75; transition: opacity 0.3s;
}
.f-logo img:hover { opacity: 1; }
.f-center {
  text-align: center;
  font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(250,249,247,0.25);
}
.f-right { display: flex; justify-content: flex-end; gap: 1rem; }
.f-social {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; transition: border-color 0.25s, background 0.25s;
}
.f-social svg { width: 13px; height: 13px; stroke: rgba(250,249,247,0.4); fill: none; stroke-width: 1.5; transition: stroke 0.25s; }
.f-social:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.f-social:hover svg { stroke: var(--white); }

/* ─────────────────────────────────────
   REVEAL ANIMATIONS
───────────────────────────────────── */
.reveal, .reveal-up, .reveal-left {
  opacity: 0;
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}
.reveal-up   { transform: translateY(40px); }
.reveal-left { transform: translateX(-30px); }
.reveal.in, .reveal-up.in, .reveal-left.in { opacity: 1; transform: none; }

.delay-1 { transition-delay: 0.10s; }
.delay-2 { transition-delay: 0.20s; }
.delay-3 { transition-delay: 0.30s; }
.delay-4 { transition-delay: 0.45s; }
.delay-5 { transition-delay: 0.60s; }

/* ─────────────────────────────────────
   RESPONSIVE — Tablet (≤1100px)
───────────────────────────────────── */
@media (max-width: 1100px) {
  body { cursor: auto; }
  .cursor-dot, .cursor-ring { display: none; }

  nav, nav.solid { padding: 1.4rem 2rem; }
  .nav-links { display: none; }

  #hero { padding: 0 2rem 4rem; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-counter { display: none; }

  #about { grid-template-columns: 1fr; padding: 6rem 2rem; gap: 4rem; }
  .about-image { aspect-ratio: unset; height: 800px; }
  .about-image-inner img { object-position: center 35%; }

  #midcentury { padding: 6rem 2rem; }
  .mcm-layout { grid-template-columns: 1fr; gap: 4rem; }
  .mcm-right { padding-top: 0; }

  #services { padding: 6rem 2rem; }
  .services-header { grid-template-columns: 1fr; }
  .services-list { grid-template-columns: 1fr; }

  #portfolio { padding: 6rem 2rem; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
  .pf-item { grid-column: span 1 !important; grid-row: span 1 !important; }

  #process { grid-template-columns: 1fr; padding: 6rem 2rem; }
  .process-left { position: static; }

  #testimonials { padding: 6rem 2rem; }
  .testi-grid { grid-template-columns: 1fr; gap: 1px; }

  #contact { grid-template-columns: 1fr; }
  .contact-left, .contact-right { padding: 6rem 2rem; }

  .statement { padding: 6rem 2rem; }

  footer {
    grid-template-columns: 1fr;
    gap: 1.5rem; text-align: center; padding: 2.5rem;
  }
  .f-logo  { display: flex; justify-content: center; }
  .f-right { justify-content: center; }
}

/* ─────────────────────────────────────
   RESPONSIVE — Mobile (≤640px)
───────────────────────────────────── */
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hero-title { font-size: clamp(3rem, 12vw, 5rem); }
  .about-image { height: 480px; }
  .about-image-inner img { object-position: center 50%; }
  .portfolio-header { flex-direction: column; align-items: flex-start; gap: 1.2rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .services-list { border-left: none; border-top: 1px solid var(--light-grey); }
}

/* ═══════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════ */

/* Backdrop */
.lb-backdrop {
  position: fixed; inset: 0;
  background: rgba(20,18,16,0.7);
  z-index: 1000;
  opacity: 0; visibility: hidden;
  transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.lb-backdrop.active { opacity: 1; visibility: visible; }

/* Modal */
.lightbox {
  position: fixed; inset: 0.5rem;
  z-index: 1001;
  background: #d0c9bf;
  display: flex; flex-direction: column;
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.4s var(--ease-out),
              visibility 0.4s,
              transform 0.4s var(--ease-out);
}
.lightbox.active {
  opacity: 1; visibility: visible;
  transform: translateY(0);
}

/* Header */
.lb-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid rgba(20,18,16,0.1);
  flex-shrink: 0;
}
.lb-info { display: flex; flex-direction: column; gap: 0.2rem; }
.lb-title {
  font-family: var(--serif); font-size: 1.2rem; font-weight: 300;
  color: var(--dark); letter-spacing: 0.02em;
}
.lb-desc {
  font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(20,18,16,0.45);
}
.lb-controls { display: flex; align-items: center; gap: 1.5rem; }
.lb-counter {
  font-family: var(--serif); font-size: 0.8rem;
  color: rgba(20,18,16,0.35); letter-spacing: 0.08em;
}
.lb-close {
  width: 36px; height: 36px;
  border: 1px solid rgba(20,18,16,0.2);
  background: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s, background 0.25s;
}
.lb-close svg { width: 16px; height: 16px; stroke: rgba(20,18,16,0.5); }
.lb-close:hover { border-color: var(--dark); background: rgba(20,18,16,0.06); }
.lb-close:hover svg { stroke: var(--dark); }

/* Stage — main image area */
.lb-stage {
  flex: 1;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  min-height: 0;
}
.lb-img-wrap {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 0.5rem 3rem;
}
.lb-img {
  max-width: 100%; max-height: 100%;
  object-fit: contain; display: block;
  transition: opacity 0.3s ease;
}
.lb-img.loading { opacity: 0; }

/* Arrows */
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px;
  border: 1px solid rgba(20,18,16,0.15);
  background: rgba(208,201,191,0.8);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.25s, background 0.25s;
  z-index: 2;
}
.lb-arrow svg { width: 18px; height: 18px; stroke: rgba(20,18,16,0.5); }
.lb-arrow:hover { border-color: var(--dark); background: rgba(208,201,191,0.95); }
.lb-arrow:hover svg { stroke: var(--dark); }
.lb-prev { left: 1.2rem; }
.lb-next { right: 1.2rem; }
.lb-arrow:disabled { opacity: 0.2; pointer-events: none; }

/* Thumbnails */
.lb-thumbs {
  display: flex; gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-top: 1px solid rgba(20,18,16,0.1);
  overflow-x: auto; flex-shrink: 0;
  scrollbar-width: none;
}
.lb-thumbs::-webkit-scrollbar { display: none; }
.lb-thumb {
  width: 72px; height: 52px; flex-shrink: 0;
  overflow: hidden; cursor: pointer;
  border: 1px solid rgba(20,18,16,0.12);
  transition: border-color 0.25s, opacity 0.25s;
  opacity: 0.5;
}
.lb-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lb-thumb.active { border-color: var(--dark); opacity: 1; }
.lb-thumb:hover { opacity: 0.8; }

/* Lightbox responsive */
@media (max-width: 640px) {
  .lightbox { inset: 0; }
  .lb-img-wrap { padding: 0.5rem 2.5rem; }
  .lb-prev { left: 0.4rem; }
  .lb-next { right: 0.4rem; }
  .lb-thumb { width: 56px; height: 42px; }

  .lb-arrow {
    color: var(--dark);
  width:30px; height: 30px;
}
}
