/* -----------------------------------------------------------
   BLUE BY CINDY - Interior Design Studio
   Deep blue luxury - editorial serif - dynamic reveals
   ----------------------------------------------------------- */

:root {
  --navy-950: #050F20;
  --navy-900: #0A1D3A;
  --navy-800: #0E2A52;
  --navy-700: #14386B;
  --blue-500: #2E6FD0;
  --blue-300: #7FA8E8;
  --ice: #EAF0F7;
  --paper: #F7F5F1;
  --paper-2: #EFECE5;
  --ink: #101725;
  --ink-soft: #46536B;
  --gold: #C4A366;
  --hairline: rgba(16, 23, 37, .14);
  --hairline-light: rgba(234, 240, 247, .22);

  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Segoe UI", sans-serif;

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-exp: cubic-bezier(.87, 0, .13, 1);

  --gutter: clamp(1.25rem, 4vw, 4rem);
  --section-y: clamp(5rem, 12vw, 10rem);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }

body {
  font-family: var(--sans);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; color: inherit; cursor: pointer; }
em { font-style: italic; }

::selection { background: var(--navy-800); color: var(--ice); }

section[id] { scroll-margin-top: 4.2rem; }

/* --------------- Preloader --------------- */
.preloader {
  position: fixed; inset: 0; z-index: 200;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: var(--navy-950);
  transition: transform 1s var(--ease-exp), visibility 0s 1s;
}
.preloader.is-done { transform: translateY(-100%); visibility: hidden; }
.preloader-word { display: flex; gap: .35em; }
.preloader-word span {
  font-family: var(--serif); font-size: clamp(3rem, 10vw, 6rem); font-weight: 400;
  color: var(--ice); letter-spacing: .1em;
  opacity: 0; transform: translateY(.6em);
  animation: pre-in .9s var(--ease-out) forwards;
}
.preloader-word span:nth-child(2) { animation-delay: .1s; }
.preloader-word span:nth-child(3) { animation-delay: .2s; }
.preloader-word span:nth-child(4) { animation-delay: .3s; }
.preloader-sub {
  font-family: var(--serif); font-style: italic; color: var(--blue-300);
  font-size: clamp(1.1rem, 3vw, 1.5rem); margin-top: .5rem;
  opacity: 0; animation: pre-in .8s var(--ease-out) .55s forwards;
}
@keyframes pre-in { to { opacity: 1; transform: none; } }

