/* ==========================================================================
   Lyonn Properties — Coming Soon
   Emerald tech-noir, one gold accent. Dark only; there is no light mode.
   Radius 0 everywhere. No shadows of any kind. All transitions 300ms ease.
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */

:root {
  /* The green stack — each value is a layer, not a decoration */
  --ly-green-950: #04120B; /* page floor, contact, footer */
  --ly-green-900: #061E12; /* content wrapper (behind the hero) */
  --ly-green-850: #071E13; /* availability ground */
  --ly-green-800: #082116; /* mandates ground */

  /* Gold — the only accent */
  --ly-gold-500: #C9A55C;
  --ly-gold-400: #D8BC7E;
  --ly-gold-300: #E3C98B;

  /* Ivory, never white */
  --ly-ivory-100: #F7F4ED; /* headings */
  --ly-ivory-200: #F4F1EA; /* contact links, strong body */
  --ly-on-accent: #07160F; /* label on a gold fill */

  /* The ivory alpha ladder is the text hierarchy — no greys */
  --ly-ivory-86: rgba(244, 241, 234, 0.86); /* hero lede */
  --ly-ivory-82: rgba(244, 241, 234, 0.82); /* contact detail values */
  --ly-ivory-78: rgba(244, 241, 234, 0.78); /* availability body */
  --ly-ivory-76: rgba(244, 241, 234, 0.76); /* contact body */
  --ly-ivory-72: rgba(244, 241, 234, 0.72); /* mandate body */
  --ly-ivory-55: rgba(244, 241, 234, 0.55); /* micro labels */
  --ly-ivory-50: rgba(244, 241, 234, 0.50); /* copyright */

  /* Gold alphas — the signature detail */
  --ly-gold-60: rgba(201, 165, 92, 0.60); /* outline button, 84px rule */
  --ly-gold-55: rgba(201, 165, 92, 0.55); /* statement-band divider */
  --ly-gold-20: rgba(201, 165, 92, 0.20); /* mandates grid borders */
  --ly-gold-16: rgba(201, 165, 92, 0.16); /* section tops, column divider */

  /* The only two image treatments */
  --ly-hero-scrim: linear-gradient(
    to bottom,
    rgba(4, 18, 11, 0.88),
    rgba(4, 18, 11, 0.70) 42%,
    rgba(4, 18, 11, 0.95)
  );
  --ly-band-scrim: rgba(7, 22, 15, 0.60);

  /* Type */
  --ly-font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --ly-font-caps: "Jost", "Helvetica Neue", Arial, sans-serif;

  /* Geometry & motion */
  --ly-pad-x: 44px;
  --ly-ease: 300ms ease;
}

/* 2. Base
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--ly-green-950);
  font-family: var(--ly-font-serif);
  color: var(--ly-ivory-200);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, p { margin: 0; }

a {
  color: var(--ly-gold-500);
  text-decoration: none;
  transition: color var(--ly-ease);
}

a:hover { color: var(--ly-gold-300); }

/* The design ships no focus style; this is the production addition. */
:focus-visible {
  outline: 1px solid var(--ly-gold-500);
  outline-offset: 2px;
}

::selection {
  background: var(--ly-gold-500);
  color: var(--ly-on-accent);
}

/* 3. Shell
   ========================================================================== */

.page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  background: var(--ly-green-950);
}

.page__inner {
  width: 100%;
  max-width: 1280px;
  background: var(--ly-green-900);
}

/* 4. Shared primitives
   ========================================================================== */

/* The diamond divider — a gold square rotated 45°, flanked by 1px rules */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
}

.divider span {
  width: 80px;
  height: 1px;
  background: var(--ly-gold-60);
}

.divider i {
  width: 7px;
  height: 7px;
  background: var(--ly-gold-500);
  transform: rotate(45deg);
}

.divider--band { gap: 12px; justify-content: center; }
.divider--band span { width: 70px; background: var(--ly-gold-55); }
.divider--band i { width: 6px; height: 6px; }

/* Tracked caps — Jost only, never above 12px, never sentence case */
.eyebrow {
  font-family: var(--ly-font-caps);
  font-size: 12px;
  font-weight: 300;
  letter-spacing: 0.34em;
  color: var(--ly-gold-500);
}

.eyebrow--section {
  font-size: 11px;
  letter-spacing: 0.30em;
}

.kicker {
  font-family: var(--ly-font-caps);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--ly-gold-500);
}

.micro {
  font-family: var(--ly-font-caps);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.20em;
  color: var(--ly-ivory-55);
}

.rule-84 {
  width: 84px;
  height: 1px;
  background: var(--ly-gold-60);
  margin: 24px 0;
}

/* Buttons — square, no shadow, 300ms */
.btn {
  flex: none;
  white-space: nowrap;
  padding: 16px 34px;
  font-family: var(--ly-font-caps);
  font-size: 12px;
  letter-spacing: 0.22em;
  transition: background var(--ly-ease), color var(--ly-ease),
    border-color var(--ly-ease);
}

