/* --- Clentina · tokens --- */
:root {
  --bg-deep: #0c0b0a;
  --bg-panel: #161412;
  --bg-elevated: #1e1c19;
  --text: #ebe6df;
  --text-muted: rgba(235, 230, 223, 0.58);
  --accent: #c17f59;
  --accent-soft: rgba(193, 127, 89, 0.22);
  --accent-hover: #d4926c;
  --line: rgba(235, 230, 223, 0.08);
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --header-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal-img,
  .btn,
  .product-card,
  .tab-btn {
    transition: none !important;
  }
  .to-top {
    transition: none;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

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

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin: 0 0 0.5rem;
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 0.35rem;
}

p {
  margin: 0 0 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.anchor-top {
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  visibility: hidden;
  pointer-events: none;
}

/* --- Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(12, 11, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(12, 11, 10, 0.9);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  color: var(--text);
  line-height: 1.05;
}

.logo:hover {
  color: var(--text);
}

.logo-en {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.logo-zh {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--text-muted);
  margin-top: 2px;
}

.main-nav {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.main-nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  position: relative;
  padding: 0.35rem 0;
}

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

.main-nav a:hover {
  color: var(--text);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: var(--text);
}

.main-nav a.is-active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem 1.5rem 1.5rem;
    background: rgba(12, 11, 10, 0.96);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.4s var(--ease-out), opacity 0.35s, visibility 0.35s;
  }

  .main-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }
}

/* --- Sections --- */
.section {
  position: relative;
  scroll-margin-top: var(--header-h);
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5rem 1.5rem;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem;
}

.section-head--left {
  text-align: left;
  margin-left: 0;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

/* --- Hero --- */
.section-hero {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding-top: var(--header-h);
}

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

.hero-media .img-frame {
  position: absolute;
  inset: 0;
  border-radius: 0;
  margin: 0;
}

.hero-media .img-frame--hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(12, 11, 10, 0.94) 0%,
    rgba(12, 11, 10, 0.72) 38%,
    rgba(12, 11, 10, 0.45) 62%,
    rgba(12, 11, 10, 0.22) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  width: 100%;
  padding: 2rem 1.5rem 4rem;
}

.hero-content > .hero-lead {
  max-width: 36rem;
}

.hero-content > .eyebrow,
.hero-content > .hero-title,
.hero-content > .hero-lead {
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}

.hero-title {
  margin: 0 0 1rem;
}

.hero-title-en {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(3.25rem, 11vw, 6.5rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  line-height: 0.95;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}

.hero-title-zh {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 500;
  color: rgba(235, 230, 223, 0.82);
  margin-top: 0.5rem;
  letter-spacing: 0.55em;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.35);
}

.hero-lead {
  font-size: 1.0625rem;
  line-height: 1.75;
  max-width: none;
  color: rgba(235, 230, 223, 0.94);
  margin-bottom: 1.75rem;
  font-weight: 500;
}

.hero-lead strong {
  color: var(--text);
  font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), background 0.25s, border-color 0.25s, color 0.25s;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--accent);
  color: #1a120e;
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: #1a120e;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* --- Image frames & reveal --- */
.img-frame {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(145deg, var(--bg-elevated) 0%, #252220 50%, var(--bg-panel) 100%);
  box-shadow: var(--shadow);
}

.img-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid var(--line);
  pointer-events: none;
  z-index: 2;
}

.reveal-img {
  opacity: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  backface-visibility: hidden;
}

/* 无 JS 或未分配变体时的回退 */
.reveal-img:not([class*="reveal-img--"]) {
  transform: translate3d(0, 1.5rem, 0);
  transition:
    opacity 1.15s var(--ease-out),
    transform 1.15s var(--ease-out);
}

.reveal-img:not([class*="reveal-img--"]).is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

/* --- Reveal variants（main.js 按顺序循环分配，也可用 data-reveal="fade-up" 等指定）--- */
.reveal-img--fade-up {
  transform: translate3d(0, 2rem, 0);
  transition:
    opacity 1.25s var(--ease-out),
    transform 1.25s var(--ease-out);
}

.reveal-img--zoom-in {
  transform: scale(1.09);
  transition:
    opacity 1.1s var(--ease-out),
    transform 1.1s var(--ease-out);
}

.reveal-img--blur-in {
  transform: scale(1.035);
  filter: blur(14px);
  transition:
    opacity 1.35s var(--ease-out),
    filter 1.35s var(--ease-out),
    transform 1.35s var(--ease-out);
}

.reveal-img--slide-left {
  transform: translate3d(-2.75rem, 0, 0);
  transition:
    opacity 1.2s var(--ease-out),
    transform 1.2s var(--ease-out);
}

.reveal-img--slide-right {
  transform: translate3d(2.75rem, 0, 0);
  transition:
    opacity 1.2s var(--ease-out),
    transform 1.2s var(--ease-out);
}

.reveal-img--soft-rise {
  transform: translate3d(0, 1.35rem, 0) scale(1.045);
  transition:
    opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-img--fade-up.is-visible,
.reveal-img--zoom-in.is-visible,
.reveal-img--blur-in.is-visible,
.reveal-img--slide-left.is-visible,
.reveal-img--slide-right.is-visible,
.reveal-img--soft-rise.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.reveal-img.is-error {
  opacity: 0;
}

/* --- Products --- */
.section-products {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
}

.product-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.channel-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: 999px;
  border: 1px solid rgba(193, 127, 89, 0.45);
  background: rgba(193, 127, 89, 0.12);
  color: var(--text);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}

.channel-pill:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--text);
}

