:root {
  --bg: #fdfbf7;
  --text: #1a2e1a;
  --accent: #c5a059;
  --border: rgba(26, 46, 26, 0.15);
  --border-strong: #1a2e1a;
  --font-script: "Italianno", cursive;
  --font-serif: "Fraunces", serif;
  --font-mono: "Space Mono", monospace;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-serif);
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --- Layout Utilities --- */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow {
  max-width: 680px;
}

.text-center {
  text-align: center;
}

.flex-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* --- Typography --- */

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

.script {
  font-family: var(--font-script);
  font-weight: 400;
  display: block;
  line-height: 0.8;
}

.mono {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
}

/* --- Components --- */

.frame-border {
  position: fixed;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid var(--border-strong);
  pointer-events: none;
  z-index: 100;
}

.nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.nav-brand {
  font-family: var(--font-mono);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.nav-link {
  font-family: var(--font-mono);
  text-decoration: none;
  color: var(--text);
  font-size: 0.85rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}

.nav-link:hover {
  border-bottom-color: var(--text);
}

/* --- Hero --- */

.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 1rem;
  position: relative;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  background-image: url("./assets/hero-bg.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center bottom;
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
  color: var(--text);
  line-height: 0.8;
  position: relative;
  z-index: 1;
}

.script-main {
  font-family: var(--font-script);
  font-size: clamp(5rem, 15vw, 10rem);
  font-weight: 400;
  display: block;
  color: var(--text);
  transform: rotate(-3deg);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 0px rgba(0,0,0,0.05);
}

.brand-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 3vw, 2rem);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  display: block;
  color: var(--accent);
  font-weight: 600;
  margin-top: -1rem;
}

.hero-subtitle {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  opacity: 0.6;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

/* --- Project Showcase --- */

.project-showcase {
  padding: 6rem 0;
  border-bottom: 1px solid var(--border);
}

.project-header {
  margin-bottom: 4rem;
}

.script-title {
  font-family: var(--font-script);
  font-size: 4.5rem;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1;
}

.lead-text {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

.accent-text {
  color: var(--accent);
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  display: block;
  margin-top: 0.5rem;
  font-weight: 700;
}

.project-visuals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}

.visual-card {
  position: relative;
}

.visual-label {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--bg);
  padding: 0.4rem 0.8rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  z-index: 2;
  border: 1px solid var(--border-strong);
}

.visual-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--border-strong);
  aspect-ratio: 16/9;
  object-fit: cover;
}

.grayscale {
  filter: grayscale(100%) contrast(1.1);
}

/* --- Offer Highlight (Inside Membership) --- */

.offer-highlight {
  text-align: center;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px dashed var(--border);
}

.offer-intro {
  font-size: 1rem;
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.price-lock-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  background: var(--bg);
  padding: 1rem;
  border: 1px solid var(--border);
  display: inline-flex;
}

.price-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price-item .label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.2rem;
}

.price-item .value {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
}

.price-arrow {
  color: var(--accent);
  font-size: 1.2rem;
}

.active .value {
  color: var(--text);
}

.muted .value {
  opacity: 0.5;
  text-decoration: line-through;
}

@media (max-width: 768px) {
  .project-visuals {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* --- Benefits --- */

.intro {
  padding: 6rem 0;
}

.lead {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.4;
}

.highlight {
  font-family: var(--font-script);
  font-size: 1.6em;
  color: var(--accent);
  display: block;
  margin-top: 0.5rem;
}

.benefits {
  padding: 4rem 0 8rem;
  border-top: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  padding-top: 4rem;
}

.benefit-item {
  border-left: 1px solid var(--border-strong);
  padding-left: 1.5rem;
}

.benefit-num {
  font-family: var(--font-mono);
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.benefit-item h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.benefit-item p {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0;
}

/* --- Membership Card --- */

.membership {
  padding: 0 0 8rem;
}

.membership-card {
  border: 1px solid var(--border-strong);
  padding: 3rem;
  background: #fff;
  box-shadow: 10px 10px 0 var(--border-strong);
  position: relative;
}

.membership-header {
  text-align: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 2rem;
}

.script-lg {
  font-family: var(--font-script);
  font-size: 4rem;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.perks-list {
  list-style: none;
  padding: 0;
  margin: 0 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  text-align: center;
}

.perks-list li::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.5rem;
}

.deposit-box {
  text-align: center;
  margin-bottom: 2rem;
  background: var(--bg);
  padding: 1.5rem;
  border: 1px dashed var(--border-strong);
}

.deposit-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  opacity: 0.6;
}

.deposit-amount {
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
  color: var(--text);
}

.deposit-note {
  font-size: 0.8rem;
  font-style: italic;
  margin: 0.5rem 0 0;
  opacity: 0.7;
}

/* --- Exclusive Gift --- */

.exclusive-gift {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 1rem 1.5rem;
  margin-bottom: 2rem;
  gap: 1rem;
}

.gift-content {
  flex: 1;
}

.gift-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  display: block;
  margin-bottom: 0.3rem;
}

.gift-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 0.2rem;
  font-weight: 600;
}

.gift-desc {
  font-size: 0.8rem;
  opacity: 0.7;
  margin: 0;
  font-style: italic;
}

