@import url('assets/css/i18n.css');

/* ── LOGIN LOGO CARD & MESSAGE TOASTER ── */
.login h1 {
  background: var(--ip-pure);
  border-radius: 16px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
  padding: 18px 0 8px 0;
  margin-bottom: 18px !important;
  width: 320px;
  margin-left: auto;
  margin-right: auto;
}
.login h1 a {
  background-color: transparent !important;
  box-shadow: none !important;
  margin-bottom: 0 !important;
}
.login .message, .login .success, .login .error {
  background: var(--ip-pure) !important;
  color: var(--ip-black) !important;
  border-radius: 12px !important;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.08) !important;
  border: none !important;
  padding: 16px 18px !important;
  font-family: var(--ip-font-b);
  font-size: 14px;
  margin-bottom: 18px !important;
  width: 320px;
  margin-left: auto;
  margin-right: auto;
}
/* ── LOGIN PAGE CUSTOMIZATION ── */
body.login {
  background: var(--ip-black) !important;
}
.login form {
  background: var(--ip-charcoal) !important;
  border-radius: 18px !important;
  box-shadow: 0 8px 48px 0 rgba(0,0,0,0.45) !important;
  padding: 32px 32px 24px 32px !important;
  border: none !important;
}
.login label {
  color: var(--ip-white) !important;
  font-family: var(--ip-font-b);
  font-size: 13px;
  letter-spacing: 1px;
}
.login input[type="text"],
.login input[type="password"],
.login input[type="email"] {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--ip-white);
  font-family: var(--ip-font-b);
  font-size: 13px;
  letter-spacing: 1px;
  margin-bottom: 12px;
  outline: none;
  border-radius: 8px;
  transition: border-color .2s;
}
.login input[type="text"]:focus,
.login input[type="password"]:focus,
.login input[type="email"]:focus {
  border-color: var(--ip-gold);
}
.login .button-primary {
  background: var(--ip-gold) !important;
  color: var(--ip-black) !important;
  border: none !important;
  border-radius: 8px !important;
  font-family: var(--ip-font-b);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 14px 0 !important;
  box-shadow: none !important;
  transition: background .2s, color .2s;
  width: 100% !important;
  display: block;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 0;
}
.login .button-primary:hover {
  background: #e6c97a !important;
  color: var(--ip-black) !important;
}
.login #nav, .login #backtoblog {
  color: var(--ip-gray) !important;
  font-size: 13px;
}
.login #nav a, .login #backtoblog a {
  color: var(--ip-gold) !important;
  text-decoration: none;
  transition: color .2s;
}
.login #nav a:hover, .login #backtoblog a:hover {
  color: var(--ip-white) !important;
}
/* ── Fullscreen Contact Modal ── */
.ip-contact-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
}
.ip-contact-modal[style*="display: flex"] {
  display: flex !important;
}
.ip-contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20,20,20,0.92);
  backdrop-filter: blur(2px);
}
.ip-contact-modal__content {
  position: relative;
  z-index: 2;
  background: var(--ip-black);
  border-radius: 18px;
  box-shadow: 0 8px 48px 0 rgba(0,0,0,0.45);
  padding: 48px;
  min-width: 640px;
  max-width: 98vw;
  width: 100%;
  max-width: 480px;
  animation: modalIn .3s cubic-bezier(.4,2,.6,1) both;
}
.ip-contact-modal__close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: none;
  border: none;
  color: var(--ip-gold);
  font-size: 32px;
  cursor: pointer;
  z-index: 3;
  transition: color .2s;
}
.ip-contact-modal__close:hover {
  color: var(--ip-white);
}
@keyframes modalIn {
  from { opacity: 0; transform: translateY(60px) scale(.98); }
  to   { opacity: 1; transform: none; }
}
/* CTA two-column layout fix */
.ip-cta__left {
  max-width: 600px;
  justify-self: start;
  grid-column: 1;
}
.ip-cta__right {
  max-width: 400px;
  justify-self: center;
  display: flex;
  flex-direction: column;
  gap: 32px;
  grid-column: 2;
}
.ip-cta__about {
  margin-bottom: 24px;
  font-family: var(--ip-font-s);
  font-size: clamp(18px, 2.8vw, 18px);
  line-height: 1.55;
  color: var(--ip-white);
}
.ip-cta__hours {
  background: var(--ip-charcoal, #1A1A1A);
  border-radius: 16px;
  padding: 24px;
  color: var(--ip-white);
  font-size: 14px;
  margin-bottom: 0;
}
.ip-cta__hours h3 {
  font-family: var(--ip-font-d);
  color: var(--ip-gold);
  font-size: 18px;
  margin-bottom: 12px;
}
.ip-cta__hours ul {
  margin: 0;
  padding-left: 18px;
}
.ip-cta__hours li {
  margin-bottom: 7px;
}

@media (max-width: 1024px) {
  .ip-cta__left, .ip-cta__right {
    max-width: 100%;
    justify-self: unset;
    align-self: unset;
  }
  .ip-cta__right {
    margin-top: 36px;
    gap: 24px;
  }
}
/* Visually hidden utility for accessibility */
.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
}
/*
Theme Name:  Impact Production
Theme URI:   https://impactprod.ca
Author:      Impact Production
Author URI:  https://impactprod.ca
Description: Custom premium theme for Impact Production — audiovisual studio in Montreal. Cinematic black, warm white & gold identity.
Version:     1.0.0
License:     GNU General Public License v2 or later
Text Domain: impactprod
Tags: custom-menu, featured-images, full-width-template, translation-ready
*/

