/* RIXXI — static landing styles */

:root {
  --ivory: #f6f1e8;
  --ivory-soft: #fbf8f3;
  --taupe: #c8b9a6;
  --teal-deep: #123c44;
  --teal-mid: #1c5a63;
  --copper: #b56a4c;
  --gold: #c7a86d;
  --ink: #191919;
  --border: #ddd4c6;
  --shadow-soft: 0 1px 2px rgba(18, 60, 68, 0.04), 0 12px 40px -12px rgba(18, 60, 68, 0.12);
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --max: 1240px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-feature-settings: "ss01", "cv11";
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: var(--copper);
  color: var(--ivory);
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}

.font-display {
  font-family: var(--font-display);
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}

.hero-eyebrow-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  background: var(--copper);
  color: var(--ivory);
  padding: 0.25rem 0.75rem;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(18, 60, 68, 0.18), transparent);
}

.rule-gold {
  width: 2.5rem;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid rgba(221, 212, 198, 0.6);
  background: rgba(246, 241, 232, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  height: 4rem;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: baseline;
  gap: 0.15rem;
}

.logo-word {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.18em;
  color: var(--teal-deep);
}

.logo-dot {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--gold);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(25, 25, 25, 0.7);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--copper);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .header-actions {
    gap: 0.75rem;
  }
}

.btn-beige-outline {
  background: var(--copper);
  color: var(--ivory);
  border: 1px solid transparent;
}

.btn-beige-outline:hover {
  background: color-mix(in srgb, var(--copper) 90%, black);
  color: var(--ivory);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  font-weight: 500;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--teal-deep);
  color: var(--ivory);
}

.btn-primary:hover {
  background: var(--teal-mid);
  transform: translateY(-1px);
}

.btn-sm {
  height: 2.5rem;
  padding: 0 1.25rem;
  font-size: 13px;
}

.btn-lg {
  height: 3rem;
  padding: 0 1.75rem;
  font-size: 0.875rem;
}

.btn-outline {
  height: 3rem;
  padding: 0 1.5rem;
  font-size: 0.875rem;
  border: 1px solid rgba(25, 25, 25, 0.15);
  background: transparent;
  color: rgba(25, 25, 25, 0.8);
  gap: 0.5rem;
}

.btn-outline:hover {
  border-color: var(--copper);
  color: var(--copper);
}

.btn-outline:hover .arrow {
  transform: translateX(2px);
}

.arrow {
  display: inline-block;
  transition: transform 0.2s;
}

.btn-shadow {
  box-shadow: 0 10px 30px -12px rgba(18, 60, 68, 0.5);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 4rem;
  padding-top: 5rem;
  padding-bottom: 6rem;
}

@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: repeat(12, 1fr);
    padding-top: 7rem;
    padding-bottom: 8rem;
  }

  .hero-copy {
    grid-column: span 7;
  }

  .hero-media {
    grid-column: span 5;
  }
}

.hero h1 {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--teal-deep);
}

.hero h1 em {
  font-style: italic;
  font-weight: 300;
  color: var(--copper);
}

.hero-lead {
  margin: 2rem 0 0;
  max-width: 46ch;
  font-size: 17px;
  line-height: 1.65;
  color: rgba(25, 25, 25, 0.7);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.hero-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(18, 60, 68, 0.6), rgba(18, 60, 68, 0.1), transparent);
}

.hero-caption p {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  font-size: 0.875rem;
  color: rgba(25, 25, 25, 0.6);
}

@media (min-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }
}

.stat {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.stat-mark {
  margin-top: 0.5rem;
  width: 1rem;
  height: 1px;
  flex-shrink: 0;
  background: var(--gold);
}

/* Platform */
.section {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section {
    padding: 8rem 0;
  }
}

.section-soft {
  background: var(--ivory-soft);
  border-top: 1px solid rgba(221, 212, 198, 0.6);
}

.platform-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .platform-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .platform-intro {
    grid-column: span 4;
  }

  .platform-cards {
    grid-column: span 8;
  }
}

.section h2 {
  margin: 1.5rem 0 0;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2.25rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--teal-deep);
}

.section h2 em {
  font-style: italic;
  font-weight: 300;
  color: rgba(181, 106, 76, 0.9);
}

.section-body {
  margin: 1.5rem 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(25, 25, 25, 0.7);
}

.pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  overflow: hidden;
  border-radius: 2px;
  background: var(--border);
}

@media (min-width: 640px) {
  .pillars {
    grid-template-columns: 1fr 1fr;
  }
}

.pillar {
  background: var(--ivory-soft);
  padding: 2rem;
  transition: background 0.2s;
}

.pillar:hover {
  background: var(--ivory);
}

.pillar-meta {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.pillar-n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
}

.pillar h3 {
  margin: 1.25rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.pillar p {
  margin: 0.75rem 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(25, 25, 25, 0.7);
}

/* Copilot */
.copilot {
  position: relative;
  overflow: hidden;
  background: var(--teal-deep);
  color: var(--ivory);
}

.copilot-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.06;
  mix-blend-mode: screen;
  pointer-events: none;
}

