/* ============================================================
   Schröder Media & Real Estate — site stylesheet
   Palette: light sky. Text colours are tuned to WCAG AA (>= 4.5:1).
============================================================ */

@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
  src: url('../fonts/cormorant-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/inter.woff2') format('woff2');
}

:root {
  /* Surfaces */
  --bg:          #FFFFFF;
  --bg-soft:     #F5FAFE;
  --bg-sky:      #EEF6FC;
  --bg-sky-2:    #D6ECFA;
  --bg-deep:     #0D1F2E;

  /* Brand sky (decorative: lines, icons, large shapes) */
  --sky:         #3A8FC5;
  --sky-light:   #5AAFD5;
  --sky-bright:  #7FCDE8;
  --sky-grad:    linear-gradient(135deg, #2A7AB0 0%, #5AAFD5 50%, #3A8FC5 100%);

  /* Text-safe accents */
  --accent:      #1F6A9A;   /* 5.9:1 on white, 4.8:1 on #D6ECFA */
  --accent-deep: #1C5080;   /* button background, 8.4:1 with white */
  --accent-text-grad: linear-gradient(120deg, #1C5080 0%, #2A7AB0 55%, #1F6A9A 100%);

  /* Text */
  --ink:         #0C1E2D;
  --body:        #374D5C;
  --muted:       #52687D;   /* 5.8:1 on white */
  --on-dark:     #EEF6FC;
  --on-dark-2:   #B4C6D4;   /* 9.6:1 on --bg-deep */

  --line:        rgba(58,143,197,0.18);
  --line-strong: rgba(58,143,197,0.35);
  --shadow-sm:   0 2px 14px rgba(28,80,128,0.06);
  --shadow-md:   0 12px 40px rgba(28,80,128,0.12);
  --shadow-lg:   0 30px 80px rgba(13,31,46,0.18);

  --f-serif: 'Cormorant Garamond', Georgia, serif;
  --f-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 128px);
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.19, 1, 0.22, 1);
}

