/* =====================================================================
   Zephyr VitaLink International — stylesheet
   Palette  : deep cypress teal #0E3A3F, accent gold #C8932A,
              warm paper #FBF8F2, ink #1A1F1E
   Type     : Fraunces (display) + Inter (body), Google Fonts
   ===================================================================== */

:root {
  /* color */
  --ink:        #1A1F1E;
  --ink-soft:   #3F4744;
  --muted:      #6E7672;
  --faint:      #B7B8B2;
  --paper:      #FBF8F2;
  --paper-2:    #F4EFE4;
  --paper-3:    #ECE5D4;
  --line:       #E4DCC9;
  --teal:       #0E3A3F;
  --teal-2:     #143F46;
  --teal-deep:  #082A2E;
  --gold:       #C8932A;
  --gold-soft:  #E8C879;

  /* type */
  --display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* radius / shadows */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 18px;
  --shadow-card: 0 1px 0 rgba(14, 58, 63, 0.04), 0 16px 40px -24px rgba(14, 58, 63, 0.18);

  /* container */
  --container: 1200px;
  --gutter: clamp(20px, 4vw, 48px);

  /* type scale (informational caps) */
  --text-xs: 13px;
  --text-sm: 14.5px;
  --text-base: 16px;
  --text-lg: 19px;
  --text-xl: clamp(24px, 2.4vw, 32px);
  --text-2xl: clamp(34px, 4vw, 52px);
  --text-hero: clamp(44px, 6.2vw, 80px);
}

