/* ==========================================================================
   Eleven Group — design tokens
   ========================================================================== */

:root {
  --color-bg: #0A0A0A;
  --color-bg-alt: #0C0C0C;
  --color-bg-field: #0F0F0F;
  --color-text: #F2F0ED;
  --color-text-muted: #C9C6C2;
  --color-text-faint: #8A8784;
  --color-text-fine: #5F5C59;
  --color-accent: #F26A1B;
  --color-border: rgba(255, 255, 255, 0.08);
  --color-border-strong: rgba(255, 255, 255, 0.14);

  --font-serif: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-sans: 'Manrope', system-ui, -apple-system, sans-serif;
  --font-heading: 'Archivo', 'Manrope', system-ui, sans-serif;

  --content-max: 1680px;
  --gutter: 48px;
  --radius: 2px;
}

@media (max-width: 640px) {
  :root { --gutter: 22px; }
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  /* guard against any element that would introduce a horizontal scrollbar;
     `clip` (not `hidden`) keeps the sticky nav working */
  overflow-x: clip;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color .25s ease;
}
a:hover { color: var(--color-accent); }

ul, ol, dl, dd { margin: 0; padding: 0; list-style: none; }

button { font: inherit; }

::selection { background: var(--color-accent); color: var(--color-bg); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 12px;
  z-index: 100;
  background: var(--color-accent);
  color: var(--color-bg);
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 600;
  transition: top .2s ease;
}
.skip-link:focus {
  top: 12px;
  color: var(--color-bg);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ==========================================================================
   Shared type / layout primitives
   ========================================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--color-accent);
  text-transform: uppercase;
}
.eyebrow-rule {
  width: 34px;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
}

.heading {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(34px, 3.4vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.heading em {
  font-style: italic;
}

.lede {
  max-width: 520px;
  margin: 26px 0 40px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-text-muted);
  font-weight: 300;
}

.accent { color: var(--color-accent); font-weight: 400; }

.section {
  padding: 130px var(--gutter);
  border-bottom: 1px solid var(--color-border);
  max-width: var(--content-max);
  margin: 0 auto;
}
.section-alt { background: var(--color-bg-alt); max-width: none; }
.section-alt > * { max-width: var(--content-max); margin-left: auto; margin-right: auto; }

.section-head { max-width: 760px; margin-bottom: 66px; }
.section-head .heading { margin: 0; }
.section-head-split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  max-width: none;
}
.section-note {
  font-size: 14px;
  color: var(--color-text-faint);
  font-weight: 300;
  max-width: 300px;
  margin: 0;
}

.split {
  display: grid;
  gap: 80px;
  align-items: start;
}
.split-narrow { grid-template-columns: 1fr 1.15fr; }
.split-even { grid-template-columns: 1fr 1.15fr; align-items: center; }
.split-faq { grid-template-columns: 0.8fr 1.4fr; }

.prose { font-size: 17.5px; line-height: 1.75; color: var(--color-text-muted); font-weight: 300; max-width: 640px; }
.prose p { margin: 0 0 22px; }
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--color-text); font-weight: 500; }

.grid { display: grid; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
.grid-2 { grid-template-columns: repeat(2, 1fr); background: none; border: none; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 30px;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.03em;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease, opacity .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-accent); color: var(--color-bg); }
.btn-primary:hover { color: var(--color-bg); opacity: 0.92; }
.btn-ghost { border-color: var(--color-border-strong); color: var(--color-text); font-weight: 500; }
.btn-ghost:hover { color: var(--color-text); border-color: var(--color-accent); }
.btn-nav { padding: 11px 20px; font-size: 13.5px; }

/* Language switch */
.nav-lang { display: flex; align-items: center; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 2px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
}
.lang-btn {
  display: inline-block;
  padding: 6px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: var(--color-text-faint);
  transition: color .2s ease, background .2s ease;
}
.lang-btn:hover { color: var(--color-text); }
.lang-btn.is-active,
.lang-btn.is-active:hover {
  color: var(--color-bg);
  background: var(--color-accent);
}

.cta-row { display: flex; gap: 16px; flex-wrap: wrap; }

