/*
Theme Name:  Rundaan International
Theme URI:   https://rundaan.com
Author:      Rundaan International
Author URI:  https://rundaan.com
Description: Official theme for Rundaan International — Luxury Automotive Media. Curated in confidence. Driven by legacy.
Version:     1.0.0
License:     Proprietary
Text Domain: rundaan
*/

/* =========================================================
   RESET & ROOT
   ========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:       #080808;
  --bg2:      #0d0d0d;
  --bg3:      #131313;
  --bg4:      #1a1a1a;
  --gold:     #c4a35a;
  --gold-lt:  #e8d5a3;
  --gold-dim: rgba(196,163,90,.14);
  --text:     #f0ebe0;
  --text2:    #918578;
  --text3:    #4a4238;
  --border:   rgba(196,163,90,.15);
  --borderl:  rgba(240,235,224,.06);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', sans-serif;
  --ease:  cubic-bezier(.16,1,.3,1);
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
img { max-width: 100%; display: block; }

/* =========================================================
   GRAIN OVERLAY
   ========================================================= */
.grain {
  position: fixed; inset: 0;
  pointer-events: none; z-index: 9998; opacity: .04;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px;
}

/* =========================================================
   PAGE LOADER
   ========================================================= */
.loader {
  position: fixed; inset: 0; background: var(--bg);
  z-index: 99999; display: flex; align-items: center;
  justify-content: center; flex-direction: column; gap: 28px;
  transition: opacity .7s var(--ease), visibility .7s;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--serif); font-size: 28px;
  letter-spacing: .4em; text-transform: uppercase; color: var(--gold);
}
.loader-bar {
  width: 160px; height: 1px; background: var(--text3); position: relative; overflow: hidden;
}
.loader-bar::after {
  content: ''; position: absolute; inset: 0; left: -100%;
  background: var(--gold);
  animation: loaderbar .9s .1s var(--ease) forwards;
}

/* =========================================================
   PROGRESS BAR
   ========================================================= */
#prog {
  position: fixed; top: 0; left: 0; height: 1.5px;
  background: var(--gold); z-index: 10000; width: 0;
  transition: width .08s linear;
}

/* =========================================================
   BACK TO TOP
   ========================================================= */
.back-top {
  position: fixed; bottom: 40px; right: 40px; z-index: 200;
  background: var(--gold); color: var(--bg); border: none;
  width: 44px; height: 44px; cursor: pointer; font-size: 18px;
  opacity: 0; transform: translateY(12px);
  transition: opacity .4s, transform .4s, background .3s;
  pointer-events: none; line-height: 1; display: flex;
  align-items: center; justify-content: center;
}
.back-top.show { opacity: 1; transform: none; pointer-events: all; }
.back-top:hover { background: var(--gold-lt); }

/* =========================================================
   LAYOUT
   ========================================================= */
.container { max-width: 1200px; margin: 0 auto; padding: 0 48px; }

/* =========================================================
   REVEAL ANIMATIONS
   ========================================================= */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity .95s var(--ease), transform .95s var(--ease);
}
.reveal.vis { opacity: 1; transform: none; }
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }
.d4 { transition-delay: .45s; }

/* =========================================================
   NAV
   ========================================================= */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 30px 48px; display: flex; align-items: center;
  justify-content: space-between; transition: all .55s var(--ease);
}
#nav.scrolled {
  background: rgba(8,8,8,.96); padding: 18px 48px;
  border-bottom: 1px solid var(--border); backdrop-filter: blur(16px);
}
.nav-logo {
  display: flex; align-items: center;
  position: relative; z-index: 1001;
  height: 36px !important; overflow: hidden;
}
/* Logo — transparent PNG 828×161px */
.nav-logo-img {
  height: 36px !important; max-height: 36px !important;
  width: auto !important; max-width: 190px !important;
  object-fit: contain; display: block !important;
  filter: brightness(2.4);
  flex-shrink: 0;
  transition: opacity .35s;
}
.nav-logo:hover .nav-logo-img { opacity: .65; }

