/* Lugfolio S1 UI — brand A2 Cool paper — no gold (Howard 2026-10-25). Tokens from brand-tokens.css */
@import url("/css/brand-tokens.css");

:root {
  --bg: var(--lug-cream, #F4F5F7);
  --bg-elev: #FFFFFF;
  --ink: var(--lug-charcoal, #1A1A1A);
  --muted: var(--lug-muted, #5A544C);
  --line: var(--lug-line, #E2E4E8);
  --gold: var(--lug-gold, #1A1A1A);
  --gold-soft: #3A3A3A;
  --danger: #9B3B2E;
  --radius: 8px;
  --font-display: var(--lug-font-display, "Bodoni Moda", "GFS Didot", Didot, "Bodoni MT", serif);
  --font-serif: var(--font-display);
  --font-sans: "Avenir Next", "Segoe UI", system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --tracking-wm: var(--lug-tracking-wordmark, 0.28em);
}

* { box-sizing: border-box; }
html { color-scheme: light; }
body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--gold-soft); text-decoration: none; }
a:hover { color: var(--ink); text-decoration: underline; }

.site-header {
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20;
  background: rgba(244, 245, 247, 0.92);
  backdrop-filter: blur(10px);
}
.site-header .inner,
.site-footer .inner,
.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.site-header .inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.brand img {
  height: 28px;
  width: auto;
  display: block;
}
.brand-text {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: var(--tracking-wm);
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.15rem;
  line-height: 1.2;
}
.nav { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; }
.nav a {
  color: var(--muted);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}
.nav a:hover { color: var(--ink); }

.lang-switch select {
  background: var(--bg-elev);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.35rem 0.5rem;
  font-size: 0.85rem;
}

.hero {
  padding: 3.75rem 0 2.25rem;
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.hero .wordmark {
  max-width: min(420px, 90vw);
  height: auto;
  margin: 0 auto 1.25rem;
  display: block;
}
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 0.75rem;
  letter-spacing: var(--tracking-wm);
  text-transform: uppercase;
}
.hero p {
  color: var(--muted);
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}

.search-bar {
  display: flex; gap: 0.5rem; max-width: 36rem;
  margin: 0 auto;
}
.search-bar input {
  flex: 1;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  font-size: 1rem;
}
.search-bar button, .btn {
  background: var(--ink);
  color: var(--bg);
  border: 0;
  border-radius: var(--radius);
  padding: 0.85rem 1.2rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
  cursor: pointer;
}
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn:disabled { opacity: 0.5; cursor: not-allowed; }
a.btn { display: inline-block; text-decoration: none; }

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: var(--muted);
  margin: 2.25rem 0 0;
  text-align: center;
}
.section-title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0.75rem auto 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
  padding: 1.75rem 0 3rem;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(26, 26, 26, 0.06);
}
.card a { color: inherit; text-decoration: none; display: block; }
.card .thumb {
  aspect-ratio: 4/3;
  background: #ECEEF1;
  display: grid; place-items: center;
}
.card .thumb img { width: 70%; height: auto; }
.card .body { padding: 1rem 1.1rem 1.25rem; }
.card .brand-label {
  color: var(--gold);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.card h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin: 0.35rem 0;
  font-weight: 400;
}
.card .ref { color: var(--muted); font-size: 0.85rem; }

.detail {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2rem;
  padding: 2.5rem 0;
}
@media (max-width: 800px) {
  .detail { grid-template-columns: 1fr; }
}
.detail .visual {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 2rem;
  display: grid; place-items: center;
}
.detail .visual img { width: min(360px, 100%); }
.detail h1 {
  font-family: var(--font-display);
  font-weight: 400;
  margin: 0.2rem 0 0.5rem;
  letter-spacing: 0.04em;
}
.brand-label {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.meta { color: var(--muted); font-size: 0.95rem; }
.specs {
  margin: 1.25rem 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem 1rem;
  font-size: 0.92rem;
}
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

.listings { margin-top: 1.5rem; }
.listings h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
}
.listing {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
}
.listing .price {
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  font-weight: 600;
}
.disclaimer {
  margin-top: 1.5rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid var(--ink, #1A1A1A);
  background: rgba(26, 26, 26, 0.04);
  color: var(--muted);
  font-size: 0.88rem;
}

.prose { padding: 2.5rem 0 4rem; max-width: 42rem; margin: 0 auto; }
.prose h1 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.prose p, .prose li { color: var(--muted); }
.muted { color: var(--muted); }
.empty { padding: 3rem 0; color: var(--muted); text-align: center; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0 3rem;
  color: var(--muted);
  font-size: 0.88rem;
}
.site-footer .inner {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: space-between;
}
.adsense-slot {
  display: none;
  min-height: 90px;
  margin: 1.5rem 0;
  border: 1px dashed var(--line);
  color: var(--muted);
  font-size: 0.8rem;
  align-items: center;
  justify-content: center;
}
.adsense-slot.on { display: flex; }

/* Brand guides */
.crumb { padding: 1.25rem 0 0; font-size: 0.85rem; }
.guide-nav { text-align: center; padding: 0 0 3rem; font-size: 0.9rem; color: var(--muted); }
.prose.guide h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  color: var(--ink);
  margin: 2rem 0 0.75rem;
}
.prose.guide h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--ink);
  margin: 1.25rem 0 0.5rem;
}
.prose.guide hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.75rem 0;
}
.prose.guide ul { padding-left: 1.25rem; color: var(--muted); }
.prose.guide li { margin: 0.35rem 0; }
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
}
.guide-table th,
.guide-table td {
  border: 1px solid var(--line);
  padding: 0.65rem 0.75rem;
  text-align: left;
  vertical-align: top;
}
.guide-table th {
  background: rgba(26, 26, 26, 0.04);
  color: var(--ink);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.guide-disclaimer {
  display: block;
  margin-top: 2rem;
  padding: 1.1rem 1.15rem;
  border-left: 2px solid var(--ink, #1A1A1A);
  background: rgba(26, 26, 26, 0.04);
  color: var(--muted);
  font-size: 0.9rem;
}
.guide-disclaimer .disclaimer-heading {
  margin-top: 1rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: none;
}
.guide-disclaimer .disclaimer-heading:first-child { margin-top: 0; }
.guide-disclaimer p { color: var(--muted); margin: 0.35rem 0 0.75rem; }

/* Auth forms (login / register) — A2 cool paper */
.auth-panel {
  max-width: 420px;
  margin: 2.5rem auto 3rem;
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
}
.auth-panel h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.65rem;
  letter-spacing: var(--tracking-wm);
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  text-align: center;
}
.auth-panel .lead {
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
  margin: 0 0 1.5rem;
}
.auth-form label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.35rem;
}
.auth-form .field { margin-bottom: 1rem; }
.auth-form input {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 0.75rem 0.9rem;
  font-size: 1rem;
}
.auth-form input:focus {
  outline: 1px solid var(--ink);
  border-color: var(--ink);
}
.auth-form .btn { width: 100%; margin-top: 0.5rem; }
.auth-form .msg {
  margin: 0.75rem 0 0;
  font-size: 0.9rem;
  min-height: 1.25rem;
}
.auth-form .msg.error { color: var(--danger); }
.auth-form .msg.ok { color: var(--ink); }
.auth-alt {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
}

/* Marketing home hero — tip d7951671 */
.hero-sub {
  max-width: 36rem;
  margin: 0.75rem auto 1.25rem;
  line-height: 1.55;
  font-size: 0.98rem;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin: 0 0 1.5rem;
}
.hero-ctas .btn { text-decoration: none; }

/* A2 elegant image 天窗 — no blank holes */
.thumb, .visual {
  background-color: #F4F5F7;
  background-image: url("/media/watches/watch-placeholder-generic.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid var(--line, #E2E4E8);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}
.thumb img, .visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  background: #F4F5F7;
}
.thumb img[src=""], .visual img[src=""] {
  opacity: 0;
}

.micro { font-size: 0.85rem; letter-spacing: 0.02em; margin-top: 0.35rem; }