.section-head .channel-hint {
  margin-top: 0.75rem;
  margin-bottom: 0;
  font-size: 0.8rem;
}

.section-products .section-head {
  margin-bottom: 1rem;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.tab-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.2s;
}

.tab-btn:hover {
  color: var(--text);
  border-color: rgba(193, 127, 89, 0.45);
}

.tab-btn.is-active {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: var(--text);
}

.tab-panel[hidden] {
  display: none !important;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: var(--bg-deep);
  border-radius: var(--radius-lg);
  padding: 1rem 1rem 1.5rem;
  border: 1px solid var(--line);
  transition: transform 0.35s var(--ease-out), border-color 0.35s;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(193, 127, 89, 0.35);
}

.product-card .img-frame {
  aspect-ratio: 4 / 5;
  margin-bottom: 1.25rem;
}

.product-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* --- Culture --- */
.section-culture {
  border-top: 1px solid var(--line);
}

.culture-layout .section-head {
  margin-bottom: 2.5rem;
}

.culture-article {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 2.5rem 2rem;
  align-items: end;
}

.culture-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-self: end;
}

.culture-block h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  color: var(--text);
  letter-spacing: 0.04em;
}

.culture-block p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.88;
}

.culture-block-more {
  margin-top: 0.85rem !important;
  font-size: 0.98rem !important;
  line-height: 1.82 !important;
  opacity: 0.95;
}

.culture-footnote {
  margin: 0.25rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.culture-footnote strong {
  color: var(--text);
}

.culture-block p strong {
  color: var(--text);
}

.culture-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-self: end;
}

.culture-gallery .culture-photo {
  aspect-ratio: 4 / 3;
  margin: 0;
}

