:root {
  color-scheme: dark;
  --ink: #f7f5ee;
  --muted: #c8c3b8;
  --dark: #06131b;
  --line: rgba(247, 245, 238, 0.16);
  --gold: #d9a949;
  --gold-bright: #f0c96d;
  --teal: #21a7b6;
  --green: #89c463;
  --violet: #9a64d5;
  --max: 1180px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--dark);
  color: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 78% 12%, rgba(217, 169, 73, 0.15), transparent 24rem),
    radial-gradient(circle at 10% 30%, rgba(33, 167, 182, 0.12), transparent 26rem),
    linear-gradient(180deg, #06131b 0%, #071b25 42%, #050b0f 100%);
}

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

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

.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;
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1.7rem, 3vw, 2.7rem) clamp(1.7rem, 3vw, 3.1rem);
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  opacity: 0;
}

.brand,
.nav,
.header-action,
.button,
.route-grid a {
  display: inline-flex;
  align-items: center;
}

.brand {
  gap: 0.75rem;
  font-weight: 500;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 3.55rem;
  height: 3.55rem;
  border: 1px solid rgba(217, 169, 73, 0.86);
  border-radius: 50%;
  color: var(--gold-bright);
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  inset: 0.58rem;
  border: 1px solid currentColor;
  transform: rotate(45deg);
}

.brand-mark::after {
  inset: 0.95rem;
  border-radius: 50%;
  transform: none;
  box-shadow:
    0 -0.9rem 0 -0.42rem currentColor,
    0 0.9rem 0 -0.42rem currentColor,
    0.9rem 0 0 -0.42rem currentColor,
    -0.9rem 0 0 -0.42rem currentColor;
}

.brand-text {
  display: grid;
  gap: 0.17rem;
}

.brand-text span:first-child {
  color: var(--ink);
  font-size: clamp(1.35rem, 1.8vw, 2rem);
  font-weight: 500;
  line-height: 1;
}

.brand-text span:last-child {
  color: var(--gold-bright);
  font-size: clamp(0.52rem, 0.68vw, 0.74rem);
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  gap: clamp(2.2rem, 4.2vw, 4rem);
  color: rgba(247, 245, 238, 0.88);
  font-size: clamp(1rem, 1.22vw, 1.25rem);
  font-weight: 400;
}

.nav a:hover,
.header-action:hover {
  color: var(--ink);
}

.header-action {
  min-height: 2.6rem;
  padding: 0 1.05rem;
  border: 1px solid rgba(217, 169, 73, 0.52);
  color: var(--gold-bright);
  font-size: 0.92rem;
  font-weight: 700;
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  display: block;
  padding: 0;
  background: #03090d;
  overflow: hidden;
  border-bottom: 0;
}

.hero-background {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/hero-atf-target.png") center / cover;
  filter: saturate(1) contrast(1.02);
  opacity: 1;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.hero::before {
  display: none;
}

.hero::after {
  display: none;
}

.hero-inner {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  display: block;
}

.hero-copy {
  max-width: min(56vw, 57rem);
  min-width: 0;
  padding: clamp(12rem, 24vh, 15.4rem) 0 0 clamp(2rem, 3vw, 3.05rem);
  opacity: 0;
}

.hero h1 {
  max-width: none;
  margin-bottom: 1.55rem;
  color: rgba(247, 245, 238, 0.96);
  font-size: clamp(4.6rem, 5.35vw, 5.75rem);
  font-weight: 420;
  line-height: 1.02;
  letter-spacing: -0.045em;
  text-shadow: 0 0.08em 0.16em rgba(0, 0, 0, 0.38);
}

.hero h1 span {
  display: block;
}

.hero h1 em {
  color: var(--gold);
  font-style: normal;
  font-weight: 520;
}

.hero h1::after {
  content: "";
  display: block;
  width: min(40rem, 44vw);
  height: 1px;
  margin-top: 1.6rem;
  background:
    radial-gradient(circle at left, var(--gold-bright) 0 0.25rem, transparent 0.27rem),
    linear-gradient(90deg, var(--gold-bright), rgba(240, 201, 109, 0));
}

.hero-copy p:not(.section-kicker) {
  max-width: 39rem;
  color: rgba(247, 245, 238, 0.88);
  font-size: clamp(1.08rem, 1.34vw, 1.28rem);
  line-height: 1.72;
}

.hero-copy strong {
  color: var(--gold-bright);
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.7rem;
}

.button.secondary {
  min-height: 3.15rem;
  padding: 0 0.2rem;
  border: 0;
  border-bottom: 1px solid rgba(217, 169, 73, 0.52);
  color: var(--ink);
  background: transparent;
}

.hero-cta {
  box-shadow: 0 1rem 2.3rem rgba(217, 169, 73, 0.18);
}

.hero-portrait {
  display: none;
}

.section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.15rem, 5vw, 4rem);
}

