:root {
  --paper: #fffdf8;
  --paper-soft: #f8f6ff;
  --white: #ffffff;
  --ink: #171219;
  --ink-soft: #625b69;
  --black: #11100f;
  --violet: #7b4ba0;
  --violet-deep: #4a255f;
  --gold: #c6a04d;
  --gold-deep: #9f7930;
  --gold-soft: #f4e8c8;
  --line: rgba(123, 75, 160, 0.16);
  --shadow: rgba(74, 37, 95, 0.11);
  --display: "Playfair Display", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    repeating-linear-gradient(112deg, transparent 0 118px, rgba(123, 75, 160, 0.06) 118px 121px, transparent 121px 190px),
    linear-gradient(135deg, rgba(123, 75, 160, 0.1), transparent 30rem),
    linear-gradient(225deg, rgba(198, 160, 77, 0.12), transparent 30rem),
    var(--paper);
  font-family: var(--sans);
  line-height: 1.6;
}

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

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

.site-shell {
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(123, 75, 160, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(123, 75, 160, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 74%);
  z-index: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.78rem clamp(1rem, 4vw, 3.5rem);
  border-bottom: 1px solid rgba(123, 75, 160, 0.12);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  min-width: max-content;
}

.brand-logo {
  width: 4.15rem;
  height: 4.15rem;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0.8rem 1.8rem rgba(17, 16, 15, 0.16);
}

.brand-wordmark {
  display: grid;
  gap: 0.05rem;
  line-height: 0.95;
}

.brand-ibeth {
  color: var(--black);
  font-family: var(--display);
  font-size: clamp(1.25rem, 3vw, 1.85rem);
  font-weight: 500;
}

.brand-maisonnave {
  color: var(--violet-deep);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.menu-toggle {
  display: grid;
  gap: 0.42rem;
  width: 2.7rem;
  height: 2.7rem;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 1.12rem;
  height: 1px;
  background: var(--violet-deep);
  transition: transform 220ms ease;
}

.menu-toggle.is-open span:first-child {
  transform: translateY(0.22rem) rotate(45deg);
}

.menu-toggle.is-open span:last-child {
  transform: translateY(-0.22rem) rotate(-45deg);
}

.site-nav {
  position: absolute;
  top: calc(100% + 0.7rem);
  left: 1rem;
  right: 1rem;
  display: grid;
  gap: 0.2rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 1.1rem;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 1.5rem 3rem var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem);
  transition: opacity 220ms ease, transform 220ms ease, visibility 220ms ease;
}

.site-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-nav a {
  padding: 0.8rem 0.25rem;
  color: var(--ink-soft);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a:hover {
  color: var(--violet);
}

.media-nav {
  position: static;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
  visibility: visible;
  transform: none;
}

.hero,
.section,
.site-footer {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  align-items: center;
  min-height: 100svh;
  padding: 7rem clamp(1rem, 5vw, 4rem) 2.8rem;
  background:
    radial-gradient(circle at 84% 36%, rgba(198, 160, 77, 0.2), transparent 19rem),
    linear-gradient(90deg, rgba(123, 75, 160, 0.08), transparent 22rem),
    linear-gradient(180deg, transparent 0%, rgba(255, 253, 248, 0.9) 100%);
}

.hero-copy {
  position: relative;
  max-width: 48rem;
  padding-bottom: 1rem;
}

.violet-stripes {
  display: grid;
  gap: 0.38rem;
  width: min(12rem, 48vw);
  margin-bottom: 1.4rem;
}

.violet-stripes::before,
.violet-stripes::after {
  content: "";
  display: block;
  height: 0.28rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--gold), transparent);
}

.violet-stripes::after {
  width: 64%;
  background: linear-gradient(90deg, var(--black), var(--violet), transparent);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--violet);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: var(--display);
  line-height: 0.98;
  font-weight: 500;
}

h1 {
  max-width: 12ch;
  margin-bottom: 1.2rem;
  font-size: clamp(3rem, 12vw, 6.4rem);
}

.hero-title {
  display: grid;
  gap: 0.55rem;
  width: min(100%, 58rem);
  max-width: 100%;
  margin-bottom: 1.35rem;
}

