/* ============================================================
   TAMARA HISTORY — COMPACT & REFINED
============================================================ */
.tamara-history {
  --black: #0b0b0b;
  --gray: #a6a6a6;
  --light: #dedede;
  width: 100%;
  background: #fff;
  color: var(--black);
  overflow: hidden;
  font-family: inherit;
  -webkit-font-smoothing: antialiased;
}
.tamara-history *,
.tamara-history *::before,
.tamara-history *::after {
  box-sizing: border-box;
}
.th-wrap {
  width: 100%;
  max-width: 1700px;
  margin: 0 auto;
  padding: 75px 5vw 55px;
}
/* HEADER */
.th-header {
  display: grid;
  grid-template-columns: 100px 1fr 180px;
  align-items: end;
  padding-bottom: 45px;
  border-bottom: 1px solid #dedede;
}
.th-header-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 9px;
  letter-spacing: .22em;
  color: #999;
  visibility: hidden;
}
.th-header-meta span:first-child {
  color: #111;
}
.th-title {
  text-align: center;
  line-height: .85;
}
.th-title-small {
  margin-bottom: 13px;
  font-size: 9px;
  letter-spacing: .38em;
  color: #888;
}
.th-title-main {
  font-family: inherit;
  font-size: clamp(52px, 6vw, 90px);
  font-weight: 300;
  letter-spacing: -.055em;
}
.th-header-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  font-size: 8px;
  line-height: 1.5;
  letter-spacing: .2em;
  color: #888;
}
/* STAGE */
.th-stage {
  position: relative;
  padding-top: 65px;
}
.th-current-year {
  height: 45px;
  text-align: center;
  display: none;
}
.th-current-year span {
  font-family: inherit;
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -.02em;
}
/* TRACK */
.th-track {
  position: relative;
  width: 100%;
  height: 1px;
  margin-top: 9px;
}
.th-track-line {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: #d8d8d8;
}
.th-track-progress {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 1px;
  background: #111;
  transition: width 1.15s cubic-bezier(.22,1,.36,1);
}
.th-track-runner {
  position: absolute;
  top: 50%;
  left: 0;
  width: 8px;
  height: 8px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #111;
  transition: left 1.15s cubic-bezier(.22,1,.36,1);
}
/* YEARS */
.th-years {
  position: relative;
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  width: 100%;
  margin-top: -22px;
}
.th-point {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #999;
  cursor: pointer;
  font: inherit;
}
.th-point-symbol {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
}
.th-point-symbol svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: #aaa;
  stroke-width: .8;
  transition: transform .6s cubic-bezier(.22,1,.36,1), stroke .4s ease;
}
.th-point-year {
  font-size: 10px;
  letter-spacing: .08em;
  transition: color .4s ease, transform .5s ease;
}
.th-point.active {
  color: #111;
}
.th-point.active .th-point-symbol svg {
  stroke: #111;
  transform: scale(1.18);
}
.th-point.active .th-point-year {
  color: #111;
  transform: translateY(3px);
}
/* STORY */
.th-story {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) 180px;
  gap: 40px;
  margin-top: 72px;
  min-height: 190px;
}
.th-story-left {
  position: relative;
  padding-top: 4px;
}
.th-story-index {
  display: flex;
  gap: 4px;
  font-size: 9px;
  letter-spacing: .18em;
}
.th-story-index span:last-child {
  color: #aaa;
}
.th-story-line {
  width: 35px;
  height: 1px;
  margin-top: 18px;
  background: #111;
}
.th-story-content {
  max-width: 680px;
}
.th-story-kicker {
  margin-bottom: 14px;
  font-size: 8px;
  letter-spacing: .28em;
  color: #999;
}
.th-story-content h2 {
  margin: 0 0 16px;
  font-family: inherit;
  font-size: clamp(30px, 3vw, 47px);
  font-weight: 300;
  letter-spacing: -.035em;
  line-height: 1;
}
.th-story-content p {
  margin: 0;
  max-width: 610px;
  font-size: 13px;
  line-height: 1.75;
  color: #4e4e4e;
}
.th-story-year {
  align-self: end;
  text-align: right;
}
.th-story-year span {
  font-family: inherit;
  font-size: clamp(55px, 6vw, 90px);
  font-weight: 300;
  line-height: .8;
  letter-spacing: -.07em;
  color: #111;
}
/* FOOTER */
.th-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid #dedede;
}
.th-footer-left {
  display: flex;
  flex-direction: column;
  font-size: 8px;
  line-height: 1.7;
  letter-spacing: .2em;
  color: #999;
}
.th-footer-center {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.th-scroll-label {
  font-size: 8px;
  letter-spacing: .2em;
  color: #aaa;
}
.th-scroll-arrow {
  font-size: 17px;
}
.th-footer-right {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
}
.th-nav {
  width: 43px;
  height: 43px;
  border: 1px solid #d7d7d7;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 15px;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}
.th-nav:hover {
  background: #111;
  color: #fff;
}
/* TABLET */
@media (max-width: 1000px) {
  .th-wrap { padding: 60px 30px 45px; }
  .th-header { grid-template-columns: 60px 1fr 120px; }
  .th-story { grid-template-columns: 65px minmax(0,1fr) 120px; gap: 25px; }
}
/* MOBILE */
@media (max-width: 700px) {
  .th-wrap { padding: 48px 20px 35px; }
  .th-header {
    display: grid;
    grid-template-columns: 1fr auto;
    padding-bottom: 32px;
  }
  .th-header-meta { align-self: start; }
  .th-title {
    grid-column: 1 / -1;
    grid-row: 2;
    margin-top: 32px;
    text-align: left;
  }
  .th-title-small { margin-bottom: 9px; }
  .th-title-main { font-size: clamp(48px, 16vw, 75px); }
  .th-stage { padding-top: 40px; }
  .th-current-year {
    height: 38px;
    text-align: left;
    padding-left: 1px;

  }
  .th-current-year span { font-size: 22px; }
  .th-years { margin-top: -25px; }
  .th-point { gap: 9px; }
  .th-point-symbol { width: 38px; height: 38px; }
  .th-point-symbol svg { width: 32px; height: 32px; }
  .th-point.active .th-point-symbol svg { transform: scale(1.15); }
  .th-point-year { font-size: 8px; letter-spacing: 0; }
  .th-story {
    grid-template-columns: 38px minmax(0,1fr);
    gap: 15px;
    margin-top: 55px;
    min-height: 0;
  }
  .th-story-left { padding-top: 3px; }
  .th-story-index {
    flex-direction: column;
    gap: 2px;
    font-size: 8px;
  }
  .th-story-line { width: 22px; margin-top: 14px; }
  .th-story-content { max-width: none; }
  .th-story-kicker { margin-bottom: 10px; font-size: 7px; }
  .th-story-content h2 { font-size: 31px; margin-bottom: 14px; }
  .th-story-content p { font-size: 12px; line-height: 1.7; }
  .th-story-year { display: none; }
  .th-footer {
    grid-template-columns: 1fr auto;
    margin-top: 40px;
  }
  .th-footer-center { display: none; }
}
/* VERY SMALL */
@media (max-width: 420px) {
  .th-point-symbol { width: 34px; height: 34px; }
  .th-point-symbol svg { width: 29px; height: 29px; }
  .th-point-year { font-size: 7px; }
  .th-story-content h2 { font-size: 27px; }
  .th-story-content p { font-size: 11px; }
}
/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  .tamara-history * { transition: none !important; }
}