@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 500 700;
  font-display: swap;
  src: url("/assets/fonts/fraunces-italic-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Outfit";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, 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: 400 700;
  font-display: swap;
  src: url("/assets/fonts/outfit-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --ink: #141821;
  --ink-soft: #3d4452;
  --paper: #f4efe4;
  --paper-2: #ebe3d3;
  --cream: #fff8ee;
  --navy: #0c1b33;
  --navy-2: #152644;
  --sky: #3d8fd4;
  --sun: #efb133;
  --sun-hot: #ee8a1e;
  --terra: #d4531c;
  --line: rgba(20, 24, 33, 0.12);
  --display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --sans: "Outfit", "Segoe UI", system-ui, sans-serif;
  --header-h: 5.25rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

html:focus-within { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
ol, ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, blockquote, figure { margin: 0; }
blockquote { border: 0; }

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--terra); }

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

::selection {
  background: var(--sun);
  color: var(--navy);
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 80;
  background: var(--cream);
  color: var(--navy);
  padding: 0.6rem 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 1rem;
}

.hero-eyebrow { color: #ffd37a; }

h1, h2, h3 {
  font-family: var(--display);
  font-optical-sizing: auto;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.1rem, 9vw, 7.15rem);
  color: var(--cream);
  font-weight: 600;
}

h2 {
  font-size: clamp(2.15rem, 4.6vw, 3.65rem);
  color: var(--navy);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
  letter-spacing: -0.02em;
}

.lede {
  max-width: 38rem;
  font-size: 1.2rem;
  color: var(--ink-soft);
  margin-top: 1.15rem;
}

.section-head { max-width: 40rem; margin-bottom: 3.25rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.15rem;
  padding: 0.75rem 1.45rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.btn:hover { color: inherit; transform: translateY(-2px); }

.btn-sun {
  background: var(--sun);
  color: var(--navy);
  box-shadow: 0 10px 28px rgba(239, 177, 51, 0.28);
}

.btn-sun:hover { background: #f3c04c; }

.btn-ghost {
  background: transparent;
  color: var(--cream);
  border-color: rgba(255, 248, 238, 0.42);
}

.btn-ghost:hover {
  border-color: var(--cream);
  background: rgba(255, 248, 238, 0.08);
  color: var(--cream);
}

.btn-small {
  min-height: 2.55rem;
  padding: 0.45rem 1.05rem;
  font-size: 0.92rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.1rem;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  color: var(--cream);
  transition: background 0.35s ease, box-shadow 0.35s ease, color 0.35s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(12, 27, 51, 0.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 40px rgba(8, 16, 32, 0.22);
}

.page-sub .site-header {
  background: var(--navy);
  color: var(--cream);
}

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

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.wordmark:hover { color: inherit; }

.mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: none;
  color: var(--sun);
}

.wordmark-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark-wide {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.22rem;
  letter-spacing: -0.03em;
}

.wordmark-talent {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.78;
  margin-top: 0.2rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

.site-nav a:hover { color: var(--sun); }

.site-nav .btn:hover { color: var(--navy); }

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.35rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s var(--ease), opacity 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bars::before { top: -6px; }
.nav-toggle-bars::after { top: 6px; }

.site-header.is-open .nav-toggle-bars { background: transparent; }
.site-header.is-open .nav-toggle-bars::before { top: 0; transform: rotate(45deg); }
.site-header.is-open .nav-toggle-bars::after { top: 0; transform: rotate(-45deg); }

/* Hero / sky */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  color: var(--cream);
  overflow: hidden;
  padding: calc(var(--header-h) + 2rem) 0 14vh;
}

.sky {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sky-wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      #071221 0%,
      #10284c 18%,
      #1b4d86 38%,
      #3b86c4 56%,
      #8ec4e8 70%,
      #f3c98a 86%,
      #e8923a 100%
    );
}

.sky-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 52% at 82% 58%, rgba(255, 214, 120, 0.48), transparent 70%),
    linear-gradient(180deg, rgba(7, 18, 33, 0.28) 0%, rgba(7, 18, 33, 0.1) 42%, transparent 62%);
}

