/* —— Beesoft site: honey × forest —— */
:root {
  color-scheme: light dark;

  --font-display: "Noto Serif SC", "Songti SC", serif;
  --font-brand: "Syne", "Noto Sans SC", sans-serif;
  --font-body: "Noto Sans SC", "PingFang SC", sans-serif;

  --honey: #c48a1a;
  --honey-bright: #e0a82a;
  --forest: #1e3a2f;
  --mist: #eef2ef;
  --ink: #141a16;
  --stone: #5c6b62;

  --bg: #eef2ef;
  --bg-elevated: #f7faf7;
  --text: #141a16;
  --text-soft: #4a5a50;
  --line: color-mix(in srgb, var(--forest) 14%, transparent);
  --accent: var(--honey);
  --accent-text: #7a5208;
  --hero-veil: linear-gradient(
    105deg,
    rgba(18, 28, 22, 0.78) 0%,
    rgba(18, 28, 22, 0.45) 48%,
    rgba(18, 28, 22, 0.25) 100%
  );
  --nav-bg: color-mix(in srgb, var(--bg) 82%, transparent);
  --shadow-soft: 0 18px 50px rgba(20, 40, 30, 0.08);
  --radius: 2px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.4, 0.64, 1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121714;
    --bg-elevated: #1a211c;
    --text: #e8efe9;
    --text-soft: #9aada0;
    --line: color-mix(in srgb, #dce8df 12%, transparent);
    --accent: var(--honey-bright);
    --accent-text: #f0c45a;
    --hero-veil: linear-gradient(
      105deg,
      rgba(8, 12, 10, 0.88) 0%,
      rgba(8, 12, 10, 0.55) 50%,
      rgba(8, 12, 10, 0.35) 100%
    );
    --nav-bg: color-mix(in srgb, var(--bg) 78%, transparent);
    --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
  }
}

:root[data-theme="dark"] {
  --bg: #121714;
  --bg-elevated: #1a211c;
  --text: #e8efe9;
  --text-soft: #9aada0;
  --line: color-mix(in srgb, #dce8df 12%, transparent);
  --accent: var(--honey-bright);
  --accent-text: #f0c45a;
  --hero-veil: linear-gradient(
    105deg,
    rgba(8, 12, 10, 0.88) 0%,
    rgba(8, 12, 10, 0.55) 50%,
    rgba(8, 12, 10, 0.35) 100%
  );
  --nav-bg: color-mix(in srgb, var(--bg) 78%, transparent);
  --shadow-soft: 0 18px 50px rgba(0, 0, 0, 0.35);
}

:root[data-theme="light"] {
  --bg: #eef2ef;
  --bg-elevated: #f7faf7;
  --text: #141a16;
  --text-soft: #4a5a50;
  --line: color-mix(in srgb, var(--forest) 14%, transparent);
  --accent: var(--honey);
  --accent-text: #7a5208;
  --hero-veil: linear-gradient(
    105deg,
    rgba(18, 28, 22, 0.78) 0%,
    rgba(18, 28, 22, 0.45) 48%,
    rgba(18, 28, 22, 0.25) 100%
  );
  --nav-bg: color-mix(in srgb, var(--bg) 82%, transparent);
  --shadow-soft: 0 18px 50px rgba(20, 40, 30, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 10% -10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 60%),
    radial-gradient(900px 500px at 100% 20%, color-mix(in srgb, var(--forest) 8%, transparent), transparent 55%);
  transition: background-color 0.45s var(--ease-out), color 0.45s var(--ease-out);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

address {
  font-style: normal;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 80;
  opacity: 0.035;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .noise {
    mix-blend-mode: soft-light;
    opacity: 0.06;
  }
}

:root[data-theme="dark"] .noise {
  mix-blend-mode: soft-light;
  opacity: 0.06;
}

.honey-cursor {
  position: fixed;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 1px solid color-mix(in srgb, var(--accent) 70%, transparent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  pointer-events: none;
  z-index: 90;
  opacity: 0;
  transform: scale(0.4);
  transition: opacity 0.3s, transform 0.35s var(--ease-spring);
}

.honey-cursor.is-on {
  opacity: 0.85;
  transform: scale(1);
}

@media (pointer: coarse) {
  .honey-cursor {
    display: none;
  }
}

/* —— Nav —— */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 2.5rem);
  backdrop-filter: blur(14px);
  background: transparent;
  transition: background 0.35s, border-color 0.35s, padding 0.35s;
  border-bottom: 1px solid transparent;
}

.nav.is-scrolled {
  background: var(--nav-bg);
  border-bottom-color: var(--line);
  padding-block: 0.7rem;
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-brand);
  font-weight: 700;
  letter-spacing: 0.02em;
  justify-self: start;
}

