/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #faf9f6;
  --fg: #1a1a1a;
  --muted: #8a8578;
  --border: rgba(26, 26, 26, 0.15);
  --font-display: 'Instrument Serif', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --max-w: 1400px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Force thin rendering on Windows */
* {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none;
}

/* Thin out display font on Windows (Instrument Serif renders heavier) */
.hero__title,
.section-title,
.step__num,
.step__title,
.manifesto__quote,
.price-card__name,
.price-card__price,
.order__title,
.faq-item summary span:first-child,
.footer__logo,
.hero__stats dd,
.tape-card__info h3 {
  -webkit-text-stroke: 0.3px var(--bg);
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

/* ===== UTILITIES ===== */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

.label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--muted);
}

.label--light {
  color: rgba(255, 255, 255, 0.6);
}

.label__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--fg);
  transform: translateY(-2px);
}

.caption {
  margin-top: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.hide-mobile {
  display: none;
}

@media (min-width: 768px) {
  .hide-mobile {
    display: block;
  }
}

.grain {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.2);
}

.grain img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
}

.plus {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.6;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 16px 28px;
  border: 1px solid var(--fg);
  transition: all 0.2s ease;
  text-align: center;
}

.btn--sm {
  padding: 8px 16px;
}

.btn--filled {
  background: var(--fg);
  color: var(--bg);
}

.btn--filled:hover {
  background: var(--bg);
  color: var(--fg);
}

.btn--outline {
  background: transparent;
  color: var(--fg);
}

.btn--outline:hover {
  background: var(--fg);
  color: var(--bg);
}

.btn--filled-inv {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--bg);
}

.btn--filled-inv:hover {
  background: transparent;
  color: var(--bg);
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--border);
  background: rgba(250, 249, 246, 0.9);
  backdrop-filter: blur(8px);
}

.header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}

@media (min-width: 768px) {
  .header__inner {
    padding: 16px 40px;
  }
}

.header__logo {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.header__logo-text {
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.header__logo-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.header__nav {
  display: none;
  align-items: center;
  gap: 32px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.header__nav a:hover {
  opacity: 0.6;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }
}

.header .btn--sm {
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 8px 16px;
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.header .btn--sm:hover {
  background: var(--bg);
  color: var(--fg);
}

/* ===== HERO ===== */
.hero {
  border-bottom: 1px solid var(--border);
}

.hero__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 64px 24px 80px;
}

@media (min-width: 768px) {
  .hero__inner {
    grid-template-columns: 7fr 5fr;
    gap: 24px;
    padding: 96px 40px 128px;
    align-items: start;
  }
}

.hero__title {
  font-family: var(--font-display);
  font-size: 14vw;
  line-height: 0.88;
  letter-spacing: -0.02em;
  margin-top: 24px;
}

.hero__title em {
  font-style: italic;
  color: var(--muted);
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 9.5vw;
  }
}

@media (min-width: 1200px) {
  .hero__title {
    font-size: 150px;
  }
}

.hero__desc {
  margin-top: 40px;
  max-width: 560px;
  font-size: 18px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.8);
}

@media (min-width: 768px) {
  .hero__desc {
    font-size: 20px;
  }
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__stats {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 420px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.hero__stats dt {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

.hero__stats dd {
  margin-top: 4px;
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: normal;
  text-transform: none;
}

.hero__image {
  position: relative;
}

/* ===== MARQUEE ===== */
.marquee-bar {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--fg);
  padding: 20px 0;
  color: var(--bg);
}

.marquee {
  display: flex;
  width: max-content;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  animation: marquee 30s linear infinite;
}

.marquee span {
  padding: 0 8px;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SECTIONS ===== */
.section {
  padding: 96px 0;
}

.section--border {
  border-bottom: 1px solid var(--border);
}

@media (min-width: 768px) {
  .section {
    padding: 128px 0;
  }
}

.section-header {
  margin-bottom: 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

@media (min-width: 768px) {
  .section-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.section-header--col {
  flex-direction: column;
  max-width: 800px;
}

.section-header--between {
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.95;
  margin-top: 16px;
}

.section-title em {
  font-style: italic;
  color: var(--muted);
}

@media (min-width: 768px) {
  .section-title {
    font-size: 72px;
  }
}

.section-aside {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--muted);
  max-width: 380px;
}

/* ===== STEPS ===== */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: rgba(26, 26, 26, 0.2);
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  background: var(--bg);
  padding: 32px;
}

@media (min-width: 768px) {
  .step {
    padding: 40px;
  }
}

.step__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  padding-bottom: 16px;
}

.step__label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.step__num {
  font-family: var(--font-display);
  font-size: 48px;
}

.step__title {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 30px;
}

.step__desc {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.75);
}

/* ===== MANIFESTO ===== */
.manifesto {
  border-bottom: 1px solid var(--border);
  background: var(--fg);
  color: var(--bg);
}

.manifesto__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 96px 24px;
}

@media (min-width: 768px) {
  .manifesto__inner {
    grid-template-columns: 5fr 7fr;
    gap: 48px;
    padding: 128px 40px;
    align-items: center;
  }
}

.manifesto__image .grain {
  border-color: rgba(255, 255, 255, 0.2);
}

.manifesto__content {
  padding-left: 0;
}

@media (min-width: 768px) {
  .manifesto__content {
    padding-left: 32px;
  }
}

