/* ═══════════════════════════════════════════════════════════════════
   LAGO ARCHITECTS — Main Stylesheet
   Accent colour: grey #8c8c8c (replaces original gold #e6ae48)
   ═══════════════════════════════════════════════════════════════════ */

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

:root {
  /* Backgrounds */
  --bg:        #1a1a1a;
  --bg-2:      #242424;
  --bg-3:      #2e2e2e;

  /* Text */
  --white:     #FFFFFF;
  --text-p:    rgba(255,255,255,0.88);
  --text-s:    rgba(255,255,255,0.45);
  --text-dark: #212529;
  --text-mid:  #555555;
  --text-light:#9A9186;

  /* Light page colours */
  --off-white: #f5f5f5;
  --cream:     #F1EFE9;
  --warm-grey: #E2DDD5;

  /* Accent: GREY (was gold #e6ae48) */
  --accent:       #8c8c8c;
  --accent-dark:  #666666;
  --accent-light: #b0b0b0;

  /* Borders */
  --border:   rgba(255,255,255,0.08);
  --border-l: #e5e5e5;

  /* Fonts */
  --sans:  'Raleway', sans-serif;

  /* Easing */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html  { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body  {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text-p);
  font-size: 0.95rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a     { text-decoration: none; color: inherit; }
img   { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
::selection { background: var(--accent); color: var(--white); }

/* ─── Light page override ────────────────────────────────────────── */
body.light-page {
  background: var(--white);
  color: var(--text-dark);
}
body.is-projects-archive {
  background: var(--white);
  color: var(--text-dark);
}

/* ─── Scroll Reveal ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s var(--ease);
}
.reveal.visible           { opacity: 1; transform: translateY(0); }
.reveal-delay-1           { transition-delay: 0.1s; }
.reveal-delay-2           { transition-delay: 0.2s; }
.reveal-delay-3           { transition-delay: 0.3s; }
.reveal-delay-4           { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════════════════════════
   NAVIGATION (dark)
   ═══════════════════════════════════════════════════════════════════ */
.lago-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 76px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 1000;
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

/* White nav on light pages */
body.light-page .lago-nav,
body.is-projects-archive .lago-nav {
  background: #ffffff;
  border-bottom: 1px solid var(--border-l);
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo img { display: block; height: 44px; width: auto; }

/* Dark-bg pages: show white logo, hide dark logo */
.nav-logo-light { display: none !important; }
.nav-logo-dark  { display: block !important; }

/* Light-bg pages: show dark logo, hide white logo */
body.light-page .nav-logo-light,
body.is-projects-archive .nav-logo-light { display: block !important; }
body.light-page .nav-logo-dark,
body.is-projects-archive .nav-logo-dark  { display: none !important; }

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

/* Visible CTA pill in nav */
.nav-cta-pill {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
  padding: 7px 16px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  text-decoration: none;
}
.nav-cta-pill:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
body.light-page .nav-cta-pill,
body.is-projects-archive .nav-cta-pill {
  color: var(--text-dark);
  border-color: rgba(0,0,0,0.25);
}
body.light-page .nav-cta-pill:hover,
body.is-projects-archive .nav-cta-pill:hover {
  background: rgba(0,0,0,0.05);
  border-color: var(--text-dark);
}
@media (max-width: 600px) { .nav-cta-pill { display: none; } }

/* ─── Language switcher ─────────────────────────────────────────── */
.lang-switcher { display: flex; align-items: center; gap: 0; }
.lang-switcher ul { display: flex; align-items: center; gap: 0; list-style: none; margin: 0; padding: 0; }
.lang-switcher li { display: flex; }
.lang-switcher li + li::before { content: '|'; color: rgba(255,255,255,0.3); font-size: 0.7rem; padding: 0 4px; line-height: 1; }
body.light-page .lang-switcher li + li::before,
body.is-projects-archive .lang-switcher li + li::before { color: rgba(0,0,0,0.2); }
.lang-switcher a,
.lang-switcher span.lang-item { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); text-decoration: none; padding: 2px 0; transition: color .2s; line-height: 1; }
.lang-switcher a:hover { color: rgba(255,255,255,1); }
.lang-switcher .current-lang a,
.lang-switcher li.current-lang { color: var(--white); font-weight: 600; }
.lang-switcher .current-lang a { color: rgba(255,255,255,1); }
body.light-page .lang-switcher a,
body.is-projects-archive .lang-switcher a,
body.light-page .lang-switcher span.lang-item,
body.is-projects-archive .lang-switcher span.lang-item { color: rgba(0,0,0,0.45); }
body.light-page .lang-switcher a:hover,
body.is-projects-archive .lang-switcher a:hover { color: var(--text-dark); }
body.light-page .lang-switcher .current-lang a,
body.is-projects-archive .lang-switcher .current-lang a { color: var(--text-dark); }
@media (max-width: 480px) { .lang-switcher { display: none; } }

.nav-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  padding: 4px;
  opacity: 0.85;
  transition: opacity 0.2s;
}
.nav-icon-btn:hover { opacity: 1; }
body.light-page .nav-icon-btn,
body.is-projects-archive .nav-icon-btn { color: var(--text-dark); }

/* ─── Nav Overlay ────────────────────────────────────────────────── */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: #111111;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  padding: 60px 80px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

.nav-overlay-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}
.nav-overlay-logo {
  display: block;
  height: 22px;
  width: auto;
}
.nav-close-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-s);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
  background: none; border: none;
}
.nav-close-btn:hover { color: var(--white); }

.nav-overlay-links {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}
.nav-overlay-links li a {
  font-size: 2.2rem;
  font-weight: 200;
  color: var(--text-p);
  display: inline-block;
  line-height: 1.3;
  transition: color 0.25s;
  letter-spacing: 0.04em;
}
.nav-overlay-links li a:hover,
.nav-overlay-links li a.current-menu-item { color: var(--white); }

.nav-overlay-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.nav-cta-btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  background: var(--white);
  color: #111111;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.25s, color 0.25s;
}
.nav-cta-btn:hover {
  background: var(--accent-light);
  color: #111111;
}

.nav-overlay-contact {
  font-size: 0.78rem;
  color: var(--text-s);
  text-align: right;
  line-height: 1.8;
}

/* ═══════════════════════════════════════════════════════════════════
   HOME HERO (carousel)
   ═══════════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: #0d0d0d;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; z-index: 0;
}
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* ─── Video hero ───────────────────────────────────────────────── */
.hero--video { background: #0d0d0d; }
.hero-videos { position: absolute; inset: 0; z-index: 0; }
.hero-video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-video--active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(to top, rgba(0,0,0,0.62) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.02) 100%);
}
.hero-content {
  position: absolute;
  bottom: 80px; left: 60px; right: 60px;
  z-index: 4;
}
.hero-label {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent-light);
  margin-bottom: 12px;
  display: block;
}
.hero-title {
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--white);
  line-height: 1.2;
  letter-spacing: 0.01em;
  margin-bottom: 10px;
}
.hero-location {
  font-size: 0.8rem;
  color: var(--text-s);
  letter-spacing: 0.05em;
}
.hero-dots {
  position: absolute;
  bottom: 40px; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 12px;
  z-index: 4;
}
.hero-dot {
  width: 24px; height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.4);
  transition: background 0.35s, width 0.35s;
  cursor: pointer; border: none;
  padding: 0;
}
.hero-dot.active {
  background: rgba(255,255,255,1);
  width: 40px;
}

/* ═══════════════════════════════════════════════════════════════════
   TILES (project thumbnails — dark theme)
   ═══════════════════════════════════════════════════════════════════ */
.tile {
  position: relative;
  overflow: hidden;
  display: block;
  background: var(--bg-2);
}
.tile-img-wrap {
  width: 100%; height: 100%;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1e1e 0%, #2a2a2a 100%);
}
.tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: sepia(0.18) saturate(0.88);
  transition: transform 0.6s var(--ease);
  display: block;
}
.tile:hover img { transform: scale(1.03); }

.tile::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
  transform-origin: left;
  z-index: 3;
}
.tile:hover::after { transform: scaleX(1); }

.tile-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.15) 45%, transparent 70%);
  z-index: 1;
}
.tile-info {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 20px 22px; z-index: 2;
}
.tile-name {
  display: block;
  font-size: 0.9rem; font-weight: 500; color: var(--white);
  line-height: 1.3; margin-bottom: 3px;
}
.tile-location {
  display: block;
  font-size: 0.72rem;
  color: var(--text-s);
  letter-spacing: 0.04em;
}

/* ═══════════════════════════════════════════════════════════════════
   HOME SECTIONS
   ═══════════════════════════════════════════════════════════════════ */
/* Section header */
.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 40px;
}
.section-title {
  font-size: 2.8rem; font-weight: 500;
  color: var(--white); letter-spacing: -0.02em; line-height: 1;
}
.section-link {
  font-size: 0.78rem; font-weight: 500;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-s);
  display: inline-flex; align-items: center; gap: 8px;
  transition: color 0.25s;
}
.section-link::after { content: '→'; font-size: 0.9em; }
.section-link:hover { color: var(--white); }

/* Projects section */
.projects-section { background: var(--bg); padding: 100px 60px; }
.projects-grid { display: grid; gap: 4px; }
.projects-row-1 { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-bottom: 4px; }
.projects-row-2 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; margin-bottom: 4px; }
.projects-row-3 { display: grid; grid-template-columns: 1fr; gap: 4px; }
.projects-row-1 .tile { aspect-ratio: 16 / 9; }
.projects-row-2 .tile { aspect-ratio: 4 / 3; }
.projects-row-3 .tile { aspect-ratio: 21 / 9; }

