:root {
  --bg: #ffffff;
  --bg-subtle: #fff8f3;
  --peach: #fdeee3;
  --peach2: #fbe0cd;
  --amber: #e8883c;
  --amber-d: #cf7228;
  --amber-glow: rgba(232, 136, 60, 0.25);
  --ink: #1c1b2e;
  --ink-soft: #2e2c43;
  --muted: #6d6a78;
  --line: #f1e3d8;
  --card-bg: #ffffff;
  --shadow-sm: 0 4px 12px rgba(28, 27, 46, 0.04);
  --shadow-md: 0 14px 40px rgba(232, 136, 60, 0.1);
  --shadow-lg: 0 24px 60px rgba(28, 27, 46, 0.14);
  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);

  /* Unified compact section rhythm tokens */
  --section-pad-desktop: 48px;
  --section-pad-laptop: 40px;
  --section-pad-tablet: 34px;
  --section-pad-mobile: 26px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  width: 100%;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

a:focus-visible,
button:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
}

/* Main Container */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

/* Warm Gradient Header Area */
.warm {
  background: linear-gradient(135deg, #ffffff 0%, #fff8f3 45%, var(--peach) 100%);
  overflow: hidden;
  position: relative;
}

/* Background Curved Shape Lines */
.hero-curves {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.hero-curves svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===================================================
   Navigation Bar & Mobile Drawer
   =================================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 80px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(241, 227, 216, 0.8);
  box-shadow: 0 4px 20px rgba(28, 27, 46, 0.03);
  transition: var(--transition);
}

.nav .wrap {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.logo:hover {
  transform: translateY(-1px);
}

.logo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #1b1a2e 0%, #292742 100%);
  border: 1.5px solid rgba(232, 136, 60, 0.45);
  border-radius: 12px;
  padding: 5px 12px;
  box-shadow: 0 4px 14px rgba(28, 27, 46, 0.15);
  transition: var(--transition);
}

.logo-badge img {
  height: 38px;
  width: auto;
  max-width: 60px;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(232, 136, 60, 0.5));
}

.logo:hover .logo-badge {
  border-color: var(--amber);
  box-shadow: 0 6px 20px rgba(232, 136, 60, 0.35);
  transform: scale(1.03);
}

.logo-title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-brand {
  font-size: 1.28rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.logo-brand em {
  font-style: normal;
  color: var(--amber);
}

.logo-tagline {
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-d);
  margin-top: 2px;
}

.nav nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav nav a {
  padding: 7px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
  border-radius: var(--radius-full);
  transition: var(--transition);
  white-space: nowrap;
}

.nav nav a:hover {
  color: var(--amber-d);
  background: rgba(232, 136, 60, 0.08);
}

.nav nav a[aria-current="page"] {
  color: var(--amber-d);
  background: rgba(232, 136, 60, 0.14);
  font-weight: 700;
}

.right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 600;
  flex-shrink: 0;
}

.right a.login-link {
  color: var(--ink);
  padding: 9px 16px;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.right a.login-link:hover {
  color: var(--amber-d);
  background: rgba(28, 27, 46, 0.05);
}

/* Mobile Hamburger Toggle Button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  padding: 10px 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.nav-toggle:hover {
  background: rgba(232, 136, 60, 0.08);
  border-color: var(--amber);
}

.nav.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-d) 100%);
  color: #ffffff !important;
  font-family: var(--sans);
  font-size: 0.94rem;
  font-weight: 600;
  padding: 11px 26px;
  cursor: pointer;
  box-shadow: 0 6px 20px var(--amber-glow);
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(232, 136, 60, 0.35);
  background: linear-gradient(135deg, #f0954e 0%, var(--amber-d) 100%);
}

.btn:active {
  transform: translateY(0);
}

.btn.o {
  background: #ffffff;
  color: var(--ink) !important;
  box-shadow: inset 0 0 0 1.5px var(--line);
}

.btn.o:hover {
  color: var(--amber) !important;
  box-shadow: inset 0 0 0 1.5px var(--amber);
  background: #fffaf6;
}

.btn-lg {
  padding: 14px 34px;
  font-size: 1.02rem;
}

.right .btn {
  padding: 9px 22px;
  font-size: 0.9rem;
}

/* Typography */
.kicker {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--amber-d);
  background: rgba(232, 136, 60, 0.12);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.3rem, 4.6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
}

