@font-face {
  font-family: "Michroma";
  src: url("../assets/fonts/michroma.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --magenta: #c1097f;
  --magenta-dark: #9c0666;
  --green: #4fb14e;
  --green-dark: #3d8b3c;
  --ink: #2b2620;
  --body: #3a3a38;
  --muted: #6b6b66;
  --bg: #ffffff;
  --bg-soft: #f5f7f6;
  --surface: #ffffff;
  --surface-soft: #edf6d0;
  --deep: #10262b;
  --header-bg: rgba(255, 255, 255, .92);
  --ring: var(--surface);
  --hero-fade: 255, 255, 255;
  --border: #e4e7e5;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 4px 24px rgba(0, 0, 0, .07);
  --maxw: 1080px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica,
    Arial, "Noto Sans", sans-serif;
  --font-display: "Michroma", var(--font);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--magenta); }
a:hover { color: var(--magenta-dark); }

h1, h2, h3 { color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); margin: 0 0 .5em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); margin: 0 0 .6em; }
h3 { font-size: 1.2rem; margin: 0 0 .4em; }

p { margin: 0 0 1em; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
}
.brand { display: flex; align-items: center; }
.brand img { height: 46px; width: auto; }
.brand .sr { position: absolute; left: -9999px; }

.nav { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nav a {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-weight: 600;
  font-size: .98rem;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  transition: color .18s ease;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 3px;
  height: 2px;
  background: var(--magenta);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
.nav a:hover { color: var(--magenta); }
.nav a:hover::after { transform: scaleX(1); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 8px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, background .15s ease, border-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: rgba(79, 177, 78, .5); color: var(--ink); }

.tel-number {
  font-family: ui-monospace, "SFMono-Regular", "SF Mono", Menlo, Consolas,
    "Liberation Mono", "Courier New", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: .05em;
}
.btn-primary:hover { background: var(--green-dark); color: #fff; }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); color: #fff; }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--green); color: var(--green-dark); }

.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(255deg,
    rgba(var(--hero-fade), .87) 0%,
    rgba(var(--hero-fade), .82) 42%,
    rgba(var(--hero-fade), .55) 70%,
    rgba(var(--hero-fade), .15) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(56px, 9vw, 104px) 0;
  max-width: 620px;

  margin-left: auto;
}
.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 474px;
  max-width: 100%;
  white-space: normal;
  text-align: center;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: 1.2rem;
  color: var(--ink);
  -webkit-text-stroke: .4px var(--ink);
  background: rgba(79, 177, 78, .3);
  padding: 8px 22px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero p.lead {
  font-size: 1.18rem;
  color: var(--body);
  max-width: 34em;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-actions .btn {
  justify-content: center;
  min-width: 230px;
}

section { padding: clamp(48px, 7vw, 88px) 0; }
.section-soft { background: var(--surface-soft); }
.section-head { max-width: 46em; margin-bottom: 40px; }
.section-head p { color: var(--muted); font-size: 1.05rem; margin: 0 0 .9em; }
.section-head p:last-child { margin-bottom: 0; }

.lead-line {
  width: 56px;
  height: 5px;
  border-radius: 3px;
  background: var(--magenta);
  margin-bottom: 20px;
}

.grid {
  display: grid;
  gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (hover: hover) {
  .card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .13);
    border-color: var(--green);
  }
}
.card h3 { margin-top: 6px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(193, 9, 127, .1);
  color: var(--magenta);
}
.card:nth-child(even) .ico { background: rgba(79, 177, 78, .13); color: var(--green-dark); }
.card .ico svg { width: 24px; height: 24px; }

.team-grid {
  display: flex;
  gap: 26px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 6px 2px 16px;
  -webkit-overflow-scrolling: touch;

  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.team-grid .person {
  flex: 0 0 min(320px, 82vw);
  scroll-snap-align: start;
}
.team-grid::-webkit-scrollbar { height: 8px; }
.team-grid::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
.team-grid::-webkit-scrollbar-thumb:hover { background: #cfd5d1; }
.team-grid::-webkit-scrollbar-track { background: transparent; }
.person {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 22px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
@media (hover: hover) {
  .person:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, .13);
    border-color: var(--green);
  }
}
.person img {
  width: 140px; height: 140px;
  border-radius: 50%;
  margin: 0 auto 18px;
  object-fit: cover;
  border: 4px solid var(--ring);
  box-shadow: 0 0 0 3px var(--border);
}
.person h3 { margin-bottom: 2px; }
.person .role { color: var(--green-dark); font-weight: 600; font-size: .92rem; }
.person .tags { color: var(--muted); font-size: .9rem; margin-top: 8px; }
.team-note {
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
  max-width: 42em;
  margin: 36px auto 0;
}
.person .quote {
  font-style: italic;
  color: var(--body);
  font-size: .92rem;
  line-height: 1.55;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.contact {
  background: linear-gradient(135deg, var(--deep) 0%, #1c3b41 100%);
  color: #fff;
}
.contact h2 { color: #fff; }
.contact .section-head p { color: rgba(255, 255, 255, .8); }
.contact .lead-line { background: var(--green); }
.contact-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 8px;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: #fff;
  transition: background .15s ease, transform .12s ease;
}
.contact-card:hover { background: rgba(255, 255, 255, .12); transform: translateY(-2px); color: #fff; }
.contact-card .ico {
  flex: none;
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--magenta);
  display: grid; place-items: center;
}
.contact-card:nth-child(2) .ico { background: var(--green); }
.contact-card .ico svg { width: 26px; height: 26px; color: #fff; }
.contact-card .label { font-size: .82rem; color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .08em; }
.contact-card .value { font-size: 1.28rem; font-weight: 700; }
.contact-note { margin-top: 26px; color: rgba(255, 255, 255, .7); font-size: .95rem; }

.site-footer { background: var(--deep); color: rgba(255, 255, 255, .85); }
.footer-bar {
  background: var(--green);
  padding: 14px 0;
}
.footer-bar .container { display: flex; justify-content: flex-end; }
.footer-bar .wordmark {
  font-family: var(--font-display);
  color: #fff;
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  letter-spacing: .06em;
  line-height: 1;
}
.footer-main {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 48px;
  justify-content: space-between;
  padding: 40px 0;
}
.footer-main a { color: #fff; }
.footer-col h4 {
  color: #fff; font-size: .82rem; text-transform: uppercase;
  letter-spacing: .1em; margin: 0 0 12px;
}
.footer-col p, .footer-col ul { margin: 0; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 6px; }
.footer-col a { text-decoration: none; }
.footer-col a:hover { text-decoration: underline; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  justify-content: space-between;
}

.legal { padding: clamp(40px, 6vw, 72px) 0; }
.legal .container { max-width: 800px; }
.legal h1 { margin-bottom: .4em; }
.legal h2 { margin-top: 1.6em; font-size: 1.4rem; }
.legal h3 { margin-top: 1.2em; font-size: 1.1rem; }
.legal p, .legal li { color: var(--body); font-size: 1rem; }
.legal ul { padding-left: 1.2em; }
.legal .back {
  display: inline-block;
  margin-bottom: 24px;
  font-weight: 600;
  text-decoration: none;
}
.legal .meta { color: var(--muted); font-size: .95rem; }
.placeholder {
  background: #fff8e1;
  border: 1px dashed #e0b400;
  border-radius: var(--radius-sm);
  padding: 2px 8px;
  color: #7a5c00;
  font-style: italic;
}
.datablock {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}
.datablock dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 6px 20px; }
.datablock dt { font-weight: 600; color: var(--ink); }
.datablock dd { margin: 0; }

@media (max-width: 640px) {
  body { font-size: 17px; }
  .eyebrow { display: none; }
  .hero-actions { justify-content: center; }
  .grid-2 { grid-template-columns: 1fr; }
  .site-header .container { flex-wrap: wrap; min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .nav { width: 100%; justify-content: center; }
  .datablock dl { grid-template-columns: 1fr; gap: 2px; }
  .datablock dt { margin-top: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn:hover, .contact-card:hover { transform: none; }
}

.clients .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.clients .section-head .lead-line { margin-left: auto; margin-right: auto; }

.marquee {
  position: relative;
  overflow: hidden;
  padding: 8px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
}

.marquee-track {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  row-gap: 20px;
}

.marquee.is-live .marquee-track {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  will-change: transform;
  animation: marquee-scroll var(--marquee-duration, 40s) linear infinite;
}

.marquee.is-live:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: clamp(34px, 6vw, 76px);
}
.marquee-item a {
  display: flex;
  align-items: center;
  border-radius: var(--radius-sm);
}
.marquee-item a:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 4px;
}
.marquee-item img {
  height: clamp(30px, 4.4vw, 46px);
  width: auto;
  max-width: none;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: .62;
  transition: filter .25s ease, opacity .25s ease;
  -webkit-user-select: none;
          user-select: none;
  -webkit-user-drag: none;
}
.marquee-item img:hover,
.marquee-item a:focus-visible img { filter: grayscale(0); opacity: 1; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(var(--marquee-shift, -50%)); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee.is-live .marquee-track { animation: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s ease;
  }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
  .js-parallax .hero-media img { will-change: transform; transform: scale(1.12); }
}

.nav a.is-active { color: var(--magenta); }
.nav a.is-active::after { transform: scaleX(1); }

.site-header { transition: box-shadow .25s ease; }
.site-header .container { transition: min-height .25s ease; }
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .07); }
.site-header.is-scrolled .container { min-height: 60px; }

.call-fab {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--magenta);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .15s ease;
}
.call-fab svg { width: 24px; height: 24px; }
.call-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 640px) {
  .call-fab { display: flex; }
}

.to-top {
  position: fixed;
  z-index: 60;
  right: 18px;
  bottom: 18px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease, background .15s ease, color .15s ease;
}
.to-top svg { width: 22px; height: 22px; }
.to-top:hover { background: var(--ink); color: #fff; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
@media (max-width: 640px) {
  .to-top { bottom: 84px; }
}

.contact-card { position: relative; }
.copy-ico {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, .5);
  transition: color .15s ease;
}
.contact-card:hover .copy-ico { color: #fff; }
.copy-ico svg { width: 100%; height: 100%; }
@media (hover: none) {
  .copy-ico { display: none; }
}
.copy-toast {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%) translateY(12px);
  background: var(--deep);
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .25);
  opacity: 0;
  pointer-events: none;
  max-width: 90vw;
  transition: opacity .2s ease, transform .2s ease;
}
.copy-toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

.team-shell { position: relative; }
.team-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: background .15s ease, color .15s ease, opacity .15s ease;
}
.team-arrow svg { width: 22px; height: 22px; }
.team-arrow:hover:not(:disabled) { background: var(--ink); color: #fff; }
.team-arrow:disabled { opacity: .35; cursor: default; }
.team-prev { left: -6px; }
.team-next { right: -6px; }
.team-shell.has-overflow .team-arrow { display: flex; }
.team-shell.has-overflow .team-grid { cursor: grab; }
.team-grid.is-grabbing { cursor: grabbing; -webkit-user-select: none; user-select: none; }
@media (max-width: 640px) {
  .team-shell.has-overflow .team-arrow { display: none; }
}

.team-arrow:focus-visible,
.to-top:focus-visible,
.call-fab:focus-visible,
.team-grid:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}
