/* =========================================================
   半岛竞技 · pindao-bandao.com.cn — Shared Site CSS
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --c-navy: #0A1F44;
  --c-rich: #123366;
  --c-gold: #C9A961;
  --c-gold-bright: #E3C77E;
  --c-red: #E02F2F;
  --c-cream: #F5F1E8;
  --c-green: #1D4A3E;
  --c-wine: #6E1E2E;
  --c-indigo: #3A2A5D;

  --t-1: rgba(245, 241, 232, 0.92);
  --t-2: rgba(245, 241, 232, 0.66);
  --t-3: rgba(245, 241, 232, 0.42);

  --f-display: "Archivo Black", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-body: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --f-mono: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --fs-h1: clamp(40px, 6vw, 64px);
  --fs-h2: clamp(28px, 4.2vw, 40px);
  --fs-h3: clamp(20px, 2.4vw, 24px);
  --fs-body: 16px;
  --fs-small: 13px;
  --fs-micro: 11px;

  --rail-w: 280px;
  --content-max: 1200px;
  --gutter: clamp(20px, 4vw, 48px);
  --ht-mob: 64px;
  --ease-out: cubic-bezier(0.19, 1, 0.22, 1);
}

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

* {
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  font-size: var(--fs-body);
  line-height: 1.8;
  background: var(--c-navy);
  color: var(--t-1);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
}

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

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--f-display);
  font-weight: 900;
  line-height: 1.15;
  color: var(--c-cream);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

::selection {
  background: var(--c-gold);
  color: var(--c-navy);
}

:focus-visible {
  outline: 2px solid var(--c-gold-bright);
  outline-offset: 3px;
}

/* ---------- Utilities ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  top: -200px;
  left: 20px;
  z-index: 9999;
  padding: 14px 22px;
  background: var(--c-gold);
  color: var(--c-navy);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  border-radius: 2px;
  transition: top 0.25s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 5000;
  background: linear-gradient(90deg, var(--c-gold) 0%, var(--c-red) 100%);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--f-body);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 2px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), transform 0.2s var(--ease-out);
}

.btn:active {
  transform: translateY(1px);
}

.btn--gold {
  background: linear-gradient(135deg, var(--c-gold-bright) 0%, var(--c-gold) 100%);
  color: var(--c-navy);
  box-shadow: 0 4px 18px rgba(201, 169, 97, 0.28);
}

.btn--gold:hover {
  background: linear-gradient(135deg, #EED8A0 0%, #D4B56E 100%);
  box-shadow: 0 6px 24px rgba(201, 169, 97, 0.42);
}

.btn--ghost {
  border-color: rgba(201, 169, 97, 0.55);
  color: var(--c-gold);
  background: transparent;
}

.btn--ghost:hover {
  border-color: var(--c-gold-bright);
  color: var(--c-gold-bright);
}

.btn--block {
  display: flex;
  width: 100%;
}

.btn--sm {
  padding: 9px 16px;
  font-size: 12px;
}

.btn__text {
  display: inline-block;
}

.btn__arrow {
  font-family: var(--f-mono);
  font-size: 15px;
  line-height: 1;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(5px);
}

/* ---------- Header (mobile-first: top bar + drawer) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  height: var(--ht-mob);
  padding: 0 20px;
  background: var(--c-navy);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1;
  transition: opacity 0.25s;
}

.brand:hover {
  opacity: 0.85;
}

.brand__cn {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.12em;
  color: var(--c-gold);
}

.brand__desc {
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--t-3);
  white-space: nowrap;
}

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(201, 169, 97, 0.3);
  border-radius: 2px;
  transition: border-color 0.3s;
}

.nav-toggle:hover {
  border-color: var(--c-gold);
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-gold);
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

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

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

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

.primary-nav {
  position: fixed;
  top: var(--ht-mob);
  bottom: 0;
  left: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  width: min(320px, 85vw);
  padding: 28px 20px 32px;
  background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-rich) 160%);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.35);
  transform: translateX(-100%);
  visibility: hidden;
  transition: transform 0.35s var(--ease-out), visibility 0.35s;
  overflow-y: auto;
}

.primary-nav[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
}

.primary-nav__eyebrow {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--c-gold);
  opacity: 0.8;
  margin-bottom: 18px;
}

.nav-list {
  display: flex;
  flex-direction: column;
}

.nav-list__item {
  margin: 0;
  padding: 0;
}

.nav-link {
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding: 13px 8px;
  font-size: 15px;
  color: var(--t-2);
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
  position: relative;
  transition: color 0.25s, padding-left 0.25s, background 0.25s;
}

.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--c-gold);
  transform: scaleY(0);
  transform-origin: 0 100%;
  transition: transform 0.3s var(--ease-out);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--c-cream);
  padding-left: 16px;
  background: linear-gradient(90deg, rgba(201, 169, 97, 0.1), transparent 70%);
}

.nav-link:hover::before,
.nav-link[aria-current="page"]::before {
  transform: scaleY(1);
}

.nav-link__num {
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  color: var(--c-gold);
  opacity: 0.7;
}

.nav-link__text {
  letter-spacing: 0.05em;
}

.header-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(201, 169, 97, 0.25);
}

.header-service {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--t-3);
}

.header-service__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c-gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 97, 0.2);
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0.6); }
  70% { box-shadow: 0 0 0 6px rgba(201, 169, 97, 0); }
  100% { box-shadow: 0 0 0 0 rgba(201, 169, 97, 0); }
}

.header-service__label {
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.header-service__value {
  font-family: var(--f-mono);
  color: var(--t-2);
}

/* ---------- Layout shell ---------- */
.site-shell {
  min-height: 100vh;
}