/* --------------- Header --------------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem var(--gutter);
  transition: transform .5s var(--ease-out), background .4s, padding .4s, box-shadow .4s;
  color: var(--ice);
}
.header.is-solid {
  background: rgba(247, 245, 241, .92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: var(--ink);
  padding-block: .7rem;
  box-shadow: 0 1px 0 var(--hairline);
}
.header.is-hidden { transform: translateY(-110%); }

.brand { display: flex; flex-direction: column; line-height: 1; z-index: 102; }
.brand-main {
  font-family: var(--serif); font-size: 1.7rem; font-weight: 500; letter-spacing: .34em;
}
.brand-sub { font-size: .58rem; letter-spacing: .52em; font-weight: 400; margin-top: .3rem; opacity: .85; text-indent: .1em; }

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.nav a {
  font-size: .78rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase;
  position: relative; padding: .3rem 0; white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform .45s var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta {
  border: 1px solid currentColor; padding: .55rem 1.2rem !important; border-radius: 2rem;
  transition: background .3s, color .3s, border-color .3s;
}
.nav-cta::after { display: none; }
.header:not(.is-solid) .nav-cta:hover { background: var(--ice); color: var(--navy-900); border-color: var(--ice); }
.header.is-solid .nav-cta:hover { background: var(--navy-900); color: var(--ice); border-color: var(--navy-900); }

.header-right { display: flex; align-items: center; gap: 1rem; z-index: 102; }
.lang-toggle { font-size: .78rem; letter-spacing: .14em; display: flex; gap: .3rem; padding: .4rem .2rem; }
.lang-toggle span { opacity: .45; transition: opacity .3s; }
.lang-toggle .lang-sep { opacity: .45; }
.lang-toggle.mode-en .lang-en, .lang-toggle.mode-es .lang-es { opacity: 1; font-weight: 500; }

.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span {
  position: absolute; left: 10px; right: 10px; height: 1.5px; background: currentColor;
  transition: transform .4s var(--ease-out), top .4s;
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 26px; }
.burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed; inset: 0; z-index: 101; background: var(--navy-950);
  display: flex; flex-direction: column; justify-content: center; gap: 3rem;
  padding: var(--gutter); padding-top: 6rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .65s var(--ease-exp);
}
.mobile-menu.is-open { clip-path: inset(0); }
.mobile-nav { display: flex; flex-direction: column; gap: .4rem; }
.mobile-nav a {
  font-family: var(--serif); font-size: clamp(2rem, 8vw, 3rem); color: var(--ice);
  padding: .35rem 0; border-bottom: 1px solid var(--hairline-light);
  opacity: 0; transform: translateY(1rem);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.mobile-menu.is-open .mobile-nav a { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-nav a:nth-child(1) { transition-delay: .15s; }
.mobile-menu.is-open .mobile-nav a:nth-child(2) { transition-delay: .22s; }
.mobile-menu.is-open .mobile-nav a:nth-child(3) { transition-delay: .29s; }
.mobile-menu.is-open .mobile-nav a:nth-child(4) { transition-delay: .36s; }
.mobile-menu.is-open .mobile-nav a:nth-child(5) { transition-delay: .43s; }
.mobile-menu.is-open .mobile-nav a:nth-child(6) { transition-delay: .5s; }
.mobile-menu-foot { display: flex; gap: 2rem; }
.mobile-menu-foot a { color: var(--blue-300); font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; }

/* --------------- Buttons --------------- */
.btn {
  display: inline-block; font-size: .8rem; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase; padding: 1rem 2.2rem; border-radius: 3rem;
  transition: transform .35s var(--ease-out), background .3s, color .3s, box-shadow .35s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-light { background: var(--ice); color: var(--navy-900); }
.btn-light:hover { box-shadow: 0 12px 32px rgba(5, 15, 32, .35); }
.btn-ghost { border: 1px solid rgba(234, 240, 247, .55); color: var(--ice); }
.btn-ghost:hover { background: rgba(234, 240, 247, .12); }
.btn-big { padding: 1.2rem 3rem; }

/* --------------- Hero --------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--ice); overflow: hidden; background: var(--navy-950);
}
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.08);
}
.hero-slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1.02); } }

.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(5, 15, 32, .94) 0%, rgba(5, 15, 32, .52) 48%, rgba(5, 15, 32, .6) 100%);
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 var(--gutter) clamp(6rem, 12vh, 8rem);
  max-width: 62rem;
}
.hero-eyebrow {
  font-size: .74rem; letter-spacing: .34em; text-transform: uppercase;
  color: #C9DAF5; margin-bottom: 1.4rem;
  text-shadow: 0 1px 4px rgba(5, 15, 32, .85), 0 2px 22px rgba(5, 15, 32, .7);
}
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.9rem, 9.5vw, 6.8rem);
  line-height: 1.02; letter-spacing: .01em; margin-bottom: 1.6rem;
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .line > span, .hero-title .line > em { display: inline-block; }
.hero-title { text-shadow: 0 2px 6px rgba(5, 15, 32, .75), 0 6px 34px rgba(5, 15, 32, .6); }
.hero-title em { color: #B9CFF5; font-weight: 300; }
.hero-sub {
  font-size: clamp(1rem, 2.2vw, 1.25rem); font-weight: 300; letter-spacing: .04em;
  opacity: .96; margin-bottom: 2.4rem;
  text-shadow: 0 1px 4px rgba(5, 15, 32, .85), 0 2px 20px rgba(5, 15, 32, .7);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-foot {
  position: absolute; z-index: 2; right: var(--gutter); bottom: clamp(1.5rem, 4vh, 2.5rem);
  left: var(--gutter);
  display: flex; align-items: flex-end; justify-content: space-between;
}
.hero-count { font-size: .8rem; letter-spacing: .2em; opacity: .8; }
.hero-count i { font-style: normal; margin: 0 .35rem; opacity: .5; }
.scroll-hint { display: flex; flex-direction: column; align-items: center; gap: .6rem; font-size: .68rem; letter-spacing: .3em; text-transform: uppercase; opacity: .75; }
.scroll-hint-line { width: 1px; height: 3.4rem; background: rgba(234, 240, 247, .4); position: relative; overflow: hidden; }
.scroll-hint-line::after {
  content: ""; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: var(--ice); animation: scrolldrop 2.2s var(--ease-exp) infinite;
}
@keyframes scrolldrop { 0% { top: -100%; } 55% { top: 0; } 100% { top: 100%; } }

/* Hero entrance choreography */
.hero-content > * { opacity: 0; transform: translateY(2rem); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.hero-title .line > span, .hero-title .line > em { transform: translateY(110%); transition: transform 1.1s var(--ease-exp); }
body.is-loaded .hero-content > * { opacity: 1; transform: none; }
body.is-loaded .hero-title .line > span, body.is-loaded .hero-title .line > em { transform: none; }
body.is-loaded .hero-eyebrow { transition-delay: .15s; }
body.is-loaded .hero-title { transition-delay: .2s; }
body.is-loaded .hero-title .line:nth-child(1) > * { transition-delay: .25s; }
body.is-loaded .hero-title .line:nth-child(2) > * { transition-delay: .38s; }
body.is-loaded .hero-sub { transition-delay: .55s; }
body.is-loaded .hero-actions { transition-delay: .7s; }

/* --------------- Marquee --------------- */
.marquee {
  background: var(--navy-900); color: var(--ice);
  overflow: hidden; padding: 1.1rem 0; border-block: 1px solid var(--navy-800);
}
.marquee-track {
  display: flex; align-items: center; gap: 2.6rem; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee-track span {
  font-family: var(--serif); font-size: 1.15rem; font-style: italic; letter-spacing: .08em;
  white-space: nowrap;
}
.marquee-track i { font-size: .5rem; color: var(--gold); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* --------------- Section scaffolding --------------- */
.label {
  font-size: .74rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--blue-500); margin-bottom: 1.2rem; font-weight: 400;
}
.section-head { padding: 0 var(--gutter); max-width: 78rem; margin: 0 auto 3.5rem; }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.08;
  color: var(--navy-900);
}
.section-title em { color: var(--blue-500); }
.section-sub { margin-top: 1rem; color: var(--ink-soft); max-width: 34rem; }

/* Scroll reveals */
.reveal { opacity: 0; transform: translateY(2.2rem); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
.reveal.is-in { opacity: 1; transform: none; }

/* --------------- Why Blue --------------- */
.whyblue {
  background: var(--navy-950); color: var(--ice);
  padding: var(--section-y) 0; position: relative; overflow: hidden;
}
.whyblue::before {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background: radial-gradient(60% 80% at 80% 10%, rgba(46, 111, 208, .16), transparent 60%),
              radial-gradient(50% 60% at 10% 90%, rgba(46, 111, 208, .1), transparent 60%);
}
.whyblue-inner {
  position: relative; max-width: 78rem; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.whyblue .label { color: var(--blue-300); }
.statement { font-family: var(--serif); font-weight: 300; font-size: clamp(2.4rem, 6.5vw, 4.6rem); line-height: 1.12; margin-bottom: 2rem; }
.statement span { display: block; }
.statement em { color: var(--blue-300); }
.whyblue-copy { max-width: 30rem; color: rgba(234, 240, 247, .78); font-size: 1.05rem; }
.whyblue-media { position: relative; }
.whyblue-media img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover;
  box-shadow: 0 40px 80px rgba(0, 0, 0, .45);
}
.whyblue-media figcaption {
  margin-top: 1rem; font-size: .74rem; letter-spacing: .26em; text-transform: uppercase;
  color: rgba(234, 240, 247, .6);
}

/* --------------- Projects --------------- */
.projects { padding: var(--section-y) 0; }
.projects-grid {
  display: grid; grid-template-columns: repeat(12, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  padding: 0 var(--gutter); max-width: 90rem; margin: 0 auto;
}
.project-card {
  position: relative; overflow: hidden; cursor: pointer;
  grid-column: span 6; background: var(--navy-900);
  border: 0; padding: 0; text-align: left; color: var(--ice);
  display: block; width: 100%;
}
.project-card:nth-child(4n+1) { grid-column: span 7; }
.project-card:nth-child(4n+2) { grid-column: span 5; }
.project-card:nth-child(4n+3) { grid-column: span 5; }
.project-card:nth-child(4n+4) { grid-column: span 7; }
.project-card img {
  width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3;
  transition: transform 1.1s var(--ease-out), opacity .6s;
  opacity: .96;
}
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.06); opacity: 1; }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 15, 32, .82), rgba(5, 15, 32, .05) 55%);
  transition: opacity .5s; pointer-events: none;
}
.project-meta {
  position: absolute; z-index: 2; left: 1.6rem; right: 1.6rem; bottom: 1.4rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
}
.project-meta h3 {
  font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; line-height: 1.1;
}
.project-meta small { display: block; font-family: var(--sans); font-size: .72rem; letter-spacing: .26em; text-transform: uppercase; opacity: .8; margin-top: .45rem; }
.project-count {
  flex-shrink: 0; font-size: .74rem; letter-spacing: .18em; padding: .5rem .95rem;
  border: 1px solid rgba(234, 240, 247, .4); border-radius: 2rem; white-space: nowrap;
  transition: background .3s, color .3s;
}
.project-card:hover .project-count { background: var(--ice); color: var(--navy-900); border-color: var(--ice); }
.project-tag {
  position: absolute; z-index: 2; top: 1.2rem; left: 1.2rem;
  font-size: .66rem; letter-spacing: .24em; text-transform: uppercase;
  background: rgba(5, 15, 32, .55); backdrop-filter: blur(6px);
  padding: .45rem .9rem; border-radius: 2rem; border: 1px solid rgba(234, 240, 247, .2);
}

