/* ==========================================================================
   VTS Holding — Design System
   Elegant corporate aesthetic. Ivory, charcoal & brand gold.
   Fraunces (display serif) + Inter (body).
   ========================================================================== */

:root {
  --ivory: #faf7f2;
  --paper: #ffffff;
  --ink: #1c1a17;
  --ink-soft: #4d473f;
  --ink-faint: #8a8275;
  --gold: #b08436; /* brand: hsl(36 41% 51%) refined */
  --gold-deep: #8f6a28;
  --gold-soft: rgba(176, 132, 54, 0.1);
  --gold-border: rgba(176, 132, 54, 0.35);
  --line: rgba(28, 26, 23, 0.12);
  --dark: #14110d;
  --dark-2: #1e1a14;
  --radius: 4px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --container: 1180px;
  --header-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 0 0 0.5em;
}

h1 {
  font-size: clamp(2.7rem, 6.5vw, 4.8rem);
}

h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Utilities
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--gold);
}

.lead {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: var(--ink-soft);
  max-width: 64ch;
}

.section {
  padding: clamp(80px, 11vw, 150px) 0;
  position: relative;
}

.section--paper {
  background: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--dark {
  background: var(--dark);
  color: #efe9dd;
}

.section--dark .lead {
  color: rgba(239, 233, 221, 0.72);
}

.section--dark .eyebrow {
  color: var(--gold);
}

.section-head {
  max-width: 740px;
  margin-bottom: clamp(44px, 6vw, 80px);
}

.gold {
  color: var(--gold-deep);
}

em {
  font-style: italic;
  font-family: var(--font-display);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.75s ease, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  padding: 16px 34px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease,
    border-color 0.25s ease, transform 0.2s ease;
}

.btn--gold {
  background: var(--gold);
  color: #fff;
}

.btn--gold:hover {
  background: var(--gold-deep);
  transform: translateY(-2px);
}

.btn--outline {
  border-color: var(--ink);
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--ivory);
}

.section--dark .btn--outline {
  border-color: rgba(239, 233, 221, 0.5);
  color: #efe9dd;
}

.section--dark .btn--outline:hover {
  background: #efe9dd;
  color: var(--ink);
}

.btn svg {
  width: 15px;
  height: 15px;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background-color 0.3s ease, border-color 0.3s ease,
    box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  flex-direction: column;
  line-height: 1;
}

.logo .logo-main {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.7rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}

.logo .logo-main b {
  color: var(--gold-deep);
  font-weight: 600;
}

.logo .logo-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.52em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 38px;
}

.site-nav a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
  position: relative;
}

.site-nav a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 1.5px;
  background: var(--gold);
  transition: right 0.25s ease;
}

.site-nav a:not(.btn):hover::after,
.site-nav a:not(.btn)[aria-current="page"]::after {
  right: 0;
}

.site-nav a:not(.btn):hover,
.site-nav a:not(.btn)[aria-current="page"] {
  color: var(--ink);
}

.site-nav .btn {
  padding: 11px 24px;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 9px 11px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }
  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 8px 24px 26px;
    display: none;
  }
  .site-nav.is-open {
    display: flex;
  }
  .site-nav a:not(.btn) {
    padding: 15px 4px;
    border-bottom: 1px solid var(--line);
    font-size: 1.02rem;
  }
  .site-nav a:not(.btn)::after {
    display: none;
  }
  .site-nav .btn {
    margin-top: 18px;
    justify-content: center;
  }
  body.nav-locked {
    overflow: hidden;
  }
  .nav-toggle.is-open span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }
  .nav-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }
  .nav-toggle.is-open span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(80px, 13vw, 150px)) 0
    clamp(80px, 11vw, 140px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -160px;
  width: 640px;
  height: 640px;
  border-radius: 50%;
  border: 1px solid var(--gold-border);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  top: -130px;
  right: -90px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-soft), transparent 70%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 17ch;
}

.hero .lead {
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--gold-border);
  padding: 9px 20px;
  border-radius: 999px;
  margin-bottom: 34px;
  background: var(--paper);
}

/* Hero footnote strip */
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 5vw, 70px);
  margin-top: clamp(60px, 9vw, 100px);
  padding-top: 36px;
  border-top: 1px solid var(--line);
}

.hero-meta div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--ink);
}

.hero-meta div span {
  font-size: 0.88rem;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   Division cards
   -------------------------------------------------------------------------- */

.divisions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(270px, 100%), 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.division {
  background: var(--paper);
  padding: clamp(34px, 4vw, 48px) clamp(28px, 3vw, 40px);
  position: relative;
  transition: background-color 0.3s ease;
  display: flex;
  flex-direction: column;
}

.division:hover {
  background: var(--ivory);
}

.division .num {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 26px;
}

.division h3 {
  font-size: 1.45rem;
  margin-bottom: 14px;
}

.division p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  flex: 1;
}

.division .card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-top: 22px;
}

.division .card-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.division:hover .card-link svg {
  transform: translateX(5px);
}

