/* Wade & Norton — shared styles */

:root {
  --ink: #1e3950;
  --ink-soft: #4a6478;
  --gold: #b0864a;
  --gold-light: #c9a878;
  --paper: #f4f6f7;
  --white: #ffffff;
  --deep: #17303f;
  --line: rgba(30, 57, 80, 0.14);

  --shadow-card: 0 18px 45px rgba(15, 40, 60, 0.18);
  --shadow-soft: 0 6px 20px rgba(15, 40, 60, 0.08);

  --font-serif: "Playfair Display", Georgia, serif;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1180px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.shell {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

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

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: block;
  text-decoration: none;
  text-align: center;
  line-height: 1;
}

/* The WN mark. Colours come from these three classes, so the same
   markup works on light and dark backgrounds by overriding them. */

.wn-mark {
  display: block;
  width: 64px;
  height: 64px;
  margin: 0 auto;
}

.wn-frame  { stroke: var(--ink); }
.wn-rule   { stroke: var(--gold); }
.wn-letter { fill: var(--ink); }
.wn-amp    { fill: var(--gold); }

/* Reversed out, for use over the hero or the dark bands. */
.on-dark .wn-frame  { stroke: rgba(255, 255, 255, 0.75); }
.on-dark .wn-letter { fill: #ffffff; }
.on-dark .wn-rule,
.on-dark .wn-amp    { stroke: var(--gold-light); fill: var(--gold-light); }

.brand .wordmark {
  font-family: var(--font-serif);
  font-size: 15px;
  margin-top: 4px;
  letter-spacing: 0.26em;
  color: var(--ink);
  display: block;
  margin-top: 9px;
}

.brand .tagline {
  font-family: var(--font-body);
  font-size: 7.5px;
  letter-spacing: 0.2em;
  color: var(--ink-soft);
  display: block;
  margin-top: 5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3.5vw, 52px);
}

.nav a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nav a:hover { border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }

@media (max-width: 720px) {
  .header-inner { flex-direction: column; padding: 20px 0 14px; }
  .nav { flex-wrap: wrap; justify-content: center; gap: 18px; }
}

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

.hero {
  position: relative;
  isolation: isolate;
  color: var(--white);
  padding-top: clamp(70px, 11vw, 130px);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  /* Warm fallback in the same family as the hero photo. */
  background:
    linear-gradient(180deg, #efa961 0%, #c9762f 42%, #5d4433 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

/* Two scrims. The first darkens the upper left where the headline
   sits, the second keeps the whole frame from washing out. Kept
   neutral rather than blue so the sunset colour survives. */
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(10, 20, 30, 0.84) 0%,
      rgba(10, 20, 30, 0.6) 36%,
      rgba(10, 20, 30, 0.18) 66%,
      rgba(10, 20, 30, 0.3) 100%
    ),
    linear-gradient(
      180deg,
      rgba(10, 20, 30, 0.5) 0%,
      rgba(10, 20, 30, 0.2) 42%,
      rgba(10, 20, 30, 0.1) 70%,
      rgba(10, 20, 30, 0.34) 100%
    );
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 6.4vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  margin: 0 0 18px;
  max-width: 15ch;
  text-shadow: 0 2px 24px rgba(8, 16, 24, 0.55);
}

.hero p.lede {
  font-size: clamp(15px, 1.6vw, 19px);
  max-width: 46ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 16px rgba(8, 16, 24, 0.6);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
  padding: 14px 30px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, background 0.2s ease;
}

.hero-cta:hover { transform: translateY(-2px); background: #fff; }
.hero-cta .arrow { color: var(--gold); }

/* Phase cards floating over the hero */

.phases {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2.6vw, 34px);
  margin-top: clamp(48px, 8vw, 96px);
  padding-bottom: clamp(28px, 4vw, 50px);
}

@media (max-width: 800px) {
  .phases { grid-template-columns: 1fr; }
}

.phase-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(6px);
  border-radius: 14px;
  padding: clamp(22px, 3vw, 34px);
  box-shadow: var(--shadow-card);
  color: var(--ink);
}