.main-content {
  min-height: 70vh;
}

#main-content {
  scroll-margin-top: calc(var(--ht-mob) + 16px);
}

.page-container {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section {
  padding: clamp(64px, 9vw, 128px) 0;
  position: relative;
}

.section--navy { background: var(--c-navy); }
.section--rich { background: var(--c-rich); }
.section--wine { background: var(--c-wine); }
.section--green { background: var(--c-green); }
.section--indigo { background: var(--c-indigo); }

.section--cream {
  background: var(--c-cream);
  color: #22304A;
}

.section--cream h1,
.section--cream h2,
.section--cream h3,
.section--cream h4 {
  color: var(--c-navy);
}

.section--cream .section-title__desc {
  color: rgba(10, 31, 68, 0.66);
}

.section--cream .prose {
  color: rgba(10, 31, 68, 0.8);
}

.section--cream .prose h2 {
  color: var(--c-navy);
}

.section--cream .prose a {
  color: var(--c-rich);
  border-color: rgba(18, 51, 102, 0.4);
}

.section--cream .index-list {
  border-top-color: rgba(10, 31, 68, 0.2);
}

.section--cream .index-list__item {
  border-bottom-color: rgba(10, 31, 68, 0.15);
}

.section--cream .index-list__title {
  color: var(--c-navy);
}

.section--cream .breadcrumbs a {
  color: var(--c-rich);
}

.section--cream .breadcrumbs__sep {
  color: rgba(10, 31, 68, 0.4);
}

.section--cream .tag-btn {
  color: var(--c-navy);
  border-color: rgba(10, 31, 68, 0.35);
}

.section--cream .tag-btn:hover {
  border-color: var(--c-navy);
  color: var(--c-navy);
}

.section--cream .tag-btn[aria-pressed="true"] {
  background: var(--c-gold);
  border-color: var(--c-rich);
  color: var(--c-navy);
}

/* ---------- Desktop rail ---------- */
@media (min-width: 1024px) {
  .site-header {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    width: var(--rail-w);
    height: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background:
      repeating-linear-gradient(0deg, transparent 0, transparent 71px, rgba(201, 169, 97, 0.05) 71px, rgba(201, 169, 97, 0.05) 72px),
      var(--c-navy);
    border-bottom: none;
    border-right: 1px solid rgba(201, 169, 97, 0.22);
    overflow-y: auto;
  }

  .header-top {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    padding: 36px 28px 0;
  }

  .brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .brand__cn {
    font-size: 42px;
  }

  .brand__desc {
    font-size: var(--fs-micro);
    letter-spacing: 0.42em;
  }

  .nav-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    top: auto;
    bottom: auto;
    left: auto;
    z-index: auto;
    width: auto;
    padding: 40px 24px 24px;
    flex: 1;
    background: none;
    box-shadow: none;
    transform: none;
    visibility: visible;
    overflow-y: auto;
  }

  .site-shell {
    margin-left: var(--rail-w);
  }

  #main-content {
    scroll-margin-top: 24px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  background:
    repeating-linear-gradient(-45deg, rgba(201, 169, 97, 0.028) 0, rgba(201, 169, 97, 0.028) 1px, transparent 1px, transparent 14px),
    var(--c-navy);
  border-top: 1px solid rgba(201, 169, 97, 0.35);
  padding: clamp(48px, 7vw, 80px) 0 32px;
  margin-top: clamp(64px, 8vw, 96px);
}