/* ── RESET & ROOT ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
:root {
  --ip-black:     #0D0D0D;
  --ip-charcoal:  #1A1A1A;
  --ip-white:     #F4F1EC;
  --ip-pure:      #FFFFFF;
  --ip-gold:      #BFA76F;
  --ip-gray:      #888888;
  --ip-lgray:     #CCCCCC;
  --ip-font-d:    'Bebas Neue', sans-serif;
  --ip-font-b:    'Inter', sans-serif;
  --ip-font-s:    'Playfair Display', serif;
}
html { scroll-behavior: smooth; font-size: 16px; height: 100%; }
body { background: var(--ip-black); color: var(--ip-white); font-family: var(--ip-font-b); overflow-x: hidden; min-height: 100%; display: flex; flex-direction: column; }
#ip-i18n-wrap { display: flex; flex-direction: column; flex: 1; min-height: 100vh; }
#ip-i18n-wrap > .ip-footer { margin-top: auto; }
/* ── Translated content visibility ── */
body.lang-fr .ip-tr-en { display: none !important; }
body.lang-en .ip-tr-fr { display: none !important; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--ip-black); }
::-webkit-scrollbar-thumb { background: var(--ip-gold); }

/* ── NAV ── */
.ip-nav {
  position: fixed !important; 
  top: 0; 
  left: 0; 
  right: 0; 
  z-index: 999;
  display: flex; 
  align-items: center; 
  justify-content: space-between;
  padding: 20px 60px;
  background: rgba(13,13,13,.97);
  border-bottom: 1px solid transparent;
  transition: background .4s, border-color .4s;
}
.ip-nav.scrolled,
body.ip-page .ip-nav { background: rgba(13,13,13,.97); border-bottom-color: rgba(191,167,111,.2); }
.ip-nav__logo { flex-shrink: 0; }
.ip-nav__logo img,
.custom-logo {
  height: 38px;
  width: auto;
  max-width: none;
  display: block;
  flex-shrink: 0;
}
.ip-nav__logo span { font-family: var(--ip-font-d); font-size: 22px; letter-spacing: 3px; color: var(--ip-white); white-space: nowrap; }
.ip-nav__menu { display: flex; gap: 40px; list-style: none; }
.ip-nav__menu a { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; font-weight: 500; color: rgba(244,241,236,.75); transition: color .3s; }
.ip-nav__menu a:hover,
.ip-nav__menu .current-menu-item a,
.ip-nav__menu a.active { color: var(--ip-gold); }
.ip-nav__cta { padding: 10px 22px; border: 1px solid var(--ip-gold); color: var(--ip-gold); font-size: 11px; letter-spacing: 2px; text-transform: uppercase; font-weight: 600; transition: all .3s; }
.ip-nav__cta:hover { background: var(--ip-gold); color: var(--ip-black); }
.ip-nav__burger {
  display: none;
  flex-direction: column;
  gap: 7px;
  cursor: pointer;
  width: 38px;
  height: 38px;
  justify-content: center;
  align-items: center;
  background: none;
  border: none;
  padding: 0;
  transition: box-shadow .2s;
}
.ip-nav__burger span {
  display: block;
  width: 28px;
  height: 3.5px;
  background: var(--ip-white);
  border-radius: 2px;
  transition: background .3s, box-shadow .3s;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
.ip-nav__burger:hover span {
  background: var(--ip-gold);
  box-shadow: 0 2px 8px rgba(191,167,111,0.18);
}

/* ── HERO ── */
.ip-hero { position: relative; height: 100vh; min-height: 700px; display: flex; align-items: flex-end; padding: 0 60px 80px; overflow: hidden; background: var(--ip-black); }
.ip-hero__bg { position: absolute; inset: 0; }
.ip-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.ip-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,13,.95) 0%, rgba(13,13,13,.4) 100%); }
.ip-hero__grain { position: absolute; inset: 0; opacity: .35; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' 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.05'/%3E%3C/svg%3E"); }
.ip-hero__content { position: relative; z-index: 2; width: 100%; }
.ip-hero__eyebrow { font-size: 11px; letter-spacing: 4px; color: var(--ip-gold); text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 16px; }
.ip-hero__eyebrow::before { content: ''; display: block; width: 40px; height: 1px; background: var(--ip-gold); }
.ip-hero__headline { font-family: var(--ip-font-d); font-size: clamp(80px, 13vw, 190px); line-height: .88; color: var(--ip-white); }
.ip-hero__headline .line2 { display: block; padding-left: clamp(40px, 5vw, 90px); }
.ip-hero__headline .gold { color: var(--ip-gold); }
.ip-hero__sub { margin-top: 32px; font-size: 11px; letter-spacing: 4px; color: var(--ip-gray); text-transform: uppercase; }
.ip-hero__sub span { margin: 0 14px; color: var(--ip-gold); }
.ip-hero__badge { position: absolute; bottom: 40px; right: 60px; width: 90px; height: 90px; animation: spin 20s linear infinite; }
.ip-hero__badge svg { width: 90px; height: 90px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── MARQUEE ── */
.ip-marquee { background: var(--ip-charcoal); border-top: 1px solid rgba(191,167,111,.2); border-bottom: 1px solid rgba(191,167,111,.2); padding: 16px 0; overflow: hidden; }
.ip-marquee__track { display: flex; animation: marquee 25s linear infinite; white-space: nowrap; }
.ip-marquee__track span { font-size: 11px; letter-spacing: 4px; text-transform: uppercase; color: #E6C97A; padding: 0 28px; /* Increased contrast */ }
.ip-marquee__track .dot { color: var(--ip-gold); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── SHARED ── */
.ip-section { padding: 120px 60px; }
.ip-label { font-size: 10px; letter-spacing: 5px; text-transform: uppercase; color: var(--ip-gold); margin-bottom: 24px; display: flex; align-items: center; gap: 14px; }
.ip-label::before { content: ''; display: inline-block; width: 28px; height: 1px; background: var(--ip-gold); }
.ip-headline { font-family: var(--ip-font-d); font-size: clamp(48px, 7vw, 96px); line-height: .9; }
.fade-up { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── WORK ── */
.ip-work { background: var(--ip-white); color: var(--ip-black); padding: 120px 60px; }
.ip-work .ip-label { color: var(--ip-gold); }
.ip-work .ip-label::before { background: var(--ip-gold); }
.ip-work__header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 60px; }
.ip-work__grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.ip-work__card { position: relative; overflow: hidden; background: var(--ip-charcoal); cursor: pointer; }
.ip-work__card:first-child { grid-row: 1/3; }
.ip-work__thumb-wrap { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.ip-work__card:first-child .ip-work__thumb-wrap { aspect-ratio: 3/4; }
.ip-work__thumb { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ip-work__card:hover .ip-work__thumb { transform: scale(1.04); }
.ip-work__overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(13,13,13,.85) 0%, transparent 55%); opacity: 0; transition: opacity .4s; display: flex; align-items: flex-end; padding: 20px; }
.ip-work__card:hover .ip-work__overlay { opacity: 1; }
.ip-work__meta h4 { font-family: var(--ip-font-d); font-size: 20px; letter-spacing: 1px; color: var(--ip-white); }
.ip-work__meta p { font-size: 10px; letter-spacing: 3px; color: var(--ip-gold); text-transform: uppercase; margin-top: 4px; }
.ip-work__placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg,#1a1a1a,#2a2a2a); font-size: 11px; letter-spacing: 3px; color: var(--ip-gray); text-transform: uppercase; min-height: 200px; }
.ip-work__footer { margin-top: 44px; text-align: center; }
.btn-outline-dark { display: inline-block; padding: 14px 36px; border: 1.5px solid var(--ip-black); color: var(--ip-black); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 600; transition: all .3s; }
.btn-outline-dark:hover { background: var(--ip-black); color: var(--ip-white); }

/* ── SERVICES ── */
.ip-services { background: var(--ip-black); display: grid; grid-template-columns: 1fr 1fr; gap: 80px; padding: 120px 60px; }
.ip-services__desc { color: var(--ip-gray); line-height: 1.7; font-size: 15px; max-width: 380px; margin: 24px 0 40px; }
.ip-services__list { list-style: none; }
.ip-services__list li { display: flex; align-items: center; gap: 16px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.07); font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--ip-lgray); transition: color .3s; }
.ip-services__list li:hover { color: var(--ip-white); }
.ip-services__list li::before { content: '▸'; color: var(--ip-gold); font-size: 10px; }
.ip-services__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: rgba(191,167,111,.15); align-self: start; margin-top: 60px; }
.ip-service-card { background: var(--ip-black); padding: 34px 26px; transition: background .3s; }
.ip-service-card:hover { background: var(--ip-charcoal); }
.ip-service-card__icon { width: 32px; height: 32px; margin-bottom: 18px; opacity: .65; }
.ip-service-card h4 { font-family: var(--ip-font-d); font-size: 20px; letter-spacing: 1px; color: var(--ip-white); margin-bottom: 8px; }
.ip-service-card p { font-size: 12px; color: var(--ip-gray); line-height: 1.6; }

/* ── SHOWREEL ── */
.ip-showreel { background: var(--ip-charcoal); text-align: center; padding: 100px 60px; position: relative; overflow: hidden; }
.ip-showreel::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(191,167,111,.05) 0%, transparent 70%); }
.ip-showreel .ip-label { justify-content: center; }
.ip-showreel__title { font-family: var(--ip-font-d); font-size: clamp(38px, 5.5vw, 76px); color: var(--ip-white); margin: 16px 0 44px; line-height: .9; }
.ip-showreel__frame { position: relative; max-width: 860px; margin: 0 auto; aspect-ratio: 16/9; background: #111; overflow: hidden; }
.ip-showreel__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ip-showreel__placeholder { width: 100%; height: 100%; background: linear-gradient(135deg,#111,#222,#0d0d0d); display: flex; align-items: center; justify-content: center; }
.ip-showreel__border { position: absolute; inset: 0; border: 1px solid rgba(191,167,111,.3); pointer-events: none; }
.ip-play-btn { width: 78px; height: 78px; border: 1.5px solid var(--ip-gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s; }
.ip-play-btn:hover { background: var(--ip-gold); }
.ip-play-btn:hover svg path { fill: var(--ip-black); }
.ip-play-btn svg { width: 22px; margin-left: 4px; }
.ip-play-btn svg path { fill: var(--ip-gold); transition: fill .3s; }
.ip-showreel__sub { margin-top: 22px; font-size: 13px; color: var(--ip-gray); font-style: italic; }

/* ── STATS ── */
.ip-stats { background: var(--ip-charcoal); display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid rgba(191,167,111,.15); border-bottom: 1px solid rgba(191,167,111,.15); }
.ip-stat { padding: 56px 20px; text-align: center; border-right: 1px solid rgba(191,167,111,.15); }
.ip-stat:last-child { border-right: none; }
.ip-stat__number { font-family: var(--ip-font-d); font-size: clamp(44px, 5.5vw, 76px); color: var(--ip-gold); line-height: 1; }
.ip-stat__label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--ip-gray); margin-top: 10px; }

/* ── PROCESS ── */
.ip-process { background: var(--ip-white); color: var(--ip-black); padding: 120px 60px; }
.ip-process .ip-label { color: var(--ip-gold); }
.ip-process .ip-label::before { background: var(--ip-gold); }
.ip-process .ip-headline { color: var(--ip-black); margin-bottom: 70px; max-width: 560px; }
.ip-process__steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; position: relative; }
.ip-process__steps::before { content: ''; position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 1px; background: linear-gradient(to right, var(--ip-gold), rgba(191,167,111,.2)); }
.ip-process__step { padding-right: 30px; }
.ip-step-num { font-family: var(--ip-font-d); font-size: 12px; letter-spacing: 3px; color: var(--ip-gold); margin-bottom: 28px; display: flex; align-items: center; gap: 12px; }
.ip-step-num::before { content: ''; width: 10px; height: 10px; border: 1.5px solid var(--ip-gold); border-radius: 50%; background: var(--ip-white); flex-shrink: 0; position: relative; z-index: 1; }
.ip-process__step h4 { font-family: var(--ip-font-d); font-size: 24px; letter-spacing: 1px; color: var(--ip-black); margin-bottom: 12px; }
.ip-process__step p { font-size: 13px; color: #666; line-height: 1.7; }

/* ── TESTIMONIALS ── */
.ip-testimonials { background: var(--ip-black); padding: 120px 60px; text-align: center; position: relative; }
.ip-testimonials__quote-mark { font-family: var(--ip-font-s); font-size: 200px; line-height: .5; color: rgba(191,167,111,.07); position: absolute; top: 80px; left: 50%; transform: translateX(-50%); pointer-events: none; user-select: none; }
.ip-testimonial { max-width: 820px; margin: 0 auto 60px; position: relative; z-index: 1; }
.ip-testimonial__text { font-family: var(--ip-font-s); font-size: clamp(20px, 2.8vw, 34px); line-height: 1.55; color: var(--ip-white); font-style: italic; margin-bottom: 36px; }
.ip-testimonial__author { font-family: var(--ip-font-d); font-size: 17px; letter-spacing: 3px; color: var(--ip-white); }
.ip-testimonial__role { font-size: 11px; letter-spacing: 3px; color: var(--ip-gold); text-transform: uppercase; margin-top: 8px; }
.ip-testimonials__nav { display: flex; justify-content: center; gap: 12px; }
.ip-testimonials__nav button { width: 40px; height: 2px; background: rgba(255,255,255,.2); border: none; cursor: pointer; transition: background .3s; }
.ip-testimonials__nav button.active { background: var(--ip-gold); }

/* ── CTA ── */
.ip-cta {
  background: var(--ip-black);
  padding: 140px 60px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  border-top: 1px solid rgba(191,167,111,.15);
}
.ip-cta__headline { font-family: var(--ip-font-d); font-size: clamp(48px, 8vw, 108px); line-height: .88; color: var(--ip-white); }
.ip-cta__headline .gold { color: var(--ip-gold); }
/* removed duplicate .ip-cta__right rule to avoid override */
.ip-cta__desc { font-size: 14px; color: var(--ip-gray); line-height: 1.7; max-width: 280px; }
.btn-gold { display: inline-block; padding: 16px 38px; background: var(--ip-gold); color: var(--ip-black); font-size: 11px; letter-spacing: 3px; text-transform: uppercase; font-weight: 700; transition: all .3s; }
.btn-gold:hover { background: var(--ip-white); }
.ip-cta__contact { font-size: 12px; color: var(--ip-gray); line-height: 1.9; }
.ip-cta__contact a { color: var(--ip-lgray); transition: color .3s; }
.ip-cta__contact a:hover { color: var(--ip-gold); }

/* ── FOOTER — base only; detail styles in assets/css/footer.css ── */
.ip-footer { background: var(--ip-charcoal); padding: 0; border-top: none; }

/* ── PAGE CONTENT ── */
.ip-page { background: var(--ip-white); color: var(--ip-black); padding: 160px 60px 100px; min-height: 100vh; }
.ip-page h1 { font-family: var(--ip-font-d); font-size: clamp(42px, 6vw, 80px); margin-bottom: 40px; line-height: .9; }
.ip-page .entry-content { max-width: 760px; font-size: 16px; line-height: 1.8; color: #333; }
.ip-page .entry-content h2 { font-family: var(--ip-font-d); font-size: 36px; margin: 48px 0 16px; color: var(--ip-black); }
.ip-page .entry-content p { margin-bottom: 20px; }
.ip-page .entry-content a { color: var(--ip-gold); border-bottom: 1px solid rgba(191,167,111,.4); transition: border-color .3s; }

/* ── BLOG ── */
.ip-blog { background: var(--ip-white); color: var(--ip-black); padding: 160px 60px 100px; min-height: 100vh; }
.ip-blog h1 { font-family: var(--ip-font-d); font-size: clamp(48px,6vw,80px); margin-bottom: 64px; }
.ip-posts { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.ip-post-card { background: var(--ip-black); color: var(--ip-white); }
.ip-post-card__thumb { aspect-ratio: 16/9; overflow: hidden; background: var(--ip-charcoal); }
.ip-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.ip-post-card:hover .ip-post-card__thumb img { transform: scale(1.04); }
.ip-post-card__body { padding: 28px 24px; }
.ip-post-card__cat { font-size: 10px; letter-spacing: 3px; text-transform: uppercase; color: var(--ip-gold); margin-bottom: 12px; }
.ip-post-card__title { font-family: var(--ip-font-d); font-size: 22px; letter-spacing: .5px; margin-bottom: 12px; line-height: 1.1; }
.ip-post-card__excerpt { font-size: 13px; color: var(--ip-gray); line-height: 1.65; margin-bottom: 20px; }
.ip-post-card__link { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ip-gold); border-bottom: 1px solid rgba(191,167,111,.4); padding-bottom: 2px; }

/* ── SINGLE POST ── */
.ip-single { padding: 160px 60px 100px; max-width: 860px; margin: 0 auto; }
.ip-single__cat { font-size: 10px; letter-spacing: 4px; text-transform: uppercase; color: var(--ip-gold); margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.ip-single__cat::before { content: ''; width: 28px; height: 1px; background: var(--ip-gold); }
.ip-single__title { font-family: var(--ip-font-d); font-size: clamp(42px,6vw,78px); line-height: .9; margin-bottom: 40px; }
.ip-single__meta { font-size: 12px; color: var(--ip-gray); letter-spacing: 2px; text-transform: uppercase; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 48px; }
.ip-single__content { font-size: 16px; line-height: 1.85; color: var(--ip-lgray); }
.ip-single__content h2 { font-family: var(--ip-font-d); font-size: 34px; color: var(--ip-white); margin: 48px 0 16px; }
.ip-single__content p { margin-bottom: 24px; }
.ip-single__content a { color: var(--ip-gold); }
.ip-single__content img { width: 100%; margin: 40px 0; }
/* Shared full-width featured image hero (pages, singles, portfolio) */
.ip-feat-hero { position:relative; width:100%; height:480px; overflow:hidden; margin-bottom:56px; }
.ip-feat-hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
/* legacy — keep for any external usage */
.ip-single__featured { display:none; }

/* ── Comments ── */
.comments-area { max-width: 860px; margin: 0 auto; padding: 0 60px 100px; }
.comments-title,
.comment-reply-title { font-family: var(--ip-font-d); font-size: clamp(24px,3vw,36px); color: var(--ip-white); letter-spacing: 2px; margin-bottom: 40px; }
.comment-reply-title { font-size: clamp(18px,2.5vw,26px); margin-bottom: 24px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 60px; }
.comment-list .comment { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.comment-list .children { list-style: none; padding-left: 40px; border-left: 2px solid rgba(191,167,111,.2); margin-top: 24px; }
.comment-author .avatar { border-radius: 50%; width: 44px; height: 44px; margin-right: 14px; vertical-align: middle; }
.comment-author b { font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ip-white); }
.comment-author a { color: var(--ip-white); }
.comment-metadata { font-size: 11px; color: var(--ip-gray); letter-spacing: 1px; margin: 6px 0 16px 58px; }
.comment-metadata a { color: var(--ip-gray); }
.comment-body .comment-content { font-size: 15px; line-height: 1.8; color: var(--ip-lgray); margin-left: 58px; }
.comment-body .comment-content p { margin-bottom: 12px; }
.comment-body .reply { margin-left: 58px; margin-top: 10px; }
.comment-body .reply a { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ip-gold); border-bottom: 1px solid transparent; transition: border-color .2s; }
.comment-body .reply a:hover { border-color: var(--ip-gold); }
.bypostauthor > .comment-body .comment-author b::after { content: ' ·'; color: var(--ip-gold); }
/* Comment form */
.comment-respond { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.07); border-radius: 4px; padding: 40px; }
.comment-form label { display: block; font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--ip-gray); margin-bottom: 8px; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea { width: 100%; padding: 12px 16px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); color: var(--ip-white); font-family: var(--ip-font-b); font-size: 14px; border-radius: 2px; outline: none; transition: border-color .2s; margin-bottom: 20px; }
.comment-form input:focus,
.comment-form textarea:focus { border-color: var(--ip-gold); }
.comment-form textarea { resize: vertical; min-height: 120px; }
.comment-form .form-submit { margin-top: 8px; }
.comment-form .submit { background: transparent; border: 1px solid var(--ip-gold); color: var(--ip-gold); padding: 12px 32px; font-family: var(--ip-font-b); font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s; }
.comment-form .submit:hover { background: var(--ip-gold); color: var(--ip-black); }
.comment-notes,
.logged-in-as { font-size: 12px; color: var(--ip-gray); margin-bottom: 20px; }
.logged-in-as a { color: var(--ip-gold); }
@media (max-width: 768px) {
  .comments-area { padding: 0 24px 60px; }
  .comment-list .children { padding-left: 20px; }
  .comment-metadata,
  .comment-body .comment-content,
  .comment-body .reply { margin-left: 0; }
}

/* ── 404 ── */
.ip-404 { height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; flex-direction: column; gap: 24px; padding: 60px; }
.ip-404 h1 { font-family: var(--ip-font-d); font-size: clamp(100px,18vw,220px); color: var(--ip-gold); line-height: 1; }
.ip-404 p { font-size: 16px; color: var(--ip-gray); max-width: 400px; line-height: 1.7; }

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .ip-nav { padding: 18px 28px; }
  .ip-nav__menu { display: none; }
  .ip-nav__burger { display: flex; }
  /* Hide lang switcher and CTA from the navbar — they live in the mobile overlay instead */
  .ip-nav .ip-lang-switcher { display: none !important; }
  .ip-nav__cta { display: none !important; }
  .ip-nav__mobile { display: none !important; position: fixed; inset: 0; background: var(--ip-black); z-index: 998; flex-direction: column; align-items: center; justify-content: center; gap: 32px; }
  .ip-nav__mobile.open { display: flex !important; }
  .ip-nav__mobile a { font-family: var(--ip-font-d); font-size: 44px; letter-spacing: 3px; color: var(--ip-white); text-transform: uppercase; transition: color .3s; }
  .ip-nav__mobile a:hover { color: var(--ip-gold); }
  /* Lang switcher inside the mobile overlay */
  .ip-nav__mobile .ip-lang-switcher { display: flex; margin-left: 0; margin-top: 8px; }
  /* Custom menu (wp_nav_menu) inside mobile overlay */
  .ip-nav__mobile-list { list-style: none; margin: 0; padding: 0; display: contents; }
  .ip-nav__mobile-list li { display: contents; }
}

