/* ═══════════════════════════════════════
   りのトレ Site 3 — Style
   Design: Site 2 aesthetic + Site 1 content
═══════════════════════════════════════ */

:root {
  --primary:    #2d5a4c;
  --primary-lt: #e5f2ee;
  --accent:     #d4af37;
  --bg:         #f9f8f6;
  --white:      #ffffff;
  --charcoal:   #2A2A28;
  --mid:        #6A6A66;
  --light:      #AAAAAA;
  --border:     #E8E0D0;
  --sage:       #5E9E8A;
  --sage-lt:    #E5F2EE;
  --cream:      #FAF7F2;

  --back-c:      #3A86A8;
  --back-lt:     #E6F3F9;
  --shoulder-c:  #4E9A5F;
  --shoulder-lt: #E8F5EB;
  --hand-c:      #C4623A;
  --hand-lt:     #FAEEE9;
  --knee-c:      #B07B28;
  --knee-lt:     #FBF4E5;
  --foot-c:      #7A56B0;
  --foot-lt:     #F0EBFA;

  --shadow:  0 4px 24px rgba(0,0,0,0.07);
  --shadow2: 0 8px 40px rgba(0,0,0,0.12);
  --radius:  18px;
  --transition: 0.25s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans JP', sans-serif;
  font-weight: 300;
  color: var(--charcoal);
  background: var(--bg);
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

/* ─── PASSWORD OVERLAY ─── */
#pw-overlay {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--cream);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; padding: 32px 24px;
}
#pw-overlay.hidden { display: none; }
.pw-box {
  width: 100%; max-width: 360px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px 36px;
  text-align: center;
  box-shadow: var(--shadow2);
}
.pw-logo { font-size: 22px; font-weight: 700; margin-bottom: 8px; color: var(--primary); }
.pw-sub  { font-size: 13px; color: var(--mid); margin-bottom: 24px; line-height: 1.7; }
.pw-lock { font-size: 36px; margin-bottom: 12px; }
.pw-input {
  width: 100%; padding: 13px 16px;
  border: 1.5px solid var(--border); border-radius: 10px;
  font-family: inherit; font-size: 16px; outline: none;
  box-sizing: border-box; margin-bottom: 12px;
  transition: border-color var(--transition);
}
.pw-input:focus { border-color: var(--primary); }
.pw-input.error { border-color: #c0392b; }
.pw-btn {
  width: 100%; padding: 13px;
  background: var(--primary); color: #fff;
  border: none; border-radius: 10px;
  font-family: inherit; font-size: 16px; font-weight: 600; cursor: pointer;
  transition: opacity var(--transition);
}
.pw-btn:hover { opacity: 0.88; }
.pw-err { color: #c0392b; font-size: 13px; margin-top: 10px; min-height: 18px; }

/* ─── NAVBAR ─── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  background: rgba(249,248,246,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  padding: 0 2rem;
  height: 64px;
  display: flex; align-items: center;
  transition: all var(--transition);
}
#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-inner {
  width: 100%; max-width: 1100px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  font-size: 17px; font-weight: 700; color: var(--charcoal);
  text-decoration: none;
}
.nav-icon {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border);
}
.nav-logo strong { color: var(--primary); }
.nav-links {
  display: flex; align-items: center; gap: 0.5rem;
  list-style: none;
}
.nav-links a {
  padding: 0.4rem 0.85rem;
  font-size: 13px; color: var(--mid);
  text-decoration: none; border-radius: 8px;
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--primary); background: var(--primary-lt); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--charcoal); border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

@media (max-width: 760px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: flex-start;
    position: absolute; top: 64px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 1rem 1.5rem; gap: 0.25rem;
    box-shadow: var(--shadow);
  }
  .nav-links.active { display: flex; }
  .nav-links a { width: 100%; padding: 0.6rem 1rem; }
}

/* ─── LAYOUT ─── */
.container {
  max-width: 860px; margin: 0 auto; padding: 0 1.5rem;
}
.container-wide {
  max-width: 1100px; margin: 0 auto; padding: 0 1.5rem;
}

section { padding: 72px 0; }

/* ─── HERO ─── */
#hero {
  min-height: 100vh;
  background: linear-gradient(150deg, #EDF4F2 0%, var(--cream) 50%, #F3EEE8 100%);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 100px 28px 80px;
  position: relative; overflow: hidden;
}
.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.shape {
  position: absolute; border-radius: 50%;
  background: linear-gradient(135deg, rgba(45,90,76,0.07), rgba(212,175,55,0.05));
}
.shape-1 { width: 500px; height: 500px; top: -100px; right: -100px; }
.shape-2 { width: 300px; height: 300px; bottom: -80px; left: -80px; }

.hero-inner { max-width: 700px; position: relative; z-index: 1; }
.hero-badge {
  display: inline-block;
  background: var(--primary-lt); color: var(--primary);
  font-size: 11px; letter-spacing: 0.2em;
  padding: 6px 20px; border-radius: 100px;
  margin-bottom: 36px; font-weight: 500;
}
.hero-title {
  font-size: clamp(30px, 6vw, 52px);
  font-weight: 300; line-height: 1.55;
  letter-spacing: 0.03em; margin-bottom: 24px;
}
.hero-title em { font-style: normal; color: var(--primary); }
.hero-lead {
  font-size: 15px; color: var(--mid);
  line-height: 2.1; max-width: 520px; margin: 0 auto 48px;
}
.hero-cats {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 40px;
}
.hero-cat {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 18px; border-radius: 100px;
  font-size: 13px; font-weight: 400; text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  border: 1.5px solid;
}
.hero-cat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.hc-back     { background: var(--back-lt);     color: var(--back-c);     border-color: var(--back-c); }
.hc-shoulder { background: var(--shoulder-lt); color: var(--shoulder-c); border-color: var(--shoulder-c); }
.hc-hand     { background: var(--hand-lt);     color: var(--hand-c);     border-color: var(--hand-c); }
.hc-knee     { background: var(--knee-lt);     color: var(--knee-c);     border-color: var(--knee-c); }
.hc-foot     { background: var(--foot-lt);     color: var(--foot-c);     border-color: var(--foot-c); }

.hero-profile {
  display: flex; align-items: center; gap: 14px;
  justify-content: center; margin-top: 40px;
}
.hero-profile-img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover; border: 2.5px solid var(--border);
}
.hero-profile-text { text-align: left; }
.hero-profile-name { font-size: 16px; font-weight: 500; }
.hero-profile-role { font-size: 11px; color: var(--sage); letter-spacing: 0.1em; }

/* ─── SEARCH & FILTER ─── */
#search-section {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 40px 0;
  position: sticky; top: 64px; z-index: 100;
}
.search-box {
  display: flex; align-items: center; gap: 12px;
  background: var(--bg); border: 1.5px solid var(--border);
  border-radius: 50px; padding: 10px 20px;
  max-width: 520px; margin: 0 auto 20px;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-box:focus-within {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45,90,76,0.1);
}
.search-box svg { color: var(--mid); flex-shrink: 0; }
.search-box input {
  border: none; background: none; font-family: inherit;
  font-size: 15px; color: var(--charcoal); flex: 1; outline: none;
}
.search-box input::placeholder { color: var(--light); }
.search-clear {
  background: none; border: none; cursor: pointer;
  color: var(--mid); font-size: 14px; display: none; padding: 2px 4px;
  border-radius: 50%; transition: background var(--transition);
}
.search-clear:hover { background: var(--border); }

