:root {
  --crimson: #E60012;
  --crimson-dark: #B8000E;
  --dark: #090B10;
  --charcoal: #121620;
  --surface: #F8FAFC;
  --white: #FFFFFF;
  --muted: #475569;
  --border: #E2E8F0;
  --in-oklab: ;
}

@supports (background: linear-gradient(in oklab, white, black)) {
  :root {
    --in-oklab: in oklab;
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}
html { scroll-behavior: smooth; }
body {
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
  color: #111318;
  background: #FFFFFF;
}
a { color: inherit; text-decoration: none; }

/* Original SVG wave motif background */
.crimson-wave-bg {
  background-color: var(--crimson);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='rgba(255,255,255,0.09)' stroke-width='1.5'%3E%3Ccircle cx='300' cy='300' r='60'/%3E%3Ccircle cx='300' cy='300' r='110'/%3E%3Ccircle cx='300' cy='300' r='160'/%3E%3Ccircle cx='300' cy='300' r='210'/%3E%3Ccircle cx='300' cy='300' r='260'/%3E%3Ccircle cx='300' cy='300' r='310'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 520px 520px;
}

/* 1. STICKY TOP HEADER */
.ysn-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 76px;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(10,12,16,0.86) 0%, rgba(10,12,16,0.35) 100%);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ysn-header-inner {
  max-width: 1360px;
  margin: 0 auto;
  height: 100%;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.ysn-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 900;
  font-size: 19px;
  letter-spacing: 0.5px;
}
.ysn-logo em { font-style: normal; color: #fff; font-weight: 600; opacity: 0.85; }

.ysn-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.ysn-nav-item { position: relative; }
.ysn-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 26px 0;
  transition: color 0.2s;
}
.nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--crimson);
  opacity: 0;
  transform: scale(0.4);
  transition: all 0.2s ease;
}
.ysn-nav-item:hover .nav-dot,
.ysn-nav-item.is-active .nav-dot {
  opacity: 1;
  transform: scale(1);
}
.ysn-nav-item:hover .ysn-nav-link,
.ysn-nav-item.is-active .ysn-nav-link { color: #FFFFFF; }

.ysn-dropdown {
  position: absolute;
  top: 100%;
  left: -14px;
  min-width: 175px;
  background: rgba(17,19,24,0.96);
  border-top: 2px solid var(--crimson);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  display: none;
  flex-direction: column;
  padding: 8px 0;
}
.ysn-nav-item.has-dropdown:hover .ysn-dropdown { display: flex; }
.ysn-dropdown a {
  padding: 10px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: rgba(255,255,255,0.82);
  transition: background 0.15s, color 0.15s;
}
.ysn-dropdown a:hover { background: var(--crimson); color: #fff; }

.ysn-header-right { display: flex; align-items: center; gap: 18px; }
.ysn-socials { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); }
.ysn-socials a:hover { color: var(--crimson); }

.ysn-lang-wrap { position: relative; }
.ysn-lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.ysn-lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  width: 120px;
  background: var(--crimson);
  display: none;
  flex-direction: column;
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
}
.ysn-lang-wrap:hover .ysn-lang-menu,
.ysn-lang-menu.open { display: flex; }
.ysn-lang-menu button {
  background: transparent;
  border: none;
  color: #fff;
  padding: 10px 14px;
  text-align: left;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.ysn-lang-menu button:hover { background: rgba(0,0,0,0.2); }

.ysn-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.ysn-mobile-toggle span { width: 22px; height: 2px; background: #fff; display: block; transition: transform 0.25s, opacity 0.25s; }
.ysn-mobile-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.ysn-mobile-toggle.open span:nth-child(2) { opacity: 0; }
.ysn-mobile-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.ysn-mobile-drawer {
  position: fixed;
  top: 76px; left: 0; right: 0;
  background: rgba(14,16,22,0.98);
  backdrop-filter: blur(12px);
  border-top: 2px solid var(--crimson);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 999;
  display: none;
  flex-direction: column;
  padding: 12px 20px 20px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.55);
}
.ysn-mobile-drawer.open { display: flex; }
.ysn-mobile-drawer a {
  color: rgba(255,255,255,0.92);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.9px;
  padding: 13px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.ysn-mobile-drawer a:last-child { border-bottom: none; }
.ysn-mobile-drawer a:hover,
.ysn-mobile-drawer a:active { color: var(--crimson); }

/* 2. HERO SECTION */
.hero-section {
  position: relative;
  min-height: 92vh;
  background: #0d0f14;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-bg-media {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 35%, rgba(230,0,18,0.28), transparent 55%),
              url('https://images.unsplash.com/photo-1550745165-9bc0b252726f?w=1600&q=80') center/cover no-repeat;
  filter: brightness(0.55);
  transform: scale(1.04);
  animation: slowPan 18s ease-in-out infinite alternate;
}
@keyframes slowPan { from { transform: scale(1.03); } to { transform: scale(1.1); } }
.hero-lower-strip {
  position: relative;
  z-index: 2;
  background: linear-gradient(180deg, rgba(17,19,24,0) 0%, rgba(45,48,54,0.92) 38%, #363940 100%);
  padding: 90px 20px 36px;
  text-align: center;
  color: #fff;
}
.hero-tagline {
  font-size: clamp(30px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.btn-outline-hero {
  display: inline-block;
  padding: 12px 34px;
  border: 1.5px solid rgba(255,255,255,0.75);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: all 0.25s ease;
}
.btn-outline-hero:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}
.hero-scroll-ind {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.scroll-line {
  width: 2px;
  height: 36px;
  background: rgba(255,255,255,0.28);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: "";
  position: absolute;
  top: 0; left: -2px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--crimson);
  animation: scrollDot 1.6s infinite;
}
@keyframes scrollDot { 0% { top: 0; } 100% { top: 30px; } }

/* 3. FEATURED PROJECTS (3-COLUMN PORTRAIT CARDS) */
.featured-section { background: #fff; padding-bottom: 64px; }
.featured-banner {
  padding: 58px 20px 150px;
  text-align: center;
  color: #fff;
}
.featured-banner h2 {
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 900;
  letter-spacing: 1.5px;
}
.featured-grid-wrap {
  max-width: 1240px;
  margin: -105px auto 0;
  padding: 0 24px;
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.portrait-card {
  position: relative;
  height: 440px;
  border-radius: 12px;
  overflow: hidden;
  background: #14161c;
  box-shadow: 0 20px 44px rgba(0,0,0,0.18);
}
.portrait-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.portrait-card:hover img { transform: scale(1.07); }
.portrait-vertical-title {
  position: absolute;
  left: 20px; bottom: 78px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.75);
  transition: opacity 0.25s;
}
.portrait-pill-default {
  position: absolute;
  left: 50%; bottom: 22px;
  transform: translateX(-50%);
  background: rgba(17,19,24,0.82);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  padding: 8px 24px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  transition: opacity 0.25s;
}
.portrait-hover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17,19,24,0.72) 0%, rgba(180,0,14,0.88) 100%);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.portrait-card:hover .portrait-hover-overlay { opacity: 1; }
.portrait-card:hover .portrait-vertical-title,
.portrait-card:hover .portrait-pill-default { opacity: 0; }
.overlay-meta span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; opacity: 0.85; }
.overlay-meta h3 { font-size: 24px; font-weight: 900; margin: 6px 0 10px; }
.overlay-meta p { font-size: 13.5px; line-height: 1.6; opacity: 0.92; }
.overlay-actions { display: flex; flex-direction: column; gap: 8px; }
.btn-crimson {
  display: block;
  text-align: center;
  background: var(--crimson);
  color: #fff;
  padding: 10px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 4px;
  transition: background 0.2s;
}
.btn-crimson:hover { background: #9a000c; }
.btn-crimson-outline {
  display: block;
  text-align: center;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.5);
  color: #fff;
  padding: 9px 14px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 4px;
}
.btn-crimson-outline:hover { background: #fff; color: var(--crimson); }

.center-cta-wrap { text-align: center; margin-top: 38px; }
.btn-outline-dark {
  display: inline-block;
  padding: 12px 36px;
  border: 1.5px solid #CBD5E1;
  color: #111318;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  transition: all 0.25s;
}
.btn-outline-dark:hover {
  background: var(--crimson);
  border-color: var(--crimson);
  color: #fff;
}

/* 4. LATEST NEWS SECTION */
.news-section { max-width: 1240px; margin: 0 auto; padding: 64px 24px; }
.section-heading { font-size: 30px; font-weight: 900; letter-spacing: 1px; margin-bottom: 24px; }
.news-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 28px;
}
.news-tabs { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.news-tab {
  background: none; border: none;
  font-family: inherit;
  font-size: 13px; font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 0;
}
.news-tab .tab-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--crimson); display: none; }
.news-tab.active { color: #111318; }
.news-tab.active .tab-dot { display: inline-block; }

.search-pill {
  display: flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  background: #F8FAFC;
}
.search-pill input {
  border: none; background: transparent; outline: none;
  font-size: 13px; width: 170px; font-family: inherit;
}
.search-pill button { border: none; background: none; cursor: pointer; color: var(--muted); display: flex; }

.news-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: 28px; align-items: stretch; }
.news-featured-card {
  position: relative;
  border-left: 5px solid var(--crimson);
  border-radius: 6px;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background: #14161c;
}
.news-featured-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.6; transition: transform 0.4s; }
.news-featured-card:hover img { transform: scale(1.05); }
.news-featured-body {
  position: relative; z-index: 2;
  padding: 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,12,16,0.92) 100%);
}
.news-featured-body h3 { font-size: 20px; font-weight: 800; line-height: 1.4; margin-bottom: 8px; }
.news-date { font-size: 12px; opacity: 0.85; display: inline-flex; align-items: center; gap: 6px; }