.footer-frame {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

.footer-brand {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  width: fit-content;
}

.footer-brand__cn {
  font-family: var(--f-display);
  font-size: clamp(44px, 6vw, 64px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--c-gold);
  transition: color 0.3s var(--ease-out);
}

.footer-brand__tag {
  font-size: var(--fs-micro);
  letter-spacing: 0.38em;
  color: var(--t-3);
}

.footer-brand:hover .footer-brand__cn {
  color: var(--c-gold-bright);
}

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.footer-slogan {
  font-size: 14px;
  line-height: 1.9;
  color: var(--t-2);
  max-width: 52ch;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
}

.footer-nav__link {
  font-size: 14px;
  color: var(--t-2);
  padding: 6px 0;
  position: relative;
  transition: color 0.25s var(--ease-out);
}

.footer-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.3s var(--ease-out);
}

.footer-nav__link:hover {
  color: var(--c-cream);
}

.footer-nav__link:hover::after {
  transform: scaleX(1);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 40px;
  padding: 18px 0;
  border-top: 1px solid rgba(245, 241, 232, 0.1);
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
}

.footer-legal a {
  font-size: var(--fs-small);
  color: var(--t-2);
  transition: color 0.25s;
}

.footer-legal a:hover {
  color: var(--c-gold-bright);
}

.footer-legal__sep {
  color: var(--c-gold);
  opacity: 0.5;
  font-family: var(--f-mono);
  font-size: 12px;
}

.footer-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  padding: 20px 0;
  font-family: var(--f-mono);
  font-size: var(--fs-small);
  color: var(--t-3);
}

.footer-contact__sep {
  color: var(--c-gold);
  opacity: 0.5;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid rgba(245, 241, 232, 0.08);
  font-size: 12px;
  color: var(--t-3);
}

.footer-bottom__icp,
.footer-bottom__domain {
  font-family: var(--f-mono);
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 48px;
    align-items: start;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* ---------- Frame hero ---------- */
.frame-hero {
  position: relative;
  background: var(--c-rich);
  border: 1px solid rgba(201, 169, 97, 0.35);
  padding: clamp(32px, 6vw, 72px);
  overflow: hidden;
}

.frame-hero::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(201, 169, 97, 0.18);
  pointer-events: none;
}

.frame-hero::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  border-top: 2px solid var(--c-gold);
  border-right: 2px solid var(--c-gold);
  opacity: 0.9;
  pointer-events: none;
}

.frame-hero > * {
  position: relative;
  z-index: 1;
}

/* ---------- Section title ---------- */
.section-title {
  margin-bottom: 40px;
}

.section-title__overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 12px;
}

.section-title__overline::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--c-gold);
}

.section-title__text {
  font-family: var(--f-display);
  font-size: var(--fs-h2);
  font-weight: 900;
  line-height: 1.15;
  color: var(--c-cream);
  margin: 0;
}

.section-title__desc {
  margin-top: 12px;
  max-width: 60ch;
  color: var(--t-2);
  font-size: 14px;
}

/* ---------- Index list ---------- */
.index-list {
  border-top: 1px solid rgba(201, 169, 97, 0.3);
}

.index-list__item {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 16px 6px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  text-decoration: none;
  transition: background 0.25s var(--ease-out), padding-left 0.25s var(--ease-out);
}

a.index-list__item:hover {
  background: rgba(201, 169, 97, 0.08);
  padding-left: 14px;
}