h1 em {
  font-style: normal;
  color: var(--amber);
  position: relative;
  display: inline-block;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 14px;
}

h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.lead {
  color: var(--muted);
  max-width: 34em;
  font-size: 1.04rem;
  line-height: 1.65;
  margin-bottom: 24px;
}

/* ===================================================
   Streamlined Hero & Page Head (Padding Calibrated)
   =================================================== */
.page-head {
  padding: 24px 0 32px;
}

.hero {
  padding: 24px 0 36px;
}

.page-head.hero {
  padding: 24px 0 36px;
}

.hz,
.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

/* Pill Form */
.pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border-radius: var(--radius-full);
  padding: 6px 6px 6px 20px;
  max-width: 490px;
  width: 100%;
  box-shadow: 0 12px 36px rgba(232, 136, 60, 0.14);
  border: 1px solid var(--line);
  transition: var(--transition);
}

.pill svg {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--muted);
}

.pill input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  padding: 10px 4px;
}

.pill:focus-within {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 136, 60, 0.2), 0 14px 40px rgba(232, 136, 60, 0.16);
}

.fine {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 34em;
}

.fine a {
  text-decoration: underline;
  color: var(--ink);
}

.fine a:hover {
  color: var(--amber);
}

/* Stats */
.stats {
  display: flex;
  gap: 36px;
  margin-top: 24px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.stat b {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--ink);
}

.stat:nth-child(2) b {
  color: var(--amber);
}

.stat span {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.4;
  margin-top: 3px;
  display: block;
}

/* Hero Visuals & Badges */
.visual {
  position: relative;
  min-height: 620px;
  z-index: 10;
  width: 100%;
}

.photo {
  position: absolute;
  left: 50%;
  bottom: 0;
  top: auto;
  transform: translateX(-50%);
  width: min(620px, 100%);
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 8;
}

.photo img {
  width: auto;
  height: 600px;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  border-radius: 0;
  box-shadow: none;
  border: none;
  background: transparent;
  filter: drop-shadow(0 18px 34px rgba(28, 27, 46, 0.16));
  position: relative;
  z-index: 8;
}

.round img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 44px rgba(28, 27, 46, 0.13);
}

.ico {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(28, 27, 46, 0.12);
  z-index: 20;
  animation: float 4.5s ease-in-out infinite alternate;
  pointer-events: none;
}

.ico-ring {
  left: 8%;
  top: 4%;
  width: 48px;
  height: 48px;
  background: #ffffff;
  color: #cf7228;
  animation-delay: 0s;
}

.ico-ring svg {
  width: 22px;
  height: 22px;
}

.ico-like {
  right: 10%;
  top: 8%;
  width: 42px;
  height: 42px;
  background: #e8455a;
  color: #ffffff;
  animation-delay: 1.5s;
}

.ico-like svg {
  width: 19px;
  height: 19px;
}

.ico-cocktail {
  left: 2%;
  top: 42%;
  width: 40px;
  height: 40px;
  background: #db3857;
  color: #ffffff;
  animation-delay: 2.3s;
}

.ico-cocktail svg {
  width: 19px;
  height: 19px;
}

.ico-heart {
  right: 2%;
  top: 38%;
  width: 46px;
  height: 46px;
  background: #ffffff;
  color: #e23b55;
  animation-delay: 0.9s;
}

.ico-heart svg {
  width: 22px;
  height: 22px;
}

.ico-calendar {
  right: 2%;
  top: 60%;
  width: 44px;
  height: 44px;
  background: #ffffff;
  color: #cf7228;
  animation-delay: 1.8s;
}

.ico-calendar svg {
  width: 20px;
  height: 20px;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-8px);
  }
}

/* Filter Chips Form */
.chips {
  position: absolute;
  left: 0;
  bottom: 84px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-full);
  padding: 5px 6px 5px 12px;
  box-shadow: 0 14px 36px rgba(28, 27, 46, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.85);
  z-index: 25;
}

.chips select {
  border: 0;
  background: transparent;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--ink);
  padding: 6px 8px;
  cursor: pointer;
  outline: none;
}

