:root {
  --paper: #f3eee8;
  --pink: #f4b8cf;
  --pink-soft: #f8cadb;
  --red: #c92216;
  --wine: #7b2018;
  --ink: #2a160f;
  --line: rgba(123, 32, 24, 0.28);
  --line-strong: rgba(123, 32, 24, 0.58);
  --white: #fff9f5;
  --shell: 1520px;
  --gutter: 24px;
  --radius: 24px;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

html {
  background: var(--paper);
  color: var(--wine);
}
body {
  font-family: "Instrument Sans", Arial, Helvetica, sans-serif;
  background: var(--paper);
  font-size: 16px;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
}
::selection {
  background: var(--red);
  color: var(--white);
}
.skip-link {
  position: fixed;
  left: 16px;
  top: 10px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--wine);
  color: var(--pink);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}
.skip-link:focus {
  transform: none;
}
section[id] {
  scroll-margin-top: 92px;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}
.shell {
  width: min(calc(100% - 2 * var(--gutter)), var(--shell));
  margin-inline: auto;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 14px 0 8px;
  background: linear-gradient(to bottom, var(--paper) 72%, transparent);
}
.header-bar {
  height: 58px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(243, 238, 232, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.brand {
  font-weight: 700;
  letter-spacing: -0.05em;
  font-size: 18px;
  color: var(--red);
}
.desktop-nav {
  display: flex;
  gap: 30px;
  font-size: 13px;
}
.desktop-nav a,
.footer-links a {
  position: relative;
}
.desktop-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.desktop-nav a:hover::after,
.desktop-nav a.active::after,
.footer-links a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}
.header-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.menu-toggle {
  display: none;
  color: var(--wine);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.mobile-nav {
  display: none;
}
.mobile-cta {
  display: none;
}

.page-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--pink);
  margin-top: 10px;
}
.panel {
  position: relative;
  background: var(--pink);
  border-bottom: 1px solid var(--line-strong);
  overflow: hidden;
}
.panel:last-child {
  border-bottom: 0;
}
.section-panel,
.system-panel,
.principles-panel,
.contact-panel {
  padding: 26px 38px 48px;
}
.section-topline,
.micro-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.section-topline {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}

