/* =====================================================
   TOKENS (Synced with homev1)
===================================================== */
:root {
  --bg: #FFFFFF;
  --bg-subtle: #F9F9F9;
  --border: #EBEBEB;
  --text-dark: #1A1A1A;
  --text-mid: #5A5A5A;
  --text-light: #AAAAAA;
  --burgundy: #7A1E1E;
  --burg-hover: #921F1F;
  --burg-glow: rgba(122,30,30,0.12);
  --gold: #C8A36A;
  --gold-lt: #D9BC8F;

  --font-family: 'Montserrat', sans-serif;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --max-w: 1240px;
  --pad-x: 32px;
  --section-gap: 112px;
  --radius: 20px;
  --radius-pill: 999px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-family);
  background: var(--bg);
  color: var(--text-dark);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { border: 0; background: none; cursor: pointer; font: inherit; }

.wrap { max-width: var(--max-w); margin-inline: auto; padding-inline: var(--pad-x); }

/* =====================================================
   TYPE UTILITIES
===================================================== */
.display {
  font-family: var(--font-family);
  font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95;
}
.eyebrow {
  font-family: var(--font-family);
  font-size: 0.52rem; font-weight: 700; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--burgundy); margin-bottom: 16px;
}
.eyebrow--center { text-align: center; }
.body-text {
  font-family: var(--font-family);
  font-size: 0.82rem; font-weight: 400; color: var(--text-mid); line-height: 1.9;
}
.section-title {
  font-family: var(--font-family);
  font-weight: 800; font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 1.15;
  color: var(--text-dark); margin-bottom: 20px;
}
.section-title em { font-style: normal; color: var(--burgundy); }

/* =====================================================
   BUTTONS
===================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-family);
  font-weight: 600; font-size: 0.62rem; letter-spacing: 0.14em; text-transform: uppercase;
  height: 48px; padding: 0 28px; border-radius: var(--radius-pill);
  border: 1.5px solid transparent; cursor: pointer; transition: all 0.2s ease;
  position: relative; overflow: hidden;
}
.btn::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.18) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 0.8s var(--ease); pointer-events: none;
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }

.btn--fill { background: var(--burgundy); color: #fff; border-color: var(--burgundy); box-shadow: 0 8px 25px rgba(122,30,30,0.25); }
.btn--fill:hover { background: var(--burg-hover); border-color: var(--burg-hover); }
.btn--outline { background: transparent; color: var(--text-dark); border-color: var(--border); }
.btn--outline:hover { background: var(--bg-subtle); border-color: var(--text-mid); }
.btn--sm { height: 40px; padding: 0 20px; font-size: 0.55rem; }
.btn .arrow { transition: transform 0.3s ease; display: inline-block; }
.btn:hover .arrow { transform: translateX(4px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* =====================================================
   REVEAL
===================================================== */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.26s; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 6px rgba(122,30,30,0.12); }
  50% { box-shadow: 0 0 0 12px rgba(122,30,30,0); }
}
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* =====================================================
   SECTION 1 — INTRO
===================================================== */
.intro { padding-block: var(--section-gap) 40px; background: var(--bg); }
.intro__content {
  max-width: 640px; margin-inline: auto; display: flex; flex-direction: column;
  align-items: center; text-align: center;
}
.intro__badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 20px 7px 16px;
  border-radius: var(--radius-pill); background: var(--burg-glow);
  border: 1px solid rgba(122,30,30,0.15); margin-bottom: 24px;
  opacity: 0; animation: fadeUp 0.9s ease both;
}
.intro__badge .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--burgundy); box-shadow: 0 0 0 6px rgba(122,30,30,0.12); animation: pulse-dot 2s ease-in-out infinite; }
.intro__badge span {
  font-family: var(--font-family);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-mid);
}

.intro__title {
  font-family: var(--font-family);
  font-weight: 900; font-size: clamp(2.8rem, 8vw, 4.5rem);
  text-transform: uppercase; letter-spacing: -0.01em; line-height: 0.95;
  color: var(--text-dark);
  opacity: 0; animation: fadeUp 0.9s 0.1s ease both;
}
.intro__title em { font-style: normal; color: var(--burgundy); font-weight: 300; }

.intro__sub {
  font-family: var(--font-family);
  margin-top: 22px; font-size: 0.85rem; font-weight: 400; color: var(--text-mid); max-width: 480px;
  line-height: 1.8; opacity: 0; animation: fadeUp 0.9s 0.2s ease both;
}

/* =====================================================
   SECTION 2 — STUDIO CARDS (carousel: 1-up mobile/tablet, 3-up desktop)
===================================================== */
.studios { padding-block: 40px var(--section-gap); }

.studios-carousel { position: relative; }
.carousel-viewport { overflow: hidden; }
.carousel-track {
  --items: 3;
  display: flex; gap: 24px;
  transition: transform 0.5s var(--ease-out);
  will-change: transform;
}
.carousel-slide {
  flex: 0 0 calc((100% - (var(--items) - 1) * 24px) / var(--items));
  min-width: 0;
  margin: 20px 0px;
}