/* Call-to-action section — centered content + buttons */
.cta-block { max-width: 720px; margin: 0 auto; text-align: center; }
.cta-block .eyebrow { justify-content: center; }
.cta-block .lede,
.cta-block .prose { margin-left: auto; margin-right: auto; }
.cta-block .prose { text-align: center; }
.cta-block .cta-row { justify-content: center; margin-top: 8px; }

/* Photo placeholders (real photography can be dropped in later) */

.photo-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(242,106,27,0.14), transparent 55%),
    linear-gradient(155deg, #16130f 0%, #0c0b09 55%, #0a0a0a 100%);
  border: none;
}
.photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  opacity: 0.5;
}
.photo-frame::after {
  content: attr(data-caption);
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  color: var(--color-text-faint);
  font-weight: 500;
}
.photo-frame-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.photo-frame-inner::before {
  content: '';
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1px solid var(--color-border-strong);
}
.photo-frame:hover {
  border-color: rgba(242,106,27,0.4);
}
.photo-frame:hover::before {
  opacity: 0.85;
}

/* Once a real photo is dropped in (.has-photo), hide the decorative
   placeholder grid/caption and let the <img> fill the frame. */
.photo-frame.has-photo::before,
.photo-frame.has-photo::after,
.photo-frame.has-photo .photo-frame-inner {
  display: none;
}
.photo-frame-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: filter .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
.photo-frame:hover .photo-frame-img {
  filter: grayscale(0%) contrast(1);
}
/* Homes gallery — gently zoom the photo within its frame on hover */
.home-photo:hover .photo-frame-img {
  transform: scale(1.06);
}

@media (prefers-reduced-motion: reduce) {
  .home-photo:hover .photo-frame-img { transform: none; }
}

/* ==========================================================================
   Header / nav
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* full-width bar so it never looks cut off on wide screens;
     the inner .nav keeps content aligned to the site width */
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--color-border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  max-width: var(--content-max);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 15px;
}
.brand-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--color-accent);
  border-radius: 50%;
}
.brand-sub { color: var(--color-text-faint); font-weight: 500; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--color-text);
  transition: transform .25s ease, opacity .25s ease;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  /* full-bleed: the photo spans the whole screen; content is re-centred below */
  width: 100%;
}
/* Photo/canvas fill the full hero width, capped so it never over-stretches on
   ultra-wide monitors; the scrim fades the side edges into the dark background. */
.hero-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  max-width: 1980px;
  margin-inline: auto;
}
/* WebGL canvas sits above the fallback <img>; only shown once GL initialises */
.hero-gl {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0;
  transition: opacity .6s ease;
}
.hero-photo.gl-active .hero-gl { opacity: 1; }
.hero-photo.gl-active .photo-frame-img { visibility: hidden; }
/* Side-edge fade anchored to the photo box (not the viewport), so once the
   photo hits its 1980px cap on wider screens its left/right edges dissolve
   into the dark background instead of ending in a hard line. Only active
   past the cap — below it the photo is full-bleed and needs no vignette. */
.hero-photo.has-photo::after {
  content: '';
  display: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(90deg, #0A0A0A 0%, rgba(10,10,10,0) 7%),
    linear-gradient(270deg, #0A0A0A 0%, rgba(10,10,10,0) 9%);
}
@media (min-width: 1980px) {
  .hero-photo.has-photo::after { display: block; }
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Layered so the whole left text column keeps a dark backing while the
     right side of the photo stays bright:
     1) darkens the left column (covers the small eyebrow line)
     2) richer pool in the bottom-left corner under the headline
     3) vertical wash top & bottom
     (side-edge fades live on .hero-photo so they track the photo edges) */
  background:
    linear-gradient(90deg, rgba(10,10,10,0.80) 0%, rgba(10,10,10,0.34) 30%, transparent 56%),
    radial-gradient(130% 100% at 0% 100%, rgba(10,10,10,0.78) 0%, rgba(10,10,10,0.38) 32%, transparent 60%),
    linear-gradient(180deg, rgba(10,10,10,0.45) 0%, rgba(10,10,10,0.06) 38%, rgba(10,10,10,0.98) 100%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter) 72px;
  width: 100%;
  /* keep the copy aligned with the nav / page content while the photo is full-bleed */
  max-width: var(--content-max);
  margin: 0 auto;
  /* soft glow lifts the copy off busy imagery without a visible shadow edge */
  text-shadow: 0 1px 24px rgba(0, 0, 0, 0.45);
}
.hero-content .cta-row { max-width: 900px; }
.hero-content .btn { text-shadow: none; }
.hero-title {
  margin: 0;
  max-width: 1000px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: clamp(40px, 7vw, 104px);
  line-height: 1.0;
  letter-spacing: -0.025em;
}
.hero-title em { font-style: italic; }
.hero-lede {
  max-width: 560px;
  margin: 30px 0 40px;
  font-size: 18px;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-weight: 300;
}

