/* ==========================================================================
   ORYA
   White background / Black text / Deep red / Navy blue
   Scroll-driven 3D house tour.
   ========================================================================== */

:root {
  --white: #ffffff;
  --black: #111111;
  --red: #9B111E;
  --red-dim: rgba(155,17,30,0.08);
  --red-glow: rgba(155,17,30,0.25);
  /* Second accent unified to a deep red (was navy) so the palette reads
     all-red instead of alternating red/blue, while keeping the two-tone format. */
  --navy: #5E0A12;
  --navy-dim: rgba(94,10,18,0.08);
  --navy-glow: rgba(94,10,18,0.25);
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #e5e5e5;
  --gray-400: #737373;
  --gray-600: #525252;
  --gray-800: #262626;
  --gray-900: #171717;
  --line: rgba(0,0,0,0.1);
  --line-strong: rgba(0,0,0,0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-script: "Great Vibes", cursive;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* Ensure the [hidden] attribute always wins, even on elements given an
   explicit display (e.g. .booking__grid). Without this, JS that toggles
   `el.hidden = true` fails to hide grid/flex containers. */
[hidden] { display: none !important; }

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--black);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--red); color: var(--white); }

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

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; letter-spacing: -0.03em; }

.section__head { margin-bottom: clamp(48px, 8vw, 80px); }
.section__head--center { text-align: center; }
.section__title { font-size: clamp(2.2rem, 5vw, 4rem); }
.section__head .eyebrow { margin-bottom: 18px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
}

.text-red { color: var(--red); }
.text-navy { color: var(--navy); }
.eyebrow--light {
  background: var(--red);
  color: #fff;
  padding: 7px 14px;
  border-radius: 5px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: -0.01em;
  transition: transform .25s var(--ease), box-shadow .25s, background .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--white);
  color: var(--black);
  border: 1.5px solid var(--black);
  box-shadow: none;
}
.btn--primary:hover {
  background: var(--black);
  color: var(--white);
  border-color: var(--white);
  box-shadow: 0 0 0 1.5px var(--white), 0 14px 32px -14px rgba(0,0,0,0.45);
}

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--black);
}
.btn--ghost:hover { background: rgba(0,0,0,0.04); }

.btn--red {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 12px 32px -12px var(--red-glow);
}
.btn--red:hover { background: #b91c1c; }

.btn--lg { padding: 17px 34px; font-size: 1rem; }
.btn--block { width: 100%; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 100;
  padding-block: 20px;
  transition: background .35s var(--ease), backdrop-filter .35s, border-color .35s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}

.nav__inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { color: var(--black); }

/* ---------- Brandmark (cursive Orya + CONSTRUCTION lockup) ---------- */
.brandmark {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  line-height: 1;
  text-decoration: none;
}
.brandmark__name {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: normal;
  text-transform: none;
  color: inherit;
}
.brandmark__sub {
  display: flex;
  justify-content: space-between;
  width: 100%;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  color: inherit;
}
.brandmark__sub i { font-style: normal; }

/* small lockup: nav + footer */
.brandmark--sm .brandmark__name { font-size: 2.76rem; }
.brandmark--sm .brandmark__sub {
  font-size: 0.6rem;
  letter-spacing: 0;
  padding: 3px 2px 0;
}

/* large lockup: hero */
.brandmark--lg { margin-bottom: 16px; }
.brandmark--lg .brandmark__name { font-size: clamp(2.3rem, 4.6vw, 3.4rem); }
.brandmark--lg .brandmark__sub {
  font-size: clamp(0.5rem, 0.9vw, 0.7rem);
  padding: 3px 2px 0;
}

.nav__links {
  display: flex;
  gap: 22px;
  margin-left: auto;
}
.nav__links a {
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color .25s;
  white-space: nowrap;
}
.nav__links a:hover { color: var(--black); }

.nav__toggle {
  display: none;
  width: 32px;
  height: 24px;
  flex-direction: column;
  justify-content: space-between;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--black);
  border-radius: 2px;
}

.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .4s var(--ease);
}
.menu.is-open { opacity: 1; pointer-events: auto; }
.menu a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}

/* ---------- Scroll-through renovations hero ---------- */
.tour {
  position: relative;
  height: 640vh;
  background: var(--black);
}

.tour__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--black);
}

/* Cross-fading stock-photo backgrounds, one per renovation type */
.tour__layers {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.tour__layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.08);
  transition: opacity 1s var(--ease), transform 7s ease-out;
  will-change: opacity, transform;
}
.tour__layer.is-active {
  opacity: 1;
  transform: scale(1);
}

.tour__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 78% 22%, rgba(155,17,30,0.30) 0%, transparent 45%),
    linear-gradient(180deg, rgba(8,12,20,0.55) 0%, rgba(8,12,20,0.32) 42%, rgba(8,12,20,0.86) 100%);
  pointer-events: none;
}

.tour__text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  pointer-events: none;
  width: min(90vw, 1000px);
}

.tour__label {
  color: #fff;
}
.tour__label .brandmark__sub { color: rgba(255,255,255,0.78); }