/* "Ver todos" below grid */
.projects-view-all-wrap {
  display: flex;
  justify-content: center;
  padding-top: 40px;
}
.projects-view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  padding: 12px 28px;
  text-decoration: none;
  transition: border-color 0.25s, color 0.25s;
}
.projects-view-all-btn:hover {
  border-color: var(--white);
  color: var(--white);
}

/* Projects pager */
.projects-page { display: none; }
.projects-page--active { display: block; }

.projects-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 28px 0 8px;
}
.projects-nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,0.25);
  background: none;
  color: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.projects-nav-btn:hover:not(:disabled) {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}
.projects-nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}
.projects-nav-counter {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-s);
  min-width: 52px;
  text-align: center;
}

/* Venice House brightness fix */
.project-card[href*="venice-house"] .card-img-wrap img,
.tile[href*="venice-house"] .tile-img-wrap img {
  filter: brightness(1.18);
}

/* Intro band */
.intro-band { background: var(--bg-2); padding: 80px 64px; border-bottom: 1px solid var(--border); }
.intro-band-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.intro-band-left { position: sticky; top: 80px; }
.intro-band-heading {
  font-size: clamp(1rem, 1.5vw, 1.45rem);
  font-weight: 300; line-height: 1.35; color: var(--white); letter-spacing: 0.03em;
}
.intro-band-text {
  font-size: 0.88rem; line-height: 1.85; color: var(--text-p); margin-bottom: 1.25rem;
}
.intro-band-stats {
  display: flex; gap: 48px; margin-top: 2.5rem;
  padding-top: 2rem; border-top: 1px solid var(--border);
}
.intro-stat-num { display: block; font-size: 2.2rem; font-weight: 300; color: var(--white); line-height: 1; margin-bottom: 0.4rem; }
.intro-stat-label { display: block; font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-s); }

/* Studio section */
.studio-section { background: var(--bg); padding: 100px 60px; }
.studio-main { display: grid; grid-template-columns: 65fr 35fr; gap: 4px; margin-bottom: 4px; }
.studio-image-tile { position: relative; overflow: hidden; aspect-ratio: 4 / 3; min-height: 400px; }
/* When JS sets explicit height on .studio-main, children stretch to fill */
.studio-main[style*="height"] .studio-image-tile,
.studio-main[style*="height"] .studio-quote-card {
  aspect-ratio: unset;
  height: 100%;
}
.studio-image-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.8); }
.studio-image-label {
  position: absolute; bottom: 22px; left: 22px;
  font-size: 0.75rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-s); z-index: 2;
}
.studio-quote-card {
  background: #2a2a2a;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 44px;
}
.studio-quote-text { font-size: 1.15rem; font-weight: 300; line-height: 1.7; color: var(--text-p); font-style: italic; }
.studio-quote-attr { margin-top: 28px; font-size: 0.78rem; font-weight: 600; color: var(--white); letter-spacing: 0.1em; }

.studio-sub-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
.studio-sub-tile { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.studio-sub-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); transition: filter 0.5s ease, transform 0.6s var(--ease); }
.studio-sub-tile:hover img { filter: brightness(0.9); transform: scale(1.03); }
.studio-sub-tile .tile-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%); z-index: 1; }
.studio-sub-tile .tile-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px 20px; z-index: 2; }

.studio-philosophy-card {
  background: var(--bg-2);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px 30px; aspect-ratio: 4 / 3;
}
.studio-philosophy-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.15em; text-transform: uppercase; color: var(--text-s); margin-bottom: 14px; }
.studio-philosophy-text { font-size: 1.05rem; font-weight: 300; color: var(--text-p); line-height: 1.5; margin-bottom: 1rem; }
.studio-philosophy-body { font-size: 0.82rem; color: var(--text-s); line-height: 1.75; }

/* Services section */
.services-section { background: var(--bg); padding: 100px 60px; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px; }
.service-tile { position: relative; height: 400px; overflow: hidden; }
.service-tile img { width: 100%; height: 100%; object-fit: cover; filter: sepia(0.18) saturate(0.88) brightness(0.7); transition: transform 0.6s var(--ease); }
.service-tile:hover img { transform: scale(1.03); }
.service-tile::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--accent); transform: scaleX(0);
  transition: transform 0.4s var(--ease); transform-origin: left; z-index: 3;
}
.service-tile:hover::after { transform: scaleX(1); }
.service-tile .tile-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%); z-index: 1; }
.service-tile .tile-info { position: absolute; bottom: 0; left: 0; right: 0; padding: 22px 24px; z-index: 2; }

/* Quote band */
.quote-band { background: var(--bg-2); padding: 100px 60px; text-align: center; }
.quote-band-inner { max-width: 700px; margin: 0 auto; }
.quote-band-text { font-size: 1.4rem; font-weight: 300; font-style: italic; color: var(--text-p); line-height: 1.65; }
.quote-band-attr { margin-top: 28px; font-size: 0.78rem; font-weight: 500; letter-spacing: 0.12em; color: var(--text-s); }

/* Services text band */
.services-text-band { background: var(--bg); padding: 72px 64px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stb-inner { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px; }
.stb-title { font-size: 0.9rem; font-weight: 600; color: var(--white); letter-spacing: 0.02em; margin-bottom: 14px; }
.stb-text { font-size: 0.85rem; line-height: 1.85; color: var(--text-s); }

/* Press section */
.press-section { background: var(--bg); padding: 100px 60px; }
.press-grid { display: grid; grid-template-columns: 3fr 2fr; gap: 4px; }
.press-grid--cal { grid-template-columns: 1fr 1fr; }
.press-image-tile { position: relative; aspect-ratio: 16 / 10; overflow: hidden; cursor: pointer; }
.press-image-tile--half { aspect-ratio: unset; min-height: 660px; }
.press-image-tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.7); transition: filter 0.5s ease; }
.press-image-tile:hover img { filter: brightness(0.85); }
.press-image-tile .tile-gradient { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 55%); z-index: 1; }
.press-image-label { position: absolute; bottom: 22px; left: 22px; z-index: 2; }
.press-card { background: var(--bg-2); padding: 44px 40px; display: flex; flex-direction: column; }

/* Press Calendly column */
.press-cal-wrap {
  background: #1a1a1a;
  display: flex;
  flex-direction: column;
}
.press-cal-wrap .contact-cal-header {
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1.25rem 1.5rem;
}
.press-cal-wrap .contact-cal-eyebrow { color: rgba(255,255,255,0.5); }
.press-cal-wrap .contact-cal-eyebrow::before { background: rgba(255,255,255,0.3); }
.press-cal-wrap .contact-cal-meta { color: rgba(255,255,255,0.35); }
.press-cal-wrap .calendly-inline-widget { flex: 1; }
.press-card-title { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-s); margin-bottom: 32px; display: flex; align-items: center; gap: 8px; }
.press-icon { flex-shrink: 0; opacity: 0.6; }
.press-list { list-style: none; flex: 1; }
.press-list-item { padding: 18px 0; border-bottom: 1px solid var(--border); }
.press-list-item:first-child { border-top: 1px solid var(--border); }
.press-item-pub { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-s); margin-bottom: 5px; }
.press-item-title { font-size: 0.88rem; font-weight: 400; color: var(--text-p); line-height: 1.4; }
.press-item-date { font-size: 0.7rem; color: var(--text-s); margin-top: 5px; }
.press-newsletter { margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--border); }
.press-newsletter-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-s); margin-bottom: 14px; }
.press-newsletter-form { display: flex; gap: 0; }
.press-newsletter-input { flex: 1; background: var(--bg-3); border: 1px solid var(--border); border-right: none; color: var(--text-p); font-family: inherit; font-size: 0.8rem; padding: 10px 14px; outline: none; transition: border-color 0.2s; }
.press-newsletter-input::placeholder { color: var(--text-s); }
.press-newsletter-input:focus { border-color: rgba(255,255,255,0.2); }
.press-newsletter-btn { background: var(--bg-3); border: 1px solid var(--border); color: var(--text-p); font-family: inherit; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; padding: 10px 18px; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.press-newsletter-btn:hover { background: rgba(255,255,255,0.1); color: var(--white); }

/* ═══════════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════════ */
.lago-footer { background: #111111; padding: 60px 60px 40px; }

.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 40px; border-bottom: 1px solid var(--border); margin-bottom: 40px;
}
.footer-logo { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.25em; color: var(--white); text-transform: none; }
.footer-social { display: flex; gap: 28px; }
.footer-social a { font-size: 0.72rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-s); transition: color 0.2s; display: flex; align-items: center; }
.footer-social a:hover { color: var(--white); }
.footer-social .social-icon { display: none; }
.footer-social .social-label { display: inline; }

.footer-cols { display: grid; grid-template-columns: 2fr 1.5fr 1fr 1.5fr; gap: 40px; margin-bottom: 48px; }
.footer-col-label { font-size: 0.65rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-s); margin-bottom: 16px; }
.footer-desc { font-size: 0.82rem; color: rgba(255,255,255,0.4); line-height: 1.7; }
.footer-col-list { list-style: none; }
.footer-col-list li { font-size: 0.82rem; color: rgba(255,255,255,0.5); margin-bottom: 8px; line-height: 1.5; }
.footer-col-list li a { color: rgba(255,255,255,0.5); transition: color 0.2s; }
.footer-col-list li a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 28px; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 0.72rem; color: rgba(255,255,255,0.25); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 0.72rem; color: rgba(255,255,255,0.25); transition: color 0.2s; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.5); }

