/* ============================================================
   鈦孚音響 Taifu Audio — Vanilla CSS
   Ported from the original Tailwind + shadcn theme
   ============================================================ */

:root {
  --background: 0 0% 100%;
  --foreground: 0 0% 0%;
  --accent: 42 47% 60%;
  --border: 0 0% 90%;
  --font-oswald: 'Oswald', sans-serif;
  --font-noto: 'Noto Sans TC', sans-serif;
  --gold: #C9A96E;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border-color: hsl(var(--border));
}

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

body {
  font-family: var(--font-noto);
  color: #000000;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  line-height: 1.5;
}

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

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

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

input,
textarea,
select {
  font-family: inherit;
}

ul {
  list-style: none;
}

/* ---------- Font helpers ---------- */
.font-oswald { font-family: var(--font-oswald); }
.font-noto   { font-family: var(--font-noto); }

/* ---------- Color helpers ---------- */
.text-gold   { color: var(--gold); }
.bg-gold     { background-color: var(--gold); }
.border-gold { border-color: var(--gold); }

/* ---------- Buttons ---------- */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 48px;
  background-color: #000;
  color: #fff;
  font-family: var(--font-noto);
  font-size: 16px;
  font-weight: 500;
  transition: all 0.4s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  background-color: var(--gold);
}

/* ---------- Marquee text (stroke) ---------- */
.marquee-text {
  -webkit-text-stroke: 1px #000000;
  -webkit-text-fill-color: transparent;
}

.text-stroke-white {
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
  -webkit-text-fill-color: transparent;
}

/* ---------- Underline inputs ---------- */
.input-underline {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #CCCCCC;
  padding: 16px 0;
  font-family: var(--font-noto);
  font-size: 16px;
  color: #000;
  transition: border-color 0.3s;
}
.input-underline::placeholder { color: #999999; }
.input-underline:focus {
  outline: none;
  border-color: #000;
}
.input-underline.resize-none { resize: none; }
select.input-underline {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
}

/* ============================================================
   Layout primitives
   ============================================================ */
.container-page {
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  width: 100%;
}

.pt-navbar { padding-top: 80px; }

/* ============================================================
   Page loader
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  top: 0;
  z-index: 100;
  background: #FBF7F1;
  height: 100%;
  transition: height 1s ease-out;
}
.page-loader.loaded { height: 0%; }
.page-loader.hidden { display: none; }

/* ============================================================
   Navbar
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 80px;
  transition: all 0.3s;
  background: transparent;
  /* Default (content pages have a light background at the top): dark text */
  --nav-fg: #000000;
  --nav-fg-muted: #333333;
  --nav-shadow: none;
  --nav-drop: none;
}
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  /* Solid light background: dark text */
  --nav-fg: #000000;
  --nav-fg-muted: #333333;
  --nav-shadow: none;
  --nav-drop: none;
}
/* Home page only: the navbar overlays the dark hero, so use light text
   (with a subtle shadow) until the user scrolls and the bar turns white. */
