/* Zerima Prints — site styles
   Direction D "Sobremesa": papel picado, terracotta, sage, cream. */

:root {
  --cream: #fbf3e6;
  --ink: #3b2a20;
  --terracotta: #c8553d;
  --terracotta-dark: #a33f2c;
  --mustard: #e0a83a;
  --sage: #7a9a6a;
  --sage-dark: #5f7d52;
  --blush: #e8a3a0;
  --blush-ink: #5a3d36;
  --muted: #6b5548;
  --sand: #e8d9c4;
  --sand-dark: #dccdb6;
  --paper: #ffffff;
  --line: rgba(59, 42, 32, 0.12);
  --radius: 22px;
  --radius-lg: 32px;
  --container: 1280px;
  --font-body: 'Nunito', 'Segoe UI', Arial, sans-serif;
  --font-display: 'Bree Serif', Georgia, serif;
  --font-hand: 'Caveat', 'Segoe Script', cursive;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--cream);
}

img, svg { max-width: 100%; display: block; }

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.hand { font-family: var(--font-hand); font-weight: 600; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 900px) {
  .container { padding-inline: 40px; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 16px;
  border-radius: 999px;
  z-index: 100;
}
.skip-link:focus { left: 8px; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 14px 24px;
  min-height: 48px;
  font-family: var(--font-body);
  font-weight: 800;
  font-size: 15px;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--terracotta); color: var(--cream); }
.btn-primary:hover { background: var(--terracotta-dark); color: var(--cream); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--cream); }
.btn-outline-light { border-color: var(--cream); color: var(--cream); background: transparent; }
.btn-outline-light:hover { background: var(--cream); color: var(--ink); }
.btn-sage { background: var(--sage); color: var(--cream); }
.btn-sage:hover { background: var(--sage-dark); color: var(--cream); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-dark:hover { background: #2a1d16; color: var(--cream); }
.btn-sm { padding: 11px 18px; min-height: 42px; font-size: 14px; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.link-underline {
  font-weight: 800;
  color: var(--ink);
  border-bottom: 2px solid var(--ink);
  padding-bottom: 1px;
}
.link-underline:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* ---------- Header ---------- */

.picado {
  height: 40px;
  background-color: transparent;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='480' height='40' viewBox='0 0 480 40'><g><path d='M0 0h110v26l-11 9-11-9-11 9-11-9-11 9-11-9-11 9-11-9-11 9-11-9V0z' fill='%23c8553d'/><path d='M120 0h110v26l-11 9-11-9-11 9-11-9-11 9-11-9-11 9-11-9-11 9-11-9V0z' fill='%23e0a83a'/><path d='M240 0h110v26l-11 9-11-9-11 9-11-9-11 9-11-9-11 9-11-9-11 9-11-9V0z' fill='%237a9a6a'/><path d='M360 0h110v26l-11 9-11-9-11 9-11-9-11 9-11-9-11 9-11-9-11 9-11-9V0z' fill='%23e8a3a0'/><g fill='%23fbf3e6'><circle cx='55' cy='12' r='4.5'/><circle cx='175' cy='12' r='4.5'/><circle cx='295' cy='12' r='4.5'/><circle cx='415' cy='12' r='4.5'/></g></g></svg>");
  background-repeat: repeat-x;
  background-position: center top;
}

.site-header { position: relative; z-index: 20; }

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px 8px;
}

.brand { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-display); font-size: 28px; color: var(--terracotta); }
.brand-tag { font-family: var(--font-hand); font-size: 18px; color: var(--sage); margin-top: 2px; }

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  font-weight: 800;
  font-size: 15px;
}
.nav a { color: var(--ink); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--terracotta); }
.nav a.btn { color: var(--cream); }
.lang-switch {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; min-height: 36px; padding: 6px 10px;
  border: 2px solid var(--line); border-radius: 999px;
  font-size: 13px; letter-spacing: .06em;
}
.lang-switch:hover { border-color: var(--ink); }

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--paper);
  border: 2px solid var(--ink);
  border-radius: 999px;
  padding: 10px 16px;
  min-height: 44px;
  font: 800 14px var(--font-body);
  color: var(--ink);
  cursor: pointer;
}

