/* ==========================================================================
   TOKENS
   ========================================================================== */
:root{
  --white:#ffffff;
  --off-white:#f7f5f3;
  --black:#0d0d0d;
  --grey:#6b6b6b;
  --grey-light:#e4e1dd;
  --cherry:#7d0f1f;
  --cherry-light:#c81e37;
  --cherry-dark:#3a0509;

  --font-display:'Space Grotesk', sans-serif;
  --font-heading:'Lora', serif;
  --font-body:'Inter', sans-serif;

  --nav-h:76px;
  --container:1180px;
  --radius:10px;
  --ease:cubic-bezier(.4,0,.2,1);
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; scroll-padding-top:var(--nav-h); }
body{
  font-family:var(--font-body);
  color:var(--black);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ text-decoration:none; color:inherit; }
ul{ list-style:none; }
h1,h2,h3{ font-family:var(--font-heading); font-weight:600; line-height:1.15; }

@media (prefers-reduced-motion: reduce){
  *{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
}

/* ==========================================================================
   SHARED
   ========================================================================== */
.section{ padding:120px 8vw; max-width:var(--container); margin:0 auto; }
.section-alt{ max-width:none; background:var(--off-white); }
.section-alt > *{ max-width:var(--container); margin:0 auto; }

.tag{
  display:inline-block;
  font-size:.72rem;
  letter-spacing:.14em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--cherry);
  background:rgba(166,25,46,.08);
  padding:6px 12px;
  border-radius:var(--radius);
  margin-bottom:18px;
}
.tag-light{ background:rgba(255,255,255,.12); color:var(--white); }

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  margin-bottom:56px;
  gap:24px;
  flex-wrap:wrap;
}
.section-head h2{ font-size:clamp(1.7rem,3vw,2.4rem); }