/* ============================================================
   BASE
============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  background: var(--bg);
  color: var(--body);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol.steps, ol.breadcrumb { list-style: none; }
.fact-value, .hero-badge strong, .object-price, .price-pair b, .step::before, .service .num { font-variant-numeric: lining-nums; }
strong { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 4px;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 2000;
  background: var(--accent-deep);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 16px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--sky { background: var(--bg-sky); }
.section--soft { background: var(--bg-soft); }
.section--tight { padding: clamp(56px, 7vw, 88px) 0; }

/* ============================================================
   TYPOGRAPHY
============================================================ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--sky);
}
.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--sky);
}
.h-display, .h-section {
  font-family: var(--f-serif);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.h-display { font-size: clamp(44px, 6.4vw, 92px); line-height: 1.04; }
.h-section { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.08; margin-bottom: 24px; }
.h-display em, .h-section em {
  font-style: italic;
  background: var(--accent-text-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.lead {
  font-size: clamp(17px, 1.5vw, 20px);
  color: var(--body);
  max-width: 600px;
}
.text-center { text-align: center; }
.text-center .lead { margin-left: auto; margin-right: auto; }
.section-head { margin-bottom: clamp(40px, 6vw, 72px); }
.section-head--split {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: end;
}
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ============================================================
   BUTTONS & LINKS
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s var(--ease), box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-deep), var(--accent));
  color: #fff;
  box-shadow: 0 10px 30px rgba(28,80,128,0.28);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(28,80,128,0.36); }
.btn-secondary {
  border: 1.5px solid var(--accent);
  color: var(--accent);
  background: rgba(255,255,255,0.7);
}
.btn-secondary:hover { background: var(--accent); color: #fff; }
.btn-light { background: #fff; color: var(--accent-deep); box-shadow: 0 10px 30px rgba(0,0,0,0.18); }
.btn-light:hover { transform: translateY(-2px); }
.btn-ghost-light { border: 1.5px solid rgba(255,255,255,0.75); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  transition: gap 0.25s var(--ease);
}
.link-arrow svg { width: 15px; height: 15px; }
.link-arrow:hover { gap: 13px; }
.prose a, .text-link { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover, .text-link:hover { color: var(--accent-deep); }

/* ============================================================
   NAVIGATION
============================================================ */
#nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: saturate(1.4) blur(18px);
  -webkit-backdrop-filter: saturate(1.4) blur(18px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
#nav.scrolled { border-bottom-color: var(--line); box-shadow: 0 4px 24px rgba(28,80,128,0.07); }
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
/* Brand lockup: icon + live text so the subline stays legible at nav size */
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-icon { width: 34px; height: 44px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.brand-name {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  letter-spacing: 0.2em;
  margin-right: -0.2em;
  text-transform: uppercase;
  color: #1A3A5C;
}
.brand-sub {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid var(--line-strong);
  font-family: var(--f-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--accent);
}
.brand--light .brand-name { color: #fff; }
.brand--light .brand-sub { color: var(--sky-bright); border-top-color: rgba(127,205,232,0.35); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}
.nav-links a {
  position: relative;
  font-size: 15px;
  font-weight: 500;
  color: var(--body);
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--sky);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent-deep); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--accent);
  white-space: nowrap;
}
.nav-phone svg { width: 16px; height: 16px; }
.nav-cta { min-height: 44px; padding: 10px 22px; font-size: 14px; }
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent-deep);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HOME HERO
============================================================ */
.hero {
  position: relative;
  padding: clamp(120px, 14vw, 168px) 0 clamp(64px, 8vw, 104px);
  background:
    radial-gradient(ellipse 60% 70% at 90% 10%, rgba(127,205,232,0.28) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 0% 100%, rgba(58,143,197,0.12) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, var(--bg-sky) 100%);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero .h-display { margin-bottom: 28px; }
.hero .lead { margin-bottom: 40px; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
}
.hero-trust svg { width: 20px; height: 20px; color: var(--sky); flex-shrink: 0; }

.hero-visual {
  position: relative;
  aspect-ratio: 4 / 4.4;
}
.hero-visual figure {
  position: absolute;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--bg-sky-2);
}
.hero-visual img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-main { inset: 0 12% 18% 0; }
.hero-photo-side { right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 6px solid #fff; }
.hero-badge {
  position: absolute;
  left: -18px;
  bottom: 9%;
  z-index: 2;
  background: #fff;
  border-radius: var(--radius);
  padding: 18px 22px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 260px;
}
.hero-badge strong {
  display: block;
  font-family: var(--f-serif);
  font-size: 34px;
  font-weight: 500;
  line-height: 1;
  color: var(--accent-deep);
}
.hero-badge span { font-size: 14px; line-height: 1.35; color: var(--muted); }

/* Page load choreography (only with JS; respects reduced motion) */
.js .hero [data-anim] { opacity: 0; transform: translateY(24px); }
.js .hero.is-ready [data-anim] {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: calc(var(--d, 0) * 110ms);
}

/* ============================================================
   SUBPAGE HERO
============================================================ */
.page-hero {
  position: relative;
  padding: clamp(136px, 15vw, 184px) 0 clamp(56px, 7vw, 88px);
  color: #fff;
  background:
    radial-gradient(ellipse 70% 80% at 85% 0%, rgba(127,205,232,0.35) 0%, transparent 55%),
    linear-gradient(150deg, #133A5E 0%, #1C5080 55%, #23679A 100%);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(90deg, transparent, #000 60%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero .eyebrow { color: #CDEAF7; }
.page-hero .eyebrow::before { background: var(--sky-bright); }
.page-hero h1 {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  max-width: 900px;
}
.page-hero h1 em { font-style: italic; color: #CDEAF7; }
.page-hero p { font-size: clamp(17px, 1.6vw, 20px); color: #E3F0F8; max-width: 640px; }
.page-hero--compact { padding-bottom: 56px; }
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  color: #CDEAF7;
  margin-bottom: 28px;
}
.breadcrumb a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,0.4); }
.breadcrumb li + li::before { content: '/'; margin-right: 8px; opacity: 0.6; }

/* ============================================================
   FACT BAND
============================================================ */
.facts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  margin-top: -56px;
  position: relative;
  z-index: 2;
}
.fact {
  padding: 32px 28px;
  text-align: center;
  border-right: 1px solid var(--line);
}
.fact:last-child { border-right: 0; }
.fact-value {
  display: block;
  font-family: var(--f-serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.fact-label { font-size: 14px; font-weight: 500; color: var(--muted); line-height: 1.4; }

/* ============================================================
   CARDS (generic)
============================================================ */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3vw, 40px);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s ease, border-color 0.35s ease;
}
.card-hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.card h3 {
  font-family: var(--f-serif);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}
.card p { color: var(--body); }
.card p + p { margin-top: 12px; }
.icon-tile {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--bg-sky);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
}
.icon-tile svg { width: 26px; height: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

.check-list { display: grid; gap: 12px; margin-top: 20px; }
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--body);
}
.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--bg-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.5l2.5 2.5L13 6.5' fill='none' stroke='%231F6A9A' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.card-note {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
}

