/* SoloBiz — premium indie publication theme */
:root {
  --paper: #FAF8F4;
  --paper-deep: #F3EFE7;
  --ink: #16130E;
  --ink-soft: #2A251D;
  --muted: #6F6659;
  --faint: #A89E8D;
  --hairline: #E7E0D1;
  --accent: #BC3F16;
  --accent-deep: #93300F;
  --accent-soft: #F9ECE3;
  --card: #FFFFFF;
  --dark: #1C1712;
  --dark-line: #33291F;
  --serif: "Fraunces", Georgia, "Times New Roman", "Noto Serif TC", "Songti TC", "PMingLiU", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang TC", "Hiragino Sans TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  --radius: 16px;
  --shadow-sm: 0 1px 2px rgba(22, 19, 14, .05);
  --shadow-md: 0 16px 40px -18px rgba(22, 19, 14, .22);
  --ease: cubic-bezier(.22, .61, .36, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent-soft); color: var(--accent-deep); }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 28px; }
.prose-wrap { max-width: 748px; margin: 0 auto; padding: 0 28px; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}
img { max-width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.site-header::before {
  content: ""; display: block; height: 3px;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent) 55%, #E07B39);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.wordmark {
  font-family: var(--serif); font-weight: 700; font-size: 27px;
  color: var(--ink); letter-spacing: -1px; font-variation-settings: "opsz" 100;
}
.wordmark:hover { text-decoration: none; }
.wordmark span { color: var(--accent); }
.site-nav { display: flex; gap: 6px; align-items: center; }
.site-nav a {
  color: var(--ink-soft); font-size: 15px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px; position: relative;
}
.site-nav a:hover { color: var(--accent-deep); text-decoration: none; background: var(--accent-soft); }
.lang-toggle {
  border: 1px solid var(--hairline) !important; background: var(--card);
  font-weight: 600 !important; margin-left: 8px;
  box-shadow: var(--shadow-sm);
}
.lang-toggle:hover { border-color: var(--accent) !important; background: var(--card) !important; }

/* ---------- Hero ---------- */
.hero { padding: 96px 0 64px; text-align: center; position: relative; overflow: clip; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(720px 320px at 50% -80px, var(--accent-soft), transparent 70%);
}
.hero .wrap { position: relative; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 12.5px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 700; margin-bottom: 26px;
}
.hero-kicker::before, .hero-kicker::after {
  content: ""; width: 44px; height: 1px; background: var(--accent); opacity: .55;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(42px, 6.4vw, 72px); line-height: 1.08;
  margin: 0 0 24px; letter-spacing: -1.5px;
  font-variation-settings: "opsz" 144; text-wrap: balance;
}
.hero-sub { font-size: 19px; color: var(--muted); max-width: 620px; margin: 0 auto; line-height: 1.7; }
.hero-meta {
  margin-top: 30px; font-size: 13px; letter-spacing: 1.6px; text-transform: uppercase;
  color: var(--faint); font-weight: 600;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  border-bottom: 2px solid var(--ink); padding-bottom: 14px; margin-bottom: 36px;
}
.section-head h2 {
  font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 3vw, 32px);
  margin: 0; letter-spacing: -.5px; font-variation-settings: "opsz" 100;
}
.section-head p { color: var(--muted); font-size: 15px; margin: 0; text-align: right; }
.section-label {
  display: flex; align-items: center; gap: 12px;
  font-size: 12.5px; letter-spacing: 2.6px; text-transform: uppercase;
  color: var(--accent-deep); font-weight: 700; margin-bottom: 22px;
}
.section-label::after { content: ""; flex: 1; height: 1px; background: var(--hairline); }

