/* 997 V2 subpages — navy/cream parity with kiplinglee.com (no white sheets) */

.w997-v2 h1,
.w997-v2 h2,
.w997-v2 h3,
.w997-v2 .display {
  color: #e8e4da;
}

.w997-v2 .w997-lead,
.w997-v2 .w997-muted {
  color: #c9c4ba;
}

.w997-section--hero,
.w997-section--cream,
.w997-section--work-page,
.w997-section--offer {
  background: var(--997-navy);
  color: var(--997-paper);
}

.w997-section--hero {
  background: linear-gradient(180deg, var(--997-navy) 0%, #0f172a 100%);
  min-height: auto;
}

.w997-case-hero,
.w997-case-hero--proof {
  background: var(--997-navy);
  padding: clamp(2.5rem, 6vw, 4rem) 0 1.5rem;
}

.w997-case-hero a {
  color: var(--997-gold);
}

.w997-case-block {
  background: var(--card, #111827);
  border: 1px solid var(--997-border);
  color: #e8e4da;
}

.w997-case-block p,
.w997-case-block li {
  color: #c9c4ba;
}

.w997-case-block--result {
  background: #0f172a;
  border-color: rgba(212, 167, 44, 0.35);
}

.w997-pillar {
  background: var(--card, #111827);
  border: 1px solid var(--997-border);
  box-shadow: none;
}

.w997-pillar h3 {
  color: #e8e4da;
}

.w997-pillar a {
  color: var(--997-gold);
  font-weight: 700;
  text-decoration: none;
}

.w997-pillar a:hover {
  text-decoration: underline;
}

.w997-form-panel {
  background: var(--card, #111827);
  border: 1px solid var(--997-border);
  color: var(--997-paper);
}

.w997-form-wrap label {
  color: #c9c4ba;
}

.w997-form-wrap input,
.w997-form-wrap textarea {
  background: var(--997-navy);
  border-color: var(--997-border);
  color: var(--997-paper);
}

.w997-contact-narrow h2 {
  color: #e8e4da;
  text-align: center;
}

.w997-btn-secondary {
  background: transparent;
  color: var(--997-paper) !important;
  border-color: rgba(247, 245, 240, 0.35);
}

.w997-btn-secondary:hover {
  border-color: var(--997-gold);
  color: var(--997-gold) !important;
}

.w997-guarantee {
  background: rgba(212, 167, 44, 0.08);
  border: 1px solid rgba(212, 167, 44, 0.45);
  color: #e8e4da;
}

.w997-proof-card {
  background: var(--card, #111827);
  border-color: var(--997-border);
}

.w997-proof-card h3 {
  color: #e8e4da;
}

.w997-ed-showcase-copy {
  background: var(--card, #111827);
}

.w997-ed-showcase-copy h3 {
  color: #e8e4da;
}

.w997-ed-showcase-copy p {
  color: #c9c4ba;
}

.w997-more-label {
  color: #e8e4da;
  font-family: var(--997-font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 3rem 0 0.5rem;
}

/* Site grid — kiplinglee.com/built pattern */
.w997-site-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 1.75rem;
}

@media (max-width: 900px) {
  .w997-site-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .w997-site-grid { grid-template-columns: 1fr; }
}

.w997-site-card {
  background: var(--card, #111827);
  border: 1px solid var(--997-border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.w997-site-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-bottom: 1px solid var(--997-border);
  background: #0a0a0c;
}

.w997-site-card img.logo-fit {
  object-fit: contain;
  padding: 20px;
}

.w997-site-card .body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.w997-site-card .tag {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--997-gold);
  margin-bottom: 8px;
}

.w997-site-card h3 {
  font-size: 19px;
  margin: 0 0 8px;
  color: #e8e4da;
}

.w997-site-card p {
  font-size: 15px;
  color: #c9c4ba;
  margin: 0 0 12px;
  flex: 1;
  line-height: 1.55;
}

.w997-site-card .w997-site-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
  font-family: Helvetica, Arial, sans-serif;
}

.w997-site-card .w997-site-actions a {
  font-size: 14px;
  font-weight: 700;
  color: var(--997-gold);
  text-decoration: none;
}

.w997-site-card .w997-site-actions a:hover {
  text-decoration: underline;
}

/* Lil' Naitch young / adult collage */
.w997-ln-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  width: 100%;
  max-height: min(72vh, 820px);
  overflow: hidden;
  background: #050508;
}

.w997-ln-collage img {
  width: 100%;
  height: 100%;
  min-height: clamp(220px, 40vw, 420px);
  object-fit: cover;
}

.w997-ln-collage img:first-child {
  object-position: center 30%;
}

.w997-ln-collage--featured {
  width: 100%;
  height: 100%;
  min-height: clamp(280px, 42vw, 480px);
  max-height: none;
}

.w997-ln-collage--featured img {
  min-height: clamp(280px, 42vw, 480px);
}

@media (max-width: 640px) {
  .w997-ln-collage {
    grid-template-columns: 1fr;
  }
}

/* 7-page mobile stack visual (Convert card — no empty white box) */
.w997-phone-stack {
  margin-top: 1rem;
  display: flex;
  gap: 6px;
  justify-content: center;
  align-items: flex-end;
  min-height: 120px;
  padding: 12px 8px 0;
}

.w997-phone-stack span {
  display: block;
  width: 28px;
  border-radius: 6px 6px 0 0;
  border: 1px solid rgba(212, 167, 44, 0.45);
  background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
}

.w997-phone-stack span:nth-child(1) { height: 72px; opacity: 0.55; }
.w997-phone-stack span:nth-child(2) { height: 88px; opacity: 0.7; }
.w997-phone-stack span:nth-child(3) { height: 104px; border-color: var(--997-gold); box-shadow: 0 0 12px rgba(212, 167, 44, 0.25); }
.w997-phone-stack span:nth-child(4) { height: 88px; opacity: 0.7; }
.w997-phone-stack span:nth-child(5) { height: 72px; opacity: 0.55; }

/* Pricing tiers */
.w997-pricing-grid {
  display: grid;
  gap: 1.25rem;
  margin-top: 2rem;
  text-align: left;
}

@media (min-width: 768px) {
  .w997-pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 1024px) {
  .w997-pricing-grid--four {
    grid-template-columns: repeat(4, 1fr);
  }
}

.w997-pricing-tier--build {
  border-color: rgba(212, 167, 44, 0.55);
}

.w997-site-note {
  font-size: 13px;
  color: #9a948a;
  font-style: italic;
  margin-top: -4px;
}

.w997-concepts-lead {
  color: #c9c4ba;
  font-size: 17px;
  max-width: 58ch;
  margin-bottom: 0.5rem;
}

.w997-more-label--concepts {
  margin-top: 4rem;
}

.w997-site-card--concept {
  opacity: 0.92;
  border-style: dashed;
}

/* 7-page mobile site visual */
.w997-seven-visual {
  display: grid;
  gap: 2rem;
  margin: 2rem 0 3rem;
  align-items: center;
}

@media (min-width: 900px) {
  .w997-seven-visual {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.w997-seven-phone {
  width: min(100%, 320px);
  margin-inline: auto;
  background: #111827;
  border: 2px solid rgba(212, 167, 44, 0.45);
  border-radius: 28px;
  padding: 12px 10px 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.w997-seven-phone-notch {
  width: 80px;
  height: 6px;
  background: #1e293b;
  border-radius: 999px;
  margin: 0 auto 10px;
}

.w997-seven-phone-screen {
  background: linear-gradient(180deg, #0f172a 0%, #0B1220 100%);
  border-radius: 18px;
  padding: 14px 10px;
  min-height: 420px;
  overflow: hidden;
}

.w997-seven-page-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.w997-seven-page-card {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  gap: 2px 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(212, 167, 44, 0.25);
  border-radius: 8px;
  border-left: 3px solid var(--997-gold, #D4A72C);
}

.w997-seven-page-num {
  grid-row: span 2;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--997-gold, #D4A72C);
  align-self: center;
}

.w997-seven-page-card strong {
  font-size: 15px;
  color: #e8e4da;
}

.w997-seven-page-card span:last-child {
  grid-column: 2;
  font-size: 13px;
  color: #9a948a;
  line-height: 1.4;
}

.w997-seven-copy h2 {
  color: var(--997-gold, #D4A72C);
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.75rem;
}

.w997-seven-copy p {
  font-size: 18px;
  color: #c9c4ba;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.w997-three-layers {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .w997-three-layers {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* About page */
.w997-hero-kipl--about h1 {
  max-width: 24ch;
  margin-inline: auto;
}

.w997-about-intro {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 768px) {
  .w997-about-intro {
    grid-template-columns: 240px 1fr;
    gap: 2.5rem;
  }
}

.w997-about-portrait {
  margin: 0;
  text-align: center;
}

.w997-about-portrait img {
  width: min(240px, 70vw);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--997-gold, #D4A72C);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  margin-inline: auto;
}

.w997-about-lede .w997-lede + .w997-lede {
  margin-top: 1rem;
}

.w997-stat-board--about {
  margin-top: 0.5rem;
}

.w997-pull-quote {
  margin: 1.5rem 0 0;
  padding: clamp(20px, 3vw, 28px);
  border-left: 3px solid var(--997-gold, #D4A72C);
  font-size: clamp(20px, 3vw, 26px);
  line-height: 1.4;
  color: #e8e4da;
  font-style: italic;
}

.w997-press-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin-top: 1.5rem;
}

.w997-press-card {
  background: var(--card, #111827);
  border: 1px solid var(--997-border, #1e293b);
  border-radius: 10px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.w997-press-label {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--997-gold, #D4A72C);
}

.w997-press-card strong {
  font-size: 17px;
  color: #e8e4da;
  line-height: 1.3;
}

.w997-press-card span:last-child {
  font-size: 14px;
  color: #9a948a;
  line-height: 1.45;
}

.w997-about-more {
  margin-top: 2rem;
  font-size: 18px;
  color: #c9c4ba;
}

.w997-about-phone {
  margin-top: 1.25rem;
  font-size: 18px;
}

.w997-about-phone a {
  color: var(--997-gold, #D4A72C) !important;
  font-weight: 700;
  text-decoration: none;
}

.w997-pricing-tier {
  background: var(--card, #111827);
  border: 1px solid var(--997-border);
  border-radius: 10px;
  padding: clamp(20px, 3vw, 28px);
  display: flex;
  flex-direction: column;
}

.w997-pricing-tier--featured {
  border: 2px solid var(--997-gold);
  box-shadow: 0 12px 40px rgba(212, 167, 44, 0.12);
}

.w997-pricing-tier .tier-name {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--997-gold);
  margin-bottom: 8px;
}

.w997-pricing-tier .tier-price {
  font-size: clamp(2rem, 5vw, 2.75rem);
  color: #e8e4da;
  line-height: 1;
  margin-bottom: 4px;
}

.w997-pricing-tier .tier-price small {
  font-size: 0.45em;
  color: #9a948a;
  font-weight: 400;
}

.w997-pricing-tier .tier-tagline {
  font-size: 16px;
  color: #c9c4ba;
  margin-bottom: 1rem;
  line-height: 1.45;
}

.w997-pricing-tier ul {
  margin: 0 0 1.25rem;
  padding-left: 1.1rem;
  flex: 1;
  font-size: 15px;
  line-height: 1.65;
  color: #c9c4ba;
}

.w997-pricing-note {
  max-width: 42rem;
  margin: 1.5rem auto 0;
  font-size: 15px;
  color: #9a948a;
  line-height: 1.55;
}

.w997-work-feature-media .w997-ln-duo {
  display: grid;
  gap: 0.65rem;
}

.w997-work-feature-media .w997-ln-duo img {
  width: 100%;
  border-radius: var(--997-radius-lg);
  object-fit: cover;
  aspect-ratio: 4/3;
  box-shadow: var(--997-shadow-md);
}
