:root {
  --paper: #f3f0e9;
  --paper-bright: #fbfaf6;
  --ink: #111111;
  --ink-soft: #363534;
  --steel: #777571;
  --line: #d6d1c7;
  --line-dark: #aaa59b;
  --signal: #e20b17;
  --signal-dark: #b70911;
  --white: #ffffff;
  --max-width: 1180px;
  --shadow: 0 18px 50px rgba(17, 17, 17, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    linear-gradient(rgba(17, 17, 17, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 17, 17, 0.025) 1px, transparent 1px),
    var(--paper);
  background-size: 48px 48px;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(251, 250, 246, 0.94);
  backdrop-filter: blur(14px);
}

.header-inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.brand {
  width: 198px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: 70px;
  object-fit: contain;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  padding: 32px 0 29px;
  color: var(--ink-soft);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 22px;
  left: 0;
  height: 2px;
  background: var(--signal);
  content: '';
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a[aria-current='page']::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-cta {
  padding: 12px 17px !important;
  color: var(--white) !important;
  background: var(--ink);
}

.nav-cta::after {
  display: none;
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid var(--line-dark);
  background: transparent;
}

.menu-button span,
.menu-button::before,
.menu-button::after {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  content: '';
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-button[aria-expanded='true'] span {
  opacity: 0;
}

.menu-button[aria-expanded='true']::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-button[aria-expanded='true']::after {
  transform: translateY(-7px) rotate(-45deg);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: var(--signal-dark);
  font-size: 0.77rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 34px;
  height: 2px;
  background: currentColor;
  content: '';
}

.display,
.page-title,
.section-title {
  margin: 0;
  font-family: Impact, 'Arial Narrow Bold', Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 0.92;
  text-transform: uppercase;
}

.display {
  max-width: 780px;
  font-size: clamp(4rem, 8vw, 7.4rem);
}

.page-title {
  max-width: 930px;
  font-size: clamp(3.5rem, 7vw, 6.8rem);
}

.section-title {
  font-size: clamp(2.6rem, 5vw, 4.8rem);
}

.display em,
.page-title em,
.section-title em {
  color: var(--signal);
  font-style: normal;
}

.lede {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 92px 0 80px;
  border-bottom: 1px solid var(--line-dark);
  background: var(--paper-bright);
}

.hero::after {
  position: absolute;
  top: 54px;
  right: -130px;
  width: 430px;
  height: 430px;
  border: 46px solid rgba(17, 17, 17, 0.035);
  border-radius: 50%;
  content: '';
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.7fr);
  gap: 68px;
  align-items: end;
}

.hero-actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 13px 20px;
  border: 2px solid var(--ink);
  color: var(--white);
  background: var(--ink);
  font-size: 0.79rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.button::after {
  content: '→';
  font-size: 1.1rem;
}

.button:hover {
  color: var(--white);
  background: var(--signal);
  border-color: var(--signal);
  transform: translateY(-2px);
}

.button-secondary {
  color: var(--ink);
  background: transparent;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--ink);
  border-color: var(--ink);
}

.hero-note {
  position: relative;
  padding: 32px 28px 30px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 14px 14px 0 var(--signal);
}

.hero-note::before {
  display: block;
  width: 54px;
  height: 5px;
  margin-bottom: 22px;
  background: var(--signal);
  content: '';
}

.hero-note p {
  margin: 0;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  line-height: 1.3;
}

.hero-note small {
  display: block;
  margin-top: 22px;
  color: #bbb7b0;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.page-hero {
  padding: 88px 0 72px;
  border-bottom: 1px solid var(--line-dark);
  background: var(--paper-bright);
}

.page-hero .lede {
  max-width: 760px;
}

.error-page {
  display: grid;
  min-height: 75vh;
  align-items: center;
}

.red-rule {
  height: 7px;
  background: var(--signal);
}

.section {
  padding: 94px 0;
}

.section-white {
  background: var(--paper-bright);
}

.section-ink {
  color: var(--white);
  background: var(--ink);
}

.section-ink .eyebrow {
  color: #ff4c55;
}

.section-ink .lede,
.section-ink .body-copy {
  color: #c5c1ba;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) minmax(320px, 1fr);
  gap: 70px;
  align-items: end;
  margin-bottom: 52px;
}

.section-heading .body-copy {
  margin: 0;
}

.body-copy {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.body-copy p {
  margin: 0 0 1em;
}

.body-copy p:last-child {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-left: 1px solid var(--line-dark);
}

.service-card {
  min-height: 310px;
  padding: 30px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(251, 250, 246, 0.55);
}

.service-number {
  display: block;
  margin-bottom: 76px;
  color: var(--signal);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.service-card h3 {
  margin: 0 0 13px;
  font-size: 1.35rem;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--ink-soft);
}

.statement-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 70px;
  align-items: center;
}

.statement-aside {
  padding-left: 28px;
  border-left: 5px solid var(--signal);
}

.statement-aside p {
  margin: 0;
  color: #c5c1ba;
  font-size: 1.1rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.product-card {
  display: flex;
  min-height: 340px;
  flex-direction: column;
  padding: 34px;
  border: 1px solid var(--line-dark);
  background: var(--paper-bright);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.product-card:hover {
  border-color: var(--ink);
  box-shadow: var(--shadow);
  transform: translateY(-6px);
}

.product-card[data-status='active']::before,
.product-card[data-status='coming']::before {
  align-self: flex-start;
  margin-bottom: 70px;
  padding: 5px 8px;
  color: var(--white);
  background: var(--signal);
  content: 'LIVE';
  font-size: 0.66rem;
  font-weight: 900;
  letter-spacing: 0.13em;
}

.product-card[data-status='coming']::before {
  color: var(--ink);
  background: var(--line);
  content: 'IN THE WORKS';
}

.product-card h2 {
  margin: auto 0 13px;
  font-family: Impact, 'Arial Narrow Bold', Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 0.95;
  text-transform: uppercase;
}

.product-card p {
  max-width: 480px;
  margin: 0;
  color: var(--ink-soft);
}

.product-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-link::after {
  color: var(--signal);
  content: '↗';
  font-size: 1.35rem;
}

.product-card[data-status='coming'] {
  background: transparent;
}

.product-card[data-status='coming'] .product-link::after {
  content: '—';
}

.concept-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.65fr);
  gap: 70px;
  align-items: start;
}

.concept-quote {
  margin: 0;
  padding: 30px 0 30px 30px;
  border-left: 6px solid var(--signal);
  color: var(--ink);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.25;
}

.concept-steps {
  margin-top: 70px;
  counter-reset: concept;
}

.concept-step {
  display: grid;
  grid-template-columns: 92px minmax(200px, 0.7fr) minmax(300px, 1fr);
  gap: 30px;
  align-items: baseline;
  padding: 30px 0;
  border-top: 1px solid var(--line-dark);
  counter-increment: concept;
}

.concept-step:last-child {
  border-bottom: 1px solid var(--line-dark);
}

.concept-step::before {
  color: var(--signal);
  content: '0' counter(concept);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.concept-step h3 {
  margin: 0;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.concept-step p {
  margin: 0;
  color: var(--ink-soft);
}

.origins-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(360px, 1fr);
  gap: 90px;
  align-items: start;
}

.origin-note {
  margin-top: 40px;
  padding: 26px;
  border: 1px solid var(--line-dark);
  background: var(--paper-bright);
}

.origin-note strong {
  display: block;
  margin-bottom: 10px;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.origin-note p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-panel {
  padding: 38px;
  color: var(--white);
  background: var(--ink);
  box-shadow: 16px 16px 0 var(--signal);
}

.contact-panel h2 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.contact-panel > p {
  margin: 0 0 30px;
  color: #c5c1ba;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #67635e;
  border-radius: 0;
  color: var(--white);
  background: #232323;
}

.field input,
.field select {
  min-height: 50px;
  padding: 0 13px;
}

.field textarea {
  min-height: 150px;
  padding: 13px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #96918a;
}

.field-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-panel .button {
  border-color: var(--signal);
  background: var(--signal);
  cursor: pointer;
}

.contact-panel .button:hover {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.contact-panel .button:disabled {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.form-status {
  margin: 0;
  color: #c5c1ba;
  font-size: 0.9rem;
}

.form-status[data-state='success'] {
  color: #81d498;
}

.form-status[data-state='error'] {
  color: #ff9399;
}

.site-footer {
  padding: 52px 0;
  border-top: 1px solid var(--line-dark);
  background: var(--paper-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: end;
}

.footer-brand {
  display: block;
  width: 220px;
  margin-bottom: 20px;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.footer-copy {
  margin: 0;
  color: var(--steel);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 20px;
}

.footer-nav a {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal][data-visible='true'] {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 88px;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    align-content: start;
    gap: 0;
    padding: 25px 20px;
    background: var(--paper-bright);
    transform: translateX(100%);
    transition: transform 200ms ease;
  }

  .site-nav[data-open='true'] {
    transform: translateX(0);
  }

  .site-nav a,
  .nav-cta {
    padding: 20px 8px !important;
    border-bottom: 1px solid var(--line);
    color: var(--ink) !important;
    background: transparent;
    font-size: 1rem;
  }

  .site-nav a::after {
    display: none;
  }

  .hero-grid,
  .section-heading,
  .statement-grid,
  .concept-intro,
  .origins-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-note {
    max-width: 560px;
  }

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

  .service-card {
    min-height: 230px;
  }

  .service-number {
    margin-bottom: 50px;
  }

  .concept-step {
    grid-template-columns: 70px 1fr;
  }

  .concept-step p {
    grid-column: 2;
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .header-inner {
    min-height: 76px;
  }

  .brand {
    width: 154px;
  }

  .brand img {
    height: 58px;
  }

  .site-nav {
    top: 76px;
  }

  .hero,
  .page-hero {
    padding: 64px 0 58px;
  }

  .display {
    font-size: clamp(3.3rem, 17vw, 5rem);
  }

  .page-title {
    font-size: clamp(3rem, 15vw, 4.5rem);
  }

  .section {
    padding: 72px 0;
  }

  .products-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    min-height: 310px;
    padding: 28px;
  }

  .field-full {
    grid-column: auto;
  }

  .contact-panel {
    padding: 28px 22px;
    box-shadow: 9px 9px 0 var(--signal);
  }

  .form-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .concept-step {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .concept-step p {
    grid-column: auto;
  }

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

  .footer-nav {
    justify-content: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* ---- v2 brand: header wordmark + hero logo ---- */
.brand {
  width: auto;
}

.brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: Impact, 'Arial Narrow Bold', Arial, sans-serif;
  font-style: italic;
  font-weight: 900;
  font-size: 1.95rem;
  letter-spacing: 0.005em;
  line-height: 1;
  white-space: nowrap;
  transform: skewX(-6deg);
  text-shadow: 2px 2px 0 rgba(17, 17, 17, 0.14);
}

.brand-pro {
  color: var(--ink);
}

.brand-method {
  margin-left: 1px;
  color: #75736f;
}

.brand-group {
  margin-left: 1px;
  color: var(--signal);
}

.brand-tld {
  margin-left: 4px;
  color: var(--ink);
}

.hero-logo {
  display: block;
  width: min(400px, 76%);
  max-width: 100%;
  height: auto;
  margin-bottom: 26px;
}

@media (max-width: 960px) {
  .brand-wordmark {
    font-size: 1.4rem;
  }
}
