/* ============================================================
   STUDIO EXELLIA — Main Stylesheet
   ============================================================ */

:root {
  --ink:      #0a0a0a;
  --bone:     #f5f0e8;
  --warm:     #ede8de;
  --gold:     #b8965a;
  --gold-lt:  #d4b07a;
  --gold-dk:  #8a6c38;
  --mist:     #8a8478;
  --white:    #fdfcf9;
  --gap-sm:   clamp(16px, 3vw, 28px);
  --gap-md:   clamp(40px, 6vw, 72px);
  --gap-lg:   clamp(72px, 10vw, 130px);
  --ease:     cubic-bezier(0.25, 0.1, 0.25, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  background: var(--white);
  color: var(--ink);
  overflow-x: hidden;
  cursor: none;
}

/* ── CURSOR ── */
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%,-50%);
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(184,150,90,.5);
  border-radius: 50%;
  position: fixed; top: 0; left: 0;
  pointer-events: none; z-index: 9998;
  transform: translate(-50%,-50%);
  transition: width .3s, height .3s, border-color .3s;
}
.cursor-ring.hovering { width: 60px; height: 60px; border-color: var(--gold); }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .4s, padding .3s, box-shadow .3s;
}
nav.scrolled {
  background: rgba(253,252,249,.96);
  backdrop-filter: blur(16px);
  padding: 14px 48px;
  box-shadow: 0 1px 0 rgba(184,150,90,.12);
}
.nav-logo-link { display: flex; align-items: center; text-decoration: none; }
.nav-logo-img  { height: 44px; width: auto; object-fit: contain; border-radius: 3px; }

.nav-links { display: flex; gap: 40px; list-style: none; }
.nav-links a {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.72); text-decoration: none;
  position: relative; transition: color .3s;
}
nav.scrolled .nav-links a { color: var(--mist); }
.nav-links a.active,
.nav-links a:hover { color: var(--gold); }
.nav-links a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s;
}
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left; }

.nav-cta {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); text-decoration: none;
  border: 1px solid rgba(184,150,90,.5); padding: 10px 24px;
  transition: background .3s, color .3s;
}
.nav-cta:hover { background: var(--gold); color: var(--white); }

/* ── HERO ── */
.hero {
  height: 100vh; min-height: 600px;
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--ink);
}
.hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.65) 100%),
              url('https://images.unsplash.com/photo-1606800052052-a08af7148866?w=1800&q=80') center/cover no-repeat;
  transform: scale(1.05); transition: transform 8s ease;
}
.hero-bg.loaded { transform: scale(1); }
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; opacity: .4;
}
.hero-content {
  position: relative; z-index: 2;
  padding: 0 48px 80px; max-width: 800px;
}
.hero-eyebrow {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 11px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold-lt); margin-bottom: 24px;
  opacity: 0; animation: fadeUp .9s .3s ease forwards;
  display: flex; align-items: center; gap: 16px;
}
.hero-eyebrow::before { content: ''; width: 40px; height: 1px; background: var(--gold-lt); }
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300; font-size: clamp(52px, 8vw, 110px);
  line-height: .95; color: var(--white); letter-spacing: -.01em;
  opacity: 0; animation: fadeUp 1s .5s ease forwards;
}
.hero h1 em { font-style: italic; color: var(--gold-lt); }
.hero-sub {
  font-weight: 200; font-size: 15px; letter-spacing: .06em;
  color: rgba(255,255,255,.55); margin-top: 28px; max-width: 420px;
  line-height: 1.8; opacity: 0; animation: fadeUp .9s .75s ease forwards;
}
.hero-scroll {
  position: absolute; right: 48px; bottom: 80px;
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  opacity: 0; animation: fadeIn 1s 1.2s ease forwards;
}
.hero-scroll span {
  font-family: 'Tenor Sans', sans-serif; font-size: 9px;
  letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255,255,255,.35); writing-mode: vertical-rl;
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollDrop 2s 1.5s ease-in-out infinite;
}

