/* ===========================================================
   Natalia Mialik — shared design system
   Used by: new-design.html (home), about.html
   =========================================================== */

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

:root {
  --bg: #ffffff;
  --ink: #141414;
  --ink-2: #5c5c5c;      /* secondary text */
  --ink-3: #9a9a9a;      /* muted / eyebrows */
  --yellow: #FFE566;     /* clean lemon */
  --yellow-soft: #FFF7CC;/* audit callout bg */
  --yellow-line: #F1D95A;/* callout border */
  --line: #EAEAEA;       /* hairlines / card borders */
  --surface: #F6F6F5;    /* soft surfaces / image bg */

  --radius-pill: 999px;
  --radius-xl: 24px;
  --radius-lg: 16px;

  --maxw: 1120px;
  --pad: 40px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* Typography niceties: fewer orphans + more even rag, site-wide */
p, li { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 15px; font-weight: 700; font-family: inherit;
  padding: 14px 26px; border-radius: var(--radius-pill);
  cursor: pointer; text-decoration: none; border: 1.5px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 22px -10px rgba(0,0,0,.35); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--ink); transform: translateY(-1px); }
.btn-sm { padding: 11px 20px; font-size: 14px; }

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex; align-items: center;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill); line-height: 1;
}
.pill-yellow { background: var(--yellow); color: var(--ink); }
.pill-grey { background: var(--surface); color: var(--ink-2); }

.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.nav-name { font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; align-items: center; gap: 34px; list-style: none; }
.nav-links a { font-size: 15px; font-weight: 500; color: var(--ink-2); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }

/* Hamburger (mobile only) */
.nav-burger { display: none; width: 42px; height: 42px; margin-right: -10px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .22s ease, opacity .2s ease; }
.nav-toggle:checked ~ .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle:checked ~ .nav-burger span:nth-child(2) { opacity: 0; }
.nav-toggle:checked ~ .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (home) ---------- */
.hero {
  padding: 40px 0;
  display: flex; flex-direction: column; justify-content: center;
  min-height: calc(100vh - 74px);
  min-height: calc(100dvh - 74px);
}
.hero .eyebrow { margin-bottom: 20px; }
.hero h1 {
  font-size: clamp(30px, 4.8vw, 56px);
  font-weight: 800; line-height: 1.08; letter-spacing: -.035em;
  margin-bottom: 28px; white-space: nowrap;
}
.hero h1 mark { background: var(--yellow); color: var(--ink); padding: 0 .12em; border-radius: 6px; }
.hero-bottom { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end; padding-top: 4px; }
.hero-lead { font-size: 18px; line-height: 1.55; color: var(--ink-2); max-width: 640px; }
.hero-cta { display: flex; gap: 12px; }