/* ==========================================================================
   Full cycle — tiles
   ========================================================================== */

.tile {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding: 44px 38px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  transition: background .4s ease;
}
/* Accent bar that draws in from the left on hover */
.tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}
/* Soft accent glow rising from the corner */
.tile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 85% at 100% 100%, rgba(242, 106, 27, 0.10), transparent 60%);
  opacity: 0;
  transition: opacity .5s ease;
  pointer-events: none;
}
.tile:hover { background: #0E0E0E; }
.tile:hover::before { transform: scaleX(1); }
.tile:hover::after { opacity: 1; }

.tile-no {
  position: relative;
  font-family: var(--font-serif);
  font-size: 34px;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: auto;
  transition: transform .45s cubic-bezier(.2, .6, .2, 1);
}
.tile:hover .tile-no { transform: translateY(-6px) scale(1.08); transform-origin: left bottom; }

.tile-title {
  position: relative;
  margin: 26px 0 12px;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: transform .45s cubic-bezier(.2, .6, .2, 1);
}
.tile:hover .tile-title { transform: translateX(8px); }

.tile-desc {
  position: relative;
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-text-faint);
  font-weight: 300;
  transition: transform .45s cubic-bezier(.2, .6, .2, 1), color .4s ease;
}
.tile:hover .tile-desc { transform: translateX(8px); color: var(--color-text-muted); }

@media (prefers-reduced-motion: reduce) {
  .tile::before,
  .tile-no,
  .tile-title,
  .tile-desc { transition: background .3s ease, color .3s ease; }
  .tile:hover::before { transform: scaleX(1); }
  .tile:hover .tile-no,
  .tile:hover .tile-title,
  .tile:hover .tile-desc { transform: none; }
}

/* ==========================================================================
   Why Zakynthos — reasons
   ========================================================================== */

.zak-photo { aspect-ratio: 4/5; }

/* Founder & CEO */
.founder-photo { aspect-ratio: 4/5; }
.founder-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 32px;
  padding: 0;
  list-style: none;
}
.founder-roles li {
  padding: 8px 15px;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--color-text-muted);
}
.founder-expertise {
  display: flex;
  flex-direction: column;
  gap: 1px;
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  max-width: 560px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.founder-expertise li {
  background: var(--color-bg-alt);
  padding: 16px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 15.5px;
  color: var(--color-text);
}
.founder-expertise li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
  flex-shrink: 0;
}

.reason-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
}
.reason {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
  padding: 22px 26px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  transition: background .35s ease;
}
/* Accent bar that unfolds down the left edge on hover */
.reason::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .4s cubic-bezier(.2, .6, .2, 1);
}
.reason:hover { background: #0E0E0E; }
.reason:hover::before { transform: scaleY(1); }
.reason > div { transition: transform .4s cubic-bezier(.2, .6, .2, 1); }
.reason:hover > div { transform: translateX(6px); }

.reason-no {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--color-accent);
  min-width: 30px;
  transition: transform .4s cubic-bezier(.2, .6, .2, 1);
}
.reason:hover .reason-no { transform: translateX(4px) scale(1.12); }
.reason-title { margin: 0; font-family: var(--font-heading); font-size: 16px; font-weight: 600; }
.reason-desc { margin: 3px 0 0; font-size: 14px; color: var(--color-text-faint); font-weight: 300; }

