/* Veltmoor Advisory — site styles. Brand colours only; no third-party resources. */

:root {
  --pine: #0F2E2A;
  --verdigris: #4E8C7D;
  --copper: #B4683C;
  --limestone: #F3EFE6;
  --graphite: #1F2427;
  --sage: #C8D4CD;
  --copper-deep: #8E4E2B;
  --stone: #E3DDD0;
  --slate: #5B6461;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --font-text: "Instrument Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --header-h: 4.5rem;
  --measure: 38rem;
  --wrap: 70rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

@font-face {
  font-family: "Newsreader";
  src: url("fonts/newsreader.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  font-optical-sizing: auto;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

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

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

body {
  margin: 0;
  color: var(--graphite);
  background: var(--limestone);
  font-family: var(--font-text);
  font-weight: 420;
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--copper-deep); }

:focus { outline: none; }

:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
}

::selection {
  background: var(--pine);
  color: var(--limestone);
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--limestone);
  color: var(--pine);
  font-weight: 600;
  font-size: 0.875rem;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: min(var(--wrap), 100% - 2 * var(--gutter));
  margin-inline: auto;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--pine);
  color: var(--limestone);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 2rem;
  min-height: var(--header-h);
  padding-block: 0.85rem;
}

.logo {
  display: block;
  flex: 0 0 auto;
  text-decoration: none;
}

.logo img {
  width: 11.75rem;
  height: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--sage);
  text-decoration: none;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--limestone);
}

.site-nav a[aria-current="page"],
.site-nav .nav-cta {
  color: var(--limestone);
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(243, 239, 230, 0.35);
  letter-spacing: 0.08em;
}

.site-nav .nav-cta:hover {
  border-color: var(--copper);
  color: var(--limestone);
}

/* Hero */

.hero {
  position: relative;
  background: var(--pine);
  color: var(--limestone);
  overflow: hidden;
  padding: clamp(2.75rem, 7vw, 6.5rem) 0 clamp(3.5rem, 9vw, 7.5rem);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(12rem, 0.7fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--sage);
  font-family: var(--font-text);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--limestone);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.35rem, 5.6vw, 4.35rem);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 72;
  letter-spacing: -0.02em;
  line-height: 1.12;
  max-width: 14ch;
  text-wrap: balance;
}

.rule {
  display: block;
  width: 3rem;
  height: 2px;
  margin: 1.6rem 0 1.7rem;
  background: var(--copper);
  border: 0;
}

.lede {
  margin: 0;
  max-width: 34rem;
  color: var(--sage);
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

.hero-actions {
  margin-top: 2.15rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  background: var(--limestone);
  color: var(--pine);
  font-family: var(--font-text);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border: 1px solid var(--limestone);
  line-height: 1.2;
}

.btn:hover,
.btn:focus-visible {
  background: transparent;
  color: var(--limestone);
  border-color: var(--limestone);
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 16rem;
}

.contours {
  position: absolute;
  inset: -10% -8% -15% -20%;
  width: auto;
  height: auto;
  pointer-events: none;
}

.hero-art .mark {
  position: relative;
  z-index: 1;
  width: min(100%, 19rem);
  height: auto;
}

/* Sections */

.section {
  padding: clamp(3.5rem, 8vw, 6.25rem) 0;
}

.section-head {
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head h2 {
  margin: 0;
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.5rem);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 36;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-wrap: balance;
}

.section-kicker {
  margin: 0 0 0.65rem;
  color: var(--copper-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.section-intro {
  margin: 0.85rem 0 0;
  color: var(--slate);
  max-width: 36rem;
}

/* Offerings */

.offerings {
  background: var(--limestone);
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem 1.75rem;
}

.card {
  padding: 1.6rem 0 0.25rem;
  border-top: 1px solid var(--copper);
}

.card-index {
  margin: 0 0 1.1rem;
  color: var(--copper-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.card h3 {
  margin: 0 0 0.85rem;
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.5rem;
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 24;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-wrap: balance;
}

.card p {
  margin: 0;
  color: var(--graphite);
}

/* How we work */

.how {
  background: var(--stone);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem 2rem;
}

.principle h3 {
  margin: 0 0 0.7rem;
  color: var(--pine);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.35rem;
  font-optical-sizing: auto;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.principle p {
  margin: 0;
  color: var(--graphite);
}

/* Contact */

.contact {
  background: var(--pine);
  color: var(--limestone);
}

.contact .section-kicker { color: var(--sage); }

.contact h2 {
  color: var(--limestone);
  font-variation-settings: "opsz" 48;
}

.contact-copy {
  margin: 0.9rem 0 0;
  max-width: 32rem;
  color: var(--sage);
  font-size: 1.125rem;
}

.contact-actions {
  margin-top: 1.75rem;
}

.contact .btn:hover,
.contact .btn:focus-visible {
  background: transparent;
  color: var(--limestone);
}

/* Disclaimer + footer */

.site-footer {
  background: var(--pine);
  color: var(--sage);
  border-top: 1px solid rgba(200, 212, 205, 0.28);
  padding: 2rem 0 2.5rem;
}

.disclaimer {
  margin: 0 0 1.75rem;
  max-width: 46rem;
  color: var(--sage);
  font-size: 0.8125rem;
  line-height: 1.55;
}

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.legal-name {
  margin: 0;
  color: var(--limestone);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.footer-domain {
  margin: 0;
  color: var(--sage);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-domain:hover { color: var(--limestone); }

/* Responsive */

@media (max-width: 860px) {
  .hero {
    padding-top: clamp(2rem, 6vw, 4rem);
    padding-bottom: clamp(2.25rem, 6vw, 4rem);
  }

  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 0;
    justify-items: start;
    max-width: 9.75rem;
    margin-top: 1.75rem;
  }

  .contours {
    inset: -18% -30% 8% -30%;
  }

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

  .cards,
  .principles {
    grid-template-columns: 1fr;
  }

  .card {
    padding-top: 1.35rem;
    padding-bottom: 0.5rem;
  }
}

@media (max-width: 640px) {
  :root { --header-h: auto; }

  .header-inner {
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    padding-block: 0.75rem 0.85rem;
  }

  .logo img { width: 10.25rem; }

  .site-nav {
    width: 100%;
  }

  .site-nav ul {
    gap: 0;
    justify-content: space-between;
  }

  .site-nav a {
    font-size: 0.75rem;
    letter-spacing: 0.07em;
    padding: 0.45rem 0;
  }

  .site-nav .nav-cta {
    padding: 0.35rem 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
