/*
Theme Name: SPACEERS V1
Theme URI: https://spaceers.com/
Author: SPACEERS
Description: English-first bilingual buyer-side property advisory theme for SPACEERS.
Version: 1.0.18
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: spaceers-v1
*/

:root {
  --ink: #191b1c;
  --paper: #f5f1e8;
  --paper-2: #ebe4d6;
  --white: #ffffff;
  --gold: #b4975a;
  --gold-light: #d1b979;
  --muted: #777a78;
  --line: rgba(25, 27, 28, .16);
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Manrope", sans-serif; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #f0cf82; outline-offset: 4px; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 12px 16px; color: var(--ink); background: white; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 500; line-height: 1.08; }
h1, h2 { font-family: "Newsreader", serif; }

.site-header { position: absolute; z-index: 10; inset: 0 0 auto; height: 94px; display: grid; grid-template-columns: 1fr auto 1fr; column-gap: 24px; align-items: center; padding: 0 4vw; border-bottom: 1px solid rgba(255,255,255,.18); color: white; }
.brand img { display: block; width: 150px; height: auto; }
.site-header nav { display: flex; gap: 30px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-header nav a { opacity: .78; transition: .2s; }
.site-header nav a:hover { opacity: 1; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 18px; }
.language { display: inline-flex; min-height: 44px; align-items: center; padding: 0 8px; border: 0; background: transparent; color: white; font: inherit; font-size: 12px; }
.mobile-nav { display: none; }

.hero { min-height: 880px; position: relative; display: flex; align-items: center; color: white; overflow: hidden; }
.hero-image, .hero-overlay { position: absolute; inset: 0; }
.hero-image { background: url("assets/hero-athens.jpg") center 46% / cover; transform: scale(1.02); }
.hero-overlay { background: linear-gradient(90deg, rgba(12,14,15,.88) 0%, rgba(12,14,15,.58) 48%, rgba(12,14,15,.2) 100%), linear-gradient(0deg, rgba(12,14,15,.4), transparent 55%); }
.hero-content { position: relative; z-index: 1; width: min(820px, 88vw); margin-left: max(4vw, calc((100vw - var(--max))/2)); padding-top: 80px; }
.eyebrow { margin-bottom: 22px; color: var(--gold-light); font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow.dark { color: #806b40; }
.hero h1 { max-width: 780px; margin-bottom: 28px; font-size: clamp(64px, 7.1vw, 108px); letter-spacing: -.035em; }
.hero-lead { max-width: 640px; margin-bottom: 38px; color: rgba(255,255,255,.78); font-size: 19px; }
.button-row { display: flex; gap: 12px; flex-wrap: wrap; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; padding: 0 24px; font-size: 11px; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: .2s ease; }
.button-small { min-height: 42px; padding-inline: 18px; }
.button-gold { background: #80601f; color: white; }
.button-gold:hover { background: var(--gold-light); color: var(--ink); }
.button-ghost { border: 1px solid rgba(255,255,255,.45); color: white; }
.button-ghost:hover { background: white; color: var(--ink); }
.hero-proof { position: absolute; z-index: 1; bottom: 0; right: 0; display: flex; color: rgba(255,255,255,.74); background: rgba(20,22,23,.72); backdrop-filter: blur(12px); }
.hero-proof span { padding: 22px 30px; border-left: 1px solid rgba(255,255,255,.16); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }

.section { padding: 120px max(4vw, calc((100vw - var(--max))/2)); }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10vw; }
.intro h2, .section-heading h2, .greece h2 { font-size: clamp(45px, 5vw, 72px); letter-spacing: -.025em; }
.intro p { color: #555a59; }
.intro .large-copy { color: var(--ink); font-size: 22px; }

.paths { background: #e9e2d4; }
.section-heading { max-width: 820px; margin-bottom: 58px; }
.path-grid { display: grid; grid-template-columns: 1fr 1fr; min-height: 590px; }
.path-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding: 38px; color: white; background-size: cover; background-position: center; overflow: hidden; }
.path-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,12,13,.84), rgba(10,12,13,.18)); }
.path-card > * { position: relative; z-index: 1; }
.path-home { background-image: url("assets/home-buyers.jpg"); }
.path-invest { background-image: url("assets/investors.jpg"); }
.card-number { align-self: flex-end; font-family: "Newsreader", serif; font-size: 30px; }
.path-card h3 { max-width: 520px; margin-bottom: 18px; font-family: "Newsreader", serif; font-size: clamp(34px, 3.2vw, 50px); }
.path-card p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.75); }
.path-card a { display: inline-block; margin-top: 12px; color: #f0cf82; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-transform: uppercase; }

.process { display: grid; grid-template-columns: .82fr 1.18fr; gap: 10vw; color: white; background: var(--ink); }
.process-copy { align-self: start; position: sticky; top: 80px; }
.process h2 { font-size: clamp(44px, 4.8vw, 68px); }
.process-copy > p:last-child { color: rgba(255,255,255,.58); }
.steps { margin: 0; padding: 0; list-style: none; }
.steps li { display: grid; grid-template-columns: 60px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); }
.steps li:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.steps span { color: var(--gold-light); font-size: 12px; }
.steps h3 { margin-bottom: 8px; font-family: "Newsreader", serif; font-size: 30px; }
.steps p { margin: 0; color: rgba(255,255,255,.57); }