.tour__heading {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 5.4vw, 4rem);
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.03em;
  color: #fff;
  text-transform: uppercase;
  -webkit-text-stroke: 1.5px #fff;
  -webkit-text-fill-color: transparent;
  paint-order: stroke fill;
  text-shadow: 0 2px 18px rgba(0,0,0,0.65), 0 1px 3px rgba(0,0,0,0.5);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
/* Rotating renovation word: cursive script on its own line, matching the Orya logo */
.tour__heading span {
  display: block;
  margin-top: 0.12em;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.9em;
  line-height: 0.9;
  letter-spacing: normal;
  text-transform: none;
  color: var(--red);
  -webkit-text-fill-color: currentColor;
  -webkit-text-stroke: 3.2px #fff;
  paint-order: stroke fill;
  text-shadow: 0 2px 22px rgba(0,0,0,0.55), 0 1px 4px rgba(0,0,0,0.6);
  transition: color .35s var(--ease);
}
.tour__heading.is-changing {
  opacity: 0;
  transform: translateY(-12px);
}

.tour__desc {
  margin-top: 24px;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  color: rgba(255,255,255,0.88);
  max-width: 480px;
  margin-inline: auto;
}

.tour__cta {
  pointer-events: auto;
  margin-top: 34px;
}

.tour__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.75);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: fadePulse 2.5s ease-in-out infinite;
}
.tour__scroll__line {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, #fff, transparent);
}
@keyframes fadePulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.tour__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--navy));
  width: 0%;
  z-index: 4;
  transition: width .1s linear;
}

.tour__tooltip {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 5;
  background: rgba(255,255,255,0.96);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--black);
  max-width: 220px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .2s, transform .2s var(--ease);
  backdrop-filter: blur(10px);
  box-shadow: 0 16px 40px -12px rgba(0,0,0,0.15);
}
.tour__tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.tour__tooltip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  color: var(--red);
}
.tour__tooltip span {
  display: block;
  font-size: 0.82rem;
  color: var(--gray-600);
}

/* ---------- Content after tour ---------- */
.content {
  position: relative;
  z-index: 10;
  background: var(--white);
}

/* ---------- Noscript ---------- */
.noscript {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 200;
  background: var(--red);
  color: var(--white);
  padding: 14px;
  text-align: center;
  font-weight: 600;
}

/* ---------- Stats ---------- */
.stats {
  padding-block: clamp(60px, 10vw, 100px);
  border-bottom: 1px solid var(--line);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat {
  text-align: center;
  padding: 24px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}
.stat__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--black);
}

/* ---------- Services ---------- */
.services {
  padding-block: clamp(80px, 14vw, 160px);
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  transition: transform .35s var(--ease), border-color .35s, background .35s, box-shadow .35s;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .5s var(--ease);
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--line-strong);
  background: var(--white);
  box-shadow: 0 24px 60px -24px rgba(0,0,0,0.12);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card__num {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}
.service-card h3 {
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  text-align: center;
  color: var(--red);
  margin-bottom: 12px;
}
/* keep the "Not sure where to start?" CTA card heading in the display face */
.service-card--cta h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.6rem;
  letter-spacing: -0.03em;
  color: inherit;
}
.service-card p {
  color: var(--gray-600);
  font-size: 0.96rem;
  text-transform: none;
  margin-bottom: 28px;
}
.service-card__link {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--red);
  transition: color .25s;
}
.service-card__link:hover { color: var(--black); }

.service-card--cta {
  background: var(--navy-dim);
  border-color: rgba(94,10,18,0.15);
}
.service-card--cta h3 { color: var(--black); }
.service-card--cta .btn { margin-top: 8px; }

/* ---------- Process ---------- */
.process {
  padding-block: clamp(80px, 14vw, 160px);
  background: var(--gray-100);
  border-top: 1px solid var(--line);
}
.process__steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process__step {
  position: relative;
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.process__step__num {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(94,10,18,0.10);
  line-height: 1;
}
.process__step__time {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-dim);
  padding: 5px 12px;
  border-radius: 999px;
  margin-top: 4px;
}
.process__step h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  margin-top: 16px;
}
.process__step p { color: var(--gray-600); font-size: 0.96rem; }
.process__step__link { display: inline-block; margin-top: 14px; font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--red); }
.process__step__link:hover { opacity: 0.75; }

.process__lead {
  margin-top: 20px;
  color: var(--gray-600);
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  max-width: 46ch;
  margin-inline: auto;
}

