/* Psikologku — design tokens & global styles */
:root {
  --bg: #FBF7F0;
  --bg-elev: #FFFFFF;
  --bg-tint: #F0EAE0;
  --ink: #1F2E2C;
  --ink-soft: #4A5C58;
  --ink-mute: #8A9994;
  --line: #E5DED1;
  --primary: #3F5A56;
  --primary-deep: #2C413E;
  --primary-soft: #DCE6E2;
  --accent: #C97B5A;
  --accent-soft: #F4DDD0;
  --warn: #B8854B;
  --shadow: 0 6px 24px -10px rgba(31, 46, 44, .14), 0 2px 6px -2px rgba(31, 46, 44, .06);
  --shadow-lg: 0 24px 60px -24px rgba(31, 46, 44, .22), 0 6px 16px -8px rgba(31, 46, 44, .08);
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 28px;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --max-w: 480px;
}

[data-theme="dark"] {
  --bg: #14191A;
  --bg-elev: #1D2426;
  --bg-tint: #232B2D;
  --ink: #ECE6DA;
  --ink-soft: #B6B0A4;
  --ink-mute: #7A847F;
  --line: #2A3335;
  --primary: #7BA39C;
  --primary-deep: #ABC5BE;
  --primary-soft: #2E3D3A;
  --accent: #E8A07D;
  --accent-soft: #3A2D26;
  --warn: #D9A56B;
  --shadow: 0 6px 24px -10px rgba(0, 0, 0, .5), 0 2px 6px -2px rgba(0, 0, 0, .3);
  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, .6), 0 6px 16px -8px rgba(0, 0, 0, .35);
}

html { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body, .tab, .card, .btn, .slot, .date-pill, .chip, .role-card,
.detail-hero, .appt, .hero, .stat, .timeline-item .card,
.field input, .field textarea, .field select, .search-wrap input,
.sheet, .topbar { transition: background-color .25s ease, color .25s ease, border-color .25s ease; }

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  font-size: 15px;
  overflow-x: hidden;
}

.app-shell {
  max-width: var(--max-w);
  margin: 0 auto;
  min-height: 100dvh;
  background: var(--bg);
  position: relative;
  padding-bottom: 88px;
}

/* === typography === */
h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
}
h1 { font-size: 28px; line-height: 1.15; }
h2 { font-size: 22px; line-height: 1.2; }
h3 { font-size: 18px; line-height: 1.3; }
.eyebrow {
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}
.muted { color: var(--ink-soft); }
.tiny { font-size: 12px; color: var(--ink-mute); }

/* === buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 100px;
  border: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover { background: var(--primary-deep); }
.btn-accent {
  background: var(--accent);
  color: #fff;
}
.btn-ghost {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--line);
}
.btn-soft {
  background: var(--primary-soft);
  color: var(--primary-deep);
}
.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }

/* === card === */
.card {
  background: var(--bg-elev);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

/* === topbar === */
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--bg);
  padding: 18px 20px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topbar .greet { display: flex; flex-direction: column; }
.topbar .greet .eyebrow { margin-bottom: 2px; }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary-deep);
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
  border: 1.5px solid var(--bg-elev);
  box-shadow: var(--shadow);
}

/* === bottom nav === */
.tabbar {
  position: fixed;
  left: 50%; transform: translateX(-50%);
  bottom: 14px;
  width: calc(100% - 28px);
  max-width: calc(var(--max-w) - 28px);
  background: var(--bg-elev);
  border-radius: 100px;
  display: flex;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
  z-index: 20;
}
.tab {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 8px 4px;
  border-radius: 100px;
  color: var(--ink-mute);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: all .2s ease;
  border: none;
  background: transparent;
  font-family: inherit;
}
.tab svg { width: 22px; height: 22px; stroke-width: 1.6; }
.tab.active {
  background: var(--primary);
  color: #fff;
}
.tab.active svg { stroke-width: 2; }

/* === pages === */
.page { display: none; padding: 0 20px 24px; }
.page.active { display: block; animation: fadeIn .25s ease; }
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 22px 0 10px;
}
.section-title a { color: var(--primary); text-decoration: none; font-size: 13px; font-weight: 600; }