.foot-logo-img {
  height: 42px !important; max-height: 42px !important;
  width: auto !important; max-width: 230px !important;
  object-fit: contain; display: block;
  filter: brightness(2.4);
  margin-bottom: 14px;
}

.mobile-logo {
  height: 50px !important; max-height: 50px !important;
  width: auto !important; max-width: 260px !important;
  object-fit: contain; display: block;
  filter: brightness(2.4);
  margin-bottom: 24px;
}

/* Inline quote below about steps */
.about-inline-q {
  margin-top: 36px; padding: 28px 0 0;
  border-top: 1px solid var(--border);
}
.about-inline-q p {
  font-family: var(--serif); font-style: italic;
  font-size: 17px; color: var(--text); line-height: 1.6; margin-bottom: 12px;
}
.about-inline-q cite {
  font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); font-style: normal;
}
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-size: 10.5px; font-weight: 400; letter-spacing: .2em;
  text-transform: uppercase; color: var(--text2); transition: color .3s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 24px; }
.nav-cta {
  font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--bg); background: var(--gold); padding: 11px 26px;
  transition: background .3s; white-space: nowrap;
}
.nav-cta:hover { background: var(--gold-lt); }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none;
  padding: 8px; cursor: pointer; z-index: 1001;
  flex-direction: column; gap: 7px; width: 38px;
}
.toggle-line {
  display: block; width: 24px; height: 1px;
  background: var(--text); transition: all .45s var(--ease);
  transform-origin: center;
}
#nav.menu-open .toggle-line:first-child { transform: translateY(4px) rotate(45deg); }
#nav.menu-open .toggle-line:last-child  { transform: translateY(-4px) rotate(-45deg); }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: 0; background: var(--bg); z-index: 999;
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .5s var(--ease), visibility .5s;
}
.mobile-menu.open { opacity: 1; visibility: visible; pointer-events: all; }
.mobile-menu a {
  font-family: var(--serif); font-size: clamp(30px,7vw,52px);
  color: var(--text2); transition: color .3s;
  padding: 8px 0;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .m-cta {
  font-family: var(--sans); font-size: 11px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--bg); background: var(--gold);
  padding: 14px 40px; margin-top: 32px;
}
.mobile-menu .m-cta:hover { background: var(--gold-lt); color: var(--bg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; height: 100vh; min-height: 700px;
  display: flex; align-items: center; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%; opacity: .38;
  animation: kenburns 24s ease-in-out infinite alternate;
}
.hero-ov {
  position: absolute; inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8,8,8,.38) 0%,
    rgba(8,8,8,.05) 35%,
    rgba(8,8,8,.6)  72%,
    rgba(8,8,8,1)  100%
  );
}
.hero-content {
  position: relative; z-index: 2; width: 100%;
  max-width: 1200px; margin: 0 auto; padding: 0 48px;
}
.hero-ey {
  font-size: 10.5px; font-weight: 400; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 36px;
  opacity: 0; animation: fadeUp 1s .25s var(--ease) forwards;
}
.hero-h1 {
  font-size: clamp(52px,8.5vw,112px); font-weight: 400;
  line-height: .97; max-width: 920px; margin-bottom: 36px;
  opacity: 0; animation: fadeUp 1.1s .45s var(--ease) forwards;
}
.hero-h1 em { font-style: italic; color: var(--gold-lt); }
.hero-sub {
  font-size: 15px; font-weight: 300; color: var(--text2);
  max-width: 500px; line-height: 1.9; margin-bottom: 56px;
  opacity: 0; animation: fadeUp 1s .65s var(--ease) forwards;
}
.hero-ctas {
  display: flex; gap: 20px; align-items: center;
  opacity: 0; animation: fadeUp 1s .85s var(--ease) forwards;
}
.btn-p {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--bg); background: var(--gold); padding: 17px 38px;
  display: inline-block; transition: background .3s, transform .3s;
}
.btn-p:hover { background: var(--gold-lt); transform: translateY(-2px); }
.btn-s {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--text); border: 1px solid rgba(240,235,224,.28);
  padding: 17px 38px; display: inline-block; transition: all .3s;
}
.btn-s:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.hero-scroll {
  position: absolute; bottom: 44px; left: 48px; z-index: 2;
  display: flex; align-items: center; gap: 18px;
  opacity: 0; animation: fadeIn 1s 1.1s forwards;
}
.hero-scroll span {
  font-size: 9.5px; letter-spacing: .25em;
  text-transform: uppercase; color: var(--text3);
}
.scroll-line {
  width: 64px; height: 1px; background: var(--text3);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; inset: 0; left: -100%;
  background: var(--gold);
  animation: scanline 2.2s 1.5s ease-in-out infinite;
}
.hero-meta {
  position: absolute; right: 48px; bottom: 44px; z-index: 2;
  text-align: right; opacity: 0; animation: fadeIn 1s 1s forwards;
}
.hero-meta p {
  font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text3); line-height: 2.4;
}

