@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=DM+Sans:wght@300;400;500&family=Noto+Serif+SC:wght@400;500;700&display=swap');

/* ── Variables ─────────────────────────────────────────── */
:root {
  --bg:           #F5F0E8;
  --bg-card:      #FEFCF7;
  --bg-hover:     #F0EAE0;
  --text:         #1A1410;
  --text-mid:     #5C5248;
  --text-light:   #9C9088;
  --accent:       #B5221A;
  --accent-light: #F4E8E7;
  --accent-hover: #8F1813;
  --gold:         #C4924A;
  --gold-light:   #F7EDD8;
  --border:       #DDD5C8;
  --border-light: #EDE8E0;
  --shadow:       0 2px 24px rgba(26,20,16,0.08);
  --shadow-lg:    0 8px 48px rgba(26,20,16,0.12);
  --radius:       2px;
  --transition:   0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ── Background decoration ─────────────────────────────── */
body::before {
  content: '名字道心美';
  position: fixed;
  top: -5%;
  left: -2%;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(180px, 22vw, 320px);
  color: var(--text);
  opacity: 0.028;
  letter-spacing: 0.1em;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
  writing-mode: vertical-rl;
  white-space: nowrap;
}

body::after {
  content: '福';
  position: fixed;
  bottom: 5%;
  right: 3%;
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(200px, 28vw, 420px);
  color: var(--accent);
  opacity: 0.03;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  line-height: 1;
}

/* ── Header ────────────────────────────────────────────── */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 clamp(24px, 5vw, 80px);
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 240, 232, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
}

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

.logo-char {
  font-family: 'Noto Serif SC', serif;
  font-size: 26px;
  color: var(--accent);
  line-height: 1;
}

.logo-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.logo-text small {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}

.logo-byline {
  text-transform: none;
  color: var(--gold);
  letter-spacing: 0.04em;
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  transition: var(--transition);
  transition-property: color, border-color, background-color;
}

.nav-link:hover {
  color: var(--text);
  border-color: var(--border);
  background: var(--bg-card);
}

.nav-link.active,
.nav-link.nav-checker {
  color: var(--accent);
  border-color: var(--accent-light);
  background: var(--accent-light);
}

.nav-link.nav-checker:hover {
  background: #edd8d7;
  border-color: #d4a5a3;
}

/* ── Main layout ───────────────────────────────────────── */
main {
  position: relative;
  z-index: 1;
  padding-top: 68px;
  min-height: 100vh;
}

/* ── Hero ──────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: clamp(60px, 10vw, 100px) clamp(24px, 5vw, 48px) clamp(40px, 6vw, 60px);
  max-width: 720px;
  margin: 0 auto;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 24px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--border);
}

.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 7vw, 72px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 20px;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: 15px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px;
  margin: 0 auto;
}

/* ── Quiz container ────────────────────────────────────── */
.quiz-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) 80px;
}

.quiz-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

/* ── Region toggle ──────────────────────────────────────── */
.region-toggle {
  display: flex;
  gap: 0;
  padding: 16px 20px 12px;
  border-bottom: 1px solid var(--border-light);
}

.region-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 9px 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--text-light);
  background: transparent;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: var(--transition);
  transition-property: color, background-color, border-color;
  line-height: 1;
}

.region-btn:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
  border-right-width: 0;
}

.region-btn:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.region-btn .region-char {
  font-family: 'Noto Serif SC', serif;
  font-size: 15px;
  line-height: 1;
  transition: color var(--transition);
}

.region-btn:hover {
  color: var(--text);
  background: var(--bg-hover);
  border-color: var(--text-light);
}

.region-btn.active {
  color: var(--accent);
  background: var(--accent-light);
  border-color: var(--accent);
  z-index: 1;
}

.region-btn.active .region-char {
  color: var(--accent);
}

/* Progress bar */
.quiz-progress {
  height: 3px;
  background: var(--border-light);
  position: relative;
}

.quiz-progress-fill {
  height: 100%;
  background: var(--accent);
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

/* Step counter */
.quiz-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 36px 0;
}

.step-counter {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-light);
}

.step-counter span {
  color: var(--accent);
}

/* Steps container */
.steps-container {
  position: relative;
  min-height: 340px;
  overflow: hidden;
}

.step {
  position: absolute;
  inset: 0;
  padding: 28px 36px 36px;
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.step.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  position: relative;
}

.step.exiting {
  opacity: 0;
  transform: translateX(-32px);
  position: absolute;
  pointer-events: none;
}

.step-question {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
  color: var(--text);
}

.step-hint {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 28px;
  font-weight: 300;
}

/* Text input */
.name-input-wrap {
  position: relative;
  margin-bottom: 32px;
}

