/* SYC Consultant
   Palette taken from the 2026 mockup: burgundy #660033, cream #f5f0e9, cyan buttons #22d3f0.
   Radius system: pill (999px) for buttons, 18px for images. Nothing else.
   Motion: one spring-like curve for transforms, quick ease for colour. */

@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/outfit-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Pinyon Script";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/pinyon-script-latin.woff2") format("woff2");
}

:root {
  color-scheme: light;
  --maroon: #660033;
  --maroon-deep: #660033;
  --maroon-ink: #5a2532;
  --sky: #f5f0e9;
  --sky-line: #ddd2c4;
  --slate: #3b5462;
  --slate-btn: #4d6b7c;
  --text: #660033;
  --text-2: #660033;
  --btn-blue: #22d3f0;
  --on-dark: #fbf6f7;
  --on-dark-2: rgb(251 246 247 / 0.78);
  --ease-spring: cubic-bezier(0.32, 0.72, 0, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Outfit", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--sky);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.08; letter-spacing: -0.02em; margin: 0 0 0.5em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: 24px;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 560;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1rem;
}
.eyebrow-light { color: var(--on-dark-2); }

.script {
  font-family: "Pinyon Script", "Snell Roundhand", cursive;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

/* ---------- Buttons ----------
   Hover: a fill sweeps in from the left, the label nudges and the arrow
   slides out and back in from the left. */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 0.95em 1.15em 0.95em 1.6em;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 620;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  color: var(--btn-fg);
  background: var(--btn-bg);
  box-shadow: 0 0 0 0 transparent;
  transition: color 0.35s ease-out, transform 0.5s var(--ease-spring), box-shadow 0.5s var(--ease-spring);
}
.btn::before {
  content: "";
  position: absolute;
  inset: -1px; /* bleed past the edge so no sliver of the base colour shows */
  z-index: -1;
  background: var(--btn-hover-bg);
  /* Slide a plain rectangle in; the button's own rounded clip shapes it,
     so the pill never looks squashed mid-sweep */
  transform: translateX(-101%);
  transition: transform 0.55s var(--ease-spring);
}
.btn-label { transition: transform 0.5s var(--ease-spring); }
.btn-arrow {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  overflow: hidden;
}
.btn-arrow svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (hover: hover) {
  .btn:hover {
    color: var(--btn-hover-fg);
    transform: translateY(-2px);
    box-shadow: 0 14px 28px -14px rgb(20 10 15 / 0.55);
  }
  .btn:hover::before { transform: translateX(0); }
  .btn:hover .btn-label { transform: translateX(-2px); }
  .btn:hover .btn-arrow svg { animation: arrow-loop 0.6s var(--ease-spring); }
}
.btn:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.btn:active { transform: translateY(0) scale(0.98); }

@keyframes arrow-loop {
  0%   { transform: translateX(0); }
  45%  { transform: translateX(150%); }
  46%  { transform: translateX(-150%); }
  100% { transform: translateX(0); }
}

.btn-sm {
  padding: 0.7em 0.95em 0.7em 1.25em;
  font-size: 0.82rem;
}

/* Every button: cyan #22d3f0 fill, burgundy uppercase label.
   Hover sweeps in burgundy on light sections, white on burgundy ones. */
.btn {
  --btn-bg: #22d3f0;
  --btn-fg: #660033;
  --btn-hover-bg: #660033;
  --btn-hover-fg: #fff;
}
.site-header .btn,
.training .btn,
.faq .btn { --btn-hover-bg: #fff; --btn-hover-fg: #660033; }

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

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  color: var(--on-dark);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--on-dark);
}
.brand-logo { width: 58px; height: auto; }
.brand-name {
  font-size: 0.92rem;
  font-weight: 560;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

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

.hero {
  position: relative;
  overflow: hidden;
  color: var(--on-dark);
  background: var(--maroon-deep);
  padding: clamp(150px, 18vw, 200px) 0 clamp(96px, 10vw, 136px);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(102 0 51 / 0.94) 0%, rgb(102 0 51 / 0.82) 38%, rgb(102 0 51 / 0.25) 72%, rgb(102 0 51 / 0.1) 100%),
    linear-gradient(0deg, rgb(102 0 51 / 0.7) 0%, transparent 35%),
    url("../img/hero-bg.webp") right center / cover no-repeat;
}
.hero-inner { position: relative; }
.hero h1 {
  max-width: 11.5ch;
  font-size: clamp(2.8rem, 6.6vw, 5.4rem);
  font-weight: 640;
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: 0.45em;
}
.hero-sub {
  max-width: 34rem;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.5;
  color: var(--on-dark-2);
  padding-left: 18px;
  border-left: 2px solid rgb(251 246 247 / 0.45);
}