.process__foot {
  margin-top: clamp(28px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- Process timeline (spans all three steps) ---------- */
.ptl { margin-top: clamp(26px, 3vw, 40px); }
.ptl__rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
}
/* the connecting line runs between the first and last node, deep red to navy */
.ptl__rail::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 16.666%;
  right: 16.666%;
  height: 3px;
  transform: translateY(-50%);
  background: linear-gradient(90deg, var(--red), var(--navy));
  border-radius: 3px;
}
.ptl__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}
.ptl__dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gray-50);
  border: 3px solid var(--navy);
}
.ptl__dot--red { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 4px var(--red-dim); }
.ptl__dot--mid { border-color: #7e0a16; background: #fff; }
.ptl__dot--navy { border-color: var(--navy); background: var(--navy); box-shadow: 0 0 0 4px var(--navy-dim); }
.ptl__t {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-400);
}
.ptl__label {
  text-align: center;
  margin-top: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--gray-600);
}
.ptl__label strong {
  font-weight: 700;
  color: var(--navy);
  background: linear-gradient(90deg, var(--red), var(--navy));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Work ---------- */
.work {
  padding-block: clamp(80px, 14vw, 160px);
}
.work__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: repeat(2, 320px);
  gap: 20px;
}
.work-card {
  position: relative;
  border-radius: var(--radius);
  padding: 34px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid var(--line);
}
.work-card__bg {
  position: absolute;
  inset: 0;
  background: var(--bg);
  z-index: 0;
}
.work-card__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--white);
  opacity: 0.45;
}
.work-card > * { position: relative; z-index: 1; }
.work-card--lg { grid-row: span 2; }
.work-card__tag {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.92);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
  color: var(--red);
}
.work-card h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.work-card p {
  color: var(--gray-800);
  font-size: 0.95rem;
  max-width: 360px;
}

/* ---------- About Orya ---------- */
.about {
  padding-block: clamp(80px, 14vw, 160px);
}
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: center;
}
.about__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: 0 30px 60px -40px rgba(94,10,18,0.6);
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px var(--line);
  border-radius: var(--radius);
}
.about__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about__badge {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  right: 20px;
  display: grid;
  gap: 2px;
  padding: 14px 18px;
  background: rgba(94,10,18,0.82);
  backdrop-filter: blur(6px);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--red);
}
.about__badge-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: 0.01em;
}
.about__badge-role {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
}
.about__copy .eyebrow { margin-bottom: 16px; }
.about__copy p {
  color: var(--gray-600);
  font-size: 1.05rem;
  line-height: 1.65;
  margin-top: 20px;
  max-width: 560px;
}
.about__pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}
.about__pillar {
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--line-strong);
}
.about__pillar--red { border-left-color: var(--red); }
.about__pillar--navy { border-left-color: var(--navy); }
.about__pillar h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--black);
}
.about__pillar p {
  margin-top: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

/* ---------- Why ---------- */
/* ---------- Why Orya (blueprint) ---------- */
.why {
  position: relative;
  overflow: hidden;
  padding-block: clamp(80px, 14vw, 160px);
  border-top: 1px solid var(--navy);
  color: #fff;
  background-color: #1E5AA8;
  background-image:
    linear-gradient(rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.07) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px),
    radial-gradient(circle at 78% 30%, rgba(255,255,255,0.12), transparent 55%),
    linear-gradient(150deg, #2867B8 0%, #17457F 100%);
  background-size:
    28px 28px, 28px 28px, 140px 140px, 140px 140px, 100% 100%, 100% 100%;
}
.why .container { position: relative; z-index: 1; }
/* drafting registration marks */
.why__reg {
  position: absolute;
  width: 26px;
  height: 26px;
  z-index: 2;
  pointer-events: none;
}
.why__reg::before, .why__reg::after {
  content: "";
  position: absolute;
  background: rgba(255,255,255,0.5);
}
.why__reg::before { width: 100%; height: 1px; top: 50%; }
.why__reg::after  { height: 100%; width: 1px; left: 50%; }
.why__reg--tl { top: 20px; left: 20px; }
.why__reg--tr { top: 20px; right: 20px; }
.why__reg--bl { bottom: 20px; left: 20px; }
.why__reg--br { bottom: 20px; right: 20px; }

.why__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: center;
}
.why .section__title {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
}
.why__copy p {
  color: rgba(255,255,255,0.72);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.7;
  margin-block: 26px;
  max-width: 480px;
}
.why__list {
  list-style: none;
  display: grid;
  gap: 16px;
}
.why__list li {
  position: relative;
  padding-left: 34px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
}
/* blueprint crosshair marker */
.why__list li::before,
.why__list li::after {
  content: "";
  position: absolute;
  background: var(--red);
}
.why__list li::before { left: 0;  top: 8px; width: 16px; height: 2px; }
.why__list li::after  { left: 7px; top: 1px; width: 2px;  height: 16px; }

.why__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
}
.why__blueprint {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.bp-svg {
  width: min(440px, 92%);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 0 24px rgba(0,0,0,0.35));
}
@media (prefers-reduced-motion: reduce) {
  .bp-svg animateTransform { display: none; }
}
.why__metric {
  position: relative;
  z-index: 1;
  text-align: center;
}
.why__metric span {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 7rem);
  font-weight: 700;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.03em;
}
.why__metric small {
  display: inline-block;
  margin-top: 12px;
  color: #fff;
  background: var(--red);
  padding: 7px 16px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.why__spec {
  position: absolute;
  bottom: 6px;
  right: 6px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.6);
}

