/* =========================================================
   Neue Agency: brand tokens pulled from the logo
   ========================================================= */
:root {
  --navy: #1B314C;
  --navy-deep: #142539;
  --navy-soft: #2A4466;
  --light: #F8F4EE;
  --paper: #FBF8F3;
  --cream: #F2EBE0;
  --mist: #E6EDF5;
  --ink: #16263B;
  --muted: #5E6B7C;
  --line: rgba(27, 49, 76, 0.14);
  --line-light: rgba(248, 244, 238, 0.18);
  --error: #A93A2F;

  --serif: "Times New Roman", Times, Tinos, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(88px, 12vw, 160px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 104px; }

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

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

em { font-style: italic; }

/* =========================================================
   Wordmark (recreates the logo in Times New Roman)
   ========================================================= */
.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  font-family: var(--serif);
  color: var(--navy);
}
.wordmark__neue {
  font-size: 42px;
  letter-spacing: -0.075em;
  margin-right: -0.075em; /* compensate trailing tracking for centering */
  font-weight: 400;
}
.wordmark__agency {
  font-size: 15px;
  letter-spacing: 0.02em;
  margin-top: 3px;
}
.wordmark--footer { color: var(--light); }
.wordmark--footer .wordmark__neue { font-size: 52px; }
.wordmark--footer .wordmark__agency { font-size: 17px; margin-top: 4px; }

/* =========================================================
   Buttons & type helpers
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--solid { background: var(--navy); color: var(--light); }
.btn--solid:hover { background: var(--navy-deep); }
.btn--outline { border-color: var(--navy); color: var(--navy); }
.btn--outline:hover { background: var(--navy); color: var(--light); }
.btn--light { background: var(--light); color: var(--navy); }
.btn--light:hover { background: #fff; }
.btn--small { padding: 11px 22px; font-size: 12px; }
.btn--block { width: 100%; }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy);
  opacity: .75;
  margin-bottom: 24px;
}
.eyebrow--light { color: var(--light); }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
  padding: 24px 0;
}
.nav.is-scrolled {
  background: rgba(251, 248, 243, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
  padding: 14px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__links {
  display: flex;
  gap: 36px;
  font-size: 14px;
}
.nav__links a {
  position: relative;
  color: var(--ink);
  transition: opacity .2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav__actions { display: flex; align-items: center; gap: 28px; font-size: 14px; }
.nav__mobile-only { display: none; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0; padding: 0;
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 11px; right: 11px;
  height: 1.5px;
  background: var(--navy);
  transition: transform .4s var(--ease), top .4s var(--ease);
}
.nav__toggle span:nth-child(1) { top: 18px; }
.nav__toggle span:nth-child(2) { top: 25px; }
.nav.is-open .nav__toggle span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 170px;
  overflow: hidden;
}
.hero__inner { padding-bottom: clamp(56px, 8vw, 96px); }
.hero__title {
  font-family: var(--serif);
  font-size: clamp(52px, 9.4vw, 148px);
  line-height: 0.95;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.hero__title em { letter-spacing: -0.02em; }
.hero__bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.hero__lede {
  max-width: 520px;
  font-size: 18px;
  color: var(--muted);
  font-weight: 300;
}
.hero__ctas { display: flex; gap: 12px; flex-shrink: 0; }

/* Marquee */
.marquee {
  background: var(--navy);
  color: var(--light);
  overflow: hidden;
  padding: 22px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: 26px;
  font-style: italic;
  padding: 0 28px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 56px;
}
.marquee__track span::after {
  content: "✦";
  font-style: normal;
  font-size: 12px;
  opacity: .5;
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Statement
   ========================================================= */
.statement { padding: var(--section) 0; background: var(--cream); }
.statement__text {
  font-family: var(--serif);
  font-size: clamp(30px, 4.4vw, 60px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--navy);
  max-width: 1080px;
}
.statement__text em { color: var(--navy-soft); }

/* =========================================================
   Generic section
   ========================================================= */
.section { padding: var(--section) 0; }
.section__head { margin-bottom: clamp(48px, 7vw, 88px); }
.section__head--row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}
.section__title {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 72px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.section__aside {
  max-width: 380px;
  color: var(--muted);
  font-weight: 300;
  font-size: 17px;
}

/* Services list */
#services { background: var(--mist); border-top: 1px solid var(--line); }
.services { border-top: 1px solid var(--line); }
.service {
  display: grid;
  grid-template-columns: 80px 1fr 1.1fr;
  gap: 32px;
  align-items: baseline;
  padding: 38px 0;
  border-bottom: 1px solid var(--line);
  transition: padding .5s var(--ease);
}
.service:hover { padding-left: 16px; }
.service__num {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--muted);
}
.service__title {
  font-family: var(--serif);
  font-size: clamp(26px, 3vw, 40px);
  letter-spacing: -0.02em;
  color: var(--navy);
  line-height: 1.1;
}
.service__desc { color: var(--muted); font-weight: 300; max-width: 480px; }