.chips button {
  border: 0;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-d) 100%);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(232, 136, 60, 0.25);
  transition: var(--transition);
}

.chips button:hover {
  background: var(--amber-d);
}

/* Floating Member Preview Cards */
.mcards {
  position: absolute;
  right: 0;
  bottom: 0;
  display: grid;
  gap: 10px;
  width: min(290px, 65%);
  z-index: 30;
}

.mcard {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: var(--radius-md);
  padding: 10px 12px;
  box-shadow: 0 12px 34px rgba(28, 27, 46, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.85);
  transition: var(--transition);
}

.mcard:hover {
  transform: translateX(-3px);
  box-shadow: 0 16px 40px rgba(28, 27, 46, 0.14);
}

.mcard img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}

.mcard b {
  display: block;
  font-size: 0.88rem;
  line-height: 1.25;
  color: var(--ink);
}

.mcard span {
  font-size: 0.76rem;
  color: var(--muted);
}

.mcard a {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--amber) 0%, var(--amber-d) 100%);
  padding: 6px 14px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(232, 136, 60, 0.22);
  transition: var(--transition);
  white-space: nowrap;
}

.sample {
  font-size: 0.78rem;
  color: var(--muted);
}

.visual .sample {
  position: absolute;
  right: 0;
  bottom: -24px;
}

/* ===================================================
   Clean Section Spacing Across All Pages
   =================================================== */
section {
  padding: var(--section-pad-desktop) 0;
}

.tint {
  background: linear-gradient(180deg, #fff8f3 0%, var(--peach) 100%);
}

.head {
  max-width: 660px;
  margin-bottom: 26px;
}

.head.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.head p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Three Steps / Features */
.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.box {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: 0 10px 32px rgba(232, 136, 60, 0.06);
  transition: var(--transition);
}

.box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(232, 136, 60, 0.14);
  border-color: var(--peach2);
}

.box .n {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--peach);
  color: var(--amber-d);
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.box p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
}

/* Member Grid / Discovery */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pc {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--peach);
  box-shadow: 0 10px 28px rgba(28, 27, 46, 0.07);
  transition: var(--transition);
}

.pc:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(28, 27, 46, 0.18);
}

.pc img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pc:hover img {
  transform: scale(1.05);
}

.pc::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(28, 27, 46, 0.88) 0%, rgba(28, 27, 46, 0.3) 50%, rgba(28, 27, 46, 0) 75%);
  transition: opacity 0.3s ease;
}

.pc div {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: #ffffff;
}

.pc b {
  display: block;
  font-size: 1.12rem;
  font-weight: 700;
  line-height: 1.25;
}

.pc span {
  font-size: 0.82rem;
  opacity: 0.88;
}

.pc a {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.pc a:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

/* Filter Bar */
.filter {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 10px 16px;
  margin-bottom: 20px;
  width: fit-content;
  box-shadow: 0 10px 30px rgba(232, 136, 60, 0.06);
}

.filter label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--muted);
}

.filter select {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink);
  padding: 8px 12px;
  cursor: pointer;
}

.filter .btn {
  padding: 9px 20px;
}

/* Call to Action */
.cta {
  text-align: center;
  background: linear-gradient(135deg, #fffaf6 0%, #fdeee3 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 44px 0;
}

.cta h2 {
  max-width: 18em;
  margin: 0 auto 12px;
}

.cta p {
  color: var(--muted);
  max-width: 34em;
  margin: 0 auto 20px;
  font-size: 1.02rem;
}

/* Split Image & List Section */
.round {
  max-width: 440px;
  margin: 0 auto;
  width: 100%;
}

.list {
  list-style: none;
}

.list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.list li:first-child {
  padding-top: 0;
}

.list b {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  margin-bottom: 3px;
  color: var(--ink);
}

.list span {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Form Styles */
.cform {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: 0 16px 46px rgba(232, 136, 60, 0.08);
  width: 100%;
}

.cform label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 6px;
}

.cform input,
.cform textarea,
.cform select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-size: 0.94rem;
  color: var(--ink);
  margin-bottom: 16px;
  background: #ffffff;
  transition: var(--transition);
}