.filter-row {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}
.filter-btn {
  padding: 7px 18px; border-radius: 100px;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--mid); font-family: inherit; font-size: 13px;
  cursor: pointer; transition: all var(--transition);
  white-space: nowrap;
}
.filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.filter-btn.active {
  background: var(--primary); border-color: var(--primary);
  color: var(--white); font-weight: 500;
}

.search-result-info {
  text-align: center; margin-top: 14px;
  font-size: 13px; color: var(--mid);
}
#no-results {
  display: none; text-align: center; padding: 48px 24px;
  color: var(--mid); font-size: 15px;
}

/* ─── SECTION BASE ─── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-tag {
  display: inline-block; font-size: 10px; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--primary);
  margin-bottom: 12px; font-weight: 500;
}
.section-title {
  font-size: clamp(22px, 3.5vw, 34px);
  font-weight: 300; line-height: 1.55; margin-bottom: 14px;
}
.section-title em { font-style: normal; color: var(--primary); }
.section-desc { font-size: 15px; color: var(--mid); line-height: 2; max-width: 580px; margin: 0 auto; }

/* ─── MESSAGE SECTION ─── */
.message-sec { background: var(--white); }
.profile-row {
  display: flex; align-items: center; gap: 20px; margin-bottom: 36px;
}
.profile-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--border); flex-shrink: 0;
}
.profile-name  { font-size: 18px; font-weight: 500; letter-spacing: 0.04em; }
.profile-role  { font-size: 12px; color: var(--sage); letter-spacing: 0.12em; margin-top: 2px; }
.message-body  { font-size: 15px; color: var(--mid); line-height: 2.2; }
.message-body p + p { margin-top: 18px; }
.message-body strong { color: var(--charcoal); font-weight: 500; }
.message-quote {
  background: var(--sage-lt); border-left: 3px solid var(--sage);
  border-radius: 0 8px 8px 0; padding: 18px 22px; margin-top: 28px;
  font-size: 15px; color: var(--charcoal); line-height: 2;
}