/* Light footer variant (projects archive, single project) */
.lago-footer.footer-light {
  background: #ffffff;
  border-top: 1px solid var(--border-l);
}
.footer-light .footer-logo             { color: var(--text-dark); }
.footer-light .footer-social a         { color: #999; }
.footer-light .footer-social a:hover   { color: var(--text-dark); }
.footer-light .footer-top              { border-bottom-color: var(--border-l); }
.footer-light .footer-col-label        { color: #bbb; }
.footer-light .footer-desc             { color: #777; }
.footer-light .footer-col-list li,
.footer-light .footer-col-list li a    { color: #777; }
.footer-light .footer-col-list li a:hover { color: var(--text-dark); }
.footer-light .footer-bottom           { border-top-color: var(--border-l); }
.footer-light .footer-copy             { color: #bbb; }
.footer-light .footer-bottom-links a  { color: #bbb; }
.footer-light .footer-bottom-links a:hover { color: var(--text-dark); }

/* ═══════════════════════════════════════════════════════════════════
   PROJECTS ARCHIVE (light theme)
   ═══════════════════════════════════════════════════════════════════ */
.breadcrumb {
  margin-top: 60px;
  background: white;
  padding: 0.85rem 4rem;
  border-bottom: 1px solid var(--border-l);
}
.breadcrumb span,
.breadcrumb a { font-size: 0.8rem; }
.breadcrumb a { color: #888; transition: color 0.2s; }
.breadcrumb a:hover { color: var(--text-dark); }
.breadcrumb .sep { color: #ccc; margin: 0 0.5rem; }
.breadcrumb .current { color: var(--text-dark); font-weight: 600; }

.page-header {
  padding: 6rem 4rem 2.5rem;
  border-bottom: 1px solid var(--border-l);
  display: flex; align-items: flex-end; justify-content: space-between;
}
.page-header h1 { font-size: 1.6rem; font-weight: 300; color: var(--text-dark); letter-spacing: -0.01em; }
.project-count { font-size: 0.72rem; color: #999; letter-spacing: 0.12em; text-transform: uppercase; padding-bottom: 0.4rem; }

.projects-list-section { padding: 2.5rem 3rem 4rem; }
.projects-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

/* Project card (light archive) */
.project-card {
  cursor: pointer; text-decoration: none;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
}
.card-img-wrap { overflow: hidden; position: relative; background: #e8e4df; }
.project-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.project-card:hover img { transform: scale(1.04); }
.card-info { padding: 1rem 1.2rem 1.1rem; background: #f0eeeb; border-top: 1px solid #e0ddd9; flex: 1; }
.card-location { font-size: 0.58rem; letter-spacing: 0.16em; text-transform: uppercase; color: #999; margin-bottom: 0.3rem; display: block; }
.card-name { font-size: 0.95rem; font-weight: 500; color: var(--text-dark); line-height: 1.25; display: block; }
.card-type { font-size: 0.68rem; color: #999; margin-top: 0.2rem; display: block; }

/* Contact band */
.contact-band { padding: 6rem 4rem; background: white; border-top: 1px solid var(--border-l); text-align: center; }
.contact-band-label { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: #999; margin-bottom: 1.5rem; }
.contact-band h2 { font-size: 1.8rem; font-weight: 300; color: var(--text-dark); max-width: 520px; margin: 0 auto 1.2rem; line-height: 1.3; }
.contact-band p { font-size: 0.9rem; color: var(--text-mid); max-width: 480px; margin: 0 auto 2.5rem; line-height: 1.75; font-weight: 300; }
.btn-contact {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: none; border: 1px solid var(--text-dark);
  color: var(--text-dark); font-size: 0.72rem; letter-spacing: 0.14em;
  text-transform: uppercase; text-decoration: none;
  padding: 0.8rem 2rem; font-family: var(--sans); transition: background 0.2s, color 0.2s;
}
.btn-contact:hover { background: var(--text-dark); color: white; }

/* ═══════════════════════════════════════════════════════════════════
   SINGLE PROJECT (light)
   ═══════════════════════════════════════════════════════════════════ */
.project-hero {
  position: relative; width: 100%; height: 70vh; min-height: 500px; overflow: hidden;
}
.project-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
body.postid-261 .project-hero img,
body.postid-510 .project-hero img { object-position: center top; }
.project-hero-gradient { position: absolute; bottom: 0; left: 0; right: 0; height: 55%; background: linear-gradient(to top, rgba(0,0,0,0.52) 0%, transparent 100%); pointer-events: none; }
.project-hero-left { position: absolute; bottom: 0; left: 0; padding: 2rem 3rem; }
.project-hero-title { font-size: 2.2rem; font-weight: 300; color: white; text-shadow: 0 2px 20px rgba(0,0,0,0.35); line-height: 1.15; letter-spacing: 0.01em; }


.project-hero-right { position: absolute; bottom: 0; right: 0; padding-right: 2rem; padding-bottom: 2rem; }
.category-pill { background: white; color: var(--text-dark); border-radius: 2rem; padding: 0.4rem 1.2rem; font-size: 0.75rem; font-weight: 500; display: inline-block; }

.gallery-btn-bar { background: white; padding: 1.5rem 0; display: flex; justify-content: center; align-items: center; border-bottom: 1px solid var(--border-l); }
.gallery-pill-btn {
  display: flex; align-items: center; gap: 0.55rem;
  background: #f5f5f5; border: 1px solid var(--border-l); border-radius: 2rem;
  padding: 0.6rem 1.8rem; font: 0.8rem var(--sans); color: #555; cursor: pointer;
  transition: background 0.2s, border-color 0.2s; text-decoration: none;
}
.gallery-pill-btn:hover { background: #ebebeb; border-color: #d4d4d4; }

.project-info { background: white; padding: 5rem 0 0; }
.project-text-col { max-width: 620px; margin: 0 auto; padding: 0 2rem; }
.project-text-col p { font-size: 1.05rem; font-weight: 300; line-height: 1.85; color: var(--text-dark); margin-bottom: 1.6rem; }

.facts-section { max-width: 860px; margin: 5rem auto 0; padding: 0 2rem; }
.facts-toggle {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.4rem 0; background: none; border: none; border-top: 1px solid var(--border-l);
  cursor: pointer; font-size: 1rem; font-weight: 400; color: #666; font-family: var(--sans);
  transition: color 0.2s;
}
.facts-toggle:hover { color: var(--text-dark); }
.facts-toggle .toggle-icon { transition: transform 0.3s ease; flex-shrink: 0; color: #aaa; }
.facts-toggle.open .toggle-icon { transform: rotate(180deg); }
.facts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  overflow: hidden; max-height: 0;
  transition: max-height 0.45s ease, padding 0.3s ease;
  padding-top: 0; padding-bottom: 0; border-top: 1px solid var(--border-l);
}
.facts-grid.open { max-height: 500px; padding-top: 2.5rem; padding-bottom: 3rem; }
.fact-item { padding: 0 2rem 1.5rem 0; }
.fact-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.15em; color: #aaa; margin-bottom: 0.45rem; font-weight: 400; }
.fact-value { font-size: 0.92rem; color: var(--text-dark); font-weight: 400; line-height: 1.4; }

/* Image gallery */
.image-gallery { background: #f5f5f5; padding: 0; }
.gallery-grid { display: grid; gap: 3px; }
.gallery-row { display: grid; gap: 3px; }
.gallery-row.full { grid-template-columns: 1fr; }
.gallery-row.two-col { grid-template-columns: 1fr 1fr; }
.gallery-row.three-col { grid-template-columns: 1fr 1fr 1fr; }
.gallery-item { overflow: hidden; cursor: pointer; position: relative; background: #111; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s var(--ease); }
.gallery-item:hover img { transform: scale(1.025); }
.gallery-row.full .gallery-item { aspect-ratio: 16/9; }
.gallery-row.full.wide .gallery-item { aspect-ratio: 21/9; }
.gallery-row.two-col .gallery-item { aspect-ratio: 4/3; }
.gallery-row.three-col .gallery-item { aspect-ratio: 4/3; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 3000;
  background: rgba(0,0,0,0.95);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease);
}
.lightbox.active { opacity: 1; pointer-events: all; }
.lightbox-img-wrap {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  flex: 1; width: 100%; padding: 4rem 6rem 1.5rem;
  min-height: 0;
}
.lightbox-img-wrap img {
  max-width: 88vw; max-height: 82vh;
  width: auto; height: auto;
  object-fit: contain; display: block; user-select: none;
  opacity: 0; transition: opacity 0.22s ease;
}
.lightbox-img-wrap img.lb-loaded { opacity: 1; }
/* Spinner shown while image loads */
.lightbox-img-wrap::before {
  content: ''; display: block;
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 28px; height: 28px;
  border: 2px solid rgba(255,255,255,0.15);
  border-top-color: rgba(255,255,255,0.6);
  border-radius: 50%;
  animation: lb-spin 0.7s linear infinite;
  pointer-events: none;
}
.lightbox-img-wrap.lb-img-ready::before { display: none; }
@keyframes lb-spin { to { transform: translate(-50%,-50%) rotate(360deg); } }
.lightbox-close { position: absolute; top: 1.5rem; right: 2rem; background: none; border: none; color: rgba(255,255,255,0.75); font-size: 2rem; cursor: pointer; font-family: var(--sans); font-weight: 300; line-height: 1; transition: color 0.2s; z-index: 1; }
.lightbox-close:hover { color: #fff; }
.lightbox-arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; padding: 1rem; color: rgba(255,255,255,0.65); transition: color 0.2s; z-index: 1; }
.lightbox-arrow:hover { color: #fff; }
.lightbox-arrow.prev { left: 1.5rem; }
.lightbox-arrow.next { right: 1.5rem; }
/* Lightbox dots */
.lightbox-dots { flex-shrink: 0; padding: 1rem 0 1.5rem; display: flex; gap: 7px; align-items: center; justify-content: center; }
.lb-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.3); border: none; cursor: pointer; padding: 0; transition: background 0.25s, transform 0.25s; flex-shrink: 0; }
.lb-dot.active { background: #fff; transform: scale(1.35); }
.lb-dot:hover { background: rgba(255,255,255,0.7); }

/* Related projects — horizontal scroll strip */
.related-projects { background: white; padding: 0 5% 4rem; border-top: 1px solid var(--border-l); }
.related-header {
  padding: 3.5rem 0 1.75rem;
  display: flex; align-items: center; justify-content: space-between;
}
.related-header h2 { font-size: 0.72rem; font-weight: 500; color: #aaa; text-transform: uppercase; letter-spacing: 0.18em; }
.related-nav { display: flex; align-items: center; gap: 8px; }
.related-arrow {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid #e0e0e0; border-radius: 50%;
  background: none; cursor: pointer;
  color: #555;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.related-arrow:hover { border-color: #212529; color: #212529; background: #f5f5f5; }

/* Scroll wrapper: handles overflow, cursor and scrollbar hiding */
.related-scroll-wrap {
  overflow-x: auto;
  overflow-y: visible;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
}
.related-scroll-wrap::-webkit-scrollbar { display: none; }
.related-scroll-wrap:active { cursor: grabbing; }

/* Inner flex row: max-content so extra cards overflow and scroll */
.related-strip {
  display: flex;
  width: max-content;
  gap: 20px;
  padding: 0 0 1rem;
}

/* Width set precisely by JS (sizeCards) based on actual wrapper width */
.related-strip-card {
  flex: 0 0 300px; /* fallback before JS runs */
  min-width: 0;
  scroll-snap-align: start;
  cursor: pointer;
  text-decoration: none;
  display: flex; flex-direction: column;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
  transition: box-shadow 0.25s, transform 0.25s;
}
.related-strip-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.12); transform: translateY(-2px); }
.related-strip-card .card-img-wrap { aspect-ratio: 4 / 3; overflow: hidden; }
.related-strip-card .card-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.related-strip-card:hover .card-img-wrap img { transform: scale(1.04); }

/* ═══════════════════════════════════════════════════════════════════
   PHILOSOPHY / STUDIO PAGE (light sections)
   ═══════════════════════════════════════════════════════════════════ */
.page-hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: flex-end; overflow: hidden;
  margin-top: 0;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); animation: heroZoom 20s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }

.page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(13,11,9,0.2) 0%, rgba(13,11,9,0.1) 40%, rgba(13,11,9,0.55) 70%, rgba(13,11,9,0.9) 100%);
}
.page-hero-content { position: relative; z-index: 2; width: 100%; padding: 0 4rem 5rem; }
.hero-eyebrow {
  font-size: 0.62rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--accent-light); display: flex; align-items: center; gap: 1rem;
  margin-bottom: 1.5rem; opacity: 0; animation: fadeUp 0.9s 0.2s ease forwards;
}
.hero-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--accent-light); }
.page-hero-title {
  font-family: var(--sans); font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3.4rem); line-height: 1.15; letter-spacing: 0.01em; color: var(--white); max-width: 820px;
}
.page-hero-sub { margin-top: 1.5rem; font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.8; max-width: 420px; opacity: 0; animation: fadeUp 1s 0.6s ease forwards; }

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

/* Section label */
.section-label {
  font-size: 0.62rem; font-weight: 500; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--accent);
  display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--accent); }

/* Studio overview */
.studio-overview { padding: 10rem 0; background: var(--bg); }
.container { max-width: 1440px; margin: 0 auto; padding: 0 4rem; }
.studio-overview-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8rem; align-items: start; }
.studio-overview-left { position: sticky; top: 8rem; }
.studio-overview-heading { font-family: var(--sans); font-size: clamp(1.9rem, 2.8vw, 2.7rem); font-weight: 300; line-height: 1.3; margin-bottom: 2.5rem; color: var(--white); }
.studio-overview-heading em { font-style: italic; color: var(--accent-light); }
.studio-overview-right p { font-size: 0.88rem; line-height: 1.9; color: var(--text-s); margin-bottom: 1.5rem; }

/* Studio stats (inside overview left) */
.studio-stats { display: flex; gap: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--border); }
.studio-stat { display: flex; flex-direction: column; gap: 0.25rem; }
.studio-stat-num { font-family: var(--sans); font-size: 2rem; font-weight: 300; line-height: 1; color: var(--white); }
.studio-stat-num sup { font-size: 0.9rem; vertical-align: super; }
.studio-stat-label { font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent-light); }

/* Studio quote / image break (dark overlay on image) */
.studio-break { position: relative; height: 65vh; min-height: 440px; display: flex; align-items: center; overflow: hidden; background: #1a1a1a; }
.studio-break-bg { position: absolute; inset: 0; }
.studio-break-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.studio-break-overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(10,8,6,0.85) 40%, rgba(10,8,6,0.45) 100%); }
.studio-break-inner { position: relative; z-index: 1; }
.studio-break-quote {
  font-family: var(--sans);
  font-size: clamp(1.1rem, 1.9vw, 1.8rem);
  font-weight: 300; font-style: italic;
  line-height: 1.45; color: var(--white);
  max-width: 720px;
  margin-bottom: 1.75rem;
}
.studio-break-attr {
  font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-light);
  display: flex; align-items: center; gap: 1rem;
}
.studio-break-attr::before { content: ''; width: 30px; height: 1px; background: var(--accent-light); display: block; }

/* Studio clients section (white) */
.studio-clients { background: var(--bg-2); padding: 9rem 0; }

/* Bento grid */
.clients-bento {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  grid-template-rows: repeat(3, auto);
  border: 1px solid var(--border);
}

/* Left header cell — spans all 3 rows */
.clients-bento-header {
  grid-column: 1;
  grid-row: 1 / 4;
  border-right: 1px solid var(--border);
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
}
.studio-clients-heading {
  font-family: var(--sans);
  font-size: clamp(2rem, 3vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  margin-top: 1.5rem;
  color: var(--white);
}
.clients-intro p { font-size: 0.85rem; line-height: 1.9; color: var(--text-s); margin-bottom: 1rem; }
.clients-intro p:last-child { margin-bottom: 0; }

/* Trait cells */
.clients-bento-trait {
  padding: 2.2rem 2rem;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  transition: background 0.35s;
}
.clients-bento-trait:nth-child(3n+1) { border-right: none; } /* last in each row */
.clients-bento-trait:nth-last-child(-n+2) { border-bottom: none; } /* last row */
.clients-bento-trait:hover { background: rgba(255,255,255,0.03); }

.bento-num {
  display: block;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--accent-light);
}
.bento-text {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text-p);
}