/* --------------- Meet Cindy --------------- */
.cindy { background: var(--paper-2); padding: var(--section-y) 0; overflow: hidden; }
.cindy-inner {
  max-width: 78rem; margin: 0 auto; padding: 0 var(--gutter);
  display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.cindy-media { position: relative; }
.cindy-media img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; position: relative; z-index: 1; }
.cindy-frame {
  position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; z-index: 0;
  border: 1px solid var(--gold);
}
.cindy-text > p { color: var(--ink-soft); max-width: 36rem; margin-bottom: 1.2rem; }
.cindy-text .section-title { margin-bottom: 1.6rem; }
.cindy-quote {
  margin: 2rem 0; padding-left: 1.6rem; border-left: 2px solid var(--gold);
}
.cindy-quote span { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 1.7rem); line-height: 1.35; color: var(--navy-800); display: block; }
.cindy-quote cite { display: block; margin-top: .7rem; font-style: normal; font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-soft); }
.cindy-facts { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.4rem; }
.cindy-facts li { border-top: 1px solid var(--hairline); padding-top: 1rem; }
.cindy-facts strong { display: block; font-family: var(--serif); font-size: 1.35rem; font-weight: 500; color: var(--navy-900); margin-bottom: .3rem; }
.cindy-facts span { font-size: .8rem; letter-spacing: .06em; color: var(--ink-soft); }

