/* AKITA TRADING CO., LTD — site styles, palette lifted from the 2026 event poster */

:root {
  --blue-light: #12a0e0;
  --blue-mid: #0090d8;
  --blue-deep: #045a9e;
  --navy: #16213e;
  --navy-deep: #0d1526;
  --lime: #9bc53d;
  --lime-deep: #82ab2b;
  --white: #ffffff;
  --paper: #eef2f6;
  --ink-on-blue: #dfeeff;

  --font-display: "Poppins", "Noto Sans TC", sans-serif;
  --font-body: "Inter", "Noto Sans TC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--navy);
  background: var(--paper);
  line-height: 1.6;
}

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

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a {
  color: inherit;
}

.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;
}

/* ---------- scroll-linked reveal ---------- */
/* GSAP/ScrollTrigger sets inline opacity + transform on these at runtime.
   The rule below is the no-JS / animation-disabled fallback: fully visible. */

[data-reveal-heading],
[data-reveal-cards],
[data-reveal-body],
[data-reveal-visual],
.product-card {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal-heading],
  [data-reveal-cards],
  [data-reveal-body],
  [data-reveal-visual],
  .product-card {
    transform: none !important;
  }
}

.zh {
  font-family: "Noto Sans TC", sans-serif;
}

html[data-lang="en"] .zh {
  display: none;
}

html[data-lang="zh"] .en {
  display: none;
}

/* ---------- shared blue texture background ---------- */

.blue-field {
  position: relative;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--blue-mid) 45%, var(--blue-deep) 100%);
  color: var(--white);
  overflow: hidden;
}

.blue-field::before {
  /* halftone dot grid, upper-right */
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.14) 3px, transparent 3.5px);
  background-size: 34px 34px;
  background-position: 60% -10%;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 78% 15%, black 40%, transparent 75%);
  mask-image: radial-gradient(ellipse 60% 55% at 78% 15%, black 40%, transparent 75%);
  pointer-events: none;
}

.blue-field::after {
  /* faint wave lines */
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    repeating-linear-gradient(78deg, transparent 0 26px, rgba(255, 255, 255, 0.5) 26px 27px);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, black 30%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 30% 30%, black 30%, transparent 72%);
  pointer-events: none;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 21, 38, 0.92);
  backdrop-filter: blur(6px);
}

#top,
#products,
#about,
#contact {
  scroll-margin-top: 76px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 12px;
  padding-bottom: 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-name .en {
  display: block;
  font-size: 1.05rem;
}

.brand-name .zh {
  display: block;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--lime);
  letter-spacing: 0.15em;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.03em;
}

.site-nav a:hover {
  color: var(--lime);
}

.header-extras {
  display: flex;
  align-items: center;
  gap: 20px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--ink-on-blue);
  font-size: 0.85rem;
  font-weight: 600;
}

.lang-toggle .lang-option {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.lang-toggle .is-active {
  color: var(--white);
}

.lang-toggle .sep {
  color: rgba(255, 255, 255, 0.3);
}

.quote-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 18px;
  background: var(--blue-deep);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 4px;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.15s ease;
}

.quote-btn:hover {
  background: var(--blue-mid);
  transform: translateY(-1px);
}

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

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

/* ---------- hero ---------- */

.hero {
  padding: 72px 0 96px;
  border-bottom: 6px solid var(--lime);
}

.hero .container {
  position: relative;
}

.hero-frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.55);
  outline: 1px solid rgba(255, 255, 255, 0.25);
  outline-offset: 10px;
  padding: 48px clamp(20px, 5vw, 64px);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-logo {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.hero-logo-badge {
  position: relative;
  width: 84px;
  height: 84px;
}

.hero-logo-badge img {
  width: 100%;
  height: 100%;
}

.hero-logo-badge::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 100%;
  height: 26px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.35), transparent);
  border-radius: 50%;
  filter: blur(1px);
  opacity: 0.6;
}

.hero-wordmark .en {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--white);
}

.hero-wordmark .sub {
  display: block;
  font-weight: 700;
  letter-spacing: 0.2em;
  font-size: 0.95rem;
  color: var(--ink-on-blue);
  margin-top: 6px;
}

.hero-wordmark .zh {
  display: block;
  margin-top: 10px;
  font-size: 0.95rem;
  color: var(--lime);
  letter-spacing: 0.08em;
}

.hero-tagline {
  margin-top: 22px;
  max-width: 46ch;
  color: var(--ink-on-blue);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.hero-cta {
  display: inline-flex;
  padding: 13px 28px;
  background: var(--lime);
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  letter-spacing: 0.02em;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.hero-cta:hover {
  background: var(--lime-deep);
  transform: translateY(-1px);
}

.hero-cta-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.65);
}

.hero-cta-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
}

.hero-products {
  text-align: right;
}

.hero-products .label {
  font-style: italic;
  font-weight: 700;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.9);
  display: inline-block;
  padding: 3px 12px;
  border-radius: 3px;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.hero-products .stack {
  font-family: var(--font-display);
  font-weight: 800;
  color: var(--navy-deep);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  font-size: clamp(1.7rem, 4.2vw, 2.6rem);
  line-height: 1.18;
}

.hero-products .stack .zh {
  font-family: "Noto Sans TC", sans-serif;
  font-size: 0.85em;
  line-height: 1.3;
}

.hero-products .others {
  margin-top: 10px;
  font-style: italic;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-deep);
  background: rgba(255, 255, 255, 0.9);
  display: inline-block;
  padding: 2px 10px;
  border-radius: 3px;
}