/* ─── PHILOSOPHY ─── */
.philosophy-sec { background: var(--bg); }
.concept-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 40px;
}
@media (max-width: 560px) { .concept-grid { grid-template-columns: 1fr; } }
.concept-card {
  background: var(--white); border-radius: 16px;
  padding: 28px 22px; text-align: center; border-top: 4px solid;
}
.concept-card.sabori  { border-color: #7AAFD4; }
.concept-card.ganbari { border-color: #E07A7A; }
.concept-icon  { font-size: 40px; display: block; margin-bottom: 14px; }
.concept-title { font-size: 19px; font-weight: 500; margin-bottom: 8px; }
.concept-text  { font-size: 13.5px; color: var(--mid); line-height: 2; }
.key-msgs { margin-top: 36px; display: flex; flex-direction: column; gap: 12px; }
.key-msg {
  background: var(--white); border-radius: 10px;
  padding: 16px 20px; font-size: 13.5px; color: var(--mid);
  line-height: 1.9; border-left: 3px solid var(--sage);
}
.key-msg strong { color: var(--charcoal); font-weight: 500; }

/* ─── BEFORE START ─── */
.before-sec { background: var(--cream); padding-top: 72px; padding-bottom: 72px; }
.before-block {
  position: relative; margin-top: 40px;
  background: var(--white); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
}
.before-num {
  font-family: 'Outfit', sans-serif;
  font-size: 52px; font-weight: 700;
  color: var(--primary-lt); line-height: 1; margin-bottom: 6px;
}
.before-title {
  font-size: 18px; font-weight: 500; margin-bottom: 12px; color: var(--charcoal);
}
.before-text {
  font-size: 14px; color: var(--mid); line-height: 2; margin-bottom: 20px;
}
.before-text strong { color: var(--charcoal); font-weight: 500; }
.posture-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 0 0 14px;
}
@media (max-width: 560px) { .posture-grid { grid-template-columns: 1fr; } }
.posture-card {
  border-radius: 14px; padding: 22px 18px; border-top: 4px solid;
}
.posture-card.posture-maru { border-color: var(--back-c); background: var(--back-lt); }
.posture-card.posture-sori { border-color: var(--knee-c); background: var(--knee-lt); }
.posture-icon { font-size: 26px; display: block; margin-bottom: 6px; }
.posture-name { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.posture-eg   { font-size: 12px; color: var(--mid); margin-bottom: 12px; line-height: 1.7; }
.posture-detail {
  display: flex; flex-direction: column; gap: 2px;
  background: rgba(255,255,255,0.65); border-radius: 8px;
  padding: 10px 12px; margin-bottom: 10px;
}
.pd-label { font-size: 10px; letter-spacing: 0.1em; color: var(--mid); }
.pd-val   { font-size: 13px; font-weight: 500; color: var(--charcoal); }
.posture-rec {
  font-size: 12.5px; color: var(--primary);
  padding-top: 8px; border-top: 1px solid var(--border);
}
.posture-note {
  font-size: 12.5px; color: var(--mid); line-height: 1.8;
  padding: 10px 14px; background: var(--cream); border-radius: 8px;
}
.recovery-visual {
  background: var(--sage-lt); border-radius: 12px;
  padding: 20px 24px; margin: 20px 0 0; text-align: center;
}
.rv-row { display: flex; align-items: center; justify-content: center; gap: 8px; }
.rv-label-good { font-size: 13px; font-weight: 600; color: var(--primary); }
.rv-label-bad  { font-size: 13px; font-weight: 600; color: #c0392b; }
.rv-arrow { font-size: 18px; color: var(--primary); }
.rv-chart {
  font-family: 'Outfit', monospace; font-size: 15px;
  color: var(--primary); font-weight: 600; padding: 8px 0; letter-spacing: 0.05em;
}
.rv-timeline { font-size: 12px; color: var(--mid); }
.rv-caption  { font-size: 12.5px; color: var(--mid); margin-top: 6px; }

/* ─── WARNING ─── */
.warning-sec { background: var(--white); padding: 36px 0; }
.warning-box {
  background: #FFFBEC; border: 2px solid #F0C740;
  border-radius: 12px; padding: 22px 26px;
}
.warning-title { font-size: 15px; font-weight: 500; color: #9A7600; margin-bottom: 12px; }
.warning-list  { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.warning-list li {
  font-size: 13px; color: #7A6100;
  padding-left: 22px; position: relative; line-height: 1.7;
}
.warning-list li::before { content: '⚠'; position: absolute; left: 0; }

/* ─── STICKY CAT NAV ─── */
.cat-nav {
  position: sticky; top: 64px; z-index: 99;
  background: rgba(249,248,246,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.cat-nav::-webkit-scrollbar { display: none; }
.cat-nav-inner {
  display: flex; justify-content: center; white-space: nowrap;
  padding: 0 12px; min-width: min-content;
}
.cat-link {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 14px 14px; font-size: 13px; color: var(--mid);
  text-decoration: none; border-bottom: 3px solid transparent;
  transition: all var(--transition); white-space: nowrap; font-weight: 400;
}
.cat-link:hover { color: var(--charcoal); }
.cat-link.active { color: var(--charcoal); font-weight: 500; }
.cat-link[data-id="back"].active     { border-color: var(--back-c); }
.cat-link[data-id="shoulder"].active { border-color: var(--shoulder-c); }
.cat-link[data-id="hand"].active     { border-color: var(--hand-c); }
.cat-link[data-id="knee"].active     { border-color: var(--knee-c); }
.cat-link[data-id="foot"].active     { border-color: var(--foot-c); }
.cat-link[data-id="knowledge"].active { border-color: var(--primary); }

/* ─── EXERCISE SECTIONS ─── */
.ex-sec { padding: 64px 0; border-bottom: 1px solid var(--border); }
.ex-sec-header {
  display: flex; align-items: center; gap: 16px;
  margin-bottom: 12px; flex-wrap: wrap;
}
.cat-pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 16px; border-radius: 100px;
  font-size: 13px; font-weight: 500; border: 1.5px solid;
}
.cat-pill.back     { background: var(--back-lt);     color: var(--back-c);     border-color: var(--back-c); }
.cat-pill.shoulder { background: var(--shoulder-lt); color: var(--shoulder-c); border-color: var(--shoulder-c); }
.cat-pill.hand     { background: var(--hand-lt);     color: var(--hand-c);     border-color: var(--hand-c); }
.cat-pill.knee     { background: var(--knee-lt);     color: var(--knee-c);     border-color: var(--knee-c); }
.cat-pill.foot     { background: var(--foot-lt);     color: var(--foot-c);     border-color: var(--foot-c); }
.ex-sec-title { font-size: clamp(22px, 3.5vw, 32px); font-weight: 300; }
.ex-sec-sub   { font-size: 14px; color: var(--mid); line-height: 1.9; margin-bottom: 40px; }

/* ─── EXERCISE CARDS ─── */
.ex-cards { display: flex; flex-direction: column; gap: 24px; }

.ex-card {
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}
.ex-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow2);
}
.ex-card.hidden { display: none !important; }

.ex-card-body { padding: 24px 26px 18px; }
.ex-name {
  font-size: 22px; font-weight: 500; letter-spacing: 0.04em; margin-bottom: 4px;
}
.ex-name-sub { font-size: 12px; color: var(--light); font-weight: 300; margin-left: 8px; }
.ex-tags {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 10px; margin-bottom: 14px;
}
.ex-tag {
  font-size: 11px; font-weight: 400;
  padding: 4px 12px; border-radius: 100px;
}
.ex-tag.back     { background: var(--back-lt);     color: var(--back-c); }
.ex-tag.shoulder { background: var(--shoulder-lt); color: var(--shoulder-c); }
.ex-tag.hand     { background: var(--hand-lt);     color: var(--hand-c); }
.ex-tag.knee     { background: var(--knee-lt);     color: var(--knee-c); }
.ex-tag.foot     { background: var(--foot-lt);     color: var(--foot-c); }
.ex-desc { font-size: 13.5px; color: var(--mid); line-height: 1.95; }

/* ─── IMAGE SLIDER ─── */
.img-slider { position: relative; background: #F2F0EC; }
.img-track {
  display: flex; overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x mandatory;
  scrollbar-width: none; gap: 3px;
}
.img-track::-webkit-scrollbar { display: none; }
.img-track img {
  flex-shrink: 0; width: min(88vw, 480px); height: auto;
  scroll-snap-align: start; display: block;
  object-fit: contain; background: #f0ede8;
}
.img-track.single img { width: 100%; }
.img-count {
  position: absolute; bottom: 10px; right: 12px;
  background: rgba(0,0,0,0.35); color: white;
  font-size: 10px; padding: 3px 10px; border-radius: 100px;
  letter-spacing: 0.05em; pointer-events: none;
}
.swipe-hint {
  text-align: center; font-size: 11px; color: var(--light);
  padding: 6px 0 10px; letter-spacing: 0.12em;
}

/* ─── KNOWLEDGE SECTION ─── */
.knowledge-sec { background: var(--white); }
.k-count-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--sage-lt); color: var(--sage);
  font-size: 13px; font-weight: 500;
  padding: 8px 20px; border-radius: 100px; margin-bottom: 36px;
}
.k-accordion { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.k-item {
  border: 1.5px solid var(--border); border-radius: 12px;
  overflow: hidden; background: var(--cream);
  transition: border-color var(--transition);
}
.k-item:hover { border-color: rgba(45,90,76,0.3); }
.k-item summary {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; font-size: 15px; font-weight: 400;
  cursor: pointer; list-style: none; user-select: none; gap: 12px;
}
.k-item summary::-webkit-details-marker { display: none; }
.k-item summary::after {
  content: '+'; font-size: 20px; color: var(--primary);
  flex-shrink: 0; transition: transform var(--transition);
}
.k-item[open] summary::after { transform: rotate(45deg); }
.k-item[open] { background: var(--white); border-color: var(--primary); }
.k-item summary .k-icon  { font-size: 20px; flex-shrink: 0; }
.k-item summary .k-label { flex: 1; }
.k-item summary .k-no {
  font-size: 11px; color: var(--light); font-weight: 300;
  flex-shrink: 0; white-space: nowrap;
}
.k-body { padding: 0 22px 22px; border-top: 1px solid var(--border); }
.k-points { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.k-point {
  font-size: 14px; color: var(--mid); line-height: 1.85;
  padding-left: 20px; position: relative;
}
.k-point::before {
  content: '▶'; position: absolute; left: 0;
  color: var(--primary); font-size: 10px; top: 4px;
}
.k-point strong { color: var(--charcoal); font-weight: 500; }
.k-quote {
  margin-top: 14px; background: var(--sage-lt);
  border-left: 3px solid var(--sage);
  border-radius: 0 8px 8px 0; padding: 12px 16px;
  font-size: 13px; color: var(--charcoal); line-height: 1.9; font-style: italic;
}
.k-posts-tag {
  display: inline-block; margin-top: 14px;
  font-size: 11px; color: var(--light); letter-spacing: 0.08em;
}

/* ─── ABOUT ─── */
.about-sec { background: var(--bg); }
.about-card {
  background: var(--white); border-radius: 20px;
  padding: 40px 36px; margin-top: 36px;
  display: flex; gap: 32px; align-items: flex-start;
  box-shadow: var(--shadow);
}
@media (max-width: 560px) {
  .about-card { flex-direction: column; align-items: center; text-align: center; padding: 28px 22px; }
}
.about-avatar {
  width: 100px; height: 100px; border-radius: 50%;
  object-fit: cover; flex-shrink: 0; border: 3px solid var(--border);
}
.about-name { font-size: 22px; font-weight: 500; margin-bottom: 2px; }
.about-role { font-size: 12px; color: var(--sage); letter-spacing: 0.14em; margin-bottom: 16px; font-weight: 400; }
.about-bio  { font-size: 14px; color: var(--mid); line-height: 2.1; }
.about-bio p + p { margin-top: 12px; }
.about-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.about-tag {
  background: var(--sage-lt); color: var(--sage);
  font-size: 11px; padding: 4px 12px;
  border-radius: 100px; font-weight: 400;
}

/* ─── FOOTER ─── */
footer {
  background: var(--charcoal); color: rgba(255,255,255,0.5);
  text-align: center; padding: 56px 24px;
}
.footer-logo {
  font-size: 22px; font-weight: 700; color: white;
  letter-spacing: 0.1em; margin-bottom: 10px;
}
.footer-logo em { font-style: normal; color: var(--sage); }
.footer-note { font-size: 12px; line-height: 1.9; max-width: 500px; margin: 0 auto; }
.footer-copy { font-size: 12px; letter-spacing: 0.1em; margin-top: 20px; }

/* ─── ANIMATIONS ─── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.active { opacity: 1; transform: none; }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }

/* ─── RESPONSIVE ─── */
@media (max-width: 480px) {
  .hero-title   { font-size: 28px; }
  .hero-cat     { font-size: 12px; padding: 8px 14px; }
  .ex-card-body { padding: 20px 18px 14px; }
  .ex-name      { font-size: 19px; }
  #search-section { padding: 28px 0; }
}