/* ---------- Featured ---------- */
.featured {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  background: var(--dark); color: #F4EFE6;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-md);
}
.featured-visual {
  background:
    radial-gradient(420px 300px at 30% 20%, rgba(224, 123, 57, .35), transparent 65%),
    radial-gradient(360px 280px at 80% 90%, rgba(188, 63, 22, .4), transparent 60%),
    linear-gradient(150deg, #2A2018, #1C1712);
  display: flex; align-items: center; justify-content: center;
  padding: 56px 44px; min-height: 340px; position: relative;
}
.featured-visual::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: radial-gradient(rgba(250, 248, 244, .14) 1px, transparent 1px);
  background-size: 22px 22px;
}
.featured-visual .big-stat {
  font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 144;
  font-size: clamp(34px, 4.2vw, 52px); line-height: 1.15; letter-spacing: -.5px;
  color: #FFF7EC; text-align: center; position: relative; z-index: 1; text-wrap: balance;
}
.featured-copy { padding: 52px 52px 52px 48px; display: flex; flex-direction: column; justify-content: center; }
.featured .kicker {
  font-size: 12px; letter-spacing: 2.6px; text-transform: uppercase;
  color: #E0A075; font-weight: 700; margin-bottom: 16px;
}
.featured .person { font-weight: 600; font-size: 15px; letter-spacing: .4px; color: #CDBFAE; }
.featured h3 {
  font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 100;
  font-size: clamp(28px, 3.2vw, 38px); margin: 10px 0 12px; line-height: 1.22; letter-spacing: -.5px;
}
.featured h3 a { color: #FFF7EC; }
.featured h3 a:hover { color: #F5C99B; text-decoration: none; }
.featured .stat { color: #E8A06A; font-weight: 600; font-size: 15.5px; margin: 0 0 16px; letter-spacing: .2px; }
.featured p.desc { color: #B9AB97; margin: 0 0 26px; font-size: 16.5px; }
.read-more {
  display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
  font-weight: 600; font-size: 15.5px; color: #FFF7EC;
  border: 1px solid #4A3A2C; border-radius: 999px; padding: 11px 24px;
  transition: background .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.read-more:hover { text-decoration: none; background: var(--accent); border-color: var(--accent); transform: translateY(-1px); }

/* ---------- Portrait cards ---------- */
.card-portrait {
  height: 200px; margin: -32px -30px 24px; border-radius: var(--radius) var(--radius) 0 0;
  position: relative; overflow: hidden; background: var(--cream-dark);
}
.card-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  display: block; transition: transform .5s ease;
}
.story-card:hover .card-portrait img { transform: scale(1.04); }

.article-portrait {
  height: 320px; border-radius: 18px; margin: 0 auto 40px; max-width: 880px;
  position: relative; overflow: hidden; box-shadow: var(--shadow-md);
  background: var(--cream-dark);
}
.article-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 20%;
  display: block;
}

/* ---------- Story index cards ---------- */
.story-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 26px; }
.story-card {
  background: var(--card); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 32px 30px 28px;
  display: flex; flex-direction: column; position: relative;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.story-card::after {
  content: ""; position: absolute; top: -1px; left: 30px; right: 30px; height: 3px;
  border-radius: 0 0 4px 4px; background: var(--accent);
  transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.story-card:hover {
  transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: #DCD2BC;
}
.story-card:hover::after { transform: scaleX(1); }
.story-card:hover a.card-title { text-decoration: none; }
.story-card .person {
  font-size: 13px; font-weight: 700; color: var(--muted);
  letter-spacing: 1.6px; text-transform: uppercase;
}
.story-card .card-title {
  font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 100;
  font-size: 24px; color: var(--ink); margin: 10px 0 8px; line-height: 1.32;
  letter-spacing: -.3px; display: block;
}
.story-card .card-title:hover { color: var(--accent-deep); }
.story-card .stat { color: var(--accent); font-weight: 600; font-size: 14.5px; margin-bottom: 14px; }
.story-card .desc { color: var(--muted); font-size: 15.5px; flex: 1; margin: 0 0 20px; line-height: 1.7; }
.story-card .meta {
  font-size: 13.5px; color: var(--faint); display: flex;
  justify-content: space-between; align-items: center;
  border-top: 1px solid var(--hairline); padding-top: 16px;
}
.story-card .meta .read { color: var(--accent-deep); font-weight: 600; }
.story-card .meta .read:hover { color: var(--accent); }

/* ---------- Article ---------- */
.article-hero { padding: 72px 0 10px; text-align: center; }
.article-hero .person {
  font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  font-size: 13px; color: var(--accent-deep);
}
.article-hero h1 {
  font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 144;
  font-size: clamp(34px, 5vw, 54px); line-height: 1.2; letter-spacing: -.8px;
  margin: 18px auto; max-width: 880px; text-wrap: balance;
}
.article-hero .stat { color: var(--accent); font-weight: 600; font-size: 18px; }
.article-hero .date { color: var(--faint); font-size: 14px; margin-top: 12px; letter-spacing: .6px; }
.article-hero::after {
  content: ""; display: block; width: 64px; height: 3px; background: var(--accent);
  margin: 34px auto 0; border-radius: 2px;
}
.article-body { padding: 44px 0 24px; font-size: 18.5px; line-height: 1.85; }
.article-body > p:first-of-type::first-letter {
  font-family: var(--serif); font-weight: 700; font-size: 3.4em;
  float: left; line-height: .82; padding: 6px 12px 0 0; color: var(--accent-deep);
}
.article-body h2 {
  font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 100;
  font-size: 29px; margin: 52px 0 18px; letter-spacing: -.4px; line-height: 1.35;
}
.article-body h3 { font-size: 20px; margin: 34px 0 12px; font-weight: 700; }
.article-body p { margin: 0 0 1.5em; }
.article-body ol, .article-body ul { margin: 0 0 1.5em; padding-left: 1.4em; }
.article-body li { margin-bottom: .65em; }
.article-body li::marker { color: var(--accent); font-weight: 700; }
.article-body blockquote {
  margin: 2.2em 0; padding: 6px 0 6px 28px;
  border-left: 3px solid var(--accent);
  font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.65;
  color: var(--ink-soft);
}
.article-sources {
  border-top: 1px solid var(--hairline); margin-top: 48px; padding-top: 26px;
  background: var(--paper-deep); border-radius: 12px; padding: 26px 28px; border: 1px solid var(--hairline);
}
.article-sources h4 {
  font-size: 12.5px; letter-spacing: 2.2px; text-transform: uppercase;
  color: var(--muted); margin: 0 0 14px; font-weight: 700;
}
.article-sources ul { list-style: none; padding: 0; margin: 0; }
.article-sources li {
  font-size: 14.5px; margin-bottom: 10px; overflow-wrap: anywhere;
  padding-left: 18px; position: relative; color: var(--muted);
}
.article-sources li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.photo-credit { font-size: 13px; color: var(--faint); margin-top: 18px; font-style: italic; }
.article-nav {
  display: flex; justify-content: space-between; gap: 24px;
  border-top: 1px solid var(--hairline); margin-top: 52px; padding-top: 30px;
}
.article-nav a {
  font-weight: 600; color: var(--ink); font-size: 16.5px; font-family: var(--serif);
  max-width: 44%;
}
.article-nav a:hover { color: var(--accent-deep); text-decoration: none; }
.article-nav .nav-label {
  display: block; font-size: 12px; color: var(--faint); font-weight: 700;
  letter-spacing: 1.8px; text-transform: uppercase; margin-bottom: 6px; font-family: var(--sans);
}

/* ---------- About ---------- */
.about-body { padding: 64px 0; }
.about-body h1 {
  font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 144;
  font-size: clamp(36px, 5vw, 54px); margin: 0 0 30px; letter-spacing: -1px; line-height: 1.15;
}
.about-body p { font-size: 18.5px; line-height: 1.85; color: var(--ink-soft); }

/* ---------- Newsletter ---------- */
.newsletter {
  background:
    radial-gradient(560px 240px at 50% -60px, rgba(188, 63, 22, .28), transparent 70%),
    var(--dark);
  color: #F4EFE6; border-radius: 20px; padding: 64px 48px; text-align: center;
  border: 1px solid var(--dark-line); box-shadow: var(--shadow-md); position: relative; overflow: clip;
}
.newsletter .section-label { justify-content: center; color: #E0A075; }
.newsletter .section-label::after { display: none; }
.newsletter h2 {
  font-family: var(--serif); font-weight: 600; font-variation-settings: "opsz" 100;
  font-size: clamp(28px, 3.4vw, 38px); margin: 0 0 14px; letter-spacing: -.5px; color: #FFF7EC;
}
.newsletter p { color: #B9AB97; max-width: 560px; margin: 0 auto 30px; font-size: 16.5px; }
.newsletter-form { display: flex; gap: 10px; max-width: 500px; margin: 0 auto; }
.newsletter-form input {
  flex: 1; padding: 14px 20px; border-radius: 12px;
  border: 1px solid var(--dark-line); background: #241D15;
  color: #F4EFE6; font-size: 16px; font-family: var(--sans);
  transition: border-color .2s var(--ease);
}
.newsletter-form input::placeholder { color: #7A6E5D; }
.newsletter-form input:focus { border-color: var(--accent); outline: none; }
.newsletter-form button {
  padding: 14px 30px; border-radius: 12px; border: none;
  background: linear-gradient(180deg, #D1541F, var(--accent-deep));
  color: #fff; font-size: 16px; font-weight: 600; cursor: pointer; white-space: nowrap;
  box-shadow: 0 8px 20px -8px rgba(188, 63, 22, .7);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.newsletter-form button:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -8px rgba(188, 63, 22, .8); }
.newsletter-note { font-size: 13.5px; color: #7A6E5D; margin-top: 18px; min-height: 1.4em; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--hairline); margin-top: 84px;
  padding: 56px 0 40px; background: var(--paper-deep);
}
.footer-grid {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid var(--hairline); margin-bottom: 28px;
}
.footer-brand { font-family: var(--serif); font-weight: 700; font-size: 26px; letter-spacing: -.8px; }
.footer-brand span { color: var(--accent); }
.footer-tagline { color: var(--muted); font-size: 15px; margin: 12px 0 0; max-width: 420px; }
.footer-nav { display: flex; gap: 26px; padding-top: 6px; }
.footer-nav a { color: var(--ink-soft); font-size: 14.5px; font-weight: 600; }
.footer-nav a:hover { color: var(--accent-deep); text-decoration: none; }
.footer-note { color: var(--faint); font-size: 13.5px; margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .featured { grid-template-columns: 1fr; }
  .featured-visual { min-height: 240px; padding: 44px 28px; }
  .featured-copy { padding: 38px 30px; }
  .footer-grid { flex-direction: column; gap: 24px; }
}
@media (max-width: 640px) {
  .hero { padding: 68px 0 48px; }
  .site-nav a { padding: 8px 10px; font-size: 14px; }
  .wordmark { font-size: 23px; }
  .newsletter { padding: 44px 26px; }
  .newsletter-form { flex-direction: column; }
  .article-nav { flex-direction: column; }
  .article-nav a { max-width: 100%; }
  .section-head { flex-direction: column; gap: 6px; }
  .section-head p { text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