.gift-image-wrapper {
  width: 80px;
  height: 80px;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #fff;
}

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

@media (max-width: 480px) {
  .exclusive-gift {
    flex-direction: column-reverse;
    text-align: center;
  }
  
  .gift-image-wrapper {
    width: 100px;
    height: 100px;
  }
}

/* --- Form --- */

.minimal-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-row {
  margin-bottom: 1rem;
}

input {
  width: 100%;
  padding: 1rem 0;
  border: none;
  border-bottom: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--text);
  border-radius: 0;
  transition: border-color 0.2s;
}

input:focus {
  outline: none;
  border-bottom-color: var(--accent);
}

input::placeholder {
  color: var(--text);
  opacity: 0.4;
}

.btn-primary {
  width: 100%;
  margin-top: 2rem;
  padding: 1.2rem;
  background: var(--text);
  color: var(--bg);
  border: none;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: transform 0.1s, background-color 0.2s;
}

.btn-primary:hover {
  background-color: #000;
  transform: translateY(-2px);
}

.form-message {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  margin-top: 1rem;
  text-align: center;
  min-height: 1.2em;
}

/* --- FAQ --- */

.faq {
  padding: 6rem 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.faq-title {
  font-family: var(--font-serif);
  font-size: 2rem;
  margin-bottom: 3rem;
  color: var(--text);
  text-align: center;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: opacity 0.2s;
}

.accordion-header:hover {
  opacity: 0.7;
}

.accordion-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text);
  padding-right: 1rem;
  flex: 1;
}

.accordion-icon {
  position: relative;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  display: block;
  transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
  content: "";
  position: absolute;
  background-color: var(--text);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.accordion-icon::before {
  width: 100%;
  height: 1px;
}

.accordion-icon::after {
  width: 1px;
  height: 100%;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-content p {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text);
  opacity: 0.8;
  margin: 0;
  padding-bottom: 1.5rem;
  max-width: 90%;
}

/* --- Footer --- */

.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.1rem;
  }

  .frame-border {
    display: none;
  }

  .nav {
    padding: 1.2rem 1.1rem;
  }

  .nav-brand,
  .nav-link {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
  }

  .hero {
    min-height: 72vh;
    padding: 5.2rem 1rem 2.6rem;
  }

  .hero::after {
    height: 40%;
    opacity: 0.1;
    background-size: cover;
  }

  .script-main {
    font-size: clamp(3.2rem, 20vw, 6rem);
    margin-bottom: 0.35rem;
  }

  .brand-subtitle {
    font-size: clamp(0.9rem, 4vw, 1.3rem);
    letter-spacing: 0.2em;
    margin-top: -0.4rem;
  }

  .project-showcase {
    padding: 4rem 0;
  }

  .project-header {
    margin-bottom: 2.2rem;
  }

  .script-title {
    font-size: 3.1rem;
  }

  .lead-text {
    font-size: 1rem;
  }

  .accent-text {
    font-size: 0.72rem;
  }

  .visual-label {
    top: 0.7rem;
    left: 0.7rem;
    font-size: 0.62rem;
    padding: 0.28rem 0.58rem;
  }

  .grid {
    gap: 1.3rem;
    padding-top: 2rem;
  }

  .benefit-item {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 0.9rem 0 0;
  }

  .membership-card {
    padding: 1.2rem;
    box-shadow: 4px 4px 0 var(--border-strong);
  }

  .membership-header {
    margin-bottom: 1.7rem;
    padding-bottom: 1.2rem;
  }

  .script-lg {
    font-size: 2.9rem;
  }

  .offer-highlight {
    margin-bottom: 1.4rem;
    padding-bottom: 1.2rem;
  }

  .price-lock-row {
    width: 100%;
    justify-content: space-between;
    gap: 0.55rem;
    padding: 0.82rem 0.62rem;
  }

  .price-item .value {
    font-size: 1rem;
  }

  .price-arrow {
    font-size: 1rem;
  }

  .perks-list {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    margin-bottom: 1.5rem;
    font-size: 0.82rem;
  }

  .deposit-box {
    padding: 1.05rem;
  }

  .deposit-amount {
    font-size: 1.55rem;
  }

  .deposit-note {
    font-size: 0.74rem;
  }

  .minimal-form {
    max-width: 100%;
  }

  input {
    font-size: 0.95rem;
  }

  .btn-primary {
    margin-top: 1.1rem;
    padding: 0.95rem;
    font-size: 0.75rem;
  }

  .faq {
    padding: 4rem 0;
  }

  .faq-title {
    font-size: 1.55rem;
    margin-bottom: 1.6rem;
  }

  .accordion-header {
    padding: 1rem 0;
  }

  .accordion-title {
    font-size: 1rem;
  }

  .accordion-content p {
    max-width: 100%;
    font-size: 0.79rem;
    padding-bottom: 1.05rem;
  }

  .footer .flex-between {
    flex-direction: column;
    gap: 0.35rem;
  }
}

@media (max-width: 420px) {
  .script-main {
    font-size: clamp(2.7rem, 19vw, 4.2rem);
  }

  .brand-subtitle {
    letter-spacing: 0.14em;
  }

  .price-lock-row {
    padding: 0.68rem 0.46rem;
  }
}