/* ---------- Section shell ---------- */
section { scroll-margin-top: 90px; }
.section-head { margin-bottom: 56px; }
.section-head h2 { font-size: clamp(32px, 4vw, 50px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.section-head p { font-size: 18px; line-height: 1.6; color: var(--ink-2); align-self: end; max-width: 440px; }
.offer { padding: 72px 0; }

/* ---------- Offer: audit callout ---------- */
.audit {
  display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center;
  background: var(--yellow-soft); border: 1.5px solid var(--yellow-line);
  border-radius: var(--radius-xl); padding: 26px 30px; margin-bottom: 20px;
}
.audit-text h3 { font-size: 20px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 6px; }
.audit-text p { font-size: 15px; line-height: 1.55; color: var(--ink-2); max-width: 620px; }

/* ---------- Offer: accordion tiers ---------- */
.tiers { display: flex; flex-direction: column; gap: 16px; }
.tier { border: 1.5px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; transition: border-color .2s, box-shadow .2s, transform .2s; }
.tier.open { border-color: var(--ink); box-shadow: 0 20px 50px -30px rgba(0,0,0,.25); }
/* Hover affordance on collapsed tiers: lift + soft shadow */
.tier:not(.open):hover { border-color: #d0d0d0; box-shadow: 0 14px 34px -24px rgba(0,0,0,.25); transform: translateY(-2px); }
.tier-head {
  display: grid; grid-template-columns: 44px auto 1fr auto; gap: 18px; align-items: center;
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: inherit; padding: 28px 30px; color: var(--ink);
}
.tier-num { font-size: 15px; font-weight: 700; color: var(--ink-3); }
.tier-name { font-size: 23px; font-weight: 700; letter-spacing: -.015em; }
.tier-head .pill { justify-self: start; }
.tier-toggle {
  width: 40px; height: 40px; border-radius: 50%; background: var(--surface);
  display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ink);
  transition: transform .25s ease, background .2s;
}
.tier.open .tier-toggle { background: var(--yellow); transform: rotate(180deg); }

.tier-body { display: none; padding: 0 30px 32px 92px; }
.tier.open .tier-body { display: block; }
.tier-meta { font-size: 13px; font-weight: 700; letter-spacing: .04em; color: var(--ink); margin-bottom: 22px; }
.tier-list { list-style: none; display: flex; flex-direction: column; gap: 16px; max-width: 680px; }
.tier-list li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.check { width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 12px; margin-top: 1px; }
.tier-outcome { margin-top: 24px; font-size: 15px; font-style: italic; color: var(--ink-2); border-left: 3px solid var(--yellow); padding-left: 14px; }
.tier-cta { margin-top: 24px; }

/* ---------- Work ---------- */
.work { padding: 72px 0; }
.work-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.work-card {
  display: flex; flex-direction: column; text-decoration: none; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line); border-radius: var(--radius-xl);
  overflow: hidden; transition: transform .18s ease, box-shadow .18s ease, border-color .18s;
}
.work-card:hover { transform: translateY(-3px); box-shadow: 0 24px 50px -30px rgba(0,0,0,.3); border-color: #dcdcdc; }
.work-thumb { position: relative; height: 210px; background: var(--surface); padding: 16px; display: flex; align-items: center; justify-content: center; }
.work-thumb span { font-size: 44px; opacity: .35; }
.work-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.work-pills { display: flex; gap: 8px; flex-wrap: wrap; }
.work-body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.work-cat { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 12px; }
.work-title { font-size: 22px; font-weight: 700; letter-spacing: -.015em; line-height: 1.25; margin-bottom: 20px; flex: 1; }
.work-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.work-arrow { width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); display: flex; align-items: center; justify-content: center; font-size: 16px; transition: transform .2s; }
.work-card:hover .work-arrow { transform: translateX(4px); }

/* Featured work card: elevated within the 2x2 grid */
.work-card.featured { border-color: var(--ink); box-shadow: 0 20px 44px -30px rgba(0,0,0,.4); }
.work-card.featured .work-thumb { background: var(--surface); }
.work-card.featured .work-thumb span:not(.work-badge) { opacity: 1; }
.work-card.featured:hover { border-color: var(--ink); }
.work-thumb .work-badge {
  position: absolute; top: 16px; left: 16px; z-index: 1;
  background: var(--ink); color: #fff; opacity: 1;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: var(--radius-pill); line-height: 1;
}

/* ---------- View routing (pure CSS, no JS) ----------
   A .subview is hidden until its id matches the URL hash (#about).
   When targeted it becomes a full-screen panel below the nav,
   covering the home view. Clicking any other link (#offer, #work,
   #contact, logo) drops the :target and returns to home.
   Add more case-study subviews the same way. */
.subview { display: none; }
/* A subview fills exactly one screen (below the nav): its content
   grows to fill, and the footer sits at the bottom. */
.subview:target {
  display: flex; flex-direction: column;
  min-height: calc(100vh - 74px);
  min-height: calc(100dvh - 74px);
}
.subview:target .footer-bar { margin-top: 0; }
/* Hide the home view while a subview is open, so nothing shows
   through the translucent nav or bleeds in on overscroll. */
body:has(.subview:target) .homeview { display: none; }

/* ---------- About page ---------- */
.about-page { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 32px 0; }
.about-layout { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.about-photo { position: sticky; top: 90px; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%; border-radius: var(--radius-xl); display: block; }
.about-content .eyebrow { margin-bottom: 12px; }
.about-content h1 { font-size: clamp(26px, 2.8vw, 38px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 18px; }
.about-content p { font-size: 15px; line-height: 1.55; color: var(--ink-2); margin-bottom: 14px; max-width: 640px; text-wrap: pretty; }
.about-content p strong { color: var(--ink); font-weight: 700; }
.about-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }

/* ---------- Case study (subview) ---------- */
.case { flex: 1; padding: 36px 0 24px; }
.case-wrap { max-width: 800px; }
.case-back { margin-bottom: 36px; }
.case-head { margin-bottom: 36px; }
.case-head .eyebrow { margin-bottom: 14px; }
.case-head h1 { font-size: clamp(30px, 4vw, 48px); font-weight: 800; letter-spacing: -.03em; line-height: 1.08; margin-bottom: 20px; }
.case-tags { display: flex; gap: 10px; flex-wrap: wrap; }

/* Image slots (placeholders until real screenshots go in) */
.case-figure { background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-xl); aspect-ratio: 16 / 9; display: flex; align-items: center; justify-content: center; margin-bottom: 36px; }
.case-figure span { font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-3); }
.case-figure-hero { aspect-ratio: 21 / 9; }
.case-figure-grid { display: flex; flex-direction: column; gap: 24px; margin-bottom: 36px; }
.case-figure-grid .case-figure { margin-bottom: 0; }