.news-list-col { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.news-row-item {
  display: flex; flex-direction: column; gap: 6px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.2s, transform 0.2s;
}
.news-row-item:hover { border-color: var(--crimson); transform: translateX(4px); }
.news-row-item h4 { font-size: 15px; font-weight: 700; line-height: 1.45; color: #111318; }
.news-row-meta { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.news-row-dot { width: 8px; height: 8px; background: var(--crimson); display: inline-block; border-radius: 2px; }

/* 5. ABOUT SECTION (ASYMMETRIC OVERLAPPING BANNER) */
.about-section { max-width: 1240px; margin: 20px auto 70px; padding: 0 24px; }
.about-banner {
  border-radius: 16px;
  display: grid;
  grid-template-columns: 0.95fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 44px;
  color: #fff;
  position: relative;
}
.about-photo-wrap {
  margin-top: -70px;
  margin-bottom: -20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 24px 50px rgba(0,0,0,0.3);
  height: 360px;
}
.about-photo-wrap img { width: 100%; height: 100%; object-fit: cover; }
.about-copy h2 { font-size: 32px; font-weight: 900; margin-bottom: 14px; }
.about-copy p { font-size: 14.5px; line-height: 1.75; opacity: 0.94; margin-bottom: 24px; }
.btn-outline-white {
  display: inline-block;
  padding: 11px 30px;
  border: 1.5px solid #fff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s;
}
.btn-outline-white:hover { background: #fff; color: var(--crimson); }

/* 6. INTERACTIVE GLOBAL MAP */
.global-map-section {
  background: #14161b;
  color: #fff;
  padding: 68px 24px;
  position: relative;
  overflow: hidden;
}
.global-map-inner { max-width: 1240px; margin: 0 auto; position: relative; }
.global-map-inner h2 { text-align: center; font-size: 30px; font-weight: 900; letter-spacing: 1px; margin-bottom: 36px; }
.map-layout { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; }
.country-list { display: flex; flex-direction: column; gap: 10px; z-index: 3; }
.country-btn {
  background: none; border: none; color: rgba(255,255,255,0.68);
  text-align: left; font-family: inherit; font-size: 14px; font-weight: 700;
  padding: 8px 12px; cursor: pointer; display: flex; align-items: center; gap: 8px;
}
.country-btn .c-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--crimson); opacity: 0; }
.country-btn.active { color: #fff; }
.country-btn.active .c-dot { opacity: 1; }

.map-viewport {
  position: relative;
  height: 380px;
  border-radius: 12px;
  background: radial-gradient(circle at center, #1e222b 0%, #111318 100%);
  border: 1px solid rgba(255,255,255,0.08);
  overflow: hidden;
}
.map-canvas-layer {
  position: absolute;
  inset: -15%;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.map-world-svg { width: 100%; height: 100%; opacity: 0.28; }
.map-pin {
  position: absolute;
  transform: translate(-50%, -50%);
  background: rgba(255,255,255,0.22);
  border: 2px solid #fff;
  width: 14px; height: 14px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s;
}
.map-pin.active {
  background: var(--crimson);
  border-color: #fff;
  width: 18px; height: 18px;
  box-shadow: 0 0 0 8px rgba(230,0,18,0.28);
}
.map-pin-label {
  position: absolute;
  top: -24px; left: 50%; transform: translateX(-50%);
  white-space: nowrap; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.85);
}
.map-address-card {
  position: absolute;
  right: 20px; bottom: 20px;
  width: 310px; max-width: calc(100% - 40px);
  padding: 20px;
  border-radius: 10px;
  color: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  z-index: 4;
}
.map-address-card small { font-size: 11px; text-transform: uppercase; letter-spacing: 1px; opacity: 0.85; }
.map-address-card h4 { font-size: 17px; font-weight: 800; margin: 4px 0 8px; }
.map-address-card p { font-size: 12.5px; line-height: 1.55; opacity: 0.94; }

/* SUBPAGE HERO */
.subpage-hero {
  padding: 136px 24px 68px;
  background: linear-gradient(135deg, #0d0f14 0%, #1c1f29 60%, #2d0a12 100%);
  color: #fff;
  text-align: center;
}
.subpage-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 900; letter-spacing: 1.5px; margin-bottom: 10px; }
.subpage-hero p { font-size: 14px; color: rgba(255,255,255,0.8); letter-spacing: 0.6px; }

/* 5-COLUMN PORTFOLIO GRID (/projects) */
.portfolio-wrap { max-width: 1280px; margin: 0 auto; padding: 52px 24px 72px; }
.portfolio-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.portfolio-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  overflow: hidden;
  background: #14161c;
}
.portfolio-card.hidden-card { display: none; }
.portfolio-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.portfolio-card:hover img { transform: scale(1.06); }
.portfolio-badge-title {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  color: #fff; font-size: 14px; font-weight: 900; text-shadow: 0 2px 10px rgba(0,0,0,0.85);
}
.portfolio-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(230,0,18,0.84) 0%, rgba(17,19,24,0.94) 100%);
  padding: 18px 14px;
  color: #fff;
  display: flex; flex-direction: column; justify-content: space-between;
  opacity: 0; transition: opacity 0.25s;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h3 { font-size: 16px; font-weight: 900; margin-bottom: 6px; }
.portfolio-overlay .divider { width: 26px; height: 2px; background: #fff; margin-bottom: 8px; }
.portfolio-overlay p { font-size: 12px; line-height: 1.5; opacity: 0.92; }

/* PLAYTEST */
.playtest-controls { display: flex; justify-content: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.pill-select {
  padding: 12px 22px; border-radius: 999px; border: none; font-size: 13.5px; font-weight: 700;
  min-width: 210px; font-family: inherit;
}
.btn-pill-crimson {
  padding: 12px 32px; border-radius: 999px; border: none; background: var(--crimson); color: #fff;
  font-size: 13.5px; font-weight: 800; cursor: pointer;
}
.playtest-strip {
  max-width: 1100px; margin: 0 auto; padding: 64px 24px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; text-align: center;
}
.playtest-box { padding: 24px; border: 1px solid var(--border); border-radius: 12px; }
.playtest-box svg { color: var(--crimson); margin-bottom: 12px; }
.playtest-box h3 { font-size: 17px; font-weight: 800; margin-bottom: 8px; }
.playtest-box p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* BUSINESS */
.coop-wrap { max-width: 960px; margin: 0 auto; padding: 56px 24px 72px; }
.coop-item {
  display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: start;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.coop-icon {
  width: 56px; height: 56px; border-radius: 12px;
  background: #FFF1F2; color: var(--crimson);
  display: grid; place-items: center;
}
.coop-item h3 { font-size: 19px; font-weight: 800; margin-bottom: 6px; }
.coop-item p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 8px; }
.coop-item a { font-size: 14px; font-weight: 800; color: var(--crimson); }

/* CONTACT 2-COLUMN */
.contact-page-bg {
  min-height: 100vh;
  padding: 126px 24px 72px;
  background: linear-gradient(135deg, #0d0f14 0%, #1c1f29 100%);
  color: #fff;
}
.contact-grid { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1.05fr; gap: 40px; align-items: start; }
.contact-info-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px;
  padding: 18px 20px;
  margin-top: 14px;
}
.contact-info-card h4 { font-size: 14px; font-weight: 800; margin-bottom: 4px; }
.contact-info-card a { color: #FCA5A5; font-size: 13.5px; font-weight: 700; }
.contact-form-card {
  background: #fff; color: #111318; border-radius: 14px; padding: 30px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.35);
}
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.cf-field { margin-bottom: 14px; }
.cf-field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 6px; }
.cf-field label span { color: var(--crimson); }
.cf-field input, .cf-field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border); background: #F1F5F9;
  border-radius: 6px; font-family: inherit; font-size: 13.5px;
}
.btn-send-full {
  width: 100%; padding: 14px; border: none; border-radius: 6px;
  background: var(--crimson); color: #fff; font-size: 14px; font-weight: 800; cursor: pointer;
}
.ysn-alert-modal {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6); z-index: 2000;
  display: none; align-items: center; justify-content: center; padding: 20px;
}
.ysn-alert-modal.open { display: flex; }
.ysn-alert-box {
  background: #fff; color: #111318; max-width: 380px; width: 100%;
  border-top: 4px solid var(--crimson); border-radius: 8px; padding: 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}

/* ARTICLE DETAIL + FLOATING RAIL */
.article-wrap { max-width: 860px; margin: 0 auto; padding: 42px 24px 72px; }
.article-top-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.back-link { color: var(--crimson); font-weight: 800; font-size: 13px; }
.article-wrap h1 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 900; line-height: 1.3; margin-bottom: 22px; }
.article-banner { width: 100%; max-height: 420px; object-fit: cover; border-radius: 12px; margin-bottom: 24px; }
.article-body p { font-size: 15px; line-height: 1.8; color: #334155; margin-bottom: 16px; }
.article-body ul { padding-left: 20px; margin-bottom: 20px; color: #334155; line-height: 1.8; }
.floating-rail {
  position: fixed; right: 24px; bottom: 90px; display: none; flex-direction: column; gap: 8px; z-index: 900;
}
.floating-rail.visible { display: flex; }
.rail-btn {
  width: 40px; height: 40px; border: 1px solid var(--border); background: #fff; color: #111318;
  display: grid; place-items: center; cursor: pointer; font-weight: 800; box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}
.rail-btn:hover { background: var(--crimson); color: #fff; border-color: var(--crimson); }

/* FOOTER */
.ysn-footer { background: #0b0c10; color: rgba(255,255,255,0.75); padding: 32px 28px; }
.ysn-footer-inner {
  max-width: 1360px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.ysn-footer-legal { margin-top: 10px; font-size: 12px; display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ysn-footer-legal p { width: 100%; margin-top: 4px; opacity: 0.65; }
.ysn-footer-links { display: flex; gap: 22px; font-size: 12px; font-weight: 700; letter-spacing: 0.8px; }
.ysn-footer-links a:hover { color: #fff; }

.mobile-card-direct-link {
  display: none;
}

/* ==========================================================
   ENTERPRISE CORPORATE REDESIGN (.corp-*)
   ========================================================== */
.corp-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.corp-hero {
  position: relative;
  min-height: 92vh;
  background: #07090E;
  color: #F8FAFC;
  display: flex;
  align-items: flex-end;
  padding: 132px 24px 56px;
  overflow: hidden;
}
.corp-hero-bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.28;
  filter: saturate(0.75) contrast(1.08);
}
.corp-hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(230, 0, 18, 0.22), transparent 65%),
    linear-gradient(to bottom var(--in-oklab), rgba(7, 9, 14, 0.45) 0%, rgba(7, 9, 14, 0.92) 72%, #07090E 100%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 48px 48px, 48px 48px;
}
.corp-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
}
.corp-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.4px;
  color: #E2E8F0;
  margin-bottom: 22px;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 4px rgba(230, 0, 18, 0.28);
}
@media (prefers-reduced-motion: no-preference) {
  .pulse-dot {
    animation: corpPulse 2.4s ease-in-out infinite;
  }
}
@keyframes corpPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.65; transform: scale(1.18); }
}
.corp-hero-title {
  font-size: clamp(34px, 5.4vw, 64px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.06;
  max-width: 860px;
  margin-bottom: 18px;
  color: #FFFFFF;
}
.corp-hero-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.65;
  color: #CBD5E1;
  max-width: 640px;
  margin-bottom: 30px;
}
.corp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 46px;
}
.btn-corp-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  background: var(--crimson);
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25), 0 10px 24px rgba(230, 0, 18, 0.32);
  transition: transform 0.2s, background 0.2s;
}
.btn-corp-primary:hover { background: var(--crimson-dark); transform: translateY(-1px); }
.btn-corp-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #F8FAFC;
  font-size: 13.5px;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s;
}
.btn-corp-ghost:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.45); }