/* === hero card === */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 24px 22px;
  margin: 4px 0 8px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  right: -40px; top: -40px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,123,90,.5) 0%, transparent 70%);
}
.hero h2 { color: #fff; font-size: 24px; line-height: 1.2; max-width: 80%; position: relative; }
.hero .eyebrow { color: #C5D6D2; }
.hero .mood-row {
  display: flex; gap: 8px; margin-top: 16px; position: relative;
}
.mood-chip {
  flex: 1;
  padding: 12px 6px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  font-size: 11px;
  color: #E8EDEB;
  transition: all .15s ease;
}
.mood-chip:hover, .mood-chip.selected {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.35);
}
.mood-chip .emoji { font-size: 22px; display: block; margin-bottom: 2px; }

/* === psikolog card === */
.psi-list { display: flex; flex-direction: column; gap: 12px; }
.psi-card {
  display: flex;
  gap: 14px;
  align-items: center;
  cursor: pointer;
}
.psi-card .photo {
  width: 64px; height: 64px;
  border-radius: 20px;
  background: var(--bg-tint);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--primary-deep);
  flex-shrink: 0;
  position: relative;
}
.psi-card .photo .dot {
  position: absolute;
  bottom: -2px; right: -2px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #5BA570;
  border: 2.5px solid var(--bg-elev);
}
.psi-card .photo .dot.busy { background: var(--warn); }
.psi-card .body { flex: 1; min-width: 0; }
.psi-card .body .name { font-weight: 600; font-size: 15px; }
.psi-card .body .role { font-size: 12px; color: var(--ink-mute); margin-bottom: 4px; }
.psi-card .tags { display: flex; flex-wrap: wrap; gap: 4px; }
.tag {
  font-size: 11px;
  padding: 2px 9px;
  background: var(--bg-tint);
  color: var(--ink-soft);
  border-radius: 100px;
  white-space: nowrap;
}
.tag.tag-primary { background: var(--primary-soft); color: var(--primary-deep); }
.tag.tag-accent { background: var(--accent-soft); color: var(--accent); }
.psi-card .rating { display: flex; align-items: center; gap: 2px; font-size: 12px; color: var(--ink-soft); font-weight: 600; }
.psi-card .rating .star { color: var(--accent); }

/* === filter chips === */
.chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -20px;
  padding: 4px 20px 12px;
  scrollbar-width: none;
}
.chips::-webkit-scrollbar { display: none; }
.chip {
  padding: 8px 14px;
  border-radius: 100px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-soft);
  white-space: nowrap;
  cursor: pointer;
  font-family: inherit;
  font-weight: 500;
}
.chip.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* === search === */
.search-wrap {
  position: relative;
  margin: 4px 0 6px;
}
.search-wrap input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 100px;
  padding: 14px 18px 14px 46px;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
}
.search-wrap input:focus {
  outline: none;
  border-color: var(--primary);
}
.search-wrap svg {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  color: var(--ink-mute);
}

/* === detail page === */
.detail-hero {
  background: var(--bg-tint);
  border-radius: var(--radius-lg);
  padding: 22px 20px;
  margin-bottom: 14px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.detail-hero .photo {
  width: 84px; height: 84px;
  border-radius: 24px;
  background: var(--bg-elev);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--primary-deep);
  flex-shrink: 0;
}
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0;
}
.stat {
  background: var(--bg-elev);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--line);
}
.stat .val { font-family: var(--font-display); font-size: 18px; color: var(--primary-deep); }
.stat .lbl { font-size: 10px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .08em; margin-top: 2px; }