/* Real screenshot figures */
.case-shot { margin: 0 0 36px; border: 1.5px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; background: var(--surface); }
.case-shot img { width: 100%; height: auto; display: block; }
.case-figure-grid .case-shot { margin-bottom: 0; }
.case-pattern .case-shot { margin-top: 18px; margin-bottom: 0; }

.case-section { margin-bottom: 36px; }
.case-label { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink); border-left: 3px solid var(--yellow); padding-left: 12px; margin-bottom: 16px; }
.case-section p { font-size: 17px; line-height: 1.7; color: var(--ink-2); margin-bottom: 16px; }
.case-section p strong { color: var(--ink); font-weight: 700; }
.case-caption { font-size: 14px !important; font-weight: 700; color: var(--ink) !important; margin: 28px 0 16px !important; }

.case-outcome { background: var(--yellow-soft); border: 1.5px solid var(--yellow-line); border-radius: var(--radius-xl); padding: 28px 30px; margin-bottom: 40px; }
.case-outcome .case-label { border-left-color: var(--ink); }
.case-outcome ul { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.case-outcome li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.5; color: var(--ink); }
.case-outcome li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; background: var(--yellow); border-radius: 50%; font-size: 11px; display: flex; align-items: center; justify-content: center; }
.case-end { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 36px; }
.case-end h2 { font-size: clamp(22px, 2.6vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 22px; max-width: 520px; }
.case-end-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Plain bullet list inside a case study */
.case-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 4px 0 20px; }
.case-list li { position: relative; padding-left: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-2); }
.case-list li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--yellow); }

/* Pull quote */
.case-quote { border-left: 3px solid var(--yellow); padding: 4px 0 4px 18px; margin: 8px 0 4px; font-size: 19px; font-weight: 600; line-height: 1.4; color: var(--ink); letter-spacing: -.01em; }

/* Three-stage sequence (stacked, full-width, numbered) */
.stages { display: flex; flex-direction: column; gap: 32px; margin: 12px 0 24px; }
.stage-head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.stage-num { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--ink); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.stage-name { font-size: 17px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.stage-desc { font-size: 14px; line-height: 1.5; color: var(--ink-2); margin-top: 3px; max-width: 620px; }
.stage-frame { margin: 0; border: 1.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); }
.stage-frame img { width: 100%; height: auto; display: block; }

/* Figure caption note (e.g. NDA disclaimer) — sits under a figure */
.case-figure-note { margin: -24px 0 36px; font-size: 13px; font-style: italic; color: var(--ink-3); }