/* ---------- Contact ---------- */
.contact {
  padding-block: clamp(80px, 14vw, 160px);
}
.contact__box {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.contact__title { margin-bottom: 20px; }
.contact__lead {
  color: var(--gray-600);
  font-size: 1.05rem;
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 44px;
}
.contact__form {
  display: grid;
  gap: 16px;
  text-align: left;
  margin-bottom: 24px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%;
  padding: 16px 18px;
  background: var(--gray-50);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--black);
  font-family: var(--font-body);
  font-size: 0.98rem;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--gray-400); }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px var(--red-dim);
  background: var(--white);
}
.contact__note {
  color: var(--gray-600);
  font-size: 0.92rem;
}
.contact__note a { color: var(--red); }

/* ---------- Footer ---------- */
.footer {
  padding-block: 60px 30px;
  border-top: 1px solid var(--line);
  background: var(--gray-100);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer__brand p {
  color: var(--gray-600);
  max-width: 280px;
  margin-top: 16px;
  font-size: 0.95rem;
}
.footer__col h4 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-400);
  margin-bottom: 18px;
}
.footer__col a {
  display: block;
  color: var(--gray-600);
  padding-block: 6px;
  font-size: 0.95rem;
  transition: color .2s;
}
.footer__col a:hover { color: var(--red); }
.footer__bottom {
  padding-top: 30px;
  border-top: 1px solid var(--line);
  color: var(--gray-400);
  font-size: 0.88rem;
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Staggered reveals */
.services__grid .service-card:nth-child(1) { transition-delay: 0ms; }
.services__grid .service-card:nth-child(2) { transition-delay: 80ms; }
.services__grid .service-card:nth-child(3) { transition-delay: 160ms; }
.services__grid .service-card:nth-child(4) { transition-delay: 240ms; }
.services__grid .service-card:nth-child(5) { transition-delay: 320ms; }
.services__grid .service-card:nth-child(6) { transition-delay: 400ms; }

.process__steps .process__step:nth-child(1) { transition-delay: 0ms; }
.process__steps .process__step:nth-child(2) { transition-delay: 120ms; }
.process__steps .process__step:nth-child(3) { transition-delay: 240ms; }

.work__grid .work-card:nth-child(1) { transition-delay: 0ms; }
.work__grid .work-card:nth-child(2) { transition-delay: 120ms; }
.work__grid .work-card:nth-child(3) { transition-delay: 240ms; }

/* ---------- All-caps treatment: nav, services, process ---------- */
.nav__links a,
.menu a,
.nav__inner .btn,
.menu .btn {
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.services {
  text-transform: uppercase;
}
.services p { letter-spacing: 0.02em; }
/* Process: headings + timeline stay uppercase, step subtext goes lowercase */
.process .section__head,
.process .ptl,
.process__foot {
  text-transform: uppercase;
}
.process__lead,
.process__steps,
.process__step__time {
  text-transform: lowercase;
}

/* ---------- Investors ---------- */
.invest {
  padding-block: clamp(80px, 14vw, 160px);
  background: #101215;
  color: #fff;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.invest .section__title { color: #fff; text-transform: uppercase; }
.invest__lead {
  max-width: 660px;
  margin: 18px auto 0;
  color: rgba(255,255,255,0.68);
  font-size: 1.05rem;
  line-height: 1.6;
}
.invest__track { margin-top: clamp(48px, 8vw, 80px); }
.invest__track-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}
.invest__cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.case {
  background: #191b1f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.case__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.case__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.case:hover .case__media img { transform: scale(1.05); }
.case__tag {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 12px;
  background: rgba(155,17,30,0.92);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 4px;
}
.case__body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.case__body h3 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}
.case__desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 18px;
}
.case__metrics {
  list-style: none;
  display: grid;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: auto;
}
.case__metrics li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.9rem;
}
.case__metrics li span { color: rgba(255,255,255,0.55); }
.case__metrics li strong {
  font-family: var(--font-display);
  color: #fff;
  font-weight: 600;
}
.case__return {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.case__return strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ff5a6a;
  letter-spacing: -0.02em;
}
.case__return em {
  font-style: normal;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
}

.invest__models {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: clamp(40px, 6vw, 64px);
}
.model {
  padding: 4px 0 4px 20px;
  border-left: 3px solid rgba(255,255,255,0.2);
}
.model--red { border-left-color: var(--red); }
.model--navy { border-left-color: var(--navy); }
.model h4 {
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 10px;
}
.model p {
  color: rgba(255,255,255,0.62);
  font-size: 0.92rem;
  line-height: 1.55;
}
.invest__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-top: clamp(48px, 7vw, 72px);
  text-align: center;
}
.invest__cta-note {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.02em;
}

/* ---------- Renovation value calculator ---------- */
.value {
  padding-block: clamp(80px, 14vw, 160px);
  background: var(--gray-50);
  border-top: 1px solid var(--line);
}
.value__lead {
  max-width: 640px;
  margin: 18px auto 0;
  color: var(--gray-600);
  font-size: 1.05rem;
}
.calc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}
.calc__main { min-width: 0; }

