/* ================================================================
   studio-index.css
   Creative Studio @ The Knead & Bloom Co.
   Page-specific styles for studio-index.html only.
   Requires: shared.css
   ================================================================ */


/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  position: relative;
  overflow: hidden;
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8rem 4rem 5rem 6rem;
}

.hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.2s;
}

.hero-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 4.8vw, 5.2rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--brown);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.4s;
}

.hero-headline em {
  font-style: italic;
  color: var(--blush);
}

.hero-sub {
  font-size: 0.93rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--brown-mid);
  max-width: 40ch;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.6s;
}

.hero-divider {
  width: 3rem;
  height: 1px;
  background: var(--blush);
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.75s;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards 0.9s;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--brown);
  text-decoration: none;
  padding: 0.9rem 2rem;
  transition: background 0.25s;
}

.hero-cta:hover { background: var(--blush); }

.hero-scroll {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brown-mid);
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.hero-scroll:hover { opacity: 1; }

.hero-right {
  background: var(--brown);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-right-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem;
}

.hero-monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 11vw, 11rem);
  font-weight: 300;
  color: rgba(245, 240, 232, 0.06);
  line-height: 1;
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.hero-badge {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--blush-light);
  letter-spacing: 0.06em;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 0.6s;
}

.hero-badge-large {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0.5rem 0;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 0.8s;
}

.hero-ornament {
  display: block;
  font-size: 1.4rem;
  color: var(--blush);
  margin: 1.5rem auto;
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 1s;
}

.hero-badge-tag {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(196, 133, 106, 0.7);
  opacity: 0;
  animation: fadeIn 1.2s ease forwards 1.1s;
}

/* Decorative rings */
.hero-right::before {
  content: '';
  position: absolute;
  width: 420px; height: 420px;
  border-radius: 50%;
  border: 1px solid rgba(196, 133, 106, 0.1);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.hero-right::after {
  content: '';
  position: absolute;
  width: 640px; height: 640px;
  border-radius: 50%;
  border: 1px solid rgba(196, 133, 106, 0.05);
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

/* ── PORTFOLIO SECTION ──────────────────────────────────────── */
#portfolio {
  padding: 7rem 6rem;
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: rgba(44, 31, 20, 0.1);
}

.portfolio-card {
  background: var(--cream);
  padding: 3rem 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.4s ease;
  cursor: default;
}

.portfolio-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 3px;
  background: var(--blush);
  transition: width 0.5s ease;
}

.portfolio-card:hover { background: var(--cream-dark); }
.portfolio-card:hover::before { width: 100%; }

.portfolio-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5rem;
  font-weight: 300;
  color: rgba(44, 31, 20, 0.045);
  position: absolute;
  top: 1rem; right: 2rem;
  line-height: 1;
  user-select: none;
}

.portfolio-tag {
  display: inline-block;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  background: rgba(196, 133, 106, 0.1);
  color: var(--blush);
}

.portfolio-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.2;
  color: var(--brown);
  margin-bottom: 0.75rem;
}

.portfolio-desc {
  font-size: 0.87rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--brown-mid);
  margin-bottom: 2rem;
  max-width: 38ch;
}

.portfolio-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.portfolio-pill {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border: 1px solid rgba(44, 31, 20, 0.14);
  color: var(--brown-mid);
  border-radius: 100px;
}

.portfolio-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--blush);
  transition: gap 0.3s;
}

.portfolio-link:hover { gap: 1rem; }

.portfolio-coming-soon {
  opacity: 0.5;
  background: rgba(44, 31, 20, 0.015);
}

.portfolio-coming-soon .portfolio-link {
  color: var(--brown-mid);
  pointer-events: none;
}

/* ── HOW IT WORKS / DIAGRAM SECTION ────────────────────────── */
#how-it-works {
  background: var(--brown);
  padding: 7rem 6rem;
}

.how-header {
  max-width: 1100px;
  margin: 0 auto 4rem;
}

.how-header .section-label { color: var(--blush-light); }
.how-header .section-title { color: var(--cream); }
.how-header .section-intro { color: rgba(245, 240, 232, 0.6); }

