/* pages/index.astro — the <style> of the firm site page or component, as Alfred serves it (`Jolarte\View\FirmSite`). */
/* Hero */
section.hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.hero .inner { max-width: var(--max-w); margin: 0 auto; padding: 128px 24px 112px; }
@media (min-width: 900px) { .hero .inner { padding: 160px 48px 128px; } }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: 72px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 7fr 4fr; gap: 88px; } }
.hero-eyebrow { margin-bottom: 28px; }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 5.2vw, 58px); line-height: 1.18; color: var(--ink); margin-bottom: 36px; max-width: 20ch; }
.hero-sub { font-size: 18px; line-height: 1.75; color: var(--ink-soft); max-width: 56ch; margin-bottom: 48px; }
.hero-note { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); margin-top: 24px; letter-spacing: 0.02em; }
.hero-stat { padding: 40px 0 40px 40px; border-left: 1px solid var(--line); }
@media (max-width: 899px) { .hero-stat { padding: 32px 0 0; border-left: none; border-top: 1px solid var(--line); margin-top: 24px; } }
.hero-stat .stat-rule { width: 32px; height: 1px; background: var(--ink); margin-bottom: 24px; }
.hero-stat .stat-num { font-family: var(--serif); font-weight: 400; font-size: clamp(56px, 7vw, 88px); line-height: 1; color: var(--ink); margin-bottom: 20px; letter-spacing: -0.02em; }
.hero-stat .stat-caption { font-size: 15px; line-height: 1.6; color: var(--ink); max-width: 28ch; margin-bottom: 16px; }
.hero-stat .stat-source { font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink-soft); max-width: 36ch; }

/* What we do */
section.whatwedo { background: var(--paper); border-bottom: 1px solid var(--line); }
section.whatwedo .inner { max-width: var(--max-w); margin: 0 auto; padding: 128px 24px; }
@media (min-width: 900px) { section.whatwedo .inner { padding: 144px 48px; } }
.wwd-head { text-align: center; margin: 0 auto 72px; max-width: 760px; }
.wwd-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); color: var(--ink); line-height: 1.22; }
.wwd-grid { display: grid; grid-template-columns: 1fr; gap: 56px; max-width: 980px; margin: 0 auto; }
@media (min-width: 800px) { .wwd-grid { grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); } .wwd-col + .wwd-col { border-left: 1px solid var(--line); } }
.wwd-col { padding: 48px 32px; }
.wwd-col .cat { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.wwd-col h3 { font-family: var(--serif); font-weight: 400; font-size: 22px; line-height: 1.3; color: var(--ink); margin-bottom: 32px; }
.wwd-col ul { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.wwd-col li { font-size: 15px; line-height: 1.55; color: var(--ink); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.wwd-col li:last-child { border-bottom: none; }
.wwd-col li a:hover { color: var(--red); }

/* Differentiators */
section.diff { background: var(--paper-soft); border-bottom: 1px solid var(--line); }
section.diff .inner { max-width: var(--max-w); margin: 0 auto; padding: 128px 24px; }
@media (min-width: 900px) { section.diff .inner { padding: 144px 48px; } }
.diff-head { text-align: center; max-width: 780px; margin: 0 auto 88px; }
.diff-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); line-height: 1.2; color: var(--ink); }
.diff-grid { display: grid; grid-template-columns: 1fr; gap: 72px; max-width: 980px; margin: 0 auto; }
@media (min-width: 900px) { .diff-grid { grid-template-columns: repeat(3, 1fr); gap: 56px; } }
.diff-item .num { font-family: var(--serif); font-style: italic; font-size: 36px; color: var(--ink); line-height: 1; margin-bottom: 20px; }
.diff-item .rule-small { width: 36px; height: 1px; background: var(--ink); margin-bottom: 24px; }
.diff-item h3 { font-family: var(--serif); font-weight: 400; font-size: 24px; line-height: 1.3; color: var(--ink); margin-bottom: 20px; }
.diff-item p { font-size: 15px; line-height: 1.75; color: var(--ink-soft); }

/* Pledge */
section.pledge { background: var(--ink-nav); color: var(--paper-pure); text-align: center; border-bottom: 1px solid var(--line); }
section.pledge .inner { max-width: 820px; margin: 0 auto; padding: 128px 24px; }
section.pledge .eyebrow { display: inline-flex; align-items: center; gap: 18px; letter-spacing: 0.4em; color: rgba(255,255,255,0.7); margin-bottom: 40px; }
section.pledge .eyebrow::before, section.pledge .eyebrow::after { content: ""; display: block; width: 32px; height: 1px; background: rgba(255,255,255,0.4); }
section.pledge p { font-family: var(--serif); font-weight: 400; font-size: clamp(26px, 3.4vw, 40px); line-height: 1.35; color: var(--paper-pure); }
section.pledge p em { color: rgba(255,255,255,0.58); font-style: italic; }

/* Team */
section.team { background: var(--paper); border-bottom: 1px solid var(--line); }
section.team .inner { max-width: 1000px; margin: 0 auto; padding: 128px 24px; }
@media (min-width: 900px) { section.team .inner { padding: 144px 48px; } }
.team-head { text-align: center; margin: 0 auto 64px; max-width: 640px; }
.team-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); color: var(--ink); line-height: 1.2; }
.team-motto { margin-bottom: 72px; }
.team-portraits { display: grid; grid-template-columns: 1fr auto 1fr; gap: 48px; align-items: start; max-width: 960px; margin: 0 auto; }
@media (max-width: 760px) { .team-portraits { grid-template-columns: 1fr; gap: 72px; } .team-accent { display: none !important; } }
.team-accent { display: flex; align-items: center; justify-content: center; padding-top: 128px; }