.hero {
  min-height: 860px;
  padding: 18px 38px 0;
  display: flex;
  flex-direction: column;
}
.hero-wordmark {
  font-size: clamp(116px, 18.4vw, 300px);
  line-height: 0.8;
  letter-spacing: -0.085em;
  font-weight: 700;
  color: var(--red);
  margin-top: 66px;
  white-space: nowrap;
}
.hero-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.55fr);
  gap: 80px;
  align-items: end;
  margin-top: 72px;
}
.hero h1 {
  font-size: clamp(34px, 4.2vw, 68px);
  line-height: 0.98;
  letter-spacing: -0.055em;
  font-weight: 450;
  max-width: 930px;
}
.hero-intro {
  max-width: 460px;
  justify-self: end;
}
.hero-intro p {
  font-size: 16px;
  max-width: 420px;
}
.pill-button {
  display: inline-flex;
  align-items: center;
  margin-top: 26px;
  padding: 12px 15px;
  border-radius: 8px;
  background: var(--red);
  color: var(--white);
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.ticker {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr auto 1fr auto 1fr auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 22px 0 24px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.ticker i {
  height: 1px;
  background: var(--line);
}

.editorial-heading {
  padding: 66px 0 52px;
  border-bottom: 1px solid var(--line);
}
.editorial-heading h2,
.services-intro h2,
.process-heading h2,
.principles-title,
.contact-copy h2 {
  font-size: clamp(58px, 8.3vw, 136px);
  line-height: 0.88;
  letter-spacing: -0.065em;
  font-weight: 530;
}
.editorial-heading h2 {
  max-width: 1300px;
}
.about-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 80px;
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}
.large-note {
  font-size: clamp(28px, 3.4vw, 54px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  max-width: 700px;
}
.body-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  font-size: 15px;
}
.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.facts-grid article {
  padding: 30px 26px 8px 0;
  border-right: 1px solid var(--line);
}
.facts-grid article + article {
  padding-left: 26px;
}
.facts-grid article:last-child {
  border-right: 0;
}
.facts-grid span {
  font-size: 10px;
}
.facts-grid strong {
  display: block;
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -0.04em;
  margin-top: 48px;
}
.facts-grid p {
  margin-top: 6px;
  font-size: 14px;
}

.services {
  background: var(--pink-soft);
}
.services-intro {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 80px;
  align-items: end;
  padding: 58px 0;
}
.services-intro p {
  font-size: 18px;
  max-width: 420px;
  justify-self: end;
  padding-bottom: 8px;
}
.service-table {
  border-top: 1px solid var(--line-strong);
}
.service-item {
  display: grid;
  grid-template-columns: 58px 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
  min-height: 178px;
  border-bottom: 1px solid var(--line-strong);
  transition:
    background 0.3s var(--ease),
    padding 0.3s var(--ease);
}
.service-number {
  font-size: 10px;
  align-self: start;
  padding-top: 28px;
}
.service-item h3 {
  font-size: clamp(38px, 5vw, 78px);
  line-height: 0.92;
  letter-spacing: -0.055em;
  font-weight: 520;
}
.service-item p {
  font-size: 14px;
  max-width: 430px;
}
.service-item:hover {
  background: rgba(234, 50, 29, 0.08);
  padding-inline: 14px;
}

.system-panel {
  background: var(--red);
  color: var(--white);
  min-height: 900px;
  display: grid;
  grid-template-rows: auto 1fr auto;
}
.system-panel .section-topline {
  border-color: rgba(255, 249, 245, 0.38);
}
.system-title {
  color: var(--pink);
  font-size: clamp(78px, 12.7vw, 205px);
  line-height: 0.78;
  letter-spacing: -0.075em;
  font-weight: 650;
  text-transform: uppercase;
  align-self: center;
  padding: 50px 0;
}
.system-caption {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: end;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 249, 245, 0.38);
}
.system-caption p {
  max-width: 430px;
  font-size: 16px;
}
.system-progress {
  height: 12px;
  border: 1px solid rgba(255, 249, 245, 0.65);
  overflow: hidden;
}
.system-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--pink);
  transition: width 1.25s var(--ease);
}
.system-panel.in-view .system-progress span {
  width: 100%;
}

.outcomes {
  background: var(--pink);
}
.statement-list {
  padding-top: 40px;
}
.statement-list p {
  font-size: clamp(52px, 8.5vw, 138px);
  line-height: 0.91;
  letter-spacing: -0.065em;
  font-weight: 530;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.statement-list p span {
  font-weight: 400;
  opacity: 0.55;
}
.statement-list p:nth-child(even) {
  text-align: right;
}

.process {
  background: var(--paper);
}
.process-heading {
  padding: 66px 0 54px;
}
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
  border-left: 1px solid var(--line-strong);
}
.process-grid article {
  min-height: 360px;
  padding: 24px;
  border-right: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
  display: flex;
  flex-direction: column;
}
.process-grid article > span {
  font-size: 10px;
}
.process-grid h3 {
  font-size: clamp(34px, 3.8vw, 56px);
  letter-spacing: -0.05em;
  font-weight: 500;
  margin-top: auto;
}
.process-grid p {
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
}

.principles-panel {
  background: var(--pink-soft);
}
.principles-title {
  padding: 66px 0 54px;
  overflow-wrap: break-word;
}
.principles-list {
  border-top: 1px solid var(--line-strong);
}
.principles-list > div {
  display: grid;
  grid-template-columns: 56px 0.9fr 1fr;
  gap: 28px;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-strong);
}
.principles-list span {
  font-size: 10px;
}
.principles-list strong {
  font-size: clamp(28px, 3vw, 46px);
  letter-spacing: -0.04em;
  font-weight: 530;
}
.principles-list p {
  font-size: 14px;
  max-width: 500px;
}

