/* Viateras Consulting Group — site styles */

@font-face { font-family: "Public Sans"; font-weight: 400; font-display: swap; src: url("fonts/public-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 600; font-display: swap; src: url("fonts/public-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Public Sans"; font-weight: 700; font-display: swap; src: url("fonts/public-sans-latin-700-normal.woff2") format("woff2"); }

:root {
  --burgundy: #800020;
  --burgundy-dark: #5c0017;
  --rose: #b5677d;
  --blush: #f6eef0;
  --ink: #232327;
  --muted: #5d5d66;
  --line: #e4e1e3;
  --paper: #ffffff;
  --curbara-green: #023d36;
  --curbara-orange: #cd4e05;
  --curbara-cream: #f6efe0;
  --max: 1120px;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Anchor jumps: land with about 40px between the header and the section label */
main section[id] { scroll-margin-top: 24px; }
body {
  margin: 0;
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--burgundy); }
a:hover { color: var(--burgundy-dark); }
h1, h2, h3 { line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 14px;
}
.lede { font-size: 1.2rem; color: var(--muted); max-width: 40em; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; gap: 28px; align-items: center; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover { color: var(--burgundy); }
.nav .btn { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--burgundy);
  background: var(--burgundy);
  color: #fff;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { background: var(--burgundy-dark); border-color: var(--burgundy-dark); color: #fff; }
.btn.ghost { background: transparent; color: var(--burgundy); }
.btn.ghost:hover { background: var(--blush); color: var(--burgundy-dark); }
.btn.small { padding: 8px 16px; font-size: 0.9rem; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 96px 0 104px; }
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 14em; }
.hero .lede { margin-bottom: 14px; }
.hero .cred { font-weight: 600; color: var(--burgundy); margin-bottom: 32px; }
.hero .actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-art {
  position: absolute; right: -60px; top: 50%; transform: translateY(-50%);
  width: min(46vw, 560px); opacity: 0.1; pointer-events: none;
}

/* Sections */
section { padding: 88px 0; }
.section-head { max-width: 46em; margin-bottom: 44px; }
.section-head p { color: var(--muted); }

/* Services */
.services { background: var(--blush); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 30px 26px;
  border-top: 4px solid var(--burgundy);
  /* Line up number, title, and text across each row of cards */
  display: grid;
  grid-row: span 3;
  grid-template-rows: subgrid;
  row-gap: 0;
}
.service .num { font-size: 0.85rem; font-weight: 700; color: var(--rose); letter-spacing: 0.1em; display: block; margin-bottom: 8px; }
.service p { color: var(--muted); margin: 0; }

/* Experience */
.experience { background: var(--burgundy); color: #fff; }
.experience .eyebrow { color: #f2c6d1; }
.experience .section-head p { color: #f3dde3; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 8px 0 44px; padding: 0; list-style: none; }
.stats li { border-top: 2px solid rgba(255, 255, 255, 0.35); padding-top: 16px; }
.stats strong { display: block; font-size: 2.1rem; line-height: 1.1; font-weight: 700; margin-bottom: 6px; }
.stats span { font-size: 0.95rem; color: #f3dde3; }
.experience .summary { max-width: 48em; color: #fbeef1; font-size: 1.1rem; margin: 0; }

/* About */
.about-grid { display: grid; grid-template-columns: 300px 1fr; gap: 56px; align-items: start; }
.portrait {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--blush), #ead6dc);
  display: flex; align-items: center; justify-content: center;
  color: var(--rose); font-weight: 700; font-size: 3.4rem; letter-spacing: 0.04em;
  overflow: hidden;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; }
.about h2 { margin-bottom: 4px; }
.about .role { color: var(--muted); font-weight: 600; margin-bottom: 22px; }
.about .links { margin-top: 18px; }
.about .focus {
  margin-top: 8px;
  padding-left: 18px;
  border-left: 3px solid var(--burgundy);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

/* Products */
.products { background: #faf8f9; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.product {
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
  background: var(--curbara-green); color: var(--curbara-cream);
  border-radius: 14px; padding: 40px 44px;
}
.product h3 { font-size: 2rem; margin-bottom: 4px; color: #fff; }
.product .product-logo { margin-bottom: 14px; }
.product .product-logo img { height: 44px; width: auto; }
.product .tagline { color: #f0a477; font-weight: 600; font-size: 1.1rem; margin-bottom: 16px; }
.product p { max-width: 38em; }
.product .parent { font-size: 0.9rem; opacity: 0.8; margin: 0; }
.product .btn { background: var(--curbara-orange); border-color: var(--curbara-orange); }
.product .btn[aria-disabled="true"] { background: transparent; border-color: rgba(246, 239, 224, 0.5); color: var(--curbara-cream); cursor: default; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.contact-list li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
.contact-list li:first-child { border-top: 1px solid var(--line); }
.contact-list svg { width: 20px; height: 20px; flex: none; color: var(--burgundy); }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--burgundy); }

/* Footer */
.site-footer { padding: 32px 0; color: var(--muted); font-size: 0.8rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 32px; row-gap: 16px; }
.site-footer img { grid-column: 1 / -1; height: 26px; width: auto; }
.site-footer .privacy { margin: 0; }
.site-footer .copyright { white-space: nowrap; }

/* Responsive */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; width: 100%; }
  .nav .btn { width: auto; margin-top: 8px; padding: 10px 20px; }
  .service-grid, .about-grid, .contact-grid, .product { grid-template-columns: 1fr; }
  .about-grid { gap: 32px; }
  .portrait { max-width: 260px; }
  .hero { padding: 64px 0 72px; }
  .hero-art { width: 80vw; right: -30vw; opacity: 0.07; }
  section { padding: 64px 0; }
  main section[id] { scroll-margin-top: 40px; }
  .product { padding: 32px 26px; }
  .site-footer .wrap { grid-template-columns: 1fr; row-gap: 8px; }
  .site-footer img { margin-bottom: 8px; }
  .site-footer .copyright { white-space: normal; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr; }
  .brand img { height: 28px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