.navbar--hero:not(.scrolled) {
  --nav-fg: #ffffff;
  --nav-fg-muted: rgba(255, 255, 255, 0.92);
  --nav-shadow: 0 1px 4px rgba(0, 0, 0, 0.55);
  --nav-drop: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.55));
}
.navbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo {
  font-family: var(--font-noto);
  font-size: 24px;
  font-weight: 700;
  color: var(--nav-fg);
  text-shadow: var(--nav-shadow);
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.navbar__nav {
  display: none;
  align-items: center;
  gap: 32px;
}
.navbar__link {
  font-family: var(--font-noto);
  font-size: 15px;
  color: var(--nav-fg-muted);
  text-shadow: var(--nav-shadow);
  transition: color 0.4s;
}
.navbar__link:hover { color: var(--gold); }
.navbar__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.navbar__icon {
  display: none;
  color: var(--nav-fg-muted);
  filter: var(--nav-drop);
  transition: color 0.2s;
  line-height: 0;
}
.navbar__icon:hover { color: var(--gold); }
.navbar__toggle {
  color: var(--nav-fg);
  filter: var(--nav-drop);
  transition: color 0.2s;
  line-height: 0;
}
.navbar__toggle:hover { color: var(--gold); }

@media (min-width: 768px) {
  /* Desktop shows the full nav, so the hamburger is redundant — hide it.
     Below 768px the nav is hidden and the hamburger takes over. */
  .navbar__nav { display: flex; }
  .navbar__toggle { display: none; }
}

/* ============================================================
   Mobile menu overlay
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  top: 80px;
  z-index: 40;
  background: #fff;
  height: 0;
  display: none;
  flex-direction: column;
  /* `safe center` keeps the menu centered when it fits, but falls back to
     top-aligned when the links are taller than the overlay so nothing is
     clipped above the scroll area. */
  justify-content: safe center;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 32px 24px;
}
.mobile-menu__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
}
.mobile-menu__link {
  font-family: var(--font-oswald);
  font-size: 36px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  transition: color 0.3s;
  opacity: 0;
}
.mobile-menu__link:hover { color: var(--gold); }
.mobile-menu__social {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  opacity: 0;
  flex-shrink: 0;
}
.mobile-menu__social a {
  color: #333333;
  transition: color 0.3s;
}
.mobile-menu__social a:hover { color: var(--gold); }

@media (min-width: 768px) {
  .mobile-menu__link { font-size: 48px; }
}

/* ============================================================
   Hero Dual Images
   ============================================================ */
.hero-dual {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 500px;
  display: flex;
  overflow: hidden;
}
.hero-dual__half {
  width: 50%;
  height: 100%;
  overflow: hidden;
  transition: transform 0.1s linear;
  will-change: transform;
  transform: scale(1.05);
}
.hero-dual__half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-dual__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.hero-dual__title {
  font-family: var(--font-oswald);
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  text-align: center;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.8);
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

/* ============================================================
   Hero WebGL
   ============================================================ */