.corp-kpi-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.corp-kpi-item strong {
  display: block;
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #FFFFFF;
}
.corp-kpi-item span {
  font-size: 12.5px;
  color: #94A3B8;
  font-weight: 600;
}

.corp-section { padding: 76px 0; background: #FFFFFF; }
.corp-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.corp-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  color: var(--crimson);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.corp-heading {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #0F172A;
}
.corp-link-arrow {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  padding: 9px 18px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  transition: all 0.2s;
}
.corp-link-arrow:hover { background: #0F172A; color: #FFFFFF; border-color: #0F172A; }

.corp-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.corp-product-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow:
    0 1px 2px rgba(15, 23, 42, 0.04),
    0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.corp-product-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow:
    0 4px 10px rgba(15, 23, 42, 0.06),
    0 20px 40px rgba(15, 23, 42, 0.11);
}
.corp-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0F172A;
  overflow: hidden;
}
.corp-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.corp-product-card:hover .corp-card-media img { transform: scale(1.04); }
.corp-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(9, 11, 16, 0.82);
  color: #F8FAFC;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.corp-card-price {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--crimson);
  color: #FFFFFF;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 800;
}
.corp-card-body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.corp-card-meta {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748B;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.corp-card-body h3 {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.01em;
  color: #0F172A;
  margin-bottom: 8px;
}
.corp-card-body p {
  font-size: 13.5px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}
.corp-card-actions {
  display: flex;
  gap: 8px;
}
.btn-corp-card-primary {
  flex: 1;
  text-align: center;
  padding: 10px 12px;
  border-radius: 8px;
  background: #0F172A;
  color: #FFFFFF;
  font-size: 12.5px;
  font-weight: 700;
  transition: background 0.2s;
}
.btn-corp-card-primary:hover { background: var(--crimson); }
.btn-corp-card-ghost {
  padding: 10px 14px;
  border-radius: 8px;
  background: #F1F5F9;
  color: #0F172A;
  font-size: 12.5px;
  font-weight: 700;
  border: 1px solid #E2E8F0;
  transition: background 0.2s;
}
.btn-corp-card-ghost:hover { background: #E2E8F0; }

.corp-capabilities-section {
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  padding: 68px 0;
}
.corp-cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.corp-cap-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 26px 24px;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}
.corp-cap-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FFF1F2;
  color: var(--crimson);
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.corp-cap-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}
.corp-cap-card p {
  font-size: 13.5px;
  line-height: 1.65;
  color: #475569;
}

