/* Editorial pages — about and contact. Built on the tokens in css/trekking.css. */

.ed-hero { padding: clamp(8rem, 13vw, 12rem) 7vw clamp(4rem, 7vw, 6rem); background: var(--navy); color: #fff; }
.ed-hero .kicker { margin-bottom: 1rem; color: var(--coral); font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ed-hero h1 { max-width: 15ch; margin-bottom: 1.6rem; font-size: clamp(3.3rem, 6.9vw, 7rem); line-height: .9; }
.ed-hero p { max-width: 46ch; color: rgba(255, 255, 255, .84); font-size: 1.12rem; }
.ed-hero .button { margin-top: .9rem; }

.ed-band { padding: clamp(4.5rem, 9vw, 8rem) 7vw; }
.ed-split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(3rem, 8vw, 8rem); }
.ed-split h2 { max-width: 12ch; margin: 0; font-size: clamp(2.6rem, 4.6vw, 5rem); line-height: .94; }
.ed-split h2 span { display: block; color: var(--signal); font-size: .8rem; font-family: var(--sans); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1.2rem; }
.ed-split div p { max-width: 46ch; font-size: 1.06rem; }
.ed-split div p:last-child { margin-bottom: 0; }
.ed-split .ed-lede { font-size: 1.24rem; }

.ed-statement { background: var(--gold); }
.ed-note { background: #bdd4e2; }
.ed-terrain { background: var(--mist); }

.ed-steps { padding: clamp(4.5rem, 9vw, 8rem) 7vw; background: var(--navy); color: #fff; }
.ed-steps h2 { max-width: 14ch; margin-bottom: 3rem; font-size: clamp(2.6rem, 4.6vw, 5rem); line-height: .94; }
.ed-steps ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255, 255, 255, .18); }
.ed-steps li { display: grid; grid-template-columns: 4.5rem 1fr; gap: 2rem; padding: 2.2rem 0; border-bottom: 1px solid rgba(255, 255, 255, .18); }
.ed-steps li > span { color: var(--coral); font: 500 1.5rem/1 var(--serif); letter-spacing: -.02em; }
.ed-steps h3 { margin-bottom: .5rem; font-size: 1.85rem; line-height: 1.1; }
.ed-steps p { max-width: 58ch; margin: 0; color: rgba(255, 255, 255, .76); }
/* .ed-steps p sets margin:0, so this has to out-specify it. */
.ed-steps p.ed-steps-note { margin-top: 2.2rem; }
.ed-steps-note a { color: #fff; font-weight: 700; text-underline-offset: .3em; }
/* contact.html ends the note with a short inline link; keep it on one line
   instead of breaking "How it / works". The about.html note is a long link, so
   this is scoped to the short one rather than applied to every anchor. */
.ed-steps-note a.ed-note-link { white-space: nowrap; }

.ed-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 3rem; }
.ed-cards a { display: flex; flex-direction: column; justify-content: flex-end; min-height: 16rem; padding: 1.5rem; color: #fff; background: var(--ink); text-decoration: none; transition: transform .2s ease; }
.ed-cards a:nth-child(2) { background: #305777; }
.ed-cards a:nth-child(3) { background: #42735f; }
.ed-cards a:nth-child(4) { background: #80543f; }
.ed-cards a:hover { transform: translateY(-4px); }
.ed-cards span { color: rgba(255, 255, 255, .72); font-size: .72rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.ed-cards strong { margin-top: .5rem; font: 500 1.85rem/1.02 var(--serif); letter-spacing: -.03em; }
.ed-cards em { margin-top: .55rem; font-size: .88rem; font-style: normal; color: rgba(255, 255, 255, .76); }

.ed-cta { display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: end; padding: clamp(4rem, 7vw, 6rem) 7vw; background: var(--coral); }
.ed-cta h2 { max-width: 16ch; margin: 0; font-size: clamp(2.5rem, 4.4vw, 4.4rem); line-height: .95; }
.ed-cta .button { margin-top: 0; }

/* Contact */

.ed-mail { display: inline-block; margin: 1.2rem 0 1.6rem; padding-bottom: .35rem; border-bottom: 2px solid currentColor; font: 500 clamp(1.5rem, 3.2vw, 2.7rem)/1.1 var(--serif); letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere; }
.ed-mail:hover { color: var(--signal); }
.ed-list { display: grid; gap: 1rem; max-width: 52ch; margin: 2rem 0 0; padding: 0; list-style: none; }
.ed-list li { position: relative; padding-left: 1.7rem; }
.ed-list li::before { content: "—"; position: absolute; left: 0; color: var(--signal); }
.ed-fact { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.ed-fact div p:first-child { margin-bottom: .35rem; font-size: .74rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-soft); }
.ed-fact div p:last-child { margin: 0; font-family: var(--serif); font-size: 1.3rem; line-height: 1.25; }

@media (max-width: 900px) {
  .ed-split, .ed-cta { grid-template-columns: 1fr; }
  .ed-cards { grid-template-columns: 1fr 1fr; }
  .ed-fact { grid-template-columns: 1fr; gap: 1.5rem; }
}

@media (max-width: 600px) {
  .ed-hero { padding: 7rem 5vw 3rem; }
  .ed-hero h1 { font-size: clamp(2.9rem, 12.5vw, 4rem); }
  .ed-band, .ed-steps, .ed-cta { padding: 4rem 5vw; }
  .ed-split h2, .ed-steps h2, .ed-cta h2 { font-size: clamp(2.4rem, 10.5vw, 3.2rem); }
  .ed-steps li { grid-template-columns: 1fr; gap: .5rem; padding: 1.8rem 0; }
  .ed-cards { grid-template-columns: 1fr; }
  .ed-cards a { min-height: 12rem; }
}