.btn--primary {
  background: var(--ly-gold-500);
  color: var(--ly-on-accent);
  font-weight: 400;
  border: 1px solid var(--ly-gold-500);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--ly-gold-300);
  border-color: var(--ly-gold-300);
  color: var(--ly-on-accent);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--ly-gold-60);
  color: var(--ly-gold-400);
  font-weight: 300;
}

/* Hover inverts */
.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--ly-gold-500);
  border-color: var(--ly-gold-500);
  color: var(--ly-on-accent);
}

/* Full-bleed photography */
.photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 5. Entry animation — the only motion on the page
   ========================================================================== */

@keyframes lyRise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}

.rise    { animation: lyRise 0.7s ease both; }
.rise--d1 { animation-delay: 0.1s; }

/* 6. Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px 68px;
  overflow: hidden;
}

.hero__scrim {
  position: absolute;
  inset: 0;
  background: var(--ly-hero-scrim);
  pointer-events: none;
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__logo { width: 340px; height: auto; }

.hero__eyebrow { margin-top: 28px; }

.hero__title {
  margin-top: 32px;
  font-size: 64px;
  font-weight: 400;
  line-height: 1.08;
  color: var(--ly-ivory-100);
  max-width: 900px;
  text-wrap: balance;
}

.hero__divider { margin-top: 30px; }

.hero__lede {
  margin-top: 28px;
  font-size: 23px;
  line-height: 1.55;
  color: var(--ly-ivory-86);
  max-width: 640px;
  text-wrap: pretty;
}

.hero__actions {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}

/* 7. Availability
   ========================================================================== */

.availability {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  background: var(--ly-green-850);
  border-top: 1px solid var(--ly-gold-16);
}

.availability__body {
  padding: 66px var(--ly-pad-x) 62px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.availability__title {
  margin-top: 18px;
  font-size: 38px;
  font-weight: 400;
  line-height: 1.24;
  color: var(--ly-ivory-100);
  max-width: 480px;
  text-wrap: pretty;
}

.availability__body p {
  font-size: 20px;
  line-height: 1.6;
  color: var(--ly-ivory-78);
  max-width: 480px;
  text-wrap: pretty;
}

.availability__body p + p { margin-top: 16px; }

.availability__regions { margin-top: 28px; }

.availability__figure {
  position: relative;
  min-height: 460px;
  border-left: 1px solid var(--ly-gold-16);
}

/* 8. Mandates
   ========================================================================== */

.mandates {
  padding: 56px var(--ly-pad-x);
  background: var(--ly-green-800);
  border-top: 1px solid var(--ly-gold-16);
}

.mandates__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 34px;
}

.mandates__title {
  font-size: 34px;
  font-weight: 400;
  color: var(--ly-ivory-100);
}

/* Three across down to ~764px of content width; below that, one column.
   The 2-column state is never allowed — see the media query in §11. */
.mandates__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(240px, 1fr));
  border-top: 1px solid var(--ly-gold-20);
}

/* Asymmetric padding bleeds the row into both section gutters */
.mandate { padding: 26px; }
.mandate:nth-child(1) { padding: 26px 26px 26px 0; }
.mandate:nth-child(3) { padding: 26px 0 26px 26px; }
.mandate:nth-child(1),
.mandate:nth-child(2) { border-right: 1px solid var(--ly-gold-20); }

.mandate__meta {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.mandate__index {
  font-family: var(--ly-font-caps);
  font-size: 12px;
  font-weight: 300;
  color: var(--ly-gold-400);
}

.mandate__kicker { letter-spacing: 0.20em; }

.mandate__title {
  margin-top: 12px;
  font-size: 25px;
  color: var(--ly-ivory-100);
}

.mandate__body {
  margin-top: 10px;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ly-ivory-72);
}

/* 9. Statement band
   ========================================================================== */

.statement {
  position: relative;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.statement__scrim {
  position: absolute;
  inset: 0;
  background: var(--ly-band-scrim);
  pointer-events: none;
}

.statement__content {
  position: relative;
  text-align: center;
  padding: 0 24px;
}

.statement__line {
  font-size: 42px;
  line-height: 1.22;
  color: var(--ly-ivory-100);
}

/* Italic is used exactly once on this page */
.statement__line--turn {
  font-style: italic;
  color: var(--ly-gold-400);
}

.statement__divider { margin-top: 20px; }

/* 10. Contact + footer
   ========================================================================== */

.contact {
  padding: 64px var(--ly-pad-x) 58px;
  background: var(--ly-green-950);
  border-top: 1px solid var(--ly-gold-16);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  align-items: start;
}

.contact__title {
  margin-top: 18px;
  font-size: 36px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--ly-ivory-100);
  max-width: 460px;
}