/* value input + slider */
.calc__value {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 24px;
  margin-bottom: 20px;
}
.calc__value > label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.calc__value-input {
  display: flex;
  align-items: baseline;
  gap: 4px;
  border-bottom: 2px solid var(--navy);
  padding-bottom: 8px;
  width: fit-content;
}
.calc__currency {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}
#home-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--black);
  border: 0;
  background: transparent;
  width: 6.2em;
  padding: 0;
}
#home-value:focus { outline: none; }
.calc__range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  border-radius: 4px;
  background: var(--gray-200);
  margin-top: 20px;
}
.calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  cursor: pointer;
}
.calc__range::-moz-range-thumb {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  cursor: pointer;
}
.calc__scale {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 0.75rem;
  color: var(--gray-400);
}

/* improvement checkbox cards */
.calc__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.calc__item {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 16px 16px 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s var(--ease);
}
.calc__item:hover { border-color: var(--line-strong); }
.calc__item input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.calc__check {
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--gray-200);
  border-radius: 6px;
  margin-top: 2px;
  position: relative;
  transition: border-color 0.2s, background 0.2s;
}
.calc__check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 6px;
  height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.18s var(--ease);
}
.calc__item-body { display: grid; gap: 3px; }
.calc__item-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--black);
  line-height: 1.15;
}
.calc__item-note {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.3;
}
.calc__item-pct {
  margin-left: auto;
  align-self: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--navy);
  white-space: nowrap;
}
.calc__item:has(input:checked) {
  border-color: var(--navy);
  background: var(--navy-dim);
  box-shadow: 0 0 0 1px var(--navy);
}
.calc__item:has(input:checked) .calc__check {
  background: var(--red);
  border-color: var(--red);
}
.calc__item:has(input:checked) .calc__check::after { transform: rotate(45deg) scale(1); }
.calc__item:has(input:checked) .calc__item-pct { color: var(--red); }

/* result panel */
.calc__result {
  position: sticky;
  top: 96px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 24px;
  box-shadow: 0 24px 48px -32px rgba(0,0,0,0.3);
}
.calc__result-eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gray-600);
}
.calc__new {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
  margin: 8px 0 14px;
  letter-spacing: -0.02em;
}
.calc__added-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--gray-600);
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.calc__added {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--red);
}
.calc__meter {
  height: 8px;
  border-radius: 8px;
  background: var(--gray-200);
  overflow: hidden;
  margin: 14px 0 18px;
}
.calc__meter-fill {
  height: 100%;
  width: 0;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--navy), var(--red));
  transition: width 0.4s var(--ease);
}
.calc__breakdown {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 22px;
  max-height: 240px;
  overflow-y: auto;
}
.calc__breakdown li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--gray-800);
}
.calc__breakdown li strong {
  font-family: var(--font-display);
  color: var(--navy);
  white-space: nowrap;
}
.calc__empty { color: var(--gray-400); font-style: italic; }
.calc__disc {
  margin-top: 14px;
  font-size: 0.72rem;
  color: var(--gray-400);
  line-height: 1.4;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .why__grid { grid-template-columns: 1fr; }
  .why__visual { min-height: 320px; }
  .calc { grid-template-columns: 1fr; }
  .calc__result { position: static; }
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 460px; margin-inline: auto; }
  .invest__cases { grid-template-columns: 1fr; }
  .invest__models { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav__links, .nav__inner .btn { display: none; }
  .nav__toggle { display: flex; }
  .tour__heading { font-size: clamp(2rem, 12vw, 4rem); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); padding-bottom: 30px; }
  .services__grid { grid-template-columns: 1fr; }
  .calc__items { grid-template-columns: 1fr; }
  .about__pillars { grid-template-columns: 1fr; }
  .invest__models { grid-template-columns: 1fr; }
  .process__steps { grid-template-columns: 1fr; }
  .work__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .work-card { min-height: 260px; }
  .work-card--lg { grid-row: span 1; }
  .form__row { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat:last-child { border-bottom: 0; }
}

/* ==========================================================================
   BEFORE / AFTER SLIDER
   ========================================================================== */
.ba { position: relative; --pos: 50%; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--gray-100); border: 1px solid var(--line); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: grayscale(0.8) sepia(0.25) brightness(0.72) contrast(0.9); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: #fff; transform: translateX(-1px); box-shadow: 0 0 0 1px rgba(0,0,0,0.2); pointer-events: none; }
.ba__grip { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 46px; height: 46px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px var(--red-glow); }
.ba__grip svg { width: 20px; height: 20px; }
.ba__tag { position: absolute; top: 14px; z-index: 2; font-family: var(--font-display); font-size: 0.64rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px); padding: 6px 11px; border-radius: 999px; pointer-events: none; }
.ba__tag--before { left: 14px; }
.ba__tag--after { right: 14px; }
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.ba:focus-within { outline: 2px solid var(--red); outline-offset: 3px; }

/* ==========================================================================
   WORK (case studies — showcase photos)
   ========================================================================== */
.work__cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 26px); }
/* Homepage work cards are light and readable on the white Work section.
   (The dark .case background further up is only used on the investors page.) */