/* ---------- reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--teal); text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--teal-deep); }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold-soft); color: var(--teal-deep); }

h1, h2, h3, h4, h5 {
  font-family: var(--display);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 .6em;
}
p { margin: 0 0 1em; color: var(--ink-soft); }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--teal); color: #fff; padding: 10px 16px;
  border-radius: var(--r-sm); font-size: var(--text-sm); z-index: 999;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 248, 242, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background .25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(251, 248, 242, 0.92);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal);
}
.brand:hover { color: var(--teal-deep); }
.brand__mark { width: 32px; height: 32px; }
.brand__wordmark { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--display);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.brand__sub {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: var(--text-sm);
  font-weight: 500;
}
.primary-nav a {
  color: var(--ink-soft);
  position: relative;
  padding-block: 4px;
}
.primary-nav a::after {
  content: "";
  position: absolute; left: 0; bottom: -2px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .25s ease;
}
.primary-nav a:hover { color: var(--ink); }
.primary-nav a:hover::after { transform: scaleX(1); }
.primary-nav__cta {
  background: var(--teal);
  color: #fff !important;
  padding: 9px 16px !important;
  border-radius: 999px;
}
.primary-nav__cta::after { display: none; }
.primary-nav__cta:hover { background: var(--teal-deep); }

.nav-toggle {
  display: none;
  background: transparent; border: 0; padding: 8px;
  width: 40px; height: 40px;
  position: relative;
}
.nav-toggle span {
  display: block; width: 22px; height: 1.5px;
  background: var(--ink);
  margin: 4px auto;
  transition: transform .25s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px var(--gutter) 20px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav a {
  padding: 12px 4px;
  font-size: var(--text-lg);
  font-family: var(--display);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child { border-bottom: 0; }

@media (max-width: 900px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-block; }
  .mobile-nav[data-open="true"] { display: flex; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}
.btn--primary { background: var(--teal); color: #fff; }
.btn--primary:hover { background: var(--teal-deep); color: #fff; transform: translateY(-1px); }
.btn--ghost { color: var(--teal); border-color: var(--teal); }
.btn--ghost:hover { background: var(--teal); color: #fff; }

/* ---------- eyebrows / section heads ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 18px;
}
.eyebrow__dot {
  width: 8px; height: 8px; border-radius: 999px;
  background: var(--gold);
}
.eyebrow--inverse { color: var(--gold-soft); }

.section { padding: clamp(72px, 9vw, 128px) 0; border-top: 1px solid var(--line); }
.section:first-of-type { border-top: 0; }
.section__head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section__title { font-size: var(--text-2xl); }
.section__lead { font-size: var(--text-lg); color: var(--ink-soft); margin: 0; }
.section__lead--inverse { color: rgba(255, 255, 255, 0.78); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: clamp(56px, 8vw, 112px) 0 0;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 60%;
  background:
    radial-gradient(1200px 480px at 90% 0%, rgba(232, 200, 121, 0.18), transparent 60%),
    radial-gradient(800px 460px at 0% 30%, rgba(14, 58, 63, 0.07), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  position: relative;
  z-index: 1;
}
.display {
  font-family: var(--display);
  font-weight: 500;
  font-size: var(--text-hero);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0 0 24px;
  color: var(--ink);
}
.display__accent {
  font-style: italic;
  font-weight: 400;
  color: var(--teal);
  background: linear-gradient(180deg, transparent 78%, rgba(232, 200, 121, 0.5) 78%, rgba(232, 200, 121, 0.5) 96%, transparent 96%);
  padding-inline: 4px;
}
.lede {
  font-size: var(--text-lg);
  color: var(--ink-soft);
  max-width: 56ch;
  margin-bottom: 32px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 44px; }

.hero__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  margin: 0;
}
.hero__meta dt {
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 6px;
}
.hero__meta dd {
  font-family: var(--display);
  font-size: var(--text-lg);
  color: var(--ink);
  margin: 0;
}

.hero__visual {
  position: relative;
}
.hero__svg { width: 100%; height: auto; max-width: 480px; margin-inline: auto; filter: drop-shadow(0 30px 50px rgba(14, 58, 63, 0.18)); }

.marquee {
  margin-top: clamp(56px, 8vw, 96px);
  border-block: 1px solid var(--line);
  overflow: hidden;
  background: var(--paper-2);
}
.marquee__track {
  display: inline-flex;
  gap: 28px;
  white-space: nowrap;
  padding-block: 18px;
  font-family: var(--display);
  font-style: italic;
  font-size: 18px;
  color: var(--teal);
  animation: marquee 38s linear infinite;
}
.marquee__track span { flex: 0 0 auto; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; }
  .hero__meta { grid-template-columns: 1fr 1fr; }
}

/* ---------- services ---------- */
.services {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.service-card {
  background: var(--paper);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  transition: background .2s ease;
}
.service-card:hover { background: #fff; }
.service-card__num {
  font-family: var(--display);
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.18em;
  margin-bottom: 18px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 14px;
}
.service-card p { color: var(--ink-soft); margin-bottom: 18px; }
.service-card ul {
  list-style: none;
  padding: 0; margin: auto 0 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.service-card ul li {
  position: relative;
  padding-left: 18px;
  font-size: var(--text-sm);
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.service-card ul li::before {
  content: "";
  position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--gold);
}
@media (max-width: 1000px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .services { grid-template-columns: 1fr; }
}

/* ---------- methods (inverse / ink) ---------- */
.section--ink {
  background:
    radial-gradient(900px 500px at 90% 0%, rgba(232, 200, 121, 0.08), transparent 60%),
    var(--teal);
  color: #fff;
  border-top: 0;
}
.section--ink .section__title,
.section--ink h3 { color: #fff; }
.section--ink p { color: rgba(255,255,255,0.78); }

.methods-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.method {
  background: var(--teal);
  padding: clamp(24px, 2.6vw, 32px);
  transition: background .2s ease;
}
.method:hover { background: var(--teal-2); }
.method h3 {
  font-size: var(--text-lg);
  margin-bottom: 10px;
  font-family: var(--body);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.method p { margin: 0; font-size: var(--text-base); }
@media (max-width: 900px) { .methods-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .methods-grid { grid-template-columns: 1fr; } }

/* ---------- sectors ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sector {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.sector:hover { border-color: var(--teal); transform: translateY(-2px); }
.sector h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: 8px;
}
.sector p { margin: 0; font-size: 15px; color: var(--ink-soft); }
@media (max-width: 900px) { .sectors { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sectors { grid-template-columns: 1fr; } }

/* ---------- process ---------- */
.section--soft { background: var(--paper-2); }
.process {
  list-style: none;
  padding: 0; margin: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  counter-reset: step;
}
.process li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 22px;
  position: relative;
}
.process__step {
  font-family: var(--display);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 14px;
}
.process h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: 8px;
}
.process p { margin: 0; font-size: 14.5px; color: var(--ink-soft); }
@media (max-width: 1100px) { .process { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px)  { .process { grid-template-columns: 1fr 1fr; } }
@media (max-width: 440px)  { .process { grid-template-columns: 1fr; } }

/* ---------- why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.why {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.why h3 {
  font-family: var(--body);
  font-weight: 600;
  font-size: var(--text-lg);
  margin-bottom: 8px;
  color: var(--ink);
}
.why p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(28px, 4vw, 64px);
  align-items: start;
}
.about p { color: rgba(255,255,255,0.78); }
.about__stats {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 36px 0 0;
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 28px;
}
.about__stats li { display: flex; flex-direction: column; gap: 4px; }
.about__stats strong {
  font-family: var(--display);
  font-size: 26px;
  color: var(--gold-soft);
  letter-spacing: -0.01em;
}
.about__stats span { color: rgba(255,255,255,0.7); font-size: 14px; }
.about__panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 28px;
}
.about__panel h3 {
  font-family: var(--body);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 16px;
  font-weight: 600;
}
.about__panel ul {
  list-style: none;
  padding: 0; margin: 0;
}
.about__panel li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.86);
  font-size: 15px;
}
.about__panel li:last-child { border-bottom: 0; }
@media (max-width: 900px) { .about { grid-template-columns: 1fr; } }

/* ---------- contact ---------- */
.section--contact {
  background:
    linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%);
}
.contact { display: grid; gap: clamp(28px, 4vw, 56px); grid-template-columns: 1fr; }
.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px);
  box-shadow: var(--shadow-card);
}
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 12px 14px;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--teal);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(14, 58, 63, 0.12);
}
.field textarea { resize: vertical; min-height: 120px; }
.contact-form__submit {
  display: flex; flex-direction: row; align-items: center;
  justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-top: 6px;
}
.contact-form__status {
  margin: 0;
  font-size: 14px;
  color: var(--teal);
}
.contact-form__status.is-error { color: #8b2a3b; }
.contact-form__status.is-ok { color: var(--teal); }

.contact-aside {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.contact-aside h4 {
  font-family: var(--body);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
  font-weight: 600;
}
.contact-aside a, .contact-aside p {
  color: var(--ink);
  font-size: var(--text-base);
  margin: 0;
}
.contact-aside a:hover { color: var(--teal); }
@media (max-width: 700px) {
  .contact-form { grid-template-columns: 1fr; }
  .contact-aside { grid-template-columns: 1fr; }
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--teal-deep);
  color: rgba(255,255,255,0.78);
  padding-top: 64px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  gap: 36px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.10);
}
.site-footer .brand__mark { color: var(--gold-soft); }
.site-footer__brand .brand__name {
  color: #fff;
  font-family: var(--display);
  font-size: 18px;
  margin-top: 12px;
}
.site-footer__tag { color: rgba(255,255,255,0.6); font-size: 14px; margin-top: 6px; }
.site-footer__nav { display: flex; flex-direction: column; gap: 8px; }
.site-footer__nav h5,
.site-footer__legal h5 {
  font-family: var(--body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-bottom: 14px;
  font-weight: 600;
}
.site-footer__nav a {
  color: rgba(255,255,255,0.78);
  font-size: 14.5px;
}
.site-footer__nav a:hover { color: #fff; }
.site-footer__legal p {
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
.site-footer__bottom {
  display: flex;
  justify-content: space-between;
  padding: 20px 0 28px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.site-footer__bottom p { margin: 0; color: inherit; }
@media (max-width: 900px) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 6px; }
}

/* ---------- focus ---------- */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 3px;
}