/* ── MARQUEE ── */
.marquee-band { background: var(--gold); padding: 14px 0; overflow: hidden; white-space: nowrap; }
.marquee-inner { display: inline-flex; animation: marquee 22s linear infinite; }
.marquee-inner span {
  font-family: 'Tenor Sans', sans-serif; font-size: 11px;
  letter-spacing: .28em; text-transform: uppercase; color: var(--ink); padding: 0 48px;
}
.marquee-inner .dot { color: rgba(0,0,0,.3); padding: 0; }

/* ── SECTION UTILITIES ── */
.section-label {
  font-family: 'Tenor Sans', sans-serif;
  font-size: 10px; letter-spacing: .35em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 28px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before { content: ''; width: 30px; height: 1px; background: var(--gold); }

/* ── ABOUT ── */
.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 80vh; overflow: hidden; }
.about-visual { position: relative; overflow: hidden; min-height: 560px; }
.about-img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  background: url('https://images.unsplash.com/photo-1471341971476-ae15ff5dd4ea?w=900&q=80') center/cover;
  transform: scale(1.08); transition: transform .8s ease;
}
.about-visual:hover .about-img { transform: scale(1); }
.about-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(184,150,90,.08), transparent);
  pointer-events: none;
}
.about-text {
  background: var(--bone);
  padding: clamp(48px,7vw,100px) clamp(40px,6vw,80px);
  display: flex; flex-direction: column; justify-content: center;
}
.about-text h2 {
  font-family: 'Cormorant Garamond', serif; font-weight: 300;
  font-size: clamp(34px,4vw,54px); line-height: 1.15; color: var(--ink); margin-bottom: 28px;
}
.about-text h2 em { font-style: italic; color: var(--gold); }
.about-text p { font-size: 14.5px; line-height: 1.9; color: var(--mist); margin-bottom: 20px; max-width: 440px; }
.about-stats { display: flex; gap: 40px; margin-top: 40px; padding-top: 40px; border-top: 1px solid rgba(184,150,90,.2); }
.stat-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 300; color: var(--gold); line-height: 1; display: block; }
.stat-label { font-family: 'Tenor Sans', sans-serif; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--mist); display: block; margin-top: 6px; }

/* ── SERVICES ── */
.services { padding: var(--gap-lg) clamp(24px,5vw,80px); background: var(--white); }
.services-header { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(48px,7vw,80px); }
.services-header h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(36px,5vw,64px); line-height: 1.1; color: var(--ink); }
.services-header h2 em { font-style: italic; color: var(--gold); }
.services-header p { font-size: 14px; line-height: 1.85; color: var(--mist); max-width: 380px; justify-self: end; }
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: rgba(184,150,90,.1); }
.service-card {
  background: var(--white); padding: clamp(32px,4vw,52px) clamp(28px,3vw,40px);
  position: relative; overflow: hidden; transition: background .4s; cursor: pointer;
}
.service-card::before {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 100%; height: 2px; background: var(--gold);
  transform: scaleX(0); transform-origin: left; transition: transform .4s;
}
.service-card:hover { background: var(--bone); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-family: 'Cormorant Garamond', serif; font-size: 13px; color: var(--gold); letter-spacing: .1em; margin-bottom: 24px; display: block; }
.service-icon { font-size: 28px; margin-bottom: 20px; display: block; line-height: 1; }
.service-card h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 24px; color: var(--ink); margin-bottom: 14px; line-height: 1.2; }
.service-card p { font-size: 13px; line-height: 1.8; color: var(--mist); }
.service-arrow { display: block; margin-top: 28px; font-family: 'Tenor Sans', sans-serif; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .3s; }
.service-card:hover .service-arrow { opacity: 1; transform: translateX(0); }

/* ── EXPERIENCE STRIP ── */
.experience { display: grid; grid-template-columns: repeat(4,1fr); background: var(--gold); }
.exp-item { padding: clamp(28px,4vw,52px) clamp(24px,3vw,40px); border-right: 1px solid rgba(0,0,0,.08); text-align: center; }
.exp-item:last-child { border-right: none; }
.exp-num { font-family: 'Cormorant Garamond', serif; font-size: clamp(44px,5vw,72px); font-weight: 300; color: var(--ink); line-height: 1; display: block; }
.exp-label { font-family: 'Tenor Sans', sans-serif; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(0,0,0,.5); display: block; margin-top: 8px; }