/* =========================================================
   TICKER
   ========================================================= */
.ticker { background: var(--gold); padding: 14px 0; overflow: hidden; }
.ticker-track {
  display: flex; white-space: nowrap;
  animation: tickeranim 32s linear infinite;
}
.ticker-track:hover { animation-play-state: paused; }
.ti {
  display: inline-flex; align-items: center; gap: 26px;
  padding: 0 26px; font-size: 10.5px; font-weight: 400;
  letter-spacing: .22em; text-transform: uppercase; color: var(--bg);
}
.ti-dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: rgba(8,8,8,.35); flex-shrink: 0;
}

/* =========================================================
   STATS
   ========================================================= */
.stats { padding: 88px 0; border-bottom: 1px solid var(--borderl); }
.stats-g { display: grid; grid-template-columns: repeat(4,1fr); }
.stat {
  padding: 36px 28px; border-right: 1px solid var(--borderl); text-align: center;
}
.stat:last-child { border-right: none; }
.stat-n {
  display: block; font-family: var(--serif);
  font-size: 72px; font-weight: 300;
  color: var(--gold); line-height: 1; margin-bottom: 14px;
}
.stat-l {
  font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text2);
}

/* =========================================================
   SHARED SECTION HELPERS
   ========================================================= */
.eyebrow {
  font-size: 10.5px; font-weight: 400; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 24px; display: block;
}
.sec-title {
  font-size: clamp(38px,5vw,66px); font-weight: 400;
  line-height: 1.08; color: var(--text); margin-bottom: 30px;
}
.sec-title em { font-style: italic; color: var(--gold-lt); }
.body-t {
  font-size: 15px; color: var(--text2); line-height: 1.95; margin-bottom: 18px;
}
.sec-hdr {
  display: flex; align-items: flex-end;
  justify-content: space-between; margin-bottom: 72px;
}
.sec-link {
  font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center;
  gap: 12px; white-space: nowrap; transition: gap .3s;
}
.sec-link:hover { gap: 22px; }

/* =========================================================
   ABOUT
   ========================================================= */
.about { padding: 144px 0; }
.about-g {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: center;
}
.about-steps {
  display: flex; margin-top: 48px;
  border-top: 1px solid var(--borderl); padding-top: 36px;
}
.step { flex: 1; padding-right: 20px; border-right: 1px solid var(--borderl); margin-right: 20px; }
.step:last-child { border-right: none; margin-right: 0; padding-right: 0; }
.step-n {
  font-family: var(--serif); font-size: 11px;
  color: var(--gold); letter-spacing: .2em; margin-bottom: 10px;
}
.step-l { font-family: var(--serif); font-size: 22px; color: var(--text); }
.about-img { position: relative; overflow: hidden; }
.about-img img {
  width: 100%; height: 600px; object-fit: cover;
  transition: transform .9s var(--ease);
}
.about-img:hover img { transform: scale(1.03); }

/* =========================================================
   QUOTE DIVIDER
   ========================================================= */