.carousel-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--bg); border: 1px solid var(--border);
  box-shadow: 0 10px 24px rgba(26,26,26,0.08);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-family);
  font-size: 1.05rem; color: var(--burgundy); cursor: pointer;
  z-index: 2; transition: all 0.2s ease;
}
.carousel-arrow:hover { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.carousel-arrow--prev { left: -22px; }
.carousel-arrow--next { right: -22px; }
.carousel-arrow.is-hidden { opacity: 0; pointer-events: none; }

.studio-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px 28px; transition: all 0.35s var(--ease); position: relative;
  height: 100%;
}
.studio-card:hover { border-color: var(--burgundy); box-shadow: 0 20px 40px rgba(122,30,30,0.06); transform: translateY(-4px); }

.studio-card .studio-tag {
  display: inline-block;
  font-family: var(--font-family);
  font-size: 0.45rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--gold); background: rgba(217,179,130,0.12);
  padding: 2px 12px; border-radius: var(--radius-pill); margin-bottom: 14px;
  border: 1px solid rgba(217,179,130,0.15);
}
.studio-card h3 {
  font-family: var(--font-family);
  font-size: 1.15rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: -0.01em; line-height: 1.15; margin-bottom: 16px;
}

.studio-detail {
  display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px;
  font-family: var(--font-family);
  font-size: 0.82rem; font-weight: 400; color: var(--text-mid); line-height: 1.9;
}
.studio-detail .ico {
  width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; margin-top: 1px;
  display: flex; align-items: center; justify-content: center;
  background: var(--burg-glow); color: var(--burgundy); font-size: 0.55rem;
}
.studio-card .btn { width: 100%; margin-top: 16px; }

@media (max-width: 640px) {
  .carousel-arrow--prev { left: -8px; }
  .carousel-arrow--next { right: -8px; }
  .carousel-arrow { width: 36px; height: 36px; font-size: 0.9rem; }
}

/* =====================================================
   SECTION 3 — FORM + QUICK CONTACT (two column)
===================================================== */
.contact { background: var(--bg-subtle); padding-block: var(--section-gap); }
.contact__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }

.form-card {
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 40px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-family: var(--font-family);
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-mid);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-family); font-size: 0.84rem; font-weight: 400; color: var(--text-dark);
  border: 1px solid var(--border); border-radius: 12px; padding: 13px 16px;
  background: var(--bg); transition: border-color 0.2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--burgundy);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-note {
  font-family: var(--font-family);
  font-size: 0.7rem; font-weight: 400; color: var(--text-light); margin-top: 6px;
}
.form-submit { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.form-status {
  font-family: var(--font-family);
  font-size: 0.75rem; color: var(--burgundy); display: none;
}
.form-status.is-visible { display: inline-flex; align-items: center; gap: 6px; }

@media (max-width: 560px) {
  .form-row { grid-template-columns: 1fr; }
}

/* quick contact panel */
.quick-panel {
  background: var(--burgundy); border-radius: var(--radius); padding: 40px 32px;
  position: relative; overflow: hidden; color: #fff;
}
.quick-panel .grain { opacity: 0.05; }
.quick-panel > * { position: relative; z-index: 1; }
.quick-panel .eyebrow { color: var(--gold-lt); }
.quick-panel h3 {
  font-family: var(--font-family);
  font-size: 1.3rem; font-weight: 800; text-transform: uppercase;
  margin-bottom: 14px; letter-spacing: -0.01em; line-height: 1.15;
}
.quick-panel p {
  font-family: var(--font-family);
  font-size: 0.82rem; font-weight: 400; color: rgba(255,255,255,0.8); line-height: 1.9; margin-bottom: 24px;
}

.quick-links { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.quick-links a {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-family);
  font-size: 0.78rem; font-weight: 400; color: #fff;
  padding-bottom: 14px; border-bottom: 1px solid rgba(255,255,255,0.15);
  transition: gap 0.2s ease;
}
.quick-links a:hover { gap: 16px; }
.quick-links a:last-child { border-bottom: none; padding-bottom: 0; }
.quick-links .ico {
  width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(217,179,130,0.15); color: var(--gold-lt); font-size: 0.7rem;
}
/* Icon Image (upload) fallback for Quick Links — masked to currentColor so
   any uploaded image still renders as one flat gold tone, same tone as the
   by-code SVG/star icons above. */
.quick-links .ico .icon-mask {
  display: block;
  width: 14px;
  height: 14px;
  background-color: currentColor;
  -webkit-mask-image: var(--icon-src);
  mask-image: var(--icon-src);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.quick-panel .btn--fill { background: #fff; color: var(--burgundy); border-color: #fff; box-shadow: none; width: 100%; }
.quick-panel .btn--fill:hover { background: var(--bg-subtle); }

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

::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--bg-subtle); }
::-webkit-scrollbar-thumb { background: var(--burgundy); border-radius: 9px; border: 2px solid var(--bg-subtle); }
::-webkit-scrollbar-thumb:hover { background: var(--burg-hover); }
::selection { background: var(--burgundy); color: #fff; }