.hero-webgl {
  position: relative;
  width: 100%;
  height: 100vh;
  background: #000;
  overflow: hidden;
}
.hero-webgl__canvas {
  position: absolute;
  inset: 0;
}
.hero-webgl__canvas canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}
.hero-webgl__caption {
  position: absolute;
  bottom: 80px;
  left: 60px;
  z-index: 10;
  color: #fff;
}
.hero-webgl__caption h1 {
  font-family: var(--font-oswald);
  font-size: 72px;
  font-weight: 600;
  line-height: 1;
}
.hero-webgl__caption p {
  font-family: var(--font-oswald);
  font-size: 36px;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-top: 8px;
}
.hero-webgl__readmore {
  position: absolute;
  bottom: 80px;
  right: 60px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-noto);
  font-size: 16px;
  color: #fff;
  transition: color 0.4s;
}
.hero-webgl__readmore:hover { color: var(--gold); }
.hero-webgl__dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 12px;
}
.hero-webgl__dot {
  width: 8px;
  height: 8px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.4);
}
.hero-webgl__dot.active { background: #fff; }

@media (max-width: 640px) {
  .hero-webgl__caption { left: 24px; bottom: 60px; }
  .hero-webgl__caption h1 { font-size: 48px; }
  .hero-webgl__caption p { font-size: 24px; }
  .hero-webgl__readmore { right: 24px; bottom: 60px; }
}

/* ============================================================
   News Marquee section
   ============================================================ */
.news-marquee {
  width: 100%;
  padding: 80px 0;
  overflow: hidden;
}
.news-marquee__track-wrap {
  overflow: hidden;
  padding: 32px 0;
}
.news-marquee__track {
  display: flex;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}
.news-marquee__track span {
  font-family: var(--font-oswald);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 500;
  text-transform: uppercase;
  margin-right: 32px;
  -webkit-text-stroke: 1px #000000;
  -webkit-text-fill-color: transparent;
}
.news-marquee__tagline {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 24px;
}
.news-marquee__tagline > div {
  font-family: var(--font-oswald);
  font-size: clamp(56px, 7vw, 96px);
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  line-height: 1;
  letter-spacing: -0.02em;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================================
   Media Parallax Grid
   ============================================================ */
.parallax-grid {
  width: 100%;
  overflow: hidden;
  padding: 40px 0;
}
.parallax-row {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  will-change: transform;
}
.parallax-row__item {
  flex-shrink: 0;
  width: 25vw;
  height: 18vw;
  overflow: hidden;
}
.parallax-row__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}
.parallax-row__item img:hover { transform: scale(1.05); }

/* ============================================================
   Latest News section
   ============================================================ */
.latest-news {
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 24px;
}
.latest-news__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
.section-heading {
  font-family: var(--font-oswald);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #000;
  border-bottom: 1px solid #000;
  padding-bottom: 16px;
  margin-bottom: 32px;
}
.news-item {
  display: block;
  padding: 20px 0;
  border-bottom: 1px solid #E5E5E5;
}
.news-item__date {
  font-family: var(--font-oswald);
  font-size: 14px;
  color: #333333;
  display: block;
  margin-bottom: 8px;
}
.news-item__title {
  font-family: var(--font-noto);
  font-size: 18px;
  color: #000;
  line-height: 1.625;
  transition: color 0.4s;
}
.news-item:hover .news-item__title { color: var(--gold); }
.fb-card {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #C50000;
  padding: 32px;
  height: 400px;
  transition: background 0.3s;
}
.fb-card:hover { background: #A00000; }
.fb-card p {
  font-family: var(--font-noto);
  font-size: 18px;
  color: #fff;
  text-align: center;
  line-height: 1.625;
}
.fb-card p span {
  font-size: 14px;
  opacity: 0.8;
  margin-top: 16px;
  display: block;
}

@media (min-width: 768px) {
  .latest-news__grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   Brands Showcase
   ============================================================ */
.brands-showcase {
  width: 100%;
  background: #F5F5F5;
  padding: 120px 0;
}
.brands-showcase__heading,
.section-title-cn {
  font-family: var(--font-noto);
  font-size: 32px;
  font-weight: 400;
  color: #000;
  text-align: center;
  margin-bottom: 80px;
}
.brands-rows {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.brands-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.brand-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.brand-logo-item img {
  max-width: 180px;
  max-height: 50px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
  transition: all 0.4s;
}
.brand-logo-item img:hover {
  filter: grayscale(0);
  opacity: 1;
}

@media (min-width: 768px) {
  .brands-row { gap: 64px; }
  .brand-logo-item { padding: 40px; }
  .brand-logo-item img { max-width: 200px; max-height: 60px; }
  .brands-row--indent { padding-left: 128px; padding-right: 128px; }
}

/* ============================================================
   Divider Image
   ============================================================ */
.divider-image {
  width: 100%;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
}
.divider-image__inner {
  width: 100%;
  height: 120%;
  will-change: transform;
}
.divider-image__inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Bottom Dual Images
   ============================================================ */
.bottom-dual {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  display: flex;
  overflow: hidden;
}
.bottom-dual__half {
  width: 50%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
}
.bottom-dual__half img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   Footer
   ============================================================ */
.footer {
  background: #000;
  color: #fff;
}
.footer__inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 24px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer__col h3 {
  font-family: var(--font-noto);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
}
.footer__col h4 {
  font-family: var(--font-noto);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
}
.footer__col p {
  font-family: var(--font-noto);
  font-size: 14px;
  color: #999999;
  margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  font-family: var(--font-noto);
  font-size: 14px;
  color: #999999;
  transition: color 0.3s;
}
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; flex-direction: column; gap: 12px; }
.footer__social a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-noto);
  font-size: 14px;
  color: #999999;
  transition: color 0.3s;
}
.footer__social a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid #333333;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.footer__bottom p {
  font-family: var(--font-noto);
  font-size: 12px;
  color: #666666;
}
.footer__legal {
  display: flex;
  gap: 24px;
}
.footer__legal a {
  font-family: var(--font-noto);
  font-size: 12px;
  color: #999999;
  transition: color 0.3s;
}
.footer__legal a:hover { color: #fff; }
.footer__top-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-noto);
  font-size: 14px;
  color: #999999;
  transition: color 0.3s;
}
.footer__top-btn:hover { color: #fff; }

@media (min-width: 768px) {
  .footer__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: row; }
}