.name-input {
  width: 100%;
  padding: 16px 0;
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  background: transparent;
  border: none;
  border-bottom: 2px solid var(--border);
  outline: none;
  transition: border-color var(--transition);
  line-height: 1.2;
}

.name-input::placeholder {
  color: var(--border);
  font-style: italic;
}

.name-input:focus {
  border-bottom-color: var(--accent);
}

.input-underline {
  display: none;
}

/* Options grid */
.options-grid {
  display: grid;
  gap: 10px;
  margin-bottom: 32px;
}

.options-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.options-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 520px) {
  .options-grid.cols-3 { grid-template-columns: 1fr; }
  .options-grid.cols-2 { grid-template-columns: 1fr; }
}

.option-card {
  cursor: pointer;
  padding: 18px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  transition: var(--transition);
  transition-property: border-color, background-color, box-shadow, transform;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.option-card:hover {
  border-color: var(--text-light);
  background: var(--bg-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(26,20,16,0.07);
}

.option-card.selected {
  border-color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 0 0 3px rgba(181,34,26,0.08);
}

.option-icon {
  font-family: 'Noto Serif SC', serif;
  font-size: 24px;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--text);
}

.option-card.selected .option-icon {
  color: var(--accent);
}

.option-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.01em;
}

.option-sub {
  font-size: 11px;
  font-weight: 300;
  color: var(--text-light);
  line-height: 1.4;
}

/* Navigation */
.step-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 36px 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.btn-primary:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-primary:disabled:hover {
  background: var(--text);
  border-color: var(--text);
}

.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border-color: transparent;
}

.btn-ghost:hover {
  color: var(--text);
  background: var(--bg-hover);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-hover);
  border-color: var(--text-light);
}

.btn-accent {
  background: var(--accent);
  color: white;
  border-color: var(--accent);
}

.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* Arrow */
.btn-arrow {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
}

.btn:hover .btn-arrow {
  transform: translateX(3px);
}

/* ── Loading state ──────────────────────────────────────── */
.loading-state {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  text-align: center;
  gap: 20px;
}

.loading-state.visible {
  display: flex;
}

.loading-char {
  font-family: 'Noto Serif SC', serif;
  font-size: 72px;
  color: var(--accent);
  line-height: 1;
  animation: breathe 2s ease-in-out infinite;
}

@keyframes breathe {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.06); }
}

.loading-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-style: italic;
  color: var(--text-mid);
}

.loading-dots::after {
  content: '';
  animation: dots 1.6s steps(4, end) infinite;
}

@keyframes dots {
  0%  { content: ''; }
  25% { content: '.'; }
  50% { content: '..'; }
  75% { content: '...'; }
}

/* ── Result ─────────────────────────────────────────────── */
#result-section {
  display: none;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) 80px;
  animation: fadeUp 0.6s ease forwards;
}

#result-section.visible {
  display: block;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.result-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Name display */
.result-name-display {
  padding: 48px 40px 36px;
  text-align: center;
  background: linear-gradient(180deg, var(--bg-card) 0%, #F8F3EA 100%);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.result-name-display::before {
  content: attr(data-char);
  position: absolute;
  font-family: 'Noto Serif SC', serif;
  font-size: 200px;
  color: var(--text);
  opacity: 0.035;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  user-select: none;
  line-height: 1;
  white-space: nowrap;
}

.result-characters {
  font-family: 'Noto Serif SC', serif;
  font-size: clamp(64px, 12vw, 96px);
  font-weight: 500;
  color: var(--text);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: 0.08em;
  animation: charReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes charReveal {
  from { opacity: 0; transform: scale(0.85); filter: blur(4px); }
  to   { opacity: 1; transform: scale(1);    filter: blur(0); }
}

.result-pinyin {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--gold);
  letter-spacing: 0.06em;
  animation: fadeUp 0.6s ease 0.3s both;
}

/* Result body */
.result-body {
  padding: 36px 40px;
}

.result-section {
  margin-bottom: 28px;
  animation: fadeUp 0.5s ease both;
}

.result-section:nth-child(1) { animation-delay: 0.4s; }
.result-section:nth-child(2) { animation-delay: 0.5s; }
.result-section:nth-child(3) { animation-delay: 0.6s; }
.result-section:nth-child(4) { animation-delay: 0.7s; }
.result-section:nth-child(5) { animation-delay: 0.8s; }

.result-section-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 8px;
}

.result-section-content {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-mid);
}

.result-section-content strong {
  font-weight: 500;
  color: var(--text);
}

/* Characters breakdown */
.char-breakdown {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.char-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
  flex: 1;
  min-width: 120px;
}

.char-pill-char {
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  line-height: 1;
}

.char-pill-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.char-pill-pinyin {
  font-size: 12px;
  font-style: italic;
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
}

.char-pill-meaning {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 300;
}