.corp-about-section { padding: 20px 0 76px; background: #FFFFFF; }
.corp-about-card {
  background: linear-gradient(135deg var(--in-oklab), #0B0F19 0%, #151B2B 65%, #230B14 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  display: grid;
  grid-template-columns: 0.92fr 1.1fr;
  gap: 36px;
  align-items: center;
  padding: 36px;
  color: #FFFFFF;
  box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
}
.corp-about-media {
  border-radius: 12px;
  overflow: hidden;
  height: 320px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.corp-about-media img { width: 100%; height: 100%; object-fit: cover; }
.corp-about-copy h2 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 900; margin-bottom: 14px; }
.corp-about-copy p { font-size: 14.5px; line-height: 1.75; color: #CBD5E1; margin-bottom: 24px; }

.map-address-card {
  background: rgba(15, 20, 30, 0.94);
  border: 1px solid rgba(230, 0, 18, 0.55);
}

/* ==========================================================
   $100K AGENCY INTERACTIVE MOTION LAYER
   ========================================================== */
.corp-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  z-index: 1200;
  background: linear-gradient(90deg var(--in-oklab), var(--crimson), #FF6B6B);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}
@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .corp-scroll-progress {
      animation: corpScrollScale linear both;
      animation-timeline: scroll(root);
    }
  }
}
@keyframes corpScrollScale {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.corp-aurora-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(72px);
  opacity: 0.45;
  z-index: 1;
}
.corp-aurora-orb.orb-1 {
  width: 460px;
  height: 460px;
  top: -120px;
  right: -80px;
  background: radial-gradient(circle, rgba(230, 0, 18, 0.55), transparent 70%);
}
.corp-aurora-orb.orb-2 {
  width: 380px;
  height: 380px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.35), transparent 70%);
}
@media (prefers-reduced-motion: no-preference) {
  .corp-aurora-orb.orb-1 { animation: orbDriftA 14s ease-in-out infinite alternate; }
  .corp-aurora-orb.orb-2 { animation: orbDriftB 17s ease-in-out infinite alternate; }
  .corp-hero-anim {
    opacity: 0;
    transform: translate3d(0, 22px, 0);
    animation: heroFadeUp 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    animation-delay: var(--d, 0ms);
  }
}
@keyframes orbDriftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-45px, 35px, 0) scale(1.12); }
}
@keyframes orbDriftB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(50px, -30px, 0) scale(1.08); }
}
@keyframes heroFadeUp {
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}

