/*
  KATSURA LANDING PAGE
  Easy edits:
  - Colours: edit :root variables below.
  - Fonts: replace --font-serif / --font-sans with your Typekit font names.
  - Copy: edit index.html.
  - Images: replace files in /images using the same filenames.
  - Footer logos: replace placeholder divs with <img> tags as noted in README.txt.
*/

:root {
  --bg: #fbfaf7;
  --paper: #fffefb;
  --ink: #24221f;
  --muted: #706b63;
  --line: #ded8ce;
  --soft-line: #ebe6dd;
  --accent: #9f8d72;
  --accent-dark: #4d4438;
  --stone: #e7e0d5;
  --shadow: 0 24px 60px rgba(42, 38, 32, 0.08);
  --max: 1440px;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-sans: "Inter", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 76% 7%, rgba(220, 217, 207, .38), transparent 26%),
    linear-gradient(180deg, #fffefb 0%, var(--bg) 42%, #f8f5ef 100%);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1.65;
  background-image: url('images/bg.jpg'); background-repeat: repeat;
}
body.full-header-page .site-header {
  background: transparent;
}
button, input, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
figure { margin: 0; }

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(18px, 3vw, 38px) clamp(22px, 5vw, 70px);
  background: transparent;
  backdrop-filter: none;
  background: linear-gradient(to bottom, rgba(251,250,247,.90), rgba(251,250,247,.46), transparent) !important;
  backdrop-filter: blur(4px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.brand img { width: clamp(112px, 12vw, 175px); height: auto; }

.register-top,
.submit-btn {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 13px 22px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.register-top:hover,
.submit-btn:hover { transform: translateY(-2px); background: transparent; color: var(--ink); }

.section-pad {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: clamp(40px, 5vw, 76px);
  padding-right: clamp(40px, 5vw, 76px);
}
.soft-line { border-top: 1px solid var(--soft-line); }

.hero {
  position: relative;
}
.hero-full {
  min-height: 100vh;
  display: grid;
  align-items: stretch;
  overflow: hidden;
  border-bottom: 1px solid var(--soft-line);
  background: var(--paper);
}
.hero-full::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 18, 14, 0.5) 0%,
    rgba(20, 18, 14, 0.1) 40%,
    rgba(20, 18, 14, 0.0) 72%
  );
  pointer-events: none;
}
.hero-full-bg,
.hero-full-overlay {
  position: absolute;
  inset: 0;
}
.hero-full-bg {
  background: url("images/hero.jpg") center / cover no-repeat;
  transform: scale(1.015);
}
.hero-full-overlay {
  display: none;
}
.hero-full-content {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding-top: clamp(112px, 12vh, 168px);
  padding-bottom: clamp(40px, 7vh, 76px);
}

.hero-full .hero-kicker,
.hero-full .eyebrow,
.hero-full h1,
.hero-full .intro-text,
.hero-full .hero-bottom p,
.hero-full .hero-details,
.hero-full .hero-details span {
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(0,0,0,.28);
}
.hero-full .hero-kicker span + span::before,
.hero-full .hero-bottom {
  border-color: rgba(255,255,255,.56);
}
.hero-full .hero-kicker span + span::before {
  background: rgba(255,255,255,.65);
}
.hero-full .hero-cta {
  border-color: #fff;
  background: #fff;
  color: var(--ink);
}
.hero-full .hero-cta:hover {
  background: transparent;
  color: #fff;
}

