:root {
  --ink: #100f0d;
  --ivory: #f3efe7;
  --gold: #c29a51;
  --muted: rgba(255, 255, 255, 0.62);
  --display: "Bodoni 72", Didot, "Bodoni MT", "Iowan Old Style", Georgia, serif;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; }
body { margin: 0; overflow: hidden; background: var(--ink); color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { color: inherit; font: inherit; }
button { border: 0; }
a { text-decoration: none; }

.experience { position: relative; width: 100%; height: 100dvh; min-height: 520px; overflow: hidden; isolation: isolate; background: var(--ink); }
.scene-stack, .scene, .tone, .grain { position: absolute; inset: 0; }
.scene { margin: 0; opacity: 0; transform: scale(1.035); transition: opacity .75s ease, transform 1.4s cubic-bezier(.2,.75,.25,1); }
.scene.is-active { opacity: 1; transform: scale(1); }
.scene img { width: 100%; height: 100%; object-fit: cover; object-position: center 57%; filter: saturate(.48) contrast(.9) brightness(.68) blur(.2px); }
.scene[data-scene="home"] img { object-position: center 53%; }
.scene[data-scene="studio"] img { object-position: center 53%; }
.scene[data-scene="contact"] img { object-position: center 45%; }
.tone {
  z-index: 1;
  background: linear-gradient(90deg, rgba(16,15,13,.92) 0%, rgba(16,15,13,.68) 36%, rgba(16,15,13,.2) 68%, rgba(16,15,13,.52) 100%), linear-gradient(0deg, rgba(16,15,13,.9) 0%, transparent 38%, rgba(16,15,13,.25) 100%);
}
.grain {
  z-index: 2; opacity: .11; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.42'/%3E%3C/svg%3E");
}

.site-header {
  position: absolute; z-index: 10; top: 0; right: 0; left: 0; display: flex; align-items: center; justify-content: space-between;
  height: 100px; padding: 0 clamp(26px, 5vw, 82px); border-bottom: 1px solid rgba(255,255,255,.17);
}
.brand { display: flex; align-items: center; gap: 15px; padding: 0; background: transparent; cursor: pointer; text-align: left; }
.brand-mark { color: var(--gold); font-family: var(--serif); font-size: 2.35rem; line-height: 1; }
.brand-type { display: grid; gap: 5px; line-height: 1; }
.brand-type strong { font-family: var(--serif); font-size: .79rem; font-weight: 400; letter-spacing: .24em; }
.brand-type small { color: var(--gold); font-size: .53rem; letter-spacing: .36em; }
.location { margin: 0; color: rgba(255,255,255,.5); font-family: var(--serif); font-size: .6rem; letter-spacing: .27em; }

.panel {
  position: absolute; z-index: 5; inset: 100px 0 116px; display: grid; align-items: center; padding: 4vh clamp(26px, 8vw, 138px);
  visibility: hidden; opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .45s ease, transform .55s ease, visibility 0s linear .55s;
}
.panel.is-active { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition-delay: .12s; }
.panel[hidden] { display: none; }
.home-copy, .panel-copy { width: min(660px, 58vw); }
.overline { margin: 0 0 20px; color: var(--gold); font-family: var(--serif); font-size: .67rem; letter-spacing: .32em; }
.home-copy h1, .panel-copy h2 { margin: 0; font-family: var(--display); font-size: clamp(4rem, 8.2vw, 8.2rem); font-weight: 400; line-height: .8; letter-spacing: -.045em; }
.home-copy h1 em, .panel-copy h2 em { color: var(--gold); font-weight: 400; }
.home-note { margin: 36px 0 0; color: var(--muted); font-family: var(--serif); font-size: .82rem; letter-spacing: .18em; }
.edition { position: absolute; right: clamp(26px, 5vw, 82px); bottom: 0; margin: 0; color: rgba(255,255,255,.35); font-family: var(--serif); font-size: .55rem; letter-spacing: .26em; writing-mode: vertical-rl; }
.panel-copy > p:last-child { max-width: 440px; margin: 31px 0 0; color: var(--muted); font-family: var(--serif); font-size: .94rem; line-height: 1.8; }

.lesson-options { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 40px; }
.lesson-options > div { padding-top: 15px; border-top: 1px solid rgba(255,255,255,.3); }
.lesson-options h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 1.35rem; font-weight: 400; }
.lesson-options p { max-width: 270px; margin: 0; color: var(--muted); font-family: var(--serif); font-size: .77rem; line-height: 1.65; }