/* ============================================================
   Blog list page
   ============================================================ */
.blog-hero {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 24px;
}
.blog-hero__link {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.blog-hero__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.blog-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}
.blog-hero__link:hover .blog-hero__img img { transform: scale(1.05); }
.blog-hero__meta {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-hero__eyebrow {
  font-family: var(--font-oswald);
  font-size: 14px;
  text-transform: uppercase;
  color: #333333;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}
.blog-hero__title {
  font-family: var(--font-noto);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  transition: color 0.4s;
}
.blog-hero__link:hover .blog-hero__title { color: var(--gold); }
.blog-hero__excerpt {
  font-family: var(--font-noto);
  font-size: 16px;
  color: #333333;
  margin-top: 24px;
  line-height: 1.625;
}
.blog-grid-section {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 24px 80px;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
.blog-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  margin-bottom: 16px;
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s;
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__date {
  font-family: var(--font-oswald);
  font-size: 12px;
  text-transform: uppercase;
  color: #333333;
  letter-spacing: 0.05em;
}
.blog-card__cat {
  display: inline-block;
  margin-left: 12px;
  padding: 4px 8px;
  border: 1px solid #000;
  font-size: 12px;
  font-family: var(--font-noto);
}
.blog-card__title {
  font-family: var(--font-noto);
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-top: 12px;
  line-height: 1.375;
  transition: color 0.4s;
}
.blog-card:hover .blog-card__title { color: var(--gold); }

@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-card--wide { grid-column: span 2; }
}
@media (min-width: 1024px) {
  .blog-hero__link { grid-template-columns: repeat(5, 1fr); }
  .blog-hero__img { grid-column: span 3; }
  .blog-hero__meta { grid-column: span 2; }
  .blog-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-card--wide { grid-column: span 1; }
}

/* ============================================================
   Blog Post page
   ============================================================ */
.post-header {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 24px 32px;
}
.post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-noto);
  font-size: 14px;
  color: #333333;
  transition: color 0.2s;
  margin-bottom: 24px;
}
.post-back:hover { color: var(--gold); }
.post-cat {
  display: inline-block;
  margin-left: 16px;
  padding: 4px 12px;
  border: 1px solid #000;
  font-size: 14px;
  font-family: var(--font-noto);
}
.post-title {
  font-family: var(--font-noto);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #000;
  line-height: 1.25;
  margin-top: 24px;
}
.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
  color: #333333;
}
.post-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-noto);
  font-size: 14px;
}
.post-hero-img {
  width: 100%;
  height: 50vh;
  min-height: 400px;
  overflow: hidden;
}
.post-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.post-article {
  max-width: 1440px;
  margin: 0 auto;
  padding: 64px 24px;
}
.post-content {
  font-family: var(--font-noto);
  color: #333333;
  line-height: 1.8;
  font-size: 18px;
}
.post-content p { margin-bottom: 1.5em; }
.post-notfound {
  padding: 128px 24px 80px;
  text-align: center;
}
.post-notfound h1 {
  font-family: var(--font-oswald);
  font-size: 36px;
  font-weight: 600;
  color: #000;
  margin-bottom: 16px;
}
.post-notfound button {
  font-family: var(--font-noto);
  color: var(--gold);
}
.post-notfound button:hover { text-decoration: underline; }

/* ============================================================
   About page
   ============================================================ */
