/* =========================================================
   TerraCool Hubs — Design System
   Same brand palette as the original build, redrawn as an
   editorial / engineering-lab layout instead of a startup
   glassmorphism template.
   ========================================================= */

:root {
  /* ---- brand colour tokens (unchanged from original) ---- */
  --terracotta: #C86A3A;
  --burnt-clay: #A65D38;
  --earth-brown: #6B4F3F;
  --sage: #7B9D7A;
  --forest: #355E3B;
  --teal: #3F8F92;
  --sky: #7AB8C9;
  --ivory: #FAF8F3;
  --sand: #F4EBDD;
  --charcoal: #1D1D1D;
  --dark-earth: #3E2010;
  --near-black: #241309;

  /* derived surfaces */
  --surface-0: var(--ivory);
  --surface-1: var(--sand);
  --surface-dark: var(--dark-earth);
  --surface-darker: var(--near-black);
  --line: rgba(107, 79, 63, 0.16);
  --line-dark: rgba(250, 248, 243, 0.12);
  --text-body: #4A3F3A;
  --text-muted: #9B8A80;
  --text-on-dark: rgba(250, 248, 243, 0.72);
  --text-on-dark-muted: rgba(250, 248, 243, 0.5);

  /* type */
  --font-display: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-data: 'Space Grotesk', sans-serif;

  /* rhythm */
  --container: 1180px;
  --container-narrow: 780px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-pad: clamp(64px, 9vw, 120px);

  --shadow-sm: 0 2px 10px rgba(36, 19, 9, 0.08);
  --shadow-md: 0 16px 40px rgba(36, 19, 9, 0.12);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  background: var(--surface-0);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--charcoal); font-weight: 800; letter-spacing: -0.01em; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--terracotta);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  z-index: 200;
  transition: top 0.2s var(--ease);
}
.skip-link:focus { top: 12px; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: var(--container-narrow); }
.section { padding: var(--section-pad) 0; }
.section--tight { padding: clamp(40px, 6vw, 72px) 0; }
.section--dark { background: var(--surface-dark); color: var(--text-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4,
.section--darker h1, .section--darker h2, .section--darker h3, .section--darker h4 { color: var(--ivory); }
.section--darker { background: var(--surface-darker); color: var(--text-on-dark); }
.section--sand { background: var(--surface-1); }

.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }
.split-5-7 { grid-template-columns: 5fr 7fr; }
.split-7-5 { grid-template-columns: 7fr 5fr; }
@media (max-width: 980px) {
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2, 1fr); }
  .split-5-7, .split-7-5 { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
}

.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }

/* ---------- eyebrow / labels ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-data);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin: 0 0 14px;
}
.section--dark .eyebrow, .section--darker .eyebrow { color: var(--sky); }
.eyebrow::before {
  content: '';
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.kicker { max-width: 640px; }
.kicker--center { margin-left: auto; margin-right: auto; text-align: center; }
.kicker h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); line-height: 1.15; margin-bottom: 14px; }
.kicker p { color: var(--text-muted); line-height: 1.7; font-size: 1.02rem; }
.section--dark .kicker p, .section--darker .kicker p { color: var(--text-on-dark); }

.head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 44px;
}
@media (max-width: 700px) { .head-row { flex-direction: column; align-items: flex-start; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.01em;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn svg { transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--terracotta); color: #fff; }
.btn-primary:hover { background: var(--burnt-clay); box-shadow: 0 10px 26px rgba(200,106,58,0.32); transform: translateY(-2px); }
.btn-outline-dark { border-color: rgba(255,255,255,0.32); color: var(--ivory); background: transparent; }
.btn-outline-dark:hover { border-color: rgba(255,255,255,0.7); background: rgba(255,255,255,0.06); }
.btn-outline-light { border-color: var(--line); color: var(--charcoal); background: transparent; }
.btn-outline-light:hover { border-color: var(--terracotta); color: var(--terracotta); }
.btn-white { background: #fff; color: var(--terracotta); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sage { background: var(--sage); color: #fff; }
.btn-sage:hover { background: var(--forest); }
.btn-block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none !important; box-shadow: none !important; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease;
}
.nav.is-solid, .nav.is-inner {
  background: rgba(36, 19, 9, 0.94);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(255,255,255,0.08);
}
.nav__row { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link {
  font-family: var(--font-display);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(250,248,243,0.75);
  position: relative;
  padding: 6px 0;
  transition: color 0.2s ease;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}
.nav__link:hover { color: var(--ivory); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-active { color: var(--terracotta); }
.nav__link.is-active::after { transform: scaleX(1); }
.nav__cta { margin-left: 6px; }
.nav__toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--ivory);
  padding: 8px;
  cursor: pointer;
}
.nav__mobile {
  display: none;
  max-height: 0;
  overflow: hidden;
  background: var(--surface-darker);
  border-top: 1px solid rgba(255,255,255,0.08);
  transition: max-height 0.3s var(--ease);
}
.nav__mobile.is-open { max-height: 560px; }
.nav__mobile ul { padding: 10px var(--gutter) 22px; }
.nav__mobile li + li { border-top: 1px solid rgba(255,255,255,0.06); }
.nav__mobile a {
  display: block;
  padding: 14px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: rgba(250,248,243,0.88);
}
.nav__mobile a.is-active { color: var(--terracotta); }
.nav__mobile .btn { margin-top: 14px; }

@media (max-width: 940px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__mobile { display: block; }
}

.logo { display: flex; align-items: center; gap: 11px; }
.logo__mark { flex-shrink: 0; }
.logo__word { display: flex; flex-direction: column; line-height: 1.05; }
.logo__word b { font-family: var(--font-display); font-weight: 800; font-size: 16px; color: var(--ivory); letter-spacing: 0.03em; }
.logo__word span { font-family: var(--font-display); font-weight: 700; font-size: 10px; color: var(--terracotta); letter-spacing: 0.28em; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 168px 0 96px;
  background: linear-gradient(160deg, var(--near-black) 0%, var(--charcoal) 55%, #16221a 100%);
  color: var(--ivory);
  overflow: hidden;
}
.hero--inner { padding: 168px 0 88px; }
.hero__glow {
  position: absolute;
  width: 560px; height: 560px;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
}
.hero__glow--a { background: rgba(200,106,58,0.22); top: -180px; right: -140px; }
.hero__glow--b { background: rgba(63,143,146,0.16); bottom: -160px; left: -100px; }
.hero__logo-spin {
  position: absolute;
  top: 50%;
  right: 6%;
  width: min(30vw, 300px);
  height: auto;
  transform: translateY(-50%) rotate(0deg);
  transform-origin: center center;
  will-change: transform;
  pointer-events: none;
  filter: drop-shadow(0 24px 60px rgba(0,0,0,0.45));
  z-index: 1;
}
@media (max-width: 980px) {
  .hero__logo-spin { width: min(38vw, 180px); right: 4%; opacity: 0.85; }
}
@media (max-width: 640px) {
  .hero__logo-spin { display: none; }
}
.hero__content { position: relative; max-width: 700px; z-index: 2; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid rgba(200,106,58,0.35); background: rgba(200,106,58,0.12);
  font-family: var(--font-data); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta);
  margin-bottom: 26px;
}
.hero__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--terracotta); }
.hero h1 {
  font-size: clamp(2.3rem, 5.4vw, 4.1rem);
  line-height: 1.08;
  color: var(--ivory);
  margin-bottom: 22px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, var(--terracotta), var(--sky));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero p.lede { font-size: 1.1rem; line-height: 1.72; color: var(--text-on-dark); max-width: 560px; margin-bottom: 34px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* stat strip in hero */
.stat-strip { position: relative; margin-top: 60px; }
.stat-strip__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--radius-md); overflow: hidden; }
.stat-strip__cell { background: rgba(255,255,255,0.03); padding: 20px 16px; text-align: left; }
.stat-strip__value { font-family: var(--font-data); font-weight: 700; font-size: 1.7rem; line-height: 1; }
.stat-strip__label { font-size: 11px; color: var(--text-on-dark-muted); margin-top: 8px; line-height: 1.4; }
@media (max-width: 900px) { .stat-strip__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .stat-strip__grid { grid-template-columns: repeat(2, 1fr); } }