.nav__mark {
  color: var(--accent);
  animation: mark-breathe 4s ease-in-out infinite;
}

@keyframes mark-breathe {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.06) rotate(4deg); }
}

.nav__links {
  display: none;
  gap: 1.75rem;
  font-size: 0.92rem;
  color: var(--text-soft);
}

.nav__links a {
  position: relative;
}

.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease-out);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-self: end;
}

.nav__cta {
  display: none;
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: #1a1408;
  font-size: 0.88rem;
  font-weight: 600;
  transition: transform 0.25s var(--ease-spring), filter 0.25s;
}

.nav__cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.theme-toggle {
  width: 40px;
  height: 40px;
  position: relative;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: border-color 0.3s, background 0.3s;
}

.theme-toggle:hover {
  border-color: var(--accent);
}

.theme-toggle__sun,
.theme-toggle__moon {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  transition: transform 0.45s var(--ease-spring), opacity 0.35s;
}

.theme-toggle__sun {
  background: var(--accent);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 25%, transparent);
}

.theme-toggle__moon {
  background: transparent;
  box-shadow: inset -4px -1px 0 0 var(--text);
  transform: scale(0) rotate(-90deg);
  opacity: 0;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle__sun {
    transform: scale(0) rotate(90deg);
    opacity: 0;
  }
  :root:not([data-theme="light"]) .theme-toggle__moon {
    transform: scale(1) rotate(0);
    opacity: 1;
  }
}

:root[data-theme="dark"] .theme-toggle__sun {
  transform: scale(0) rotate(90deg);
  opacity: 0;
}

:root[data-theme="dark"] .theme-toggle__moon {
  transform: scale(1) rotate(0);
  opacity: 1;
}

:root[data-theme="light"] .theme-toggle__sun {
  transform: scale(1) rotate(0);
  opacity: 1;
}

:root[data-theme="light"] .theme-toggle__moon {
  transform: scale(0) rotate(-90deg);
  opacity: 0;
}

.nav__burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-content: center;
  gap: 6px;
}

.nav__burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.3s;
}

.nav__burger[aria-expanded="true"] span:first-child {
  transform: translateY(3.75px) rotate(40deg);
}