.sky-sun {
  --sun-shift: 0px;
  --sun-opacity: 1;
  position: absolute;
  left: auto;
  right: clamp(1.25rem, 7vw, 5.5rem);
  bottom: 26%;
  width: min(20vw, 210px);
  height: min(20vw, 210px);
  transform: translateX(var(--sun-shift));
  opacity: var(--sun-opacity);
  border-radius: 50%;
  background:
    radial-gradient(circle at 46% 42%, #fff6d2 0%, #ffe07a 26%, #efb133 52%, rgba(239, 177, 51, 0) 72%);
  animation: sunBreathe 10s ease-in-out infinite;
  filter: blur(0.3px);
}

.sky-horizon {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 18%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(18, 14, 10, 0.12) 34%, rgba(12, 16, 22, 0.42) 100%);
}

.sky-cloud {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 248, 238, 0.14);
  filter: blur(28px);
  animation: drift 36s linear infinite;
}

.sky-cloud.c1 {
  width: 42vw;
  height: 18vw;
  top: 18%;
  left: -10%;
  animation-duration: 48s;
}

.sky-cloud.c2 {
  width: 28vw;
  height: 12vw;
  top: 32%;
  left: 48%;
  opacity: 0.7;
  animation-duration: 40s;
  animation-delay: -12s;
}

.sky-cloud.c3 {
  width: 36vw;
  height: 14vw;
  top: 12%;
  left: 70%;
  opacity: 0.45;
  animation-duration: 56s;
  animation-delay: -20s;
}

.sky-grain {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.55'/></svg>");
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 18.5em;
  margin-left: max((100% - 1120px) / 2, 1.25rem);
  width: min(1120px, calc(100% - 2.5rem));
}

/* keep wrap alignment: override so it uses standard wrap */
.hero .hero-inner {
  margin-inline: auto;
  max-width: min(1120px, calc(100% - 2.5rem));
  width: min(1120px, calc(100% - 2.5rem));
  padding-right: min(22vw, 260px);
}
.hero-inner::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: -28% -30% -32% -24%;
  background: radial-gradient(ellipse 62% 58% at 28% 52%, rgba(8, 18, 36, 0.26), rgba(8, 18, 36, 0.08) 46%, transparent 72%);
}

.hero h1 .line { display: block; }
.hero h1 .wider { letter-spacing: 0.01em; }
.hero h1 .shorter { letter-spacing: -0.04em; }

.hero-lead {
  max-width: 36rem;
  margin-top: 1.5rem;
  font-size: clamp(1.08rem, 1.6vw, 1.28rem);
  color: rgba(255, 248, 238, 0.96);
  text-shadow:
    0 1px 1px rgba(7, 18, 33, 0.3),
    0 2px 12px rgba(7, 18, 33, 0.34),
    0 10px 28px rgba(7, 18, 33, 0.3);
}

/* Sections */
.section { padding: 7.5rem 0; }

.work { background: var(--paper); }

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.work-card,
.step,
.value {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 1.35rem;
  padding: 1.7rem 1.55rem 1.8rem;
}

.work-card { box-shadow: 0 18px 40px rgba(20, 24, 33, 0.04); }

.idx {
  display: block;
  font-family: var(--display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.65rem;
  color: var(--terra);
  margin-bottom: 1.15rem;
}

.work-card h3,
.step h3,
.value h3 { margin-bottom: 0.7rem; }

.work-card p,
.step p,
.value p { color: var(--ink-soft); }

.how { background: var(--paper-2); }

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step {
  background: rgba(255, 248, 238, 0.7);
  min-height: 100%;
}

.approach { background: var(--paper); }

.pull {
  margin: 0 0 4rem;
  padding: 0;
}

.pull blockquote p {
  font-family: var(--display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 18ch;
}

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

.value {
  background: transparent;
  border: 0;
  border-top: 2px solid var(--sun);
  border-radius: 0;
  padding: 1.4rem 0 0;
}

.candidates {
  position: relative;
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}

.candidates::before {
  content: "";
  position: absolute;
  width: 55vw;
  height: 55vw;
  right: -18vw;
  top: -28vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 177, 51, 0.22), transparent 68%);
  pointer-events: none;
}