.scroll-cue {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: rgba(250,248,243,0.4);
  font-family: var(--font-data); font-size: 10px; letter-spacing: 0.24em; text-transform: uppercase;
}
.scroll-cue svg { animation: bob 2s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------- cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  transition: border-color 0.25s ease, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { border-color: rgba(200,106,58,0.4); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card--dark { background: rgba(255,255,255,0.035); border-color: rgba(255,255,255,0.09); }
.card--dark:hover { border-color: rgba(255,255,255,0.24); }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 1.03rem; margin-bottom: 10px; }
.card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.section--dark .card p, .section--darker .card p { color: var(--text-on-dark-muted); }
.section--dark .card h3, .section--darker .card h3 { color: var(--ivory); }

.rule { height: 1px; background: var(--line); border: none; margin: 0; }
.rule--dark { background: var(--line-dark); }

/* ---------- process / numbered sequence (real sequences only) ---------- */
.process { display: grid; gap: 14px; }
.process__step {
  width: 100%;
  text-align: left;
  display: flex; gap: 18px; align-items: flex-start;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--line);
  background: transparent;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}
.process__step:hover { border-color: rgba(200,106,58,0.35); }
.process__step.is-active { background: #fff; border-color: var(--terracotta); box-shadow: var(--shadow-sm); }
.process__num { font-family: var(--font-data); font-weight: 700; font-size: 12px; color: var(--terracotta); flex-shrink: 0; padding-top: 3px; }
.process__step h4 { font-size: 0.95rem; margin-bottom: 4px; }
.process__step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; display: none; }
.process__step.is-active p { display: block; }

.diagram-panel {
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.09);
  background: rgba(255,255,255,0.03);
  padding: 28px;
}

/* ---------- table ---------- */
.data-table { width: 100%; border-collapse: collapse; }
.data-table thead th {
  text-align: left; padding: 16px 20px;
  font-family: var(--font-data); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--terracotta); background: var(--surface-darker);
}
.data-table tbody td { padding: 16px 20px; border-bottom: 1px solid var(--line); font-size: 13.5px; color: var(--text-body); }
.data-table tbody tr:nth-child(even) { background: rgba(200,106,58,0.03); }
.data-table td.name { font-family: var(--font-display); font-weight: 700; color: var(--charcoal); }
.data-table td.spec { font-family: var(--font-data); color: var(--text-muted); font-size: 12.5px; }
.table-wrap { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; overflow-x: auto; }

/* ---------- badges/pills ---------- */
.pill { display: inline-flex; align-items: center; padding: 5px 13px; border-radius: 999px; font-family: var(--font-data); font-size: 10.5px; font-weight: 600; letter-spacing: 0.06em; }

/* ---------- progress bars ---------- */
.metric + .metric { margin-top: 20px; }
.metric__row { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 13px; }
.metric__track { height: 6px; border-radius: 999px; background: rgba(255,255,255,0.09); overflow: hidden; }
.metric__track.light { background: rgba(107,79,63,0.12); }
.metric__fill { height: 100%; border-radius: 999px; }

/* ---------- timeline ---------- */
.timeline { position: relative; padding-left: 64px; }
.timeline::before { content: ''; position: absolute; left: 23px; top: 6px; bottom: 6px; width: 1px; background: rgba(200,106,58,0.3); }
.timeline__item { position: relative; padding-bottom: 34px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute; left: -64px; top: 0;
  width: 47px; height: 47px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--terracotta); color: #fff;
  font-family: var(--font-data); font-weight: 700; font-size: 11px;
}
.timeline__body { border-radius: var(--radius-md); border: 1px solid rgba(255,255,255,0.08); background: rgba(255,255,255,0.03); padding: 18px 20px; }
.timeline__body h4 { color: var(--ivory); font-size: 0.98rem; margin-bottom: 4px; }
.timeline__body p { font-size: 13px; color: var(--text-on-dark-muted); line-height: 1.6; }

/* progress rail (research phases) */
.rail__item { display: flex; gap: 18px; }
.rail__marker-col { display: flex; flex-direction: column; align-items: center; }
.rail__marker { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-family: var(--font-data); font-size: 11px; font-weight: 700; flex-shrink: 0; }
.rail__line { width: 1px; flex: 1; min-height: 26px; margin-top: 4px; }
.rail__body { padding-bottom: 26px; }
.rail__body h4 { font-size: 0.95rem; margin-bottom: 3px; }
.rail__body p { font-size: 12.5px; color: var(--text-muted); line-height: 1.55; }