/* Design philosophy (light bg — inner pages only) */
.design-philosophy { padding: 9rem 0; background: var(--bg); color: var(--text-p); position: relative; overflow: hidden; }
.design-philosophy-inner { position: relative; max-width: 1100px; margin: 0 auto; }
.design-philosophy-intro { display: grid; grid-template-columns: 1fr 1.4fr; gap: 6rem; margin-bottom: 5rem; align-items: start; }
.design-philosophy-intro h2 { font-family: var(--sans); font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 300; line-height: 1.3; color: var(--white); letter-spacing: 0.01em; }
.design-philosophy-body p { font-size: 0.82rem; line-height: 1.9; color: var(--text-s); margin-bottom: 1.25rem; }
.design-philosophy-quote {
  font-family: var(--sans); font-size: clamp(0.95rem, 1.5vw, 1.4rem); font-weight: 300;
  font-style: italic; line-height: 1.6; color: var(--text-p);
  margin-bottom: 3rem; padding-top: 3rem; border-top: 1px solid var(--border);
  text-align: center; max-width: 860px; margin-left: auto; margin-right: auto;
}
.design-philosophy-list { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--border); }
.philosophy-list-item { padding: 2.5rem 2rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); transition: background 0.4s; }
.philosophy-list-item:last-child { border-right: none; }
.philosophy-list-item:hover { background: var(--bg-2); }
.philosophy-list-dash { color: var(--accent-light); font-style: normal; font-size: 1.1rem; margin-bottom: 1rem; }
.philosophy-list-text { font-size: 0.82rem; line-height: 1.75; color: var(--text-s); }

/* How we work (off-white) */
.how-we-work { padding: 10rem 0; background: var(--bg); }
.how-we-work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8rem; align-items: start; }
.how-we-work-left { position: sticky; top: 10rem; }
.how-we-work-heading { font-family: var(--sans); font-size: clamp(1.9rem, 2.8vw, 2.7rem); font-weight: 300; line-height: 1.25; margin-bottom: 1.5rem; color: var(--white); }
.how-we-work-sub { font-size: 0.88rem; line-height: 1.9; color: var(--text-s); }
.process-list { list-style: none; border-top: 1px solid var(--border); }
.process-item { display: flex; align-items: flex-start; gap: 2rem; padding: 2.5rem 0; border-bottom: 1px solid var(--border); transition: padding-left 0.35s var(--ease); }
.process-item:hover { padding-left: 0.75rem; }
.process-num { font-size: 0.88rem; color: var(--accent-light); flex-shrink: 0; padding-top: 3px; min-width: 28px; }
.process-title { font-size: 1.15rem; font-weight: 600; margin-bottom: 0.6rem; color: var(--white); }
.process-desc { font-size: 0.82rem; line-height: 1.85; color: var(--text-s); }

