/* components.css — reusable UI components */

/* ── LOGO ── */
.logo {
  font-family: var(--serif); font-size: 17px; font-weight: 400;
  color: var(--ink); text-decoration: none; letter-spacing: -.01em;
}
.logo em { font-style: normal; color: var(--warm); }

/* ── BUTTONS ── */
.btn-fill {
  font-size: 13px; font-weight: 400;
  padding: 10px 24px;
  background: var(--ink); color: var(--bg);
  border: none; border-radius: var(--pill-radius);
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  letter-spacing: .01em; transition: opacity .18s;
}
.btn-fill:hover { opacity: .82; }

.btn-line {
  font-size: 13px; font-weight: 300; color: var(--ink);
  text-decoration: none; display: inline-flex; align-items: center; gap: 5px;
  border-bottom: 1px solid var(--line); padding-bottom: 1px;
  transition: border-color .18s;
}
.btn-line:hover { border-color: var(--ink); }

.btn-warm {
  font-size: 13px; font-weight: 400; padding: 10px 24px;
  background: var(--warm); color: #fff;
  border: none; border-radius: var(--pill-radius);
  text-decoration: none; width: fit-content; display: inline-block;
  transition: background .18s;
}
.btn-warm:hover { background: var(--warm2); }

.nav-cta {
  font-family: var(--sans); font-size: 13px; font-weight: 400;
  padding: 7px 18px; background: var(--ink); color: var(--bg);
  border: none; border-radius: var(--pill-radius); text-decoration: none;
  letter-spacing: .01em; transition: opacity .18s;
}
.nav-cta:hover { opacity: .82; }

.btn-ghost-light {
  font-size: 13px; font-weight: 300; color: rgba(246,243,238,.5);
  text-decoration: none; border: 1px solid rgba(246,243,238,.15);
  padding: 8px 20px; border-radius: var(--pill-radius); white-space: nowrap;
  transition: border-color .18s, color .18s;
}
.btn-ghost-light:hover { border-color: rgba(246,243,238,.35); color: var(--bg); }

.btn-submit {
  font-size: 14px; font-weight: 400; padding: 13px 32px;
  background: var(--ink); color: var(--bg);
  border: none; border-radius: var(--pill-radius); cursor: pointer;
  align-self: flex-start; transition: opacity .18s;
}
.btn-submit:hover { opacity: .82; }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; }

/* ── TYPOGRAPHY ── */
.eyebrow {
  font-size: 10px; font-weight: 400; letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint);
}
.h1 {
  font-family: var(--serif);
  font-size: clamp(52px, 5.5vw, 78px);
  font-weight: 300; line-height: 1.03; letter-spacing: -.025em; color: var(--ink);
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(34px, 3.5vw, 50px);
  font-weight: 300; line-height: 1.12; letter-spacing: -.025em; color: var(--ink);
}
.h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 300; line-height: 1.15; letter-spacing: -.025em; color: var(--ink);
}
h1 em, h2 em, h3 em, .h1 em, .h2 em, .h3 em { font-style: italic; color: var(--warm); }

.body-lg { font-size: 16px; font-weight: 300; color: var(--muted); line-height: 1.85; }
.body-md { font-size: 14px; font-weight: 300; color: var(--muted); line-height: 1.8; }
.body-sm { font-size: 13px; font-weight: 300; color: var(--muted); line-height: 1.7; }
strong { font-weight: 500; color: var(--ink); }

.sig {
  font-family: var(--serif); font-size: 22px;
  font-style: italic; color: var(--faint);
}

/* ── HERO TYPOGRAPHY ── */
.hero-eyebrow { font-size: 11px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 24px; }
.hero-desc { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.8; max-width: 340px; align-self: flex-end; }

/* ── BAND ── */
.band-label { font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); flex-shrink: 0; margin-right: 36px; }
.band-item { font-family: var(--serif); font-size: 14px; font-weight: 300; color: rgba(24,22,15,.4); white-space: nowrap; letter-spacing: -.01em; }
.band-item.hl { color: var(--warm); font-weight: 400; }

