:root {
  color-scheme: dark;
  --bg: #17090c;
  --ink: #fff8f1;
  --muted: rgba(255, 238, 224, 0.72);
  --soft: rgba(255, 238, 224, 0.54);
  --line: rgba(255, 255, 255, 0.18);
  --surface: rgba(28, 10, 14, 0.58);
  --surface-strong: rgba(24, 8, 12, 0.78);
  --surface-soft: rgba(255, 255, 255, 0.075);
  --accent: #a80f24;
  --accent-dark: #541122;
  --warm: #ffb45f;
  --radius: 16px;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display: Georgia, "Iowan Old Style", "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(23, 9, 12, 0.16), rgba(23, 9, 12, 0.92) 64%, #17090c),
    url("/assets/living-dinner.jpg");
  background-size: cover;
  background-position: center;
  filter: saturate(1.04) contrast(1.04);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 180, 95, 0.14), transparent 22rem),
    radial-gradient(circle at 82% 22%, rgba(168, 15, 36, 0.24), transparent 24rem),
    linear-gradient(90deg, rgba(14, 4, 6, 0.9), rgba(14, 4, 6, 0.74) 46%, rgba(14, 4, 6, 0.68));
}

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

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

button {
  font: inherit;
}

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

h1,
h2 {
  text-wrap: balance;
}

p {
  color: var(--muted);
  line-height: 1.45;
  text-wrap: pretty;
}

.page-scene {
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100svh;
}

.site-top {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(18px, 3vw, 30px) 0 0;
}

.site-top::before {
  content: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: rgba(255, 248, 241, 0.96);
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255, 248, 241, 0.24);
  border-radius: 999px;
  background: rgba(255, 248, 241, 0.08);
  color: #fff8f1;
  font-size: 0.68rem;
  font-weight: 950;
}

.brand b,
.brand small {
  display: block;
  line-height: 1.1;
}

.brand b {
  color: #fff8f1;
  font-size: 0.9rem;
}

.brand small {
  color: var(--soft);
  font-size: 0.72rem;
}

.site-top nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 24px);
  min-width: 0;
}

.site-top nav a {
  position: relative;
  min-height: 32px;
  border: 0;
  border-radius: 0;
  color: rgba(255, 238, 224, 0.74);
  padding: 6px 0;
  font-size: 0.82rem;
  font-weight: 820;
}

.site-top nav a:hover,
.site-top nav a:focus-visible {
  border-color: transparent;
  background: transparent;
  color: #fff8f1;
}

.site-top nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.72);
  transition: opacity 160ms ease, transform 160ms ease;
}

.site-top nav a:hover::after,
.site-top nav a:focus-visible::after {
  opacity: 0.72;
  transform: scaleX(1);
}

main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(460px, 1.08fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  min-height: calc(100svh - clamp(52px, 7vw, 86px));
  padding: clamp(28px, 5vw, 58px) 0 44px;
}

.hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  min-width: 0;
}

.scene-chip {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 248, 241, 0.11);
  color: rgba(255, 238, 224, 0.82);
  padding: 8px 11px;
  font-size: 0.78rem;
  font-weight: 900;
  line-height: 1;
  backdrop-filter: blur(14px);
}

h1 {
  max-width: 12.4ch;
  margin: 0;
  color: #fff8f1;
  font-family: var(--display);
  font-size: clamp(3.1rem, 6.2vw, 5.15rem);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: 0;
}

.lead {
  max-width: 62ch;
  margin: 0;
  color: rgba(255, 238, 224, 0.8);
  font-size: 1rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 2px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 0.9rem;
  font-weight: 920;
}

.primary {
  border: 1px solid rgba(255, 180, 95, 0.26);
  background: #fff8f1;
  color: var(--accent-dark);
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff8f1;
}

.value-section {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 0 0 clamp(34px, 5vw, 54px);
}

.value-section article {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  min-height: 136px;
  padding: 14px;
  backdrop-filter: blur(18px) saturate(1.12);
}

.value-section b,
.value-section p {
  display: block;
}

.value-section b {
  color: #fff8f1;
  font-size: 0.92rem;
  line-height: 1.18;
}

.value-section p {
  margin: 8px 0 0;
  color: rgba(255, 238, 224, 0.64);
  font-size: 0.78rem;
  line-height: 1.35;
}

.phone-stage {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: center;
  min-width: 0;
  min-height: 560px;
}

.phone {
  position: relative;
  display: grid;
  width: 100%;
  height: 500px;
  min-height: 500px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 248, 241, 0.06), rgba(255, 248, 241, 0.012)),
    rgba(21, 7, 11, 0.74);
  color: #fff8f1;
  box-shadow: 0 18px 44px rgba(7, 1, 3, 0.28);
  backdrop-filter: blur(18px) saturate(1.16);
}

.organizer-phone {
  align-self: center;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  padding: 12px;
}

.guest-phone {
  grid-template-rows: minmax(0, 1fr) auto;
}

.phone-top,
.publish-row,
.studio-list span,
.guest-facts {
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
}

.phone-top,
.publish-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 9px 10px;
}

.phone-top span,
.publish-row span {
  color: var(--soft);
  font-size: 0.72rem;
  font-weight: 860;
}

.phone-top b {
  color: var(--warm);
}

.organizer-cover {
  position: relative;
  display: grid;
  align-content: end;
  min-height: 132px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: 14px;
  padding: 12px;
}

.organizer-cover img,
.guest-cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.organizer-cover::after,
.guest-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 5, 8, 0.08), rgba(17, 5, 8, 0.86));
}

.organizer-cover div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 4px;
}

