/* ==========================================================================
   LAYOUT: page-level pieces. Header, hero, final CTA/contact, footer.
   (The floating panels have their own file: showcase.css.)
   ========================================================================== */

/* ---------- Header: a thin glass bar ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 0 var(--gutter);
  background: rgba(238, 235, 228, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid var(--glass-line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  font-weight: 800;
  letter-spacing: -0.01em;
  text-decoration: none;
}
/* Placeholder for the logo mark until the real logo goes in */
.brand__mark { width: 22px; height: 22px; border-radius: 6px; background: var(--ink); }

.site-header__launch { display: none; font-size: var(--fs-small); color: var(--ink-soft); }
@media (min-width: 700px) { .site-header__launch { display: block; } }

.site-header__cta {
  padding: 9px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--fs-small);
  font-weight: 700;
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  transition: transform var(--dur-fast) var(--ease), box-shadow var(--dur-fast) var(--ease);
}
.site-header__cta:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), var(--soft-shadow); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 48px;
  padding: calc(var(--header-h) + clamp(32px, 6vh, 72px)) var(--gutter) clamp(28px, 5vh, 56px);
}
.hero__brand { font-weight: 600; color: var(--ink-soft); }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
}
/* Each line is its own block so it can slide up from behind a mask (motion.css) */
.line { display: block; overflow: hidden; padding-bottom: 0.04em; }
.line__inner { display: block; }
@media (min-width: 900px) { .line { white-space: nowrap; } }

.hero__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px 40px;
}
.hero__sub { max-width: 34ch; font-size: var(--fs-lead); line-height: 1.35; }

/* "Explore ↓": a small glass pill */
.hero__explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 0 0 1px var(--glass-line), var(--soft-shadow);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: transform var(--dur) var(--ease);
}
.hero__explore:hover { transform: translateY(2px); }

/* ---------- Final CTA + enquiry ---------- */
.contact {
  display: grid;
  gap: clamp(56px, 10vw, 140px);
  padding: clamp(96px, 16vh, 180px) var(--gutter) clamp(48px, 8vw, 96px);
}
.cta { display: grid; gap: clamp(20px, 3vw, 36px); justify-items: start; }
.cta__title {
  font-size: var(--fs-cta);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
}
.cta__sub { font-size: var(--fs-lead); line-height: 1.35; }

.enquiry { display: grid; gap: clamp(28px, 4vw, 48px); }
.enquiry__intro { display: grid; gap: 10px; max-width: 44ch; }
.enquiry__title {
  margin-bottom: 8px;
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
}
.enquiry__note { margin-top: 8px; font-size: var(--fs-small); color: var(--ink-soft); }

/* The form sits on a light glass card, matching the panels */
.enquiry__card {
  padding: clamp(22px, 4vw, 48px);
  border-radius: var(--radius-panel);
  background: var(--glass-fill);
  border: 1px solid var(--glass-edge);
  box-shadow: 0 0 0 1px var(--glass-line), var(--float-shadow);
}

@media (min-width: 1000px) {
  .enquiry { grid-template-columns: 1fr 1.5fr; align-items: start; }
  .enquiry__intro { position: sticky; top: calc(var(--header-h) + 32px); }
}

/* ---------- Footer ---------- */
.site-footer { padding: clamp(40px, 8vw, 100px) var(--gutter) var(--gutter); }
.site-footer__wordmark {
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.12);
  font-size: clamp(2rem, 7.6vw, 8.2rem);
  font-weight: 900;
  line-height: var(--lh-tight);
  letter-spacing: var(--track-display);
  text-transform: uppercase;
}
.site-footer__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 16px;
  font-size: var(--fs-small);
  color: var(--ink-soft);
}