.copilot-inner {
  position: relative;
}

.copilot-header {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

@media (min-width: 768px) {
  .copilot-header {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .copilot-cta {
    padding-top: 0.5rem;
    flex-shrink: 0;
  }
}

.btn-beige {
  background: var(--ivory);
  color: var(--teal-deep);
  box-shadow: 0 10px 30px -12px rgba(246, 241, 232, 0.35);
}

.btn-beige:hover {
  background: var(--ivory-soft);
  transform: translateY(-1px);
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.video-modal[hidden] {
  display: none;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(25, 25, 25, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.video-modal-panel {
  position: relative;
  width: 100%;
  max-width: 56rem;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--border);
  background: var(--ivory);
  box-shadow: var(--shadow-soft);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(221, 212, 198, 0.6);
  padding: 0.75rem 1.25rem;
}

.video-modal-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--teal-deep);
}

.video-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 9999px;
  background: transparent;
  color: rgba(25, 25, 25, 0.6);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.video-modal-close:hover {
  background: var(--ivory-soft);
  color: var(--ink);
}

.video-modal-body {
  aspect-ratio: 16 / 9;
  background: var(--ink);
}

.video-modal-body video {
  width: 100%;
  height: 100%;
  display: block;
}

.copilot .eyebrow {
  color: var(--gold);
}

.copilot h2 {
  color: var(--ivory);
}

.copilot h2 em {
  color: var(--gold);
}

.copilot-lead {
  margin: 2rem 0 0;
  max-width: 42rem;
  font-size: 16px;
  line-height: 1.7;
  color: var(--taupe);
}

.ops {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem 3rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .ops {
    grid-template-columns: 1fr 1fr;
  }
}

.op {
  display: flex;
  gap: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

.op-mark {
  margin-top: 0.5rem;
  width: 1.5rem;
  height: 1px;
  flex-shrink: 0;
  background: var(--gold);
}

.op h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ivory);
}

.op p {
  margin: 0.5rem 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--taupe);
}

/* Studio */
.studio-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 4rem;
}

@media (min-width: 768px) {
  .studio-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .studio-media {
    grid-column: span 5;
  }

  .studio-copy {
    grid-column: span 7;
  }
}

.studio-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: var(--shadow-soft);
}

.studio-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.studio-copy .section-body {
  max-width: 52ch;
  font-size: 16px;
}

.brief {
  margin-top: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--ivory-soft);
  padding: 1.5rem;
}

.brief-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.brief-quote {
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  font-weight: 300;
  color: var(--teal-deep);
}

.brief-tags {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (min-width: 640px) {
  .brief-tags {
    grid-template-columns: repeat(3, 1fr);
  }
}

.brief-tag {
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--ivory);
  padding: 0.75rem 1rem;
  font-size: 13px;
  font-weight: 500;
  color: rgba(25, 25, 25, 0.8);
}

/* Trust */
.trust-intro {
  max-width: 42rem;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3.5rem;
}

@media (min-width: 768px) {
  .trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.trust-item {
  border-top: 1px solid rgba(18, 60, 68, 0.2);
  padding-top: 1.5rem;
}

.trust-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--teal-deep);
}

.trust-item p {
  margin: 0.75rem 0 0;
  font-size: 14.5px;
  line-height: 1.65;
  color: rgba(25, 25, 25, 0.7);
}

/* Access form */
.access-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
}

@media (min-width: 768px) {
  .access-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .access-copy {
    grid-column: span 5;
  }

  .access-form-wrap {
    grid-column: span 7;
  }
}

.access-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 14px;
  color: rgba(25, 25, 25, 0.6);
}

.access-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.form-card {
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--ivory-soft);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

@media (min-width: 768px) {
  .form-card {
    padding: 2.5rem;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(25, 25, 25, 0.6);
}

.field .req {
  margin-left: 0.25rem;
  color: var(--copper);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--ivory);
  padding: 0.75rem 1rem;
  font-family: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
}

.field textarea {
  resize: none;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(25, 25, 25, 0.35);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal-mid);
}

.form-notes {
  margin-top: 1.25rem;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
}

.form-note {
  margin: 0;
  font-size: 12px;
  color: rgba(25, 25, 25, 0.5);
}

.form-status {
  margin: 0.75rem 0 0;
  font-size: 13px;
  color: var(--teal-mid);
  display: none;
}

.form-status.is-visible {
  display: block;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: var(--ivory);
}

.footer-inner {
  padding: 4rem 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(12, 1fr);
  }

  .footer-brand {
    grid-column: span 6;
  }

  .footer-col {
    grid-column: span 3;
  }
}

.footer-tagline {
  margin: 1.25rem 0 0;
  max-width: 28rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 300;
  color: var(--taupe);
}

.footer-col h4 {
  margin: 0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--gold);
}

.footer-col ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 14px;
  color: var(--taupe);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 3.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  font-size: 12px;
  color: rgba(200, 185, 166, 0.7);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-bottom .mono {
  font-family: var(--font-mono);
}

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