/* Divider */
.result-divider {
  height: 1px;
  background: var(--border-light);
  margin: 0 0 28px;
}

/* Pronunciation pill */
.pronunciation-box {
  background: var(--gold-light);
  border: 1px solid rgba(196, 146, 74, 0.25);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-size: 14px;
  color: var(--text-mid);
  font-weight: 300;
  line-height: 1.5;
}

/* Result footer */
.result-footer {
  padding: 24px 40px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: gap;
  gap: 12px;
}

/* ── Error ──────────────────────────────────────────────── */
.error-box {
  background: #FDF2F2;
  border: 1px solid #E8CACA;
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: 13px;
  color: #8B2020;
  display: none;
}

.error-box.visible {
  display: block;
}

/* ── Checker page ───────────────────────────────────────── */
.checker-wrapper {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) 80px;
}

.checker-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  box-shadow: var(--shadow);
  padding: 40px;
}

.checker-form {
  margin-bottom: 32px;
}

.checker-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.checker-input-row {
  display: flex;
  gap: 12px;
  align-items: flex-end;
}

.checker-input {
  flex: 1;
  padding: 16px 20px;
  font-family: 'Noto Serif SC', serif;
  font-size: 28px;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  outline: none;
  transition: border-color var(--transition);
  letter-spacing: 0.1em;
}

.checker-input:focus {
  border-color: var(--accent);
  background: var(--bg-card);
}

.checker-input::placeholder {
  font-size: 18px;
  color: var(--border);
  font-style: italic;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0;
}

/* Score display */
.score-ring-wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 28px;
}

.score-ring {
  position: relative;
  width: 80px;
  height: 80px;
  flex-shrink: 0;
}

.score-ring svg {
  transform: rotate(-90deg);
}

.score-ring circle {
  fill: none;
  stroke-width: 5;
  stroke-linecap: round;
}

.score-ring .ring-bg {
  stroke: var(--border-light);
}

.score-ring .ring-fill {
  stroke: var(--accent);
  stroke-dasharray: 220;
  stroke-dashoffset: 220;
  transition: stroke-dashoffset 1.2s cubic-bezier(0.4, 0, 0.2, 1) 0.2s;
}

.score-ring .ring-fill.gold {
  stroke: var(--gold);
}

.score-number {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  color: var(--text);
}

.score-info {
  flex: 1;
}

.score-verdict {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 4px;
}

.score-verdict.good { color: var(--gold); }
.score-verdict.great { color: #2A7A4A; }
.score-verdict.poor { color: var(--accent); }

.score-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
  background: var(--gold-light);
  color: var(--gold);
  border: 1px solid rgba(196,146,74,0.25);
}

/* ── Footer ─────────────────────────────────────────────── */
footer {
  position: relative;
  z-index: 1;
  padding: 28px clamp(24px, 5vw, 80px);
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-left {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 300;
}

.footer-left span {
  font-family: 'Noto Serif SC', serif;
  color: var(--accent);
}

.footer-right {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 600px) {
  .step { padding: 24px 24px 28px; }
  .step-nav { padding: 0 24px 24px; }
  .quiz-meta { padding: 16px 24px 0; }
  .result-name-display { padding: 36px 24px 28px; }
  .result-body { padding: 28px 24px; }
  .result-footer { padding: 20px 24px; }
  .checker-card { padding: 28px 24px; }
  .checker-input-row { flex-direction: column; align-items: stretch; }
  footer { flex-direction: column; text-align: center; }
}

/* ── Utility ────────────────────────────────────────────── */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; clip: rect(0,0,0,0); }

/* ── How it Works ───────────────────────────────────────── */
.how-it-works {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px) clamp(40px, 6vw, 60px);
  text-align: center;
}

.how-it-works-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 16px;
}

.how-it-works-eyebrow::before,
.how-it-works-eyebrow::after {
  content: '';
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--border);
}

.how-it-works > h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 40px;
  letter-spacing: -0.01em;
}

.how-it-works > h2 em {
  font-style: italic;
  color: var(--accent);
}

.hiw-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  padding: 0;
  text-align: left;
}

.hiw-step {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px 20px;
  animation: fadeUp 0.5s ease both;
}

.hiw-step:nth-child(1) { animation-delay: 0.1s; }
.hiw-step:nth-child(2) { animation-delay: 0.2s; }
.hiw-step:nth-child(3) { animation-delay: 0.3s; }

.hiw-icon {
  font-family: 'Noto Serif SC', serif;
  font-size: 32px;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 16px;
}

.hiw-step-number {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.hiw-step > h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.2;
}

.hiw-step > p {
  font-size: 13px;
  font-weight: 300;
  color: var(--text-mid);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 520px) {
  .hiw-steps { grid-template-columns: 1fr; }
}