/* ============================================================
   SERVICES (home)
============================================================ */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service {
  position: relative;
  display: flex;
  flex-direction: column;
}
.service .num {
  position: absolute;
  top: 22px;
  right: 26px;
  font-family: var(--f-serif);
  font-size: 44px;
  line-height: 1;
  color: var(--bg-sky-2);
}
.service p { flex: 1; margin-bottom: 22px; }

/* ============================================================
   TEAM
============================================================ */
.team { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.member {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 32px;
  align-items: start;
}
.member-photo {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--bg-sky) 0%, var(--bg-sky-2) 100%);
}
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.member-monogram {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 64px;
  font-style: italic;
  color: var(--accent);
}
.member h3 { margin-bottom: 4px; }
.member-role {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.member blockquote {
  margin-top: 20px;
  padding-left: 18px;
  border-left: 2px solid var(--sky);
  font-family: var(--f-serif);
  font-size: 21px;
  font-style: italic;
  line-height: 1.45;
  color: var(--accent-deep);
}
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tag {
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--bg-sky);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-deep);
}
.quote-band {
  max-width: 900px;
  margin: clamp(56px, 8vw, 96px) auto 0;
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3.2vw, 40px);
  font-style: italic;
  line-height: 1.35;
  color: var(--ink);
}
.quote-band cite { display: block; margin-top: 18px; font-style: normal; font-size: 15px; color: var(--muted); }