/* =========================================================
   Why Neue
   ========================================================= */
.why {
  background: var(--navy);
  color: var(--light);
  padding: var(--section) 0;
}
.why .section__title { color: var(--light); }
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--line-light);
}
.why__item {
  padding: 44px 48px 48px 0;
  border-bottom: 1px solid var(--line-light);
}
.why__item:nth-child(odd) { border-right: 1px solid var(--line-light); }
.why__item:nth-child(even) { padding-left: 48px; padding-right: 0; }
.why__item h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 38px);
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.why__item p { font-weight: 300; opacity: .8; max-width: 460px; }

/* =========================================================
   Process
   ========================================================= */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.step {
  padding: 40px 32px 8px 0;
  border-right: 1px solid var(--line);
  margin-right: 32px;
}
.step:last-child { border-right: 0; margin-right: 0; }
.step__num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--muted);
  margin-bottom: 56px;
}
.step__title {
  font-family: var(--serif);
  font-size: 34px;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 14px;
}
.step p { color: var(--muted); font-weight: 300; font-size: 15px; }

/* =========================================================
   Platforms strip
   ========================================================= */
.platforms {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 36px 0;
}
.platforms__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.platforms__label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.platforms__list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-family: var(--serif);
  font-size: 22px;
  color: var(--navy);
}

/* =========================================================
   Roster form
   ========================================================= */
.roster { background: var(--mist); }
.roster__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(48px, 7vw, 112px);
  align-items: start;
}
.roster__intro { position: sticky; top: 120px; }
.roster__intro .section__title { margin-bottom: 28px; }
.roster__lede { color: var(--muted); font-weight: 300; font-size: 17px; margin-bottom: 40px; max-width: 460px; }
.roster__notes li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
  font-weight: 300;
}
.roster__notes strong { color: var(--navy); font-weight: 500; }