.cform input:focus,
.cform textarea:focus,
.cform select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 136, 60, 0.16);
  outline: none;
}

.cform .two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Auth Pages (Login / Join) */
.auth-box {
  max-width: 480px;
  margin: 20px auto 32px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  box-shadow: 0 20px 50px rgba(232, 136, 60, 0.1);
  width: 100%;
}

.auth-box h2 {
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.auth-box .auth-subtitle {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--muted);
}

.auth-switch a {
  color: var(--amber-d);
  font-weight: 700;
}

.auth-switch a:hover {
  text-decoration: underline;
}

/* Wide 2-Column Auth Card for Join Elite */
.auth-box-wide {
  max-width: 780px;
  padding: 40px 38px;
}

.join-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 22px;
  text-align: left;
}

.join-form-grid .f-group {
  display: flex;
  flex-direction: column;
}

.join-form-grid label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}

.join-form-grid input,
.join-form-grid select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  font-size: 0.94rem;
  background: #ffffff;
  color: var(--ink);
  transition: var(--transition);
}

.join-form-grid input:focus,
.join-form-grid select:focus {
  border-color: var(--amber);
  box-shadow: 0 0 0 3px rgba(232, 136, 60, 0.16);
  outline: none;
}

.join-form-grid .f-full {
  grid-column: 1 / -1;
}

.terms-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  color: var(--muted);
  margin: 6px 0 10px;
}

.terms-check input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--amber);
}

.terms-check a {
  color: var(--amber-d);
  text-decoration: underline;
}

@media (max-width: 700px) {
  .auth-box-wide {
    padding: 26px 20px;
  }
  .join-form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* Legal Content Pages (Terms / Privacy) */
.legal-content {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
  box-shadow: 0 12px 34px rgba(232, 136, 60, 0.05);
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 26px;
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line);
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content ul {
  color: #434050;
  font-size: 0.96rem;
  line-height: 1.7;
  margin-bottom: 14px;
}

.legal-content ul {
  padding-left: 20px;
}

.legal-content li {
  margin-bottom: 6px;
}

/* Footer */
footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 22px;
  font-size: 0.9rem;
  background: #ffffff;
}

.fg {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  margin-bottom: 28px;
}

.fg h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--ink);
  margin-bottom: 14px;
}

.fg ul {
  list-style: none;
  color: var(--muted);
}

.fg li {
  margin-bottom: 9px;
}

.fg a:hover {
  color: var(--amber);
}

.fg p {
  color: var(--muted);
  max-width: 24em;
  margin-top: 12px;
  line-height: 1.55;
  font-size: 0.88rem;
}

.lg {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* Interactive Chemistry Match Quiz */
.quiz-section {
  background: linear-gradient(180deg, #ffffff 0%, #fff8f3 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.quiz-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: 0 16px 44px rgba(232, 136, 60, 0.07);
}

.quiz-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 20px;
}

.quiz-col h4 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.quiz-pills {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.quiz-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
  cursor: pointer;
  transition: var(--transition);
  user-select: none;
}

.quiz-pill:hover,
.quiz-pill.active {
  border-color: var(--amber);
  background: #fff8f3;
  color: var(--amber-d);
  transform: translateX(3px);
  box-shadow: 0 4px 14px rgba(232, 136, 60, 0.12);
}

/* Difference Grid */
.difference-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.diff-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(28, 27, 46, 0.04);
  transition: var(--transition);
}

.diff-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(232, 136, 60, 0.1);
  border-color: var(--peach2);
}

.diff-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--peach) 0%, #fff8f3 100%);
  color: var(--amber-d);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  font-size: 1.25rem;
}

.diff-badge {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--amber-d);
  background: var(--peach);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

/* Badges & Tags */
.compat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(232, 136, 60, 0.92);
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  margin-bottom: 5px;
}

.tag-list {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  margin-top: 5px;
}

.tag-item {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  padding: 2px 7px;
  border-radius: 6px;
}

/* Love Stories / Testimonials */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.story-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 26px 22px;
  box-shadow: 0 10px 32px rgba(28, 27, 46, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 44px rgba(232, 136, 60, 0.12);
  border-color: var(--peach2);
}

.story-quote {
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--ink);
  font-style: italic;
  margin-bottom: 18px;
  position: relative;
}