.phase-card h2 {
  font-family: var(--font-display);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.phase-card .timing {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
}

.phase-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.phase-card li {
  font-size: 15px;
  color: var(--ink-soft);
  padding: 8px 0;
  border-top: 1px solid var(--line);
}

.phase-card li:first-child { border-top: none; padding-top: 0; }

/* ---------- Proximity strip ---------- */

.proximity {
  background: var(--deep);
  color: var(--white);
  padding: clamp(30px, 4.5vw, 48px) 0;
}

.proximity-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: center;
}

@media (max-width: 640px) {
  .proximity-grid { grid-template-columns: 1fr; gap: 26px; }
}

.proximity .label {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.proximity .value {
  margin: 0;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
}

/* ---------- Generic sections ---------- */

.section { padding: clamp(56px, 8vw, 100px) 0; }
.section.alt { background: var(--white); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 12px;
}

.section h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 18px;
  max-width: 20ch;
}

.section p.body {
  font-size: 17px;
  color: var(--ink-soft);
  max-width: 62ch;
  margin: 0 0 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: 44px;
}

.feature h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 8px;
  padding-top: 16px;
  border-top: 2px solid var(--gold);
}

.feature p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}

/* ---------- Register band ---------- */

.register-band {
  background: var(--deep);
  color: var(--white);
  text-align: center;
  padding: clamp(56px, 8vw, 96px) 0;
}

.register-band h2 {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin: 0 auto 14px;
  max-width: 18ch;
}

.register-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 52ch;
  margin: 0 auto 30px;
  font-size: 16px;
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-gold:hover { background: #9c763d; transform: translateY(-1px); }
.btn-gold:disabled { opacity: 0.6; cursor: default; transform: none; }

/* ---------- Register page ---------- */

.register-page {
  padding: clamp(46px, 7vw, 88px) 0 clamp(56px, 8vw, 100px);
}

.register-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 880px) {
  .register-layout { grid-template-columns: 1fr; }
}

.register-intro h1 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.012em;
  margin: 0 0 18px;
}

.register-intro p {
  font-size: 17px;
  color: var(--ink-soft);
  margin: 0 0 16px;
  max-width: 44ch;
}

.register-facts {
  list-style: none;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.register-facts li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}

.register-facts .k {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-size: 12px;
}

.register-facts .v { color: var(--ink-soft); text-align: right; }