.hero-title span {
  display: block;
  max-width: 16ch;
  font-size: clamp(1.85rem, 4.4vw, 3.45rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-title strong {
  display: block;
  max-width: 15ch;
  color: var(--violet-deep);
  font-family: var(--display);
  font-size: clamp(2.35rem, 6.6vw, 5.6rem);
  font-weight: 500;
  line-height: 0.96;
}

.hero-name-title {
  width: max-content;
  max-width: 100%;
  gap: 0.05rem;
}

.hero-name-title span {
  max-width: none;
  color: var(--black);
  font-size: clamp(4rem, 12vw, 8.2rem);
  line-height: 0.86;
  text-transform: none;
}

.hero-name-title strong {
  max-width: none;
  color: var(--violet-deep);
  font-family: var(--sans);
  font-size: clamp(0.82rem, 2.25vw, 1.34rem);
  font-weight: 800;
  letter-spacing: clamp(0.36rem, 2.05vw, 1.1rem);
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-editorial-title {
  max-width: 43rem;
  gap: 0.72rem;
}

.hero-editorial-title span {
  max-width: none;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: clamp(0.86rem, 1.8vw, 1rem);
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero-editorial-title strong {
  max-width: 12ch;
  color: var(--ink);
  font-size: clamp(3.2rem, 7.8vw, 6.15rem);
  font-weight: 500;
  line-height: 0.94;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.1rem, 8vw, 5.2rem);
}

h3 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.55rem, 6vw, 2.25rem);
}

.hero-subtitle {
  max-width: 45rem;
  margin-bottom: 0.9rem;
  color: var(--violet-deep);
  font-family: var(--sans);
  font-size: clamp(1.1rem, 4.5vw, 1.55rem);
  font-weight: 500;
  line-height: 1.3;
}

.hero-impact {
  max-width: 41rem;
  margin-bottom: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.2rem, 3.6vw, 1.85rem);
  line-height: 1.24;
}

.hero-text,
.about-content p,
.contact-panel p,
.puzzle-card p {
  color: var(--ink-soft);
  font-size: 1rem;
}

.hero-text {
  max-width: 42rem;
  margin-top: 1.25rem;
}