/* ---------- accordion / FAQ ---------- */
.accordion__item { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.accordion__item + .accordion__item { margin-top: 10px; }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: #fff; border: none; text-align: left; cursor: pointer;
  padding: 17px 20px;
  font-family: var(--font-display); font-weight: 600; font-size: 14.5px; color: var(--charcoal);
}
.accordion__trigger .plus { flex-shrink: 0; font-size: 20px; color: var(--terracotta); line-height: 1; transition: transform 0.25s ease; }
.accordion__item.is-open .plus { transform: rotate(45deg); }
.accordion__panel { max-height: 0; overflow: hidden; background: #FDFAF7; transition: max-height 0.3s var(--ease); }
.accordion__panel p { padding: 0 20px 18px; font-size: 13.5px; color: var(--text-body); line-height: 1.7; }

/* ---------- forms ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--charcoal); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font-family: var(--font-body); font-size: 14px; color: var(--charcoal);
  background: #fff; outline: none; transition: border-color 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); }
.field textarea { resize: vertical; min-height: 130px; }
.field-error { display: none; color: #B3441C; font-size: 12px; margin-top: 6px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: #B3441C; }
.field.has-error .field-error { display: block; }
.form-note { font-size: 12px; color: var(--text-muted); margin-top: 10px; line-height: 1.6; }
.form-success { border-radius: var(--radius-lg); padding: 34px; text-align: center; background: #EEF5EC; border: 1.5px solid var(--sage); }
.form-success h3 { margin: 14px 0 8px; }
.form-success p { color: var(--text-body); line-height: 1.7; }

/* ---------- reveal animation ----------
   Content is visible by default (no-JS / slow-JS safe).
   Only once the `js` class is present on <html> (set synchronously
   in <head>, before paint) do .reveal elements start hidden and
   wait to be animated in by IntersectionObserver in main.js. A
   timed fallback in main.js also force-reveals anything left
   hidden, so a failed observer can never hide content permanently. */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- footer ---------- */
.footer { background: var(--surface-darker); color: var(--ivory); position: relative; overflow: hidden; }
.footer__cta {
  background: linear-gradient(120deg, var(--terracotta) 0%, var(--burnt-clay) 55%, var(--forest) 130%);
  padding: 64px 0;
}
.footer__cta .container { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.footer__cta h2 { color: #fff; font-size: clamp(1.5rem, 3vw, 2.1rem); max-width: 560px; margin-bottom: 8px; }
.footer__cta p { color: rgba(255,255,255,0.85); max-width: 480px; line-height: 1.6; }
.footer__cta .cluster { flex-shrink: 0; }

.footer__main { padding: 68px 0 40px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 44px; }
@media (max-width: 860px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__about p { font-size: 13.5px; line-height: 1.7; color: var(--text-on-dark-muted); max-width: 320px; margin-top: 16px; }
.footer__col h4 { font-family: var(--font-data); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 18px; }
.footer__col li + li { margin-top: 11px; }
.footer__col a { font-size: 13.5px; color: var(--text-on-dark-muted); transition: color 0.2s ease; }
.footer__col a:hover { color: var(--ivory); }

.newsletter { margin-top: 22px; }
.newsletter p.label { font-family: var(--font-data); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 10px; }
.newsletter form { display: flex; gap: 8px; }
.newsletter input { flex: 1; padding: 11px 14px; border-radius: var(--radius-sm); border: 1px solid rgba(255,255,255,0.14); background: rgba(255,255,255,0.05); color: var(--ivory); font-size: 13px; outline: none; }
.newsletter input::placeholder { color: rgba(250,248,243,0.4); }
.newsletter button { background: var(--terracotta); border: none; color: #fff; width: 42px; border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.newsletter__msg { font-size: 12px; color: var(--sage); margin-top: 8px; min-height: 16px; }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); color: var(--text-on-dark-muted); transition: all 0.2s ease; }
.socials a:hover { background: var(--terracotta); border-color: var(--terracotta); color: #fff; }

.footer__bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 22px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer__bottom p { font-family: var(--font-data); font-size: 11.5px; color: var(--text-on-dark-muted); }

/* ---------- misc ---------- */
.text-gradient { background: linear-gradient(120deg, var(--terracotta), var(--teal)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.mt-8 { margin-top: 8px; } .mt-12 { margin-top: 12px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; } .mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.center { text-align: center; }
.img-frame { border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(200,106,58,0.14), rgba(51,42,36,0.05)); pointer-events: none; }

::selection { background: var(--terracotta); color: #fff; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--sand); }
::-webkit-scrollbar-thumb { background: var(--terracotta); border-radius: 999px; }