/* --------------- Services --------------- */
.services { padding: var(--section-y) 0; }
.services-list { max-width: 78rem; margin: 0 auto; padding: 0 var(--gutter); }
.service {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center;
  gap: clamp(1.2rem, 4vw, 3rem);
  padding: clamp(1.6rem, 4vw, 2.6rem) clamp(.8rem, 2vw, 1.6rem);
  border-top: 1px solid var(--hairline);
  transition: background .45s, padding .45s;
  position: relative;
}
.service:last-child { border-bottom: 1px solid var(--hairline); }
.service:hover { background: var(--navy-950); }
.service-num { font-family: var(--serif); font-size: 1rem; font-style: italic; color: var(--gold); min-width: 2.2rem; }
.service h3 {
  font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 4vw, 2.4rem);
  color: var(--navy-900); margin-bottom: .4rem; transition: color .4s, transform .4s var(--ease-out);
}
.service p { color: var(--ink-soft); max-width: 44rem; transition: color .4s; }
.service-arrow {
  width: 2rem; height: 2rem; color: var(--navy-900); flex-shrink: 0;
  transform: translateX(-.6rem); opacity: 0; transition: transform .45s var(--ease-out), opacity .45s, color .4s;
}
.service:hover h3 { color: var(--ice); transform: translateX(.4rem); }
.service:hover p { color: rgba(234, 240, 247, .72); }
.service:hover .service-arrow { transform: none; opacity: 1; color: var(--gold); }

/* --------------- Blue Outdoors --------------- */
.outdoors {
  background: var(--navy-950); color: var(--ice);
  padding: var(--section-y) 0; overflow: hidden;
}
.section-head-light .section-title { color: var(--ice); }
.section-head-light .section-title em { color: var(--blue-300); }
.section-head-light .section-sub { color: rgba(234, 240, 247, .65); }
.section-head-light .label { color: var(--blue-300); }
.outdoors-strip {
  display: flex; gap: clamp(1rem, 2vw, 1.6rem);
  overflow-x: auto; padding: .5rem var(--gutter) 1.5rem;
  scroll-snap-type: x mandatory;
  cursor: grab;
  scrollbar-width: thin; scrollbar-color: var(--navy-700) transparent;
}
.outdoors-strip.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.outdoors-card {
  flex: 0 0 auto; scroll-snap-align: center; position: relative; overflow: hidden;
  border: 0; padding: 0; background: var(--navy-900); cursor: pointer;
}
.outdoors-card img {
  height: clamp(300px, 52vh, 460px); width: auto; object-fit: cover;
  transition: transform 1s var(--ease-out); pointer-events: none;
}
.outdoors-card:hover img { transform: scale(1.05); }
.outdoors-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5,15,32,.4), transparent 40%);
  pointer-events: none;
}