.culture-gallery .culture-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 900px) {
  .culture-article {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .culture-gallery {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .culture-gallery .culture-photo {
    aspect-ratio: 3 / 4;
  }
}

@media (max-width: 600px) {
  .culture-gallery {
    grid-template-columns: 1fr;
  }
}

/* --- Story --- */
.section-story {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
  padding: 0;
}

.story-strip.story-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
  width: 100%;
  min-height: min(72vh, 760px);
}

.story-strip.story-layout + .story-strip.story-layout {
  border-top: 1px solid var(--line);
}

.story-visual {
  position: relative;
  box-sizing: border-box;
  min-height: min(72vh, 760px);
}

.story-visual .img-frame--flush {
  position: absolute;
  inset: clamp(1.25rem, 4vw, 3rem);
  margin: 0;
  border-radius: var(--radius-lg);
  height: auto;
  width: auto;
  max-width: none;
  max-height: none;
}

.story-visual .img-frame--flush img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-visual .img-frame--story.img-frame--flush {
  aspect-ratio: auto;
}

.story-content--panel {
  padding: clamp(3rem, 7vw, 5.5rem) clamp(1.25rem, 5vw, 4.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  box-sizing: border-box;
}

.story-intro {
  margin: 0;
  text-align: left;
}

.story-intro h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.story-intro-lead {
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.78;
  color: var(--text-muted);
  max-width: none;
}

.story-intro-lead + .story-intro-lead {
  margin-top: 1.05rem;
}

.story-intro-lead strong {
  color: var(--text);
}

.story-intro .founder-role {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.timeline {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  border-left: 1px solid var(--line);
}

.timeline li {
  padding: 0 0 1.75rem 1.5rem;
  position: relative;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: -5px;
  top: 0.35rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
}

.timeline-year {
  display: block;
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

@media (max-width: 900px) {
  .story-strip.story-layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .story-strip--founder .story-visual {
    order: 1;
  }

  .story-strip--founder .story-content--panel {
    order: 2;
  }

  .story-visual {
    position: relative;
    min-height: min(42vh, 300px);
    aspect-ratio: 16 / 10;
  }

  .story-visual .img-frame--flush {
    inset: clamp(0.65rem, 3vw, 1.25rem);
    border-radius: var(--radius-lg);
  }

  .story-content--panel {
    padding: 3rem 1.5rem 4rem;
    justify-content: flex-start;
  }
}

/* --- Verify --- */
.section-verify {
  border-top: 1px solid var(--line);
}

.verify-layout {
  max-width: 560px;
}

.verify-form {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.verify-input {
  flex: 1 1 200px;
  padding: 0.9rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
}

.verify-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.verify-result {
  min-height: 1.5rem;
  font-size: 0.95rem;
  color: var(--accent);
}

.verify-result.is-fail {
  color: #e07a7a;
}

/* --- Contact --- */
.section-contact {
  background: var(--bg-panel);
  border-top: 1px solid var(--line);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-card {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
}

.contact-card h3 {
  margin-bottom: 0.75rem;
  flex-shrink: 0;
}

.contact-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}

.contact-card-body > p:last-child {
  margin-bottom: 0;
}

.muted {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.contact-line-label {
  margin: 1rem 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.social-list li {
  display: grid;
  grid-template-columns: 4.25rem minmax(0, 1fr);
  gap: 0.65rem;
  align-items: baseline;
  font-size: 0.92rem;
  line-height: 1.45;
}

.social-platform {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  white-space: nowrap;
}

.contact-form.contact-card {
  display: flex;
  flex-direction: column;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
  flex-shrink: 0;
}

.contact-form-fields {
  flex: 1;
  display: grid;
  gap: 0.65rem;
  align-content: start;
}

.contact-form {
  margin: 0;
}

.contact-form label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact-form input,
.contact-form textarea {
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-panel);
  color: var(--text);
  font-family: var(--font-body);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.contact-form .btn {
  margin-top: 0.5rem;
  justify-self: start;
}

.form-hint {
  font-size: 0.85rem;
  color: var(--accent);
  margin: 0;
}

/* --- Back to top --- */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(22, 20, 18, 0.92);
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease-out), visibility 0.35s, transform 0.35s var(--ease-out),
    border-color 0.25s, background 0.25s, color 0.25s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.to-top:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(30, 28, 25, 0.96);
}

/* --- Footer --- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 1.5rem;
  background: var(--bg-deep);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-brand {
  font-family: var(--font-display);
  letter-spacing: 0.15em;
  color: var(--text);
}