/* === slot picker === */
.slot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}
.slot {
  padding: 12px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  background: var(--bg-elev);
  cursor: pointer;
  transition: all .15s ease;
}
.slot.selected {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.slot.disabled {
  color: var(--ink-mute);
  background: transparent;
  cursor: not-allowed;
  text-decoration: line-through;
  text-decoration-color: var(--line);
}

.date-strip {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 0 -20px 12px;
  padding: 4px 20px;
  scrollbar-width: none;
}
.date-strip::-webkit-scrollbar { display: none; }
.date-pill {
  flex-shrink: 0;
  text-align: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  cursor: pointer;
  min-width: 58px;
}
.date-pill .d { font-family: var(--font-display); font-size: 18px; }
.date-pill .wd { font-size: 10px; text-transform: uppercase; color: var(--ink-mute); margin-top: 2px; letter-spacing: .06em; }
.date-pill.selected {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.date-pill.selected .wd { color: rgba(255,255,255,.7); }

/* === journal === */
.journal-entry {
  margin-bottom: 14px;
  position: relative;
}
.journal-entry .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.journal-entry .body { color: var(--ink-soft); font-size: 14px; }
.journal-mood {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-soft);
}
.journal-mood .emoji { font-size: 18px; }

.fab {
  position: fixed;
  bottom: 88px;
  right: calc(50% - min(50vw, calc(var(--max-w) / 2)) + 20px);
  z-index: 15;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  border: none;
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
}
.fab svg { width: 26px; height: 26px; }

/* === form === */
.field { margin-bottom: 16px; }
.field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input, .field textarea, .field select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--bg-elev);
  border-radius: 14px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field textarea { min-height: 140px; font-family: var(--font-display); font-size: 16px; line-height: 1.5; }

.mood-picker {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}
.mood-pick {
  padding: 14px 4px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-align: center;
  cursor: pointer;
  font-size: 11px;
  color: var(--ink-soft);
}
.mood-pick .emoji { font-size: 24px; display: block; margin-bottom: 4px; }
.mood-pick.selected {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--accent);
}

/* === appointment / session card === */
.appt {
  display: flex;
  gap: 14px;
  padding: 14px;
  background: var(--bg-elev);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  margin-bottom: 10px;
}
.appt-date {
  flex-shrink: 0;
  width: 56px;
  text-align: center;
  border-right: 1px solid var(--line);
  padding-right: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.appt-date .d { font-family: var(--font-display); font-size: 22px; color: var(--primary-deep); line-height: 1; }
.appt-date .m { font-size: 10px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }
.appt-body { flex: 1; min-width: 0; }
.appt-body .time { font-size: 12px; color: var(--ink-mute); margin-bottom: 2px; }
.appt-body .name { font-weight: 600; font-size: 15px; }
.appt-body .mode {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-size: 11px;
  color: var(--primary);
  background: var(--primary-soft);
  padding: 2px 8px;
  border-radius: 100px;
}

/* === landing === */
.landing {
  min-height: 100dvh;
  padding: 32px 24px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(ellipse at 80% 0%, var(--primary-soft) 0%, transparent 50%),
    radial-gradient(ellipse at 0% 100%, var(--accent-soft) 0%, transparent 45%),
    var(--bg);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.brand .mark {
  width: 36px; height: 36px;
  border-radius: 12px;
  background: var(--primary);
  display: grid; place-items: center;
  color: #fff;
}
.brand .name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.landing-hero { padding: 40px 0 24px; }
.landing-hero h1 {
  font-size: 38px;
  line-height: 1.05;
  font-weight: 400;
  margin-bottom: 14px;
}
.landing-hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 500;
}
.landing-hero p {
  font-size: 15px;
  color: var(--ink-soft);
  max-width: 90%;
}
.role-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}
.role-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  text-decoration: none;
  color: var(--ink);
  transition: all .2s ease;
}
.role-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.role-card .icon {
  width: 48px; height: 48px;
  border-radius: 16px;
  background: var(--primary-soft);
  color: var(--primary-deep);
  display: grid; place-items: center;
  flex-shrink: 0;
}
.role-card[data-role="psikolog"] .icon { background: var(--accent-soft); color: var(--accent); }
.role-card .copy { flex: 1; }
.role-card .copy .t { font-weight: 600; font-size: 16px; margin-bottom: 2px; }
.role-card .copy .d { font-size: 12px; color: var(--ink-mute); }
.role-card .arrow { color: var(--ink-mute); }
.foot { text-align: center; }
.foot .tiny { color: var(--ink-mute); }

