/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; font: inherit; }

/* ── Theme variables ── */
:root {
  --bg:       #ffffff;
  --bg-card:  #ffffff;
  --bg-alt:   #f7f7f5;
  --text:       rgba(18,18,18,.92);
  --text-muted: rgba(18,18,18,.58);
  --border:   rgba(10,10,10,.10);
  --shadow:   0 8px 40px rgba(0,0,0,.08);
  --radius:   16px;
  --max-w:    900px;
  --font:     system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif:    'WindSong', Georgia, serif;
}

[data-theme="dark"] {
  --bg:       #0b0b0c;
  --bg-card:  #111114;
  --bg-alt:   #0e0e11;
  --text:       rgba(255,255,255,.90);
  --text-muted: rgba(255,255,255,.52);
  --border:   rgba(255,255,255,.09);
  --shadow:   0 8px 40px rgba(0,0,0,.40);
}

/* ── Base ── */
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
  transition: background .25s, color .25s;
}

/* ── Hero ── */
.hero {
  background-color: #0b0b0c;
  background-image:
    linear-gradient(rgba(11,11,12,.62), rgba(11,11,12,.62)),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.hero-inner { max-width: 620px; }

.kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255,255,255,.58);
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 5.8rem);
  font-weight: 400;
  line-height: 1.08;
  color: rgba(255,255,255,.92);
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(255,255,255,.82);
  text-shadow: 0 1px 10px rgba(0,0,0,.55);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 13px 30px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .01em;
  transition: background .18s, border-color .18s;
}
.btn:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.28);
}

/* ── Layout ── */
.wrap {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 28px;
}

.section { padding: 88px 0; }
.section--alt { background: var(--bg-alt); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.15;
}

.section-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 52px;
  max-width: 520px;
  line-height: 1.65;
}

/* ── Origin ── */
.section--origin { padding: 64px 0; }
.origin {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.origin-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}
.origin-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Portfolio ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.portfolio-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  transition: transform .22s, box-shadow .22s;
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,.13);
}
[data-theme="dark"] .portfolio-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,.50);
}

.portfolio-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
}
.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform .4s ease;
}
.portfolio-grid article:last-child .portfolio-img {
  object-position: center 70%;
}
.portfolio-card:hover .portfolio-img { transform: scale(1.04); }

.portfolio-info { padding: 22px 24px 26px; }

.portfolio-location {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.portfolio-name {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.2;
}

.portfolio-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

.portfolio-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color .18s;
}
.portfolio-link:hover { color: var(--text-muted); }

/* ── Hosts with websites ── */
.hosts-text {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 640px;
}

/* ── Why ── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 52px;
}

.why-card {
  padding: 28px 24px 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
}

.why-icon {
  color: var(--text-muted);
  margin-bottom: 16px;
}

.why-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.why-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Features ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 52px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 20px 22px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
}

.feature-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  margin-top: 2px;
}

.feature-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}

.feature-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ── Process ── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 52px;
}

.process-step { padding: 4px 0; }

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.step-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.step-text {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Process image ── */
.process-img-wrap {
  width: 100%;
  max-width: 480px;
  margin: 0 auto 52px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.process-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}

/* ── Contact ── */
.contact {
  background-color: #0b0b0c;
  background-image:
    linear-gradient(rgba(11,11,12,.60), rgba(11,11,12,.60)),
    url('../images/balcony-ocean.jpg');
  background-size: cover;
  background-position: center 55%;
  background-repeat: no-repeat;
  text-align: center;
  padding: 108px 24px;
}
.contact-inner {
  max-width: 680px;
  margin: 0 auto;
}

.kicker--light { color: rgba(255,255,255,.35); }

.contact-title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  color: rgba(255,255,255,.92);
  margin-bottom: 16px;
}

.contact-pricing {
  font-size: 15px;
  color: rgba(255,255,255,.78);
  margin-bottom: 10px;
}
.contact-sub {
  font-size: 16px;
  color: rgba(255,255,255,.48);
  margin-bottom: 40px;
  line-height: 1.6;
}

.btn--outline {
  background: transparent;
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.80);
}
.btn--outline:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.32);
  color: rgba(255,255,255,.90);
}

/* ── Footer ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background .25s;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-instagram {
  color: var(--text-muted);
  display: flex;
  transition: color .18s;
}
.footer-instagram:hover { color: var(--text); }
.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.theme-toggle {
  background: none;
  border: none;
  padding: 0;
  font-size: 12px;
  color: var(--text-muted);
  transition: color .18s;
}
.theme-toggle:hover {
  color: var(--text);
}

/* ── Responsive ── */
@media (max-width: 720px) {
  .portfolio-grid    { grid-template-columns: 1fr; }
  .why-grid          { grid-template-columns: 1fr; }
  .features-grid     { grid-template-columns: 1fr; }
  .process-grid      { grid-template-columns: 1fr; gap: 28px; }
  .section           { padding: 64px 0; }
  .hero              { min-height: 70vh; padding: 64px 20px; }
  .contact           { padding: 80px 20px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2.8rem; }
  .wrap       { padding: 0 20px; }
  .footer      { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-left { flex-direction: row; }
}