@media (max-width: 1024px) {
  .ip-nav__menu { display: none; }
  .ip-nav__burger { display: flex; }
  .ip-nav__mobile { display: none !important; }
  .ip-nav__mobile.open { display: flex !important; }
  .ip-section, .ip-work, .ip-services, .ip-showreel, .ip-process, .ip-testimonials, .ip-cta, .ip-footer { padding: 80px 28px; }
  .ip-hero { padding: 0 28px 60px; }
  .ip-services { grid-template-columns: 1fr; gap: 40px; }
  .ip-work__grid { grid-template-columns: 1fr 1fr; }
  .ip-work__card:first-child { grid-row: auto; }
  .ip-process__steps { grid-template-columns: 1fr 1fr; gap: 40px; }
  .ip-process__steps::before { display: none; }
  .ip-stats { grid-template-columns: 1fr 1fr; }
  .ip-stat:nth-child(2) { border-right: none; }
  .ip-cta { display: block; }
  .ip-blog { padding: 120px 28px 80px; }
  .ip-posts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .ip-hero__headline { font-size: 68px; }
  .ip-work__grid { grid-template-columns: 1fr; }
  .ip-services__grid { grid-template-columns: 1fr; }
  .ip-stats { grid-template-columns: 1fr 1fr; }
  .ip-posts { grid-template-columns: 1fr; }
  .ip-process__steps { grid-template-columns: 1fr; }
}