/* ── PROCESS ── */
.process { padding: var(--gap-lg) clamp(24px,5vw,80px); background: var(--white); }
.process-header { text-align: center; margin-bottom: clamp(48px,6vw,72px); }
.process-header h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(34px,4.5vw,58px); color: var(--ink); }
.process-header h2 em { font-style: italic; color: var(--gold); }
.process-steps { display: grid; grid-template-columns: repeat(4,1fr); position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 32px; left: 12.5%; right: 12.5%;
  height: 1px; background: linear-gradient(to right, transparent, var(--gold), transparent); opacity: .25;
}
.step { text-align: center; padding: 0 24px; }
.step-circle {
  width: 64px; height: 64px; border: 1px solid var(--gold); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  font-family: 'Cormorant Garamond', serif; font-size: 22px; color: var(--gold);
  position: relative; z-index: 1; background: var(--white);
  transition: background .3s, color .3s;
}
.step:hover .step-circle { background: var(--gold); color: var(--white); }
.step h3 { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: 20px; color: var(--ink); margin-bottom: 12px; }
.step p { font-size: 13px; line-height: 1.8; color: var(--mist); }

/* ── TESTIMONIALS ── */
.testimonials { padding: var(--gap-lg) clamp(24px,5vw,80px); background: var(--bone); }
.testimonials-header { text-align: center; margin-bottom: clamp(48px,6vw,72px); }
.testimonials-header h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(34px,4.5vw,58px); color: var(--ink); line-height: 1.1; }
.testimonials-header h2 em { font-style: italic; color: var(--gold); }
.testimonials-track { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.testimonial-card { background: var(--white); padding: 40px 36px; border-top: 2px solid transparent; transition: border-color .3s; }
.testimonial-card:hover { border-color: var(--gold); }
.quote-mark { font-family: 'Cormorant Garamond', serif; font-size: 72px; font-weight: 300; color: var(--gold); line-height: .5; margin-bottom: 24px; display: block; opacity: .4; }
.testimonial-text { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 17px; line-height: 1.7; color: var(--ink); margin-bottom: 28px; }
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--warm); display: flex; align-items: center; justify-content: center; font-family: 'Cormorant Garamond', serif; font-size: 16px; color: var(--gold); flex-shrink: 0; }
.author-name { font-family: 'Tenor Sans', sans-serif; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); display: block; }
.author-role { font-size: 12px; color: var(--mist); display: block; margin-top: 2px; }
.stars { color: var(--gold); font-size: 11px; letter-spacing: 2px; margin-bottom: 4px; display: block; }

/* ── CTA BAND ── */
.cta-band {
  position: relative; overflow: hidden; min-height: 480px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: var(--gap-lg) clamp(24px,5vw,80px);
}
.cta-bg {
  position: absolute; inset: 0;
  background: linear-gradient(rgba(0,0,0,.55), rgba(0,0,0,.7)),
              url('https://images.unsplash.com/photo-1522673607200-164d1b6ce486?w=1600&q=80') center/cover;
  transform: scale(1.05);
}
.cta-content { position: relative; z-index: 2; max-width: 680px; }
.cta-content h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(38px,6vw,76px); color: var(--white); line-height: 1.1; margin-bottom: 20px; }
.cta-content h2 em { font-style: italic; color: var(--gold-lt); }
.cta-content p { font-size: 15px; color: rgba(255,255,255,.55); line-height: 1.8; margin-bottom: 44px; font-weight: 200; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn-primary {
  font-family: 'Tenor Sans', sans-serif; font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  background: var(--gold); color: var(--ink); padding: 16px 40px; text-decoration: none;
  transition: background .3s, transform .2s; display: inline-block;
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-outline {
  font-family: 'Tenor Sans', sans-serif; font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.35); color: var(--white); padding: 16px 40px;
  text-decoration: none; transition: border-color .3s, background .3s; display: inline-block;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.06); }