.section-kicker {
  margin: 0 0 1.1rem;
  color: var(--gold-bright);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h2 {
  max-width: 13ch;
  margin-bottom: 1.15rem;
  font-size: clamp(2.25rem, 5.5vw, 5.35rem);
  line-height: 0.96;
}

h3 {
  margin-bottom: 0.55rem;
  font-size: 1.1rem;
  line-height: 1.22;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.72;
}

.orientation,
.domains,
.ecosystem,
.featured-projects,
.ai-soul,
.about-rick,
.story-band,
.contact {
  max-width: calc(var(--max) + 8rem);
  margin: 0 auto;
}

.orientation-grid,
.patterns,
.ai-soul,
.about-rick,
.story-band {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 0.75fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.about-rick,
.story-band {
  align-items: center;
}

.portrait-panel,
.story-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(217, 169, 73, 0.28);
  background: rgba(247, 245, 238, 0.04);
}

.portrait-panel::after,
.story-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 54%, rgba(5, 11, 15, 0.42)),
    radial-gradient(circle at 22% 18%, rgba(217, 169, 73, 0.2), transparent 16rem);
  pointer-events: none;
}

.portrait-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.story-image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

.rich-copy {
  max-width: 44rem;
}

.route-grid,
.domain-grid,
.ecosystem-list {
  display: grid;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.route-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.route-grid a {
  justify-content: space-between;
  gap: 1rem;
  min-height: 6.4rem;
  padding: 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 750;
}

.route-grid a:hover {
  color: var(--ink);
  background: rgba(217, 169, 73, 0.08);
}

.section-heading {
  max-width: 58rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-heading p:not(.section-kicker) {
  max-width: 44rem;
}

.domain-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.domain {
  min-height: 22rem;
  padding: clamp(1.15rem, 2.2vw, 1.65rem);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(247, 245, 238, 0.06), rgba(247, 245, 238, 0.02));
}

.domain-icon {
  display: inline-grid;
  place-items: center;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid currentColor;
  color: var(--teal);
  font-size: 1.55rem;
}

.domain:nth-child(2) .domain-icon {
  color: var(--gold-bright);
}

.domain:nth-child(3) .domain-icon {
  color: var(--green);
}

.domain:nth-child(4) .domain-icon {
  color: var(--violet);
}

.domain h3 {
  margin-top: 6.25rem;
}

.patterns {
  grid-template-columns: minmax(0, 0.75fr) minmax(18rem, 0.7fr) minmax(22rem, 0.9fr);
  background:
    linear-gradient(90deg, rgba(5, 16, 22, 0.94), rgba(5, 16, 22, 0.76)),
    url("assets/hero-transform-007.png") center / cover;
  border-block: 1px solid rgba(217, 169, 73, 0.34);
}

.patterns-intro {
  max-width: 38rem;
}

.button {
  justify-content: center;
  min-height: 3.15rem;
  padding: 0 1.2rem;
  gap: 0.65rem;
  border: 1px solid var(--line);
  font-weight: 800;
}

.button.primary {
  margin-top: 1.2rem;
  background: var(--gold-bright);
  color: #071017;
  border-color: transparent;
}

.symptom-panel {
  padding: clamp(1.2rem, 2.4vw, 1.8rem);
  border: 1px solid rgba(247, 245, 238, 0.18);
  background: rgba(2, 8, 12, 0.72);
  backdrop-filter: blur(10px);
}

.symptom-panel > p {
  margin-bottom: 1.25rem;
  color: var(--ink);
  font-size: 1.15rem;
  line-height: 1.55;
}

.symptom-list {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.symptom-list li {
  display: grid;
  grid-template-columns: 0.65rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 0.95rem 0;
  border-top: 1px solid rgba(247, 245, 238, 0.12);
  color: var(--muted);
  line-height: 1.55;
}

.symptom-list li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  margin-top: 0.52rem;
  background: var(--gold-bright);
  border-radius: 999px;
  box-shadow: 0 0 18px rgba(217, 169, 73, 0.55);
}

.canva-section-art,
.canva-featured-art {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 169, 73, 0.28);
  background: rgba(2, 8, 12, 0.72);
}

.canva-section-art img,
.canva-featured-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.diagnostic-art {
  min-height: 100%;
}

.diagnostic-art img {
  aspect-ratio: 4 / 5;
}

.thesis {
  display: grid;
  place-items: center;
  min-height: 60vh;
  text-align: center;
  background:
    radial-gradient(circle at 50% 46%, rgba(33, 167, 182, 0.18), transparent 25rem),
    #06131b;
}

.thesis blockquote {
  max-width: 980px;
  margin-bottom: 0;
  font-size: clamp(2rem, 5vw, 5rem);
  line-height: 1.04;
}