.form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 56px);
  box-shadow: 0 30px 60px -40px rgba(27, 49, 76, 0.35);
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form__row--3 { grid-template-columns: repeat(3, 1fr); gap: 20px; }
.field { margin: 0 0 26px; border: 0; padding: 0; min-width: 0; }
.field--socials { margin-bottom: 0; }
.field--socials > legend { margin-bottom: 18px; }
.field--socials .field label { font-weight: 400; letter-spacing: 0.04em; color: var(--muted); }
.field--socials > .field__msg { margin: -14px 0 22px; }
.field label,
.field legend {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 10px;
  padding: 0;
}
.field label span,
.field legend span { color: var(--muted); }
.field label small,
.field legend small {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 400;
  color: var(--muted);
  margin-left: 6px;
  font-size: 12px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  font-weight: 300;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 10px 0 12px;
  outline: none;
  transition: border-color .3s var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea {
  border: 1px solid var(--line);
  padding: 14px 16px;
  resize: vertical;
  min-height: 130px;
  border-radius: 2px;
}
.field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B314C' stroke-width='1.4' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  padding-right: 24px;
}
.field select:invalid { color: #9AA3AF; }
.field input::placeholder,
.field textarea::placeholder { color: #9AA3AF; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--navy); }

.field.has-error input,
.field.has-error select,
.field.has-error textarea { border-color: var(--error); }
.field__msg {
  display: block;
  font-size: 12px;
  color: var(--error);
  margin-top: 6px;
}

/* Category chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { cursor: pointer; position: relative; }
.chip input { position: absolute; inset: 0; margin: 0; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 14px;
  color: var(--ink);
  transition: all .25s var(--ease);
  user-select: none;
}
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--light); }
.chip input:focus-visible + span { outline: 2px solid var(--navy); outline-offset: 2px; }
.field--chips.has-error .chip span { border-color: rgba(169, 58, 47, .5); }

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--muted);
  margin: 6px 0 28px;
  cursor: pointer;
}
.consent input {
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--navy);
  flex-shrink: 0;
}
.consent.has-error span { color: var(--error); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.form__error {
  background: rgba(169, 58, 47, .08);
  color: var(--error);
  font-size: 14px;
  padding: 12px 16px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn__label::after {
  content: "";
  display: inline-block;
  width: 12px; height: 12px;
  margin-left: 10px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  vertical-align: -1px;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.form-success {
  background: var(--navy);
  color: var(--light);
  border-radius: 4px;
  padding: clamp(40px, 6vw, 72px);
  text-align: center;
  outline: none;
  animation: fadeUp .8s var(--ease);
}
.form-success__mark {
  display: inline-grid;
  place-items: center;
  width: 64px; height: 64px;
  border: 1px solid var(--line-light);
  border-radius: 50%;
  font-size: 24px;
  margin-bottom: 28px;
}
.form-success h3 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.form-success p { opacity: .8; font-weight: 300; max-width: 420px; margin: 0 auto; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Contact CTA
   ========================================================= */
.cta {
  background: var(--navy);
  color: var(--light);
  padding: var(--section) 0;
  text-align: center;
}
.cta__inner { display: flex; flex-direction: column; align-items: center; }
.cta__title {
  font-family: var(--serif);
  font-size: clamp(42px, 7vw, 104px);
  line-height: 1;
  letter-spacing: -0.035em;
  margin-bottom: 32px;
}
.cta__lede { max-width: 520px; font-weight: 300; font-size: 17px; opacity: .8; margin-bottom: 44px; }
.cta .btn { text-transform: none; letter-spacing: 0.01em; font-size: 16px; padding: 18px 36px; }

/* =========================================================
   Footer
   ========================================================= */
.footer {
  background: var(--navy-deep);
  color: var(--light);
  padding: 88px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 64px;
  border-bottom: 1px solid var(--line-light);
}
.footer__brand p { margin-top: 24px; max-width: 300px; opacity: .65; font-weight: 300; font-size: 15px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col h4 {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: .5;
  margin-bottom: 8px;
}
.footer__col a { opacity: .85; transition: opacity .2s; }
.footer__col a:hover { opacity: 1; }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  font-size: 13px;
  opacity: .55;
}

/* =========================================================
   Reveal on scroll
   ========================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

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

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .nav__links { gap: 24px; }
  .service { grid-template-columns: 56px 1fr; }
  .service__desc { grid-column: 2; }
  .process { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2) { border-right: 0; margin-right: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--line); }
  .roster__inner { grid-template-columns: 1fr; }
  .roster__intro { position: static; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav__toggle { display: block; }
  .nav__actions { display: none; }
  .nav__mobile-only { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--paper);
    flex-direction: column;
    justify-content: center;
    padding: 0 var(--gutter);
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .4s var(--ease), visibility .4s;
  }
  .nav__links a {
    font-family: var(--serif);
    font-size: 40px;
    letter-spacing: -0.02em;
    color: var(--navy);
    padding: 6px 0;
  }
  .nav__links a::after { display: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; }
  .nav.is-open { background: var(--paper); box-shadow: none; }

  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .why__grid { grid-template-columns: 1fr; }
  .why__item,
  .why__item:nth-child(even) { padding: 36px 0; border-right: 0; }
  .why__item:nth-child(odd) { border-right: 0; }
}

@media (max-width: 600px) {
  body { font-size: 15px; }
  .wordmark__neue { font-size: 34px; }
  .wordmark__agency { font-size: 12px; }
  .hero { padding-top: 140px; }
  .hero__lede { font-size: 16px; }
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .marquee__track span { font-size: 20px; padding: 0 18px; gap: 36px; }
  .service { grid-template-columns: 1fr; gap: 10px; padding: 28px 0; }
  .service__desc { grid-column: 1; }
  .service:hover { padding-left: 0; }
  .process { grid-template-columns: 1fr; }
  .step { border-right: 0; margin-right: 0; padding-right: 0; padding-bottom: 32px; }
  .step + .step { border-top: 1px solid var(--line); }
  .step__num { margin-bottom: 20px; }
  .form__row,
  .form__row--3 { grid-template-columns: 1fr; gap: 0; }
  .platforms__list { font-size: 18px; gap: 8px 24px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__base { flex-direction: column; }
}
