/* ==========================================================================
   Yearbook Express — design system & styles
   Interim brand derived from Carolyn's existing assets: navy + Kentucky blue,
   condensed display type, and the "Express" speed-streak motif. Final logo,
   palette, and photography drop into the same slots once brand assets land.
   ========================================================================== */

:root {
  /* Brand color */
  --navy-900: #142844;
  --navy-800: #16314f;
  --navy: #1e3a5e;
  --blue: #2e6cb4;
  --blue-400: #3c83d0;
  --ink: #17283f;
  --slate: #5a6b85;
  --paper: #ffffff;
  --mist: #f1f5fa;
  --mist-200: #e3edf7;
  --line: #d6e0ec;

  /* Color roles on dark surfaces (shared: promise, contact, footer) */
  --on-dark: #ffffff;
  --on-dark-muted: #c2d3ea;
  --on-dark-faint: #93a9c8;

  /* Type */
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-script: "Caveat", cursive;

  /* Layout widths */
  --wrap: 1140px;       /* full section width */
  --content: 820px;     /* centered content sections */
  --statement: 620px;   /* centered statement / tagline blocks */
  --measure: 62ch;      /* body-copy reading measure */

  /* Spacing & shape */
  --section-y: 88px;
  --gutter: 24px;
  --radius: 10px;
  --radius-sm: 6px;
  --shadow: 0 20px 44px -26px rgba(20, 48, 78, 0.55);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.04;
  text-transform: uppercase;
  letter-spacing: .01em;
  text-wrap: balance;
  margin: 0 0 .5rem;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.4vw, 3.1rem); font-weight: 700; }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1rem; text-wrap: pretty; }
a { color: var(--blue); text-decoration: none; }
em { font-style: italic; }

/* Layout primitives ------------------------------------------------------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.band { padding: var(--section-y) 0; }
.band.alt { background: var(--mist); }

.section-head { max-width: var(--content); margin-bottom: 42px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
}
.eyebrow.center { justify-content: center; }

/* "Express" speed-streak motif */
.streaks { display: inline-flex; flex-direction: column; gap: 3px; flex: none; }
.streaks i { display: block; height: 3px; background: var(--blue); border-radius: 1px; transform: skewX(-26deg); }
.streaks i:nth-child(1) { width: 22px; }
.streaks i:nth-child(2) { width: 15px; }
.streaks i:nth-child(3) { width: 9px; }
.streaks.lg i { height: 5px; }
.streaks.lg i:nth-child(1) { width: 40px; }
.streaks.lg i:nth-child(2) { width: 27px; }
.streaks.lg i:nth-child(3) { width: 15px; }
.streaks.light i { background: var(--blue-400); }

/* Buttons ----------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .12s ease, background .2s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-400); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--navy); border: 2px solid var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

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

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--line);
}
.head-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark { display: grid; place-items: center; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: .9;
  letter-spacing: .02em;
  text-transform: uppercase;
  color: var(--navy);
}
.brand-name em { color: var(--blue); font-style: italic; }
.nav { display: flex; align-items: center; gap: 28px; }
.navlink {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
}
.navlink:hover { color: var(--blue); }
.nav .btn { padding: 9px 20px; font-size: .98rem; }
@media (max-width: 880px) { .navlink { display: none; } }

/* Hero — full-height photo with a diagonal crop ---------------------------- */

.hero { position: relative; overflow: hidden; background: var(--paper); }
.hero .wrap { position: relative; z-index: 2; padding-top: 90px; padding-bottom: 90px; }
.hero-content { max-width: 600px; }
.hero h1 em { color: var(--blue); font-style: italic; }
.hero .lede { font-size: 1.2rem; color: var(--slate); margin-top: .4rem; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-photo {
  position: absolute;
  inset: 0 0 0 auto;
  width: 47%;
  z-index: 1;
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 0 100%);
  background: var(--navy) url("assets/hero-classroom.jpg") center 28% / cover no-repeat;
}
.hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, rgba(21, 48, 78, .74) 0%, rgba(21, 48, 78, .32) 52%, rgba(21, 48, 78, .62) 100%);
}
@media (max-width: 840px) {
  .hero .wrap { padding-top: 52px; padding-bottom: 0; }
  .hero-content { max-width: none; }
  .hero-photo { position: relative; width: 100%; height: 230px; margin-top: 28px; clip-path: polygon(0 13%, 100% 0, 100% 100%, 0 100%); }
}

/* Trust strip ------------------------------------------------------------- */

.trust { background: var(--navy-900); color: var(--on-dark-muted); }
.trust .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 34px;
  padding: 20px var(--gutter);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.08rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.trust b { color: #fff; font-weight: 700; }
.trust .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--blue-400); }
@media (max-width: 860px) {
  .trust .wrap { flex-direction: column; gap: 8px; }
  .trust .dot { display: none; }
}

/* Promise — dark statement band ------------------------------------------- */

