/* ============================================================
   ABOUT — Warm atelier: parchment, ink-brown, timeline
   ============================================================ */

body[data-theme="warm"] {
  background: #faf7f0;
  color: #3c3228;
}

/* ---------- Hero: split editorial ---------- */
.ab-hero {
  padding: 10rem 0 5rem;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.ab-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -30%;
  width: 640px; height: 640px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(224,181,106,.28), transparent 62%);
  pointer-events: none;
}
.ab-hero .eyebrow { color: #a4762c; }
.ab-hero h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); color: #1c1b19; margin: .9rem 0 1.2rem; }
.ab-hero p { color: #6b5c4b; max-width: 32rem; }
.ab-hero .sig {
  margin-top: 2.2rem;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.2rem;
  color: #a4762c;
}
.ab-hero .sig small { display: block; font-family: var(--font-body); font-style: normal; color: #8a7a66; font-size: .82rem; margin-top: .3rem; }

/* rotating medallion */
.ab-medallion {
  position: relative;
  width: 340px; height: 340px;
  margin: 0 auto;
}
.ab-medallion svg.medal {
  width: 100%; height: 100%;
  animation: medalSpin 40s linear infinite;
}
@keyframes medalSpin { to { transform: rotate(360deg); } }
.ab-medallion .core-gem {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  font-size: 4.2rem;
  filter: drop-shadow(0 10px 24px rgba(90,70,50,.35));
  animation: gemBob 4s ease-in-out infinite;
}
@keyframes gemBob {
  0%, 100% { transform: translate(-50%, -54%); }
  50% { transform: translate(-50%, -46%); }
}

/* ---------- Story + timeline ---------- */
.ab-story { padding: 5rem 0; }
.ab-story-head { max-width: 46rem; margin: 0 auto 3.5rem; text-align: center; }
.ab-story-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); color: #1c1b19; margin-top: .7rem; }
.ab-story-head p { color: #6b5c4b; margin-top: .8rem; }

.timeline { position: relative; max-width: 720px; margin: 0 auto; padding-left: 2.4rem; }
.timeline::before {
  content: "";
  position: absolute;
  left: 9px; top: 6px; bottom: 6px;
  width: 2px;
  background: repeating-linear-gradient(to bottom, #d8c39a 0 8px, transparent 8px 16px);
}
.tl-item { position: relative; padding-bottom: 2.6rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: "";
  position: absolute;
  left: -2.4rem; top: 6px;
  width: 20px; height: 20px;
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  background: linear-gradient(135deg, #e0b56a, #a4762c);
  box-shadow: 0 0 0 5px rgba(224,181,106,.25);
}
.tl-item .year {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #a4762c;
}
.tl-item h4 { font-size: 1.12rem; color: #1c1b19; margin: .3rem 0 .4rem; }
.tl-item p { color: #6b5c4b; font-size: .95rem; max-width: 34rem; }

/* ---------- Values: stitched cards ---------- */
.ab-values {
  padding: 5rem 0;
  color: #d9cfc1;
  position: relative;
  background:
    linear-gradient(180deg, rgba(43,33,26,.9), rgba(43,33,26,.94)),
    url("../img/workshop.jpg") center / cover no-repeat fixed;
}
.ab-values .eyebrow { color: #e0b56a; }
.ab-values h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.5rem); margin: .7rem 0 3rem; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: rgba(255,255,255,.04);
  border: 1px dashed rgba(224,181,106,.35);
  border-radius: 16px;
  padding: 2.2rem 1.8rem;
  transition: transform .3s, border-color .3s, background .3s;
}
.value-card:hover { transform: translateY(-7px); border-style: solid; background: rgba(255,255,255,.06); }

@media (max-width: 900px) {
  .ab-values { background-attachment: scroll; }
}
.value-card .roman {
  font-family: var(--font-head);
  font-size: 1rem;
  color: #e0b56a;
  letter-spacing: .2em;
  margin-bottom: 1rem;
}
.value-card h4 { color: #fff; font-size: 1.15rem; margin-bottom: .55rem; }
.value-card p { color: #b3a58f; font-size: .92rem; }

/* ---------- Bench standards: ledger list ---------- */
.ab-standards { padding: 5rem 0; }
.ab-standards-head { text-align: center; max-width: 40rem; margin: 0 auto 3rem; }
.ab-standards-head h2 { color: #1c1b19; font-size: clamp(1.8rem, 3vw, 2.4rem); margin-top: .7rem; }
.ledger { max-width: 780px; margin: 0 auto; }
.ledger-row {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 1.6rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid rgba(60,50,40,.12);
  transition: padding-left .3s;
}
.ledger-row:hover { padding-left: .8rem; }
.ledger-row .no { font-family: var(--font-head); color: #c9a25f; font-size: 1.05rem; }
.ledger-row h4 { font-size: 1.08rem; color: #1c1b19; margin-bottom: .2rem; }
.ledger-row p { color: #6b5c4b; font-size: .9rem; }
.ledger-row .pct {
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 700;
  color: #a4762c;
  white-space: nowrap;
}
.ab-cta { text-align: center; padding: 1rem 0 6rem; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .ab-hero { grid-template-columns: 1fr; padding-top: 8rem; }
  .ab-medallion { width: 260px; height: 260px; }
  .values-grid { grid-template-columns: 1fr; }
  .ledger-row { grid-template-columns: 40px 1fr; }
  .ledger-row .pct { grid-column: 2; }
}