@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--paper);
    border-radius: var(--radius);
    padding: 12px;
    box-shadow: 0 18px 44px rgba(59, 42, 32, 0.16);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; border-radius: 12px; }
  .nav a:hover { background: var(--cream); }
  .nav a.btn { margin-top: 6px; }
}

/* ---------- Sections ---------- */

.section { padding-block: 56px; }
@media (min-width: 900px) { .section { padding-block: 80px; } }
.section-tight { padding-block: 32px; }

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px 24px;
  margin-bottom: 24px;
}
.section-title { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.section-title h2 { font-size: clamp(30px, 4vw, 40px); }
.section-title .hand { font-size: clamp(20px, 2.6vw, 24px); color: var(--sage); }
.section-title .hand.warm { color: var(--terracotta); }

.eyebrow { font-family: var(--font-hand); font-size: 26px; color: var(--terracotta); line-height: 1; }
.eyebrow.green { color: var(--sage); }
.eyebrow.gold { color: var(--mustard); }

.lead { font-size: 18px; color: var(--muted); max-width: 560px; }

/* ---------- Hero ---------- */

.hero {
  display: grid;
  gap: 32px;
  align-items: center;
  padding-block: 32px 8px;
}
@media (min-width: 900px) {
  .hero { grid-template-columns: 1.05fr 1fr; gap: 48px; padding-block: 48px 8px; }
}
.hero-copy { display: flex; flex-direction: column; gap: 20px; }
.hero h1 { font-size: clamp(40px, 5.2vw, 66px); line-height: 1.02; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; font-weight: 800; font-size: 15px; }
.hero-proof span.dim { color: var(--muted); font-weight: 600; }

.collage {
  position: relative;
  background: var(--blush);
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.collage-item {
  position: absolute;
  width: 34%;
}
.collage-item svg { width: 100%; height: auto; }
.collage-item .on-item {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 28%;
  line-height: 1.1;
}
.collage-caption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: var(--cream);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 800;
  color: var(--muted);
}

/* ---------- Trust strip ---------- */

.trust-strip {
  margin-top: 40px;
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
}
@media (max-width: 519px) { .trust-strip { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 900px) { .trust-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 22px 32px; } }
.trust { display: flex; align-items: center; gap: 12px; }
.trust svg { width: 36px; height: 36px; flex-shrink: 0; }
.trust-title { font-weight: 800; font-size: 15px; line-height: 1.2; }
.trust-sub { font-size: 13px; color: var(--muted); line-height: 1.3; }

/* ---------- Product tiles ---------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (min-width: 640px) { .tile-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 1000px) { .tile-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

.tile {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px 14px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  color: var(--ink);
  transition: transform .15s ease, box-shadow .15s ease;
}
a.tile:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(59, 42, 32, 0.12); color: var(--ink); }
.tile svg.product { width: 110px; height: 110px; }
.tile h3 { font-size: 21px; }
.tile-note { font-size: 13px; color: var(--muted); line-height: 1.35; }
.tile-cta { font-size: 14px; font-weight: 800; color: var(--terracotta); margin-top: 2px; }
.tile.dark { background: var(--ink); color: var(--cream); justify-content: center; gap: 10px; }
.tile.dark .hand { font-size: 24px; color: var(--mustard); }
.tile.dark h3 { line-height: 1.15; }
.tile.dark .tile-note { color: #d9cbb8; }

/* ---------- Occasion cards ---------- */

.occ-grid {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 16px;
}
@media (min-width: 640px) { .occ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .occ-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.occ {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  color: var(--ink);
}
a.occ:hover { box-shadow: 0 14px 30px rgba(59, 42, 32, 0.12); color: var(--ink); }
.occ h3 { font-size: 24px; }
.occ p { font-size: 13px; color: var(--muted); }
.occ.featured { background: var(--blush); }
.occ.featured p { color: var(--blush-ink); font-size: 14px; }
.occ.sage { background: var(--sage); color: var(--cream); }
.occ.sage p { color: #eef3e8; }
@media (min-width: 640px) {
  .occ.featured { grid-column: span 2; flex-direction: row; align-items: center; gap: 24px; }
  .occ.featured svg { width: 140px; height: 140px; flex-shrink: 0; }
}
.occ.featured > svg { width: 120px; height: 120px; }
.occ.featured .occ-body { display: flex; flex-direction: column; gap: 10px; }
.occ.featured h3 { font-size: 30px; }

/* ---------- Dark panel (custom orders) ---------- */

.panel-dark {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius-lg);
  padding: 32px 22px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
@media (min-width: 900px) { .panel-dark { padding: 56px; gap: 32px; } }
.panel-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.panel-head h2 { font-size: clamp(32px, 4vw, 48px); max-width: 720px; }
.panel-head .eyebrow { color: var(--mustard); }
.panel-head p.side { font-size: 15px; color: #d9cbb8; max-width: 380px; }

.steps { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.step {
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.step .num { font-family: var(--font-hand); font-size: 26px; color: var(--terracotta); line-height: 1; }
.step h3 { font-size: 22px; }
.step p { font-size: 14px; color: var(--muted); }

.panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.panel-actions .note { font-size: 13px; color: #d9cbb8; }

/* ---------- Split section (business) ---------- */

.split { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 520px 1fr; gap: 48px; } }
.split-copy { display: flex; flex-direction: column; gap: 16px; }
.split-copy h2 { font-size: clamp(30px, 3.6vw, 40px); }
.split-copy p { font-size: 16px; color: var(--muted); }
.split-copy .btn { align-self: flex-start; }

.mini-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini {
  background: var(--paper);
  border-radius: var(--radius);
  min-height: 170px;
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}
.mini svg { width: 90px; height: 90px; }
@media (max-width: 480px) { .mini svg { width: 64px; height: 64px; } .mini { min-height: 130px; } }

/* ---------- Social / follow ---------- */

.social-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 16px; }
@media (min-width: 640px) { .social-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.social-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: var(--ink);
  min-height: 170px;
}
.social-card:hover { box-shadow: 0 14px 30px rgba(59, 42, 32, 0.12); color: var(--ink); }
.social-card svg { width: 32px; height: 32px; }
.social-card h3 { font-size: 22px; }
.social-card .handle { font-weight: 800; color: var(--terracotta); }
.social-card p { font-size: 14px; color: var(--muted); }

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--blush);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}
@media (min-width: 900px) { .cta-band { padding: 40px 48px; } }
.cta-band h2 { font-size: clamp(28px, 3.4vw, 34px); }
.cta-band p { color: var(--blush-ink); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Footer ---------- */

.site-footer {
  padding-block: 56px 40px;
  color: var(--muted);
  font-size: 14px;
}
.footer-grid { display: grid; gap: 28px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; } }
.footer-brand { display: flex; flex-direction: column; gap: 6px; }
.footer-brand .brand-name { font-size: 24px; }
.footer-col h4 { font-family: var(--font-body); font-weight: 800; font-size: 14px; color: var(--ink); margin-bottom: 10px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--muted); font-weight: 700; }
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  font-size: 13px;
}

/* ---------- Floating WhatsApp ---------- */

.wa-float {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--sage);
  color: var(--cream);
  border-radius: 999px;
  padding: 12px 16px 12px 12px;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 10px 24px rgba(59, 42, 32, 0.22);
}
.wa-float:hover { background: var(--sage-dark); color: var(--cream); }
.wa-float svg { width: 24px; height: 24px; }