.contact-panel {
  background: var(--wine);
  color: var(--pink);
  padding-bottom: 34px;
}
.contact-topline {
  border-color: rgba(244, 184, 207, 0.28);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
  padding-top: 64px;
}
.contact-copy h2 {
  font-size: clamp(58px, 7.5vw, 116px);
}
.contact-copy p {
  max-width: 520px;
  font-size: 17px;
  margin-top: 30px;
  opacity: 0.8;
}
.contact-form {
  align-self: end;
  display: grid;
  gap: 24px;
}
.field-row {
  display: grid;
  gap: 20px 26px;
}
.two-col {
  grid-template-columns: 1fr 1fr;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.contact-form label {
  display: block;
}
.contact-form label > span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  opacity: 0.75;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(244, 184, 207, 0.38);
  background: transparent;
  color: var(--pink);
  padding: 10px 0;
  outline: none;
  border-radius: 0;
}
.contact-form input::placeholder {
  color: rgba(244, 184, 207, 0.45);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--pink);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.submit-button {
  display: inline-flex;
  align-items: center;
  background: var(--pink);
  color: var(--wine);
  padding: 13px 16px;
  border-radius: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 650;
  cursor: pointer;
}
.form-status {
  font-size: 12px;
  opacity: 0.75;
}
.field-error {
  border-color: #fff !important;
}
.submit-button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.form-status[data-state="error"] {
  opacity: 1;
}
.form-status[data-state="success"] {
  opacity: 1;
}

.footer {
  display: grid;
  grid-template-columns: 1.5fr 0.8fr 1fr;
  gap: 48px;
  padding: 36px 22px 46px;
  font-size: 12px;
}
.footer p {
  max-width: 320px;
}
.footer-links {
  display: grid;
  gap: 7px;
  justify-items: start;
}
.footer-meta {
  display: grid;
  gap: 7px;
  justify-items: end;
}
.footer-legal {
  display: flex;
  gap: 14px;
}
.footer-legal a:hover {
  text-decoration: underline;
}