.q-div {
  padding: 96px 0; background: var(--bg2); text-align: center;
  border-top: 1px solid var(--borderl); border-bottom: 1px solid var(--borderl);
}
.q-div blockquote {
  font-family: var(--serif); font-size: clamp(26px,4vw,52px);
  font-style: italic; font-weight: 300;
  max-width: 820px; margin: 0 auto 26px; line-height: 1.3; color: var(--text);
}
.q-div cite {
  font-size: 10.5px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); font-style: normal;
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects { padding: 144px 0; }
.proj-g { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.proj-c {
  position: relative; overflow: hidden; background: var(--bg3); cursor: pointer;
}
.proj-c::before { content: ''; display: block; padding-top: 132%; }
.proj-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: transform 1s var(--ease), filter 1s var(--ease);
  filter: brightness(.5) saturate(.6);
}
.proj-c:hover .proj-img { transform: scale(1.07); filter: brightness(.3) saturate(.4); }
.proj-cnt {
  position: absolute; inset: 0; padding: 36px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.proj-tag {
  font-size: 9.5px; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 14px;
}
.proj-line {
  width: 28px; height: 1px; background: var(--gold);
  margin-bottom: 18px; transition: width .55s var(--ease);
}
.proj-c:hover .proj-line { width: 60px; }
.proj-title {
  font-family: var(--serif); font-size: 30px;
  color: var(--text); line-height: 1.2; margin-bottom: 14px;
}
.proj-desc {
  font-size: 13px; color: var(--text2); line-height: 1.75;
  max-height: 0; overflow: hidden;
  transition: max-height .65s var(--ease), opacity .55s; opacity: 0;
}
.proj-c:hover .proj-desc { max-height: 120px; opacity: 1; }

/* =========================================================
   PUBLICATION
   ========================================================= */
.pub {
  padding: 144px 0; background: var(--bg2);
  border-top: 1px solid var(--borderl);
}
.pub-g {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 96px; align-items: center;
}
.pub-vid {
  position: relative; background: var(--bg4); border: 1px solid var(--border);
}
.pub-vid video { width: 100%; display: block; max-height: 520px; object-fit: cover; }
.pub-tag-abs {
  position: absolute; top: -15px; left: 28px;
  background: var(--gold); color: var(--bg);
  font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; padding: 6px 16px; z-index: 2;
}
.pub-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.pub-spec { border-top: 1px solid var(--border); padding-top: 20px; }
.spec-l {
  font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 10px;
}
.spec-v { font-family: var(--serif); font-size: 20px; color: var(--gold); }
.pub-q {
  margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--borderl);
}
.pub-q p {
  font-family: var(--serif); font-style: italic;
  font-size: 20px; color: var(--text); line-height: 1.55; margin-bottom: 14px;
}
.pub-q cite {
  font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold); font-style: normal;
}

/* =========================================================
   TESTIMONIALS
   ========================================================= */
.testis { padding: 120px 0; }
.testis-head { text-align: center; margin-bottom: 72px; }
.testi-g { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.testi {
  background: var(--bg3); padding: 52px 36px;
  border: 1px solid var(--borderl); position: relative;
  transition: border-color .4s;
}
.testi:hover { border-color: var(--border); }
.testi::before {
  content: '\201C'; font-family: var(--serif); font-size: 88px;
  color: var(--gold); opacity: .22; position: absolute;
  top: 12px; left: 24px; line-height: 1;
}
.testi-text {
  font-family: var(--serif); font-style: italic;
  font-size: 17px; color: var(--text); line-height: 1.68;
  margin-bottom: 28px; position: relative; z-index: 1;
}
.testi-auth {
  font-size: 9.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold);
}

/* =========================================================
   BRAND PARTNERS
   ========================================================= */