.hero-signature {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.78rem;
  margin-top: 1.8rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.18rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition:
    background 320ms ease,
    color 320ms ease,
    transform 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  border-color: rgba(244, 232, 200, 0.72);
  background: linear-gradient(135deg, #f5e7bf 0%, var(--gold) 45%, var(--gold-deep) 100%);
  color: #140f0a;
  box-shadow:
    0 0.8rem 1.8rem rgba(198, 160, 77, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.36);
}

.button-primary:hover {
  background: linear-gradient(135deg, #fff1c8 0%, #d7af5d 46%, #a98237 100%);
  box-shadow:
    0 1rem 2.4rem rgba(198, 160, 77, 0.34),
    0 0 1.2rem rgba(198, 160, 77, 0.42);
}

.button-secondary {
  color: var(--black);
  border-color: rgba(198, 160, 77, 0.72);
  background: rgba(255, 255, 255, 0.18);
}

.button-secondary:hover {
  border-color: var(--gold);
  background: rgba(244, 232, 200, 0.22);
  box-shadow: 0 0 1.1rem rgba(198, 160, 77, 0.24);
}

.hero-portrait {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: end;
  gap: 0.9rem;
  margin-top: 1.4rem;
  min-height: min(74vh, 42rem);
  border: 0;
  background: transparent;
  overflow: visible;
}

.hero-photo-frame {
  display: grid;
  justify-items: center;
  width: min(108%, 38rem);
}

.hero-photo-frame img {
  width: 100%;
  height: auto;
  margin: 0 auto;
  object-fit: contain;
  object-position: center bottom;
  filter:
    saturate(1.03)
    contrast(1.05)
    brightness(1.035)
    drop-shadow(0 1.6rem 2rem rgba(17, 16, 15, 0.18));
}

.hero-portrait-caption {
  max-width: 30rem;
  margin: 0 auto;
  padding: 0 0.4rem;
  text-align: center;
}

.hero-portrait-caption .hero-signature {
  margin-bottom: 0.42rem;
}

.hero-portrait-panel {
  display: grid;
  width: min(100%, 34rem);
  gap: 0.35rem;
  justify-self: end;
  margin: -0.25rem 0 0 auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(198, 160, 77, 0.34);
  text-align: left;
}

.hero-portrait-name {
  margin: 0;
  color: var(--gold-deep);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-photo-quote {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(0.98rem, 2vw, 1.16rem);
  line-height: 1.34;
  text-align: left;
}

.hero-option-a .hero {
  align-items: end;
  gap: clamp(1.4rem, 3.8vw, 3.5rem);
  padding-bottom: clamp(3rem, 6vw, 5.4rem);
}

.hero-option-a .hero-copy {
  max-width: 46rem;
  padding-bottom: clamp(0.4rem, 1.4vw, 1.2rem);
}

.hero-option-a .hero-editorial-title {
  max-width: 44rem;
  gap: 0.62rem;
}

.hero-option-a .hero-editorial-title strong {
  max-width: 10.7ch;
  font-size: clamp(3.05rem, 7vw, 5.45rem);
  line-height: 0.91;
}

.hero-option-a .hero-subtitle {
  max-width: 39rem;
}

.hero-option-a .hero-portrait {
  align-self: end;
  align-content: end;
  min-height: min(50vh, 30rem);
  transform: translateY(clamp(10rem, 18vw, 16rem));
}

.hero-option-a .hero-photo-frame {
  width: min(94%, 31.5rem);
}

.hero-option-a .hero-portrait-panel {
  width: min(94%, 30rem);
  margin-top: 0.1rem;
}

.hero-option-b .hero {
  align-items: center;
  padding-bottom: clamp(2.4rem, 5vw, 4rem);
}

.hero-option-b .hero-copy {
  max-width: 44rem;
}

.hero-option-b .hero-editorial-title {
  max-width: 39rem;
  gap: 0.58rem;
}

.hero-option-b .hero-editorial-title strong {
  max-width: 10.4ch;
  font-size: clamp(2.85rem, 6.4vw, 5.05rem);
  line-height: 0.92;
}

.hero-option-b .hero-subtitle {
  max-width: 36rem;
  font-size: clamp(1.05rem, 3.4vw, 1.38rem);
}

.hero-option-b .hero-portrait {
  align-content: center;
  min-height: min(72vh, 42rem);
}

.hero-option-b .hero-photo-frame {
  width: min(105%, 38.5rem);
}

.hero-option-b .hero-portrait-panel {
  width: min(100%, 31rem);
  margin-top: 0.1rem;
}

.section {
  position: relative;
  padding: 5rem clamp(1rem, 5vw, 4rem);
}

.section::before {
  content: "";
  position: absolute;
  top: 1.7rem;
  left: clamp(1rem, 5vw, 4rem);
  width: min(10rem, 42vw);
  height: 0.22rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--violet), var(--gold), var(--black));
  opacity: 0.78;
}

.section-heading {
  max-width: 54rem;
  margin-bottom: 2.2rem;
}

.ecosystem-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(198, 160, 77, 0.11), transparent 24rem),
    radial-gradient(circle at 88% 10%, rgba(123, 75, 160, 0.1), transparent 22rem),
    linear-gradient(180deg, #ffffff 0%, #fbfaff 100%);
}

.ecosystem-section::after {
  content: "";
  position: absolute;
  right: -8rem;
  top: 7rem;
  width: 30rem;
  height: 30rem;
  border: 1px solid rgba(198, 160, 77, 0.18);
  border-radius: 50%;
  opacity: 0.65;
  pointer-events: none;
}

.ecosystem-heading {
  max-width: 78rem;
  margin: 0 auto;
  text-align: center;
}

.ecosystem-heading h2 {
  max-width: 78rem;
  margin-right: auto;
  margin-left: auto;
  font-size: clamp(2.25rem, 6vw, 4.55rem);
}

.ecosystem-heading > p:not(.eyebrow) {
  max-width: 45rem;
  margin: 0 auto;
  color: var(--ink-soft);
  font-family: var(--sans);
  font-size: clamp(1rem, 2.4vw, 1.18rem);
}

.puzzle-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  justify-items: center;
  isolation: isolate;
  padding: 3.2rem 0 1rem;
}

.puzzle-card {
  display: grid;
  width: min(100%, 28rem);
  gap: 1.35rem;
  color: var(--ink);
  text-align: center;
  transition: transform 320ms ease, filter 320ms ease;
}

.puzzle-card:hover {
  transform: translateY(-0.45rem);
  filter: drop-shadow(0 1.4rem 2.2rem rgba(74, 37, 95, 0.18));
}

.puzzle-art {
  position: relative;
  width: min(19.5rem, 82vw);
  aspect-ratio: 1;
  margin: 0 auto;
  filter:
    drop-shadow(0 1.4rem 1.8rem rgba(17, 16, 15, 0.24))
    drop-shadow(0 0 0.7rem rgba(198, 160, 77, 0.2));
}

