/* Melo Live — shared styles for every page. */

@font-face { font-family: "Anton"; font-weight: 400; font-display: swap; src: url("/assets/fonts/anton.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/inter.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 100 900; font-display: swap; src: url("/assets/fonts/geist-mono.woff2") format("woff2"); }

:root {
  --ink: #1a1a1a;
  --ink-2: #242424;
  --orange: #eb825f;
  --orange-deep: #d9684a;
  --paper: #ffffff;
  --mist: #f5f5f5;
  --line: #e4e4e4;
  --text: #1a1a1a;
  --muted: #5c5c5c;
  --on-ink: #f5f5f5;
  --on-ink-muted: #a3a3a3;
  --radius: 18px;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --display: "Anton", Impact, "Arial Narrow", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--text); font-family: var(--body); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-transform: uppercase; line-height: 1.02; letter-spacing: 0.005em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--orange); color: var(--ink); padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

/* Labels and buttons */
.label { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 12px; border-radius: 6px; background: var(--ink); color: var(--on-ink); }
.btn {
  display: inline-flex; align-items: center; gap: 10px; border: 0; cursor: pointer;
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; line-height: 1;
  padding: 14px 20px; border-radius: 8px; text-decoration: none;
  background: var(--orange); color: var(--ink);
  transition: background 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: #f19664; transform: translateY(-1px); }
.btn svg { width: 14px; height: 14px; transition: transform 0.18s ease; }
.btn:hover svg { transform: translateX(3px); }
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: var(--mist); }
.btn-sm { padding: 10px 14px; font-size: 12px; }

/* Header: floating dark pill */
.site-header { position: sticky; top: 12px; z-index: 50; padding: 0 var(--gutter); margin-top: 12px; }
.bar { max-width: 760px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: rgba(26, 26, 26, 0.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 12px; padding: 8px 8px 8px 16px; color: var(--on-ink); }
.bar .logo img { height: 30px; width: auto; }
.bar nav { display: flex; align-items: center; gap: 22px; }
.bar nav a:not(.btn) { color: var(--on-ink-muted); text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.bar nav a:not(.btn):hover { color: var(--on-ink); }
@media (max-width: 680px) { .bar nav a:not(.btn) { display: none; } }

/* Hero */
.hero { background: var(--ink) url("/assets/img/texture.webp") center / cover; color: var(--on-ink); margin-top: -70px; padding: 140px 0 0; position: relative; overflow: hidden; }
.hero .wrap { text-align: center; position: relative; }
.hero .label { display: inline-flex; gap: 10px; align-items: center; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 999px; color: var(--on-ink); background: rgba(255, 255, 255, 0.04); }
.hero .label span { color: var(--orange); }
.hero h1 { margin: 22px auto 0; font-size: clamp(46px, 8.6vw, 112px); max-width: 17ch; color: var(--on-ink); }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lede { margin: 20px auto 0; max-width: 46ch; color: var(--on-ink-muted); }
.hero .actions { margin-top: 32px; display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-media { margin-top: clamp(40px, 6vw, 64px); }
.hero-media img { width: 100%; aspect-ratio: 16 / 8; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; }
@media (max-width: 640px) { .hero-media img { aspect-ratio: 4 / 3; } }
.float { position: absolute; width: clamp(34px, 4vw, 46px); filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.4)); }
.float img { width: 100%; height: auto; border-radius: 10px; }
.f1 { left: 4%; top: 40px; transform: rotate(-10deg); }
.f2 { left: 9%; top: 160px; transform: rotate(8deg); }
.f3 { right: 5%; top: 20px; transform: rotate(10deg); }
.f4 { right: 8%; top: 150px; transform: rotate(-8deg); }
@media (prefers-reduced-motion: no-preference) {
  .float { animation: bob 6s ease-in-out infinite; }
  .f2 { animation-delay: -1.5s; } .f3 { animation-delay: -3s; } .f4 { animation-delay: -4.5s; }
}
@keyframes bob { 50% { translate: 0 -10px; } }
@media (max-width: 760px) { .float { display: none; } }

/* Sections */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.head { text-align: center; max-width: 820px; margin: 0 auto clamp(40px, 6vw, 64px); }
.head .label { display: block; margin-bottom: 16px; color: var(--muted); }
.head h2 { font-size: clamp(38px, 6vw, 72px); }
.head p { margin-top: 18px; color: var(--muted); }

/* Why — orange band */
.why { background: var(--orange); color: var(--ink); }
.why .head h2 { color: var(--paper); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.why-grid > div { border-left: 1px solid rgba(26, 26, 26, 0.25); padding: 8px clamp(18px, 2.4vw, 32px) 8px; }
.why-grid .big { font-family: var(--display); font-size: clamp(56px, 7vw, 92px); line-height: 1; color: var(--paper); }
.why-grid h3 { font-size: clamp(22px, 2.4vw, 28px); margin-top: 14px; color: var(--paper); }
.why-grid p { margin-top: 12px; max-width: 34ch; }
@media (max-width: 820px) { .why-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Countries */
.flags { display: flex; gap: clamp(20px, 5vw, 64px); justify-content: center; flex-wrap: wrap; margin-bottom: clamp(48px, 7vw, 80px); }
.flags figure { margin: 0; display: grid; justify-items: center; gap: 10px; }
.flags img { width: clamp(44px, 6vw, 64px); height: auto; border-radius: 50%; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12); }
.flags figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Services */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.svc { background: var(--mist); border-radius: var(--radius); padding: 18px 18px 26px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.svc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; margin-top: 18px; }
.svc h3 { font-size: clamp(20px, 1.9vw, 24px); margin-top: 22px; max-width: 16ch; }
.svc p { margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 1000px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }
.center { text-align: center; margin-top: 40px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font-family: var(--display); font-size: clamp(19px, 2vw, 23px); text-transform: uppercase; letter-spacing: 0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--body); font-size: 26px; line-height: 1; transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .answer { padding: 0 48px 24px 0; color: var(--muted); }

/* CTA band */
.cta { background: var(--ink) url("/assets/img/texture.webp") center / cover; color: var(--on-ink); text-align: center; padding: clamp(72px, 10vw, 120px) 0 0; overflow: hidden; }
.cta h2 { font-size: clamp(36px, 5.6vw, 68px); max-width: 18ch; margin: 0 auto; color: var(--on-ink); }
.cta .btn { margin-top: 32px; }
.ticker { margin-top: clamp(56px, 8vw, 88px); border-top: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 1px solid rgba(255, 255, 255, 0.08); padding: 18px 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.ticker ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 14px; width: max-content; animation: tick 30s linear infinite; }
.ticker li { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 8px; color: var(--on-ink-muted); white-space: nowrap; }
@keyframes tick { to { transform: translateX(calc(-50% - 7px)); } }
@media (prefers-reduced-motion: reduce) { .ticker ul { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } .ticker li[aria-hidden] { display: none; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-ink); }
.site-footer .wrap { padding-top: clamp(40px, 6vw, 64px); padding-bottom: 28px; }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; align-items: start; }
.foot .logo img { height: 56px; width: auto; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-muted); }
.foot a:hover { color: var(--on-ink); }
.foot .blurb { margin-top: 16px; color: var(--on-ink-muted); font-size: 14px; max-width: 36ch; }
.legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-ink-muted); }
@media (max-width: 640px) { .foot { grid-template-columns: 1fr 1fr; } .foot > :first-child { grid-column: 1 / -1; } }