/* Who we work with (white) */
.who-we-work-with { padding: 9rem 0; background: var(--white); }
.who-we-work-with-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start; }
.who-we-work-with h2 { font-family: var(--sans); font-size: clamp(1.9rem, 2.8vw, 2.7rem); font-weight: 300; line-height: 1.25; margin-bottom: 2rem; color: var(--text-dark); }
.who-we-work-with p { font-size: 0.88rem; line-height: 1.9; color: var(--text-mid); margin-bottom: 1.5rem; }
.client-traits { list-style: none; margin-top: 1rem; }
.client-traits li { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-s); transition: color 0.3s, padding-left 0.35s var(--ease); }
.client-traits li:first-child { border-top: 1px solid var(--border); }
.client-traits li:hover { color: var(--white); padding-left: 0.5rem; }
.client-traits li::before { content: '—'; color: var(--accent-light); flex-shrink: 0; }

/* Where we work */
.where-we-work { padding: 9rem 0; background: var(--bg-2); color: var(--text-p); }
.where-we-work-header { display: grid; grid-template-columns: 1fr 1.2fr; gap: 6rem; align-items: start; margin-bottom: 5rem; }
.where-we-work h2 { font-family: var(--sans); font-size: clamp(1.9rem, 2.8vw, 2.7rem); font-weight: 300; line-height: 1.25; color: var(--white); }
.where-traits { list-style: none; margin-top: 0.5rem; }
.where-traits li { display: flex; align-items: flex-start; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--border); font-size: 0.85rem; color: var(--text-s); transition: color 0.3s, padding-left 0.35s var(--ease); }
.where-traits li:first-child { border-top: 1px solid var(--border); }
.where-traits li:hover { color: var(--white); padding-left: 0.5rem; }
.where-traits li::before { content: '—'; color: var(--accent-light); flex-shrink: 0; }
.where-traits-text { font-size: 0.88rem; line-height: 1.9; color: var(--text-s); margin-bottom: 1.5rem; }

.offices-note { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-s); margin-bottom: 1.5rem; opacity: 0.7; }
.offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.office-card { padding: 2.5rem; border: 1px solid var(--border); transition: border-color 0.3s; }
.office-card:hover { border-color: var(--accent); }
.office-city { font-family: var(--sans); font-size: 1.5rem; font-weight: 300; margin-bottom: 0.35rem; color: var(--white); }
.office-country { font-size: 0.6rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 1.5rem; }
.office-details { font-size: 0.78rem; line-height: 1.9; color: var(--text-s); }
.office-details a { color: var(--text-s); transition: color 0.3s; }
.office-details a:hover { color: var(--accent-light); }

/* Why approach (dark on filosofia) */
.why-approach { padding: 10rem 0; background: var(--bg-2); }
.why-approach-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8rem; align-items: start; }
.why-approach-left { position: sticky; top: 10rem; }
.why-approach-left h2 { font-family: var(--sans); font-size: clamp(1.45rem, 2vw, 2rem); font-weight: 300; line-height: 1.3; margin-bottom: 2rem; color: var(--white); letter-spacing: 0.01em; }
.editorial-quote { font-family: var(--sans); font-size: clamp(1.3rem, 2vw, 1.75rem); font-weight: 300; font-style: italic; line-height: 1.5; color: var(--text-p); border-left: 2px solid var(--accent); padding-left: 2rem; margin-bottom: 2.5rem; }
.why-approach-right p { font-size: 0.88rem; line-height: 1.9; color: var(--text-s); margin-bottom: 1.5rem; }
.why-approach-right blockquote { margin-bottom: 2.5rem; }

/* CTA section — light on light pages, dark otherwise */
.cta-section { padding: 10rem 0; background: var(--cream); color: var(--text-dark); text-align: center; position: relative; overflow: hidden; }
body:not(.light-page) .cta-section { background: var(--bg); color: var(--white); }
.cta-inner { position: relative; }
.cta-heading { font-family: var(--sans); font-size: clamp(2.4rem, 5vw, 4.8rem); font-weight: 300; line-height: 1.1; margin-bottom: 2rem; color: var(--text-dark); }
body:not(.light-page) .cta-heading { color: var(--white); }
.cta-heading em { font-style: italic; color: var(--accent-dark); }
body:not(.light-page) .cta-heading em { color: var(--accent-light); }
.cta-text { font-size: 0.88rem; color: var(--text-mid); line-height: 1.9; max-width: 540px; margin: 0 auto 3rem; }
body:not(.light-page) .cta-text { color: var(--text-s); }
.cta-actions { display: flex; gap: 1.25rem; justify-content: center; flex-wrap: wrap; }
.cta-btn { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2.8rem; background: transparent; border: 1px solid var(--accent); color: var(--text-dark); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; transition: all 0.4s var(--ease); }
body:not(.light-page) .cta-btn { color: var(--white); border-color: rgba(255,255,255,0.3); }
.cta-btn:hover { background: var(--text-dark); color: var(--white); border-color: var(--text-dark); }
body:not(.light-page) .cta-btn:hover { background: var(--white); color: var(--bg); border-color: var(--white); }
.cta-btn-sec { display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2.8rem; background: transparent; border: 1px solid var(--warm-grey); color: var(--text-mid); font-size: 0.72rem; font-weight: 400; letter-spacing: 0.15em; text-transform: uppercase; transition: all 0.4s var(--ease); }
body:not(.light-page) .cta-btn-sec { border-color: rgba(255,255,255,0.15); color: var(--text-s); }
.cta-btn-sec:hover { border-color: var(--accent); color: var(--text-dark); }
body:not(.light-page) .cta-btn-sec:hover { border-color: var(--accent-light); color: var(--white); }

/* CTA with image background ─────────────────────────────────────── */
.cta-section--imagen { background: var(--bg) !important; color: var(--white) !important; }
.cta-imagen-bg { position: absolute; inset: 0; z-index: 0; }
.cta-imagen-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cta-imagen-overlay { position: absolute; inset: 0; background: rgba(16,14,11,0.62); z-index: 1; }
.cta-section--imagen .container { position: relative; z-index: 2; }
.cta-section--imagen .cta-heading { color: var(--white); }
.cta-section--imagen .cta-heading em { color: var(--accent-light); }
.cta-section--imagen .cta-text { color: rgba(240,236,230,0.8); }
.cta-section--imagen .cta-btn { color: var(--white); border-color: rgba(255,255,255,0.35); }
.cta-section--imagen .cta-btn:hover { background: var(--white); color: var(--bg); border-color: var(--white); }
.cta-section--imagen .cta-btn-sec { border-color: rgba(255,255,255,0.18); color: rgba(240,236,230,0.7); }
.cta-section--imagen .cta-btn-sec:hover { border-color: var(--accent-light); color: var(--white); }

/* ═══════════════════════════════════════════════════════════════════
   PHIL IMAGE BAND
   ═══════════════════════════════════════════════════════════════════ */
.phil-image-band {
  width: 100%; height: 520px; overflow: hidden;
}
.phil-image-band picture { display: block; width: 100%; height: 100%; }
.phil-image-band img {
  width: 100%; height: 100%; object-fit: cover; object-position: center center;
  filter: brightness(0.88);
}
@media (min-width: 768px) {
  .phil-image-band { height: auto; }
  .phil-image-band img { height: auto; object-fit: unset; }
}

/* ═══════════════════════════════════════════════════════════════════
   FOUNDER SECTION (Filosofía & Studio)
   ═══════════════════════════════════════════════════════════════════ */
.founder-section {
  background: var(--cream);
  padding: 8rem 0;
}
.founder-section--light {
  background: var(--white);
  border-top: 1px solid var(--border-l);
  border-bottom: 1px solid var(--border-l);
}
.founder-grid {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 7rem;
  align-items: center;
}
.founder-photo {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--warm-grey);
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  filter: brightness(0.95);
  transition: transform 0.7s var(--ease);
}
.founder-section:hover .founder-photo img { transform: scale(1.03); }
.founder-name {
  font-size: 3rem; font-weight: 300;
  color: var(--text-dark); line-height: 1.05;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.founder-role {
  font-size: 0.6rem; font-weight: 500;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 2rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.founder-role::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px;
  background: var(--accent); flex-shrink: 0;
}
.founder-quote {
  font-size: 1rem; font-style: italic;
  color: var(--text-dark); font-weight: 300;
  line-height: 1.6;
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
  margin: 0 0 2rem;
}
.founder-text {
  font-size: 0.9rem; color: var(--text-mid);
  line-height: 1.85; margin-bottom: 1.2rem;
}
.founder-stats {
  display: flex; gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-l);
}
.founder-stat { display: flex; flex-direction: column; }
.fstat-num {
  font-size: 2rem; font-weight: 300;
  color: var(--text-dark); line-height: 1;
  letter-spacing: -0.02em;
}
.fstat-num sup { font-size: 0.9rem; }
.fstat-label {
  font-size: 0.6rem; text-transform: uppercase;
  letter-spacing: 0.15em; color: #aaa;
  margin-top: 0.4rem; font-weight: 400;
}

/* ═══════════════════════════════════════════════════════════════════
   FLOATING RESERVE BUTTON
   ═══════════════════════════════════════════════════════════════════ */