/* Prompt rules list (AI Agent) */
.case-rules { list-style: none; counter-reset: rule; display: flex; flex-direction: column; gap: 22px; margin: 8px 0 32px; }
.case-rules > li { counter-increment: rule; position: relative; padding-left: 46px; }
.case-rules > li::before { content: counter(rule); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; background: var(--yellow); border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.rule-title { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.rule-desc { font-size: 15px; line-height: 1.6; color: var(--ink-2); margin-bottom: 10px; }
.rule-examples { display: flex; flex-direction: column; gap: 6px; }
.ex { font-size: 14px; line-height: 1.5; }
.ex-good { color: #2f7d52; }
.ex-bad { color: #b3593f; }

/* Content patterns (Empty states) */
.case-pattern { border: 1.5px solid var(--line); border-radius: var(--radius-xl); padding: 22px 26px; margin-bottom: 16px; }
.pattern-name { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.case-pattern ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.case-pattern li { font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.case-pattern li strong { color: var(--ink); font-weight: 700; }

/* ---------- UX Copy Cat demo (case study) ---------- */
.demo { border: 1.5px solid var(--line); border-radius: var(--radius-xl); overflow: hidden; margin: 4px 0 36px; }
.demo-role { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; }
.demo-prompt { padding: 24px 26px; }
.demo-q { font-size: 15px; line-height: 1.6; color: var(--ink); margin-bottom: 16px; }
.demo-mock { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 16px 18px; }
.demo-mock-title { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.demo-mock-body { font-size: 14px; line-height: 1.55; color: var(--ink-2); margin-bottom: 12px; }
.demo-mock-body strong { color: var(--ink); font-weight: 700; }
.demo-mock-btn { display: inline-block; background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 7px 14px; border-radius: var(--radius-pill); }
.demo-send { padding: 4px 26px 22px; display: flex; justify-content: flex-end; border-bottom: 1px solid var(--line); }
.demo-response { display: none; padding: 20px 26px 26px; }
.demo-response.visible { display: block; }
.demo-reveal { overflow: hidden; height: 0; }
.demo-reveal img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); }

/* ---------- BOM tooltip (rebuilt crisp, Syncron) ---------- */
.bom-demo { display: flex; justify-content: center; background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--radius-xl); padding: 52px 32px; margin: 0 0 36px; }
.bom-tip { position: relative; max-width: 480px; background: #171717; color: #fff; border-radius: 16px; padding: 26px 28px; box-shadow: 0 24px 50px -22px rgba(0,0,0,.45); }
.bom-tip-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 14px; }
.bom-tip-head strong { font-size: 19px; font-weight: 700; letter-spacing: -.01em; }
.bom-tip-close { flex-shrink: 0; color: rgba(255,255,255,.5); font-size: 20px; line-height: 1; }
.bom-tip p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,.85); margin-bottom: 12px; }
.bom-tip p:last-child { margin-bottom: 0; }
.bom-tip p strong { color: #fff; font-weight: 700; }
.bom-tip::after { content: ""; position: absolute; bottom: -8px; left: 38px; width: 18px; height: 18px; background: #171717; border-radius: 3px; transform: rotate(45deg); }

/* ---------- Contact ---------- */
.contact { padding: 100px 0 40px; }
.contact h2 { font-size: clamp(30px, 4.8vw, 56px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; margin-bottom: 32px; }
.contact h2 mark { background: var(--yellow); color: var(--ink); padding: 0 .1em; border-radius: 8px; }
.contact-links { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer-bar { border-top: 1px solid var(--line); margin-top: 88px; }
.footer-bar .wrap { display: flex; justify-content: space-between; align-items: center; height: 72px; font-size: 14px; color: var(--ink-3); }
.footer-bar a { color: var(--ink-3); text-decoration: none; }
.footer-bar a:hover { color: var(--ink); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  :root { --pad: 22px; }
  .nav-burger { display: flex; }
  .nav-right { gap: 8px; }
  .nav-cta { padding: 9px 15px; font-size: 13px; }
  .nav-links {
    display: none;
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: 8px 0 16px;
    box-shadow: 0 14px 26px -18px rgba(0,0,0,.35);
  }
  .nav-toggle:checked ~ .nav-links { display: flex; }
  .nav-links a { display: block; padding: 14px var(--pad); font-size: 17px; color: var(--ink); }

  .hero { padding: 32px 0; }
  .hero-bottom { grid-template-columns: 1fr; gap: 28px; }

  .section-head { grid-template-columns: 1fr; gap: 16px; margin-bottom: 36px; }
  .section-head p { align-self: start; }

  .audit { grid-template-columns: 1fr; gap: 16px; text-align: left; }
  .tier-head { grid-template-columns: 1fr auto; column-gap: 16px; row-gap: 12px; padding: 22px; }
  .tier-num { display: none; }
  .tier-name { grid-column: 1; grid-row: 1; font-size: 20px; }
  .tier-head .pill { grid-column: 1; grid-row: 2; justify-self: start; }
  .tier-toggle { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .tier-body { padding-left: 22px; }

  .work-grid { grid-template-columns: 1fr; }

  .about-page { justify-content: flex-start; padding: 40px 0 32px; }
  .about-layout { grid-template-columns: 1fr; gap: 28px; }
  .about-photo { position: static; max-width: 240px; }
  .about-content h1 { margin-bottom: 18px; }
  .about-content p { font-size: 16px; }
  .about-cta { width: 100%; }
  .about-cta .btn { flex: 1 1 170px; justify-content: center; }

  .case-figure-grid { grid-template-columns: 1fr; }
  .case-figure-hero { aspect-ratio: 16 / 10; }
  .stages { grid-template-columns: 1fr; gap: 22px; }
  .case-outcome { padding: 24px 22px; }

  .offer, .work { padding: 56px 0; }
}
@media (max-width: 520px) {
  .hero h1 { white-space: normal; }
}
