/* ═══════════════════════════════════════════════════════
   WEALTHARCH — ABOUT / SERVICES / CONTACT PAGE STYLES
   ═══════════════════════════════════════════════════════ */

/* ══ SHARED PAGE HERO ═══════════════════════════════════ */
.page-hero {
  padding: calc(var(--nav-h) + 4.5rem) 5% 4.5rem;
  position: relative; overflow: hidden;
  background: var(--navy);
}
.page-hero-inner { max-width: 1200px; margin: 0 auto; }
.page-hero-label {
  font-size: 0.68rem; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1.1rem;
}
.page-hero-label::before { content: ''; width: 22px; height: 1px; background: var(--gold); }
.page-hero-title {
  font-family: var(--ff-serif);
  font-size: clamp(2.5rem, 5.5vw, 5rem);
  font-weight: 300; line-height: 1.05; letter-spacing: -0.025em;
  color: var(--white);
}
.page-hero-title em { font-style: italic; color: var(--gold); }
.page-hero-sub {
  max-width: 540px; margin-top: 1.25rem;
  font-size: 0.95rem; color: rgba(255,255,255,0.82); line-height: 1.85;
}

/* ══════════════════════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════════════════════ */
#about-hero  { border-bottom: 1px solid rgba(255,255,255,0.06); }
#services-hero { border-bottom: 1px solid rgba(255,255,255,0.06); }

#about-story { background: var(--white); }
#about-story .section-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: start;
}
.story-text p { font-size: 1rem; color: var(--ink-60); line-height: 1.9; margin-bottom: 1.25rem; }
.story-quote {
  font-family: var(--ff-serif);
  font-size: clamp(1.2rem, 2vw, 1.65rem); font-style: italic; font-weight: 400;
  line-height: 1.55; color: var(--ink-60);
  border-left: 3px solid var(--gold); padding-left: 1.75rem; margin: 2.5rem 0;
}
.story-visual {
  background: var(--gold-bg); border-radius: 4px; padding: 3rem;
  display: flex; flex-direction: column; gap: 0; position: sticky; top: 120px;
}
.sv-stat { padding: 2rem 0; border-bottom: 1px solid rgba(184,145,42,0.2); display: flex; flex-direction: column; }
.sv-stat:first-child { padding-top: 0; }
.sv-stat:last-child  { border-bottom: none; padding-bottom: 0; }
.sv-stat-num { font-family: var(--ff-serif); font-size: 3.5rem; font-weight: 300; color: var(--gold); line-height: 1; }
.sv-stat-label { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-60); margin-top: 0.25rem; }

#about-values { background: var(--cream); }
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin-top: 3rem; }
.av-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 4px; padding: 2.5rem;
  transition: border-color 0.3s, transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.av-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.06); }