/* Inner pages */
.page-top { padding-top: clamp(56px, 8vw, 96px); }
.page-title { font-size: clamp(42px, 7vw, 84px); }
.prose { max-width: 760px; margin: 0 auto; color: #333; font-size: 17px; line-height: 1.75; }
.prose > * + * { margin-top: 1.05em; }
.prose h2 { font-size: clamp(24px, 2.8vw, 32px); margin-top: 2em; color: var(--text); }
.prose h2 + * { margin-top: 0.6em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose .updated { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 56px); align-items: stretch; }
.contact h1 { font-size: clamp(40px, 6vw, 72px); }
.contact .intro { margin-top: 14px; color: var(--muted); }
.contact-photo img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; border-radius: var(--radius); }
form { margin-top: 32px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 14px; font-weight: 500; }
.field input, .field textarea { font: inherit; font-size: 15px; width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--text); }
.field input:focus, .field textarea:focus { outline: 2px solid var(--orange); outline-offset: 0; border-color: transparent; }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 6px 0 18px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--orange-deep); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form .btn { width: 100%; justify-content: center; padding: 16px; }
.status { min-height: 1.6em; margin-top: 12px; font-size: 14px; }
.status.err { color: #b3261e; }
.done { display: none; margin-top: 32px; padding: 28px; background: var(--mist); border-radius: var(--radius); }
.done h2 { font-size: 32px; }
.done p { margin-top: 10px; color: var(--muted); }
.is-done form { display: none; }
.is-done .done { display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact-photo { display: none; } }
@media (max-width: 480px) { .row { grid-template-columns: 1fr; gap: 0; } }

.notfound { min-height: 50vh; display: grid; place-content: center; text-align: center; padding: 80px 0; }
.notfound p { color: var(--muted); margin: 14px 0 28px; }