.puzzle-shape {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.puzzle-card:nth-child(even) .puzzle-shape {
  transform: scaleX(-1);
  transform-origin: center;
}

.puzzle-shape path {
  fill: #10100f;
  stroke: var(--gold);
  stroke-width: 3;
  vector-effect: non-scaling-stroke;
}

.puzzle-art::before {
  content: "";
  position: absolute;
  inset: 3.65rem 3.7rem;
  background:
    linear-gradient(90deg, rgba(198, 160, 77, 0.2) 1px, transparent 1px),
    linear-gradient(0deg, rgba(123, 75, 160, 0.16) 1px, transparent 1px),
    linear-gradient(135deg, rgba(123, 75, 160, 0.18), transparent 48%);
  background-size: 38px 38px, 38px 38px, auto;
  opacity: 0.58;
  pointer-events: none;
  clip-path: inset(0 round 0.25rem);
}

.puzzle-art::after {
  content: "";
  position: absolute;
  inset: 4.2rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(198, 160, 77, 0.24), transparent 67%);
  opacity: 0;
  transition: opacity 320ms ease;
  pointer-events: none;
}

.puzzle-card:hover .puzzle-art::after {
  opacity: 1;
}

.platform-logo {
  display: grid;
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(5.3rem, 34%, 6.5rem);
  height: clamp(5.3rem, 34%, 6.5rem);
  place-items: center;
  border: 2px solid rgba(198, 160, 77, 0.9);
  border-radius: 50%;
  background: #050505;
  overflow: hidden;
  box-shadow:
    0 0 0 5px rgba(5, 5, 5, 0.62),
    0 0 1.2rem rgba(198, 160, 77, 0.28),
    inset 0 0 0 1px rgba(255, 255, 255, 0.15);
  transform: translate(-50%, -50%);
  z-index: 2;
}

.image-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.tli-logo img {
  object-fit: contain;
  padding: 0.6rem;
  background: #050505;
}

.ecosystem-copy {
  max-width: 30rem;
  margin: 0 auto;
  padding: 0 0.3rem;
}

.ecosystem-copy h3 {
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: clamp(1.8rem, 5.6vw, 2.65rem);
  line-height: 0.98;
  font-weight: 520;
}

