/* Long Shot site — S · Strip, English-first bilingual */
:root {
  --canvas: #f5f7f6;
  --panel: #ffffff;
  --strip: #2bb3a3;
  --strip-deep: #1f8f82;
  --text: #1a2220;
  --muted: #6b7572;
  --line: rgba(26, 34, 32, 0.1);
  --success: #2d9f6f;
  --warn: #c47a12;
  --max: 42rem;
  --max-wide: 68rem;
  --font-display: "Sora", "PingFang SC", "PingFang TC", "Helvetica Neue", sans-serif;
  --font-body: "Manrope", "PingFang SC", "PingFang TC", "Helvetica Neue", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background:
    radial-gradient(90% 55% at 12% -10%, rgba(43, 179, 163, 0.18) 0%, transparent 55%),
    radial-gradient(70% 45% at 100% 0%, rgba(45, 159, 111, 0.1) 0%, transparent 50%),
    var(--canvas);
  color: var(--text);
  line-height: 1.65;
}
a { color: var(--strip-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 1.25rem 1.25rem 4rem; }
.wrap-wide { max-width: var(--max-wide); }

header {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  align-items: center; justify-content: space-between;
  padding: 1rem 0 1.35rem;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: -0.02em; color: var(--text);
  display: inline-flex; align-items: center; gap: 0.55rem;
  text-decoration: none; font-size: 1.05rem;
}
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; box-shadow: 0 1px 0 rgba(255,255,255,0.7); }
.brand em { font-style: normal; color: var(--strip-deep); }
.header-right { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
nav { display: flex; flex-wrap: wrap; gap: 0.9rem; font-size: 0.92rem; }
nav a { color: var(--muted); font-weight: 600; }
nav a:hover { color: var(--strip-deep); text-decoration: none; }
.lang-switch {
  display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden;
  font-size: 0.78rem; background: var(--panel);
}
.lang-switch button {
  appearance: none; border: 0; background: transparent; color: var(--muted);
  padding: 0.32rem 0.72rem; cursor: pointer; font: inherit; font-weight: 600;
}
.lang-switch button[aria-pressed="true"] {
  background: rgba(43, 179, 163, 0.16); color: var(--text);
}

h1, h2, h3 { font-family: var(--font-display); letter-spacing: -0.02em; line-height: 1.2; }
h1 { font-size: clamp(2.1rem, 5vw, 3.25rem); margin: 0 0 0.55rem; font-weight: 700; }
h2 { font-size: 1.25rem; margin: 2rem 0 0.75rem; }
h3 { font-size: 1.05rem; margin: 1.35rem 0 0.5rem; }
.meta { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }
.card {
  background: var(--panel); border-radius: 16px; padding: 1.1rem 1.2rem;
  border: 1px solid var(--line); margin: 1rem 0;
  box-shadow: 0 10px 30px rgba(26, 34, 32, 0.04);
}
.card h2 { margin-top: 0; }
ul, ol { padding-left: 1.2rem; }
li { margin: 0.35rem 0; }
.note {
  color: var(--muted); font-size: 0.88rem;
  border-left: 3px solid var(--strip); padding-left: 0.75rem; margin: 1rem 0;
}

/* Hero: brand-first, one composition */
.hero {
  margin: 0.5rem 0 1.75rem;
  max-width: 38rem;
  animation: rise 0.7s ease both;
}
.hero .brand-lockup {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.2rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.05;
  margin: 0 0 0.85rem;
  color: var(--text);
}
.hero .brand-lockup em {
  font-style: normal;
  color: var(--strip-deep);
}
.hero .eyebrow {
  display: none; /* brand is the hero signal */
}
.hero h1 {
  font-size: clamp(1.35rem, 3.2vw, 1.85rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.75rem;
  max-width: 22ch;
}
.hero p {
  color: var(--muted);
  max-width: 34rem;
  margin: 0 0 1.35rem;
  font-size: 1.05rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; }
.hero-cta a {
  display: inline-flex; align-items: center; padding: 0.7rem 1.2rem;
  border-radius: 14px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}
.hero-cta a.primary { background: var(--strip); color: #fff; }
.hero-cta a.primary:hover { filter: brightness(1.05); transform: translateY(-1px); text-decoration: none; }
.hero-cta a.ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,0.55); }
.hero-cta a.ghost:hover { border-color: var(--strip); text-decoration: none; }

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* Full-bleed hero visual */
.moodboard {
  margin: 0 calc(50% - 50vw) 2.75rem;
  width: 100vw;
  background: linear-gradient(180deg, #e8eeec 0%, #dfe8e5 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  animation: rise 0.85s 0.08s ease both;
}
.moodboard img {
  display: block;
  width: min(100%, var(--max-wide));
  margin: 0 auto;
  height: auto;
}
.moodboard-caption {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0.7rem 1.25rem 1.05rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.section-head {
  margin: 2.5rem 0 1rem;
  max-width: 36rem;
  animation: rise 0.7s 0.12s ease both;
}
.section-head h2 { margin: 0 0 0.35rem; font-size: 1.45rem; }
.section-head p { margin: 0; color: var(--muted); font-size: 0.98rem; }

.product-gallery {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
  animation: rise 0.75s 0.16s ease both;
}
@media (min-width: 720px) {
  .product-gallery { grid-template-columns: 1.15fr 1fr; }
}
.product-gallery figure {
  margin: 0;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(26, 34, 32, 0.06);
}
.product-gallery figure.wide { grid-column: 1 / -1; }
.product-gallery img {
  display: block;
  width: 100%;
  height: auto;
}
.product-gallery figcaption {
  padding: 0.75rem 1rem 0.95rem;
  color: var(--muted);
  font-size: 0.84rem;
}

.feature-strip {
  display: grid;
  gap: 0.85rem;
  margin: 2rem 0 0.5rem;
}
@media (min-width: 720px) {
  .feature-strip { grid-template-columns: repeat(3, 1fr); }
}
.feature-strip > div {
  padding: 0.15rem 0.1rem 0.35rem;
  border-top: 2px solid var(--strip);
}
.feature-strip strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.02rem;
  margin: 0.65rem 0 0.25rem;
}
.feature-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.link-row {
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.25rem;
  margin: 2.25rem 0 0; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.95rem; font-weight: 600;
}

footer {
  margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.85rem;
}
.placeholder { color: var(--warn); font-weight: 600; }

/* Default: English. Toggle html[lang] via site.js */
[data-lang="zh"] { display: none !important; }
html[lang="zh-Hant"] [data-lang="en"] { display: none !important; }
html[lang="zh-Hant"] [data-lang="zh"] { display: revert !important; }

@media (prefers-reduced-motion: reduce) {
  .hero, .moodboard, .section-head, .product-gallery { animation: none; }
  .hero-cta a { transition: none; }
}