.btn-shimmer {
  position: relative;
  overflow: hidden;
}
.btn-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.32) 50%, transparent 75%);
  transform: translateX(-120%);
}
@media (prefers-reduced-motion: no-preference) {
  .btn-shimmer:hover::after,
  .btn-shimmer::after {
    animation: btnSweep 3.8s ease-in-out infinite;
  }
}
@keyframes btnSweep {
  0%, 65% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}

.corp-marquee-bar {
  background: #0B0E14;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  padding: 15px 0;
  white-space: nowrap;
}
.corp-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #94A3B8;
  will-change: transform;
}
.corp-marquee-track b { color: var(--crimson); font-weight: 900; }
@media (prefers-reduced-motion: no-preference) {
  .corp-marquee-track {
    animation: corpMarquee 28s linear infinite;
  }
  .corp-marquee-bar:hover .corp-marquee-track {
    animation-play-state: paused;
  }
}
@keyframes corpMarquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: no-preference) {
  [data-reveal] {
    opacity: 0;
    transform: translate3d(0, 28px, 0) scale(0.985);
    transition:
      opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0ms),
      transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--rd, 0ms);
  }
  [data-reveal].is-revealed {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

.corp-tilt-card {
  transform-style: preserve-3d;
}
.corp-tilt-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 50%), rgba(230, 0, 18, 0.10), transparent 65%);
  transition: opacity 0.25s ease;
  z-index: 2;
}
.corp-tilt-card:hover::before { opacity: 1; }