.float-reserve {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1.4rem 0.75rem 1rem;
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 4px 24px rgba(0,0,0,0.18);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease), transform 0.3s var(--ease);
  cursor: pointer;
}
.float-reserve:hover {
  background: var(--off-white);
  box-shadow: 0 8px 32px rgba(0,0,0,0.22);
  transform: translateY(-2px);
}
.float-reserve-icon {
  display: flex;
  align-items: center;
  opacity: 0.5;
  flex-shrink: 0;
  color: var(--text-dark);
}
.float-reserve-label {
  white-space: nowrap;
}

/* ═══════════════════════════════════════════════════════════════════
   404 PAGE
   ═══════════════════════════════════════════════════════════════════ */
.error-404-page { background: var(--bg); color: var(--text-p); }

/* Hero */
.e404-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 10rem 4rem 6rem;
}
.e404-number {
  position: absolute;
  font-family: var(--sans);
  font-size: clamp(12rem, 28vw, 26rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.06);
  line-height: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}
.e404-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}
.e404-content .section-label { margin-bottom: 2rem; }
.e404-heading {
  font-family: var(--sans);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 2rem;
}
.e404-sub {
  font-size: 0.88rem;
  color: var(--text-s);
  line-height: 1.9;
  max-width: 460px;
  margin-bottom: 3rem;
}
.e404-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}
.e404-actions .cta-btn,
.e404-actions .cta-btn-sec {
  width: auto;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.e404-actions .cta-btn:hover { background: var(--white); color: var(--bg); border-color: var(--white); }
.e404-actions .cta-btn-sec:hover { border-color: var(--accent-light); color: var(--white); }

/* Suggested projects */
.e404-projects {
  padding: 7rem 0 8rem;
  border-top: 1px solid var(--border);
}
.e404-projects-label {
  display: flex;
  align-items: baseline;
  gap: 2rem;
  margin-bottom: 3.5rem;
}
.e404-projects-sub {
  font-size: 0.82rem;
  color: var(--text-s);
  letter-spacing: 0.04em;
}
.e404-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.e404-all-link {
  margin-top: 3rem;
  display: flex;
  justify-content: flex-end;
}
.e404-all-link .cta-btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
}

/* ═══════════════════════════════════════════════════════════════════
   CONTACT PAGE
   ═══════════════════════════════════════════════════════════════════ */
.contact-page { background: var(--white); }
.contact-hero { height: 50vh; min-height: 400px; position: relative; overflow: hidden; }
.contact-hero img { width: 100%; height: 100%; object-fit: cover; }
.contact-hero-overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.4); }
.contact-hero-text { position: absolute; bottom: 3rem; left: 4rem; color: var(--white); }
.contact-hero-text h1 { font-size: 3rem; font-weight: 300; line-height: 1.1; }
.contact-hero-eyebrow { font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--accent-light); margin-bottom: 1rem; display: flex; align-items: center; gap: 1rem; }
.contact-hero-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--accent-light); }

.contact-body { padding: 6rem 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 8rem; align-items: start; }
.contact-info { position: sticky; top: 7rem; }
.contact-info h2 { font-family: var(--sans); font-size: 2.2rem; font-weight: 300; line-height: 1.2; margin-bottom: 1.5rem; color: var(--text-dark); }
.contact-info p { font-size: 0.88rem; line-height: 1.9; color: var(--text-mid); margin-bottom: 1.5rem; }

/* Google Meet badge */
.contact-meet-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 0.55rem 1rem;
  border: 1px solid var(--warm-grey);
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--text-mid); margin-bottom: 2.5rem;
}

/* ─── Booking section ────────────────────────────────────────────── */
.contact-booking-section { padding: 5rem 0 3rem; }

/* Widget: two-panel layout like Calendly */
.cbk-widget {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-l);
  min-height: 460px;
}

/* ── Left panel ── */
.cbk-left {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border-l);
}

/* Event info */
.cbk-brand {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--text-mid); margin-bottom: 0.6rem;
}
.cbk-event-name {
  font-family: var(--sans); font-size: 1.6rem; font-weight: 300;
  color: var(--text-dark); line-height: 1.2; margin-bottom: 1.2rem;
}
.cbk-meta {
  list-style: none; margin-bottom: 2rem;
}
.cbk-meta li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; color: var(--text-mid); margin-bottom: 0.5rem;
}
.cbk-meta svg { flex-shrink: 0; opacity: 0.6; }

/* Month navigation */
.cbk-cal-nav {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.25rem;
}
.cbk-month-label {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  color: var(--text-dark);
}
.cbk-nav-btn {
  display: flex; align-items: center; justify-content: center;
  width: 28px; height: 28px;
  background: none; border: none; cursor: pointer;
  color: var(--text-dark); border-radius: 50%;
  transition: background 0.15s;
}
.cbk-nav-btn:hover { background: var(--off-white); }

/* Weekday headers */
.cbk-weekdays {
  display: grid; grid-template-columns: repeat(7, 1fr);
  margin-bottom: 0.4rem;
}
.cbk-weekdays span {
  text-align: center; font-size: 0.62rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-mid);
  padding: 0.25rem 0;
}

/* Day grid */
.cbk-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 1px; }

.cbk-day {
  aspect-ratio: 1; display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; color: var(--text-dark); border-radius: 50%;
  background: none; border: none; cursor: pointer;
  transition: background 0.12s, color 0.12s; font-family: var(--sans);
}
.cbk-day:hover:not(:disabled)     { background: var(--off-white); }
.cbk-day--today                   { font-weight: 700; }
.cbk-day--off, .cbk-day:disabled  { color: #ccc; cursor: default; }
.cbk-day--empty                   { visibility: hidden; }
.cbk-day--sel                     { background: var(--text-dark) !important; color: #fff !important; border-radius: 50%; }

/* Timezone footer */
.cbk-timezone {
  display: flex; align-items: center; gap: 6px;
  margin-top: 1.5rem; font-size: 0.72rem; color: var(--text-mid);
}
.cbk-timezone svg { opacity: 0.5; }

/* ── Right panel (slots) ── */
.cbk-right {
  display: none;
  flex-direction: column;
  padding: 2.5rem 1.75rem;
  overflow-y: auto; max-height: 560px;
}
.cbk-right--visible { display: flex; }

.cbk-slots-header {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-dark); margin-bottom: 1.25rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border-l);
}

.cbk-slots-list { display: flex; flex-direction: column; gap: 8px; }