.partners {
  padding: 120px 0; background: var(--bg2); overflow: hidden;
  border-top: 1px solid var(--borderl); border-bottom: 1px solid var(--borderl);
}
.partners-hdr { text-align: center; margin-bottom: 72px; }
.logos-row {
  position: relative; overflow: hidden; padding: 8px 0; margin-bottom: 4px;
}
.logos-row::before,
.logos-row::after {
  content: ''; position: absolute; top: 0; bottom: 0;
  width: 160px; z-index: 2; pointer-events: none;
}
.logos-row::before { left: 0; background: linear-gradient(to right, var(--bg2), transparent); }
.logos-row::after  { right: 0; background: linear-gradient(to left, var(--bg2), transparent); }
.logos-track {
  display: flex; white-space: nowrap;
  animation: logoscroll 50s linear infinite;
}
.logos-track-r { animation: logoscroll-r 56s linear infinite; }
.logos-track:hover,
.logos-track-r:hover { animation-play-state: paused; }
.logo-i {
  display: inline-flex; align-items: center;
  padding: 18px 48px; border-right: 1px solid var(--borderl); cursor: default;
}
.logo-i span {
  font-size: 12.5px; letter-spacing: .17em; text-transform: uppercase;
  color: var(--text3); font-weight: 400; white-space: nowrap; transition: color .3s;
}
.logo-i:hover span { color: var(--gold); }
.logo-serif span {
  font-family: var(--serif); font-size: 20px; letter-spacing: .07em;
  font-style: italic; text-transform: none; font-weight: 400;
}
.row-label {
  display: flex; align-items: center; gap: 20px;
  margin: 0 48px 24px; opacity: .55;
}
.row-label span {
  font-size: 9.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--text3); white-space: nowrap;
}
.row-label::after { content: ''; flex: 1; height: 1px; background: var(--borderl); }

/* Logo image treatment */
.logo-img {
  height: 40px; width: auto; max-width: 160px;
  object-fit: contain; display: block;
  filter: grayscale(1) brightness(1.8);
  opacity: .28; transition: filter .45s, opacity .45s;
}
.logo-img.wb { filter: invert(1) grayscale(1) brightness(1.8); }
.logo-i:hover .logo-img       { filter: grayscale(0) brightness(1.1); opacity: .9; }
.logo-i:hover .logo-img.wb    { filter: invert(1) grayscale(0) brightness(1.1); opacity: .9; }
.logo-i.li-img { padding: 14px 40px; }

/* =========================================================
   SMASH BALLOON — INSTAGRAM FEED OVERRIDES
   ========================================================= */
.insta-feed { margin-top: 60px; }

/* Remove Smash Balloon's default white background & border */
#sb_instagram,
#sb_instagram .sbi_inner { background: transparent !important; padding: 0 !important; }

/* Grid layout — match site columns */
#sb_instagram .sbi_item { overflow: hidden; }
#sb_instagram .sbi_photo_wrap,
#sb_instagram .sbi_photo { display: block; width: 100%; height: 100%; }
#sb_instagram img.sbi_img {
  width: 100% !important; height: 100% !important;
  object-fit: cover !important;
  opacity: .62;
  transition: opacity .55s, transform .85s var(--ease);
  filter: none !important;
}
#sb_instagram .sbi_item:hover img.sbi_img {
  opacity: 1; transform: scale(1.05);
}

/* Hide Smash Balloon branding & follow button (we have our own) */
.sbi_follow_btn, #sbi_mod_error,
.sb-instagram-feed-header { display: none !important; }

/* Load more button — style to match theme */
.sbi_load_btn {
  background: transparent !important;
  border: 1px solid var(--border) !important;
  color: var(--gold) !important;
  font-family: var(--sans) !important;
  font-size: 10.5px !important;
  letter-spacing: .2em !important;
  text-transform: uppercase !important;
  padding: 14px 36px !important;
  margin-top: 40px !important;
  transition: background .3s !important;
}
.sbi_load_btn:hover {
  background: var(--gold-dim) !important;
}

/* Fallback notice when plugin not installed */
.insta-notice {
  text-align: center; padding: 60px 40px;
  border: 1px solid var(--borderl); margin-top: 60px;
}
.insta-notice p {
  font-size: 14px; color: var(--text2); line-height: 1.8;
}
.insta-notice strong { color: var(--gold); font-weight: 400; }
.insta { padding: 120px 0; }
.insta-head { text-align: center; margin-bottom: 60px; }
.insta-g {
  display: grid; grid-template-columns: repeat(4,1fr); gap: 2px;
}
.insta-i {
  position: relative; overflow: hidden;
  aspect-ratio: 1; background: var(--bg3); display: block;
}
.insta-i img {
  width: 100%; height: 100%; object-fit: cover; opacity: .62;
  transition: opacity .55s, transform .85s var(--ease);
}
.insta-i:hover img { opacity: 1; transform: scale(1.05); }
.insta-ov {
  position: absolute; inset: 0; background: rgba(8,8,8,.62);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .4s;
}
.insta-i:hover .insta-ov { opacity: 1; }
.insta-ov span {
  font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold);
}
.insta-cta {
  display: block; text-align: center; margin-top: 44px;
  font-size: 10.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--text3); transition: color .3s;
}
.insta-cta:hover { color: var(--gold); }