.platform-kicker {
  margin: 0 auto 0.85rem;
  color: var(--violet-deep);
  font-family: var(--sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.platform-description {
  margin: 0;
  color: var(--ink-soft);
  font-family: var(--display);
  font-size: clamp(1.02rem, 2.8vw, 1.18rem);
  line-height: 1.55;
}

.about-section {
  display: grid;
  gap: 2rem;
  background:
    radial-gradient(circle at 10% 18%, rgba(198, 160, 77, 0.14), transparent 24rem),
    linear-gradient(135deg, rgba(123, 75, 160, 0.08), transparent 46%),
    var(--paper);
}

.about-content {
  max-width: 62rem;
  padding: clamp(1.2rem, 3vw, 2rem) 0;
}

.about-content .eyebrow {
  color: var(--gold-deep);
}

.about-content p,
.contact-panel p {
  max-width: 44rem;
  font-size: 1.04rem;
}

.highlight-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  min-height: 4.3rem;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(198, 160, 77, 0.28);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 1rem 2.4rem rgba(74, 37, 95, 0.06);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.highlight-item:hover {
  transform: translateY(-0.2rem);
  border-color: rgba(198, 160, 77, 0.68);
  box-shadow: 0 1.15rem 2.6rem rgba(198, 160, 77, 0.18);
}

.highlight-item svg {
  flex: 0 0 1.8rem;
  width: 1.8rem;
  height: 1.8rem;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
  filter: drop-shadow(0 0 0.45rem rgba(198, 160, 77, 0.24));
}

.highlight-item span {
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-section {
  padding-bottom: 6rem;
  background:
    radial-gradient(circle at 80% 16%, rgba(198, 160, 77, 0.16), transparent 22rem),
    linear-gradient(180deg, #fffdf8 0%, #f8f6ff 100%);
}

.contact-panel {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 5vw, 3rem);
  border: 1px solid rgba(198, 160, 77, 0.58);
  border-radius: 0.5rem;
  background:
    linear-gradient(135deg, rgba(123, 75, 160, 0.22), transparent 38%),
    linear-gradient(225deg, rgba(198, 160, 77, 0.16), transparent 44%),
    linear-gradient(180deg, #151214, #050505);
  color: rgba(255, 255, 255, 0.82);
  box-shadow:
    0 1.8rem 4rem rgba(17, 16, 15, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.contact-panel h2 {
  color: var(--white);
}

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

.contact-panel p {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

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

.contact-form span {
  color: var(--gold-soft);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 3.1rem;
  border: 1px solid rgba(198, 160, 77, 0.36);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.045);
  color: var(--white);
  font: inherit;
  outline: none;
  padding: 0.82rem 0.9rem;
  transition: border-color 240ms ease, box-shadow 240ms ease, background 240ms ease;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form select {
  color-scheme: dark;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(198, 160, 77, 0.86);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 1rem rgba(198, 160, 77, 0.18);
}

.form-submit {
  justify-self: start;
  margin-top: 0.5rem;
  cursor: pointer;
}

.form-submit:disabled {
  cursor: wait;
  opacity: 0.72;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  margin: 0.2rem 0 0;
  color: var(--gold-soft);
  font-size: 0.95rem;
}

.form-status.is-error {
  color: #ffd0d0;
}

.form-status.is-success {
  color: #f8e6b5;
}

.site-footer {
  display: grid;
  gap: 1.4rem;
  padding: 2rem clamp(1rem, 5vw, 4rem);
  border-top: 1px solid rgba(123, 75, 160, 0.14);
  color: var(--ink-soft);
  background:
    linear-gradient(90deg, rgba(123, 75, 160, 0.14), transparent 24rem),
    rgba(255, 255, 255, 0.86);
}

.site-footer p {
  margin-bottom: 0;
  color: var(--violet-deep);
  font-family: var(--display);
  font-size: 1.25rem;
}

.media-hero {
  position: relative;
  z-index: 1;
  min-height: 78svh;
  padding: 8rem clamp(1rem, 5vw, 4rem) 4rem;
  background:
    linear-gradient(135deg, rgba(123, 75, 160, 0.12), transparent 38rem),
    linear-gradient(225deg, rgba(198, 160, 77, 0.14), transparent 34rem),
    var(--white);
}

.media-copy {
  max-width: 58rem;
}

.media-copy h1 {
  max-width: 13ch;
}

.media-grid {
  display: grid;
  gap: 1rem;
}

.media-card {
  padding: 1.4rem;
  border: 1px solid rgba(198, 160, 77, 0.62);
  border-radius: 1rem;
  background:
    linear-gradient(135deg, rgba(123, 75, 160, 0.28), transparent 45%),
    linear-gradient(180deg, #151214, #050505);
  color: var(--white);
}

.media-card span {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--gold);
  font-weight: 800;
}

.media-card h3 {
  color: var(--white);
}

.media-card p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
}

.footer-links a {
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 800;
  transition: color 180ms ease;
}

.footer-links a:hover {
  color: var(--violet);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 700ms ease, transform 700ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (min-width: 720px) {
  .menu-toggle {
    display: none;
  }

  .site-nav {
    position: static;
    display: flex;
    align-items: center;
    gap: clamp(1rem, 2vw, 1.8rem);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav a {
    padding: 0;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.72fr);
    gap: clamp(2rem, 5vw, 5rem);
    padding-top: 8rem;
  }

  .hero-portrait {
    align-self: stretch;
    max-height: 43rem;
    margin-top: 0;
  }

  .hero-portrait img {
    width: 100%;
  }

  .hero-photo-frame {
    width: min(112%, 46rem);
  }

  .puzzle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 66rem;
    gap: 4rem 3rem;
    margin: 0 auto;
    padding: 4rem 0 1rem;
  }

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

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

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

  .form-message,
  .form-submit {
    grid-column: 1 / -1;
  }

  .site-footer {
    grid-template-columns: minmax(18rem, 0.8fr) 1fr;
    align-items: center;
  }
}

@media (min-width: 1080px) {
  .hero {
    padding-left: clamp(4rem, 7vw, 7rem);
    padding-right: clamp(4rem, 7vw, 7rem);
  }

  .section,
  .site-footer {
    padding-left: clamp(4rem, 7vw, 7rem);
    padding-right: clamp(4rem, 7vw, 7rem);
  }

  .puzzle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 76rem;
    gap: 4.8rem 4rem;
  }

  .puzzle-card {
    width: min(100%, 32rem);
  }

  .puzzle-art {
    width: min(21rem, 100%);
  }

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