.av-icon { display: none; }
.av-title { font-family: var(--ff-serif); font-size: 1.4rem; font-weight: 600; margin-bottom: 0.65rem; color: #0D1F38; }
.av-body { font-size: 0.93rem; color: #374151; line-height: 1.85; }

#about-philosophy { background: var(--ink); }
#about-philosophy .section-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 6rem; align-items: center; }
#about-philosophy .section-title { color: var(--white); }
#about-philosophy .section-label { opacity: 0.7; }
.phi-list { margin-top: 2.5rem; }
.phi-item { display: flex; align-items: flex-start; gap: 0; padding: 1.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
.phi-item:last-child { border-bottom: none; }
.phi-num { display: none; }
.phi-text strong { font-family: var(--ff-serif); font-size: 1.3rem; font-weight: 600; display: block; margin-bottom: 0.3rem; color: var(--white); }
.phi-text p { font-size: 0.93rem; color: rgba(255,255,255,0.92); line-height: 1.8; }
.phi-visual { display: flex; align-items: center; justify-content: center; height: 420px; position: relative; }
.phi-diamond { width: 180px; height: 180px; background: var(--gold); clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%); position: absolute; animation: spinD 22s linear infinite; }
.phi-diamond-inner { width: 95px; height: 95px; background: rgba(255,255,255,0.04); clip-path: polygon(50% 0%,100% 50%,50% 100%,0% 50%); position: absolute; animation: spinD 22s linear infinite reverse; }
.phi-ring { border-radius: 50%; position: absolute; border: 1px solid var(--gold); }
.phi-ring:nth-child(3) { width: 300px; height: 300px; opacity: 0.25; animation: pulse 4s ease-in-out infinite; }
.phi-ring:nth-child(4) { width: 380px; height: 380px; opacity: 0.12; animation: pulse 4s ease-in-out 1.5s infinite; }
.phi-center { position: absolute; z-index: 2; font-family: var(--ff-serif); font-size: 0.9rem; font-weight: 700; color: var(--white); letter-spacing: 0.1em; }
@keyframes spinD { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* ══════════════════════════════════════════════════════
   WHAT WE DON'T DO — COMMITMENT CARDS
═══════════════════════════════════════════════════════ */
#about-commitments { background: #F7F5F0; }
#about-commitments .section-inner { padding-top: 5rem; padding-bottom: 5rem; }
.commitments-header { max-width: 700px; margin-bottom: 3.5rem; }
.commitments-sub { font-size: 1rem; color: #374151; line-height: 1.85; margin-top: 1rem; }
.commitments-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.commitment-card {
  background: #FFFFFF; border: 1px solid #E5E0D5;
  border-radius: 6px; padding: 2.25rem;
  transition: border-color 0.3s, transform 0.35s cubic-bezier(0.16,1,0.3,1), box-shadow 0.3s;
}
.commitment-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(11,31,58,0.08);
}
.commitment-icon {
  width: 52px; height: 52px; margin-bottom: 1.25rem;
  color: #1C3A5E; opacity: 0.75;
}
.commitment-icon svg { width: 100%; height: 100%; }
.commitment-title {
  font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 600;
  color: #0D1F38; margin-bottom: 0.6rem; line-height: 1.2;
}
.commitment-body { font-size: 0.9rem; color: #374151; line-height: 1.8; }

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

/* ══════════════════════════════════════════════════════
   SERVICES PAGE
═══════════════════════════════════════════════════════ */
/* services hero handled above */

#services-main { background: var(--white); }
.service-row { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.service-row:last-child { border-bottom: none; }
.service-row:nth-child(even) .service-row-text   { order: 2; }
.service-row:nth-child(even) .service-row-visual  { order: 1; border-left: none; border-right: 1px solid var(--line); }

.service-row-text {
  padding: 5rem 5%; display: flex; flex-direction: column; justify-content: center;
}
.service-row-num { display: none; }
.service-row-title {
  font-family: var(--ff-serif);
  font-size: clamp(1.75rem, 3vw, 2.75rem); font-weight: 300; line-height: 1.1;
  letter-spacing: -0.02em; margin-bottom: 1.25rem;
}
.service-row-title em { font-style: italic; color: var(--gold); }
.service-row-body { font-size: 0.95rem; color: #374151; line-height: 1.9; margin-bottom: 2rem; max-width: 480px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.service-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(184,145,42,0.3); padding: 0.3rem 0.75rem; border-radius: 99px; }

.service-row-visual {
  background: var(--cream); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; justify-content: center;
  padding: 4rem 5%; position: relative; overflow: hidden;
}
.service-icon-big {
  font-size: clamp(5rem, 10vw, 8rem); color: var(--gold); opacity: 0.1; line-height: 1;
  position: absolute; bottom: 2rem; right: 2rem; user-select: none; pointer-events: none;
}
.service-detail-list { display: flex; flex-direction: column; gap: 1.1rem; }
.sdl-item { display: flex; align-items: flex-start; gap: 0.875rem; font-size: 0.9rem; color: var(--ink-60); line-height: 1.7; }
.sdl-dot { width: 6px; height: 6px; background: var(--gold); border-radius: 50%; margin-top: 0.55rem; flex-shrink: 0; }

#services-why { background: var(--gold-bg); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: rgba(184,145,42,0.2); margin-top: 4rem; }
.why-card { background: var(--gold-bg); padding: 2.5rem; transition: background 0.3s; }
.why-card:hover { background: var(--white); }
.why-num { font-family: var(--ff-mono); font-size: 0.7rem; color: var(--gold); letter-spacing: 0.1em; margin-bottom: 1.5rem; }
.why-title { font-family: var(--ff-serif); font-size: 1.25rem; font-weight: 600; margin-bottom: 0.6rem; }
.why-body { font-size: 0.875rem; color: var(--ink-60); line-height: 1.8; }

/* ══════════════════════════════════════════════════════
   CONTACT PAGE
═══════════════════════════════════════════════════════ */
#contact-hero { background: var(--ink); }
#contact-hero .page-hero-label { opacity: 0.7; }
#contact-hero .page-hero-title { color: var(--white); }
#contact-hero .page-hero-sub   { color: rgba(255,255,255,0.82); }

#contact-main { background: var(--white); }
#contact-main .section-inner { display: grid; grid-template-columns: 1fr 1.3fr; gap: 6rem; align-items: start; }
.contact-sidebar { position: sticky; top: 120px; }
.contact-sidebar p { font-size: 0.95rem; color: var(--ink-60); line-height: 1.85; margin: 1.5rem 0 2.5rem; }
.contact-form-box { width: 100%; min-width: 0; display: block; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.cd-icon { width: 36px; height: 36px; min-width: 36px; background: var(--navy); border-radius: 2px; display: grid; place-items: center; color: var(--gold); font-size: 0.88rem; }
.cd-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.cd-value { font-size: 0.9rem; color: var(--ink-60); margin-top: 0.15rem; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-60); }
.form-input, .form-select, .form-textarea {
  padding: 0.9rem 1rem; background: var(--cream); border: 1.5px solid var(--line);
  border-radius: 3px; font-family: var(--ff-sans); font-size: 0.9rem; color: var(--ink);
  outline: none; width: 100%; transition: border-color 0.25s, background 0.25s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); background: var(--white); }
.form-textarea { resize: vertical; min-height: 140px; }
.form-select { appearance: none; cursor: pointer; }
.form-input.error { border-color: #e05050; }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  #about-story .section-inner { grid-template-columns: 1fr; gap: 3rem; }
  #about-philosophy .section-inner { grid-template-columns: 1fr; gap: 3rem; }
  .story-visual { position: static; }
  .values-grid { grid-template-columns: 1fr; }
  .service-row { grid-template-columns: 1fr; }
  .service-row:nth-child(even) .service-row-text { order: unset; }
  .service-row:nth-child(even) .service-row-visual { order: unset; border-right: none; }
  .service-row-visual { border-left: none !important; border-top: 1px solid var(--line); }
  .why-grid { grid-template-columns: 1fr 1fr; }
  #contact-main .section-inner { grid-template-columns: 1fr; gap: 3rem; }
  .contact-sidebar { position: static; }
}
@media (max-width: 768px) {
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
