/* ==========================================================================
   ELENA PAK — Estilismo Privado
   Design tokens
   ========================================================================== */
:root {
  --bg: #F8F5EF;
  --text: #2A2A2A;
  --dark: #111111;
  --gold: #B79B63;
  --white: #FFFFFF;

  --hairline: rgba(42, 42, 42, 0.14);
  --hairline-on-dark: rgba(248, 245, 239, 0.16);

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1280px;
  --gutter: clamp(24px, 6vw, 96px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dark);
  color: var(--white);
  padding: 12px 20px;
  z-index: 999;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

/* ==========================================================================
   Type
   ========================================================================== */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}
.serif-lg {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.1;
  color: var(--dark);
  letter-spacing: -0.01em;
}
.body-lg {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  font-weight: 300;
  color: var(--text);
  max-width: 46ch;
  line-height: 1.75;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 1.1rem 2.2rem;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
}
.btn-solid {
  background: var(--dark);
  color: var(--white);
  border: 1px solid var(--dark);
}
.btn-solid:hover {
  background: var(--bg);
  color: var(--dark);
}
.btn-line {
  border: 1px solid var(--dark);
  color: var(--dark);
}
.btn-line:hover {
  background: var(--dark);
  color: var(--white);
}

/* ==========================================================================
   Pricing
   ========================================================================== */
.pricing {
  background: var(--dark);
  color: var(--white);
}
.pricing .eyebrow { color: var(--gold); }
.pricing .serif-lg { color: var(--white); }
.pricing-list {
  max-width: var(--container);
  margin: 0 auto;
}
.pricing-item {
  padding: 2.25rem 0;
  border-top: 1px solid var(--hairline-on-dark);
  position: relative;
}
.pricing-item:last-child {
  border-bottom: 1px solid var(--hairline-on-dark);
}
.pricing-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 0.6rem;
}
.pricing-top h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  color: var(--white);
}
.pricing-item .price {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  color: var(--gold);
  white-space: nowrap;
}
.pricing-item p {
  max-width: 60ch;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(248, 245, 239, 0.7);
}
.pricing-featured {
  padding-left: clamp(1.25rem, 3vw, 2rem);
  border-left: 1px solid var(--gold);
}
.pricing-tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}
.pricing-note {
  max-width: var(--container);
  margin: 2.5rem auto 0;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(248, 245, 239, 0.55);
}
@media (max-width: 640px) {
  .pricing-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
}

/* ==========================================================================
   Sound toggle
   ========================================================================== */
.sound-toggle {
  position: fixed;
  right: clamp(1.25rem, 3vw, 2.25rem);
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  z-index: 90;
  height: 46px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(248, 245, 239, 0.5);
  background: rgba(17, 17, 17, 0.55);
  backdrop-filter: blur(6px);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.sound-toggle:hover {
  border-color: var(--gold);
}
.sound-toggle .icon-on { display: none; }
.sound-toggle[aria-pressed="true"] .icon-muted { display: none; }
.sound-toggle[aria-pressed="true"] .icon-on { display: block; }

.sound-toggle-label {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
  max-width: 140px;
  opacity: 1;
  overflow: hidden;
  transition: max-width 0.6s var(--ease), opacity 0.4s var(--ease), margin 0.6s var(--ease);
}
.sound-toggle.label-hidden .sound-toggle-label {
  max-width: 0;
  opacity: 0;
  margin: 0;
}

/* soft attention pulse for the first few seconds, so it isn't missed */
.sound-toggle.attention {
  animation: sound-pulse 1.8s var(--ease) 3;
}
@keyframes sound-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(183, 155, 99, 0); }
  50% { box-shadow: 0 0 0 7px rgba(183, 155, 99, 0.25); }
}

/* once the header goes light (scrolled), give the button a matching light treatment */
.site-header.is-scrolled ~ .sound-toggle {
  border-color: var(--hairline);
  background: rgba(255, 255, 255, 0.75);
  color: var(--dark);
}
.site-header.is-scrolled ~ .sound-toggle:hover {
  border-color: var(--gold);
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  color: var(--white);
  transition: background 0.5s var(--ease), border-color 0.5s var(--ease), color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-scrolled {
  background: rgba(248, 245, 239, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--hairline);
  color: var(--text);
}
.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.6rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.wordmark {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.24em;
}
.main-nav {
  display: flex;
  gap: 2.4rem;
  margin-left: auto;
  margin-right: 2.4rem;
}
.main-nav a {
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  position: relative;
  padding-bottom: 4px;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover::after { width: 100%; }
.header-cta {
  padding: 0.7rem 1.5rem;
  border-color: currentColor;
  color: inherit;
}
.header-cta:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  color: inherit;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  border-top: 1px solid var(--hairline);
  padding: 1rem var(--gutter) 2rem;
}
.mobile-nav a {
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.95rem;
  color: var(--text);
}
.mobile-nav .mobile-cta {
  color: var(--dark);
  font-weight: 500;
}
.mobile-nav.is-open { display: flex; }

@media (max-width: 860px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--dark);
  color: var(--white);
  overflow: hidden;
}
.hero-field {
  position: absolute;
  inset: 0;
  background-image: url('images/hero.jpg');
  background-size: cover;
  background-position: center;
}
.hero-field::before {
  /* darkens the photo so the headline stays legible; remove if the real photo is already dark */
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 17, 0.55);
}
.hero-weave {
  position: absolute;
  inset: 0;
  opacity: 0.5;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(248, 245, 239, 0.05) 0px,
    rgba(248, 245, 239, 0.05) 1px,
    transparent 1px,
    transparent 34px
  );
}
.hero-monogram {
  position: absolute;
  right: clamp(-4rem, -2vw, 2rem);
  bottom: -6vw;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(14rem, 34vw, 32rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(183, 155, 99, 0.35);
  user-select: none;
}
.hero-content {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  width: 100%;
}
.hero-headline {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 14ch;
}
.hero-sub {
  margin-top: 2rem;
  max-width: 40ch;
  font-size: 1.05rem;
  font-weight: 300;
  color: rgba(248, 245, 239, 0.78);
  line-height: 1.7;
}
.hero-content .btn {
  margin-top: 2.75rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--white);
}
.hero-content .btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark);
}
.hero .eyebrow { color: var(--gold); }