/* --------------- Mosaic --------------- */
.mosaic { padding: var(--section-y) 0; }
.mosaic-grid {
  columns: 3; column-gap: clamp(1rem, 2vw, 1.6rem);
  padding: 0 var(--gutter); max-width: 90rem; margin: 0 auto;
}
.mosaic-item {
  display: block; width: 100%; border: 0; padding: 0; background: none; cursor: pointer;
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
  break-inside: avoid; overflow: hidden; position: relative;
}
.mosaic-item img { width: 100%; transition: transform 1s var(--ease-out); }
.mosaic-item:hover img { transform: scale(1.05); }
.mosaic-item::after {
  content: ""; position: absolute; inset: 0; opacity: 0;
  background: rgba(10, 29, 58, .25); transition: opacity .4s; pointer-events: none;
}
.mosaic-item:hover::after { opacity: 1; }

/* --------------- Testimonials --------------- */
.testimonials {
  background: var(--paper-2); padding: var(--section-y) var(--gutter);
  text-align: center;
}
.testi-slider { position: relative; max-width: 52rem; margin: 0 auto; min-height: 16rem; }
.testi {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 1.6rem;
  opacity: 0; transform: translateY(1rem); pointer-events: none;
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.testi.is-active { opacity: 1; transform: none; pointer-events: auto; }
.testi p {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.4rem, 3.4vw, 2.1rem); line-height: 1.4; color: var(--navy-900);
}
.testi cite { font-style: normal; font-size: .8rem; letter-spacing: .28em; text-transform: uppercase; color: var(--ink-soft); }
.testi-dots { display: flex; justify-content: center; gap: .7rem; margin-top: 2.5rem; }
.testi-dots button {
  width: 2.2rem; height: 44px; position: relative; padding: 0;
}
.testi-dots button::before {
  content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px;
  background: var(--hairline); transition: background .3s;
}
.testi-dots button.is-active::before { background: var(--navy-900); }

/* --------------- Contact --------------- */
.contact {
  background: var(--navy-950); color: var(--ice);
  padding: var(--section-y) var(--gutter); position: relative; overflow: hidden;
}
.contact::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(70% 90% at 50% 110%, rgba(46, 111, 208, .22), transparent 65%);
}
.contact-inner { position: relative; max-width: 62rem; margin: 0 auto; text-align: center; }
.contact .label { color: var(--blue-300); }
.contact-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.6rem, 8vw, 5.4rem); line-height: 1.08; margin-bottom: 2.6rem;
}
.contact-title span, .contact-title em { display: block; }
.contact-title em { color: var(--blue-300); }
.contact-mail {
  display: inline-block; font-family: var(--serif); font-style: italic;
  font-size: clamp(1.05rem, 3.4vw, 1.7rem); color: var(--ice);
  border-bottom: 1px solid rgba(234, 240, 247, .4); padding-bottom: .3rem;
  transition: color .3s, border-color .3s; overflow-wrap: anywhere;
}
.contact-mail:hover { color: var(--blue-300); border-color: var(--blue-300); }
.contact-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(2rem, 6vw, 5rem);
  margin: 3.2rem 0;
}
.contact-meta strong { display: block; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: var(--blue-300); margin-bottom: .5rem; font-weight: 400; }
.contact-meta span { font-size: .95rem; color: rgba(234, 240, 247, .85); }
.contact-social a { margin: 0 .6rem; border-bottom: 1px solid rgba(234, 240, 247, .35); padding-bottom: .15rem; transition: color .3s, border-color .3s; }
.contact-social a:hover { color: var(--blue-300); border-color: var(--blue-300); }

/* --------------- Footer --------------- */
.footer {
  background: var(--navy-950); color: rgba(234, 240, 247, .55);
  text-align: center; padding: 3rem var(--gutter) 3.5rem;
  border-top: 1px solid var(--hairline-light);
  font-size: .85rem;
}
.footer-brand { font-family: var(--serif); font-size: 1.5rem; letter-spacing: .3em; color: var(--ice); margin-bottom: .6rem; }
.footer-brand span { font-size: .8rem; letter-spacing: .4em; color: rgba(234, 240, 247, .6); }
.footer-copy { margin-top: 1rem; font-size: .74rem; letter-spacing: .08em; }