@media (prefers-reduced-motion: reduce) {
  .reason > div,
  .reason-no { transition: none; }
  .reason:hover > div,
  .reason:hover .reason-no { transform: none; }
}

/* ==========================================================================
   Homes gallery
   ========================================================================== */

.home-grid { background: none; border: none; gap: 26px; }
.home-card { display: flex; flex-direction: column; cursor: pointer; }
.home-card:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 6px; }
.home-photo { aspect-ratio: 4/3; }

/* Home detail modal */
.home-modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.home-modal[hidden] { display: none; }
.home-modal-backdrop { position: absolute; inset: 0; background: rgba(6,6,7,0.78); backdrop-filter: blur(6px); }
.home-modal-panel {
  position: relative; z-index: 1; width: min(920px, 100%); max-height: 88vh; overflow: auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 0;
  background: var(--color-bg-alt); border: 1px solid var(--color-border-strong); border-radius: 4px;
}
.home-modal-close {
  position: absolute; top: 12px; right: 14px; z-index: 3; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(10,10,10,0.6); border: 1px solid var(--color-border-strong); color: var(--color-text);
  font-size: 22px; line-height: 1; cursor: pointer;
}
.home-modal-close:hover { border-color: var(--color-accent); color: var(--color-accent); }
.home-modal-media { position: relative; background: #000; min-height: 320px; }
.home-modal-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.home-modal-media .hm-dots { position: absolute; bottom: 12px; left: 0; right: 0; display: flex; gap: 7px; justify-content: center; }
.home-modal-media .hm-dots button { width: 8px; height: 8px; border-radius: 50%; border: none; background: rgba(255,255,255,0.4); cursor: pointer; padding: 0; }
.home-modal-media .hm-dots button.on { background: var(--color-accent); }
.home-modal-body { padding: 40px 36px; }
.home-modal-body h3 { margin: 0; font-family: var(--font-heading); font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.home-modal-loc { color: var(--color-text-faint); letter-spacing: 0.04em; margin-top: 6px; }
.home-modal-specs { margin: 20px 0 6px; color: var(--color-text-muted); font-size: 15px; }
.home-modal-price { color: var(--color-accent); font-weight: 600; font-size: 18px; margin-bottom: 18px; }
.home-modal-desc { color: var(--color-text-muted); font-weight: 300; line-height: 1.7; font-size: 15.5px; }
.home-modal-features { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
.home-modal-features li { background: var(--color-bg-alt); padding: 12px 16px; display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--color-text); }
.home-modal-features li::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }
@media (max-width: 760px) {
  .home-modal-panel { grid-template-columns: 1fr; max-height: 92vh; }
  .home-modal-media { min-height: 220px; aspect-ratio: 4/3; }
  .home-modal-body { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-modal-backdrop { backdrop-filter: none; }
}

/* ==========================================================================
   Additional blocks — gallery, video, map, downloads, pricing, team, quote, logos
   ========================================================================== */

/* Gallery + lightbox */
.gallery-grid { background: none; border: none; gap: 20px; }
.gallery-item { display: flex; flex-direction: column; gap: 10px; }
.gallery-open { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.gallery-photo { aspect-ratio: 4/3; }
.gallery-caption { margin: 0; font-size: 13px; color: var(--color-text-faint); }
.lightbox { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(6,6,7,0.9); backdrop-filter: blur(6px); }
.lightbox-img { position: relative; z-index: 1; max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 3px; }
.lightbox-btn { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%;
  background: rgba(10,10,10,0.6); border: 1px solid var(--color-border-strong); color: var(--color-text); font-size: 22px; cursor: pointer; }
.lightbox-btn:hover { border-color: var(--color-accent); color: var(--color-accent); }
.lightbox-prev { left: 20px; } .lightbox-next { right: 20px; }
.lightbox-close { position: absolute; z-index: 3; top: 18px; right: 20px; transform: none; width: 44px; height: 44px; }
@media (prefers-reduced-motion: reduce) { .lightbox-backdrop { backdrop-filter: none; } }

/* Video */
.video-frame { position: relative; aspect-ratio: 16/9; background: #000; border: 1px solid var(--color-border); border-radius: 3px; overflow: hidden; max-width: 1100px; margin: 0 auto; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Map */
.map-frame { position: relative; aspect-ratio: 16/8; border: 1px solid var(--color-border); border-radius: 3px; overflow: hidden; filter: grayscale(0.3) contrast(1.05); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Downloads */
.downloads-list { max-width: 760px; }
.download-row { display: flex; align-items: center; gap: 18px; padding: 20px 22px; border: 1px solid var(--color-border); border-radius: var(--radius); margin-bottom: 12px; transition: border-color .25s ease, background .25s ease; }
.download-row:hover { border-color: var(--color-accent); color: var(--color-text); background: var(--color-bg-alt); }
.download-icon { flex-shrink: 0; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--color-border-strong); color: var(--color-accent); font-size: 18px; }
.download-body { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.download-title { font-family: var(--font-heading); font-weight: 500; font-size: 16px; }
.download-desc { font-size: 13.5px; color: var(--color-text-faint); }
.download-meta { flex-shrink: 0; font-size: 12.5px; letter-spacing: 0.06em; color: var(--color-text-faint); text-transform: uppercase; }

/* Pricing */
.pricing-grid { background: none; border: none; gap: 24px; align-items: stretch; }
.pricing-card { display: flex; flex-direction: column; gap: 6px; padding: 34px 30px; background: var(--color-bg-alt); border: 1px solid var(--color-border); border-radius: var(--radius); }
.pricing-featured { border-color: var(--color-accent); box-shadow: 0 0 0 1px var(--color-accent) inset; }
.pricing-name { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 22px; }
.pricing-tagline { margin: 0; color: var(--color-text-faint); font-size: 14px; }
.pricing-price { font-family: var(--font-serif); font-size: 40px; color: var(--color-accent); margin: 14px 0 8px; letter-spacing: 0.01em; }
.pricing-features { list-style: none; margin: 8px 0 22px; padding: 0; display: flex; flex-direction: column; gap: 11px; }
.pricing-features li { display: flex; gap: 11px; align-items: flex-start; color: var(--color-text-muted); font-size: 14.5px; font-weight: 300; }
.pricing-features li::before { content: ''; margin-top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--color-accent); flex-shrink: 0; }
.pricing-card .btn { margin-top: auto; justify-content: center; }

/* Team */
.team-grid { background: none; border: none; gap: 30px; }
.team-card { display: flex; flex-direction: column; }
.team-photo { aspect-ratio: 3/4; margin-bottom: 18px; }
.team-name { margin: 0; font-family: var(--font-heading); font-weight: 600; font-size: 20px; }
.team-role { color: var(--color-accent); font-size: 13px; letter-spacing: 0.04em; margin-top: 4px; }
.team-bio { margin: 12px 0 0; color: var(--color-text-muted); font-weight: 300; font-size: 14.5px; line-height: 1.65; }

/* Big pull-quote */
.pull-quote { max-width: 900px; margin: 0 auto; text-align: center; }
.pull-quote .eyebrow { justify-content: center; }
.pull-quote-text { margin: 0; font-family: var(--font-serif); font-weight: 400; font-style: italic; font-size: clamp(26px, 3.6vw, 46px); line-height: 1.28; color: var(--color-text); }
.pull-quote-attr { margin-top: 28px; display: flex; flex-direction: column; gap: 2px; }
.pull-quote-name { font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.02em; }
.pull-quote-role { color: var(--color-text-faint); font-size: 13.5px; }

/* Logos grid */
.logo-grid { background: none; border: none; gap: 1px; background: var(--color-border); border: 1px solid var(--color-border); }
.logo-item { display: grid; place-items: center; padding: 34px 24px; background: var(--color-bg); min-height: 120px; }
.logo-img { max-width: 150px; max-height: 56px; width: auto; height: auto; object-fit: contain; filter: grayscale(100%) brightness(1.6) opacity(0.7); transition: filter .35s ease; }
.logo-item:hover .logo-img { filter: grayscale(0%) brightness(1) opacity(1); }

.home-info { padding: 22px 4px 0; }
.home-name-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.home-name { margin: 0; font-family: var(--font-heading); font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.home-location { font-size: 12.5px; color: var(--color-text-faint); letter-spacing: 0.04em; white-space: nowrap; }
.home-spec-row { display: flex; gap: 20px; margin-top: 14px; font-size: 13px; color: var(--color-text-faint); }
.home-price { color: var(--color-accent); font-weight: 600; }

/* ==========================================================================
   Investment stats
   ========================================================================== */

.stat-tile {
  position: relative;
  overflow: hidden;
  background: var(--color-bg-alt);
  padding: 46px 34px;
  transition: background .4s ease;
}
/* Accent bar that draws in from the left on hover */
.stat-tile::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .5s cubic-bezier(.2, .6, .2, 1);
}
.stat-tile:hover { background: #111010; }
.stat-tile:hover::before { transform: scaleX(1); }

.stat-value {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: clamp(38px, 4vw, 64px);
  line-height: 0.95;
  color: var(--color-accent);
  transition: transform .45s cubic-bezier(.2, .6, .2, 1);
}
.stat-tile:hover .stat-value { transform: translateY(-5px) scale(1.04); transform-origin: left bottom; }
.stat-label { font-size: 15px; font-weight: 600; margin-top: 20px; }
.stat-note {
  font-size: 13px;
  color: var(--color-text-faint);
  font-weight: 300;
  margin-top: 6px;
  line-height: 1.5;
  transition: color .4s ease;
}
.stat-tile:hover .stat-note { color: var(--color-text-muted); }

@media (prefers-reduced-motion: reduce) {
  .stat-value { transition: none; }
  .stat-tile:hover .stat-value { transform: none; }
}
.fine-print { margin: 28px 0 0; font-size: 12.5px; color: var(--color-text-fine); font-weight: 300; }

/* ==========================================================================
   Steps
   ========================================================================== */

.step-list { display: flex; flex-direction: column; }
.step-row {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr 2fr;
  gap: 40px;
  padding: 34px 0 34px 0;
  border-top: 1px solid var(--color-border-strong);
  align-items: baseline;
  transition: background .3s ease, padding-left .4s cubic-bezier(.2, .6, .2, 1);
}
/* Accent bar that unfolds down the left edge on hover */
.step-row::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--color-accent);
  transform: scaleY(0);
  transform-origin: center;
  transition: transform .4s cubic-bezier(.2, .6, .2, 1);
}
.step-row:hover { background: rgba(242, 106, 27, 0.03); padding-left: 20px; }
.step-row:hover::before { transform: scaleY(1); }

.step-no {
  font-family: var(--font-serif);
  font-size: 38px;
  color: var(--color-accent);
  line-height: 1;
  transition: transform .45s cubic-bezier(.2, .6, .2, 1);
}
.step-row:hover .step-no { transform: scale(1.08); transform-origin: left center; }
.step-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: color .3s ease;
}
.step-row:hover .step-title { color: var(--color-text); }
.step-desc { margin: 0; font-size: 15.5px; line-height: 1.65; color: var(--color-text-faint); font-weight: 300; }

@media (prefers-reduced-motion: reduce) {
  .step-row { transition: background .3s ease; }
  .step-row:hover { padding-left: 0; }
  .step-no { transition: none; }
  .step-row:hover .step-no { transform: none; }
}

/* ==========================================================================
   Testimonials / partners
   ========================================================================== */

.quote-grid { margin-bottom: 70px; }
.quote-card { border: 1px solid var(--color-border); padding: 48px 44px; }
.quote-text { margin: 0 0 30px; font-family: var(--font-serif); font-weight: 300; font-style: italic; font-size: clamp(20px, 2vw, 30px); line-height: 1.4; }
.quote-attr { display: flex; align-items: center; gap: 14px; }
.quote-dot { width: 8px; height: 8px; background: var(--color-accent); border-radius: 50%; flex-shrink: 0; }
.quote-name { font-size: 15px; font-weight: 600; }
.quote-role { font-size: 13px; color: var(--color-text-faint); }

.partners-label {
  text-align: center;
  font-size: 12px;
  
  padding-left: 0.24em;
  color: var(--color-text-fine);
  text-transform: uppercase;
  margin: 0 auto 34px auto;
}
.partners-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 56px;
  opacity: 0.55;
}
.partners-row li {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
}

/* Infinite marquee (built by JS from .partners-row; the plain row above is
   the no-JS / reduced-motion fallback). Two identical groups scroll -50% for a
   seamless loop; edges fade so items enter/leave softly. */
.partners-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.partners-track {
  display: flex;
  width: max-content;
  flex-wrap: nowrap;
  will-change: transform;
  animation: partners-scroll linear infinite;
}
.partners-track .partners-row {
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-start;
  gap: 0;
  opacity: 1;
}
.partners-track .partners-row li { margin-right: 56px; }
.partners-marquee:hover .partners-track { animation-play-state: paused; }

@keyframes partners-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
}