/* ---------- section headings ---------- */

.section {
  padding: 88px 0;
}

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

.section-eyebrow {
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--blue-deep);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  color: var(--navy-deep);
  margin: 6px 0 10px;
}

.section-title .zh {
  display: block;
  font-size: 0.55em;
  font-weight: 600;
  color: var(--blue-deep);
  margin-top: 4px;
}

.section-desc {
  color: #4a5468;
  font-size: 0.98rem;
}

/* ---------- products ---------- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  padding: 30px 22px 26px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(15, 40, 80, 0.08);
}

.product-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto 20px;
  border-radius: 10px;
  overflow: hidden;
  background: radial-gradient(circle at 40% 35%, #dcedf9 0%, #cfe6f7 55%, #eef2f6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-photo img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 14px;
}

.product-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-deep);
  letter-spacing: 0.02em;
}

.product-name .zh {
  display: block;
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--blue-deep);
  margin-top: 2px;
}

.product-desc {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #5a6478;
}

/* ---------- about ---------- */

.about {
  padding: 88px 0;
}

.about .section-title,
.about .section-eyebrow {
  color: var(--white);
}

.about .section-head {
  margin-bottom: 20px;
}

.about .section-desc {
  color: var(--ink-on-blue);
  max-width: 56ch;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-emblem {
  position: relative;
  width: clamp(160px, 22vw, 240px);
  height: clamp(160px, 22vw, 240px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.35);
  outline: 1px solid rgba(255, 255, 255, 0.15);
  outline-offset: 14px;
}

.about-emblem img {
  width: 58%;
  height: 58%;
}

.about-stats {
  display: flex;
  gap: clamp(24px, 5vw, 56px);
  margin-top: 40px;
  flex-wrap: wrap;
}

.about-stat .num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--lime);
}

.about-stat .label {
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--ink-on-blue);
}

.about-markets {
  margin-top: 40px;
}

.about-markets-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 14px;
}

.about-markets-label .zh {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0.05em;
  color: var(--ink-on-blue);
  margin-left: 8px;
}

.about-markets-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.market-tag {
  padding: 6px 14px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
}

/* ---------- footer / contact ---------- */

.site-footer {
  background: var(--navy-deep);
  color: var(--white);
  padding: 88px 0 32px;
}

.footer-section-head {
  max-width: none;
  margin: 0 0 44px;
  text-align: left;
}

.footer-section-head .section-title,
.footer-section-head .section-eyebrow {
  color: var(--white);
}

.footer-section-head .section-title .zh {
  color: var(--lime);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand img {
  width: 46px;
  height: 46px;
}

.footer-brand .en {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
}

.footer-brand .zh {
  font-size: 0.8rem;
  color: var(--lime);
  letter-spacing: 0.1em;
  margin-top: 2px;
}

.footer-contact {
  text-align: right;
}

.footer-contact .row {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.footer-contact .row .k {
  font-weight: 700;
  color: var(--lime);
  margin-right: 10px;
}

.footer-contact a {
  text-decoration: none;
  color: var(--white);
}

.footer-contact a:hover {
  color: var(--lime);
}

.footer-rule {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  margin: 40px 0 24px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-company-zh {
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1rem;
}

.footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

/* ---------- responsive ---------- */

@media (max-width: 820px) {
  .hero-frame {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero-products {
    text-align: left;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .about-visual {
    justify-content: flex-start;
  }

  .about-emblem {
    width: 120px;
    height: 120px;
    outline-offset: 8px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-contact {
    text-align: left;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(13, 21, 38, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }

  .site-nav.is-open {
    max-height: 240px;
  }

  .site-nav a {
    padding: 16px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-header .container {
    position: relative;
  }

  .lang-toggle {
    display: none;
  }

  .header-extras {
    gap: 0;
  }

  .quote-btn span {
    display: none;
  }

  .quote-btn {
    padding: 9px;
  }

  .hero-frame {
    padding: 32px 20px;
  }

  .hero-frame {
    outline-offset: 6px;
  }

  .section,
  .about,
  .site-footer {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- quote page ---------- */

.quote-hero {
  padding: 64px 0;
}

.quote-hero .section-head {
  margin-bottom: 0;
}

.quote-hero .section-title,
.quote-hero .section-eyebrow {
  color: var(--white);
}

.quote-hero .section-desc {
  color: var(--ink-on-blue);
}

.email-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(15, 40, 80, 0.08);
  overflow: hidden;
}

.email-card-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 22px;
  background: var(--navy-deep);
}

.email-card-dots {
  display: inline-flex;
  gap: 6px;
}

.email-card-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}

.email-card-bar-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink-on-blue);
}

.email-card-meta {
  padding: 18px 22px 0;
}

.email-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 0.92rem;
}

.email-row-label {
  font-weight: 700;
  color: var(--blue-deep);
  min-width: 44px;
}

.email-static {
  color: var(--navy);
}

.email-card-divider {
  border: none;
  border-top: 1px solid #e4e9f0;
  margin: 18px 0 0;
}

.email-card-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.form-field input,
.form-field textarea {
  font: inherit;
  color: var(--navy);
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--white);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue-mid);
  box-shadow: 0 0 0 3px rgba(18, 160, 224, 0.15);
}

.form-field textarea {
  resize: vertical;
}

.email-card-footer {
  padding: 0 22px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.form-note {
  font-size: 0.82rem;
  color: #5a6478;
  margin: 0;
}