.contact-copy { width: min(650px, 58vw); }
.contact-list { width: min(560px, 100%); margin: 34px 0 25px; font-style: normal; border-top: 1px solid rgba(255,255,255,.3); }
.contact-list a { display: grid; grid-template-columns: 110px 1fr; gap: 25px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.contact-list .contact-label { align-self: center; color: var(--gold); font-family: var(--serif); font-size: .55rem; letter-spacing: .22em; }
.contact-list b { font-size: .78rem; font-weight: 400; }
.contact-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; width: min(560px, 100%); }
.contact-button { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 10px; min-height: 48px; padding: 10px 18px 10px 14px; background: var(--gold); color: var(--ink); font-size: .65rem; letter-spacing: .13em; text-align: center; transition: background .2s ease; }
.contact-button:hover, .contact-button:focus-visible { background: var(--ivory); }
.social-icon, .whatsapp-icon { display: inline-grid; place-items: center; flex: 0 0 auto; }
.social-icon { width: 22px; height: 22px; }
.social-icon svg, .whatsapp-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social-icon .fill-dot { fill: currentColor; stroke: none; }
.whatsapp-button { background: #b7a264; color: #0d110e; }
.instagram-button { border: 1px solid rgba(194,154,81,.8); background: rgba(16,15,13,.52); color: var(--ivory); }
.whatsapp-icon { width: 22px; height: 22px; }
.whatsapp-icon svg { stroke-width: 1.7; }

.tab-bar {
  position: absolute; z-index: 10; right: clamp(26px, 5vw, 82px); bottom: 34px; left: clamp(26px, 5vw, 82px);
  display: grid; grid-template-columns: repeat(4, minmax(90px, 1fr)); max-width: 760px; margin-left: auto; border-top: 1px solid rgba(255,255,255,.3);
}
.tab {
  position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 10px; min-height: 66px; padding: 13px 20px;
  background: transparent; color: rgba(255,255,255,.58); border-right: 1px solid rgba(255,255,255,.18); cursor: pointer; text-align: left; font-family: var(--serif); font-size: .78rem; transition: color .25s ease, background .25s ease;
}
.tab:last-child { border-right: 0; }
.tab::before { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--gold); transition: width .35s ease; }
.tab:hover, .tab:focus-visible { color: #fff; background: rgba(255,255,255,.04); outline: none; }
.tab.is-active { color: #fff; }
.tab.is-active::before { width: 100%; }
.progress { position: absolute; z-index: 12; right: 0; bottom: 0; left: 0; height: 2px; background: rgba(255,255,255,.1); }
.progress i { display: block; width: 25%; height: 100%; background: var(--gold); transition: transform .55s cubic-bezier(.2,.75,.25,1); transform-origin: left; }

@media (max-width: 760px) {
  .experience { min-height: 480px; }
  .site-header { height: 78px; padding: 0 20px; }
  .location { display: none; }
  .brand-mark { font-size: 1.9rem; }
  .brand-type strong { font-size: .69rem; }
  .brand-type small { font-size: .46rem; }
  .panel { inset: 78px 0 98px; align-items: end; padding: 24px 22px 9vh; }
  .home-copy, .panel-copy, .contact-copy { width: 100%; }
  .home-copy h1, .panel-copy h2 { font-size: clamp(3.8rem, 18vw, 5.6rem); }
  .home-note { margin-top: 26px; font-size: .68rem; }
  .overline { margin-bottom: 16px; font-size: .58rem; }
  .edition { display: none; }
  .tone { background: linear-gradient(0deg, rgba(16,15,13,.94) 0%, rgba(16,15,13,.62) 55%, rgba(16,15,13,.28) 100%), linear-gradient(90deg, rgba(16,15,13,.35), rgba(16,15,13,.16)); }
  .scene img { object-position: center 38%; filter: saturate(.45) contrast(.9) brightness(.6) blur(.25px); }
  .scene[data-scene="studio"] img { object-position: center 42%; }
  .scene[data-scene="contact"] img { object-position: 38% 40%; }
  .lesson-options { gap: 18px; margin-top: 26px; }
  .lesson-options h3 { font-size: 1.12rem; }
  .lesson-options p { font-size: .69rem; }
  .contact-list { margin: 24px 0 18px; }
  .contact-list a { grid-template-columns: 80px 1fr; gap: 14px; padding: 9px 0; }
  .contact-list b { font-size: .7rem; }
  .contact-button { min-height: 44px; font-size: .58rem; }
  .tab-bar { right: 0; bottom: 0; left: 0; max-width: none; border-color: rgba(255,255,255,.2); }
  .tab { justify-content: center; min-width: 0; min-height: 70px; padding: 10px 4px; border-right-color: rgba(255,255,255,.12); font-size: .68rem; }
  .progress { display: none; }
}

@media (max-height: 700px) {
  .site-header { height: 72px; }
  .panel { inset: 72px 0 88px; padding-top: 2vh; padding-bottom: 2vh; }
  .home-copy h1, .panel-copy h2 { font-size: clamp(3rem, 7vw, 5.5rem); }
  .overline { margin-bottom: 11px; }
  .home-note { margin-top: 22px; }
  .lesson-options { margin-top: 24px; }
  .contact-list { margin-top: 18px; margin-bottom: 16px; }
  .contact-list a { padding-top: 7px; padding-bottom: 7px; }
  .tab-bar { bottom: 12px; }
}

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: .01ms !important; } }