/* ---------- Intro ---------- */

.intro {
  padding-bottom: clamp(72px, 9vw, 110px);
}
.intro-head {
  text-align: center;
  /* As in the mockup: only the top edge of the portrait overlaps the hero */
  margin-top: clamp(-60px, -4vw, -36px);
  margin-bottom: clamp(56px, 7vw, 84px);
}
.portrait {
  position: relative;
  margin: 0 auto 22px;
  width: min(420px, 78vw);
  aspect-ratio: 1 / 0.84;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 50px -28px rgb(40 15 22 / 0.55);
}
.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 20%;
}
.intro-title {
  position: relative;
  z-index: 1;
  /* Pull the title up so its first line overlaps the bottom of the portrait */
  margin-top: -0.95em;
  color: var(--text);
  font-size: clamp(2.2rem, 4.4vw, 3.3rem);
  font-weight: 650;
  margin-bottom: 0.35em;
}
.intro-cred {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 0.95rem;
  color: var(--text-2);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.help-title {
  font-size: clamp(1.45rem, 2.4vw, 1.95rem);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.005em;
  color: var(--text);
  margin-bottom: 0.9em;
}
.help-title strong { font-weight: 700; }
.help-title .caps { text-transform: uppercase; font-weight: 500; }
.intro-copy > p {
  max-width: 34rem;
  color: var(--text-2);
  margin-bottom: 1.8em;
}

.script-lead {
  font-size: clamp(1.7rem, 2.6vw, 2.15rem);
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 1.1em;
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 22px;
}
.checks li {
  position: relative;
  padding-left: 40px;
  color: var(--text-2);
  font-size: 1rem;
}
.checks li strong { color: var(--text); }
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: #22d3f0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23660033' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 12.5 3.2 3.2L17 9'/%3E%3C/svg%3E") center / 18px no-repeat;
}

/* ---------- Training ---------- */

.training {
  background: var(--maroon);
  color: var(--on-dark);
  padding-block: clamp(72px, 9vw, 110px);
}
.training-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.training-title {
  font-size: clamp(3rem, 6.4vw, 4.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1;
  margin-bottom: 0.25em;
}
.training-sub {
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  max-width: 21ch;
  margin-bottom: 1em;
}
.training-sub .script {
  font-size: 1.45em;
  line-height: 0.8;
  margin-right: 0.08em;
}
.training-copy > p:not([class]) {
  max-width: 32rem;
  color: var(--on-dark-2);
  margin-bottom: 1.8em;
}
.training-figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / 0.6);
}
.training-figure img {
  width: 100%;
  aspect-ratio: 1.36 / 1;
  object-fit: cover;
}

.steps-title {
  margin: clamp(48px, 6vw, 72px) 0 24px;
  padding-top: clamp(32px, 4vw, 44px);
  border-top: 1px solid rgb(255 255 255 / 0.22);
  font-size: clamp(1.35rem, 2.3vw, 1.75rem);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.steps li {
  padding: 28px 24px;
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: 18px;
}
.step-num {
  display: block;
  font-size: 0.8rem;
  font-weight: 560;
  letter-spacing: 0.06em;
  color: var(--btn-blue);
  margin-bottom: 10px;
}
.steps strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 620;
  margin-bottom: 6px;
}
.steps p { color: var(--on-dark-2); font-size: 0.98rem; }

/* ---------- Experience stats (inside the intro section) ---------- */

.stats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(56px, 7vw, 84px);
  border-top: 1px solid var(--sky-line);
  border-bottom: 1px solid var(--sky-line);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: clamp(28px, 3.5vw, 40px) 24px;
}
.stat + .stat { border-left: 1px solid var(--sky-line); }
.stat-num {
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--text);
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.95rem;
  color: var(--text-2);
  max-width: 13rem;
}

/* ---------- Testimonials ---------- */