.reveal {
  opacity: 1;
  transform: none;
}
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease);
}
.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1100px) {
  :root {
    --gutter: 16px;
  }
  .header-bar {
    grid-template-columns: 1fr auto auto;
    gap: 18px;
  }
  .desktop-nav {
    display: none;
  }
  .menu-toggle {
    display: block;
  }
  .header-cta {
    grid-column: 2;
  }
  .mobile-nav {
    position: fixed;
    top: 80px;
    left: var(--gutter);
    right: var(--gutter);
    z-index: 49;
    display: grid;
    gap: 0;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 8px;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s var(--ease);
  }
  .mobile-nav.open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .mobile-nav a {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    font-size: 20px;
  }
  .mobile-nav a:last-child {
    border-bottom: 0;
  }
  .hero {
    min-height: 760px;
  }
  .hero-bottom,
  .about-grid,
  .services-intro,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-intro,
  .services-intro p {
    justify-self: start;
  }
  .body-copy {
    max-width: 700px;
  }
  .service-item {
    grid-template-columns: 48px 1fr;
  }
  .service-item p {
    grid-column: 2/3;
    padding-bottom: 24px;
  }
  .system-caption {
    grid-template-columns: 1fr;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer {
    grid-template-columns: 1fr;
  }
  .footer-meta {
    justify-items: start;
  }
}

@media (max-width: 700px) {
  :root {
    --gutter: 10px;
    --radius: 18px;
  }
  .site-header {
    padding-top: 10px;
  }
  .header-bar {
    height: 54px;
    padding: 0 14px;
  }
  .header-cta {
    display: none;
  }
  .mobile-nav {
    top: 70px;
  }
  .page-shell {
    margin-top: 6px;
  }
  .section-panel,
  .system-panel,
  .principles-panel,
  .contact-panel {
    padding: 18px 16px 30px;
  }
  .hero {
    min-height: 680px;
    padding: 16px 16px 0;
  }
  .micro-row,
  .section-topline {
    font-size: 9px;
  }
  .hero-code,
  .section-topline span:last-child {
    display: none;
  }
  .hero-wordmark {
    font-size: clamp(52px, 18vw, 110px);
    margin-top: 70px;
  }
  .hero-bottom {
    margin-top: 58px;
  }
  .hero h1 {
    font-size: clamp(38px, 11vw, 58px);
  }
  .ticker {
    grid-template-columns: auto 1fr auto 1fr auto;
    padding: 18px 0;
  }
  .ticker span:nth-of-type(4),
  .ticker span:nth-of-type(5),
  .ticker i:nth-of-type(3),
  .ticker i:nth-of-type(4) {
    display: none;
  }
  .editorial-heading {
    padding: 46px 0 34px;
  }
  .editorial-heading h2,
  .services-intro h2,
  .process-heading h2,
  .principles-title,
  .contact-copy h2 {
    font-size: clamp(48px, 14vw, 76px);
  }
  .about-grid {
    padding: 34px 0;
  }
  .body-copy {
    grid-template-columns: 1fr;
  }
  .facts-grid {
    grid-template-columns: 1fr;
  }
  .facts-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 22px 0;
  }
  .facts-grid article + article {
    padding-left: 0;
  }
  .facts-grid article:last-child {
    border-bottom: 0;
  }
  .facts-grid strong {
    margin-top: 20px;
  }
  .services-intro {
    padding: 42px 0;
  }
  .service-item {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    min-height: auto;
    padding: 24px 0;
  }
  .service-item h3 {
    font-size: clamp(34px, 11vw, 54px);
  }
  .service-item p {
    font-size: 13px;
  }
  .system-panel {
    min-height: 720px;
  }
  .system-title {
    color: var(--pink);
    font-size: clamp(56px, 18vw, 95px);
    padding: 50px 0;
  }
  .statement-list p {
    font-size: clamp(46px, 13.5vw, 70px);
    padding: 20px 0;
  }
  .statement-list p:nth-child(even) {
    text-align: left;
  }
  .process-heading {
    padding: 46px 0 36px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-grid article {
    min-height: 260px;
  }
  .principles-title {
    padding: 46px 0 36px;
    font-size: clamp(42px, 12.5vw, 76px);
  }
  .principles-list > div {
    grid-template-columns: 34px 1fr;
    gap: 12px;
  }
  .principles-list p {
    grid-column: 2/3;
    margin-top: 4px;
  }
  .contact-layout {
    padding-top: 46px;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
  .field-row {
    gap: 20px;
  }
  .footer {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 30px 14px;
  }
  .footer-meta {
    justify-items: start;
  }
  .mobile-cta {
    display: flex;
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 70;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(42, 22, 15, 0.35);
    transition: bottom 0.25s var(--ease);
  }
  .mobile-cta svg {
    width: 24px;
    height: 24px;
  }
  #cookieBanner:not([hidden]) ~ .mobile-cta {
    bottom: 190px;
  }
}

.legal-page {
  padding: 56px 38px 80px;
}
.legal-header {
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.legal-title {
  font-size: clamp(32px, 4.5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 600;
  margin-top: 18px;
}
.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  margin-top: 14px;
  font-size: 14px;
}
.legal-meta em {
  font-style: normal;
  opacity: 0.65;
}
.legal-body {
  max-width: 760px;
  padding-top: 36px;
}
.legal-body p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.legal-body h2 {
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: 36px 0 14px;
}
.legal-body h3 {
  font-size: 17px;
  font-weight: 650;
  margin: 22px 0 10px;
}
.legal-body ul {
  margin: 0 0 18px;
  padding-left: 22px;
}
.legal-body li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 8px;
}
.legal-contact {
  font-style: normal;
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 18px;
}
.legal-contact a {
  text-decoration: underline;
}

@media (max-width: 700px) {
  .legal-page {
    padding: 30px 16px 48px;
  }
  .legal-title {
    font-size: clamp(28px, 9vw, 38px);
  }
  .legal-body {
    padding-top: 28px;
  }
}

.footer-mail {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 650;
  color: var(--red);
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  max-width: 640px;
  margin-inline: auto;
  background: var(--wine);
  color: var(--pink);
  border-radius: 16px;
  padding: 22px 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 24px 60px rgba(42, 22, 15, 0.32);
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-banner-copy {
  font-size: 13px;
  line-height: 1.5;
  max-width: 400px;
  opacity: 0.85;
}
.cookie-banner-copy a {
  text-decoration: underline;
  opacity: 1;
}
.cookie-banner-actions {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-banner-btn {
  font-size: 12px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.25s var(--ease);
  border: 1px solid rgba(244, 184, 207, 0.38);
  background: transparent;
  color: var(--pink);
}
.cookie-banner-btn-ghost:hover {
  border-color: var(--pink);
}
.cookie-banner-btn-solid {
  background: var(--pink);
  color: var(--wine);
  border-color: var(--pink);
}
.cookie-banner-btn-solid:hover {
  transform: translateY(-1px);
}
@media (max-width: 560px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner-copy {
    max-width: none;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-banner-btn {
    flex: 1;
  }
}