.greece { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 9vw; background: var(--paper); }
.greece-visual { display: grid; min-height: 560px; place-items: end start; overflow: hidden; color: rgba(255,255,255,.72); background: #17181b url(assets/spaceers-orbit.png) center/cover no-repeat; }
.greece-visual span { margin: 28px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.greece-copy p:not(.eyebrow) { color: #555a59; }

.staywerk { display: grid; grid-template-columns: 1fr 1fr; gap: 9vw; color: white; background: #232729; }
.staywerk h2 { max-width: 580px; font-size: clamp(44px, 5vw, 72px); }
.staywerk p { color: rgba(255,255,255,.68); }
.staywerk .fine-print { font-size: 12px; }
.text-link { display: inline-block; margin-top: 18px; color: #f0cf82; font-size: 13px; font-weight: 700; letter-spacing: .07em; text-decoration: underline; text-underline-offset: 4px; text-transform: uppercase; }

.insights { background: #e9e2d4; }
.section-heading.horizontal { display: flex; max-width: none; align-items: end; justify-content: space-between; }
.dark-link { color: #806b40; }
.prototype-label { color: #6f6654; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.insight-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.insight-grid article { min-height: 290px; padding: 32px; border-right: 1px solid var(--line); }
.insight-grid article:first-child { padding-left: 0; }
.insight-grid article:last-child { border-right: 0; }
.insight-grid span { color: var(--muted); font-size: 11px; text-transform: uppercase; }
.insight-grid h3 { margin: 48px 0 40px; font-family: "Newsreader", serif; font-size: 30px; }
.insight-grid small { color: #746b5b; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }

.start { text-align: center; color: white; background: linear-gradient(rgba(16,18,19,.82), rgba(16,18,19,.88)), url("assets/cta-greece.jpg") center / cover; }
.start h2 { margin-bottom: 25px; font-size: clamp(50px, 6vw, 84px); }
.start > p:not(.eyebrow) { max-width: 700px; margin: 0 auto 38px; color: rgba(255,255,255,.7); }

footer { display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 40px; align-items: start; padding: 70px max(4vw, calc((100vw - var(--max))/2)) 35px; color: rgba(255,255,255,.62); background: #111314; font-size: 13px; }
footer img { width: 140px; }
footer div { display: flex; justify-content: flex-end; gap: 22px; }
footer small { grid-column: 1 / -1; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }

@media (max-width: 1180px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .header-actions > .button { display: none; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: grid; width: 44px; height: 44px; place-items: center; cursor: pointer; list-style: none; border: 1px solid rgba(255,255,255,.45); font-size: 20px; }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav-menu { position: absolute; top: 52px; right: 0; display: grid; width: min(310px, 88vw); padding: 18px; color: var(--ink); background: white; box-shadow: 0 18px 45px rgba(0,0,0,.25); }
  .mobile-nav-menu a { min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 700; }
  .mobile-nav-menu .button { margin-top: 14px; color: white; border: 0; justify-content: center; }
  .hero { min-height: 760px; }
  .hero-content { margin-inline: 6vw; }
  .hero h1 { font-size: clamp(56px, 15vw, 78px); }
  .hero-proof { left: 0; overflow-x: auto; }
  .hero-proof span { white-space: nowrap; }
  .section { padding: 84px 6vw; }
  .intro-grid, .process, .greece, .staywerk { grid-template-columns: 1fr; gap: 50px; }
  .process-copy, .steps, .steps li > div { min-width: 0; }
  .path-grid { grid-template-columns: 1fr; }
  .path-card { min-height: 540px; }
  .process-copy { position: static; }
  .greece-visual { min-height: 420px; }
  .insight-grid { grid-template-columns: 1fr; }
  .insight-grid article { min-height: 220px; padding: 30px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; padding-inline: 6vw; }
  footer div { justify-content: flex-start; flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media (max-width: 560px) {
  .site-header { height: 76px; padding-inline: 6vw; }
  .brand img { width: 125px; }
  .hero { min-height: 720px; }
  .hero-overlay { background: linear-gradient(90deg, rgba(12,14,15,.86), rgba(12,14,15,.54)), linear-gradient(0deg, rgba(12,14,15,.48), transparent 58%); }
  .hero h1 { font-size: 54px; }
  .hero-lead { font-size: 16px; }
  .button-row .button { width: 100%; }
  .hero-proof { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; }
  .hero-proof span { display: grid; min-height: 58px; place-items: center; padding: 10px 6px; text-align: center; white-space: normal; font-size: 10px; line-height: 1.35; }
  .intro h2, .section-heading h2, .greece h2, .staywerk h2, .start h2 { font-size: 43px; }
  .section-heading.horizontal { display: block; }
}

@media (max-width: 360px) {
  .hero-content { padding-bottom: 70px; }
  .hero h1 { font-size: 46px; }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); gap: 20px; }
}


.site-header.inner-header { position: relative; background: #111314; }
.page-hero { padding: 130px max(4vw, calc((100vw - var(--max))/2)) 110px; color: white; background: #1b1e20; }
.page-hero h1 { max-width: 1000px; margin-bottom: 28px; font-size: clamp(58px, 7vw, 96px); letter-spacing: -.035em; }
.page-hero p:not(.eyebrow) { max-width: 720px; color: rgba(255,255,255,.72); font-size: 19px; }
.content-section { padding: 100px max(4vw, calc((100vw - var(--max))/2)); }
.content-section.alt { background: #e9e2d4; }
.content-section.dark { color: white; background: var(--ink); }
.content-lead { display: grid; grid-template-columns: 1fr 1fr; gap: 8vw; }
.content-lead > * { min-width: 0; }
.content-lead h2, .content-lead p { overflow-wrap: anywhere; }
.content-lead h2, .content-section > h2 { font-size: clamp(44px, 5vw, 70px); }
.content-lead p, .content-section > p { color: #555a59; }
.content-section.dark p { color: rgba(255,255,255,.65); }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 55px; border-top: 1px solid var(--line); }
.feature-grid article { padding: 32px 32px 32px 0; border-bottom: 1px solid var(--line); }
.feature-grid h3 { font-family: "Newsreader", serif; font-size: 30px; }
.feature-grid p { color: #5d615f; }
.numbered-list { max-width: 900px; margin: 50px 0 0; padding: 0; list-style: none; counter-reset: steps; }
.numbered-list li { counter-increment: steps; display: grid; grid-template-columns: 70px 1fr; gap: 18px; padding: 25px 0; border-top: 1px solid currentColor; }
.numbered-list li::before { content: counter(steps, decimal-leading-zero); color: #9a7c3e; font-weight: 700; }
.numbered-list strong { display: block; margin-bottom: 5px; font-family: "Newsreader", serif; font-size: 26px; font-weight: 500; }
.boundary { max-width: 850px; padding: 28px; border-left: 4px solid var(--gold); background: white; }
.content-section.dark .boundary { color: var(--ink); }
.content-section.dark .boundary p { color: #555a59; }
.form-shell { max-width: 820px; margin: 0 auto; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label, legend { font-size: 13px; font-weight: 700; }
.field input:not([type="radio"]):not([type="checkbox"]), .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid #a8a49b; border-radius: 0; background: white; font: inherit; }
.field input[type="radio"], .field input[type="checkbox"], .choice-set input { flex: 0 0 18px; width: 18px; height: 18px; min-height: 0; padding: 0; }
.field textarea { min-height: 130px; resize: vertical; }
.choice-set { display: grid; gap: 10px; margin: 0; padding: 0; border: 0; }
.choice-set label { display: flex; gap: 10px; align-items: start; padding: 14px; border: 1px solid #a8a49b; background: white; }
.choice-set input { margin-top: 6px; }
.form-note { margin: 22px 0; color: #666; font-size: 13px; }
@media (max-width:900px) { .content-lead, .feature-grid, .form-grid { grid-template-columns:1fr; } .field.full { grid-column:auto; } .page-hero { padding:90px 6vw 75px; } .content-section { padding:75px 6vw; } }
@media (max-width:560px) { .page-hero h1 { font-size:46px; overflow-wrap:anywhere; } }