.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 46px;
}
.scroll-cue span {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(248, 245, 239, 0.4);
  position: relative;
  overflow: hidden;
}
.scroll-cue span::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% { top: -100%; }
  60% { top: 100%; }
  100% { top: 100%; }
}

/* reveal-on-load for hero text */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 1s var(--ease) forwards;
}
.hero-headline.reveal { animation-delay: 0.15s; }
.hero-sub.reveal { animation-delay: 0.35s; }
.hero-content .btn.reveal { animation-delay: 0.55s; }
@keyframes rise {
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   Section rhythm
   ========================================================================== */
section {
  padding: clamp(5rem, 11vw, 9rem) var(--gutter);
}
.section-head {
  max-width: var(--container);
  margin: 0 auto clamp(3rem, 6vw, 4.5rem);
}

/* ==========================================================================
   Editorial
   ========================================================================== */
.editorial {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: center;
}
.editorial-image {
  aspect-ratio: 4 / 5;
  background: var(--dark) url('images/editorial.jpg') center / cover no-repeat;
  position: relative;
  overflow: hidden;
}
.image-texture {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(183, 155, 99, 0.06) 0px,
    rgba(183, 155, 99, 0.06) 1px,
    transparent 1px,
    transparent 5px
  );
}
.image-texture::after {
  content: 'ELENA PAK · RETRATO EDITORIAL';
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(248, 245, 239, 0.4);
  text-transform: uppercase;
}
.editorial-copy .body-lg { margin-top: 1.5rem; }

@media (max-width: 860px) {
  .editorial { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Problem
   ========================================================================== */
.problem { background: var(--white); }
.problem-list {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem clamp(2rem, 5vw, 5rem);
}
.problem-list li {
  display: flex;
  gap: 1.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--hairline);
}
.problem-mark {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1.4;
}
.problem-list p {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1.4;
  color: var(--dark);
}
@media (max-width: 720px) {
  .problem-list { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Method
   ========================================================================== */
.method-steps {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3rem);
}
.method-step {
  border-top: 1px solid var(--dark);
  padding-top: 1.75rem;
}
.step-number {
  display: block;
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
}
.method-step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--dark);
  margin-bottom: 0.9rem;
}
.method-step p {
  font-size: 0.98rem;
  color: var(--text);
  max-width: 34ch;
  line-height: 1.7;
}
@media (max-width: 860px) {
  .method-steps { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Why
   ========================================================================== */
.why {
  background: var(--dark);
  color: var(--white);
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.why .serif-lg { color: var(--white); }
.why .body-lg { color: rgba(248, 245, 239, 0.72); margin-top: 1.5rem; }
.brand-marks {
  margin-top: 3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.6rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--hairline-on-dark);
}
.brand-marks span {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.05rem;
  color: rgba(248, 245, 239, 0.62);
}
.why-features {
  display: grid;
  gap: 2.25rem;
}
.why-feature {
  padding: 2rem 0;
  border-top: 1px solid var(--hairline-on-dark);
}
.why-feature h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 0.6rem;
}
.why-feature p {
  color: rgba(248, 245, 239, 0.72);
  font-size: 0.95rem;
  max-width: 42ch;
  line-height: 1.7;
}
@media (max-width: 860px) {
  .why { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials { background: var(--white); }
.testimonial-grid {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: auto auto;
  gap: clamp(2rem, 4vw, 3rem);
}
.testimonial-lead {
  grid-row: 1 / 3;
  border-left: 1px solid var(--gold);
  padding-left: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-lead blockquote {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--dark);
}
.testimonial {
  border-left: 1px solid var(--hairline);
  padding-left: 1.75rem;
}
.testimonial blockquote {
  font-family: var(--serif);
  font-size: 1.2rem;
  line-height: 1.5;
  color: var(--dark);
}
figcaption {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  text-transform: uppercase;
}
@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-lead { grid-row: auto; }
}

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--bg); }
.contact-inner {
  max-width: 760px;
  margin: 0 auto;
}
.contact-inner .body-lg { margin-top: 1.25rem; margin-bottom: 3rem; max-width: 56ch; }
.contact-form {
  display: grid;
  gap: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.field { display: flex; flex-direction: column; gap: 0.6rem; }
.field-full { grid-column: 1 / -1; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
}
.field input,
.field select,
.field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--hairline);
  padding: 0.7rem 0;
  font-size: 1rem;
  color: var(--dark);
  transition: border-color 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: none;
}
.contact-form .btn { margin-top: 1rem; justify-self: start; }
.form-status {
  font-size: 0.85rem;
  color: var(--gold);
  min-height: 1.2em;
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--dark);
  color: rgba(248, 245, 239, 0.6);
  padding: 3.5rem var(--gutter) 2.5rem;
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 0.6rem;
}
.footer-inner .wordmark.small {
  color: var(--white);
  font-size: 0.85rem;
}
.footer-fine {
  font-size: 0.78rem;
  color: rgba(248, 245, 239, 0.4);
  margin-top: 1rem;
}