/* ==========================================================================
   FAQ accordion
   ========================================================================== */

.accordion-item { border-top: 1px solid var(--color-border-strong); }
.accordion-heading { margin: 0; }
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0;
  background: none;
  border: none;
  color: var(--color-text);
  font-family: var(--font-heading);
  font-size: 19px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  letter-spacing: -0.01em;
}
.accordion-sign {
  font-family: var(--font-serif);
  font-size: 30px;
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
  transition: transform .2s ease;
}
.accordion-trigger[aria-expanded="true"] .accordion-sign { transform: rotate(45deg); }
.accordion-panel {
  margin: 0;
  padding: 0 0 30px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text-faint);
  font-weight: 300;
  max-width: 640px;
}
.accordion-panel p { margin: 0; }

/* ==========================================================================
   Contact
   ========================================================================== */

.section-contact { padding-bottom: 100px; }

.contact-details { display: flex; flex-direction: column; gap: 22px; }
.contact-row { display: flex; gap: 16px; align-items: baseline; }
.contact-row dt {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--color-text-fine);
  text-transform: uppercase;
  min-width: 80px;
}
.contact-row dd { margin: 0; font-size: 17px; color: var(--color-text-muted); }
.contact-row a { font-size: 17px; }

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border: 1px solid var(--color-border-strong);
  padding: 44px 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-faint);
}
.field input,
.field select,
.field textarea {
  background: var(--color-bg-field);
  border: 1px solid var(--color-border-strong);
  color: var(--color-text);
  padding: 14px 15px;
  font-family: var(--font-sans);
  font-size: 15px;
  border-radius: var(--radius);
  outline: none;
  text-transform: none;
  letter-spacing: normal;
}
.field textarea { resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--color-accent); }