.work .case { background: var(--white); border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.work .case:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 24px 48px -28px rgba(0,0,0,0.22); }
.case__shot { aspect-ratio: 4 / 3; overflow: hidden; }
.case__shot img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease); }
.work .case:hover .case__shot img { transform: scale(1.04); }
.case__info { padding: clamp(18px, 2.2vw, 24px); display: flex; flex-direction: column; flex: 1; }
.case__info h3 { font-size: 1.3rem; margin: 0 0 6px; color: var(--black); }
.case__info > p { color: var(--gray-600); font-size: 0.94rem; line-height: 1.55; }
.case__stats { display: flex; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.case__stats div { flex: 1; }
.case__stats b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; color: var(--black); }
.case__stats span { font-size: 0.76rem; color: var(--gray-400); }

/* ==========================================================================
   PRICING BANDS
   ========================================================================== */
.pricing { padding: clamp(80px, 12vw, 140px) 0; background: var(--gray-50); }
.bands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.band { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; gap: 8px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.band:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: 0 24px 48px -28px rgba(0,0,0,0.25); }
.band small { font-family: var(--font-display); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray-400); }
.band__range { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 1.9vw, 1.8rem); letter-spacing: -0.02em; color: var(--navy); }
.band p { font-size: 0.88rem; color: var(--gray-600); }
.band a { margin-top: auto; padding-top: 10px; font-family: var(--font-display); font-weight: 600; font-size: 0.88rem; color: var(--red); transition: transform .25s var(--ease); display: inline-flex; align-items: center; gap: 6px; }
.band a:hover { transform: translateX(4px); }
.bands-note { margin-top: 26px; font-size: 0.88rem; color: var(--gray-400); max-width: 64ch; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-section { padding: clamp(80px, 12vw, 140px) 0; }
.faq { max-width: 820px; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 4px; font-family: var(--font-display); font-weight: 600; font-size: clamp(1.05rem, 1.7vw, 1.3rem); letter-spacing: -0.01em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary .faq__icon { position: relative; flex: none; width: 18px; height: 18px; }
.faq summary .faq__icon::before, .faq summary .faq__icon::after { content: ""; position: absolute; top: 50%; left: 50%; background: var(--red); transition: transform .35s var(--ease); }
.faq summary .faq__icon::before { width: 18px; height: 2px; transform: translate(-50%,-50%); }
.faq summary .faq__icon::after { width: 2px; height: 18px; transform: translate(-50%,-50%); }
.faq details[open] summary .faq__icon::after { transform: translate(-50%,-50%) scaleY(0); }
.faq details p { padding: 0 4px 26px; color: var(--gray-600); max-width: 62ch; }

@media (max-width: 1024px) {
  .bands { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .work__cases { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .bands { grid-template-columns: 1fr; }
}

/* ---------- Mid-page CTA band ---------- */
.cta-band { padding: clamp(56px, 8vw, 96px) 0; }
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: clamp(32px, 5vw, 56px);
  position: relative; overflow: hidden;
}
.cta-band__inner::after {
  content: ""; position: absolute; top: -40%; right: -10%; width: 420px; height: 420px;
  background: radial-gradient(circle, var(--red-glow), transparent 65%); pointer-events: none;
}
.cta-band__title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 700; letter-spacing: -0.03em; line-height: 1.05; max-width: 20ch; position: relative; }
.cta-band__text { margin-top: 12px; color: rgba(255,255,255,0.8); max-width: 46ch; position: relative; }
.cta-band .btn { position: relative; flex: none; }

/* ---------- Blog ---------- */
.blog { padding: clamp(72px, 10vw, 130px) 0; background: var(--gray-50); }
.blog .section__head { position: relative; }
.blog__all { position: absolute; right: 0; bottom: 6px; font-family: var(--font-display); font-weight: 600; color: var(--red); font-size: 0.95rem; transition: gap .2s; }
.blog__all:hover { opacity: 0.75; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.post { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.post:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25); }
.post__media { position: relative; display: block; aspect-ratio: 3/2; overflow: hidden; }
.post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post:hover .post__media img { transform: scale(1.06); }
.post__cat { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,0.94); color: var(--black); font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.post__body { padding: 24px 24px 28px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post__meta { font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gray-400); }
.post__body h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.post__body p { color: var(--gray-600); font-size: 0.96rem; flex: 1; }
.post__link { font-family: var(--font-display); font-weight: 600; color: var(--red); font-size: 0.95rem; margin-top: 4px; }
.post__link:hover { opacity: 0.75; }
.blog__cta { margin-top: clamp(36px, 5vw, 56px); display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; }
.blog__cta p { font-family: var(--font-display); font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 500; }

@media (max-width: 900px) {
  .blog__grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .blog__all { position: static; display: inline-block; margin-top: 16px; }
  .cta-band__inner { flex-direction: column; align-items: flex-start; }
}

/* CTA band button: white on navy for contrast */
.cta-band .btn--primary { background: #fff; color: var(--black); border-color: #fff; }
.cta-band .btn--primary:hover { background: var(--black); color: #fff; border-color: #fff; }

/* ==========================================================================
   BOOKING PAGE (book.html)
   ========================================================================== */
.book-page { background: var(--gray-50); }
.book__back { font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; color: var(--gray-600); }
.book__back:hover { color: var(--black); }

.booking { padding-top: 120px; padding-bottom: clamp(60px, 10vw, 120px); min-height: 100vh; }

/* stepper */
.stepper { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.stepper__item { font-family: var(--font-display); font-weight: 600; font-size: 0.82rem; letter-spacing: 0.02em; color: var(--gray-400); display: inline-flex; align-items: center; gap: 8px; }
.stepper__item::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--gray-200); }
.stepper__item.is-done { color: var(--gray-600); }
.stepper__item.is-done::before { background: var(--red); }
.stepper__item.is-current { color: var(--black); }
.stepper__item.is-current::before { background: var(--red); box-shadow: 0 0 0 4px var(--red-dim); }
.stepper__sep { width: 26px; height: 1px; background: var(--line-strong); }

.booking__head { margin-bottom: 32px; }
.booking__title { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.03em; }
.booking__sub { margin-top: 14px; color: var(--gray-600); max-width: 56ch; }

/* layout */
.booking__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; }
.cal, .summary { min-width: 0; }
.cal__block { min-width: 0; }
.cal__days { min-width: 0; }

/* calendar panel */
.cal { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 34px); }
.cal__block + .cal__block { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.cal__label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.95rem; margin-bottom: 14px; }
.cal__label em { font-style: normal; font-weight: 500; color: var(--gray-400); font-size: 0.82rem; margin-left: 6px; }

.field-select, .cal__cityrow select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 0.98rem; color: var(--black); background: var(--white);
  appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23525252' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 16px center; cursor: pointer;
}
.field-select:focus { outline: none; border-color: var(--red); }