.cbk-slot {
  display: flex; align-items: center; justify-content: center;
  width: 100%; padding: 0.75rem 1rem;
  background: none; border: 1px solid var(--border-l);
  font-family: var(--sans); font-size: 0.88rem; font-weight: 500;
  color: var(--text-dark); cursor: pointer; text-align: center;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.cbk-slot:hover {
  border-color: var(--text-dark); background: var(--text-dark); color: #fff;
}

/* Form inside right panel */
.cbk-form-divider { border-top: 1px solid var(--border-l); margin: 1.25rem 0; }
.cbk-form { display: flex; flex-direction: column; gap: 1rem; }
.cbk-field label {
  display: block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-mid); margin-bottom: 0.4rem;
}
.cbk-field label em { color: var(--accent-dark); font-style: normal; }
.cbk-field input, .cbk-field textarea {
  width: 100%; border: none; border-bottom: 1px solid var(--border-l);
  padding: 0.45rem 0; font-family: var(--sans); font-size: 0.85rem;
  color: var(--text-dark); background: transparent; outline: none;
  transition: border-color 0.2s;
}
.cbk-field input:focus, .cbk-field textarea:focus { border-bottom-color: var(--text-dark); }
.cbk-field textarea { resize: none; }
.cbk-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 0.75rem 1.5rem; background: var(--text-dark); color: #fff;
  border: none; font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s; margin-top: 0.25rem;
}
.cbk-submit:hover { background: #000; }
.cbk-submit:disabled { opacity: 0.5; cursor: default; }
.cbk-note { font-size: 0.72rem; color: var(--text-mid); line-height: 1.6; }
.cbk-msg { font-size: 0.8rem; line-height: 1.6; display: none; }
.cbk-msg.cbk-msg--ok  { display: block; color: #2d6a4f; }
.cbk-msg.cbk-msg--err { display: block; color: #c0392b; }

/* Offices row below widget */
.contact-offices-section { padding: 2.5rem 0 4rem; }
.contact-offices--row {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--border-l);
}
.contact-offices--row .contact-office {
  padding: 1.5rem 0 1.5rem 0; border-bottom: none; border-right: 1px solid var(--border-l);
  padding-right: 2rem;
}
.contact-offices--row .contact-office:last-child { border-right: none; padding-right: 0; padding-left: 2rem; }
.contact-offices--row .contact-office:nth-child(2) { padding-left: 2rem; }

.contact-offices { list-style: none; border-top: 1px solid var(--warm-grey); }
.contact-office { padding: 1.5rem 0; border-bottom: 1px solid var(--warm-grey); }
.contact-office-city { font-weight: 600; font-size: 0.85rem; color: var(--text-dark); margin-bottom: 0.3rem; }
.contact-office-detail { font-size: 0.8rem; color: var(--text-mid); line-height: 1.7; }
.contact-office-detail a { color: var(--text-mid); transition: color 0.2s; }
.contact-office-detail a:hover { color: var(--accent-dark); }

/* Calendly wrappers */
.contact-cal-embed,
.press-cal-wrap {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}
.contact-cal-embed .calendly-inline-widget {
  zoom: 0.72;
  max-width: 100%;
}
.press-cal-wrap .calendly-inline-widget {
  zoom: 0.82;
  max-width: 100%;
}

/* Branded header above the iframe */
.contact-cal-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 1.1rem 1.75rem;
  border-bottom: 1px solid var(--border-l);
  background: var(--white);
}
.contact-cal-eyebrow {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.contact-cal-eyebrow::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.contact-cal-meta {
  font-size: 0.72rem;
  color: var(--text-mid);
  letter-spacing: 0.04em;
  font-weight: 300;
}

/* Form */
.contact-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label { font-size: 0.62rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--text-light); }
.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--sans); font-size: 0.88rem; color: var(--text-dark);
  background: transparent; border: none; border-bottom: 1px solid var(--warm-grey);
  padding: 0.7rem 0; outline: none; transition: border-color 0.2s;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--accent-dark); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-submit {
  margin-top: 1rem;
  display: inline-flex; align-items: center; gap: 0.75rem;
  background: var(--text-dark); color: var(--white);
  font-family: var(--sans); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 1rem 2.8rem;
  border: 1px solid var(--text-dark); cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.form-submit:hover { background: transparent; color: var(--text-dark); }
.form-submit:disabled { opacity: 0.6; cursor: not-allowed; }
.form-message { padding: 1rem; font-size: 0.85rem; margin-top: 1rem; }
.form-message.success { background: #f0f7f0; color: #2a5a2a; border: 1px solid #c0dcc0; }
.form-message.error   { background: #fff0f0; color: #5a2a2a; border: 1px solid #dcc0c0; }

/* ═══════════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════════ */

/* ─── Tablet landscape (≤ 1024px) ───────────────────────────────── */
@media (max-width: 1024px) {
  .section-title                { font-size: 2.2rem; }
  .studio-main                  { grid-template-columns: 60fr 40fr; }
  .studio-sub-row               { grid-template-columns: 1fr 1fr; }
  .studio-philosophy-card       { grid-column: 1 / -1; aspect-ratio: unset; min-height: 180px; justify-content: flex-start; gap: 0.75rem; }
  .intro-band                   { padding: 64px 40px; }
  .intro-band-inner             { gap: 48px; }
  .services-text-band           { padding: 64px 40px; }
  .stb-inner                    { grid-template-columns: 1fr 1fr; gap: 40px; }
  .projects-section, .studio-section, .services-section, .press-section,
  .quote-band                   { padding: 80px 40px; }
  .lago-footer                  { padding: 40px 40px 28px; }
  .footer-cols                  { grid-template-columns: 1fr 1fr; gap: 28px; }
  .breadcrumb                   { padding: 0.85rem 2rem; }
  .page-header                  { padding: 3rem 2rem 2rem; }
  .projects-list-section        { padding: 2rem 2rem 3rem; }
  .projects-cards-grid          { grid-template-columns: repeat(2, 1fr); }
  .studio-overview-grid         { grid-template-columns: 1fr; gap: 3rem; }
  .studio-overview-left         { position: static; }
  .founder-grid                 { grid-template-columns: 300px 1fr; gap: 4rem; }
  .founder-name                 { font-size: 2.4rem; }
  .phil-image-band              { height: 380px; }
  .clients-bento                { grid-template-columns: 1fr 1fr; }
  .clients-bento-header         { grid-column: 1 / 3; grid-row: 1; border-right: none; border-bottom: 1px solid var(--border); padding: 2.5rem; }
  .clients-bento-trait:nth-child(3n+1) { border-right: 1px solid var(--border); }
  .clients-bento-trait:nth-child(even) { border-right: none; }
  .clients-bento-trait:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .clients-bento-trait:last-child { border-bottom: none; }
  .studio-client-img--top,
  .studio-client-img--bottom    { aspect-ratio: 4 / 3; }
  .design-philosophy-intro      { grid-template-columns: 1fr; gap: 2rem; }
  .design-philosophy-list       { grid-template-columns: repeat(2, 1fr); }
  .how-we-work-grid             { grid-template-columns: 1fr; gap: 3rem; }
  .how-we-work-left             { position: static; }
  .who-we-work-with-grid        { grid-template-columns: 1fr; gap: 3rem; }
  .where-we-work-header         { grid-template-columns: 1fr; gap: 2rem; }
  .offices-grid                 { grid-template-columns: 1fr 1fr; }
  .why-approach-inner           { grid-template-columns: 1fr; gap: 3rem; }
  .why-approach-left            { position: static; }
  .container                    { padding: 0 2.5rem; }
  .contact-grid                 { grid-template-columns: 1fr; gap: 4rem; }
  .contact-info                 { position: static; }
  .service-tile                 { height: 320px; }
  .page-hero                    { min-height: 580px; }
}

/* ─── Tablet portrait / large mobile (≤ 768px) ───────────────────── */
@media (max-width: 768px) {
  /* Floating button — icon only */
  .float-reserve {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 48px;
    height: 48px;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.22);
  }
  .float-reserve-label          { display: none; }
  .float-reserve-icon           { opacity: 0.75; }

  /* Nav */
  .lago-nav                     { padding: 0 1.5rem; height: 64px; }
  .nav-logo img                 { height: 34px; }
  .nav-overlay                  { padding: 32px 24px; }
  .nav-overlay-links li a       { font-size: 1.7rem; }
  .nav-overlay-footer           { flex-direction: column; gap: 20px; align-items: flex-start; }
  .nav-overlay-contact          { text-align: left; }
  .nav-cta-btn                  { width: 100%; text-align: center; padding: 0.9rem 1.5rem; }

  /* Home hero */
  .hero                         { height: 80vh; min-height: 480px; }
  .hero-content                 { bottom: 60px; left: 24px; right: 24px; }
  .hero-title                   { font-size: 1.7rem; }

  /* Home sections */
  .projects-section, .studio-section, .services-section,
  .press-section, .quote-band   { padding: 56px 24px; }
  .section-title                { font-size: 2rem; }
  .intro-band                   { padding: 48px 24px; }
  .intro-band-inner             { grid-template-columns: 1fr; gap: 32px; }
  .intro-band-left              { position: static; font-size: 1.5rem; }
  .intro-band-stats             { gap: 28px; }
  .services-text-band           { padding: 48px 24px; }
  .stb-inner                    { grid-template-columns: 1fr; gap: 36px; }
  .projects-row-1, .projects-row-2 { grid-template-columns: 1fr; }
  .projects-row-1 .tile         { aspect-ratio: 4 / 3; }
  .projects-row-3               { display: none; }
  .studio-main                  { grid-template-columns: 1fr; }
  .studio-sub-row               { grid-template-columns: 1fr 1fr; }
  .studio-philosophy-card       { grid-column: 1 / -1; aspect-ratio: unset; min-height: 160px; }
  .founder-grid                 { grid-template-columns: 1fr; gap: 2.5rem; }
  .founder-photo                { max-width: 280px; }
  .founder-name                 { font-size: 2.2rem; }
  .founder-stats                { gap: 2rem; }
  .phil-image-band              { height: 300px; }
  .services-grid                { grid-template-columns: 1fr; }
  .service-tile                 { height: auto; aspect-ratio: 4 / 3; }
  .press-grid                   { grid-template-columns: 1fr; }
  .press-grid--cal              { display: block; overflow: hidden; }
  .press-section                { overflow: hidden; }
  .press-image-tile             { aspect-ratio: 4 / 3; }
  .press-image-tile--half       { display: none; }
  .press-cal-wrap               { display: block; overflow: hidden; width: 100%; max-width: 100%; min-width: 0; }
  .press-cal-wrap .calendly-inline-widget { zoom: 1; width: 100% !important; min-width: 0 !important; max-width: 100%; height: 620px; }

  /* Footer */
  .lago-footer                  { padding: 36px 24px 24px; }
  .footer-cols                  { grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
  .footer-top                   { flex-direction: row; align-items: center; margin-bottom: 28px; }
  .footer-bottom                { flex-direction: column; gap: 8px; align-items: flex-start; }

  /* Projects archive */
  .breadcrumb                   { padding: 0.7rem 1.5rem; margin-top: 60px; }
  .page-header                  { padding: 2rem 1.5rem 1.5rem; flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .page-header h1               { font-size: 1.8rem; }
  .projects-list-section        { padding: 1.5rem 1.5rem 3rem; }
  .projects-cards-grid          { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .contact-band                 { padding: 4rem 1.5rem; }
  .contact-band h2              { font-size: 1.5rem; }

  /* Single project */
  .project-hero                 { height: 55vh; min-height: 360px; }
  .project-hero-title           { font-size: 2rem; }
  .project-hero-left            { padding: 1.5rem; }
  .project-hero-right           { padding: 1rem; }
  .category-pill                { font-size: 0.68rem; padding: 0.3rem 0.9rem; }
  .gallery-btn-bar              { padding: 1rem 0; }
  .project-info                 { padding: 3rem 0 0; }
  .project-text-col             { padding: 0 1.5rem; }
  .project-text-col p           { font-size: 0.95rem; }
  .facts-section                { margin: 3rem auto 0; padding: 0 1.5rem; }
  .facts-grid                   { grid-template-columns: 1fr 1fr; }
  .gallery-row.three-col        { grid-template-columns: 1fr 1fr; }
  .related-header               { padding: 2.5rem 0 1.25rem; }
  .related-nav                  { display: flex; } /* show arrows on tablet/mobile */
  .related-strip                { padding: 0 0 1rem; gap: 14px; width: max-content; }
  .related-strip-card           { flex: 0 0 240px; min-width: unset; }

  /* Lightbox */
  .lightbox-img-wrap            { padding: 3rem 1rem 1rem; }
  .lightbox-img-wrap img        { max-width: 94vw; max-height: 76vh; }
  .lightbox-close               { top: 0.75rem; right: 0.75rem; font-size: 1.6rem; }
  .lightbox-arrow.prev          { left: 0.25rem; }
  .lightbox-arrow.next          { right: 0.25rem; }

  /* Inner pages — page hero */
  .page-hero                    { min-height: 460px; height: 70vh; }
  .page-hero-content            { padding: 0 1.5rem 3.5rem; }

  /* Inner pages — sections */
  .studio-overview, .design-philosophy, .how-we-work,
  .studio-clients, .where-we-work,
  .why-approach, .cta-section   { padding: 5rem 0; }
  .container                    { padding: 0 1.5rem; }
  .studio-overview-grid         { gap: 2.5rem; }
  .design-philosophy-list       { grid-template-columns: 1fr; }
  .philosophy-list-item         { border-right: none !important; }
  .offices-grid                 { grid-template-columns: 1fr 1fr; }
  .clients-bento                { grid-template-columns: 1fr 1fr; }
  .clients-bento-header         { grid-column: 1 / 3; grid-row: 1; border-right: none; border-bottom: 1px solid var(--border); padding: 2.5rem; }
  .clients-bento-trait:nth-child(3n+1) { border-right: 1px solid var(--border); }
  .clients-bento-trait:nth-child(even) { border-right: none; }
  .clients-bento-trait:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .clients-bento-trait:last-child { border-bottom: none; }
  .studio-break                 { height: 50vh; min-height: 320px; }
  .studio-break-quote           { font-size: 1.3rem; }
  .studio-stats                 { gap: 1.5rem; }
  .where-we-work-header         { gap: 2rem; }
  .process-list                 { padding: 0; }
  .cta-actions                  { flex-direction: column; align-items: center; gap: 0.75rem; }
  .cta-btn, .cta-btn-sec        { width: 100%; max-width: 320px; justify-content: center; }

  /* 404 page */
  .e404-hero                    { padding: 8rem 1.5rem 5rem; min-height: auto; }
  .e404-number                  { font-size: clamp(9rem, 32vw, 20rem); }
  .e404-all-link                { justify-content: flex-start; }

  /* Contact page */
  .contact-hero                 { height: 42vh; min-height: 300px; }
  .contact-hero-text            { left: 1.5rem; bottom: 2rem; }
  .contact-hero-text h1         { font-size: 2rem; }
  .contact-body                 { padding: 3rem 0; }
  .contact-grid                 { gap: 2.5rem; }
  .contact-info h2              { font-size: 1.6rem; }
  .contact-cal-embed .calendly-inline-widget { zoom: 1; }
}

/* ─── Mobile (≤ 480px) ───────────────────────────────────────────── */
@media (max-width: 480px) {
  /* Nav */
  .nav-overlay                  { padding: 20px 20px; }
  .nav-overlay-header           { margin-bottom: 32px; }
  .nav-overlay-links            { gap: 2px; }
  .nav-overlay-links li a       { font-size: 1.35rem; }

  /* Home hero */
  .hero                         { height: 70vh; min-height: 380px; }
  .hero-content                 { bottom: 36px; left: 18px; right: 18px; }
  .hero-title                   { font-size: 1.45rem; }
  .hero-dots                    { bottom: 18px; }

  /* Home sections */
  .projects-section, .studio-section, .services-section,
  .quote-band                   { padding: 36px 18px; }
  .press-section                { padding: 36px 18px; }
  .section-title                { font-size: 1.6rem; }
  .intro-band                   { padding: 36px 18px; }
  .intro-band-heading           { font-size: 1.2rem; }
  .intro-band-stats             { gap: 20px; flex-wrap: wrap; }
  /* Hide decorative-only blocks on mobile */
  .services-text-band           { display: none; }
  .studio-sub-row               { display: none; }
  .studio-break                 { display: none; }
  .press-image-tile             { display: none; }
  .press-image-tile--half       { display: none; }
  .press-grid--cal              { display: block; }
  .press-cal-wrap               { display: block; overflow: hidden; width: 100%; max-width: 100%; min-width: 0; }
  .press-cal-wrap .calendly-inline-widget { zoom: 1; width: 100% !important; min-width: 0 !important; max-width: 100%; height: 560px; }
  .studio-quote-card            { padding: 28px 20px; }
  .studio-philosophy-card       { padding: 22px 18px; }
  /* Hide 3rd tile in 3-up row */
  .projects-row-2 .tile:nth-child(3) { display: none; }

  /* Footer */
  .lago-footer                  { padding: 28px 18px 18px; }
  .footer-top                   { margin-bottom: 20px; }
  .footer-cols                  { grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
  .footer-desc                  { display: none; }
  .footer-bottom                { flex-direction: row; flex-wrap: wrap; gap: 8px 16px; align-items: center; padding-top: 16px; }
  .footer-social                { gap: 20px; }
  .footer-social .social-label  { display: none; }
  .footer-social .social-icon   { display: flex; align-items: center; }

  /* Projects archive */
  .projects-cards-grid          { grid-template-columns: 1fr; }
  .page-header                  { padding: 1.5rem 1.25rem; }
  .page-header h1               { font-size: 1.5rem; }
  .projects-list-section        { padding: 1.25rem 1.25rem 2.5rem; }
  .contact-band                 { padding: 3rem 1.25rem; }
  .contact-band h2              { font-size: 1.3rem; }

  /* Single project */
  .project-hero                 { height: 50vh; min-height: 300px; }
  .project-hero-title           { font-size: 1.55rem; }
  .project-hero-left            { padding: 1.25rem; }
  .project-hero-right           { padding: 0.75rem; }
  .gallery-btn-bar              { padding: 0.75rem 0; }
  .gallery-pill-btn             { font-size: 0.72rem; padding: 0.5rem 1.2rem; }
  .project-info                 { padding: 2rem 0 0; }
  .project-text-col             { padding: 0 1.25rem; }
  .project-text-col p           { font-size: 0.9rem; line-height: 1.75; }
  .facts-section                { margin: 2rem auto 0; padding: 0 1.25rem; }
  .facts-toggle                 { font-size: 0.88rem; }
  .facts-grid                   { grid-template-columns: 1fr; }
  .gallery-row.two-col          { grid-template-columns: 1fr 1fr; }
  .gallery-row.three-col        { grid-template-columns: 1fr 1fr; }
  .related-header               { padding: 2rem 0 1rem; }
  .related-strip                { padding: 0 0 1rem; gap: 12px; width: max-content; }
  .related-strip-card           { flex: 0 0 200px; }

  /* Lightbox */
  .lightbox-img-wrap            { padding: 3.5rem 0.5rem 0.5rem; }
  .lightbox-img-wrap img        { max-width: 96vw; max-height: 70vh; }
  .lightbox-close               { top: 0.5rem; right: 0.75rem; font-size: 1.4rem; }
  .lightbox-arrow               { padding: 0.5rem; }
  .lightbox-arrow.prev          { left: 0; }
  .lightbox-arrow.next          { right: 0; }

  /* Inner pages — page hero */
  .page-hero                    { min-height: 360px; height: 62vh; }
  .page-hero-content            { padding: 0 1.25rem 3rem; }
  .page-hero-sub                { font-size: 0.82rem; }

  /* Inner pages — sections */
  .studio-overview, .design-philosophy, .how-we-work,
  .studio-clients, .where-we-work,
  .why-approach, .cta-section   { padding: 3rem 0; }
  .container                    { padding: 0 1.25rem; }
  .studio-overview-grid         { gap: 2rem; }
  .studio-overview-heading      { font-size: 1.7rem; }
  .studio-stats                 { flex-wrap: wrap; gap: 1rem; }
  .studio-clients-heading       { font-size: 1.8rem; }
  .clients-bento                { grid-template-columns: 1fr; }
  .clients-bento-header         { grid-column: 1; grid-row: 1; border-right: none; border-bottom: 1px solid var(--border); padding: 2rem; }
  .clients-bento-trait          { border-right: none !important; }
  .clients-bento-trait:last-child { border-bottom: none; }
  .design-philosophy-list       { display: none; }
  .offices-grid                 { grid-template-columns: 1fr; }
  .how-we-work-heading          { font-size: 1.8rem; }
  .process-item                 { gap: 1rem; }
  .cta-actions                  { flex-direction: column; align-items: stretch; gap: 0.75rem; }
  .cta-btn, .cta-btn-sec        { max-width: none; justify-content: center; }
  .cta-heading                  { font-size: 2.2rem; }

  /* Contact page */
  .contact-hero                 { height: 36vh; min-height: 260px; }
  .contact-hero-text            { left: 1.25rem; bottom: 1.5rem; }
  .contact-hero-text h1         { font-size: 1.6rem; }
  .contact-body                 { padding: 2rem 0; }
  .contact-info h2              { font-size: 1.4rem; }
  .contact-cal-embed .calendly-inline-widget { zoom: 1; }

  /* 404 */
  .e404-hero                    { min-height: 100svh; padding: 7rem 1.25rem 4rem; }
  .e404-number                  { font-size: clamp(7rem, 38vw, 16rem); left: 50%; transform: translateX(-50%); }
  .e404-heading                 { font-size: clamp(1.9rem, 7vw, 2.5rem); }
  .e404-actions                 { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .e404-all-link                { margin-top: 2rem; }
}