/* === schedule (psikolog) === */
.timeline {
  position: relative;
  padding-left: 56px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 40px;
  top: 8px; bottom: 8px;
  width: 1px;
  background: var(--line);
}
.timeline-item {
  position: relative;
  margin-bottom: 14px;
}
.timeline-item .hour {
  position: absolute;
  left: -56px;
  top: 12px;
  width: 36px;
  text-align: right;
  font-size: 11px;
  color: var(--ink-mute);
  font-weight: 600;
}
.timeline-item .dot {
  position: absolute;
  left: -19px; top: 18px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--primary);
  border: 2px solid var(--bg);
}
.timeline-item.empty { opacity: .5; }
.timeline-item.empty .card { background: transparent; box-shadow: none; border: 1px dashed var(--line); }

/* === bottom sheet (booking confirm) === */
.sheet-bg {
  position: fixed; inset: 0;
  background: rgba(31, 46, 44, .4);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 100;
}
.sheet-bg.open { display: flex; }
.sheet {
  background: var(--bg-elev);
  border-radius: 28px 28px 0 0;
  padding: 24px 22px 28px;
  width: 100%;
  max-width: var(--max-w);
  animation: slideUp .25s ease;
}
@keyframes slideUp { from { transform: translateY(100%); } to { transform: none; } }
.sheet .handle {
  width: 40px; height: 4px;
  background: var(--line);
  border-radius: 100px;
  margin: -8px auto 18px;
}
.sheet h3 { margin-bottom: 8px; }
.sheet .summary {
  background: var(--bg);
  border-radius: 16px;
  padding: 14px;
  margin: 12px 0;
}
.sheet .summary-row {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 13px;
}
.sheet .summary-row.total {
  font-weight: 700;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 10px;
  font-size: 15px;
}

/* === back button === */
.back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: none;
  color: var(--ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  cursor: pointer;
}

/* === utility === */
.row { display: flex; gap: 10px; align-items: center; }
.row-between { display: flex; justify-content: space-between; align-items: center; }
.gap-8 { gap: 8px; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; } .mb-12 { margin-bottom: 12px; } .mb-16 { margin-bottom: 16px; }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); margin: 16px 0; }

/* === theme toggle === */
.theme-toggle {
  position: fixed;
  top: 14px;
  right: max(14px, calc(50% - var(--max-w) / 2 + 14px));
  z-index: 50;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background .25s ease, transform .15s ease, color .25s ease;
}
.theme-toggle:active { transform: scale(.92); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .sun { display: block; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon { display: block; color: var(--accent); }

/* topbar avatar should not collide with theme toggle in pages that have it */
.topbar { padding-right: 64px; }

/* === article card === */
.article-card {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: 14px;
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 12px;
}
.article-thumb {
  background: var(--bg-tint);
  display: grid;
  place-items: center;
  font-size: 32px;
  color: var(--primary-deep);
  position: relative;
  overflow: hidden;
  line-height: 1;
}
.article-thumb::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(201,123,90,.18), transparent 60%);
  pointer-events: none;
}
.article-thumb > * { position: relative; z-index: 1; }
.article-thumb.t-1 { background: linear-gradient(135deg, var(--primary-soft), var(--bg-tint)); }
.article-thumb.t-2 { background: linear-gradient(135deg, var(--accent-soft), var(--bg-tint)); }
.article-thumb.t-3 { background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; }
.article-thumb.t-4 { background: linear-gradient(135deg, var(--bg-tint), var(--primary-soft)); }
.article-body { padding: 12px 14px 12px 0; min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
.article-body .cat { font-size: 11px; color: var(--accent); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.article-body .t { font-family: var(--font-display); font-size: 15px; font-weight: 500; color: var(--ink); line-height: 1.25; }
.article-body .meta { font-size: 11px; color: var(--ink-mute); margin-top: 2px; }

.article-feature {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 22px 22px 24px;
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.article-feature::after {
  content: '';
  position: absolute;
  right: -50px; bottom: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,123,90,.45) 0%, transparent 70%);
}
.article-feature .cat { color: #E5D6CC; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; position: relative; }
.article-feature h2 { color: #fff; font-size: 22px; line-height: 1.2; margin-top: 6px; max-width: 85%; position: relative; }
.article-feature .meta { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 12px; position: relative; }

/* === small screen tweaks === */
@media (max-width: 380px) {
  .landing-hero h1 { font-size: 32px; }
  body { font-size: 14px; }
}