/* ── STATS ── */
.i-stat { padding: 24px 22px; background: var(--bg); }
.i-stat-n { font-family: var(--serif); font-size: 42px; font-weight: 300; color: var(--ink); letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.i-stat-n span { color: var(--warm); }
.i-stat-l { font-size: 12px; font-weight: 300; color: var(--muted); }

.m-stat-n { font-family: var(--serif); font-size: 46px; font-weight: 300; color: var(--bg); letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.m-stat-n span { color: var(--warm2); }
.m-stat-l { font-size: 11px; font-weight: 300; color: rgba(246,243,238,.4); }

/* ── MOSAIC IMAGES ── */
.mosaic-img { border-radius: 16px 16px 0 0; overflow: hidden; position: relative; }
.mosaic-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.mosaic-img:hover img { transform: scale(1.04); }
.mosaic-label {
  position: absolute; bottom: 14px; left: 14px;
  font-size: 10px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase;
  color: rgba(246,243,238,.8);
  background: rgba(24,22,15,.45); backdrop-filter: blur(8px);
  padding: 4px 12px; border-radius: var(--pill-radius);
}

/* ── FEATURE ROWS ── */
.feat-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.feat-row:hover .feat-img img { transform: scale(1.04); }
.img-chips { position: absolute; bottom: 20px; left: 20px; display: flex; gap: 8px; align-items: center; }
.img-chip { font-size: 10px; font-weight: 400; letter-spacing: .05em; padding: 4px 13px; background: rgba(246,243,238,.82); color: var(--ink); border-radius: var(--pill-radius); backdrop-filter: blur(10px); }
.img-chip.from { color: var(--warm); }
.img-chip-arr { font-size: 11px; color: rgba(246,243,238,.6); }
.feat-tag { font-size: 10px; font-weight: 400; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.feat-num { font-family: var(--serif); font-size: 12px; color: var(--faint); }
.feat-list { list-style: none; margin-bottom: 36px; }
.feat-list li { font-size: 13px; font-weight: 300; color: var(--ink2); padding: 9px 0; border-bottom: 1px solid var(--line2); display: flex; align-items: center; gap: 10px; }
.feat-list li:first-child { border-top: 1px solid var(--line2); }
.feat-list li::before { content: ''; width: 4px; height: 4px; background: var(--warm); border-radius: 50%; flex-shrink: 0; }
.feat-cta { font-size: 13px; font-weight: 400; color: var(--warm); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; border-bottom: 1px solid rgba(181,71,28,.25); padding-bottom: 2px; width: fit-content; transition: gap .2s, border-color .18s; }
.feat-cta:hover { gap: 10px; border-color: var(--warm); }

/* ── MIGRATION CARDS ── */
.mig-card { background: var(--bg); transition: background .22s; overflow: hidden; }
.mig-card:hover { background: var(--white); }
.mig-card-img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .5s ease; filter: saturate(.75) brightness(.85); }
.mig-card:hover .mig-card-img { transform: scale(1.04); filter: saturate(.9) brightness(.9); }
.mig-card-body { padding: 24px 24px 28px; }
.from-to { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.from-pill { font-size: 9px; font-weight: 400; padding: 3px 10px; letter-spacing: .06em; background: rgba(181,71,28,.1); color: var(--warm); border-radius: var(--pill-radius); }
.to-pill { font-size: 9px; font-weight: 400; padding: 3px 10px; letter-spacing: .06em; background: rgba(24,22,15,.06); color: var(--ink); border-radius: var(--pill-radius); }
.arr { font-size: 12px; color: var(--faint); }
.mig-card h3 { font-family: var(--serif); font-size: 19px; font-weight: 300; color: var(--ink); letter-spacing: -.02em; margin-bottom: 10px; line-height: 1.2; }
.mig-card h3 em { font-style: italic; color: var(--warm); }
.mig-card p { font-size: 12px; font-weight: 300; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.mig-card ul li { font-size: 11px; font-weight: 300; color: var(--muted); padding: 6px 0; border-bottom: 1px solid var(--line2); display: flex; align-items: center; gap: 8px; }
.mig-card ul li:first-child { border-top: 1px solid var(--line2); }
.mig-card ul li::before { content: ''; width: 3px; height: 3px; background: var(--warm); border-radius: 50%; flex-shrink: 0; }

/* ── CASE STUDY ── */
.case-eyebrow { font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: rgba(246,243,238,.3); margin-bottom: 12px; }
.case-h2 { font-family: var(--serif); font-size: clamp(28px,3vw,40px); font-weight: 300; color: var(--bg); letter-spacing: -.025em; line-height: 1.15; }
.case-h2 em { font-style: italic; color: var(--warm2); }
.case-img img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.55) saturate(.7); }
.case-img-h { font-family: var(--serif); font-size: clamp(22px,2.5vw,32px); font-weight: 300; color: var(--bg); letter-spacing: -.02em; line-height: 1.2; max-width: 55%; }
.case-img-h em { font-style: italic; color: var(--warm2); }
.c-n { font-family: var(--serif); font-size: 44px; font-weight: 300; color: var(--bg); letter-spacing: -.03em; line-height: 1; margin-bottom: 8px; }
.c-l { font-size: 12px; font-weight: 300; color: rgba(246,243,238,.38); }

/* ── ABOUT ── */
.about-eyebrow { font-size: 10px; font-weight: 400; letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin-bottom: 20px; }
.about-text { font-size: 15px; font-weight: 300; color: var(--muted); line-height: 1.85; }
.about-text p + p { margin-top: 18px; }

/* ── STACK ── */
.stack-item { padding: 22px 18px; background: var(--bg); transition: background .18s; }
.stack-item:hover { background: var(--white); }
.stack-icon { font-size: 22px; margin-bottom: 10px; display: block; }
.stack-name { font-size: 13px; font-weight: 400; color: var(--ink); margin-bottom: 4px; }
.stack-desc { font-size: 11px; font-weight: 300; color: var(--muted); line-height: 1.5; }

/* ── CTA SECTION ── */
.cta-btns { display: flex; gap: 12px; justify-content: center; }

/* ── FOOTER ── */
.f-logo { font-family: var(--serif); font-size: 15px; font-weight: 300; color: var(--muted); }
.f-logo em { font-style: normal; color: var(--warm); }
.f-copy { font-size: 11px; font-weight: 300; color: var(--faint); }

/* ── MARQUEE TYPOGRAPHY ── */
.marquee-h2 { font-family: var(--serif); font-size: clamp(30px,3.2vw,44px); font-weight: 300; color: var(--bg); letter-spacing: -.025em; line-height: 1.15; margin-bottom: 24px; }
.marquee-h2 em { font-style: italic; color: var(--warm2); }
.marquee-p { font-size: 14px; font-weight: 300; color: rgba(246,243,238,.45); line-height: 1.8; max-width: 360px; margin-bottom: 32px; }