.hero-kicker {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  max-width: 760px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.hero-kicker span {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.hero-kicker span + span::before {
  content: "";
  width: 34px;
  height: 1px;
  background: rgba(77,68,56,.55);
}
.hero-statement {
  max-width: 760px;
  padding: clamp(20px, 3vw, 34px) 0 clamp(16px, 2vw, 24px);
}
.hero-statement h1 {
  font-size: clamp(74px, 11vw, 80px);
  max-width: 880px;
  letter-spacing: -.055em;
}
.hero-statement .intro-text {
  margin-top: clamp(20px, 3vw, 36px);
  max-width: 560px;
  font-size: clamp(18px, 1.7vw, 18px);
  line-height: 1.45;
  color: var(--ink); /* overridden to white when inside .hero-full — see below */
}
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(220px, 400px) minmax(260px, 1fr) auto;
  align-items: end;
  gap: clamp(24px, 4vw, 42px);
  max-width: 1040px;
  /* border-top: 1px solid rgba(77,68,56,.30);
  padding-top: clamp(22px, 3vw, 34px); */
  background: rgba(0, 0, 0, 0.7);
  padding: 20px;
}
.hero-bottom p {
  margin: 0;
  max-width: 390px;
  color: var(--ink); /* overridden to white when inside .hero-full — see below */
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
}
.hero-cta {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  letter-spacing: .16em;
  text-transform: uppercase;
  font-size: 11px;
  padding: 15px 22px;
  min-width: 214px;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.hero-cta:hover { transform: translateY(-2px); background: transparent; color: var(--ink); }

.eyebrow,
.section-label,
.partner-label {
  margin: 0 0 24px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent-dark);
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .96;
  margin: 0;
}
h1 { font-size: clamp(62px, 7vw, 112px); max-width: 620px; }
h2 { font-size: clamp(44px, 5vw, 82px); }
h3 { font-size: clamp(30px, 3vw, 48px); }

.small-rule { width: 42px; height: 1px; background: var(--ink); margin: 34px 0; }
.intro-text,
.hero-support,
.lead,
.register-intro p { max-width: 430px; color: var(--muted); font-size: clamp(14px, 1vw, 16px); }
.hero-support { margin-top: 18px; color: var(--ink); }
.hero-details {
  display: grid;
  gap: 8px;
  margin: 28px 0 34px;
  color: var(--accent-dark);
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-full .hero-details { margin: 0; align-self: end; }
.text-link {
  display: inline-block;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  padding: 0 0 7px;
  color: var(--ink);
  letter-spacing: .2em;
  text-transform: uppercase;
  font-size: 11px;
}

.intro-section,
.practicality,
.closing,
.register { padding-top: clamp(70px, 9vw, 126px); padding-bottom: clamp(70px, 9vw, 126px); }
.intro-grid,
.practicality-grid {
  display: grid;
  grid-template-columns: .75fr 1.25fr;
  gap: clamp(34px, 7vw, 110px);
  align-items: start;
}
.editorial-copy {
  columns: 2 280px;
  column-gap: clamp(34px, 5vw, 76px);
  color: var(--muted);
  max-width: 900px;
}
.editorial-copy p { margin-top: 0; break-inside: avoid; }

.wide-image-section { padding-top: clamp(40px, 5vw, 76px); padding-bottom: clamp(64px, 8vw, 116px); }
.wide-image {
  max-width: 1160px;
  margin: 0 auto;
  background: var(--paper);
  box-shadow: 0 26px 68px rgba(50,45,38,.07);
}
.wide-image img { width: 100%; }

.feature-section {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(36px, 7vw, 104px);
  align-items: center;
  padding-top: clamp(70px, 9vw, 126px);
  padding-bottom: clamp(70px, 9vw, 126px);
}
.feature-section.reverse { grid-template-columns: .95fr 1.05fr; }
.feature-section.reverse .feature-art { order: 2; }
.feature-section.reverse .feature-copy { order: 1; }
.feature-copy p,
.split-copy p,
.closing-inner p,
.location-overlay p { max-width: 620px; color: var(--muted); }
.feature-copy .lead,
.split-copy .lead,
.practicality .lead { color: var(--ink); font-size: clamp(17px, 1.3vw, 21px); line-height: 1.45; }

.feature-art {
  /* min-height: 430px; */
  background: var(--paper);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid lightgray;
}
.image-card img {
  width: 100%;
  /* height: 100%;
  min-height: 430px;
  object-fit: cover; */
}

.split-section {
  display: grid;
  grid-template-columns: 1fr minmax(260px, 420px);
  gap: clamp(34px, 7vw, 104px);
  align-items: center;
  padding-top: clamp(70px, 9vw, 126px);
  padding-bottom: clamp(70px, 9vw, 126px);
}
.detail-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.34);
  padding: clamp(28px, 4vw, 48px);
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.detail-number {
  font-family: var(--font-serif);
  font-size: clamp(84px, 10vw, 150px);
  line-height: .8;
  color: rgba(77,68,56,.22);
  margin: 0 0 auto;
}
.detail-card p { color: var(--muted); }

.location-photo {
  min-height: clamp(440px, 58vw, 720px);
  position: relative;
  display: flex;
  align-items: flex-end;
  background: url("images/map.jpg") center / cover no-repeat;
  border-top: 1px solid var(--soft-line);
  border-bottom: 1px solid var(--soft-line);
}
.location-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(20, 18, 14, 0.72) 0%,
    rgba(20, 18, 14, 0.38) 40%,
    rgba(20, 18, 14, 0.0) 72%
  );
  pointer-events: none;
}
.location-overlay {
  position: relative;
  z-index: 1; /* sits above the ::after gradient */
  width: 100%;
  padding-top: clamp(90px, 12vw, 170px);
  padding-bottom: clamp(36px, 5vw, 58px);
}
.location-overlay h2 { max-width: 740px; }
.location-overlay h2,
.location-overlay p,
.location-overlay .eyebrow { color: #fff; text-shadow: 0 2px 18px rgba(0,0,0,.28); }
.location-overlay p { margin-top: 28px; }

.closing-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.closing-inner p { margin-left: auto; margin-right: auto; }
.closing .text-link { margin-top: 20px; }

.register {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: clamp(36px, 7vw, 92px);
  align-items: start;
}
.register-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 22px;
  background: rgba(255,255,255,.42);
  border: 1px solid var(--line);
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 8px; }
.form-row.full,
.form-footer.full,
.form-status.full { grid-column: 1 / -1; }
label { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-dark); }
input,
textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 12px 0;
  color: var(--ink);
  outline: none;
}
textarea { resize: vertical; }
input:focus,
textarea:focus { border-bottom-color: var(--ink); }
.form-footer { display: flex; justify-content: space-between; gap: 22px; align-items: center; }
.fine-print { max-width: 430px; color: var(--muted); font-size: 12px; margin: 0; }
.form-status { margin: 0; color: var(--accent-dark); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 44px clamp(22px, 5vw, 76px) 50px;
  max-width: var(--max);
  margin: 0 auto;
}
.footer-main { display: flex; justify-content: space-between; gap: 24px; align-items: center; margin-bottom: 46px; }
.footer-project-logo { width: clamp(120px, 13vw, 185px); }
.footer-partners { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(30px, 6vw, 84px); }
.logo-row { display: grid; gap: 14px; }
.logo-row-developer { grid-template-columns: repeat(2, minmax(130px, 1fr)); }
.logo-row-sales { grid-template-columns: repeat(3, minmax(110px, 1fr)); }
.logo-placeholder {
  min-height: 86px;
  /* border: 1px solid var(--line); */
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  background: rgba(255,255,255,.24);
  text-align: center;
  padding: 14px;
}
.logo-placeholder img {
	width: 70%;
}