/* ============================================================
   PROPERTY CARDS
============================================================ */
.objects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.object {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease;
}
.object:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.object-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--bg-sky-2);
}
.object-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.object:hover .object-media img { transform: scale(1.05); }
.object-status {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #fff;
  color: var(--accent-deep);
  box-shadow: 0 4px 14px rgba(0,0,0,0.12);
}
.object-status--sold { background: var(--bg-deep); color: #fff; }
.object-type {
  position: absolute;
  right: 16px;
  bottom: 16px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(13,31,46,0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.object-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 26px 26px 28px;
}
.object-place {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 10px;
}
.object-place svg { width: 15px; height: 15px; }
.object h3 {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.22;
  color: var(--ink);
  margin-bottom: 18px;
}
.object-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 18px;
}
.object-specs li { font-size: 15px; color: var(--body); }
.object-specs b { font-weight: 600; color: var(--ink); }
.object-foot {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.object-foot .link-arrow { white-space: nowrap; padding-bottom: 2px; }
.object-price {
  font-family: var(--f-serif);
  font-size: 30px;
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1;
}
.object-price small {
  display: block;
  font-family: var(--f-sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: 6px;
}
.object--sold .object-media img { filter: saturate(0.85); }
.object--sold .object-foot { font-size: 15px; color: var(--muted); }

.filter-bar {
  display: inline-flex;
  gap: 6px;
  padding: 6px;
  border-radius: 999px;
  background: var(--bg-sky);
  margin-bottom: 40px;
}
.filter-bar button {
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  color: var(--body);
  min-height: 44px;
}
.filter-bar button[aria-pressed="true"] { background: #fff; color: var(--accent-deep); box-shadow: var(--shadow-sm); }
.objects-group + .objects-group { margin-top: clamp(64px, 8vw, 96px); }
.objects-group[hidden] { display: none; }
.provider-note { margin-top: 28px; font-size: 14px; color: var(--muted); }

/* ============================================================
   MEDIA SHOWCASE (staging comparison)
============================================================ */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.diptych figure {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-md);
}
.diptych figure:last-child { transform: translateY(32px); box-shadow: var(--shadow-lg); }
.diptych img { width: 100%; height: 100%; object-fit: cover; }
.diptych figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(13,31,46,0.78);
}
.diptych-note { margin-top: 48px; }
.media-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin-top: 28px; }
.media-list li { display: flex; gap: 10px; align-items: center; font-weight: 500; color: var(--ink); }
.media-list svg { width: 20px; height: 20px; color: var(--sky); flex-shrink: 0; }

/* ============================================================
   PROCESS
============================================================ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
  position: relative;
}
.step { position: relative; padding-top: 72px; }
.step::before {
  counter-increment: step;
  content: '0' counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--accent-deep);
  background: #fff;
  border: 1.5px solid var(--line-strong);
  box-shadow: var(--shadow-sm);
  z-index: 1;
}
.step::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 56px;
  right: -24px;
  height: 1px;
  background: linear-gradient(90deg, var(--line-strong), transparent);
}
.step:last-child::after { display: none; }
.step h3 {
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}

/* ============================================================
   WHY / FEATURE LIST
============================================================ */
.why {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.why-photo {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-lg);
}
.why-photo img { width: 100%; height: 100%; object-fit: cover; }
.why-photo figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 20px;
  padding: 18px 22px;
  border-radius: 12px;
  background: rgba(255,255,255,0.94);
  font-size: 15px;
  color: var(--body);
}
.why-photo figcaption strong { display: block; font-family: var(--f-serif); font-size: 22px; font-weight: 500; }
.features { display: grid; gap: 26px; margin-top: 36px; }
.feature { display: grid; grid-template-columns: 52px 1fr; gap: 20px; }
.feature .icon-tile { margin: 0; }
.feature h3 {
  font-family: var(--f-serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

/* ============================================================
   MARKET CARDS
============================================================ */
.market-card .badge {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-sky);
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-deep);
  margin-bottom: 18px;
}
.price-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 6px 0 20px; }
.price-pair div {
  padding: 16px;
  border-radius: 10px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  text-align: center;
}
.price-pair b {
  display: block;
  font-family: var(--f-serif);
  font-size: 26px;
  font-weight: 600;
  color: var(--accent-deep);
  line-height: 1.1;
}
.price-pair span { font-size: 13px; font-weight: 500; color: var(--muted); }