.index-list__num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-gold);
  min-width: 2.5em;
}

.index-list__title {
  font-size: 15px;
  color: var(--c-cream);
}

.index-list__meta {
  margin-left: auto;
  font-family: var(--f-mono);
  font-size: var(--fs-micro);
  color: var(--t-3);
}

/* ---------- Card ---------- */
.card {
  background: var(--c-rich);
  border: 1px solid rgba(201, 169, 97, 0.2);
  padding: 24px;
  position: relative;
  transition: transform 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 169, 97, 0.5);
}

.card__title {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--c-cream);
  margin-bottom: 8px;
}

.card__text {
  font-size: 14px;
  color: var(--t-2);
}

/* ---------- Image frame ---------- */
.image-frame {
  position: relative;
  overflow: hidden;
  background: var(--c-rich);
  aspect-ratio: 4 / 3;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.image-frame:hover img {
  transform: scale(1.03);
}

.image-frame--wide {
  aspect-ratio: 16 / 9;
}

.image-frame--gold {
  border: 1px solid rgba(201, 169, 97, 0.4);
}

/* ---------- Tag row & filter ---------- */
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  font-size: var(--fs-small);
  color: var(--t-2);
  border: 1px solid rgba(201, 169, 97, 0.35);
  border-radius: 999px;
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.tag-btn:hover {
  border-color: var(--c-gold);
  color: var(--c-cream);
}

.tag-btn[aria-pressed="true"] {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-navy);
  font-weight: 700;
}

/* ---------- Breadcrumbs ---------- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 18px 0;
  font-size: var(--fs-small);
  color: var(--t-3);
}

.breadcrumbs a {
  color: var(--c-gold);
  transition: color 0.25s;
}

.breadcrumbs a:hover {
  color: var(--c-gold-bright);
}

.breadcrumbs__sep {
  font-family: var(--f-mono);
  color: var(--t-3);
}

/* ---------- Prose ---------- */
.prose {
  max-width: 72ch;
  font-size: 16px;
  line-height: 1.9;
  color: rgba(245, 241, 232, 0.88);
}

.prose p {
  margin-bottom: 1.5em;
}

.prose h2 {
  font-size: var(--fs-h3);
  margin: 1.6em 0 0.6em;
  color: var(--c-cream);
}

.prose h3 {
  font-size: 20px;
  margin: 1.4em 0 0.4em;
  color: var(--c-cream);
}

.prose a {
  color: var(--c-gold);
  border-bottom: 1px solid rgba(201, 169, 97, 0.4);
  transition: border-color 0.25s;
}

.prose a:hover {
  border-color: var(--c-gold-bright);
}

.prose ul,
.prose ol {
  margin: 1em 0 1.5em;
}

.prose li {
  padding-left: 1.4em;
  position: relative;
  margin-bottom: 0.4em;
}

.prose ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  transform: rotate(45deg);
}

.prose ol {
  counter-reset: prose-counter;
}

.prose ol li {
  counter-increment: prose-counter;
}

.prose ol li::before {
  content: counter(prose-counter, decimal-leading-zero) ".";
  width: auto;
  height: auto;
  background: none;
  transform: none;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--c-gold);
  top: 0.3em;
}

/* ---------- Decorative elements ---------- */
.diagonal-band {
  height: 48px;
  background: repeating-linear-gradient(-45deg,
      var(--c-rich) 0, var(--c-rich) 14px,
      var(--c-navy) 14px, var(--c-navy) 28px);
  border-top: 1px solid rgba(201, 169, 97, 0.2);
  border-bottom: 1px solid rgba(201, 169, 97, 0.2);
}

.speed-lines {
  position: relative;
  overflow: hidden;
}

.speed-lines::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -8%;
  bottom: -20%;
  width: 45%;
  background: repeating-linear-gradient(-65deg,
      transparent 0, transparent 16px,
      rgba(245, 241, 232, 0.045) 16px,
      rgba(245, 241, 232, 0.045) 17px);
  pointer-events: none;
}

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

[data-reveal][data-revealed="true"] {
  opacity: 1;
  transform: none;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .header-service__dot {
    animation: none;
  }

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