.diagram-shell {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.diagram-box {
  flex: 1 1 560px;
  background: rgba(245, 240, 232, 0.04);
  border: 1px solid rgba(184, 137, 42, 0.15);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  min-width: 0;
}

.diagram-box svg { display: block; width: 100%; height: auto; }

.diagram-box .node { cursor: pointer; }
.diagram-box .node:hover rect { filter: brightness(0.94); }
.diagram-box .node.active rect { stroke-width: 2.5px !important; filter: drop-shadow(0 0 8px rgba(196,133,106,0.4)); }

.info-panel-wrap {
  flex: 0 0 290px;
  position: sticky;
  top: 6rem;
}

.info-panel {
  background: rgba(245, 240, 232, 0.05);
  border: 1px solid rgba(184, 137, 42, 0.15);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.info-panel.active {
  border-color: rgba(196, 133, 106, 0.35);
  box-shadow: 0 4px 28px rgba(0,0,0,0.25);
}

.panel-empty-dark {
  padding: 3rem 1.5rem;
  text-align: center;
}

.panel-empty-dark p {
  font-size: 0.83rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(245, 240, 232, 0.35);
}

.panel-empty-dark svg { opacity: 0.15; margin: 0 auto 1rem; display: block; }

.dp-header {
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(184, 137, 42, 0.12);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.dp-icon {
  width: 34px; height: 34px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.dp-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--cream);
  line-height: 1.2;
}

.dp-sub {
  font-size: 0.72rem;
  font-weight: 300;
  color: rgba(245, 240, 232, 0.45);
  margin-top: 2px;
}

.dp-body {
  padding: 1.1rem 1.5rem 1.5rem;
}

.dp-body p {
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.75;
  color: rgba(245, 240, 232, 0.55);
}

.dp-body ul {
  list-style: none;
  margin-top: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.dp-body li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.82rem;
  color: rgba(245, 240, 232, 0.75);
  line-height: 1.5;
}

.dp-body li::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--blush);
  margin-top: 6px;
  flex-shrink: 0;
}

.dp-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 500;
  padding: 0.2rem 0.7rem;
  border-radius: 100px;
  margin-top: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ── ABOUT STRIP ────────────────────────────────────────────── */
.about-strip {
  background: var(--cream-dark);
  padding: 6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-strip .section-label { color: var(--blush); }

.about-body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.95;
  color: var(--brown-mid);
  margin-bottom: 1.5rem;
}

.about-signature {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  font-style: italic;
  color: var(--blush);
  margin-top: 1.5rem;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.stat {
  border-top: 1px solid rgba(196, 133, 106, 0.3);
  padding-top: 1.5rem;
}

.stat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 300;
  color: var(--blush);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brown-mid);
  opacity: 0.65;
}

/* ── CONTACT ────────────────────────────────────────────────── */
#contact {
  background: var(--cream);
  padding: 7rem 6rem;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.contact-intro {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--brown-mid);
  margin-bottom: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-field label {
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brown-mid);
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  font-family: 'Jost', sans-serif;
  font-size: 0.88rem;
  font-weight: 300;
  color: var(--brown);
  background: var(--cream-dark);
  border: 1px solid rgba(44, 31, 20, 0.14);
  border-radius: 2px;
  padding: 0.8rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
  appearance: none;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus { border-color: var(--blush); }

.contact-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-family: 'Jost', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--brown);
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: background 0.25s;
  margin-top: 0.5rem;
  align-self: flex-start;
}

.contact-submit:hover { background: var(--blush); }

.contact-note {
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--brown-mid);
  opacity: 0.55;
  margin-top: 1rem;
  text-align: center;
}

#contactSuccess { text-align: center; padding: 3rem 2rem; }

.success-ornament {
  font-size: 2rem;
  color: var(--blush);
  margin-bottom: 1.25rem;
  display: block;
}

.success-eyebrow {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--blush);
  margin-bottom: 1rem;
}

.success-heading {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--brown);
  margin-bottom: 1.5rem;
}

.success-heading em { font-style: italic; color: var(--blush); }

.success-body {
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--brown-mid);
  max-width: 48ch;
  margin: 0 auto 2rem;
}

.success-body strong { font-weight: 500; color: var(--brown); }

.success-divider {
  width: 2.5rem;
  height: 1px;
  background: var(--blush);
  margin: 0 auto 1.5rem;
}

.success-footer {
  font-size: 0.82rem;
  font-weight: 300;
  color: var(--brown-mid);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.success-footer a { color: var(--blush); text-decoration: none; }

.success-back {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brown-mid);
  text-decoration: none;
  transition: color 0.2s;
}

.success-back:hover { color: var(--blush); }

#contactError .contact-intro a { color: var(--blush); }

/* ── MOBILE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 7rem 2rem 3rem; }
  .hero-right { min-height: 260px; }

  #portfolio { padding: 4rem 1.5rem; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-card { padding: 2.5rem 2rem; }

  #how-it-works { padding: 4rem 1.5rem; }
  .diagram-shell { flex-direction: column; }
  .info-panel-wrap { position: static; flex: 1 1 auto; width: 100%; }

  .about-strip { grid-template-columns: 1fr; padding: 4rem 1.5rem; gap: 3rem; }
  .about-stats { gap: 2rem; }

  #contact { padding: 4rem 1.5rem; }
  .contact-row { grid-template-columns: 1fr; }
}