.form-card {
  background: var(--white);
  border-radius: 14px;
  padding: clamp(24px, 3.6vw, 42px);
  box-shadow: var(--shadow-card);
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.field .optional {
  color: var(--ink-soft);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  width: 100%;
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus {
  border-color: var(--gold);
  background: var(--white);
  outline: none;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 520px) {
  .field-row { grid-template-columns: 1fr; gap: 0; }
}

fieldset {
  border: none;
  margin: 0 0 20px;
  padding: 0;
}

fieldset legend {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 0;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--ink-soft);
  cursor: pointer;
}

.check input { margin-top: 3px; accent-color: var(--gold); flex-shrink: 0; }

.consent {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 4px;
}

.consent .check { font-size: 13.5px; line-height: 1.5; }

.form-card .btn-gold { width: 100%; justify-content: center; margin-top: 8px; }

.form-note {
  font-size: 12.5px;
  color: var(--ink-soft);
  margin: 14px 0 0;
  text-align: center;
}

.form-status {
  margin-top: 16px;
  padding: 13px 16px;
  border-radius: 4px;
  font-size: 14.5px;
  display: none;
}

.form-status.show { display: block; }
.form-status.error { background: #fdf0ee; color: #8c3222; border: 1px solid #f0cec6; }

.form-success {
  display: none;
  text-align: center;
  padding: 18px 0;
}

.form-success.show { display: block; }

.form-success h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.form-success p {
  color: var(--ink-soft);
  font-size: 15px;
  margin: 0 auto;
  max-width: 34ch;
}

.form-success .tick {
  width: 44px;
  height: 44px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 22px;
}

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

.site-footer {
  background: var(--paper);
  border-top: 1px solid var(--line);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--ink-soft);
}

.footer-inner a { text-decoration: none; }
.footer-inner a:hover { color: var(--gold); }

.disclaimer {
  font-size: 11.5px;
  color: var(--ink-soft);
  margin: 18px 0 0;
  max-width: 90ch;
  line-height: 1.5;
}

/* ---------- Phase Two pending state ---------- */

.phase-card--pending {
  display: flex;
  flex-direction: column;
}

.phase-card--pending .pending-note {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 25px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 6px 0 10px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.phase-card--pending .pending-sub {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 34ch;
}

/* ---------- Rendering ---------- */

.rendering {
  background: var(--white);
  padding: clamp(56px, 8vw, 96px) 0 clamp(40px, 5vw, 64px);
}

.rendering h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.6vw, 40px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0 0 26px;
}

.rendering-figure { margin: 0; }

.rendering-figure img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.rendering-figure figcaption {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Homepage signup ---------- */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.signup-form {
  max-width: 560px;
  margin: 0 auto;
  position: relative;
}

.signup-row {
  display: flex;
  gap: 10px;
}

.signup-row input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  padding: 15px 16px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid transparent;
  border-radius: 2px;
}

.signup-row input[type="email"]:focus {
  outline: none;
  border-color: var(--gold);
}

.signup-row .btn-gold { flex: 0 0 auto; }

@media (max-width: 560px) {
  .signup-row { flex-direction: column; }
  .signup-row .btn-gold { justify-content: center; }
}

.signup-consent {
  justify-content: center;
  margin: 16px 0 0;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
}

.signup-status {
  display: none;
  margin: 14px 0 0;
  font-size: 14px;
  color: #ffc9bd;
}

.signup-status.show { display: block; }

.signup-success {
  display: none;
  max-width: 560px;
  margin: 0 auto;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.signup-success.show { display: flex; }

.signup-success .tick {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 17px;
}

.signup-success p {
  margin: 0;
  color: var(--white);
  font-size: 17px;
}

.signup-alt {
  margin: 26px 0 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.signup-alt a { color: var(--gold-light); }

/* ---------- Downloads ---------- */

.downloads {
  display: grid;
  gap: 12px;
  margin-top: 36px;
  max-width: 700px;
}

.download {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

a.download:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.download-icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.download-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.download-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.download-meta {
  font-size: 13.5px;
  color: var(--ink-soft);
}

.download-arrow {
  margin-left: auto;
  flex: 0 0 auto;
  font-size: 19px;
  color: var(--gold);
}

.download--pending {
  background: transparent;
  border-style: dashed;
  cursor: default;
}

.download--pending .download-icon {
  background: transparent;
  border: 1px dashed var(--line);
  color: var(--ink-soft);
}

.download--pending .download-title { color: var(--ink-soft); }

.signup-status.error { color: #ffc9bd; background: none; border: none; padding: 0; }

/* ---------- Site plan block ---------- */

.site-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.78fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  margin-top: clamp(40px, 6vw, 72px);
}

@media (max-width: 860px) {
  .site-plan { grid-template-columns: 1fr; }
}

.site-plan-text h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.4vw, 27px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin: 0 0 14px;
}

.site-plan-text p {
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0 0 20px;
  max-width: 48ch;
}

.spec-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  border-top: 1px solid var(--line);
  max-width: 420px;
}

.spec-list li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

.spec-list li span:first-child {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: center;
}

.spec-list li span:last-child { color: var(--ink-soft); text-align: right; }

.fineprint {
  font-size: 12.5px !important;
  color: var(--ink-soft);
  margin: 0 !important;
}

.site-plan-figure { margin: 0; }

.site-plan-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
}

.site-plan-figure figcaption {
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--ink-soft);
}

/* ---------- Location header ---------- */

.location-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: clamp(26px, 3.5vw, 38px);
  margin-bottom: clamp(26px, 3.5vw, 38px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.location-label {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0 0 6px;
}

.location-address {
  font-family: var(--font-display);
  font-size: clamp(17px, 2.2vw, 23px);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--white);
}

.map-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.map-link:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold-light);
}

.map-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  fill: none;
  stroke: var(--gold-light);
  stroke-width: 1.8;
  stroke-linejoin: round;
}

@media (max-width: 560px) {
  .location-head { flex-direction: column; align-items: flex-start; }
}