.organizer-cover small,
.guest-cover span {
  width: fit-content;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 238, 224, 0.88);
  padding: 5px 8px;
  font-size: 0.66rem;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.organizer-cover strong {
  font-size: 1.08rem;
}

.studio-list {
  display: grid;
  gap: 8px;
  align-content: start;
  margin-top: 10px;
}

.studio-list span {
  display: grid;
  gap: 3px;
  padding: 10px;
}

.studio-list b {
  font-size: 0.84rem;
}

.studio-list small {
  color: var(--soft);
  font-size: 0.68rem;
}

.publish-row {
  margin-top: 10px;
}

.publish-row button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  background: #fff8f1;
  color: var(--accent-dark);
  padding: 0 10px;
  font-size: 0.72rem;
  font-weight: 930;
}

.guest-cover {
  position: relative;
  display: grid;
  align-content: end;
  gap: 8px;
  min-height: 276px;
  overflow: hidden;
  padding: 18px;
}

.guest-cover span,
.guest-cover h2 {
  position: relative;
  z-index: 1;
}

.guest-cover h2 {
  max-width: 9ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.9rem, 3.6vw, 3.05rem);
  font-weight: 650;
  line-height: 0.98;
}

.guest-body {
  display: grid;
  align-content: start;
  gap: 12px;
  padding: 14px;
}

.guest-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  border: 0;
  background: transparent;
}

.guest-facts span,
.answer-row button {
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.075);
  color: rgba(255, 238, 224, 0.88);
  padding: 10px;
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1.2;
}

.guest-body p {
  margin: 0;
  color: rgba(255, 238, 224, 0.72);
  font-size: 0.84rem;
}

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

.answer-row button {
  min-height: 42px;
  cursor: default;
}

.answer-row button:first-child {
  background: #fff8f1;
  color: var(--accent-dark);
}

.flow,
.theme-band {
  display: grid;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: clamp(34px, 6vw, 70px) 0;
}

.section-copy {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.section-copy h2,
.theme-band h2 {
  margin: 0;
  color: #fff8f1;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.04;
}

.section-copy p {
  margin: 0;
}

.flow-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.flow-grid article,
.theme-band {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(18px) saturate(1.12);
}

.flow-grid article {
  min-height: 188px;
  padding: 16px;
}

.flow-grid b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-bottom: 18px;
  border-radius: 10px;
  background: rgba(255, 248, 241, 0.1);
  color: var(--warm);
}

.flow-grid h3 {
  margin-bottom: 8px;
  font-size: 1rem;
}

.flow-grid p {
  margin: 0;
  font-size: 0.88rem;
}

.theme-band {
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1fr);
  align-items: center;
  margin-bottom: 42px;
  padding: 18px;
}

.theme-band > div:first-child {
  display: grid;
  gap: 10px;
}

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

.theme-pills span {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.075);
  padding: 8px;
  color: #fff8f1;
  font-size: 0.86rem;
  font-weight: 880;
}

.theme-pills img {
  width: 62px;
  height: 52px;
  border-radius: 10px;
  object-fit: cover;
}

:focus-visible {
  outline: 3px solid rgba(255, 180, 95, 0.32);
  outline-offset: 3px;
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .phone-stage {
    min-height: 0;
  }

  .organizer-phone {
    transform: none;
  }

  .theme-band {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 680px) {
  .site-top,
  main {
    width: min(100% - 24px, 1180px);
  }

  .site-top {
    align-items: flex-start;
    gap: 12px;
  }

  .brand small {
    display: none;
  }

  .site-top nav {
    gap: 0;
  }

  .site-top nav a {
    min-height: 34px;
    border: 1px solid rgba(255, 248, 241, 0.18);
    border-radius: 999px;
    background: rgba(255, 248, 241, 0.08);
    padding: 7px 11px;
  }

  .site-top nav a::after {
    content: none;
  }

  .site-top nav a[href="#flow"],
  .site-top nav a[href="#themes"] {
    display: none;
  }

  .hero {
    padding-top: 26px;
  }

  h1 {
    max-width: 10ch;
    font-size: clamp(2.38rem, 14.2vw, 3.34rem);
  }

  .lead {
    font-size: 0.9rem;
  }

  .hero-actions,
  .flow-grid,
  .theme-pills {
    grid-template-columns: 1fr;
  }

  .value-section {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding-bottom: 38px;
  }

  .value-section article {
    min-height: 118px;
    padding: 11px;
  }

  .value-section b {
    font-size: 0.78rem;
  }

  .value-section p {
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .phone-stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    align-items: stretch;
  }

  .phone {
    height: 342px;
    min-height: 342px;
    border-radius: 18px;
  }

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

  .guest-cover {
    min-height: 132px;
    padding: 12px;
  }

  .organizer-phone {
    padding: 8px;
  }

  .phone-top,
  .publish-row {
    min-height: 34px;
    padding: 6px 7px;
  }

  .organizer-cover {
    min-height: 92px;
    padding: 9px;
  }

  .organizer-cover strong {
    font-size: 0.86rem;
  }

  .studio-list {
    gap: 6px;
  }

  .studio-list span {
    min-height: 36px;
    padding: 7px;
  }

  .studio-list small,
  .publish-row span,
  .phone-top span {
    display: none;
  }

  .publish-row button {
    width: 100%;
  }

  .guest-cover h2 {
    font-size: 1.32rem;
  }

  .guest-body {
    padding: 9px;
  }

  .guest-facts,
  .answer-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .guest-body p {
    display: none;
  }

  .guest-facts span,
  .answer-row button {
    padding: 8px;
    font-size: 0.68rem;
  }

  .flow-grid article {
    min-height: 0;
  }
}

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