/* Better Together Holdings — site styles */
@font-face { font-family: "Zalando Sans"; src: url("../fonts/zalando-sans-latin-300-normal.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Zalando Sans"; src: url("../fonts/zalando-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Zalando Sans"; src: url("../fonts/zalando-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Zalando Sans"; src: url("../fonts/zalando-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Zalando Sans"; src: url("../fonts/zalando-sans-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --purple: #8224E3;
  --purple-deep: #3C2454;
  --purple-ink: #2A1840;
  --orange: #E4903C;
  --orange-hot: #FF6022;
  --bg: #F1EFED;
  --bg-alt: #EAE9E8;
  --ink: #121213;
  --muted: #555555;
  --white: #FFFFFF;
  --radius: 14px;
  --wrap: 1180px;
  --pad: clamp(20px, 5vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Zalando Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 18px; line-height: 1.6; font-weight: 400;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { line-height: 1.08; margin: 0 0 .5em; letter-spacing: -0.02em; }
h1 { font-size: clamp(48px, 9vw, 120px); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: .95; }
h2 { font-size: clamp(30px, 4.2vw, 52px); font-weight: 700; }
h3 { font-size: 22px; font-weight: 700; letter-spacing: -0.01em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; display: block; }
.lead { font-size: clamp(19px, 2vw, 23px); font-weight: 300; max-width: 46ch; }
.skip { position: absolute; left: -999px; top: 0; background: var(--white); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }
:focus-visible { outline: 3px solid var(--orange-hot); outline-offset: 3px; }

/* Buttons */
.btn { display: inline-block; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; border: 2px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--orange); color: var(--ink); }
.btn-primary:hover { background: var(--orange-hot); }
.btn-ghost { border-color: currentColor; color: inherit; }
.btn-ghost:hover { background: var(--white); color: var(--purple-deep); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Header */
.site-header { background: var(--purple-deep); color: var(--white); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand img { width: 40px; height: 40px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-size: 16px; font-weight: 600; opacity: .85; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--orange); }
.nav .btn { opacity: 1; padding: 10px 20px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 2px solid rgba(255,255,255,.5); color: var(--white); border-radius: 10px; padding: 8px 12px; font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }

/* Hero */
.hero { background: var(--purple); color: var(--white); padding: clamp(70px, 11vw, 140px) 0 clamp(60px, 9vw, 110px); }
.hero h1 .dot { color: var(--orange); }
.hero .lead { margin-top: 28px; }
.page-hero { background: var(--purple); color: var(--white); padding: clamp(56px, 8vw, 96px) 0 clamp(48px, 6vw, 72px); }
.page-hero h1 { font-size: clamp(42px, 7vw, 88px); }
.page-hero .eyebrow { color: rgba(255,255,255,.75); }

.hero-grid { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: center; }
.hero-mark { width: clamp(220px, 26vw, 360px); height: auto; filter: drop-shadow(0 18px 40px rgba(42,24,64,.35)); }
.foot-about { margin-top: 18px; max-width: 34ch; }
.note { margin-top: 24px; color: var(--muted); }

/* Sections */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: var(--bg-alt); }
.section-head { max-width: 720px; margin-bottom: 44px; }
.mission { font-size: clamp(28px, 4vw, 48px); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; max-width: 24ch; margin: 0; }
.mission span { color: var(--purple); }

/* Portfolio cards */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.cards.four { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border-radius: var(--radius); padding: 30px; display: flex; flex-direction: column; border-top: 6px solid var(--purple); }
.card:nth-child(2) { border-top-color: var(--purple-deep); }
.card:nth-child(3) { border-top-color: var(--orange); }
.card:nth-child(4) { border-top-color: var(--orange-hot); }
.card .tag { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.card h3 { margin-bottom: 8px; }
.card .one { font-weight: 600; margin-bottom: 14px; }
.card p { color: #333; font-size: 17px; }
.card .foot { margin-top: auto; padding-top: 12px; }
.card .link { font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--orange); padding-bottom: 2px; }
.card .link:hover { border-color: var(--orange-hot); }
.card .soon { display: inline-block; font-size: 14px; font-weight: 600; color: var(--muted); background: var(--bg-alt); padding: 6px 14px; border-radius: 999px; }
.cards.four .card { padding: 26px; }
.cards.four .card h3 { font-size: 20px; }

/* Split layout */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius); }

/* Services */
.services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service { background: var(--white); border-radius: var(--radius); padding: 30px; }
.service .num { font-weight: 800; color: var(--orange); font-size: 15px; letter-spacing: .08em; }
.service h3 { margin: 8px 0 8px; }
.service p { margin: 0; color: #333; font-size: 17px; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { margin: 0; background: var(--purple-deep); color: var(--white); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; }
.quote blockquote { margin: 0 0 20px; font-size: 18px; line-height: 1.55; }
.quote blockquote::before { content: "\201C"; display: block; font-size: 56px; line-height: .6; color: var(--orange); margin-bottom: 14px; font-weight: 800; }
.quote figcaption { margin-top: auto; font-size: 15px; color: rgba(255,255,255,.75); }
.quote figcaption strong { color: var(--white); display: block; }

/* Bio */
.bio { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); max-width: 860px; }
.bio .role { color: var(--purple); font-weight: 700; margin-bottom: 16px; }
.creds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding: 0; list-style: none; }
.creds li { background: var(--bg-alt); border-radius: 999px; padding: 4px 12px; font-size: 14px; font-weight: 600; }

/* Contact */
.contact-box { background: var(--white); border-radius: var(--radius); padding: clamp(28px, 4vw, 48px); max-width: 720px; }
.contact-box .email { font-size: clamp(22px, 3vw, 32px); font-weight: 700; text-decoration: none; border-bottom: 3px solid var(--orange); word-break: break-word; }

/* CTA band */
.cta { background: var(--orange); padding: clamp(56px, 8vw, 96px) 0; }
.cta .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0; max-width: 18ch; }
.cta .btn { background: var(--ink); color: var(--white); }
.cta .btn:hover { background: var(--purple-deep); }

/* Prose pages */
.prose { max-width: 720px; }
.prose h2 { font-size: 28px; margin-top: 1.4em; }

/* Footer */
.site-footer { background: var(--purple-ink); color: rgba(255,255,255,.8); padding: 64px 0 36px; font-size: 16px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.foot-brand { display: flex; align-items: center; gap: 14px; color: var(--white); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; }
.foot-brand img { width: 52px; height: 52px; }
.site-footer h4 { color: var(--white); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.foot-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 14px; }

/* Responsive */
@media (max-width: 1000px) {
  .cards.four { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 17px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--purple-deep); flex-direction: column; align-items: flex-start; gap: 0; padding: 8px var(--pad) 24px; border-top: 1px solid rgba(255,255,255,.12); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; font-size: 18px; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--orange); }
  .nav .btn { margin-top: 10px; width: auto; padding: 12px 22px; }
  .cards, .cards.four, .services, .split, .foot-grid, .hero-grid { grid-template-columns: 1fr; }
  .hero-mark { display: none; }
  .brand span { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