.contact__body {
  margin-top: 16px;
  font-size: 20px;
  line-height: 1.6;
  color: var(--ly-ivory-76);
  max-width: 460px;
  text-wrap: pretty;
}

.contact__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 28px;
}

.detail {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail__label {
  font-family: var(--ly-font-caps);
  font-size: 10px;
  font-weight: 300;
  letter-spacing: 0.20em;
  color: var(--ly-gold-500);
}

.detail__link {
  font-size: 22px;
  color: var(--ly-ivory-200);
  word-break: break-word;
}

.detail__link:hover { color: var(--ly-gold-300); }

.detail__value {
  font-size: 20px;
  line-height: 1.5;
  color: var(--ly-ivory-82);
}

.site-footer {
  background: var(--ly-green-950);
  border-top: 1px solid var(--ly-gold-16);
  padding: 22px var(--ly-pad-x) 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px;
}

.site-footer__logo { height: 42px; width: auto; }

.site-footer__note {
  font-family: var(--ly-font-caps);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.20em;
  color: var(--ly-gold-500);
}

.site-footer__social {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-footer__social a {
  display: flex;
  color: var(--ly-gold-500);
}

.site-footer__legal {
  font-family: var(--ly-font-caps);
  font-size: 11px;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--ly-ivory-50);
}

/* 11. Responsive
   The prototype is desktop-first; these are the explicit phone decisions.
   ========================================================================== */

/* Availability stacks before auto-fit would drop it to a sliver */
@media (max-width: 900px) {
  :root { --ly-pad-x: 36px; }

  .hero { min-height: 680px; }
  .hero__title { font-size: 52px; }
  .hero__lede { font-size: 21px; }

  .availability { grid-template-columns: 1fr; }
  .availability__body { padding: 54px var(--ly-pad-x) 50px; }
  .availability__title { font-size: 34px; }

  .availability__figure {
    min-height: 0;
    aspect-ratio: 1.4;
    border-left: 0;
    border-top: 1px solid var(--ly-gold-16);
  }

  .statement__line { font-size: 36px; }
  .contact__title { font-size: 32px; }
}

/* One column with uniform padding — never the 2-column state */
@media (max-width: 880px) {
  .mandates__grid { grid-template-columns: 1fr; }

  .mandate,
  .mandate:nth-child(1),
  .mandate:nth-child(3) { padding: 24px 0; }

  .mandate:nth-child(1),
  .mandate:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--ly-gold-20);
  }
}

@media (max-width: 768px) {
  :root { --ly-pad-x: 24px; }

  .hero {
    min-height: 100svh;
    padding: 64px 24px 56px;
  }

  .hero__logo { width: min(340px, 72vw); }
  .hero__eyebrow { font-size: 11px; letter-spacing: 0.28em; }

  .hero__title {
    margin-top: 26px;
    font-size: 38px;
  }

  /* The line break is a desktop composition, not a content decision */
  .hero__title br { display: none; }

  .hero__divider { margin-top: 24px; }
  .hero__divider span { width: 60px; }

  .hero__lede { margin-top: 22px; font-size: 19px; }

  .hero__actions {
    margin-top: 34px;
    width: 100%;
    max-width: 420px;
    gap: 12px;
  }

  /* Full-width targets on a phone */
  .hero__actions .btn {
    flex: 1 1 100%;
    text-align: center;
    padding: 16px 20px;
  }

  .availability__body { padding: 44px var(--ly-pad-x) 42px; }
  .availability__title { font-size: 30px; }
  .availability__body p { font-size: 18px; }
  .availability__regions { font-size: 10px; letter-spacing: 0.16em; }
  .availability__figure { aspect-ratio: 1.35; }

  .mandates { padding: 44px var(--ly-pad-x); }
  .mandates__head { gap: 14px; margin-bottom: 26px; }
  .mandates__title { font-size: 28px; }
  .mandate__title { font-size: 23px; }
  .mandate__body { font-size: 17px; }

  /* Fixed 280px would clip 42px type — let the band grow instead */
  .statement {
    height: auto;
    min-height: 220px;
    padding: 48px 24px;
  }

  .statement__line { font-size: 28px; }
  .statement__divider { margin-top: 16px; }
  .statement__divider span { width: 54px; }

  .contact {
    padding: 48px var(--ly-pad-x) 44px;
    gap: 36px;
  }

  .contact__title { font-size: 28px; }
  .contact__body { font-size: 18px; }
  .contact__details { gap: 24px; }
  .detail__link { font-size: 20px; }
  .detail__value { font-size: 18px; }

  .site-footer {
    justify-content: center;
    text-align: center;
    gap: 18px;
    padding: 26px var(--ly-pad-x) 24px;
  }
}

@media (max-width: 420px) {
  .hero__title { font-size: 33px; }
  .hero__lede { font-size: 18px; }
  .statement__line { font-size: 25px; }
  .mandates__title { font-size: 26px; }
}

/* 12. Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