.mission {
  position: relative;
  overflow: hidden;
  padding: 64px 0;
  text-align: center;
  background: var(--navy);
  color: var(--on-dark);
}
.mission::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/texture-navy.jpg") left center / 122% auto no-repeat;
  opacity: .15;
}
.mission::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 110% at 50% 0%, rgba(60, 131, 208, .16) 0%, transparent 55%),
    linear-gradient(to bottom, transparent 50%, rgba(16, 34, 58, .45) 100%);
}
.mission .wrap { position: relative; z-index: 1; }
.mission-emblem { display: block; width: 70px; height: auto; margin: 0 auto 22px; fill: var(--blue-400); }
.mission .eyebrow { justify-content: center; margin-bottom: 14px; color: var(--on-dark-muted); }
.mission .statement {
  max-width: var(--statement);
  margin: 0 auto;
  font-family: var(--font-display);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  line-height: 1.32;
  color: var(--on-dark);
  text-wrap: balance;
}
.promise-sign { margin: 26px 0 0; font-family: var(--font-script); font-size: clamp(2.6rem, 5vw, 3.6rem); line-height: 1; color: var(--on-dark); }
.promise-by { margin: 8px 0 0; font-size: .76rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }

/* Why Yearbook Express — positioning block -------------------------------- */

.why { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.why-text p { font-size: 1.12rem; line-height: 1.7; color: var(--slate); }
.why-text p + p { margin-top: 1rem; }
.why-photo { aspect-ratio: 4 / 3; }
@media (max-width: 820px) { .why { grid-template-columns: 1fr; gap: 28px; } }

/* What you get — ruled benefit rows --------------------------------------- */

.benefits { border-top: 2px solid var(--navy); }
.benefit {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 48px;
  align-items: baseline;
  padding: 30px 4px;
  border-bottom: 1px solid var(--line);
}
.benefit-label { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; line-height: 1.02; letter-spacing: .015em; text-transform: uppercase; color: var(--navy); }
.benefit p { margin: 0; font-size: 1.12rem; line-height: 1.6; color: var(--slate); text-wrap: balance; }
.benefit p a { font-weight: 600; white-space: nowrap; }
@media (max-width: 760px) { .benefit { grid-template-columns: 1fr; gap: 8px; } }

/* How it works — steps ----------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step .num { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 3rem; line-height: 1; color: var(--blue); }
.step h3 { margin: 10px 0 .3rem; }
.step p { margin: 0; color: var(--slate); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; gap: 24px; } }

/* Existing-school callout -------------------------------------------------- */

.order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 22px;
  padding: 30px 34px;
  border-radius: var(--radius);
  background: var(--navy);
  color: var(--on-dark-muted);
}
.order h3 { margin: 0 0 4px; color: var(--on-dark); }
.order p { margin: 0; }
.order .btn-primary { background: #fff; color: var(--navy); }
.order .btn-primary:hover { background: var(--mist-200); }

/* Testimonial ------------------------------------------------------------- */

.testi { max-width: var(--content); margin: 0 auto; text-align: center; }
.testi .streaks { justify-content: center; margin-bottom: 18px; }
.testi blockquote {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-style: italic;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.18;
  text-transform: uppercase;
  color: var(--navy);
}
.testi cite { font-family: var(--font-display); font-style: normal; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--slate); }

/* About Carolyn ----------------------------------------------------------- */

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 52px; align-items: center; }
.about p { color: var(--slate); }
.ph-photo { display: grid; place-items: center; aspect-ratio: 1; border-radius: var(--radius); background: var(--mist-200); color: #aebfd4; }
.ph-photo .ph-ic { width: 50px; height: 50px; }
@media (max-width: 780px) { .about { grid-template-columns: 1fr; gap: 28px; } }

/* Contact — dark closing band --------------------------------------------- */

.cta-final {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  text-align: center;
  background: var(--navy-900);
  color: var(--on-dark);
}
.cta-final::before { content: ""; position: absolute; inset: 0; background: url("assets/texture-navy.jpg") left center / 122% auto no-repeat; opacity: .14; }
.cta-final::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 110% at 50% 0%, rgba(60, 131, 208, .14) 0%, transparent 55%); }
.cta-final .wrap { position: relative; z-index: 1; }
.cta-final .streaks { justify-content: center; margin-bottom: 20px; }
.cta-final h2 { color: var(--on-dark); font-size: clamp(2.5rem, 5.2vw, 3.8rem); }
.cta-final .lede { max-width: var(--statement); margin: 0 auto 30px; font-size: 1.15rem; color: var(--on-dark-muted); text-wrap: balance; }
.cta-final .btn-primary { padding: 17px 38px 15px; font-size: 1.2rem; background: #fff; color: var(--navy); }
.cta-final .email { margin: 18px 0 0; font-size: .95rem; }
.cta-final .email a { color: var(--on-dark); text-decoration: underline; }

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

.site-foot { padding: 40px 0; background: var(--navy-900); color: var(--on-dark-faint); font-size: .92rem; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 24px; }
.foot-brandrow { display: flex; align-items: center; gap: 11px; }
.foot-mark .streaks i { background: var(--blue-400); }
.foot-brand { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; letter-spacing: .02em; text-transform: uppercase; color: var(--on-dark); }
.foot-brand em { color: var(--blue-400); font-style: italic; }
.foot-contact a { color: var(--on-dark-muted); }

/* Mobile refinements ------------------------------------------------------ */

@media (max-width: 600px) {
  :root { --section-y: 56px; }
  .mission { padding: 52px 0; }
  .cta-final { padding: 68px 0; }
  .why-photo, .about .ph-photo { aspect-ratio: auto; height: 200px; }
}

@media (max-width: 480px) {
  .head-inner { gap: 12px; }
  .brand-name { font-size: 1.2rem; }
  .nav .btn { padding: 8px 14px; font-size: .9rem; }
}

/* ==========================================================================
   Coming-soon placeholder (coming-soon.html) — branded interim page that the
   live URL points to before the full site launches. Reuses the design system.
   ========================================================================== */

body.coming {
  min-height: 100vh;
  display: flex;
  background: var(--navy-900);
  color: var(--on-dark);
}

.coming-stage {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 56px var(--gutter) 40px;
  overflow: hidden;
}
.coming-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/texture-navy.jpg") left center / 122% auto no-repeat;
  opacity: .14;
}
.coming-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 90% at 50% 0%, rgba(60, 131, 208, .18) 0%, transparent 58%);
}