/* Events */
section.featured { background: var(--paper-soft); border-bottom: 1px solid var(--line); }
section.featured .inner { max-width: var(--max-w); margin: 0 auto; padding: 128px 24px; }
@media (min-width: 900px) { section.featured .inner { padding: 144px 48px; } }
.featured-head { text-align: center; margin-bottom: 56px; position: relative; }
.featured-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); color: var(--ink); max-width: 20ch; margin: 0 auto 32px; line-height: 1.2; }
.carousel-controls { display: inline-flex; align-items: center; gap: 20px; padding-top: 16px; }
.carousel-btn { background: var(--paper); border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 0; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); transition: all .15s ease; }
.carousel-btn:hover:not(:disabled) { background: var(--ink); color: var(--paper-pure); border-color: var(--ink); }
.carousel-btn:disabled { opacity: 0.3; cursor: not-allowed; }
.carousel-counter { font-family: var(--mono); font-size: 13px; color: var(--ink-soft); letter-spacing: 0.08em; min-width: 40px; text-align: center; }
.carousel-counter span { color: var(--ink); }
.event-carousel { display: flex; gap: 32px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 24px 24px; margin: 0 -24px; scrollbar-width: none; }
@media (min-width: 900px) { .event-carousel { margin: 0 -48px; padding-left: 48px; padding-right: 48px; gap: 40px; } }
.event-carousel::-webkit-scrollbar { display: none; }
.carousel-footer { text-align: center; margin-top: 40px; }
.empty { text-align: center; color: var(--ink-soft); }

/* Reviews */
section.reviews { background: var(--paper); border-bottom: 1px solid var(--line); }
section.reviews .inner { max-width: var(--max-w); margin: 0 auto; padding: 128px 24px; }
@media (min-width: 900px) { section.reviews .inner { padding: 144px 48px; } }
.reviews-head { text-align: center; margin-bottom: 72px; }
.reviews-head h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); color: var(--ink); margin-bottom: 20px; line-height: 1.2; }
.reviews-head .stars { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); }
.review-grid { display: grid; grid-template-columns: 1fr; gap: 32px; max-width: 980px; margin: 0 auto; }
@media (min-width: 800px) { .review-grid { grid-template-columns: repeat(3, 1fr); } }
.review { padding: 40px 32px; background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; }
.review blockquote { font-family: var(--serif); font-style: italic; font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 32px; flex: 1; }
.review blockquote::before { content: "“"; font-family: var(--serif); font-size: 56px; display: block; line-height: 0.5; color: var(--ink); margin-bottom: 24px; font-style: normal; }
.review .by { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); padding-top: 20px; border-top: 1px solid var(--line); letter-spacing: 0.04em; }
.review .by strong { color: var(--ink); display: block; font-weight: 600; margin-bottom: 4px; }
.review.placeholder .by, .review.placeholder .by strong { color: rgba(0,0,0,0.3); }
.reviews-footer { text-align: center; margin-top: 56px; }
.reviews-disclosure { max-width: 780px; margin: 48px auto 0; font-size: 12px; color: var(--ink-soft); text-align: center; line-height: 1.7; font-style: italic; }

/* Trust */
section.trust { background: var(--paper-soft); border-bottom: 1px solid var(--line); text-align: center; }
section.trust .inner { max-width: 820px; margin: 0 auto; padding: 128px 24px; }
@media (min-width: 900px) { section.trust .inner { padding: 144px 48px; } }
section.trust .eyebrow { display: inline-flex; align-items: center; gap: 18px; letter-spacing: 0.4em; margin-bottom: 32px; }
section.trust .eyebrow::before, section.trust .eyebrow::after { content: ""; display: block; width: 32px; height: 1px; background: var(--ink); }
section.trust h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(30px, 4vw, 44px); color: var(--ink); margin-bottom: 32px; line-height: 1.2; }
section.trust p { font-size: 17px; line-height: 1.8; color: var(--ink-soft); max-width: 60ch; margin: 0 auto; }

/* Closing */
section.closing { background: var(--paper); text-align: center; border-bottom: 1px solid var(--line); }
section.closing .inner { max-width: 640px; margin: 0 auto; padding: 128px 24px; }
section.closing h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(28px, 3.6vw, 40px); color: var(--ink); margin-bottom: 40px; }
section.closing .note { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin-top: 24px; }
