/* =============================================
   page-home.css — landing page sections
   ============================================= */

/* ---------- Hero ---------- */
.hero {
  padding-block: clamp(3rem, 7vw, 6rem) clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(60% 60% at 85% 8%, var(--accent-soft), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: .45rem .9rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1.25rem;
}

.hero h1 { margin-bottom: .5rem; }

.hero-role {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-tagline {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 56ch;
  margin-bottom: 1.5rem;
}

.trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 0;
  margin: 0 0 2rem;
}
.trust-chips li + li { margin-top: 0; }
.trust-chips .chip::before { content: "✓"; font-weight: 700; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }

.hero-media .photo-frame img {
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

@media (min-width: 880px) {
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .hero-media .photo-frame { max-width: 400px; margin-left: auto; }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}

.about-copy p + p { margin-top: 1rem; }

.glance-list {
  list-style: none;
  padding: 0;
  margin: 1.75rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .9rem 1.5rem;
}
.glance-list li + li { margin-top: 0; }
.glance-list li {
  display: flex;
  gap: .55rem;
  font-size: .95rem;
  color: var(--text-muted);
}
.glance-list li::before { content: "•"; color: var(--accent); font-weight: 700; }
.glance-list strong { color: var(--text); font-weight: 600; }

@media (min-width: 880px) {
  .about-grid { grid-template-columns: .9fr 1.1fr; }
}

/* ---------- Why trust me (E-E-A-T) ---------- */
.trust-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.trust-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.trust-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}

.trust-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.trust-card p { color: var(--text-muted); font-size: .97rem; }

@media (min-width: 640px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .trust-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Review method ---------- */
.method-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 1rem;
}

.method-step {
  counter-increment: step;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.5rem 4.5rem;
  box-shadow: var(--shadow-sm);
}

.method-step::before {
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.5rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.method-step h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.method-step p { color: var(--text-muted); font-size: .97rem; }

.method-note {
  margin-top: 1.75rem;
  font-style: italic;
  color: var(--text-muted);
  font-size: 1.05rem;
}

@media (min-width: 760px) { .method-list { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Featured articles ---------- */
.articles-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}

.article-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s ease, transform .2s ease;
}
.article-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.article-thumb img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 0; }

.article-body {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  padding: 1.5rem;
  flex: 1;
}

.article-tag {
  align-self: flex-start;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  background: var(--accent-soft);
  padding: .3rem .65rem;
  border-radius: var(--radius-pill);
}

.article-card h3 { font-size: 1.2rem; line-height: 1.3; }
.article-card h3 a { color: var(--text); }
.article-card h3 a:hover { color: var(--accent-dark); text-decoration: none; }

.article-excerpt { color: var(--text-muted); font-size: .95rem; }

.article-meta {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-top: auto;
  padding-top: .75rem;
  border-top: 1px solid var(--border);
  font-size: .85rem;
  color: var(--text-soft);
}

.article-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (min-width: 640px) { .articles-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Where I write (publications) ---------- */
.publications-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.pub-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  color: var(--text);
  box-shadow: var(--shadow-sm);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.pub-card:hover {
  border-color: var(--accent);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  text-decoration: none;
}
.pub-copy { display: flex; flex-direction: column; gap: .25rem; }
.pub-name { font-weight: 600; color: var(--text); }
.pub-blurb { color: var(--text-muted); font-size: .92rem; }
.pub-arrow { color: var(--accent-dark); font-size: 1.35rem; line-height: 1; flex-shrink: 0; }

@media (min-width: 700px) { .publications-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Responsible play band ---------- */
.responsible-band {
  background: linear-gradient(180deg, var(--accent-soft), var(--bg));
  border: 1px solid rgba(31, 169, 122, .2);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 3rem);
}
.responsible-band .section-head { margin-bottom: 1.25rem; }
.responsible-copy { color: var(--text-muted); font-size: 1.05rem; max-width: 72ch; }
.responsible-copy strong { color: var(--text); }

.responsible-note {
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--surface);
  border-radius: var(--radius-md);
  font-weight: 600;
  color: var(--text);
}
.responsible-note .badge-18 { flex-shrink: 0; background: var(--accent); }

/* ---------- Contact ---------- */
.contact-panel {
  display: grid;
  gap: 2.5rem;
  align-items: start;
}
.contact-copy .sub { margin-top: .9rem; }

.contact-form {
  display: grid;
  gap: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.field { display: grid; gap: .4rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--text); }
.field input,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font: inherit;
  color: var(--text);
  background: var(--bg);
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-note { font-size: .85rem; color: var(--text-soft); }

@media (min-width: 880px) { .contact-panel { grid-template-columns: 1fr 1.1fr; } }

/* ---------- Article dialog (modal) ---------- */
.dialog {
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0;
  width: min(720px, calc(100% - 2rem));
  max-height: 86vh;
  overflow: auto;
  background: var(--surface);
  color: var(--text);
}
.dialog::backdrop {
  background: rgba(31, 36, 48, .55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.dialog-inner { padding: clamp(1.5rem, 4vw, 2.5rem); }

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.dialog-head .article-tag { margin-bottom: .75rem; }
.dialog-head h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-bottom: .5rem; }
.dialog-head .article-meta { border: 0; padding: 0; margin: 0; }

.dialog-close {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}
.dialog-close:hover { border-color: var(--accent); color: var(--accent-dark); }

.article-prose p + p { margin-top: 1rem; }
.article-prose h3 { font-size: 1.1rem; margin-top: 1.5rem; margin-bottom: .4rem; }
.article-prose em.disclaimer {
  display: block;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: .92rem;
}