.ecosystem-list {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.ecosystem-list article {
  min-height: 14rem;
  padding: 1.2rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.ecosystem-list p {
  font-size: 0.95rem;
}

.projects-layout {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.canva-featured-art {
  margin-bottom: 1rem;
}

.canva-featured-art img {
  aspect-ratio: 16 / 7;
}

.project-card {
  display: flex;
  min-height: 21rem;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(247, 245, 238, 0.06), rgba(247, 245, 238, 0.025)),
    rgba(5, 16, 22, 0.76);
}

.project-card-large {
  grid-column: span 2;
  background:
    linear-gradient(135deg, rgba(217, 169, 73, 0.18), rgba(33, 167, 182, 0.08) 42%, rgba(247, 245, 238, 0.04)),
    rgba(5, 16, 22, 0.88);
}

.project-type {
  margin-bottom: 1.2rem;
  color: var(--gold-bright);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.35;
  text-transform: uppercase;
}

.project-card h3 {
  font-size: clamp(1.45rem, 2.7vw, 2.45rem);
}

.project-card a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--gold-bright);
  font-weight: 800;
}

.ai-soul {
  grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.8fr);
  align-items: center;
}

.image-panel {
  border: 1px solid rgba(217, 169, 73, 0.28);
  background: rgba(247, 245, 238, 0.04);
  overflow: hidden;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center top;
}

.contact {
  min-height: 72vh;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(22rem, 0.95fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
  background:
    linear-gradient(180deg, rgba(6, 19, 27, 0.18), rgba(6, 19, 27, 0.94)),
    radial-gradient(circle at 84% 44%, rgba(217, 169, 73, 0.22), transparent 26rem);
}

.contact h2 {
  max-width: 15ch;
}

.contact p {
  max-width: 44rem;
}

.contact-form {
  display: grid;
  gap: 1rem;
  width: 100%;
  padding: clamp(1.1rem, 2.8vw, 1.6rem);
  border: 1px solid rgba(247, 245, 238, 0.18);
  background:
    linear-gradient(180deg, rgba(247, 245, 238, 0.07), rgba(247, 245, 238, 0.025)),
    rgba(2, 8, 12, 0.72);
}

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

.contact-form label {
  display: grid;
  gap: 0.5rem;
}

.contact-form label span {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(247, 245, 238, 0.18);
  background: rgba(4, 13, 18, 0.82);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
}

.contact-form input,
.contact-form select {
  min-height: 3.2rem;
  padding: 0 0.9rem;
}

.contact-form textarea {
  min-height: 10rem;
  resize: vertical;
  padding: 0.9rem;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(240, 201, 109, 0.75);
  outline-offset: 2px;
}

.contact-form ::placeholder {
  color: rgba(200, 195, 184, 0.52);
}

.consent-row {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.75rem;
}

.consent-row input {
  width: 1rem;
  min-height: 1rem;
  margin-top: 0.16rem;
  accent-color: var(--gold-bright);
}

.consent-row span {
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.contact-form .button {
  width: fit-content;
  margin-top: 0.35rem;
  cursor: pointer;
}

.honey {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

@media (max-width: 1080px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(17rem, 0.42fr);
    gap: 2rem;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 7.6vw, 5.4rem);
  }

  .route-grid,
  .ecosystem-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .domain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .patterns,
  .ai-soul,
  .about-rick,
  .story-band,
  .contact,
  .orientation-grid {
    grid-template-columns: 1fr;
  }

  .projects-layout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project-card-large {
    grid-column: span 2;
  }
}

@media (max-width: 780px) {
  .site-header {
    position: absolute;
  }

  .nav,
  .header-action {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 5.7rem;
  }

  .hero-background {
    background:
      linear-gradient(180deg, rgba(3, 9, 13, 0.96) 0%, rgba(3, 9, 13, 0.84) 42%, rgba(3, 9, 13, 0.58) 100%),
      url("assets/hero-regenerative-systems-bg.jpg") 58% center / cover;
  }

  .hero-inner {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: hidden;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 0 2rem;
  }

  .hero h1 {
    max-width: 9.6ch;
    font-size: clamp(2.85rem, 11vw, 3.55rem);
    line-height: 0.94;
    letter-spacing: -0.04em;
  }

  .hero-copy p:not(.section-kicker) {
    max-width: min(100%, 21rem);
    overflow-wrap: break-word;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-portrait {
    width: min(82vw, 25rem);
    min-width: 0;
    justify-self: center;
    margin-bottom: 2.6rem;
  }

  .hero-portrait figcaption {
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero-portrait figcaption span:last-child {
    text-align: left;
  }

  .hero::after {
    right: -8rem;
    top: 7rem;
    width: 20rem;
  }

  .section {
    padding-block: 4.5rem;
  }

  .route-grid,
  .domain-grid,
  .ecosystem-list,
  .projects-layout {
    grid-template-columns: 1fr;
  }

  .project-card-large {
    grid-column: auto;
  }

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

  .contact-form .button {
    width: 100%;
  }

  .domain {
    min-height: 15rem;
  }

  .domain h3 {
    margin-top: 3.5rem;
  }

  .thesis {
    min-height: 44vh;
  }
}