/* ── Spark form additions ───────────────────────────────────────────── */

/* Required asterisk */
.req { color: var(--accent); margin-left: 2px; }

/* Select dropdowns — match the underline input style */
select {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23706b63'/%3E%3C/svg%3E") no-repeat right 2px center;
  -webkit-appearance: none;
  appearance: none;
  padding: 12px 24px 12px 0;
  color: var(--ink);
  font-size: inherit;
  font-family: inherit;
  font-weight: 300;
  cursor: pointer;
  outline: none;
  line-height: 1.65;
}
select:focus { border-bottom-color: var(--ink); }
select option { background: var(--paper); color: var(--ink); }

/* Consent checkbox row */
.form-row-consent { margin-top: 6px; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: .04em;
  text-transform: none;
  color: var(--muted);
  line-height: 1.55;
}
.consent-label input[type="checkbox"] {
  width: 16px;
  height: 16px;
  min-width: 16px;
  border: 1px solid var(--line);
  border-bottom: 1px solid var(--line); /* override the full-width bottom-only rule */
  background: transparent;
  accent-color: var(--ink);
  margin-top: 2px;
  cursor: pointer;
  padding: 0;
}
.consent-label span { padding-top: 1px; }

/* ── end Spark form additions ────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .28s; }

@media (max-width: 1080px) {
  .intro-grid,
  .feature-section,
  .feature-section.reverse,
  .split-section,
  .practicality-grid,
  .register,
  .footer-partners { grid-template-columns: 1fr; }
  .hero-bottom { grid-template-columns: 1fr; align-items: start; max-width: 540px; }
  .hero-kicker span + span::before { display: none; }
  .feature-section.reverse .feature-art,
  .feature-section.reverse .feature-copy { order: initial; }
  .editorial-copy { columns: 1; }
}

@media (max-width: 720px) {
  .site-header { align-items: flex-start; }
  .register-top { padding: 11px 15px; font-size: 10px; }
  h1 { font-size: clamp(52px, 16vw, 76px); }
  h2 { font-size: clamp(39px, 11vw, 58px); }
  .hero-full, .hero-full-content { min-height: 100svh; }
  .hero-full-bg { background-position: 61% center; }
  .hero-statement h1 { font-size: clamp(62px, 19vw, 92px); }
  .hero-statement .intro-text { font-size: clamp(16px, 4vw, 20px); }
  .hero-bottom { gap: 18px; border-top-color: rgba(255,255,255,.56); }
  .feature-art, .image-card img { min-height: 290px; }
  .location-photo { min-height: 520px; background-position: center; }
  .register-form { grid-template-columns: 1fr; }
  .form-footer { align-items: flex-start; flex-direction: column; }
  .footer-main { align-items: flex-start; flex-direction: column; }
  .logo-row-developer,
  .logo-row-sales { grid-template-columns: 1fr; }
  .section-pad {
    padding-left: 40px;
    padding-right: 40px;
  }
}