/* day pills */
.cal__days { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: thin; }
.day { flex: 0 0 auto; width: 62px; padding: 12px 0; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); background: var(--white); text-align: center; transition: .2s var(--ease); }
.day small { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--gray-400); }
.day b { display: block; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.1; margin: 2px 0; }
.day em { font-style: normal; font-size: 0.68rem; color: var(--gray-400); }
.day:hover { border-color: var(--black); }
.day.is-sel { background: var(--navy); border-color: var(--navy); color: var(--white); }
.day.is-sel small, .day.is-sel em { color: rgba(255,255,255,0.7); }

/* time slots */
.cal__slots { min-height: 60px; }
.cal__hint { color: var(--gray-400); font-size: 0.95rem; padding: 8px 0; }
.slotgroup + .slotgroup { margin-top: 18px; }
.slotgroup__name { display: block; font-family: var(--font-display); font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-400); margin-bottom: 10px; }
.slotgroup__row { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 10px; }
.tslot { padding: 13px 8px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-family: var(--font-display); font-weight: 500; font-size: 0.9rem; background: var(--white); transition: .18s var(--ease); }
.tslot:hover:not(.is-off) { border-color: var(--red); color: var(--red); }
.tslot.is-sel { background: var(--red); border-color: var(--red); color: var(--white); }
.tslot.is-off { color: var(--gray-200); border-color: var(--line); background: var(--gray-50); cursor: not-allowed; }

/* summary + form */
.summary { position: sticky; top: 100px; }
.summary__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3vw, 30px); }
.summary__title { font-size: 1.3rem; margin-bottom: 18px; }
.summary__list { list-style: none; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.summary__list li { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; font-size: 0.95rem; }
.summary__list li span { color: var(--gray-400); }
.summary__list li b { font-family: var(--font-display); font-weight: 600; text-align: right; }

.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.82rem; font-weight: 600; margin-bottom: 7px; }
.field input, .field select { width: 100%; padding: 13px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.96rem; color: var(--black); background: var(--white); transition: border-color .2s; }
.field input::placeholder { color: var(--gray-400); }
.field input:focus, .field select:focus { outline: none; border-color: var(--red); }
.field-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.summary__form .btn { margin-top: 6px; }
.summary__form .btn:disabled { opacity: 0.45; cursor: not-allowed; }
.summary__fineprint { margin-top: 12px; font-size: 0.8rem; color: var(--gray-400); text-align: center; }

/* success */
.booking__done { max-width: 560px; margin: 40px auto; text-align: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(36px, 6vw, 64px); }
.booking__done__mark { width: 68px; height: 68px; border-radius: 50%; background: var(--red); color: #fff; font-size: 2rem; display: grid; place-items: center; margin: 0 auto 22px; }
.booking__done h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 12px; }
.booking__done p { color: var(--gray-600); margin-bottom: 26px; }

@media (max-width: 900px) {
  .booking__grid { grid-template-columns: minmax(0, 1fr); }
  .summary { position: static; }
}
@media (max-width: 480px) {
  .field-two { grid-template-columns: 1fr; }
}

