/* /planning: how the planning portal works. Builds on style.css. */

.nav nav a[aria-current="page"] { opacity: 1; border-bottom: 1px solid var(--wheat); }

/* Phone frame around real portal screenshots */
.phone {
  background: #2b2720;
  padding: 9px;
  border-radius: 38px;
  box-shadow: 0 0 0 1px #4a4234, 0 30px 60px -20px rgba(22, 20, 15, .45);
  width: 100%;
  max-width: 300px;
}
.phone img { width: 100%; aspect-ratio: 390 / 844; object-fit: cover; object-position: top; border-radius: 30px; background: var(--paper); }

/* HERO */
.pl-hero { background: var(--night); color: var(--paper); padding: clamp(48px, 8vw, 110px) 0 0; overflow: hidden; }
.pl-hero-in { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.pl-hero .eyebrow { color: var(--wheat); }
.pl-hero h1 { font-size: clamp(2.3rem, 5vw, 4.2rem); }
.pl-hero h1 em { color: #d9b46d; }
.pl-hero .lede { color: rgba(243, 238, 228, .8); font-size: 1.1rem; max-width: 34em; margin-bottom: 1.8rem; }
.pl-hero .actions { display: flex; align-items: center; gap: 1.4rem; flex-wrap: wrap; }
.pl-hero .btn { background: var(--paper); color: var(--ink); }
.pl-hero .btn:hover { background: #d9b46d; }
.pl-hero-phones { position: relative; height: clamp(440px, 46vw, 600px); }
.pl-hero-phones .phone { position: absolute; max-width: none; width: clamp(200px, 21vw, 280px); }
.pl-hero-phones .front { right: 4%; top: 0; transform: rotate(3deg); z-index: 2; }
.pl-hero-phones .back { left: 4%; top: 12%; transform: rotate(-5deg); opacity: .85; }

.pl-proof {
  list-style: none; margin: clamp(40px, 6vw, 72px) auto 0; padding-top: 2rem; padding-bottom: 2.4rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
  border-top: 1px solid rgba(243, 238, 228, .12);
}
.pl-proof li { display: flex; flex-direction: column; gap: .2rem; }
.pl-proof b { font: 300 clamp(2rem, 4vw, 3rem)/1 var(--serif); color: #d9b46d; }
.pl-proof span { font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(243, 238, 228, .6); }

/* LESSONS */
.pl-lessons { padding-top: clamp(64px, 10vw, 130px); padding-bottom: clamp(56px, 8vw, 110px); }
.pl-lessons-head { max-width: 760px; margin-bottom: 3rem; }
.pl-lessons-head > p:last-child { color: var(--ink-soft); font-size: 1.1rem; }
.pl-lessons-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pl-lessons-list li { background: var(--paper-2); border-radius: 6px; padding: 1.6rem 1.4rem; }
.pl-lessons-list h3 { font-size: 1.25rem; font-style: italic; }
.pl-lessons-list p { color: var(--ink-soft); font-size: .95rem; margin: 0; }

/* JOURNEY */
.pl-journey { background: var(--ink); color: var(--paper); padding: clamp(64px, 9vw, 120px) 0; }
.pl-journey .eyebrow { color: var(--wheat); }
.pl-journey-head { max-width: 720px; margin-bottom: 3rem; }
.pl-journey-head p:last-child { color: rgba(243, 238, 228, .7); font-size: 1.1rem; }
.pl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.pl-steps li { padding: 2rem 1.6rem 0 0; border-top: 1px solid rgba(243, 238, 228, .2); position: relative; }
.pl-steps li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: var(--wheat); }
.pl-steps .n { display: block; font: 300 italic 2.4rem/1 var(--serif); color: #d9b46d; margin-bottom: .8rem; }
.pl-steps h3 { font-size: 1.3rem; }
.pl-steps p { color: rgba(243, 238, 228, .72); font-size: .95rem; }

/* TOUR */
.pl-tour { padding-top: clamp(64px, 10vw, 130px); padding-bottom: clamp(40px, 6vw, 80px); }
.pl-tour-head { max-width: 720px; margin: 0 auto clamp(40px, 6vw, 80px); text-align: center; }
.pl-tour-head p:last-child { color: var(--ink-soft); font-size: 1.1rem; }
.pl-feature {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 7vw, 110px); align-items: center;
  max-width: 980px; margin: 0 auto clamp(64px, 9vw, 120px);
}
.pl-feature .phone { justify-self: end; }
.pl-feature.flip .phone { order: 2; justify-self: start; }
.pl-feature-copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); font-weight: 350; }
.pl-feature-copy > p { color: var(--ink-soft); max-width: 32em; }
.pl-feature-copy .why { border-left: 2px solid var(--wheat); padding: .2rem 0 .2rem 1rem; font-size: .95rem; margin-top: 1.4rem; }
.pl-feature-copy .why b { color: var(--wheat-deep); }

/* WON'T HAVE TO */
.pl-nope { background: var(--paper-2); padding: clamp(56px, 8vw, 100px) 0; }
.pl-nope ul { list-style: none; margin: 2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 28px; }
.pl-nope li { padding: .9rem 0 .9rem 2.2rem; border-top: 1px solid var(--line); position: relative; font-size: 1.05rem; }
.pl-nope li::before { content: "✕"; position: absolute; left: 0; top: .9rem; color: var(--wheat-deep); font-weight: 600; }

/* NOTE FROM THOM */
.pl-note { display: grid; grid-template-columns: auto 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; max-width: 900px; padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }
.pl-note img { width: clamp(88px, 12vw, 140px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; }
.pl-note blockquote { margin: 0; }
.pl-note blockquote p { font: 300 italic clamp(1.3rem, 2.4vw, 1.9rem)/1.4 var(--serif); margin: 0; }

/* CTA */
.pl-cta { background: var(--night); color: var(--paper); text-align: center; padding: clamp(64px, 9vw, 120px) 0; }
.pl-cta .eyebrow { color: var(--wheat); }
.pl-cta h2 { font-size: clamp(2.2rem, 5vw, 4rem); }
.pl-cta h2 em { color: #d9b46d; }
.pl-cta p { color: rgba(243, 238, 228, .75); max-width: 34em; margin: 0 auto 2rem; }
.pl-cta .btn { background: var(--paper); color: var(--ink); }
.pl-cta .btn:hover { background: #d9b46d; }

@media (max-width: 960px) {
  .pl-hero-in { grid-template-columns: 1fr; }
  .pl-hero-phones { height: 440px; max-width: 460px; width: 100%; margin: 0 auto; }
  .pl-proof { grid-template-columns: 1fr 1fr; }
  .pl-lessons-list, .pl-steps { grid-template-columns: 1fr 1fr; }
  .pl-steps { row-gap: 2.4rem; }
  .pl-nope ul { grid-template-columns: 1fr 1fr; }
  .pl-feature, .pl-feature.flip { grid-template-columns: 1fr; gap: 28px; }
  .pl-feature .phone, .pl-feature.flip .phone { order: 0; justify-self: center; max-width: 260px; }
}
@media (max-width: 560px) {
  .pl-hero-phones { height: 380px; }
  .pl-hero-phones .phone { width: 190px; }
  .pl-lessons-list, .pl-steps, .pl-nope ul { grid-template-columns: 1fr; }
  .pl-note { grid-template-columns: 1fr; justify-items: center; text-align: center; }
}