.nav__burger[aria-expanded="true"] span:last-child {
  transform: translateY(-3.75px) rotate(-40deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-content: center;
  gap: 1.5rem;
  background: color-mix(in srgb, var(--bg) 94%, transparent);
  backdrop-filter: blur(16px);
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  text-align: center;
}

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu a {
  opacity: 0;
  transform: translateY(16px);
  animation: menu-in 0.45s var(--ease-out) forwards;
}

.mobile-menu a:nth-child(1) { animation-delay: 0.05s; }
.mobile-menu a:nth-child(2) { animation-delay: 0.12s; }
.mobile-menu a:nth-child(3) { animation-delay: 0.19s; }
.mobile-menu a:nth-child(4) { animation-delay: 0.26s; }

@keyframes menu-in {
  to { opacity: 1; transform: none; }
}

@media (min-width: 900px) {
  .nav__links,
  .nav__cta {
    display: flex;
  }
  .nav__burger {
    display: none;
  }
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: clamp(5rem, 12vh, 8rem) clamp(1.25rem, 5vw, 4rem) clamp(3rem, 8vh, 5rem);
  color: #f4f7f4;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  will-change: transform;
  animation: hero- ken 22s ease-in-out infinite alternate;
}

@keyframes hero-ken {
  from { transform: scale(1.08) translate(0, 0); }
  to { transform: scale(1.14) translate(-1.5%, -1%); }
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: var(--hero-veil);
}

.hero__cells {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.35;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 42rem;
}

.hero__brand {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.hero__brand-en {
  font-family: var(--font-brand);
  font-size: clamp(0.75rem, 1.5vw, 0.85rem);
  letter-spacing: 0.35em;
  color: var(--honey-bright);
  font-weight: 700;
}

.hero__brand-zh {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 10vw, 6.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

.hero__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 500;
  line-height: 1.35;
  max-width: 16em;
}

.hero__lead {
  margin: 0 0 1.75rem;
  color: color-mix(in srgb, #fff 78%, transparent);
  max-width: 28em;
  font-size: 1.02rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0 1.35rem;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.3s var(--ease-spring), background 0.3s, color 0.3s, border-color 0.3s;
}

.btn--solid {
  background: var(--honey-bright);
  color: #1a1408;
}

.btn--solid:hover {
  transform: translateY(-3px);
}

.btn--ghost {
  border: 1px solid color-mix(in srgb, #fff 45%, transparent);
  color: #fff;
}

.btn--ghost:hover {
  border-color: #fff;
  background: color-mix(in srgb, #fff 10%, transparent);
  transform: translateY(-3px);
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: clamp(1.25rem, 5vw, 3rem);
  bottom: 2rem;
  width: 28px;
  height: 44px;
  border: 1px solid color-mix(in srgb, #fff 40%, transparent);
  border-radius: 14px;
  display: grid;
  justify-items: center;
  padding-top: 8px;
}

.hero__scroll span {
  width: 4px;
  height: 8px;
  border-radius: 2px;
  background: var(--honey-bright);
  animation: scroll-dot 1.6s var(--ease-out) infinite;
}

@keyframes scroll-dot {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* Bee flight */
.bee-path {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18%;
  width: 100%;
  height: 160px;
  z-index: 2;
  pointer-events: none;
  opacity: 0;
}

.bee-path path {
  stroke: color-mix(in srgb, var(--honey-bright) 35%, transparent);
  stroke-width: 1;
  stroke-dasharray: 6 10;
}

.bee {
  position: absolute;
  z-index: 3;
  left: 0;
  top: 55%;
  width: 100%;
  height: 0;
  offset-path: path("M-40,40 C180,-40 320,100 520,10 S880,-60 1240,30");
  offset-rotate: auto;
  animation: bee-fly 14s linear infinite;
  filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.35));
  pointer-events: none;
}

@supports not (offset-path: path("M0,0 L1,1")) {
  .bee {
    animation: bee-fallback 14s linear infinite;
  }
}

@keyframes bee-fallback {
  0% { transform: translate(-10%, 0); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(45vw, -24px); }
  90% { opacity: 1; }
  100% { transform: translate(105vw, 12px); opacity: 0; }
}

@keyframes bee-fly {
  0% { offset-distance: 0%; opacity: 0; }
  8% { opacity: 1; }
  92% { opacity: 1; }
  100% { offset-distance: 100%; opacity: 0; }
}

.bee__body { fill: var(--honey-bright); }
.bee__stripe { fill: #1a1408; }
.bee__head { fill: #2a2210; }
.bee__wing {
  fill: color-mix(in srgb, #fff 55%, transparent);
  transform-origin: center;
  animation: wing 0.14s ease-in-out infinite alternate;
}
.bee__wing--r { animation-delay: 0.07s; }

@keyframes wing {
  from { transform: scaleY(1) rotate(-6deg); }
  to { transform: scaleY(0.55) rotate(8deg); }
}

@media (prefers-reduced-motion: reduce) {
  .bee,
  .hero__media img,
  .nav__mark,
  .bee__wing,
  .hero__scroll span {
    animation: none !important;
  }
}

/* —— Sections —— */
.section {
  padding: clamp(4.5rem, 10vh, 7.5rem) clamp(1.25rem, 5vw, 4rem);
  max-width: 1200px;
  margin: 0 auto;
}

.section__head {
  max-width: 38rem;
  margin-bottom: clamp(2.5rem, 6vw, 3.5rem);
}

.eyebrow {
  margin: 0 0 0.65rem;
  font-family: var(--font-brand);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-weight: 700;
}

.section__head h2,
.contact__intro h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.section__desc {
  margin: 0;
  color: var(--text-soft);
  font-size: 1.05rem;
}

/* About */
.about__stage {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (min-width: 880px) {
  .about__stage {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.about__visual {
  margin: 0;
  position: relative;
}

.about__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  clip-path: polygon(8% 0, 100% 0, 100% 92%, 92% 100%, 0 100%, 0 8%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s var(--ease-out);
}

.about__years {
  position: absolute;
  left: -0.5rem;
  bottom: 1.25rem;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  padding: 1rem 1.25rem;
  min-width: 7.5rem;
  animation: float-y 5s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.about__years span {
  display: block;
  font-family: var(--font-brand);
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-text);
  line-height: 1;
}

.about__years small {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.about__copy p {
  margin: 0 0 1rem;
  color: var(--text-soft);
}

.about__chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1.5rem 0;
}

.about__chips li {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--text-soft);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}

.about__chips li:hover {
  border-color: var(--accent);
  color: var(--accent-text);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--accent-text);
}

.text-link span {
  transition: transform 0.3s var(--ease-spring);
}

.text-link:hover span {
  transform: translateX(5px);
}

/* Platforms */
.platforms {
  max-width: none;
  padding-inline: 0;
}

.platforms .section__head {
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  margin-inline: auto;
  max-width: calc(1200px - 0px);
  width: min(1200px, 100%);
  box-sizing: border-box;
}

.platform-rail {
  display: grid;
  gap: 1px;
  background: var(--line);
  border-block: 1px solid var(--line);
}

@media (min-width: 800px) {
  .platform-rail {
    grid-template-columns: repeat(3, 1fr);
  }
}

.platform {
  background: var(--bg);
  padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 4vw, 2.75rem);
  transition: background 0.4s;
  position: relative;
  overflow: hidden;
}

.platform::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease-out);
}

.platform:hover {
  background: var(--bg-elevated);
}

.platform:hover::before {
  transform: scaleX(1);
}

.platform__icon {
  width: 48px;
  height: 48px;
  color: var(--accent-text);
  margin-bottom: 1.25rem;
  transition: transform 0.45s var(--ease-spring);
}

.platform:hover .platform__icon {
  transform: translateY(-4px) rotate(-4deg);
}

.platform h3 {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.platform p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

/* Products honeycomb */
.honeycomb {
  display: grid;
  gap: 1.25rem;
  perspective: 1200px;
}

@media (min-width: 900px) {
  .honeycomb {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  .cell--cemetery {
    transform: translateY(2.5rem);
  }
}

.cell {
  position: relative;
  display: grid;
  grid-template-rows: 220px auto;
  color: inherit;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-elevated);
  border: 1px solid var(--line);
  transition: transform 0.5s var(--ease-out), border-color 0.35s, box-shadow 0.45s;
}

.cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out), filter 0.5s;
  filter: saturate(0.92);
}

.cell__body {
  padding: 1.35rem 1.35rem 1.5rem;
  display: grid;
  gap: 0.55rem;
}

.cell h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.cell p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.cell__go {
  margin-top: 0.35rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--accent-text);
  opacity: 0.75;
  transition: opacity 0.3s, letter-spacing 0.3s;
}

.cell:hover {
  border-color: color-mix(in srgb, var(--accent) 55%, var(--line));
  box-shadow: var(--shadow-soft);
  transform: translateY(-6px);
}

.cell--cemetery:hover {
  transform: translateY(calc(2.5rem - 6px));
}

@media (max-width: 899px) {
  .cell--cemetery:hover {
    transform: translateY(-6px);
  }
}

.cell:hover img {
  transform: scale(1.06);
  filter: saturate(1.05);
}

.cell:hover .cell__go {
  opacity: 1;
  letter-spacing: 0.06em;
}

.cell::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border: 1px solid color-mix(in srgb, #fff 50%, transparent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  z-index: 2;
  opacity: 0;
  transform: scale(0.6) rotate(-20deg);
  transition: opacity 0.35s, transform 0.45s var(--ease-spring);
  background: color-mix(in srgb, var(--accent) 55%, transparent);
}

.cell:hover::after {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* Timeline */
.timeline {
  max-width: none;
  padding-block: 2.5rem;
  border-block: 1px solid var(--line);
  background:
    linear-gradient(
      90deg,
      color-mix(in srgb, var(--accent) 8%, transparent),
      transparent 30%,
      transparent 70%,
      color-mix(in srgb, var(--accent) 8%, transparent)
    );
}

.timeline__track {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(1.25rem, 5vw, 4rem);
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .timeline__track {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

.timeline__item {
  display: grid;
  gap: 0.25rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent);
}

.timeline__item strong {
  font-family: var(--font-brand);
  font-size: 1.1rem;
}

.timeline__item span {
  color: var(--text-soft);
  font-size: 0.92rem;
}

/* Contact */
.contact {
  padding-bottom: clamp(3rem, 8vh, 5rem);
}

.contact__panel {
  display: grid;
  gap: 2rem;
  padding: clamp(2rem, 5vw, 3.25rem);
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 10%, var(--bg-elevated)), var(--bg-elevated));
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}

.contact__panel::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  right: -40px;
  top: -40px;
  background: color-mix(in srgb, var(--accent) 18%, transparent);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: hex-spin 18s linear infinite;
  opacity: 0.55;
}

@keyframes hex-spin {
  to { transform: rotate(360deg); }
}

@media (min-width: 800px) {
  .contact__panel {
    grid-template-columns: 1.2fr 1fr;
    align-items: end;
  }
}

.contact__intro p:last-child {
  color: var(--text-soft);
  margin: 0;
}

.contact__info {
  display: grid;
  gap: 1.1rem;
  position: relative;
  z-index: 1;
}

.contact__info p {
  margin: 0;
  display: grid;
  gap: 0.2rem;
}

.contact__info .label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-text);
  font-family: var(--font-brand);
  font-weight: 700;
}

.contact__info a:hover {
  color: var(--accent-text);
}

.sep {
  opacity: 0.45;
  margin: 0 0.35rem;
}

/* Footer */
.footer {
  padding: 1.5rem clamp(1.25rem, 5vw, 4rem) 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.88rem;
}

.footer__row {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
}

.footer a:hover {
  color: var(--accent-text);
}

/* Reveal */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .about__years,
  .contact__panel::before {
    animation: none;
  }
}