/* ── Single Portfolio ──────────────────────────────────────── */
.ip-portfolio-single__hero { position:relative; width:100%; height:520px; overflow:hidden; }
.ip-portfolio-single__hero img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; }
.ip-portfolio-single__hero-overlay { position:absolute; inset:0; background:linear-gradient(to bottom, transparent 40%, var(--ip-black) 100%); }
.ip-portfolio-single__wrap { max-width:860px; margin:0 auto; padding:60px 28px 80px; }
.ip-portfolio-single__cats { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:20px; }
.ip-portfolio-cat-badge { display:inline-block; padding:4px 14px; border:1px solid var(--ip-gold); color:var(--ip-gold); border-radius:20px; font-size:11px; font-weight:700; letter-spacing:1.5px; text-transform:uppercase; transition:background .2s, color .2s; }
.ip-portfolio-cat-badge:hover { background:var(--ip-gold); color:var(--ip-black); }
.ip-portfolio-single__title { font-family:var(--ip-font-d); font-size:clamp(40px,6vw,72px); line-height:1; color:var(--ip-white); margin-bottom:32px; }
.ip-portfolio-single__video { position:relative; padding-bottom:56.25%; height:0; overflow:hidden; border-radius:8px; margin-bottom:40px; }
.ip-portfolio-single__video iframe,
.ip-portfolio-single__video video { position:absolute; inset:0; width:100%; height:100%; }
.ip-portfolio-single__content { font-size:16px; line-height:1.8; color:var(--ip-lgray); margin-bottom:48px; }
.ip-portfolio-single__content p { margin-bottom:16px; }
.ip-portfolio-single__back { display:inline-flex; align-items:center; gap:8px; color:var(--ip-gold); font-size:13px; font-weight:600; letter-spacing:.5px; border-bottom:1px solid transparent; transition:border-color .2s; }
.ip-portfolio-single__back:hover { border-bottom-color:var(--ip-gold); }
.ip-portfolio-single__related { padding:60px 28px 80px; max-width:1200px; margin:0 auto; }
.ip-portfolio-single__related-title { font-family:var(--ip-font-d); font-size:32px; color:var(--ip-white); margin-bottom:32px; letter-spacing:1px; }