/* ---------- Blog author byline ---------- */
.post__body h3 a { color: inherit; transition: color .2s; }
.post__body h3 a:hover { color: var(--red); }
.post__foot { margin-top: auto; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); }
.post__author { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.post__author::before { content: "SO"; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.02em; }
.post__date { font-size: 0.82rem; color: var(--gray-400); white-space: nowrap; }

/* ==========================================================================
   ARTICLE PAGE (posts/*.html)
   ========================================================================== */
.article { padding-top: 120px; padding-bottom: clamp(60px, 9vw, 110px); }
.article__wrap { max-width: 760px; }
.article__back { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; color: var(--gray-600); margin-bottom: 26px; }
.article__back:hover { color: var(--red); }
.article__cat { display: inline-block; font-family: var(--font-display); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin-bottom: 16px; }
.article__title { font-size: clamp(2rem, 5vw, 3.4rem); letter-spacing: -0.03em; line-height: 1.05; }
.article__byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.article__date { font-size: 0.9rem; color: var(--gray-400); }
.article__hero { margin: 30px 0 8px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
.article__hero img { width: 100%; height: 100%; object-fit: cover; }
.article__body { margin-top: 34px; }
.article__body > p, .article__body > ul { font-size: 1.12rem; line-height: 1.75; color: var(--gray-800); margin-bottom: 22px; }
.article__body > p.lead { font-size: 1.3rem; line-height: 1.6; color: var(--black); }
.article__body h2 { font-size: clamp(1.5rem, 3vw, 2rem); letter-spacing: -0.02em; margin: 40px 0 14px; }
.article__body h3 { font-size: 1.2rem; margin: 26px 0 10px; }
.article__body ul { padding-left: 22px; }
.article__body li { margin-bottom: 10px; }
.article__body strong { color: var(--black); }
.article__body blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--red); font-family: var(--font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.4; letter-spacing: -0.01em; }
.article__cta { margin-top: 48px; padding: clamp(28px, 4vw, 44px); background: var(--navy); color: #fff; border-radius: var(--radius); text-align: center; }
.article__cta h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin-bottom: 8px; color: #fff; }
.article__cta p { color: rgba(255,255,255,0.8); margin-bottom: 22px; }
.article__cta .btn--primary { background: #fff; color: var(--black); border-color: #fff; }
.article__cta .btn--primary:hover { background: var(--black); color: #fff; border-color: #fff; }

/* ---------- Service area map ---------- */
.area { padding-block: clamp(72px, 10vw, 130px); background: var(--gray-50); }
.map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 80px -55px rgba(0,0,0,0.45);
}
.map__frame {
  position: relative;
  width: 100%;
  height: clamp(360px, 56vh, 560px);
  overflow: hidden;
}
.map__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__card {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  max-width: 300px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: 0 20px 40px -22px rgba(0,0,0,0.4);
}
.map__card h4 { font-size: 1.05rem; }
.map__card p { font-size: 0.9rem; color: var(--gray-600); margin-top: 3px; }
.map__dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 4px var(--red-dim);
  margin-top: 5px; flex: none;
}
@media (max-width: 560px) {
  .map__card { left: 12px; right: 12px; top: 12px; max-width: none; }
}

/* ---------- Leaflet service-area map ---------- */
#map-canvas { position: absolute; inset: 0; width: 100%; height: 100%; background: var(--gray-100); z-index: 1; }
.leaflet-container { font-family: var(--font-body); background: #e8eaed; }
.map__card { z-index: 1000; }            /* keep the info card above the map panes */
.orya-pin-wrap { background: transparent; border: 0; }
.orya-pin {
  display: block;
  width: 20px;
  height: 20px;
  background: var(--pin);
  border: 2.5px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 3px 6px rgba(0,0,0,0.4);
}
.leaflet-popup-content { font-family: var(--font-body); font-size: 0.9rem; }
.leaflet-popup-content strong { font-family: var(--font-display); }

/* ---------- Subpage header (About / Investors dedicated pages) ---------- */
.page-hero {
  padding-top: clamp(128px, 17vw, 190px);
  padding-bottom: clamp(34px, 6vw, 64px);
  background: var(--gray-50);
  border-bottom: 1px solid var(--line);
}
.page-hero--dark {
  background: #101215;
  color: #fff;
  border-bottom-color: rgba(255,255,255,0.08);
}
.page-hero__crumb {
  font-family: var(--font-display);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.page-hero__crumb a { color: inherit; opacity: 0.72; }
.page-hero__crumb a:hover { opacity: 1; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin-top: 14px;
}
.page-hero p {
  margin-top: 18px;
  max-width: 640px;
  color: var(--gray-600);
  font-size: 1.06rem;
  line-height: 1.6;
}
.page-hero--dark p { color: rgba(255,255,255,0.7); }

/* pages/heroes with a dark backdrop: keep the transparent nav legible (white)
   until it gains its solid scrolled state */
body.has-dark-hero .nav:not(.is-scrolled) .logo,
body.has-dark-hero .nav:not(.is-scrolled) .nav__links a { color: #fff; }
body.has-dark-hero .nav:not(.is-scrolled) .nav__links a:hover { color: rgba(255,255,255,0.7); }
body.has-dark-hero .nav:not(.is-scrolled) .nav__toggle span { background: #fff; }

/* teaser "read more" link used on the homepage brief sections */
.section-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--red);
  transition: gap .25s var(--ease);
}
.section-more:hover { gap: 13px; }
.section-more--light { color: #fff; }

/* investor teaser: compact model chips on the homepage */
.invest__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 720px;
  margin: 30px auto 0;
}
.invest__chip {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.04);
  border-radius: 999px;
  padding: 9px 18px;
}