@media (max-width: 768px) {
  .corp-aurora-orb { display: none; }
}

@media (max-width: 980px) {
  .corp-featured-grid, .corp-cap-grid, .corp-about-card { grid-template-columns: 1fr; }
  .corp-kpi-strip { grid-template-columns: repeat(2, 1fr); }
  .corp-about-media { height: 240px; }
}

@media (max-width: 768px), (hover: none) {
  .corp-card-actions { display: none; }
}

@media (max-width: 768px) {
  .corp-container { padding: 0 16px; }
  .corp-hero { min-height: 100svh; padding: 108px 16px 36px; }
  .corp-hero-sub { font-size: 14.5px; margin-bottom: 22px; }
  .corp-hero-actions { margin-bottom: 28px; }
  .btn-corp-primary, .btn-corp-ghost { width: 100%; }
  .corp-kpi-strip { gap: 12px; padding-top: 20px; }
  .corp-section { padding: 48px 0; }
  .corp-capabilities-section { padding: 48px 0; }
  .corp-about-section { padding: 10px 0 48px; }
  .corp-about-card { padding: 20px; gap: 20px; }
}

@media (max-width: 980px) {
  .featured-grid, .news-split, .about-banner, .map-layout, .contact-grid, .playtest-strip { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .about-photo-wrap { margin-top: 0; height: 240px; }
  .ysn-nav { display: none; }
  .ysn-mobile-toggle { display: flex; }
}

@media (max-width: 768px), (hover: none) {
  .mobile-card-direct-link {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 6;
  }
  .portrait-hover-overlay,
  .portfolio-overlay {
    display: none !important;
  }
  .portrait-card:hover .portrait-vertical-title,
  .portrait-card:hover .portrait-pill-default {
    opacity: 1 !important;
  }
}

@media (max-width: 768px) {
  .ysn-header { backdrop-filter: none; background: rgba(12,14,19,0.94); }
  .ysn-mobile-drawer { backdrop-filter: none; background: rgba(14,16,22,0.98); }
  .hero-bg-media { animation: none; transform: none; will-change: auto; }
  .ysn-header-inner { padding: 0 16px; gap: 10px; }
  .ysn-logo { font-size: 16px; gap: 8px; white-space: nowrap; }
  .ysn-header-right { gap: 10px; }
  .ysn-socials { display: none; }
  .hero-section { min-height: 100svh; }
  .hero-lower-strip { padding: 64px 16px 36px; }
  .hero-tagline { font-size: clamp(26px, 7.5vw, 38px); padding: 0 4px; }
  .featured-banner { padding: 44px 16px 112px; }
  .featured-grid-wrap { margin: -80px auto 0; padding: 0 16px; }
  .featured-grid { gap: 18px; }
  .portrait-card { height: 360px; }
  .news-section { padding: 48px 16px; }
  .section-heading { font-size: 24px; }
  .news-toolbar { gap: 12px; }
  .news-tabs { gap: 14px; }
  .search-pill { width: 100%; }
  .search-pill input { width: 100%; flex: 1; }
  .news-featured-card { min-height: 260px; }
  .news-featured-body { padding: 20px 16px; }
  .about-section { margin: 16px auto 48px; padding: 0 16px; }
  .about-banner { padding: 24px 18px; gap: 20px; }
  .about-copy h2 { font-size: 24px; }
  .global-map-section { padding: 48px 16px; }
  .global-map-inner h2 { font-size: 24px; margin-bottom: 24px; }
  .country-list { flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .country-btn { padding: 6px 10px; font-size: 13px; }
  .map-viewport { height: 300px; }
  .map-address-card { left: 12px; right: 12px; bottom: 12px; width: auto; max-width: none; padding: 14px; }
  .portfolio-wrap { padding: 36px 16px 56px; }
  .subpage-hero { padding: 112px 16px 52px; }
  .contact-page-bg { padding: 104px 16px 56px; }
  .contact-form-card { padding: 20px 16px; }
  .cf-row { grid-template-columns: 1fr; }
  .ysn-footer { padding: 28px 16px; }
  .ysn-footer-links { gap: 14px; flex-wrap: wrap; }
  .floating-rail { right: 12px; bottom: 20px; }
}