.btn{
  display:inline-block;
  font-family:var(--font-body);
  font-weight:600;
  font-size:.92rem;
  padding:15px 32px;
  border-radius:var(--radius);
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-primary{
  background:var(--cherry);
  color:var(--white);
}
.btn-primary:hover{
  background:var(--cherry-dark);
  transform:translateY(-2px);
}
.btn-dark{
  background:var(--black);
  color:var(--white);
}
.btn-dark:hover{
  background:var(--cherry);
  transform:translateY(-2px);
}
.btn-outline-light{ border-color:rgba(255,255,255,.6); color:var(--white); }
.btn-outline-light:hover{ background:var(--white); color:var(--black); }

/* ==========================================================================
   PROGRESS BAR
   ========================================================================== */
.progress-bar{
  position:fixed; top:0; left:0; height:3px; width:0%;
  background:var(--cherry);
  z-index:1100;
  transition:width .1s linear;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.navbar{
  position:fixed; top:0; left:0; width:100%;
  height:var(--nav-h);
  background:rgba(255,255,255,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--grey-light);
  z-index:1000;
  transition:background .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s var(--ease);
}
.navbar.is-transparent{
  background:transparent;
  backdrop-filter:none;
  border-bottom-color:transparent;
}
.navbar.is-transparent .nav-link{ color:var(--white); }
.navbar.is-transparent .nav-link:hover{ color:var(--cherry-light); }
.navbar.is-transparent .menu-toggle span{ background:var(--white); }
.nav-container{
  height:100%;
  padding:0 8vw;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.logo{
  font-family:var(--font-display);
  font-weight:700;
  font-size:1.3rem;
  letter-spacing:.04em;
}
.nav-links{ display:flex; gap:36px; }
.nav-link{
  position:relative;
  font-size:.92rem;
  font-weight:500;
  padding:6px 0;
  color:var(--black);
  transition:color .2s var(--ease);
}
.nav-link::after{
  content:'';
  position:absolute; left:0; bottom:0; height:2px; width:0;
  background:var(--cherry);
  transition:width .25s var(--ease);
}
.nav-link:hover, .nav-link.active{ color:var(--cherry); }
.nav-link:hover::after, .nav-link.active::after{ width:100%; }

.menu-toggle{
  display:none;
  width:34px; height:26px;
  background:none; border:none; cursor:pointer;
  flex-direction:column; justify-content:space-between;
  padding:0;
}
.menu-toggle span{
  display:block; height:2px; width:100%; background:var(--black);
  transition:transform .3s var(--ease), opacity .3s var(--ease);
}
.menu-toggle.open span:nth-child(1){ transform:translateY(11px) rotate(45deg); }
.menu-toggle.open span:nth-child(2){ opacity:0; }
.menu-toggle.open span:nth-child(3){ transform:translateY(-11px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero{
  position:relative;
  min-height:100vh;
  display:grid;
  grid-template-columns:1fr 1fr;
  align-items:center;
  overflow:hidden;
}
.hero-content{
  padding:calc(var(--nav-h) + 4vw) 6vw 6vw 8vw;
  z-index:2;
}
.eyebrow{
  font-size:.8rem; letter-spacing:.16em; text-transform:uppercase;
  color:var(--grey); font-weight:600; margin-bottom:22px;
}
.hero-name{
  font-size:clamp(2.6rem,5.2vw,4.4rem);
  font-weight:700;
  letter-spacing:-.01em;
}
.hero-name .outline{
  color:transparent;
  -webkit-text-stroke:1.5px var(--black);
}
.hero-name .fill{ color:var(--cherry); }
.hero-tagline{
  margin-top:24px; margin-bottom:38px;
  font-size:1.05rem; color:var(--grey);
  max-width:32ch;
}
.hero-visual{
  position:relative;
  height:100%;
  overflow:hidden;
  background:linear-gradient(155deg, var(--cherry-light) 0%, var(--cherry) 45%, var(--cherry-dark) 100%);
  clip-path:polygon(18% 0, 100% 0, 100% 100%, 0% 100%);
}
.hero-visual img{
  position:absolute; inset:0;
  width:100%; height:100%; object-fit:cover;
}


/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid{
  display:grid;
  grid-template-columns:.85fr 1fr;
  gap:6vw;
  align-items:stretch;
}
.about-visual{ height:100%; }
.about-visual img{ width:100%; height:100%; object-fit:cover; border-radius:var(--radius); }
.about-copy h2{ font-size:clamp(1.7rem,3.2vw,2.5rem); margin:0 0 22px; }
.about-copy p{ color:var(--grey); line-height:1.75; margin-bottom:18px; max-width:52ch; }
.about-copy .btn{ margin-top:12px; }

/* ==========================================================================
   SKILLS
   ========================================================================== */
.skills-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:6vw;
  align-items:center;
}
.skills-copy h2{ font-size:clamp(1.6rem,3vw,2.3rem); margin-bottom:20px; }
.skills-copy p{ color:var(--grey); line-height:1.75; max-width:44ch; }
.skill{ margin-bottom:26px; }
.skill:last-child{ margin-bottom:0; }
.skill-head{
  display:flex; justify-content:space-between;
  font-size:.9rem; font-weight:600; margin-bottom:10px;
}
.skill-track{ height:6px; background:var(--grey-light); border-radius:4px; overflow:hidden; }
.skill-fill{
  height:100%; width:0; border-radius:4px;
  background:linear-gradient(90deg, var(--cherry-dark) 0%, var(--cherry) 45%, var(--cherry-light) 100%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35);
  transition:width 1.1s var(--ease);
}
.skill-fill.in-view{ width:var(--pct); }

/* ==========================================================================
   PORTFOLIO
   ========================================================================== */
.portfolio-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:26px;
}
.portfolio-item{
  position:relative;
  overflow:hidden;
  border-radius:var(--radius);
  aspect-ratio:1/1;
}
.portfolio-item img{
  width:100%; height:100%; object-fit:cover;
  transition:transform .5s var(--ease);
}
.portfolio-item:hover img{ transform:scale(1.06); }
.portfolio-item figcaption{
  position:absolute; inset:auto 0 0 0;
  padding:22px;
  display:flex; flex-direction:column; gap:2px;
  background:linear-gradient(to top, rgba(13,13,13,.85), transparent);
  color:var(--white);
  transform:translateY(12px);
  opacity:0;
  transition:opacity .3s var(--ease), transform .3s var(--ease);
}
.portfolio-item:hover figcaption{ opacity:1; transform:translateY(0); }
.portfolio-item figcaption span{ font-weight:600; font-size:1rem; }
.portfolio-item figcaption small{ color:var(--grey-light); font-size:.78rem; letter-spacing:.04em; text-transform:uppercase; }

/* ==========================================================================
   SHOWCASE
   ========================================================================== */
.showcase{
  position:relative;
  min-height:70vh;
  display:flex; align-items:center; justify-content:center;
  background:var(--black);
  overflow:hidden;
}
.showcase-bg{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; opacity:.5;
}
.showcase-content{
  position:relative; z-index:2;
  text-align:center; color:var(--white);
  padding:0 6vw;
  display:flex; flex-direction:column; align-items:center; gap:30px;
}
.showcase-content h2{ font-size:clamp(1.5rem,3.4vw,2.3rem); max-width:22ch; }
.play-btn{
  width:78px; height:78px; border-radius:50%;
  background:var(--white); color:var(--black);
  border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  transition:transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.play-btn:hover{
  background:linear-gradient(160deg, var(--cherry-light) 0%, var(--cherry) 55%, var(--cherry-dark) 100%);
  color:var(--white);
  transform:scale(1.08);
  box-shadow:0 12px 26px rgba(58,5,9,.4);
}

/* ==========================================================================
   PARTNERS
   ========================================================================== */
.partners{ padding:64px 8vw; border-top:1px solid var(--grey-light); border-bottom:1px solid var(--grey-light); }
.partners-track{
  max-width:var(--container); margin:0 auto;
  display:flex; justify-content:space-around; align-items:center; flex-wrap:wrap; gap:32px;
}
.partner-logo{
  font-family:var(--font-display); font-weight:600; font-size:1.15rem;
  color:var(--grey); opacity:.55; letter-spacing:.02em;
  transition:opacity .25s var(--ease), color .25s var(--ease);
}
.partner-logo:hover{ opacity:1; color:var(--cherry); }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonial-grid{
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:6vw;
  align-items:center;
}
.testimonial-grid h2{ font-size:clamp(1.6rem,3vw,2.3rem); margin-top:10px; }
.testimonial-card{
  background:var(--white);
  border-left:3px solid var(--cherry);
  border-radius:var(--radius);
  padding:38px;
  box-shadow:0 20px 50px rgba(13,13,13,.06);
}
.testimonial-card p{ font-size:1.05rem; line-height:1.7; color:var(--black); margin-bottom:26px; }
.testimonial-card footer{ display:flex; align-items:center; gap:14px; }
.testimonial-card img{ width:48px; height:48px; border-radius:50%; object-fit:cover; }
.testimonial-card cite{ display:block; font-style:normal; font-weight:600; }
.testimonial-card footer span{ font-size:.85rem; color:var(--grey); }

/* ==========================================================================
   NEWS
   ========================================================================== */
.news-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
}
.news-card img{ border-radius:var(--radius); margin-bottom:20px; aspect-ratio:5/3.2; object-fit:cover; }
.news-card h3{ font-size:1.08rem; font-weight:600; line-height:1.4; margin-bottom:12px; }
.news-meta{ font-size:.78rem; letter-spacing:.03em; text-transform:uppercase; color:var(--grey); }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{
  position:relative;
  background:var(--black);
  color:var(--white);
  padding:150px 8vw 100px;
  overflow:hidden;
}
.contact-edge{
  position:absolute; top:-1px; left:0; width:100%; height:60px;
  background:var(--white);
  clip-path:polygon(0 0,100% 0,100% 40%,92% 45%,84% 38%,76% 48%,68% 40%,60% 50%,52% 42%,44% 48%,36% 38%,28% 46%,20% 40%,12% 48%,4% 40%,0 44%);
}
.contact-content{ position:relative; z-index:2; max-width:640px; margin:0 auto; text-align:center; }
.contact-content h2{ font-size:clamp(2rem,4.4vw,3rem); margin:6px 0 16px; }
.contact-content p{ color:#c9c9c9; margin-bottom:44px; }
.contact-form{ text-align:left; }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; }
.field{ margin-bottom:20px; }
.field label{ display:block; font-size:.8rem; letter-spacing:.05em; text-transform:uppercase; margin-bottom:8px; color:#c9c9c9; }
.field input, .field textarea{
  width:100%;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.18);
  border-radius:var(--radius);
  padding:14px 16px;
  color:var(--white);
  font-family:var(--font-body);
  font-size:.95rem;
  resize:vertical;
  transition:border-color .2s var(--ease);
}
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--cherry); }
.field input::placeholder, .field textarea::placeholder{ color:#8a8a8a; }
.contact-form .btn{ width:100%; }
.form-note{ margin-top:16px; font-size:.88rem; color:var(--cherry); text-align:center; min-height:1.2em; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{
  background:var(--black);
  color:#9c9c9c;
  padding:26px 8vw;
  display:flex; align-items:center; justify-content:center; gap:20px;
  position:relative;
  font-size:.85rem;
  border-top:1px solid rgba(255,255,255,.08);
}
.to-top{
  position:absolute; right:8vw; top:50%; transform:translateY(-50%);
  width:38px; height:38px; border-radius:50%;
  background:transparent; border:1px solid rgba(255,255,255,.25); color:var(--white);
  cursor:pointer; font-size:1rem;
  transition:background .2s var(--ease), border-color .2s var(--ease);
}
.to-top:hover{
  background:linear-gradient(160deg, var(--cherry-light) 0%, var(--cherry) 55%, var(--cherry-dark) 100%);
  border-color:var(--cherry);
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline:2px solid var(--cherry); outline-offset:2px;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width:1024px){
  .about-grid, .skills-grid, .testimonial-grid{ grid-template-columns:1fr; gap:48px; }
  .about-visual{ height:auto; max-width:420px; aspect-ratio:1/1; }
  .about-visual img{ height:100%; }
  .portfolio-grid{ grid-template-columns:repeat(2,1fr); }
  .news-grid{ grid-template-columns:1fr; max-width:480px; margin:0 auto; }
}

@media (max-width:860px){
  .nav-links{
    position:fixed; top:var(--nav-h); left:0; width:100%;
    flex-direction:column; gap:0;
    background:var(--white);
    border-bottom:1px solid var(--grey-light);
    transform:translateY(-8px);
    opacity:0; visibility:hidden; pointer-events:none;
    transition:opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  }
  .nav-links.open{
    opacity:1; visibility:visible; pointer-events:auto; transform:translateY(0);
  }
  .nav-link{ padding:18px 8vw; width:100%; border-bottom:1px solid var(--grey-light); }
  .nav-link::after{ display:none; }
  .menu-toggle{ display:flex; }

  .navbar.is-transparent .nav-links .nav-link{ color:var(--black); }
  .navbar.is-transparent .nav-links .nav-link:hover{ color:var(--cherry); }

  .hero{ grid-template-columns:1fr; min-height:auto; }
  .hero-content{ order:2; padding:52px 8vw; text-align:left; }
  .hero-visual{
    order:1; height:56vh;
    clip-path:polygon(0 0,100% 0,100% 88%,0 100%);
  }

  .form-row{ grid-template-columns:1fr; }
}

@media (max-width:560px){
  .section{ padding:80px 6vw; }
  .section-alt > *{ padding:0 6vw; }
  .hero-content{ padding:44px 6vw; }
  .portfolio-grid{ grid-template-columns:1fr; }
  .partners-track{ gap:26px; }
  .contact{ padding:120px 6vw 70px; }
  .footer{ flex-direction:column; gap:14px; padding:30px 6vw 70px; }
  .to-top{ position:static; transform:none; }
}