/* =========================================================
   NEWSLETTER
   ========================================================= */
.nl {
  padding: 144px 0; background: var(--bg3);
  border-top: 1px solid var(--borderl); text-align: center;
}
.nl-title { margin-bottom: 20px; max-width: 580px; margin-left: auto; margin-right: auto; }
.nl-body {
  font-size: 15px; color: var(--text2);
  max-width: 460px; margin: 0 auto 52px; line-height: 1.9;
}
.nl-form { display: flex; max-width: 480px; margin: 0 auto 16px; }
.nl-form input {
  flex: 1; background: var(--bg4); border: 1px solid var(--border);
  border-right: none; padding: 16px 20px;
  font-family: var(--sans); font-size: 13px;
  font-weight: 300; color: var(--text); outline: none;
  transition: border-color .3s;
}
.nl-form input::placeholder { color: var(--text3); }
.nl-form input:focus { border-color: var(--gold); }
.nl-form button {
  background: var(--gold); border: none; padding: 16px 28px;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .2em;
  text-transform: uppercase; color: var(--bg);
  cursor: pointer; transition: background .3s; white-space: nowrap;
}
.nl-form button:hover { background: var(--gold-lt); }
.nl-note { font-size: 10.5px; color: var(--text3); letter-spacing: .1em; }
.nl-meta {
  display: flex; justify-content: center; gap: 60px;
  margin-top: 72px; padding-top: 48px; border-top: 1px solid var(--borderl);
}
.nl-m span:first-child {
  display: block; font-family: var(--serif);
  font-size: 30px; color: var(--gold); margin-bottom: 8px;
}
.nl-m span:last-child {
  font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text3);
}

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding: 144px 0; }
.contact-g { display: grid; grid-template-columns: 1fr 1.4fr; gap: 100px; }
.contact-title {
  font-size: clamp(36px,4.5vw,60px); font-weight: 400;
  line-height: 1.1; margin-bottom: 36px;
}
.contact-title em { font-style: italic; color: var(--gold); }
.c-det { margin-bottom: 32px; }
.c-lbl {
  font-size: 9.5px; letter-spacing: .24em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 9px;
}
.c-val { font-size: 14px; color: var(--text2); line-height: 1.7; }
.c-val a { color: var(--gold); transition: opacity .3s; }
.c-val a:hover { opacity: .75; }
.form-r { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.fg { margin-bottom: 16px; }
.fg label {
  display: block; font-size: 9.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--text3); margin-bottom: 11px;
}
.fg input, .fg select, .fg textarea {
  width: 100%; background: transparent; border: none;
  border-bottom: 1px solid var(--borderl); padding: 13px 0;
  font-family: var(--sans); font-size: 13px;
  font-weight: 300; color: var(--text); outline: none;
  transition: border-color .3s; appearance: none;
}
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color: var(--gold); }
.fg select option { background: var(--bg3); }
.fg textarea { resize: vertical; min-height: 110px; }
.form-submit {
  background: var(--gold); border: none; padding: 18px;
  font-family: var(--sans); font-size: 10.5px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--bg); cursor: pointer;
  transition: background .3s, transform .2s; width: 100%; margin-top: 12px;
}
.form-submit:hover { background: var(--gold-lt); transform: translateY(-1px); }
.form-submit:disabled { opacity: .6; cursor: default; transform: none; }
.form-msg {
  display: none; margin-top: 16px; font-size: 11.5px;
  letter-spacing: .14em; text-align: center; line-height: 1.6;
}
.form-msg.success { color: var(--gold); }
.form-msg.error   { color: #e07070; }

/* =========================================================
   FOOTER
   ========================================================= */
footer {
  background: var(--bg2); border-top: 1px solid var(--border);
  padding: 64px 0 36px;
}
.foot-in { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.foot-top {
  display: flex; justify-content: space-between;
  align-items: flex-start; margin-bottom: 60px;
}
.foot-logo {
  font-family: var(--serif); font-size: 28px;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px;
}
.foot-logo em { color: var(--gold); font-style: normal; }
.foot-tag {
  font-size: 11px; color: var(--text3);
  letter-spacing: .16em; font-style: italic; font-family: var(--serif);
}
.foot-nav { display: flex; gap: 60px; }
.foot-col h4 {
  font-size: 9.5px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px;
  font-family: var(--sans); font-weight: 400;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 13px; }
.foot-col a { font-size: 13px; color: var(--text3); transition: color .3s; }
.foot-col a:hover { color: var(--gold); }
.foot-bot {
  border-top: 1px solid var(--borderl); padding-top: 30px;
  display: flex; justify-content: space-between; align-items: center;
}
.foot-copy { font-size: 11px; color: var(--text3); letter-spacing: .1em; }
.foot-soc { display: flex; gap: 28px; }
.foot-soc a {
  font-size: 9.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--text3); transition: color .3s;
}
.foot-soc a:hover { color: var(--gold); }

/* =========================================================
   KEYFRAMES
   ========================================================= */
@keyframes fadeUp  { from { opacity:0; transform:translateY(22px); } to { opacity:1; transform:none; } }
@keyframes fadeIn  { from { opacity:0; } to { opacity:1; } }
@keyframes tickeranim  { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
@keyframes logoscroll   { 0% { transform:translateX(0); } 100% { transform:translateX(-50%); } }
@keyframes logoscroll-r { 0% { transform:translateX(-50%); } 100% { transform:translateX(0); } }
@keyframes scanline { 0%,100% { left:-100%; } 50% { left:100%; } }
@keyframes kenburns { from { transform:scale(1); } to { transform:scale(1.07); } }
@keyframes loaderbar { from { left:-100%; } to { left:0; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .about-g, .pub-g, .contact-g { grid-template-columns: 1fr; gap: 56px; }
  .about-img { order: -1; }
  .stats-g { grid-template-columns: repeat(2,1fr); }
  .proj-g { grid-template-columns: 1fr 1fr; }
  .testi-g { grid-template-columns: 1fr 1fr; }
  .insta-g { grid-template-columns: repeat(2,1fr); }
  .foot-top { flex-direction: column; gap: 44px; }
  .nl-meta { gap: 36px; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  #nav { padding: 18px 20px; }
  #nav.scrolled { padding: 13px 20px; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-content { padding: 0 20px; }
  .hero-h1 { font-size: clamp(42px,12vw,72px); }
  .hero-scroll, .hero-meta { display: none; }
  .proj-g { grid-template-columns: 1fr; }
  .testi-g { grid-template-columns: 1fr; }
  .form-r { grid-template-columns: 1fr; }
  .nl-form { flex-direction: column; }
  .nl-form input { border-right: 1px solid var(--border); border-bottom: none; }
  .sec-hdr { flex-direction: column; align-items: flex-start; gap: 18px; }
  .foot-nav { flex-direction: column; gap: 32px; }
  .foot-in { padding: 0 20px; }
  .foot-bot { flex-direction: column; gap: 16px; text-align: center; }
  .back-top { bottom: 20px; right: 20px; }
  .row-label { margin: 0 20px 24px; }
}

@media (max-width: 480px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .about-steps { flex-direction: column; gap: 20px; }
  .step { border-right: none; border-bottom: 1px solid var(--borderl); padding-bottom: 20px; margin-bottom: 0; padding-right: 0; margin-right: 0; }
  .step:last-child { border-bottom: none; }
  .stats-g { grid-template-columns: 1fr 1fr; }
  .nl-meta { flex-direction: column; align-items: center; gap: 24px; }
}