.testimonials {
  padding-block: clamp(72px, 9vw, 110px);
}
.testi-title {
  color: var(--text);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.testi-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%;
  padding: 32px 28px;
  background: #fff;
  border-radius: 18px;
  color: var(--text);
}
.testi blockquote { margin: 0; flex: 1; }
.testi blockquote p {
  font-size: 1.02rem;
  line-height: 1.6;
}
.testi blockquote p::before {
  content: "\201C";
  display: block;
  font-family: "Pinyon Script", "Snell Roundhand", cursive;
  font-size: 3.4rem;
  line-height: 0.6;
  margin-bottom: 10px;
  color: #660033;
}
.testi figcaption { font-size: 0.9rem; }
.testi figcaption strong { display: block; font-weight: 620; }

/* ---------- FAQ ---------- */

.faq {
  background: var(--maroon);
  color: #fff;
  padding-block: clamp(72px, 9vw, 110px);
}
.faq-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.faq-title {
  font-size: clamp(2.6rem, 5.4vw, 4rem);
  font-weight: 650;
  line-height: 1.02;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin-bottom: 0.5em;
}
.faq-intro > p:not(.eyebrow) {
  max-width: 28rem;
  color: var(--on-dark-2);
  margin-bottom: 1.8em;
}

.faq-list { border-top: 1px solid rgb(255 255 255 / 0.22); }
.faq-item { border-bottom: 1px solid rgb(255 255 255 / 0.22); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  font-size: 1.08rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1.5px solid rgb(255 255 255 / 0.75);
  border-radius: 999px;
  transition: transform 0.45s var(--ease-spring), background-color 0.2s ease-out;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 0.45s var(--ease-spring);
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-item summary:hover .faq-icon { background: rgb(255 255 255 / 0.12); }
.faq-item[open] .faq-icon { transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item summary:focus-visible { outline: 2px solid #fff; outline-offset: 4px; border-radius: 4px; }
.faq-item p {
  max-width: 36rem;
  margin: -6px 0 0;
  padding: 0 50px 24px 0;
  color: var(--on-dark-2);
}

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

.site-footer {
  background: var(--maroon);
  color: var(--on-dark);
  border-top: 1px solid rgb(255 255 255 / 0.22);
  padding: 56px 0 32px;
}
.footer-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: stretch;
  padding-bottom: 40px;
  border-bottom: 1px solid rgb(255 255 255 / 0.22);
}
.footer-row > * { padding-inline: 32px; margin: 0; display: flex; align-items: center; }
.footer-row > .footer-links { display: grid; align-content: center; }
.footer-row > :first-child { padding-left: 0; }
.footer-row > * + * { border-left: 1px solid rgb(255 255 255 / 0.35); }
.footer-links {
  list-style: none;
  margin: 0;
  display: grid;
  gap: 12px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 0.95rem;
  text-decoration: none;
  transition: opacity 0.2s ease-out;
}
.footer-links a:hover { opacity: 0.75; }
.footer-links svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.footer-tag { font-size: 0.95rem; color: var(--on-dark-2); }
.footer-base {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding-top: 24px;
  font-size: 0.85rem;
  color: var(--on-dark-2);
}
.footer-base a { text-decoration: none; }
.footer-base a:hover { text-decoration: underline; }

/* ---------- Scroll reveals (JS adds .reveal; content visible without JS) ---------- */

.reveals .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s ease-out, transform 0.9s var(--ease-spring);
  transition-delay: var(--reveal-delay, 0ms);
}
.reveals .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .intro-grid,
  .training-grid,
  .faq-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .testi-grid,
  .steps { grid-template-columns: 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--sky-line); }
  .footer-row { grid-template-columns: 1fr; gap: 24px; }
  .footer-row > * { padding-inline: 0; }
  .footer-row > * + * { border-left: 0; }
}

@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .brand-logo { width: 46px; }
  .brand-name { font-size: 0.8rem; }
  .hero-bg {
    background:
      linear-gradient(180deg, rgb(102 0 51 / 0.55) 0%, rgb(102 0 51 / 0.88) 45%, rgb(102 0 51 / 0.92) 100%),
      url("../img/hero-bg.webp") 70% center / cover no-repeat;
  }
  .btn { white-space: normal; text-align: left; }
  .stat { padding-inline: 14px; }
  .stat:first-child, .stat:nth-child(3) { padding-left: 0; }
}