.story-quote::before {
  content: "“";
  font-size: 3rem;
  color: var(--peach2);
  position: absolute;
  top: -20px;
  left: -10px;
  line-height: 1;
  font-family: serif;
  z-index: 0;
  pointer-events: none;
}

.story-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.story-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--amber);
}

.story-info b {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.story-info span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* Dark Luxury Trust Strip */
.trust-strip {
  background: #1c1b2e;
  color: #ffffff;
  padding: 36px 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.trust-item .icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(232, 136, 60, 0.2);
  color: var(--amber);
  display: grid;
  place-items: center;
  flex: none;
  font-size: 1.2rem;
}

.trust-item h4 {
  font-size: 0.96rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 3px;
}

.trust-item p {
  font-size: 0.82rem;
  color: #b5b1bd;
  line-height: 1.45;
}

/* FAQ Accordion Section */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--peach2);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: 0;
  padding: 18px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.faq-question svg {
  width: 18px;
  height: 18px;
  color: var(--amber);
  transition: transform 0.3s ease;
  flex: none;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.94rem;
  line-height: 1.65;
  color: var(--muted);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* How It Works Box Visual */
.box-visual {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--peach);
}

.box-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.box:hover .box-visual img {
  transform: scale(1.05);
}

.box-visual .n {
  position: absolute;
  top: 10px;
  left: 10px;
  margin-bottom: 0;
  box-shadow: 0 4px 12px rgba(28, 27, 46, 0.18);
  z-index: 2;
  background: #ffffff;
  color: var(--amber-d);
}

/* FAQ Split Layout with Left Image */
.faq-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: center;
  margin-top: 28px;
}

.faq-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 440px;
  max-height: 520px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}