.about-hero {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
}
.about-hero__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 24px;
}
.about-hero__eyebrow {
  font-family: var(--font-oswald);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--gold);
  letter-spacing: 0.2em;
  margin-bottom: 24px;
}
.about-hero__title {
  font-family: var(--font-oswald);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.about-hero__subtitle {
  font-family: var(--font-noto);
  font-size: clamp(28px, 3vw, 48px);
  font-weight: 400;
  color: #000;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}
.about-hero__desc {
  font-family: var(--font-noto);
  font-size: 18px;
  color: #333333;
  line-height: 1.8;
  max-width: 480px;
}
.about-hero__img {
  min-height: 400px;
}
.about-hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about-timeline {
  background: #F5F5F5;
  padding: 120px 0;
}
.about-timeline__heading {
  font-family: var(--font-oswald);
  font-size: 48px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  text-align: center;
  margin-bottom: 64px;
}
.timeline {
  position: relative;
}
.timeline__line {
  display: none;
}
.timeline__items {
  display: flex;
  flex-direction: column;
  gap: 48px;
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}
.timeline-item__card-wrap {
  width: 100%;
}
.timeline-item__card {
  background: #fff;
  padding: 32px;
  max-width: 400px;
  display: inline-block;
  text-align: left;
}
.timeline-item__year {
  font-family: var(--font-oswald);
  font-size: 36px;
  font-weight: 600;
  color: var(--gold);
}
.timeline-item__title {
  font-family: var(--font-noto);
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-top: 8px;
}
.timeline-item__desc {
  font-family: var(--font-noto);
  font-size: 16px;
  color: #333333;
  margin-top: 8px;
  line-height: 1.625;
}
.timeline-item__dot { display: none; }
.timeline-item__spacer { display: none; }

.about-brands { padding: 120px 0; }
.about-dealers {
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 24px;
}
.about-dealers__heading {
  font-family: var(--font-oswald);
  font-size: 48px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
  padding-bottom: 16px;
  margin-bottom: 64px;
}
.dealer-item {
  padding: 32px 0;
  border-bottom: 1px solid #E5E5E5;
  cursor: pointer;
}
.dealer-item__name {
  font-family: var(--font-noto);
  font-size: 24px;
  font-weight: 700;
  color: #000;
  transition: color 0.4s;
}
.dealer-item:hover .dealer-item__name { color: var(--gold); }
.dealer-item__info {
  font-family: var(--font-noto);
  font-size: 16px;
  color: #999999;
  margin-top: 12px;
  opacity: 0.4;
  transition: opacity 0.4s;
}
.dealer-item__info + .dealer-item__info { margin-top: 0; }
.dealer-item:hover .dealer-item__info { opacity: 1; }

@media (min-width: 1024px) {
  .about-hero { flex-direction: row; }
  .about-hero__text { width: 55%; padding: 80px 48px 80px 24px; }
  .about-hero__img { width: 45%; }
  .timeline__line {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--gold);
    transform: translateX(-50%);
  }
  .timeline-item { flex-direction: row; }
  .timeline-item--reverse { flex-direction: row-reverse; }
  .timeline-item__card-wrap { width: 50%; }
  .timeline-item--right-align { text-align: right; }
  .timeline-item__dot {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--gold);
    border: 2px solid #fff;
  }
  .timeline-item__spacer { display: block; width: 50%; }
}

/* ============================================================
   Contact + Register (shared form layout)
   ============================================================ */
.form-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 1440px;
  margin: 0 auto;
}
.form-page__aside {
  padding: 80px 24px;
}
.form-page__main {
  padding: 80px 24px;
}
.form-title-lg {
  font-family: var(--font-oswald);
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  line-height: 1;
  letter-spacing: -0.02em;
}
.contact-title-lg { font-size: clamp(48px, 6vw, 80px); }
.register-title-lg { font-size: clamp(40px, 5vw, 72px); }
.form-subtitle {
  font-family: var(--font-noto);
  font-size: 24px;
  font-weight: 400;
  color: #333333;
  margin-top: 32px;
}
.register-title-lg + .form-subtitle { margin-top: 24px; }
.form-intro {
  font-family: var(--font-noto);
  font-size: 16px;
  color: #666666;
  margin-top: 24px;
  line-height: 1.625;
}
.contact-details {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-details p {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-noto);
  font-size: 16px;
  color: #666666;
}
.contact-details p.align-start { align-items: flex-start; }
.contact-details svg { color: var(--gold); flex-shrink: 0; }
.contact-details a { color: inherit; transition: color 0.3s; }
.contact-details a:hover { color: var(--gold); }

