/* Solanora Developments – coming soon page
   Palette and type follow the 2026 brand guidelines:
   Saphire Sea #051d3a · Sea Green #409396 · Sea Foam #ebf0fc · Blue Grey #4e5461 · Sun Disc Gold #f1ab25
   Cormorant Garamond SemiBold (primary) · Roboto Light (secondary) – both self-hosted, no third-party requests */

@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("fonts/roboto-latin-300-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/roboto-latin-400-normal.woff2") format("woff2");
}

:root {
  --navy: #051d3a;
  --green: #409396;
  --foam: #ebf0fc;
  --grey: #4e5461;
  --gold: #f1ab25;
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --header-h: clamp(5rem, 8vw, 7.25rem);
  --reveal: 3.6s;
  --reveal-delay: 0.9s;
  --ease: cubic-bezier(0.65, 0, 0.3, 1);
}

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

html {
  background: var(--navy);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--navy);
  color: var(--foam);
  font: 300 1.125rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

a:focus-visible {
  outline: 2px solid var(--foam);
  outline-offset: 4px;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: 0.75rem;
  z-index: 10;
  padding: 0.75rem 1.25rem;
  background: var(--foam);
  color: var(--navy);
  text-decoration: none;
  transform: translateY(-200%);
}
.skip:focus { transform: none; }

/* ---------- Header ---------- */

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0 var(--gutter);
}

.brand { display: block; line-height: 0; }
.brand img { width: clamp(11.5rem, 21vw, 17rem); height: auto; }

.lang { display: flex; align-items: center; font-size: 0.9375rem; }
.lang a {
  display: block;
  padding: 0.75rem 1rem;
  color: rgba(235, 240, 252, 0.72);
  text-decoration: none;
  transition: color 0.2s;
}
.lang a + a { border-left: 1px solid rgba(235, 240, 252, 0.3); }
.lang a:last-child { padding-right: 0; }
.lang a[aria-current="true"] { color: #fff; }
.lang a:hover { color: var(--gold); }

/* ---------- Hero ---------- */

.hero {
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero-copy {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(0.5rem, 2vh, 1.5rem) var(--gutter) clamp(1rem, 3vh, 2rem);
}

.status {
  margin: 0 0 1.25rem;
  color: var(--gold);
  font-size: 1.0625rem;
}

h1 {
  margin: 0;
  color: #fff;
  font: 600 clamp(2.7rem, min(6vw, 10.5vh), 5.75rem) / 0.98 var(--serif);
  letter-spacing: -0.012em;
}
h1 span { display: block; }

.lede {
  max-width: 33rem;
  margin: 1.5rem 0 2rem;
  color: rgba(235, 240, 252, 0.92);
  font-size: clamp(1.125rem, 1.5vw, 1.375rem);
  line-height: 1.6;
}

.btn {
  display: inline-block;
  padding: 1.05rem 2.1rem;
  background: var(--gold);
  color: var(--navy);
  font: 400 1rem / 1 var(--sans);
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color 0.2s;
}
.btn:hover { background: #fff; }

/* The stage: a line drawing of the house that is redrawn as the finished render, left to right.
   "From design to completion", shown rather than told. */

.stage {
  position: relative;
  z-index: 1;
  margin: calc(-1 * clamp(1rem, 8vw, 8rem)) 0 0;
  aspect-ratio: 2400 / 716;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 34%, #000 82%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 34%, #000 82%, transparent 100%);
}

.stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 50%;
}

.stage .render {
  animation: reveal var(--reveal) var(--ease) var(--reveal-delay) both;
}

.scan {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--gold);
  box-shadow: 0 0 14px 1px rgba(241, 171, 37, 0.55);
  pointer-events: none;
  animation: scan var(--reveal) var(--ease) var(--reveal-delay) both;
}

@keyframes reveal {
  from { clip-path: inset(0 100% 0 0); }
  to   { clip-path: inset(0 0 0 0); }
}
@keyframes scan {
  0%   { left: 0;    opacity: 0; }
  5%   { opacity: 0.95; }
  92%  { opacity: 0.95; }
  100% { left: 100%; opacity: 0; }
}

/* ---------- Contact + gallery ---------- */

.contact {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  padding: clamp(3.5rem, 9vw, 9rem) var(--gutter);
}

.contact-copy { position: sticky; top: 2.5rem; }

h2 {
  margin: 0 0 1.5rem;
  color: #fff;
  font: 600 clamp(2.1rem, 4.2vw, 3.75rem) / 1.06 var(--serif);
  letter-spacing: -0.008em;
  text-wrap: balance;
}

.contact-copy p { max-width: 30rem; margin: 0 0 2rem; }


.contact-copy .social {
  margin: 1.75rem 0 0;
  font-size: 1rem;
  color: rgba(235, 240, 252, 0.78);
}

.gallery { display: grid; gap: clamp(1rem, 2vw, 1.75rem); margin: 0; }
.gallery img { width: 100%; height: auto; }

/* ---------- Sponsorship ---------- */

.sponsor {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem) var(--gutter);
  background: rgba(235, 240, 252, 0.04);
}
.crest { width: clamp(6.5rem, 12vw, 10rem); height: auto; }
.sponsor h2 { margin-bottom: 1rem; font-size: clamp(1.75rem, 3vw, 2.5rem); }
.sponsor p { max-width: 38rem; margin: 0 0 1rem; }
.sponsor p:last-child { margin-bottom: 0; }
.textlink {
  color: #fff;
  text-decoration-color: rgba(241, 171, 37, 0.7);
  text-underline-offset: 0.25em;
}
.textlink:hover { text-decoration-color: var(--gold); }

/* ---------- Footer ---------- */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.75rem var(--gutter) 2.25rem;
  border-top: 1px solid rgba(235, 240, 252, 0.14);
  color: rgba(235, 240, 252, 0.7);
  font-size: 0.9375rem;
}
.site-footer p { margin: 0; }
.site-footer img { width: 2rem; height: 2rem; }

/* ---------- Smaller screens ---------- */

@media (max-width: 899px) {
  h1 { font-size: clamp(2.7rem, 8.5vw, 4.5rem); }
  .stage { aspect-ratio: 16 / 9; margin-top: calc(-1 * clamp(0.5rem, 4vw, 2rem)); }
  .contact { grid-template-columns: 1fr; }
  .contact-copy { position: static; }
}

@media (max-width: 599px) {
  .sponsor { grid-template-columns: 1fr; }
  .stage { aspect-ratio: 4 / 3; }
  .stage img { object-position: 72% 50%; }
  .status { margin-bottom: 1rem; }
  .lede { margin: 1.5rem 0 2rem; }
  .btn { display: block; text-align: center; }
  .contact-copy .btn { display: block; }
}

/* ---------- Reduced motion: show the finished render straight away ---------- */

@media (prefers-reduced-motion: reduce) {
  .stage .render { animation: none; }
  .scan { display: none; }
  .btn, .lang a { transition: none; }
}