.faq-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 24px rgba(28, 27, 46, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.faq-badge .badge-icon {
  font-size: 1.4rem;
}

.faq-badge b {
  display: block;
  font-size: 0.92rem;
  color: var(--ink);
}

.faq-badge span {
  font-size: 0.78rem;
  color: var(--muted);
}

/* CTA Flank Layout with Left & Right Images */
.cta-flank-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.cta-flank-img {
  width: 220px;
  height: 290px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 16px 40px rgba(28, 27, 46, 0.14);
  border: 3px solid #ffffff;
  transition: transform 0.4s ease;
}

.cta-flank-img:hover {
  transform: translateY(-6px);
}

.cta-flank-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-center-content {
  flex: 1;
  max-width: 580px;
  text-align: center;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-visual {
    max-width: 440px;
    margin: 0 auto;
    min-height: 340px;
  }
  .cta-flank-layout {
    flex-direction: column;
    gap: 24px;
  }
  .cta-flank-img {
    display: none;
  }
}



/* ===================================================
   RESPONSIVE DESIGN BREAKPOINTS
   Laptop, Desktop, Tablet, and Mobile Optimizations
   =================================================== */

/* --- Laptop / Small Desktop (992px to 1199px) --- */
@media (max-width: 1199px) {
  .wrap {
    padding: 0 24px;
  }

  section {
    padding: var(--section-pad-laptop) 0;
  }

  .hz,
  .split {
    gap: 32px;
  }

  .visual {
    min-height: 560px;
  }

  .photo img {
    height: 540px;
  }

  .grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .fg {
    gap: 28px;
  }
}

/* --- Tablet Devices (768px to 991px) --- */
@media (max-width: 991px) {
  .wrap {
    padding: 0 20px;
  }

  section {
    padding: var(--section-pad-tablet) 0;
  }

  .page-head,
  .hero,
  .page-head.hero {
    padding: 20px 0 28px;
  }

  /* Hamburger Navigation Drawer */
  .nav-toggle {
    display: flex;
  }

  .nav nav {
    display: none;
  }

  .nav.nav-open nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 16px 20px 22px;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 16px 40px rgba(28, 27, 46, 0.12);
    gap: 6px;
    animation: slideDownNav 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    z-index: 999;
  }

  .nav.nav-open nav a {
    width: 100%;
    padding: 11px 18px;
    font-size: 0.98rem;
    border-radius: 12px;
  }

  @keyframes slideDownNav {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* Layout Conversions */
  .hz,
  .split {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .visual {
    min-height: 500px;
    max-width: 480px;
    margin: 10px auto 0;
  }

  .photo img {
    height: 480px;
  }

  .three {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .quiz-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .difference-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .story-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .fg {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }
}

/* --- Mobile / Phablets (481px to 767px) --- */
@media (max-width: 767px) {
  .wrap {
    padding: 0 16px;
  }

  section {
    padding: var(--section-pad-mobile) 0;
  }

  .page-head,
  .hero,
  .page-head.hero {
    padding: 18px 0 22px;
  }

  .nav {
    height: 72px;
  }

  .logo-brand {
    font-size: 1.2rem;
  }

  .logo-badge {
    padding: 4px 10px;
    border-radius: 10px;
  }

  .logo-badge img {
    height: 34px;
  }

  .visual {
    min-height: 420px;
    max-width: 400px;
  }

  .photo img {
    height: 400px;
  }

  .chips {
    bottom: 80px;
    padding: 4px 6px 4px 10px;
  }

  .chips select {
    font-size: 0.8rem;
    padding: 5px 6px;
  }

  .mcards {
    width: 100%;
  }

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

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

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

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

  .cform .two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .fg {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal-content {
    padding: 24px 20px;
  }

  .auth-box {
    padding: 26px 20px;
    margin: 16px auto 26px;
  }
}

/* --- Small Phones (<= 480px down to 320px) --- */
@media (max-width: 480px) {
  .wrap {
    padding: 0 14px;
  }

  .nav {
    height: 64px;
  }

  .logo {
    gap: 8px;
  }

  .logo-badge {
    padding: 4px 8px;
  }

  .logo-badge img {
    height: 30px;
    max-width: 48px;
  }

  .logo-brand {
    font-size: 1.12rem;
  }

  .logo-tagline {
    font-size: 0.58rem;
  }

  .right a.login-link {
    display: none;
  }

  .right .btn {
    padding: 7px 16px;
    font-size: 0.84rem;
  }

  .pill {
    flex-direction: column;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    align-items: stretch;
    gap: 10px;
  }

  .pill input {
    padding: 6px 0;
  }

  .pill .btn {
    width: 100%;
    padding: 11px 18px;
  }

  .stats {
    gap: 20px;
  }

  .stat b {
    font-size: 1.75rem;
  }

  .visual {
    min-height: 360px;
    max-width: 320px;
  }

  .photo img {
    height: 350px;
  }

  .ico {
    transform: scale(0.82);
  }

  .ico-ring {
    left: 2%;
    top: 2%;
  }

  .ico-like {
    right: 4%;
    top: 4%;
  }

  .ico-cocktail {
    left: 0%;
    top: 36%;
  }

  .ico-heart {
    right: 0%;
    top: 32%;
  }

  .ico-calendar {
    right: 0%;
    top: 54%;
  }

  .chips {
    position: static;
    margin-top: 16px;
    border-radius: 14px;
    flex-direction: column;
    align-items: stretch;
    padding: 10px 12px;
  }

  .chips select {
    width: 100%;
    border-bottom: 1px solid var(--line);
    padding: 8px 4px;
  }

  .chips button {
    width: 100%;
    margin-top: 6px;
  }

  .mcards {
    position: static;
    margin-top: 14px;
    width: 100%;
  }

  .mcards .mcard:nth-child(2) {
    display: none;
  }

  .visual .sample {
    position: static;
    margin-top: 8px;
    text-align: center;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pc div {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .pc b {
    font-size: 0.98rem;
  }

  .pc span {
    font-size: 0.74rem;
  }

  .pc a {
    padding: 5px 10px;
    font-size: 0.74rem;
    margin-top: 6px;
  }

  .quiz-card {
    padding: 20px 14px;
  }

  .quiz-pill {
    padding: 10px 12px;
    font-size: 0.85rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .auth-box {
    padding: 22px 16px;
    margin: 12px auto 20px;
  }

  .auth-box .two {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .legal-content {
    padding: 20px 14px;
  }

  .cta {
    padding: 34px 0;
  }

  .cta .btn-lg {
    width: 100%;
  }
}

/* --- Ultra-Narrow Mobile (<= 350px) --- */
@media (max-width: 350px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
