:root {
  --ground: #F3F1EC;
  --sand: #E4E0D7;
  --ink: #14181B;
  --body: #343A40;
  --muted: #474D53;
  --line: #D5D1C8;
  --spruce: #1F5A4A;
  --spruce-soft: #E6EFEB;
  --stv-navy: #1A2332;
  --stv-panel: #243044;
  --stv-orange: #E8622D;
  --display: 'Archivo', 'Arial Black', sans-serif;
  --text: 'Public Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --gutter: clamp(20px, 6.6vw, 96px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: var(--ink); }
a:hover { color: var(--spruce); }
:focus-visible { outline: 3px solid var(--stv-orange); outline-offset: 3px; border-radius: 4px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }

h1, h2 { font-family: var(--display); font-stretch: 112%; font-weight: 800; letter-spacing: -0.015em; margin: 0; }
h1 { font-size: clamp(40px, 5.3vw, 76px); line-height: 1.02; }
h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.06; }
p { margin: 0; }

/* ---------- Header ---------- */
.site-header { position: relative; z-index: 10; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 24px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: inherit; }
.brand:hover { color: inherit; }
.brand svg { flex-shrink: 0; }
.brand-name { display: flex; flex-direction: column; line-height: 1; }
.brand-name b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 19px; letter-spacing: 0.02em; text-transform: uppercase; }
.brand-name span { font-family: var(--display); font-stretch: 125%; font-weight: 500; font-size: 12px; letter-spacing: 0.28em; text-transform: uppercase; margin-top: 4px; opacity: 0.8; }
.nav { display: flex; align-items: center; gap: 36px; font-weight: 500; font-size: 16px; }
.nav a { text-decoration: none; color: inherit; }
.nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; }
.nav .btn { text-decoration: none; }
.nav a.btn-light, .nav a.btn-light:hover { color: var(--ink); opacity: 1; }
.nav a.btn-dark, .nav a.btn-dark:hover { color: var(--ground); }
.menu-toggle { display: none; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 6px; border: 0; font: inherit; font-size: 16px; font-weight: 600; text-decoration: none; cursor: pointer; }
.btn-dark { background: var(--ink); color: var(--ground); }
.btn-dark:hover { background: #2A3035; color: var(--ground); }
.btn-light { background: #FFFFFF; color: var(--ink); }
.btn-light:hover { background: var(--sand); color: var(--ink); }
.btn-spruce { background: var(--spruce); color: #FFFFFF; }
.btn-spruce:hover { background: #17463A; color: #FFFFFF; }
.btn-stv { background: var(--stv-orange); color: var(--stv-navy); font-weight: 700; }
.btn-stv:hover { background: #F07A48; color: var(--stv-navy); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 820px; color: #FFFFFF; overflow: hidden; background: #2B3A46; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; z-index: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14,18,28,0.82) 0%, rgba(14,18,28,0.62) 45%, rgba(14,18,28,0.15) 80%, rgba(14,18,28,0.05) 100%); }
.hero::after { content: ""; position: absolute; inset: 0 0 auto 0; z-index: 1; height: 160px; background: linear-gradient(180deg, rgba(14,18,28,0.55), rgba(14,18,28,0)); }
.hero .site-header { color: #FFFFFF; }
.hero .nav a:hover { color: #FFFFFF; opacity: 0.85; }
.hero-copy { position: relative; z-index: 2; padding-top: 150px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 28px; }
.hero-copy > * { max-width: 920px; }
.hero-kicker { font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-copy p.lede { font-size: 20px; line-height: 1.6; color: #EEF1F3; max-width: 760px; }
.hero > .site-header { position: relative; z-index: 3; }

/* ---------- Who we are ---------- */
.about { background: var(--spruce); color: var(--ground); padding-block: 104px; }
.about .wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
.about-copy { display: flex; flex-direction: column; gap: 24px; }
.about-copy h2 { font-size: clamp(32px, 3vw, 44px); }
.about-copy p { font-size: 18px; line-height: 1.7; color: var(--spruce-soft); max-width: 68ch; }
.founders { list-style: none; margin: 0; padding: 8px 0 0; display: flex; flex-direction: column; gap: 16px; }
.founder { display: flex; align-items: center; gap: 20px; padding: 24px; border-radius: 12px; background: var(--ground); color: var(--ink); }
.founder .initials { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--ground); font-family: var(--display); font-weight: 800; font-size: 22px; }
.founder b { display: block; font-size: 20px; font-weight: 600; }
.founder span { font-size: 16px; color: var(--muted); }

/* ---------- Contact ---------- */
.contact { padding-block: 104px; }
.contact .wrap { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info > p { font-size: 18px; color: var(--body); }
.contact-lines { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.contact-lines li { display: flex; gap: 14px; align-items: flex-start; line-height: 1.5; overflow-wrap: anywhere; }
.contact-lines svg { flex-shrink: 0; margin-top: 1px; }
.form { display: flex; flex-direction: column; gap: 18px; padding: 40px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 500; }
.field input, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 6px; border: 1px solid #A8A295; background: #FFFFFF; font: inherit; font-size: 16px; color: var(--ink); }
.field textarea { resize: vertical; min-height: 140px; }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-note { font-size: 14px; color: var(--muted); }
.form-error { font-size: 15px; color: #9F1D1D; font-weight: 500; }

/* ---------- Products page ---------- */
.page-top .site-header { color: var(--ink); }
.page-intro { padding-top: 96px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 20px; }
.page-intro h1 { font-size: clamp(40px, 4.4vw, 64px); max-width: 16ch; }
.page-intro p { font-size: 19px; color: var(--body); max-width: 60ch; }
.page-kicker { font-size: 15px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--spruce); }

.product { display: grid; grid-template-columns: 7fr 5fr; border-radius: 16px; overflow: hidden; background: var(--stv-navy); color: #F3F1EC; }
.product-copy { padding: 64px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.product-copy h2 { line-height: 0; }
.product-copy h2 img { width: 456px; height: auto; }
.product-copy p { font-size: 19px; line-height: 1.65; color: #D5DAE1; max-width: 56ch; }
.status { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #E3F1EA; color: #14532D; font-size: 14px; font-weight: 600; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #16A34A; }
.product-visual { background: var(--stv-panel); display: flex; align-items: center; justify-content: center; padding: 56px; }
.phone { width: 260px; padding: 12px; border-radius: 36px; background: #0F1520; border: 1px solid #3A4659; }
.phone-screen { border-radius: 26px; background: #F3F4F6; padding: 28px 18px 32px; display: flex; flex-direction: column; gap: 14px; color: #101828; }
.phone-from { text-align: center; font-size: 13px; font-weight: 600; color: #4A5565; }
.bubble { align-self: flex-start; max-width: 200px; padding: 12px 14px; border-radius: 16px 16px 16px 4px; background: #FFFFFF; font-size: 14px; line-height: 1.45; box-shadow: 0 1px 2px rgba(16,24,40,0.08); }
.link-card { align-self: flex-start; width: 200px; border-radius: 12px; overflow: hidden; background: #FFFFFF; box-shadow: 0 1px 2px rgba(16,24,40,0.08); }
.link-card-thumb { height: 96px; background: var(--stv-navy); display: flex; align-items: center; justify-content: center; }
.link-card-url { padding: 10px 12px; font-size: 12px; color: #4A5565; }
.confirmed { align-self: flex-end; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px; background: #E3F1EA; color: #14532D; font-size: 13px; font-weight: 600; }
.more { margin-top: 32px; font-size: 17px; color: var(--muted); }
.products { padding-bottom: 96px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #C4C9CE; padding-block: 48px; }
.site-footer .wrap { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.footer-brand { display: flex; flex-direction: column; gap: 10px; }
.footer-brand b { font-family: var(--display); font-stretch: 125%; font-weight: 800; font-size: 18px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ground); }
.footer-brand span { font-size: 15px; }
.footer-nav { display: flex; gap: 28px; font-size: 15px; flex-wrap: wrap; }
.footer-nav a { color: #E4E0D7; text-decoration: none; }
.footer-nav a:hover { color: #FFFFFF; text-decoration: underline; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .about .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; }
  .product-copy { padding: 48px; }
  .hero { min-height: 720px; }
  .hero-copy { padding-top: 110px; }
}

/* ---------- Phone ---------- */
@media (max-width: 720px) {
  body { font-size: 16px; }
  .site-header { padding-block: 16px; flex-wrap: wrap; }
  .brand svg { width: 36px; height: 36px; }
  .brand-name b { font-size: 16px; }
  .brand-name span { font-size: 10px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding-top: 12px; }
  .nav.is-open { display: flex; }
  .nav a { display: flex; align-items: center; min-height: 48px; padding: 0 4px; font-size: 18px; }
  .nav .btn { justify-content: center; margin-top: 8px; }
  .hero .nav.is-open { background: rgba(14,18,28,0.9); margin-inline: calc(var(--gutter) * -1); padding: 12px var(--gutter) 20px; width: calc(100% + var(--gutter) * 2); }

  .hero { min-height: 0; }
  .hero-photo { object-position: 62% 30%; }
  .hero::before { background: linear-gradient(180deg, rgba(14,18,28,0.7) 0%, rgba(14,18,28,0.55) 50%, rgba(14,18,28,0.05) 100%); }
  .hero-copy { padding-top: 56px; padding-bottom: 260px; gap: 20px; }
  .hero-kicker { font-size: 13px; }
  .hero-copy p.lede { font-size: 17px; }

  .about, .contact { padding-block: 64px; }
  .about-copy p { font-size: 16px; }
  .founder { padding: 18px; gap: 16px; }
  .founder .initials { width: 52px; height: 52px; font-size: 18px; }
  .form { padding: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .form-actions .btn { width: 100%; }

  .page-intro { padding-top: 48px; padding-bottom: 32px; }
  .page-intro p { font-size: 17px; }
  .product-copy { padding: 32px 24px; gap: 20px; }
  .product-copy h2 img { width: 100%; max-width: 320px; }
  .product-copy p { font-size: 16px; }
  .product-copy .btn { width: 100%; }
  .product-visual { padding: 40px 24px; }
  .products { padding-bottom: 64px; }
  .footer-nav { gap: 20px; }
}