/* ── CONTACT ── */
.contact { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.contact-info { background: var(--ink); padding: clamp(48px,7vw,100px) clamp(40px,6vw,80px); display: flex; flex-direction: column; justify-content: center; }
.contact-info h2 { font-family: 'Cormorant Garamond', serif; font-weight: 300; font-size: clamp(34px,4vw,54px); color: var(--white); line-height: 1.2; margin-bottom: 36px; }
.contact-info h2 em { font-style: italic; color: var(--gold); }
.contact-details { display: flex; flex-direction: column; gap: 24px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { font-size: 16px; margin-top: 2px; flex-shrink: 0; opacity: .7; }
.contact-label { font-family: 'Tenor Sans', sans-serif; font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); display: block; margin-bottom: 4px; }
.contact-value { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.6; }
.contact-form { background: var(--bone); padding: clamp(48px,7vw,100px) clamp(40px,6vw,80px); display: flex; flex-direction: column; justify-content: center; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 0; }
.form-group { display: flex; flex-direction: column; margin-bottom: 20px; }
.form-group label { font-family: 'Tenor Sans', sans-serif; font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: var(--mist); margin-bottom: 8px; }
.form-group input, .form-group select, .form-group textarea {
  border: none; border-bottom: 1px solid rgba(184,150,90,.25);
  background: transparent; padding: 10px 0;
  font-family: 'Jost', sans-serif; font-size: 14px; font-weight: 300; color: var(--ink);
  outline: none; transition: border-color .3s; width: 100%; appearance: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: none; min-height: 80px; }
.form-submit {
  font-family: 'Tenor Sans', sans-serif; font-size: 11px; letter-spacing: .25em; text-transform: uppercase;
  background: var(--ink); color: var(--white); border: none; padding: 16px 40px;
  cursor: pointer; transition: background .3s; align-self: flex-start; margin-top: 8px;
}
.form-submit:hover { background: var(--gold); }

/* ── FOOTER ── */
footer { background: var(--ink); border-top: 1px solid rgba(184,150,90,.1); padding: 56px clamp(24px,5vw,80px) 32px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-img { height: 60px; width: auto; object-fit: contain; border-radius: 3px; opacity: .9; margin-bottom: 16px; display: block; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,.32); line-height: 1.7; max-width: 260px; }
.footer-col h4 { font-family: 'Tenor Sans', sans-serif; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.38); text-decoration: none; transition: color .2s; }
.footer-col a:hover { color: var(--gold-lt); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-copy { font-size: 11px; color: rgba(255,255,255,.2); letter-spacing: .05em; }
.social-links { display: flex; gap: 24px; }
.social-links a { font-family: 'Tenor Sans', sans-serif; font-size: 9px; letter-spacing: .25em; text-transform: uppercase; color: rgba(255,255,255,.28); text-decoration: none; transition: color .2s; }
.social-links a:hover { color: var(--gold); }

/* ── ANIMATIONS ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left.visible { opacity: 1; transform: none; }

@keyframes fadeUp   { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes scrollDrop {
  0%   { opacity:0; transform:scaleY(.3); transform-origin:top; }
  50%  { opacity:1; transform:scaleY(1); }
  100% { opacity:0; transform:scaleY(.3); transform-origin:bottom; }
}
@keyframes marquee { from { transform:translateX(0); } to { transform:translateX(-50%); } }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
  .services-header { grid-template-columns: 1fr; }
  .services-header p { justify-self: start; }
  .testimonials-track { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  nav { padding: 16px 24px; }
  nav.scrolled { padding: 12px 24px; }
  .about { grid-template-columns: 1fr; }
  .about-visual { min-height: 320px; }
  .experience { grid-template-columns: 1fr 1fr; }
  .exp-item:nth-child(2) { border-right: none; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .process-steps::before { display: none; }
  .contact { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-content { padding: 0 24px 60px; }
  .hero-scroll { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}
@media (max-width: 480px) {
  .process-steps { grid-template-columns: 1fr; }
}