.coming-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  text-align: center;
}

/* Brand logo */
.coming-logo {
  display: block;
  width: min(330px, 78%);
  height: auto;
  margin: 0 auto 28px;
}

/* Brand lockup with full legal name (legacy type mark, unused) */
.coming-brand { justify-content: center; gap: 16px; margin-bottom: 30px; }
.coming-name { display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.coming .brand-name { color: var(--on-dark); font-size: 1.85rem; }
.coming .brand-name em { color: var(--blue-400); }
.coming-sub {
  margin-top: 5px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}
.coming .foot-mark .streaks i,
.coming-brand .streaks i { background: var(--blue-400); }

/* Single speed streak — echoes the motion line under "EXPRESS" in the logo.
   Skewed to the wordmark's italic angle, tapered at the trailing edge. */
.speed-bar {
  flex: none;
  width: 36px;
  height: 5px;
  background: var(--blue-400);
  border-radius: 1px;
  transform: skewX(-12deg);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 8% 100%);
}

.coming-eyebrow { color: var(--on-dark-muted); font-style: italic; letter-spacing: .14em; margin-bottom: 16px; }
.coming-head { color: var(--on-dark); font-style: italic; font-size: clamp(2.4rem, 6vw, 3.8rem); margin-bottom: 18px; }
.coming-head em { color: var(--blue-400); font-style: italic; }
.coming-lede {
  max-width: 52ch;
  margin: 0 auto 14px;
  font-size: 1.18rem;
  line-height: 1.62;
  color: var(--on-dark-muted);
  text-wrap: pretty;
}
.coming-sign {
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(2.4rem, 4.6vw, 3.2rem);
  line-height: 1;
  color: var(--on-dark);
}
.coming-by {
  margin: 6px 0 40px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-dark-faint);
}

/* Save-my-contact card */
.coming-vcard {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 560px;
  margin: 0 auto;
  padding: 26px 30px;
  text-align: left;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(146, 169, 200, .28);
  border-radius: var(--radius);
}
.coming-qr {
  flex: none;
  display: grid;
  place-items: center;
  width: 168px;
  height: 168px;
  padding: 12px;
  background: #fff;
  border-radius: var(--radius-sm);
}
.coming-qr img { display: block; width: 100%; height: 100%; }
.coming-qr-text { min-width: 0; }
.coming-qr-head {
  margin: 0 0 .35rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-style: italic;
  font-size: 1.45rem;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--on-dark);
}
.coming-qr-text > p:not(.coming-qr-head):not(.coming-email) {
  margin: 0 0 16px;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--on-dark-muted);
}
.coming-qr-text .btn-primary { background: #fff; color: var(--navy); }
.coming-qr-text .btn-primary:hover { background: var(--mist-200); }
.coming-email { margin: 12px 0 0; font-size: .95rem; }
.coming-email a { color: var(--on-dark); text-decoration: underline; }

.coming-backed {
  max-width: 56ch;
  margin: 34px auto 0;
  font-size: .98rem;
  line-height: 1.55;
  color: var(--on-dark-faint);
  text-wrap: pretty;
}

.coming-foot {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: .9rem;
  color: var(--on-dark-faint);
}
.coming-foot a { color: var(--on-dark-muted); }

@media (max-width: 560px) {
  .coming-vcard { flex-direction: column; gap: 20px; text-align: center; padding: 26px 22px; }
  .coming-qr-text .btn-primary { width: 100%; }
  .coming-brand { gap: 12px; }
  .coming .brand-name { font-size: 1.5rem; }
}