/* ── Portfolio Archive & Template ─────────────────────────── */
.ip-portfolio-archive { padding:120px 28px 80px; max-width:1200px; margin:0 auto; }
.ip-portfolio-archive__header { text-align:center; margin-bottom:48px; }
.ip-portfolio-archive__title { font-family:var(--ip-font-d); font-size:clamp(48px,7vw,96px); line-height:.9; color:var(--ip-white); margin-bottom:16px; }
.ip-portfolio-archive__sub { color:var(--ip-gray); font-size:16px; max-width:500px; margin:0 auto; }
.ip-portfolio-filter { display:flex; flex-wrap:wrap; justify-content:center; gap:10px; margin-bottom:48px; }
.ip-portfolio-filter__btn { padding:8px 20px; border:1px solid rgba(255,255,255,.15); border-radius:30px; color:var(--ip-lgray); font-size:13px; font-weight:600; letter-spacing:.5px; transition:border-color .2s, color .2s, background .2s; }
.ip-portfolio-filter__btn:hover,
.ip-portfolio-filter__btn.active { border-color:var(--ip-gold); color:var(--ip-gold); }

/* ── Full Width page template ─────────────────────────────── */
.ip-page--full .ip-page__hero { width:100%; }
.ip-page--full .ip-page__hero-img { width:100%; max-height:400px; object-fit:cover; }
.ip-page__content--wide { max-width:1000px; margin:0 auto; padding:60px 28px 80px; }
.ip-page__title { font-family:var(--ip-font-d); font-size:clamp(40px,6vw,72px); color:var(--ip-white); margin-bottom:32px; }

@media (max-width: 768px) {
  .ip-portfolio-archive { padding:100px 20px 60px; }
  .ip-portfolio-single__wrap { padding:40px 20px 60px; }
  .ip-portfolio-single__related { padding:40px 20px 60px; }
  .ip-page__content--wide { padding:40px 20px 60px; }
}