/* ---------- Page hero (inner pages) ---------- */

.page-hero { padding-block: 40px 8px; display: flex; flex-direction: column; gap: 14px; }
@media (min-width: 900px) { .page-hero { padding-block: 56px 8px; } }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); max-width: 820px; }
.page-hero .lead { max-width: 640px; }

/* ---------- Catalog (products page) ---------- */

.catalog { display: grid; gap: 20px; }
@media (min-width: 760px) { .catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .catalog { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.product-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-card .top { display: flex; align-items: center; gap: 16px; }
.product-card svg.product { width: 92px; height: 92px; flex-shrink: 0; }
.product-card h2 { font-size: 26px; }
.product-card .sub { font-size: 14px; color: var(--muted); }
.product-card ul { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.product-card .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 6px; }

/* ---------- Sayings (family page) ---------- */

.who-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .who-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.who {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 22px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.who h3 { font-size: 22px; }
.who p { font-size: 13px; color: var(--muted); }

.shirt-preview { position: relative; width: 150px; height: 150px; }
.shirt-preview svg { width: 100%; height: 100%; }
.shirt-preview .on-shirt {
  position: absolute;
  left: 29%; top: 40%; width: 42%; height: 46%;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  font-family: var(--font-display);
  line-height: 1.12;
  font-size: 11px;
  color: var(--cream);
}

.phrase-grid { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 640px) { .phrase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .phrase-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.phrase {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.phrase .quote { font-family: var(--font-display); font-size: 20px; line-height: 1.2; }
.phrase .meaning { font-size: 13px; color: var(--muted); }
.phrase .who-for { font-size: 12px; font-weight: 800; color: var(--sage-dark); text-transform: uppercase; letter-spacing: .06em; }

.trade-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
@media (min-width: 900px) { .trade-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.trade {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}
.trade h3 { font-size: 22px; }
.trade p { font-size: 13px; color: var(--muted); font-style: italic; }

/* ---------- Quote form ---------- */

.quote-layout { display: grid; gap: 32px; align-items: start; }
@media (min-width: 1000px) { .quote-layout { grid-template-columns: 1.4fr 1fr; gap: 48px; } }

.form-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
@media (min-width: 760px) { .form-card { padding: 40px; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 14px; font-weight: 800; }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: 600 16px var(--font-body);
  color: var(--ink);
  background: var(--cream);
  border: 2px solid transparent;
  border-radius: 14px;
  padding: 14px 16px;
  min-height: 52px;
  outline: none;
  transition: border-color .15s ease, background-color .15s ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--terracotta); background: #fff; }
.field select { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%236b5548' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field-row.three { grid-template-columns: repeat(1, minmax(0, 1fr)); }
@media (min-width: 760px) { .field-row.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 0; height: 0; }
.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 2px solid var(--line);
  background: var(--cream);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.chip input:checked + span { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--mustard); outline-offset: 2px; }

.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-actions .note { font-size: 13px; color: var(--muted); width: 100%; }
.form-error { display: none; color: var(--terracotta-dark); font-weight: 800; font-size: 14px; }
.form-error.is-visible { display: block; }

.side-card {
  background: var(--paper);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.side-card h3 { font-size: 24px; }
.side-card p, .side-card li { font-size: 14px; color: var(--muted); }
.side-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
.side-stack { display: flex; flex-direction: column; gap: 16px; }
.side-card.warm { background: var(--blush); }
.side-card.warm p { color: var(--blush-ink); }
.contact-lines { display: flex; flex-direction: column; gap: 10px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--ink); }
.contact-lines a:hover { color: var(--terracotta); }
.contact-lines svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Message preview ---------- */

.preview {
  background: var(--cream);
  border-radius: 14px;
  padding: 16px;
  font-size: 14px;
  white-space: pre-wrap;
  color: var(--muted);
  border: 2px dashed var(--line);
}

/* ---------- About ---------- */

.about {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px 22px;
  display: grid;
  gap: 20px;
  align-items: center;
}
@media (min-width: 760px) { .about { grid-template-columns: 180px 1fr; padding: 40px; gap: 32px; } }
.about .portrait {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 56px;
  color: var(--terracotta);
  margin-inline: auto;
}
.about h2 { font-size: clamp(26px, 3vw, 32px); margin-bottom: 8px; }
.about p { color: var(--muted); }

/* ---------- Utilities ---------- */

.stack { display: flex; flex-direction: column; gap: 12px; }
.center { text-align: center; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tile { transition: none; }
}
