/* Peak & Sound — draft landing page
   Palette: Sound Navy #14284B, Ivory #FAF6EE, Brass #B08D57,
            Spruce #2F4A3A, Granite #6E7378, Fog #E9E4DA
*/

:root {
  --navy: #14284B;
  --ivory: #FAF6EE;
  --brass: #B08D57;
  --brass-dark: #7A5C2E; /* darker than brand brass; passes contrast on ivory */
  --spruce: #2F4A3A;
  --granite: #6E7378;
  --ink: #2A2E33;
  --fog: #E9E4DA;
  --navy-deep: #0E1D38;
  --focus: #B08D57;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: Inter, system-ui, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: "Cormorant Garamond", Georgia, serif;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.15;
}

a { color: var(--navy); }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 20;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header / brand ---------- */
.site-header { background: var(--ivory); }

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--navy);
  flex-shrink: 0;
}

.brand .mark {
  width: 34px;
  height: 32px;
  color: var(--navy);
}

.wordmark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  line-height: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 4px 4px;
}

.nav-links a:not(.btn) {
  color: var(--navy);
  text-decoration: none;
  font-size: 14px;
  padding: 10px 12px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-links a:not(.btn):hover { text-decoration: underline; text-underline-offset: 4px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  padding: 12px 22px;
  min-height: 44px;
  border-radius: 2px;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  font-family: Inter, system-ui, sans-serif;
  line-height: 1.2;
}

.btn:hover { filter: brightness(1.12); }

.btn-brass {
  background: var(--brass);
  color: var(--navy);
  font-weight: 500;
}

.btn-brass:hover { filter: brightness(1.06); }

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

.btn-brass:focus-visible { outline-color: #fff; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  padding: 132px 0 120px;
  background: var(--navy);
  min-height: 36rem;
  display: flex;
  align-items: center;
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-media { z-index: 0; }

.hero-media picture,
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-media img {
  object-fit: cover;
  object-position: center 42%;
}

.hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg,
      rgba(20, 40, 75, 0.58) 0%,
      rgba(20, 40, 75, 0.40) 38%,
      rgba(20, 40, 75, 0.20) 70%,
      rgba(20, 40, 75, 0.24) 100%),
    linear-gradient(180deg,
      rgba(20, 40, 75, 0.18) 0%,
      rgba(20, 40, 75, 0.08) 45%,
      rgba(20, 40, 75, 0.32) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero h1 {
  color: #fff;
  font-size: clamp(40px, 6.2vw, 72px);
  line-height: 1.05;
  max-width: 18ch;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(20, 40, 75, 0.35);
}

.hero .lede {
  max-width: 34em;
  margin: 22px 0 34px;
  font-size: 18px;
  line-height: 1.6;
  color: #f4f1ea;
  text-shadow: 0 1px 2px rgba(20, 40, 75, 0.35);
}

.eye {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  font-weight: 500;
  color: var(--brass-dark);
  margin-bottom: 14px;
}

.hero .eye { color: #e4c99a; } /* brass lightened for contrast on the dark hero */

/* ---------- Sections ---------- */
section { padding: 88px 0; }

.section-head { max-width: 32em; }

h2 { font-size: clamp(32px, 4vw, 46px); }

.alt { background: var(--fog); }

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.steps,
.tiers {
  grid-template-columns: repeat(4, 1fr);
}

.card {
  background: #fff;
  padding: 28px 26px 30px;
  border-top: 2px solid var(--brass);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.card p { font-size: 16px; color: var(--ink); }

/* ---------- How we work ---------- */
.steps { counter-reset: step; }
.steps .card { padding-top: 22px; }
.steps .card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 32px;
  color: var(--brass-dark);
  display: block;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.quiet-note {
  margin-top: 28px;
  font-size: 15px;
  color: #4f5458; /* slightly darker than granite for contrast */
  max-width: 42em;
}

/* ---------- Areas ---------- */
.areas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}

.area {
  min-height: 280px;
  padding: 36px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.area h3 { color: #fff; font-size: 32px; margin-bottom: 8px; }
.area p { color: #f4f1ea; }

.area-sea {
  background: linear-gradient(160deg, #c9d6dc, #3c6f8f 55%, #14284B);
}
.area-mtn {
  background: linear-gradient(160deg, #8aa0ae, #2F4A3A);
}

/* ---------- Membership ---------- */
.tiers { align-items: stretch; }

.tier h3 { margin-bottom: 14px; }

.tier ul {
  padding-left: 18px;
  font-size: 15px;
}

.tier li + li { margin-top: 6px; }


/* ---------- Consultation / form ---------- */
.consult {
  background: var(--navy);
  color: #fff;
}

.consult .wrap { max-width: 720px; }

.consult h2 { color: #fff; }

.consult .intro {
  margin: 16px 0 8px;
  color: #e8e4db;
}

.consult .contact-line {
  margin: 0 0 32px;
  color: #e8e4db;
  font-size: 16px;
}

.consult .email {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.consult a.email:hover { color: #f4f1ea; }

.form {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.form-row { margin-bottom: 18px; }

.form label,
.form .label-group {
  display: block;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #f4f1ea;
}

.form .req { color: #e4c99a; }

.form input[type="text"],
.form input[type="email"],
.form input[type="tel"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #8a93a3;
  border-radius: 2px;
  background: #fff;
  color: var(--navy);
  font-family: Inter, system-ui, sans-serif;
  font-size: 16px;
}

.form input:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 2px;
  border-color: var(--brass);
}

.choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.choice {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 8px 4px;
  cursor: pointer;
  color: #f4f1ea;
  font-weight: 400;
  margin-bottom: 0;
}

.choice input {
  width: 20px;
  height: 20px;
  accent-color: var(--brass);
  flex-shrink: 0;
}

.form .hint {
  margin-top: 8px;
  font-size: 14px;
  color: #c9cfd8;
}

.form .btn { margin-top: 8px; min-width: 220px; }

#form-status {
  margin-top: 18px;
  min-height: 1.5em;
  font-size: 16px;
  color: #f4f1ea;
}

#form-status[data-state="notice"] {
  background: rgba(250, 246, 238, 0.1);
  border-left: 3px solid var(--brass);
  padding: 12px 14px;
}

/* ---------- Footer ---------- */
footer {
  background: var(--navy-deep);
  color: #c5ccd6;
  font-size: 14px;
  padding: 28px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  text-align: center;
}

footer .mark {
  width: 22px;
  height: 20px;
  color: var(--fog);
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .grid,
  .steps,
  .tiers,
  .areas { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-links a:not(.btn) { display: none; }
  nav { padding: 16px 0; }
  .hero { padding: 88px 0 80px; min-height: 32rem; }
  .hero-media img { object-position: center 46%; }
  .hero-overlay {
    background:
      linear-gradient(180deg,
        rgba(20, 40, 75, 0.42) 0%,
        rgba(20, 40, 75, 0.50) 40%,
        rgba(20, 40, 75, 0.62) 100%),
      linear-gradient(90deg,
        rgba(20, 40, 75, 0.28) 0%,
        rgba(20, 40, 75, 0.12) 100%);
  }
  section { padding: 64px 0; }
  .grid,
  .steps,
  .tiers,
  .areas { grid-template-columns: 1fr; }
  .area { min-height: 220px; }
  .form .btn { width: 100%; }
  .wordmark { font-size: 13px; letter-spacing: 0.12em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