/* --------------------------------------------------------------------------
   Values
   -------------------------------------------------------------------------- */

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(36px, 5vw, 60px) clamp(36px, 5vw, 70px);
}

.value {
  position: relative;
  padding-left: 30px;
}

.value::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--gold);
  transform: rotate(45deg);
}

.value h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.value p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

.section--dark .value h3 {
  color: #efe9dd;
}

.section--dark .value p {
  color: rgba(239, 233, 221, 0.65);
}

/* --------------------------------------------------------------------------
   Split
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(44px, 7vw, 100px);
  align-items: center;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Statement block */
.statement {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  font-weight: 450;
  line-height: 1.35;
  font-style: italic;
  position: relative;
  padding-left: clamp(28px, 4vw, 48px);
  border-left: 2px solid var(--gold);
  max-width: 30ch;
}

/* --------------------------------------------------------------------------
   Service detail blocks (division pages content)
   -------------------------------------------------------------------------- */

.detail-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.detail-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink-soft);
  font-size: 0.97rem;
}

.detail-list li::before {
  content: "";
  flex: 0 0 8px;
  height: 8px;
  margin-top: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

.service-block {
  border-top: 1px solid var(--line);
  padding: clamp(40px, 6vw, 64px) 0;
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(28px, 5vw, 80px);
}

.service-block:last-of-type {
  border-bottom: 1px solid var(--line);
}

@media (max-width: 760px) {
  .service-block {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

.service-block h3 {
  font-size: 1.5rem;
  margin: 0;
}

.service-block .kind {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.service-block p {
  color: var(--ink-soft);
  margin: 0 0 0.8em;
}

.service-block p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Careers
   -------------------------------------------------------------------------- */

.job {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(32px, 4vw, 48px);
  margin-bottom: 28px;
}

.job h3 {
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.job .job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 22px;
}

.job .tag {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-deep);
  background: var(--gold-soft);
  border: 1px solid var(--gold-border);
  padding: 5px 14px;
  border-radius: 999px;
}

.job p {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(44px, 6vw, 90px);
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-channel {
  padding: 26px 0;
  border-bottom: 1px solid var(--line);
}

.contact-channel:first-child {
  padding-top: 0;
}

.contact-channel strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 7px;
}

.contact-channel a,
.contact-channel span {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ink);
}

.contact-channel a:hover {
  color: var(--gold-deep);
}

.contact-channel small {
  display: block;
  font-size: 0.86rem;
  color: var(--ink-faint);
  margin-top: 5px;
}

.form {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: clamp(30px, 4vw, 48px);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.field {
  margin-bottom: 20px;
}

.field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 9px;
  color: var(--ink-soft);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
  padding: 14px 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field textarea {
  resize: vertical;
  min-height: 140px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px var(--gold-soft);
}

.form-note {
  font-size: 0.82rem;
  color: var(--ink-faint);
  margin-top: 16px;
}

/* --------------------------------------------------------------------------
   Page hero (interior)
   -------------------------------------------------------------------------- */

.page-hero {
  padding: calc(var(--header-h) + clamp(64px, 10vw, 110px)) 0
    clamp(54px, 7vw, 90px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  max-width: 20ch;
}

/* --------------------------------------------------------------------------
   CTA band
   -------------------------------------------------------------------------- */

.cta-band {
  text-align: center;
}

.cta-band h2 {
  max-width: 24ch;
  margin-inline: auto;
}

.cta-band .lead {
  margin-inline: auto;
  margin-bottom: 38px;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--dark);
  color: rgba(239, 233, 221, 0.72);
  padding: clamp(60px, 8vw, 90px) 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

@media (max-width: 920px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo img {
  width: 150px;
  height: auto;
  margin-bottom: 22px;
}

.site-footer p {
  font-size: 0.92rem;
  max-width: 40ch;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(239, 233, 221, 0.45);
  margin: 0 0 20px;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.footer-col a {
  font-size: 0.94rem;
  color: rgba(239, 233, 221, 0.72);
  transition: color 0.2s ease;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(239, 233, 221, 0.14);
  padding-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 0.84rem;
  color: rgba(239, 233, 221, 0.45);
}

.footer-bottom a {
  color: rgba(239, 233, 221, 0.45);
}

.footer-bottom a:hover {
  color: var(--gold);
}

/* --------------------------------------------------------------------------
   Prose (legal)
   -------------------------------------------------------------------------- */

.prose {
  max-width: 760px;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 2.2em;
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page {
  min-height: 70vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: calc(var(--header-h) + 60px) 24px 80px;
}

.error-page .code {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(5rem, 16vw, 9rem);
  line-height: 1;
  color: var(--gold);
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  background: var(--gold);
  color: #fff;
  padding: 12px 20px;
  font-weight: 600;
}

.skip-link:focus {
  left: 0;
  top: 0;
}

/* Audit refinements */
h1,
h2,
h3 {
  text-wrap: balance;
}

.btn,
.site-nav a,
.nav-toggle,
.card-link {
  touch-action: manipulation;
}
