:root {
  --bg: #111614;
  --surface: #1B221E;
  --accent: #2E6F40;
  --accent-bright: #3A7555;
  --accent-2: #D4A373;
  --text: #F4F5F3;
  --text-muted: #A0AAB0;
  --border: rgba(255, 255, 255, 0.1);
  --radius: 14px;
  --font-heading: "Space Grotesk", "Inter", sans-serif;
  --font-body: "Inter", sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --container-w: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
h3 { font-size: 1.15rem; }

p { color: var(--text-muted); margin: 0 0 1em; }

a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-w);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-family: var(--font-mono);
  color: var(--accent-2);
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin: 0 0 0.6em;
}

/* organic topographic contour lines, faint, across the whole page */
.topo-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: url("../assets/img/topo-layer.png");
  background-repeat: repeat;
  background-size: 1000px 609px;
  opacity: 0.18;
}

/* subtle technical grid overlay texture across the whole page */
.grid-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.05;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(17, 22, 20, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.brand-mark { flex-shrink: 0; }

/* brand-wordmark.png ships as dark green text for light surfaces;
   invert to a near-white silhouette so it reads on the dark theme */
.brand-wordmark {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(94%);
}

.brand-tagline {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  margin: 0;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.main-nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
}

.main-nav a {
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover { color: var(--text); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.lang-toggle {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  overflow: hidden;
}

.lang-btn {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 6px 12px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.lang-btn.is-active {
  background: var(--accent);
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  transition: transform 0.15s ease, background 0.2s, border-color 0.2s;
  border: 1px solid transparent;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--accent);
  color: var(--text);
}

.btn-primary:hover { background: var(--accent-bright); }

.btn-secondary {
  background: transparent;
  border-color: var(--accent-2);
  color: var(--accent-2);
}

.btn-secondary:hover { background: rgba(212, 163, 115, 0.1); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 96px 0;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 52%;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center right;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 20%);
  mask-image: linear-gradient(90deg, transparent 0%, black 20%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content .lede {
  font-size: 1.05rem;
  max-width: 46ch;
  margin-bottom: 2em;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ---------- About ---------- */
.about {
  position: relative;
  z-index: 1;
  padding: 64px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px;
}

.about-icons {
  display: flex;
  flex-direction: column;
  justify-self: end;
  gap: 14px;
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(46, 111, 64, 0.18);
  color: var(--accent-bright);
  flex-shrink: 0;
}

.icon-badge svg { width: 22px; height: 22px; }

/* ---------- Portfolio ---------- */
.portfolio {
  position: relative;
  z-index: 1;
  padding: 64px 0;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.card-media {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 18px;
  aspect-ratio: 4 / 3;
  background: var(--bg);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-media-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-2);
}

.card-media-placeholder svg { width: 40%; height: 40%; opacity: 0.7; }

.card h3 { margin-bottom: 8px; }

.card-desc { font-size: 0.92rem; min-height: 4.5em; }

.card-status {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--accent-2);
  margin-bottom: 14px;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 10px;
}

.product-card-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: fit-content;
  margin: 18px auto 0;
  padding: 11px 18px;
  color: var(--accent-2);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid rgba(212, 163, 115, 0.65);
  border-radius: 10px;
  background: rgba(212, 163, 115, 0.06);
  transition: transform 0.2s ease, color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.product-card-link span {
  display: inline-block;
  transition: transform 0.2s ease;
}

.product-card-link:hover,
.product-card-link:focus-visible {
  color: var(--text);
  background: rgba(212, 163, 115, 0.16);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.product-card-link:hover span,
.product-card-link:focus-visible span { transform: translateX(4px); }

@media (prefers-reduced-motion: reduce) {
  .product-card-link,
  .product-card-link span { transition: none; }
}

/* ---------- Services ---------- */
.services {
  position: relative;
  z-index: 1;
  padding: 64px 0;
  text-align: center;
}

.lede.center { max-width: 52ch; margin: 0 auto 3em; }

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.service-card .icon-badge { margin-bottom: 16px; }

.service-card p { font-size: 0.92rem; margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  z-index: 1;
  padding: 80px 0 96px;
  text-align: center;
}

.contact-inner { max-width: 640px; margin: 0 auto; }

.contact h2 { margin-bottom: 0.4em; }

.contact a {
  color: var(--accent-2);
  border-bottom: 1px solid rgba(212, 163, 115, 0.4);
}

.contact a:hover { border-color: var(--accent-2); }

.contact-alt {
  margin-top: 0.6em;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ---------- Footer ---------- */
.site-footer {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--border);
  padding: 32px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.site-footer .brand-wordmark { height: 26px; }

.footer-coffee { display: inline-flex; flex: 0 0 auto; }
.footer-coffee img {
  display: block;
  width: 110px;
  height: auto;
  filter: grayscale(1);
  opacity: 0.5;
  transition: filter 0.2s, opacity 0.2s;
}
.footer-coffee:hover img, .footer-coffee:focus-visible img { filter: grayscale(0); opacity: 0.85; }
.footer-coffee:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 4px; }

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.social-links a:hover { color: var(--text); }

.social-links svg { width: 20px; height: 20px; }

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.footer-legal a { color: var(--text-muted); border-bottom: 1px solid transparent; }
.footer-legal a:hover { color: var(--text); border-color: var(--border); }

/* ---------- Legal document page ---------- */
.legal {
  position: relative;
  z-index: 1;
  padding: 140px 0 96px;
}

.legal-content {
  max-width: 760px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  color: var(--accent-2);
  margin-bottom: 28px;
}

.back-link:hover { text-decoration: underline; }

.legal-meta {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2.5em;
}

.legal-content h2 {
  margin-top: 2em;
  font-size: 1.4rem;
}

.legal-content h3 {
  margin-top: 1.4em;
  color: var(--text);
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
  font-size: 0.98rem;
}

.legal-content ul {
  margin: 0 0 1em;
  padding-left: 1.3em;
}

.legal-content li { margin-bottom: 0.5em; }

.legal-content a { color: var(--accent-2); border-bottom: 1px solid rgba(212, 163, 115, 0.4); }
.legal-content a:hover { border-color: var(--accent-2); }

.legal-content strong { color: var(--text); }

.tc-placeholder {
  color: var(--accent-2);
  background: rgba(212, 163, 115, 0.12);
  border: 1px dashed rgba(212, 163, 115, 0.5);
  border-radius: 4px;
  padding: 0 4px;
  font-family: var(--font-mono);
  font-size: 0.88em;
}

.tc-notice {
  margin-top: 2.5em;
  padding: 16px 20px;
  background: rgba(212, 163, 115, 0.08);
  border: 1px solid rgba(212, 163, 115, 0.3);
  border-radius: var(--radius);
  font-size: 0.85rem;
}

/* ---------- Outroads product page ---------- */
.outroads-page { background: #101712; }
.outroads-page .topo-overlay { opacity: 0.1; }
.outroads-hero, .outroads-intro, .outroads-features, .outroads-closing { position: relative; z-index: 1; }
.outroads-hero { min-height: min(760px, calc(100vh - 76px)); display: flex; align-items: center; overflow: hidden; background: #172118; }
.outroads-hero-image { position: absolute; inset: 0; }
.outroads-hero-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9, 17, 12, .94) 0%, rgba(9, 17, 12, .68) 39%, rgba(9, 17, 12, .12) 72%), linear-gradient(0deg, rgba(9, 17, 12, .66), transparent 38%); }
.outroads-hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.outroads-hero-content { position: relative; padding-top: 84px; padding-bottom: 84px; }
.outroads-hero h1 { color: #fbf7ed; font-size: clamp(4rem, 10vw, 8rem); line-height: .88; letter-spacing: -.07em; margin: 0; }
.outroads-tagline { font-family: var(--font-heading); color: #e3cf9b; font-size: clamp(1.35rem, 2.4vw, 2rem); margin: .7rem 0 1.3rem; }
.outroads-hero .lede { max-width: 48ch; font-size: 1.05rem; color: #e6e8e1; }
.outroads-availability { display: flex; flex-wrap: wrap; gap: 10px; }
.outroads-availability span { display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid rgba(226, 207, 155, .55); border-radius: 999px; color: #f4e6bc; font-family: var(--font-mono); font-size: .76rem; letter-spacing: .04em; text-transform: uppercase; }
.outroads-store-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 20px; }
.store-badge { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 252px; height: 96px; border-radius: 11px; transition: transform .15s ease, filter .2s ease; }
.store-badge img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; }
.store-badge-android:hover { transform: translateY(-2px); filter: brightness(1.08); }
.store-badge-disabled { cursor: not-allowed; opacity: .63; }
.store-badge-disabled::after { content: ""; position: absolute; inset: 0; border-radius: 11px; background: rgba(15, 24, 18, .34); }
.store-badge-soon { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: 4px 8px; border-radius: 999px; background: #f4e6bc; color: #17321f; font-family: var(--font-mono); font-size: .56rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.outroads-intro { position: relative; overflow: hidden; padding: 110px 0; background: #f4f1e7; color: #112c1d; }
.outroads-intro::before { content: ""; position: absolute; width: 420px; height: 420px; left: -210px; top: -190px; border: 1px solid rgba(200, 149, 62, .28); border-radius: 50%; box-shadow: 0 0 0 34px rgba(200, 149, 62, .06), 0 0 0 70px rgba(200, 149, 62, .04); }
.outroads-intro .eyebrow, .outroads-features .eyebrow { color: #a86d15; }
.outroads-intro-grid { position: relative; display: grid; grid-template-columns: minmax(260px, .8fr) minmax(0, 1.2fr); align-items: center; gap: clamp(40px, 7vw, 96px); }
.outroads-intro h2, .outroads-features h2, .outroads-closing h2 { color: #112c1d; font-size: clamp(2.2rem, 4.5vw, 4rem); }
.outroads-intro h2 { max-width: 11ch; margin: 0; text-wrap: balance; }
.outroads-intro h2::after { content: ""; display: block; width: 78px; height: 5px; margin-top: 28px; border-radius: 999px; background: #c8953e; }
.outroads-intro-text { position: relative; max-width: 44rem; padding: 34px 36px; border: 1px solid rgba(17, 44, 29, .13); border-left: 4px solid #c8953e; border-radius: 18px; background: rgba(255, 253, 247, .82); box-shadow: 0 20px 44px rgba(24, 48, 30, .1); color: #486154; font-size: clamp(1rem, 1.25vw, 1.14rem); line-height: 1.72; }
.outroads-intro-text::before { content: "ABOUT OUTROADS"; display: block; margin-bottom: 16px; color: #a86d15; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; }
.outroads-intro-text strong { color: #173d29; }
.outroads-intro-text p { color: #486154; font-size: clamp(1.08rem, 1.5vw, 1.22rem); line-height: 1.7; margin: 0; }
.outroads-about-feature-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
.outroads-about-feature-card { display: grid; grid-template-columns: 32px minmax(0, 1fr); column-gap: 12px; align-items: start; padding: 15px; border: 1px solid rgba(17, 44, 29, .12); border-radius: 14px; background: rgba(255, 253, 247, .78); box-shadow: 0 8px 18px rgba(24, 48, 30, .05); }
.outroads-about-feature-icon { display: inline-flex; grid-row: span 2; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 9px; background: #173d29; color: #f4dfaa; }
.outroads-about-feature-icon svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.outroads-about-feature-card:nth-child(2) .outroads-about-feature-icon, .outroads-about-feature-card:nth-child(5) .outroads-about-feature-icon { background: #93651c; }
.outroads-about-feature-card:nth-child(3) .outroads-about-feature-icon, .outroads-about-feature-card:nth-child(6) .outroads-about-feature-icon { background: #2d6244; }
.outroads-about-feature-card h3 { color: #112c1d; font-size: .96rem; line-height: 1.2; margin: 1px 0 .3rem; }
.outroads-about-feature-card p { grid-column: 2; color: #587064; font-size: .78rem; line-height: 1.42; margin: 0; }
.outroads-features { padding: 110px 0; background: #e8ece3; }
.outroads-feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; margin-top: 42px; }
.outroads-feature-card { overflow: hidden; background: #f9f7f0; border: 1px solid rgba(17, 44, 29, .12); border-radius: 20px; box-shadow: 0 18px 36px rgba(24, 48, 30, .08); }
.outroads-feature-card img { width: 100%; height: clamp(420px, 48vw, 640px); object-fit: contain; object-position: center; background: #e6ebe3; }
.outroads-feature-copy { padding: 26px 28px 30px; }
.feature-number { font-family: var(--font-mono); color: #b27619; font-size: .76rem; }
.outroads-feature-card h3 { color: #112c1d; font-size: 1.45rem; margin: .35rem 0 .45rem; }
.outroads-feature-card p { color: #587064; margin: 0; }
.outroads-closing { padding: 112px 0; background: #183d29 url("../assets/img/topo-layer.png") center / 900px auto; text-align: center; }
.outroads-closing-inner { max-width: 660px; margin: 0 auto; }
.outroads-closing .eyebrow { color: #e4bb68; }
.outroads-closing h2 { color: #f8f5eb; }
.outroads-closing p:not(.eyebrow) { color: #d3dbd1; font-size: 1.08rem; margin-bottom: 2em; }
.outroads-closing .btn-secondary { color: #f4dfaa; border-color: #d5a544; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero { min-height: 520px; padding: 72px 0; }
  .hero-bg-wrap { width: 100%; height: 42%; top: auto; }
  .hero-bg-img {
    object-position: center bottom;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 30%);
    mask-image: linear-gradient(180deg, transparent 0%, black 30%);
  }
  .about-grid { grid-template-columns: 1fr; padding: 32px; }
  .about-icons { flex-direction: row; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .outroads-intro-grid { grid-template-columns: 1fr; gap: 24px; }
  .outroads-intro h2 { max-width: 18ch; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 8px 24px 16px;
    display: none;
  }

  .main-nav.is-open { display: flex; }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .main-nav a:last-child { border-bottom: none; }

  .card-grid { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .outroads-hero { min-height: 650px; align-items: flex-end; }
  .outroads-hero-image::after { background: linear-gradient(0deg, rgba(9, 17, 12, .96) 0%, rgba(9, 17, 12, .58) 55%, rgba(9, 17, 12, .15)); }
  .outroads-hero-image img { object-position: 60% center; }
  .outroads-hero-content { padding-top: 220px; padding-bottom: 48px; }
  .outroads-hero h1 { font-size: clamp(3.4rem, 18vw, 5.5rem); }
  .outroads-intro, .outroads-features, .outroads-closing { padding: 72px 0; }
  .outroads-intro { background-image: none; }
  .outroads-intro::before { display: none; }
  .outroads-intro-grid { gap: 28px; }
  .outroads-intro h2 { max-width: 12ch; font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .outroads-intro h2::after { width: 58px; height: 4px; margin-top: 20px; }
  .outroads-intro-text { padding: 22px 20px; border-left-width: 3px; border-radius: 14px; font-size: 1rem; line-height: 1.65; }
  .outroads-intro-text::before { margin-bottom: 14px; font-size: .6rem; }
  .outroads-about-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px; }
  .outroads-about-feature-card { grid-template-columns: 30px minmax(0, 1fr); column-gap: 10px; padding: 14px; }
  .outroads-about-feature-icon { width: 30px; height: 30px; }
  .outroads-about-feature-card p { font-size: .76rem; }
  .outroads-feature-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 28px; }
  .outroads-feature-card img { height: 460px; }
}

@media (max-width: 420px) {
  .outroads-about-feature-grid { grid-template-columns: 1fr; }
}

/* Contact form */
.contact-form { margin: 32px 0 24px; padding: 28px; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.contact-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; min-width: 0; }
.contact-field label { font-size: 1rem; font-weight: 500; }
.contact-field input, .contact-field textarea { width: 100%; min-width: 0; padding: 12px 14px; border: 1px solid var(--text-muted); border-radius: 8px; background: var(--bg); color: var(--text); font: inherit; font-size: 1rem; }
.contact-field textarea { resize: vertical; min-height: 150px; }
.contact-field input:focus-visible, .contact-field textarea:focus-visible, .contact-form button:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; }
.contact-form button { font-family: inherit; cursor: pointer; }
.contact-form button:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.contact-privacy, .contact-status { font-size: 0.875rem; }
.contact-status { margin: 16px 0 0; }
.contact-status:empty { display: none; }
@media (max-width: 520px) {
  .contact-fields { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 20px; }
  .contact-form button { width: 100%; }
}