/* --------------- Lightbox --------------- */
.lightbox {
  position: fixed; inset: 0; z-index: 150;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: opacity .45s ease, visibility 0s .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .45s ease; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(4, 10, 22, .96); }
.lightbox-stage {
  position: relative; z-index: 1;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(3.4rem, 8vh, 5rem) clamp(.8rem, 6vw, 5rem);
}
.lightbox-stage img {
  max-width: 100%; max-height: 100%;
  width: auto; height: auto;
  object-fit: contain;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .6);
  opacity: 1; transition: opacity .3s ease;
}
.lightbox-stage img.is-switching { opacity: 0; }
.lightbox-caption {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 1.1rem;
  display: flex; justify-content: center; gap: 1.4rem; align-items: baseline;
  color: rgba(234, 240, 247, .85); pointer-events: none;
}
.lightbox-caption #lbTitle { font-family: var(--serif); font-style: italic; font-size: 1.05rem; }
.lightbox-caption #lbCount { font-size: .74rem; letter-spacing: .24em; }
.lb-btn {
  position: absolute; z-index: 3;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--ice); background: rgba(234, 240, 247, .08);
  backdrop-filter: blur(8px); border: 1px solid rgba(234, 240, 247, .18);
  transition: background .3s, transform .3s var(--ease-out);
}
.lb-btn:hover { background: rgba(234, 240, 247, .2); transform: scale(1.06); }
.lb-btn svg { width: 22px; height: 22px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-prev:hover { transform: translateY(-50%) scale(1.06); }
.lb-next:hover { transform: translateY(-50%) scale(1.06); }
body.lb-locked { overflow: hidden; }

/* --------------- Responsive --------------- */
@media (max-width: 1024px) {
  .mosaic-grid { columns: 2; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .burger { display: block; }

  .whyblue-inner, .cindy-inner { grid-template-columns: 1fr; }
  .whyblue-media { max-width: 30rem; }
  .cindy-media { max-width: 26rem; margin-inline: auto 2rem; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card, .project-card:nth-child(4n+1), .project-card:nth-child(4n+2),
  .project-card:nth-child(4n+3), .project-card:nth-child(4n+4) { grid-column: span 1; }
  .project-card img { aspect-ratio: 4 / 3.2; }

  .service { grid-template-columns: auto 1fr; }
  .service-arrow { display: none; }

  .cindy-facts { grid-template-columns: 1fr 1fr; }
  .testi-slider { min-height: 20rem; }

  .lb-prev { left: .4rem; }
  .lb-next { right: .4rem; }
  .lb-btn { width: 46px; height: 46px; }
}

@media (max-width: 560px) {
  .mosaic-grid { columns: 2; }
  .cindy-facts { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .hero-actions .btn { padding: .9rem 1.6rem; font-size: .74rem; }
  .outdoors-card img { height: clamp(260px, 42vh, 340px); }
  .brand-main { font-size: 1.4rem; }
  .testi-slider { min-height: 22rem; }
}

/* --------------- Screenshot mode (dev) --------------- */
.shot-mode { scroll-behavior: auto; }
.shot-mode .preloader { display: none; }
.shot-mode .reveal, .shot-mode .hero-content > *,
.shot-mode .hero-title .line > span, .shot-mode .hero-title .line > em {
  opacity: 1 !important; transform: none !important; transition: none !important;
}
.shot-mode .hero-slide.is-active img { animation: none; transform: none; }
.shot-mode .marquee-track { animation-play-state: paused; }
.shot-mode .hero { min-height: 820px; height: 820px; }

/* --------------- Reduced motion --------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .preloader { transition: opacity .3s, visibility 0s .3s; }
  .preloader.is-done { transform: none; opacity: 0; }
  .preloader-word span, .preloader-sub { animation-duration: .01s; animation-delay: 0s; }
  .hero-slide.is-active img { animation: none; transform: none; }
  .marquee-track { animation: none; }
  .scroll-hint-line::after { animation: none; }
  .reveal, .hero-content > *, .hero-title .line > span, .hero-title .line > em {
    opacity: 1 !important; transform: none !important; transition: none !important;
  }
  .project-card img, .outdoors-card img, .mosaic-item img { transition: none; }
  [data-parallax] { transform: none !important; }
}