/* ============================================================
   FAQ (details/summary)
============================================================ */
.faq { display: grid; gap: 12px; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq details[open] { border-color: var(--line-strong); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 26px;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '';
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v10M1 6h10' stroke='%231F6A9A' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px no-repeat;
  transition: transform 0.3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 26px 24px; color: var(--body); }
.faq .answer p + p, .faq .answer ul { margin-top: 12px; }
.faq .answer ul { display: grid; gap: 6px; padding-left: 20px; list-style: disc; }

/* ============================================================
   CTA BAND
============================================================ */
.cta {
  position: relative;
  padding: clamp(80px, 10vw, 120px) 0;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 20% 0%, rgba(127,205,232,0.3) 0%, transparent 60%),
    linear-gradient(140deg, #133A5E 0%, #1C5080 50%, #23679A 100%);
  overflow: hidden;
}
.cta h2 {
  font-family: var(--f-serif);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 400;
  line-height: 1.08;
  margin-bottom: 18px;
}
.cta h2 em { font-style: italic; color: #CDEAF7; }
.cta p { font-size: 18px; color: #E3F0F8; max-width: 620px; margin: 0 auto 36px; }
.cta .btn-row { justify-content: center; }
.cta-contacts {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 36px;
  margin-top: 40px;
  font-size: 16px;
  color: #E3F0F8;
}
.cta-contacts a, .cta-contacts span { display: inline-flex; align-items: center; gap: 10px; }
.cta-contacts a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.cta-contacts svg { width: 18px; height: 18px; }

/* ============================================================
   CONTACT
============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-list { display: grid; gap: 26px; margin-top: 32px; }
.contact-item { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; }
.contact-item .icon-tile { margin: 0; }
.contact-item dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}
.contact-item dd { color: var(--ink); font-size: 17px; }
.contact-item dd a:hover { color: var(--accent); text-decoration: underline; }
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1.5px solid #B9CEDD;
  border-radius: 10px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field select {
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231F6A9A' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center;
  padding-right: 44px;
}
.field input::placeholder, .field textarea::placeholder { color: #7A8D9C; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(58,143,197,0.18);
}
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 15px; color: var(--body); }
.consent input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--accent-deep); }
.form-hint { font-size: 14px; color: var(--muted); }
.form-status { padding: 14px 18px; border-radius: 10px; font-size: 15px; font-weight: 500; }
.form-status[hidden] { display: none; }
.form-status--ok { background: #E7F5EC; color: #1E5631; border: 1px solid #A9D8B8; }
.form-status--error { background: #FBEAEA; color: #8A1F1F; border: 1px solid #EBB4B4; }
.hp-field { position: absolute; left: -9999px; }

.map {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  min-height: 360px;
  background:
    linear-gradient(rgba(58,143,197,0.08) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, rgba(58,143,197,0.08) 1px, transparent 1px) 0 0 / 40px 40px,
    var(--bg-sky);
  box-shadow: var(--shadow-md);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 32px;
  text-align: center;
}
.map-consent .pin {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  color: var(--accent-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
}
.map-consent .pin svg { width: 28px; height: 28px; }
.map-consent address { font-style: normal; font-family: var(--f-serif); font-size: 26px; color: var(--ink); line-height: 1.3; }
.map-consent p { max-width: 520px; font-size: 14px; color: var(--muted); }

/* ============================================================
   REGIONS / CITY PAGES
============================================================ */
.region + .region { margin-top: clamp(56px, 7vw, 88px); }
.region-head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
  padding-bottom: 18px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.region-head h2 { font-family: var(--f-serif); font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; color: var(--ink); }
.region-head span { font-size: 15px; color: var(--muted); }
.cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.city {
  display: flex;
  flex-direction: column;
  padding: 24px 24px 22px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
a.city:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--line-strong); }
.city h3 { font-family: var(--f-serif); font-size: 26px; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
.city p { font-size: 15px; color: var(--body); flex: 1; }
.city .link-arrow { margin-top: 14px; font-size: 14px; }
.city--home { background: linear-gradient(160deg, #fff 0%, var(--bg-sky) 100%); border-color: var(--line-strong); }

.city-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.city-aside { position: sticky; top: 110px; display: grid; gap: 20px; }
.districts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.districts li {
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  font-size: 14px;
  font-weight: 500;
  color: var(--accent-deep);
  background: #fff;
}
.prose-block h2 {
  font-family: var(--f-serif);
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--ink);
  margin: 48px 0 14px;
}
.prose-block h2:first-child { margin-top: 0; }
.prose-block p + p { margin-top: 14px; }
.prose-block .check-list { margin-top: 16px; }

/* ============================================================
   LEGAL PROSE
============================================================ */
.prose { color: var(--body); }
.prose h2 {
  font-family: var(--f-serif);
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  color: var(--ink);
  margin: 44px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; font-weight: 600; color: var(--ink); margin: 26px 0 10px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; display: grid; gap: 6px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose .updated { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); }

/* ============================================================
   FOOTER
============================================================ */
.site-footer {
  background: var(--bg-deep);
  color: var(--on-dark-2);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  font-size: 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
.footer-brand .brand { margin-bottom: 24px; }
.footer-brand p { max-width: 360px; line-height: 1.7; }
.footer-brand address { font-style: normal; margin-top: 18px; line-height: 1.8; color: var(--on-dark); }
.footer-brand address a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky-bright);
  margin-bottom: 18px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--on-dark-2); transition: color 0.2s ease; }
.footer-links a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(180,198,212,0.18);
  font-size: 14px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-legal a, .footer-legal button { color: var(--on-dark-2); font-size: 14px; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.partner-note { margin-top: 18px; font-size: 14px; color: var(--on-dark-2); }

/* ============================================================
   SCROLL REVEAL (progressive enhancement)
============================================================ */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: 0.08s; }
.js .reveal[data-delay="2"] { transition-delay: 0.16s; }
.js .reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ============================================================
   INTRO LOADER (home, once per session; pure CSS timeline so it can never block)
============================================================ */
.intro { display: none; }
.has-intro .intro {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background:
    radial-gradient(ellipse 60% 60% at 50% 40%, rgba(127,205,232,0.22) 0%, transparent 70%),
    #fff;
  animation: intro-out 0.8s cubic-bezier(0.77, 0, 0.18, 1) 1.35s forwards;
}
.intro-inner { display: flex; flex-direction: column; align-items: center; }
.intro-icon { width: 64px; height: 83px; overflow: visible; }
.intro-outline {
  fill: none;
  stroke: var(--sky);
  stroke-width: 1.5;
  stroke-linejoin: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: intro-draw 0.8s var(--ease) 0.1s forwards;
}
.intro-fill { opacity: 0; animation: intro-fade 0.6s ease 0.55s forwards; }
.intro-name {
  margin-top: 22px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 26px;
  letter-spacing: 0.5em;
  margin-right: -0.5em;
  text-transform: uppercase;
  color: #1A3A5C;
  opacity: 0;
  animation: intro-name 1s var(--ease) 0.35s forwards;
}
.intro-bar {
  width: 160px;
  height: 1px;
  margin-top: 18px;
  background: var(--sky-grad);
  transform: scaleX(0);
  animation: intro-bar 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.15s forwards;
}
.has-intro .intro-inner { animation: intro-lift 0.8s cubic-bezier(0.77, 0, 0.18, 1) 1.35s forwards; }
@keyframes intro-draw { to { stroke-dashoffset: 0; } }
@keyframes intro-fade { to { opacity: 1; } }
@keyframes intro-name { to { opacity: 1; letter-spacing: 0.22em; margin-right: -0.22em; } }
@keyframes intro-bar { to { transform: scaleX(1); } }
@keyframes intro-lift { to { transform: translateY(-40px); opacity: 0; } }
@keyframes intro-out { to { clip-path: inset(0 0 100% 0); visibility: hidden; } }

/* ============================================================
   MOTION DETAILS
============================================================ */
/* Hero photo settles in, then drifts with scroll (--py set by JS) */
.js .hero .hero-photo-main img { transform: scale(1.12); transition: transform 2.4s var(--ease); }
.js .hero.is-ready .hero-photo-main img { transform: scale(1); }
.hero-photo-side { transform: translate3d(0, calc(var(--py, 0) * -0.6px), 0); }
.hero-badge { transform: translate3d(0, calc(var(--py, 0) * -1px), 0); }

/* Image curtain reveal */
.js .reveal--img {
  opacity: 1;
  transform: none;
  clip-path: inset(12% 8% 12% 8% round var(--radius));
  transition: clip-path 1.3s var(--ease);
}
.js .reveal--img img { transform: scale(1.15); transition: transform 1.8s var(--ease); }
.js .reveal--img.is-visible { clip-path: inset(0 0 0 0 round var(--radius)); }
.js .reveal--img.is-visible img { transform: none; }
.js .diptych .reveal--img:last-child { transform: translateY(32px); }
.js .reveal--img[data-delay="1"] { transition-delay: 0.15s; }
.js .reveal--img[data-delay="1"] img { transition-delay: 0.15s; }

/* Eyebrow rule draws in */
.js .eyebrow.reveal::before, .js .eyebrow.reveal::after { transform: scaleX(0); transition: transform 0.9s var(--ease) 0.2s; }
.js .eyebrow.reveal::before { transform-origin: right; }
.js .eyebrow.reveal::after { transform-origin: left; }
.js .eyebrow.reveal.is-visible::before, .js .eyebrow.reveal.is-visible::after { transform: none; }

/* Process: connector line draws, number badge pops */
.js .step.reveal::after { transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) 0.35s; }
.js .step.reveal.is-visible::after { transform: none; }
.js .step.reveal::before { transform: scale(0.6); transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s, background 0.3s ease, color 0.3s ease; }
.js .step.reveal.is-visible::before { transform: none; }
.step:hover::before { background: var(--accent-deep); color: #fff; }

/* Icon tiles react to their card */
.icon-tile { transition: transform 0.4s var(--ease), background 0.3s ease, color 0.3s ease; }
.card-hover:hover .icon-tile, .feature:hover .icon-tile { transform: translateY(-3px) rotate(-4deg); }

/* Subpage hero entrance */
.js .page-hero .container > * { animation: rise 0.9s var(--ease) both; }
.js .page-hero .container > :nth-child(2) { animation-delay: 0.08s; }
.js .page-hero .container > :nth-child(3) { animation-delay: 0.16s; }
.js .page-hero .container > :nth-child(n+4) { animation-delay: 0.24s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* City ticker */
.ticker {
  overflow: hidden;
  padding: clamp(36px, 5vw, 56px) 0 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: ticker 60s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker ul { display: flex; flex-shrink: 0; }
.ticker li {
  display: flex;
  align-items: center;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--accent);
  white-space: nowrap;
}
.ticker li::after {
  content: '';
  width: 7px;
  height: 7px;
  margin: 0 clamp(22px, 3vw, 40px);
  border-radius: 50%;
  background: var(--sky-light);
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1180px) {
  .nav-phone span { display: none; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .objects { grid-template-columns: repeat(2, 1fr); }
  .member { grid-template-columns: 1fr; }
  .member-photo { max-width: 240px; }
}
@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-actions .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: 74px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px var(--gutter) 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px rgba(28,80,128,0.12);
    max-height: calc(100vh - 74px);
    overflow-y: auto;
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .nav-links a { font-size: 18px; padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links a::after { display: none; }
  .nav-links .nav-links-cta { margin-top: 18px; border: 0; color: #fff; padding: 14px 24px; }
  .nav-actions { order: 2; }
  .nav-toggle { order: 3; margin-left: 4px; }
  .nav-logo { margin-right: auto; }
  .hero-grid, .why, .showcase, .contact-grid, .city-layout, .section-head--split { grid-template-columns: 1fr; }
  .section-head--split { gap: 20px; }
  .hero-visual { max-width: 560px; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .team, .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .step::after { display: none; }
  .why-photo { aspect-ratio: 4 / 3; }
  .city-aside { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 981px) {
  .nav-links .nav-links-cta { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .brand { gap: 10px; }
  .brand-icon { width: 28px; height: 36px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 10px; letter-spacing: 0.12em; margin-top: 5px; padding-top: 5px; }
  .nav-links { top: 66px; max-height: calc(100vh - 66px); }
  .services, .objects, .grid-2, .grid-4, .steps, .form-row, .media-list { grid-template-columns: 1fr; }
  .btn-row .btn { width: 100%; }
  .hero-badge { display: none; }
  .hero-badge strong { font-size: 28px; }
  .facts { margin-top: -40px; }
  .fact { padding: 22px 14px; }
  .faq summary { padding: 18px 18px; font-size: 17px; }
  .faq .answer { padding: 0 18px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .map { aspect-ratio: auto; min-height: 420px; }
  .filter-bar { display: flex; width: 100%; }
  .filter-bar button { flex: 1; padding: 10px 8px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero [data-anim] { opacity: 1 !important; transform: none !important; }
  .js .reveal--img { clip-path: none !important; }
  .js .reveal--img img, .js .hero .hero-photo-main img { transform: none !important; }
  .js .diptych .reveal--img:last-child { transform: translateY(32px) !important; }
  .js .eyebrow.reveal::before, .js .eyebrow.reveal::after, .js .step.reveal::after, .js .step.reveal::before { transform: none !important; }
  .ticker-track { flex-wrap: wrap; width: auto; }
  .ticker-track ul[aria-hidden] { display: none; }
  .ticker ul { flex-wrap: wrap; justify-content: center; row-gap: 8px; }
}