/* Contact page (info only — header-aligned via .container-page) */
.contact-page { padding-top: 96px; padding-bottom: 96px; }
@media (min-width: 768px) {
  .contact-page {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 64px;
  }
  .contact-page .contact-details { margin-top: 8px; flex: 0 1 520px; }
}
.form-el {
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.form-el__heading {
  font-family: var(--font-noto);
  font-size: 28px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
}
.form-field label {
  font-family: var(--font-noto);
  font-size: 14px;
  color: #666666;
  display: block;
  margin-bottom: 8px;
}
.form-field .req { color: var(--gold); }
.form-success {
  max-width: 600px;
  text-align: center;
  padding: 80px 0;
}
.form-success h3 {
  font-family: var(--font-noto);
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
}
.form-success p {
  font-family: var(--font-noto);
  color: #333333;
}
.contact-map {
  width: 100%;
  height: 400px;
  background: #F5F5F5;
  border-top: 1px solid #E5E5E5;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-map p {
  font-family: var(--font-noto);
  color: #999999;
}

@media (min-width: 1024px) {
  .form-page { flex-direction: row; }
  .form-page__aside {
    width: 40%;
    /* left edge aligns with the header (24px); larger inner gap toward the form */
    padding: 80px 48px 80px 24px;
    position: sticky;
    top: 120px;
    align-self: flex-start;
  }
  .form-page__main { width: 60%; padding: 80px 24px 80px 48px; }
}

/* ============================================================
   Dealer page
   ============================================================ */
.dealer-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.dealer-page__heading {
  font-family: var(--font-oswald);
  font-size: 56px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  text-align: center;
  margin-bottom: 32px;
}
.dealer-page__intro {
  font-family: var(--font-noto);
  font-size: 18px;
  color: #333333;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
  line-height: 1.625;
}
.dealer-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 64px;
}
.dealer-card {
  background: #F5F5F5;
  padding: 40px;
  border-left: 3px solid var(--gold);
  transition: background 0.3s;
}
.dealer-card:hover { background: #EEEEEE; }
.dealer-card h3 {
  font-family: var(--font-noto);
  font-size: 20px;
  font-weight: 700;
  color: #000;
}
.dealer-card p {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-noto);
  font-size: 14px;
  color: #666666;
  margin-top: 12px;
}
.dealer-card p svg { flex-shrink: 0; margin-top: 2px; }
.dealer-page__cta { text-align: center; }

@media (min-width: 768px) {
  .dealer-cards { grid-template-columns: repeat(3, 1fr); }
}

/* ============================================================
   Privacy page
   ============================================================ */
.privacy-page {
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 24px 120px;
}
.privacy-page__heading {
  font-family: var(--font-oswald);
  font-size: 56px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  text-align: center;
  margin-bottom: 32px;
}
.privacy-page__date {
  font-family: var(--font-noto);
  font-size: 14px;
  color: #999999;
  text-align: center;
  margin-bottom: 48px;
}
.privacy-sections {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}
/* Fill the header-wide frame with two readable columns on larger screens */
@media (min-width: 900px) {
  .privacy-sections {
    grid-template-columns: 1fr 1fr;
    gap: 48px 64px;
  }
}
.privacy-section h2 {
  font-family: var(--font-noto);
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 16px;
}
.privacy-section p {
  font-family: var(--font-noto);
  font-size: 16px;
  color: #333333;
  line-height: 1.8;
}
.privacy-section a { color: var(--gold); }
.privacy-section a:hover { text-decoration: underline; }

/* ============================================================
   404 page
   ============================================================ */
.notfound-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.notfound-page__inner {
  text-align: center;
  padding: 0 24px;
}
.notfound-page__code {
  font-family: var(--font-oswald);
  font-size: 120px;
  font-weight: 600;
  color: #000;
  line-height: 1;
}
.notfound-page__msg {
  font-family: var(--font-noto);
  font-size: 24px;
  color: #333333;
  margin-top: 16px;
  margin-bottom: 32px;
}
.notfound-page__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-noto);
  font-size: 16px;
  color: var(--gold);
}
.notfound-page__link:hover { text-decoration: underline; }

/* ============================================================
   Animations / helpers
   ============================================================ */
.reveal-init { opacity: 0; }