.candidates h2 { color: var(--cream); }
.candidates .lede,
.candidates p { color: rgba(255, 248, 238, 0.82); }
.candidates a { color: var(--sun); }
.candidates a:hover { color: #ffd37a; }
.candidates .btn-sun { color: var(--navy); }
.candidates .btn-sun:hover { color: var(--navy); }
.candidates-inner { position: relative; max-width: 42rem; }

.contact { background: var(--paper); }

.contact-inner {
  max-width: 40rem;
  padding: 3.2rem 0 0.5rem;
}

.contact .note {
  margin-top: 1.3rem;
  color: var(--ink-soft);
  max-width: 34rem;
}

/* Footer */
.site-footer {
  background: #091322;
  color: rgba(243, 235, 221, 0.78);
  padding: 3.5rem 0 2.6rem;
}

.footer-inner { display: grid; gap: 1.15rem; }

.site-footer .wordmark { color: var(--cream); width: max-content; }

.footer-tag {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--cream);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.35rem;
}

.footer-nav a {
  color: rgba(243, 235, 221, 0.78);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-nav a:hover { color: var(--sun); }

.footer-copy {
  font-size: 0.88rem;
  opacity: 0.72;
  margin-top: 0.6rem;
}

/* Inner pages */
.page-sub { background: var(--paper); }

.sub-hero {
  background: var(--navy);
  color: var(--cream);
  padding: calc(var(--header-h) + 3.5rem) 0 3.8rem;
}

.sub-hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}

.sub-body {
  padding: 4.2rem 0 6rem;
  max-width: 42rem;
}

.sub-body h2 {
  font-size: 1.7rem;
  margin: 2.2rem 0 0.7rem;
}

.sub-body p + p { margin-top: 1rem; }
.sub-body p { color: var(--ink-soft); }
.sub-body a { color: var(--terra); }

/* Motion */
html:not(.no-js) .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

html:not(.no-js) .reveal.in,
html.no-js .reveal {
  opacity: 1;
  transform: none;
}

@keyframes sunBreathe {
  0%, 100% { transform: translateX(var(--sun-shift)) scale(1); opacity: var(--sun-opacity); }
  50% { transform: translateX(var(--sun-shift)) scale(1.06); opacity: calc(var(--sun-opacity) * 0.92); }
}

@keyframes drift {
  from { transform: translateX(0); }
  to { transform: translateX(-18vw); }
}

@media (max-width: 900px) {
  .work-grid,
  .steps,
  .values { grid-template-columns: 1fr; }

  .steps { gap: 0.85rem; }

  .section { padding: 5.2rem 0; }

  .nav-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.4rem 1.25rem 1.3rem;
    background: rgba(12, 27, 51, 0.96);
  }

  .site-header.is-open .site-nav { display: flex; }

  .site-nav a { padding: 0.55rem 0; }

  h1 { font-size: clamp(2.7rem, 13vw, 4.4rem); }

  .hero .hero-inner { padding-right: 0; }

  .sky-sun {
    right: -8%;
    top: 16%;
    bottom: auto;
    width: min(44vw, 180px);
    height: min(44vw, 180px);
    --sun-opacity: 0.4;
  }

  .sky-veil {
    background:
      radial-gradient(ellipse 65% 45% at 92% 18%, rgba(255, 214, 120, 0.28), transparent 70%),
      linear-gradient(180deg, rgba(7, 18, 33, 0.34) 0%, rgba(7, 18, 33, 0.14) 42%, transparent 62%);
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; }
}

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

  html:not(.no-js) .reveal,
  html:not(.no-js) .reveal.in,
  html.no-js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .sky-sun,
  .sky-cloud { animation: none; }

  .btn { transition: none; }
  .btn:hover { transform: none; }
}

@media (max-width: 540px) {
  .wrap { width: min(1120px, calc(100% - 1.75rem)); }
  .hero { padding-bottom: 16vh; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .btn { width: 100%; }
  .site-nav .btn { width: auto; }
}

.sub-cta { margin-top: 1.6rem; }
.sub-cta .btn { width: auto; }