.btn-submit { margin-top: 6px; border: none; justify-content: center; }
.btn-submit:disabled { opacity: 0.6; cursor: default; transform: none; }

.form-status {
  margin: 0;
  font-size: 13.5px;
  color: var(--color-accent);
  min-height: 1.4em;
}
.form-status.is-error { color: #ff8c78; }
/* Honeypot — hidden from users, visible to naive bots */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  padding: 56px var(--gutter);
  border-top: 1px solid var(--color-border);
  max-width: var(--content-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer-copy { font-size: 13px; color: var(--color-text-fine); margin: 0; }
.footer-links { display: flex; gap: 26px; font-size: 13px; color: var(--color-text-faint); }

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 980px) {
  .split-narrow,
  .split-even,
  .split-faq {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-2 { grid-template-columns: 1fr; }
  .step-row { grid-template-columns: 60px 1fr; }
  .step-row p.step-desc { grid-column: 2 / -1; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
  }
  .nav-links.is-open { max-height: 400px; }
  .nav-links li { width: 100%; }
  /* :not(.btn) so this doesn't override the CTA button's own width below */
  .nav-links a:not(.btn) { display: block; padding: 16px var(--gutter); width: 100%; }
  .btn-nav { margin: 12px var(--gutter); width: calc(100% - 2 * var(--gutter)); justify-content: center; }

  .nav-lang { padding: 12px var(--gutter); }
  .nav-lang .lang-switch { width: 100%; justify-content: space-between; }
  .nav-lang .lang-btn { flex: 1; text-align: center; }

  .section { padding: 90px var(--gutter); }
  .section-head { margin-bottom: 44px; }
}

@media (max-width: 640px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .section-head-split { align-items: flex-start; }
  .hero { min-height: 100vh; }
}