.manifesto__quote {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1.15;
  -webkit-text-stroke: 0.3px var(--fg);
}

.manifesto__quote em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .manifesto__quote {
    font-size: 48px;
    line-height: 1.1;
  }
}

.manifesto__attr {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== TAPE GRID ===== */
.tape-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: rgba(26, 26, 26, 0.2);
}

@media (min-width: 640px) {
  .tape-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tape-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tape-card {
  background: var(--bg);
  padding: 24px;
}

.tape-card__img {
  position: relative;
  aspect-ratio: 4/5;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.3);
  background: #f0ede8;
}

.tape-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1);
  transition: transform 0.7s ease;
}

.tape-card:hover .tape-card__img img {
  transform: scale(1.05);
}

.tape-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 1px solid var(--bg);
  background: var(--fg);
  color: var(--bg);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.tape-card__info {
  margin-top: 20px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  border-top: 1px solid rgba(26, 26, 26, 0.2);
  padding-top: 16px;
}

.tape-card__info h3 {
  font-family: var(--font-display);
  font-size: 24px;
}

.tape-card__info span {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.tape-card__for {
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(26, 26, 26, 0.2);
  background: rgba(26, 26, 26, 0.2);
}

@media (min-width: 768px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.price-card {
  background: var(--bg);
  padding: 32px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .price-card {
    padding: 40px;
  }
}

.price-card--featured {
  background: var(--fg);
  color: var(--bg);
}

.price-card__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.price-card__name {
  font-family: var(--font-display);
  font-size: 30px;
}

.price-card__tag {
  border: 1px solid var(--bg);
  padding: 4px 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
}

.price-card__sub {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

.price-card--featured .price-card__sub {
  color: rgba(255, 255, 255, 0.6);
}

.price-card__price {
  margin-top: 32px;
  font-family: var(--font-display);
  font-size: 72px;
  -webkit-text-stroke: 0.3px var(--bg);
}

.price-card__list {
  margin-top: 32px;
  border-top: 1px solid rgba(26, 26, 26, 0.2);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  font-weight: 300;
}

.price-card--featured .price-card__list {
  border-color: rgba(255, 255, 255, 0.3);
}

.price-card__list li {
  display: flex;
  gap: 12px;
}

.price-card .btn {
  margin-top: 40px;
}

.price-card--featured .btn--filled-inv {
  background: var(--bg);
  color: var(--fg);
  border-color: var(--bg);
}

.price-card--featured .btn--filled-inv:hover {
  background: var(--fg);
  color: var(--bg);
}

/* ===== ORDER ===== */
.order {
  border-bottom: 1px solid var(--border);
  background: var(--fg);
  color: var(--bg);
}

.order__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  padding: 96px 24px;
}

@media (min-width: 768px) {
  .order__inner {
    grid-template-columns: 5fr 7fr;
    padding: 128px 40px;
  }
}

.order__title {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 48px;
  line-height: 0.95;
  -webkit-text-stroke: 0.3px var(--fg);
}

.order__title em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
}

@media (min-width: 768px) {
  .order__title {
    font-size: 60px;
  }
}

.order__desc {
  margin-top: 24px;
  max-width: 420px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.75);
}

.order__list {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
}

/* ===== ORDER FORM ===== */
.order-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.2);
}

@media (min-width: 640px) {
  .order-form {
    grid-template-columns: repeat(2, 1fr);
  }
}

.form-field {
  background: var(--fg);
  padding: 24px;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.6);
}

.form-field input,
.form-field select,
.form-field textarea {
  margin-top: 8px;
  width: 100%;
  border: none;
  background: transparent;
  padding: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--bg);
  outline: none;
  resize: none;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-field select {
  appearance: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
}

.form-field select option {
  color: var(--fg);
}

.form-field--footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.form-field--footer p {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255, 255, 255, 0.6);
}

/* ===== FAQ ===== */
.faq-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .faq-layout {
    grid-template-columns: 4fr 8fr;
  }
}

.faq-list {
  border-top: 1px solid rgba(26, 26, 26, 0.2);
}

.faq-item {
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  padding: 24px 0;
}

.faq-item summary {
  display: flex;
  cursor: pointer;
  list-style: none;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary span:first-child {
  font-family: var(--font-display);
  font-size: 24px;
}

@media (min-width: 768px) {
  .faq-item summary span:first-child {
    font-size: 30px;
  }
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
  transition: transform 0.2s ease;
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
}

.faq-item dd {
  margin-top: 16px;
  max-width: 640px;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(26, 26, 26, 0.75);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--bg);
}

.footer .container {
  padding-top: 64px;
  padding-bottom: 64px;
}

.footer__top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  border-bottom: 1px solid rgba(26, 26, 26, 0.2);
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .footer__top {
    flex-direction: row;
    align-items: flex-end;
  }
}

.footer__logo {
  font-family: var(--font-display);
  font-size: 18vw;
  line-height: 0.85;
  letter-spacing: -0.02em;
}

@media (min-width: 768px) {
  .footer__logo {
    font-size: 180px;
  }
}

.footer__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--muted);
}

.footer__bottom {
  margin-top: 32px;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
}

@media (min-width: 768px) {
  .footer__bottom {
    flex-direction: row;
  }
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a:hover {
  color: var(--fg);
}

/* ===== ANIMATIONS ===== */
.blink {
  animation: blink 1.5s step-end infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
