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

:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --text-primary: #f0f0f0;
  --text-secondary: #a0a0a0;
  --accent: #00d4ff;
  --accent-hover: #00b8d9;
  --border: #2a2a2a;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-hover);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== ERROR NOTICES ===== */
.error-notice {
  padding: 1.5rem;
  margin: 2rem auto;
  max-width: 600px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 4px;
  color: var(--text-primary);
  text-align: center;
}

.error-notice a {
  color: var(--accent);
  text-decoration: underline;
}

.error-notice a:hover {
  color: var(--accent-hover);
}

/* ===== HEADER / NAV ===== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(10, 10, 10, 0.95);
  border-bottom: 1px solid var(--border);
}

nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo a {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

nav ul a:hover {
  color: var(--accent);
}

nav ul a.active {
  color: var(--accent);
}

.lang-toggle a {
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.lang-toggle a.active {
  color: var(--accent);
}

/* ===== NAV TOGGLE / HAMBURGER ===== */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 105;
  position: relative;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              background-color 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
  background-color: var(--accent);
}

.nav-toggle.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
  background-color: var(--accent);
}

/* ===== HERO ===== */
.hero {
  min-height: 100dvh; /* Dynamic viewport height for mobile browsers */
  min-height: 100vh; /* Fallback */
  max-width: none;
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-color: rgba(10, 10, 10, 0.6);
  background-image: radial-gradient(rgba(255, 255, 255, 0.25) 1px, transparent 1px);
  background-size: 8px 8px;
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 50%, rgba(10, 10, 10, 0.4) 100%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, var(--accent) 60%, #0088cc 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
}

/* ---- Scroll Indicator ---- */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  animation: hintBounce 2s ease-in-out infinite;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  position: relative;
}

.scroll-wheel {
  width: 3px;
  height: 8px;
  background: var(--accent);
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50%      { opacity: 0.3; transform: translateX(-50%) translateY(10px); }
}

@keyframes hintBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: var(--accent);
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* ===== SECTIONS ===== */
section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8rem 2rem;
}

section > h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 4rem;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
}

section > h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--accent);
  margin: 1.5rem auto 0;
}

/* ===== ABOUT ===== */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-text p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.about-image {
  height:500px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);

}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

}

/* ===== SERVICES ===== */
.services {
  background: var(--bg-secondary);
  max-width: 100%;
  padding: 8rem 2rem;
}

.services > h2 {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.services-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 2px solid var(--accent);
  border-radius: 6px;
  padding: 3rem 2rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: var(--accent);
  border-left-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 212, 255, 0.06);
}

.service-card-link {
  cursor: pointer;
  transition: all 0.3s ease;
}

.service-card-link:hover {
  border-color: var(--accent);
  border-left-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(0, 212, 255, 0.06);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--accent);
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== TEAM ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.team-photo {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #000;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.team-card:hover .team-photo img {
  transform: scale(1.05);
}

.team-card h3 {
  padding: 1.5rem 1.5rem 0.5rem;
  font-size: 1.2rem;
  color: var(--text-primary);
}

.team-card .role {
  padding: 0 1.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team-card .bio {
  padding: 0 1.5rem 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===== PORTFOLIO ===== */
.portfolio > h2 {
  margin-bottom: 1.5rem;
}

.portfolio-view-all {
  display: inline-block;
  text-align: center;
  margin: 0 auto 3rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: color 0.2s;
}

.portfolio-view-all:hover {
  color: var(--accent-hover);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-grid .portfolio-item {
  background: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}

.portfolio-grid .portfolio-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
}

.portfolio-image {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  transition: transform 0.4s ease;
  background-image: url('images/misc/portfolio-covers.avif');
}

.portfolio-item:nth-child(1) .portfolio-image {
  background-position: center top;
}

.portfolio-item:nth-child(2) .portfolio-image {
  background-position: center bottom;
}

.portfolio-item:nth-child(3) .portfolio-image {
  background-position: left center;
}

.portfolio-grid .portfolio-item:hover .portfolio-image {
  transform: scale(1.05);
}

.portfolio-grid .portfolio-item h3 {
  padding: 1rem 1.5rem 0.25rem;
  font-size: 1.1rem;
}

.portfolio-grid .portfolio-item p {
  padding: 0 1.5rem 1.5rem;
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ===== CONTACT ===== */
.contact {
  background: var(--bg-secondary);
  max-width: 100%;
  padding: 8rem 2rem;
}

.contact > h2 {
  max-width: 1200px;
  margin: 0 auto 1rem;
}

.contact-subtitle {
  max-width: 600px;
  margin: 0 auto 4rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  text-align: center;
  line-height: 1.7;
}

/* ---- Three-column grid ---- */
.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
}

/* ---- Info Card (Left) ---- */
.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
}

.contact-info-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.contact-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: 8px;
  font-size: 1rem;
  color: var(--accent);
  line-height: 1;
}

.contact-detail > div {
  flex: 1;
  min-width: 0;
}

.contact-detail strong {
  display: block;
  color: var(--accent);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.35rem;
}

.contact-detail p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.contact-detail a {
  color: var(--text-primary);
  transition: color 0.2s;
}

.contact-detail a:hover {
  color: var(--accent);
}

/* ---- Social Links ---- */
.contact-social {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-social strong {
  display: block;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.75rem;
}

.contact-social-links {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.contact-social-links a {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(0, 212, 255, 0.06);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s;
}

.contact-social-links a:hover {
  background: rgba(0, 212, 255, 0.12);
  border-color: var(--accent);
  color: var(--accent);
}

/* ---- Form Card (Center) ---- */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.5rem 2rem;
}

.contact-form-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a0a0a0' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

.form-group select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-full {
  width: 100%;
  text-align: center;
  margin-top: 0.5rem;
}

/* ---- Map Card (Right) ---- */
.contact-map-card {
  height: 100%;
  min-height: 480px;
}

.contact-map {
  height: 100%;
  min-height: 480px;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(0.6) brightness(0.7) contrast(1.1);
  transition: filter 0.4s;
}

.contact-map:hover iframe {
  filter: grayscale(0.2) brightness(0.85) contrast(1.05);
}

/* ===== FOOTER ===== */
footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-content p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.social-links a:hover {
  color: var(--accent);
}

/* ===== BLOG PAGE — EDITORIAL LAYOUT ===== */
.blog-main {
  /* No padding-top — hero is full-bleed behind fixed nav */
}

/* ---- Blog Hero (Full Width) ---- */
.blog-hero-story {
  position: relative;
  width: 100%;
  min-height: 85vh;
  overflow: hidden;
  max-width: none;
  padding: 0;
}

.blog-hero-story img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero-story::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.92) 0%,
    rgba(10, 10, 10, 0.55) 40%,
    transparent 70%
  );
  z-index: 1;
}

.blog-hero-text {
  position: absolute;
  bottom: 10rem;
  left: 4rem;
  right: 4rem;
  z-index: 2;
  max-width: 750px;
}

.blog-hero-text .blog-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.blog-hero-text h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.blog-hero-text h1 a {
  color: inherit;
}

.blog-hero-text .blog-hero-excerpt-inline {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  opacity: 0.85;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.blog-hero-text .blog-author {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 0.2rem;
}

.blog-hero-text .blog-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
  opacity: 0.5;
}

/* ---- Separate Excerpt Section (hidden — excerpt is now inline in hero) ---- */
.blog-hero-excerpt:empty {
  display: none;
}

/* ---- Stories Grid ---- */
.blog-grid {
  max-width: 1400px;
  margin: 0 auto;
  padding: 5rem 2rem 8rem;
}

.blog-grid-heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
  margin-bottom: 3rem;
}

.blog-grid-columns {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* ---- Left Column — Image Cards ---- */
.blog-column-left {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.blog-card-image {
  cursor: pointer;
  transition: transform 0.3s ease;
}

.blog-card-image:hover {
  transform: translateY(-4px);
}

.blog-card-image .blog-card-img {
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--bg-card);
  margin-bottom: 1rem;
}

.blog-card-image .blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card-image:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-image .blog-card-body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* ---- Center Column — Featured Story ---- */
.blog-column-center {
  padding-top: 1rem;
}

.blog-card-featured .blog-card-img {
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--bg-card);
  margin-bottom: 1.5rem;
}

.blog-card-featured .blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card-featured:hover .blog-card-img img {
  transform: scale(1.05);
}

.blog-card-featured .blog-card-body {
  text-align: center;
}

.blog-card-featured .blog-tag {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.blog-card-featured h3 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.blog-card-featured .blog-card-meta {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.blog-card-featured .blog-card-excerpt {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
  opacity: 0.85;
}

/* ---- Right Column — Compact Cards ---- */
.blog-column-right {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.blog-card-compact {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.25rem;
  align-items: center;
  cursor: pointer;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.blog-card-compact:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-card-compact:hover {
  opacity: 0.8;
}

.blog-card-compact h3 {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 0.4rem;
}

.blog-card-compact .blog-card-img-small {
  width: 90px;
  height: 90px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-card);
}

.blog-card-compact .blog-card-img-small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card-compact:hover .blog-card-img-small img {
  transform: scale(1.1);
}

/* ---- Shared Meta ---- */
.blog-card-meta {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  opacity: 0.7;
}

.blog-card-image .blog-card-meta {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  opacity: 0.7;
}

/* ===== BLOG POST PAGE ===== */
.blog-post-main {
  padding-top: 80px;
}

.blog-post-hero {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.blog-post-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-post-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95) 0%, rgba(10, 10, 10, 0.4) 40%, rgba(10, 10, 10, 0.1) 100%);
  pointer-events: none;
}

.blog-post-hero-content {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  max-width: 700px;
  width: 100%;
  padding: 0 2rem;
}

.blog-post-hero-content .blog-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.blog-post-hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 2rem;
  letter-spacing: -0.5px;
}

.blog-post-hero-content .blog-author {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.blog-post-hero-content .blog-date {
  font-size: 0.8rem;
  color: var(--text-secondary);
  opacity: 0.6;
}

.blog-post-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}

.blog-post-lead {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 2rem;
  font-weight: 400;
}

.blog-post-article p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}

.blog-post-article h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 3.5rem;
  margin-bottom: 1.5rem;
  letter-spacing: -0.3px;
}

.blog-post-article hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem 0;
}

.blog-post-article blockquote {
  border-left: 3px solid var(--accent);
  padding: 1.5rem 0 1.5rem 2rem;
  margin: 2.5rem 0;
  background: none;
}

.blog-post-article blockquote p {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--text-primary);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.blog-post-article blockquote cite {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  font-style: normal;
}

.blog-post-article ul {
  margin: 0 0 2rem 1.5rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.8;
}

.blog-post-article ul li {
  margin-bottom: 1rem;
}

.blog-post-article ul li strong {
  color: var(--text-primary);
}

.blog-post-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.blog-post-footer p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.blog-post-footer strong {
  color: var(--text-primary);
}

.blog-post-footer .btn {
  padding: 0.75rem 2rem;
  font-size: 0.8rem;
}

/* ===== NAV DROPDOWN ===== */
nav ul {
  position: relative;
}

nav ul .has-dropdown {
  position: relative;
}

nav ul .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0;
  min-width: 180px;
  list-style: none;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

nav ul .has-dropdown:hover .dropdown {
  display: block;
}

nav ul .dropdown li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  white-space: nowrap;
}

nav ul .dropdown li a:hover {
  color: var(--accent);
  background: rgba(255, 255, 255, 0.03);
}

nav ul .dropdown li a.active {
  color: var(--accent);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .blog-grid-columns {
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 2rem;
  }

  .blog-hero-text {
    bottom: 8rem;
    left: 3rem;
  }
}

@media (max-width: 900px) {
  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle {
    display: flex;
  }

  nav {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
  }

  nav .logo {
    z-index: 105;
    position: relative;
  }

  .nav-controls {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100dvh; /* Dynamic viewport height for mobile browsers */
    height: 100vh; /* Fallback */
    background: rgba(10, 10, 10, 0.98);
    z-index: 99;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    padding: 6rem 2rem 4rem;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-controls.open {
    right: 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
  }

  nav ul a {
    font-size: 1.25rem;
    letter-spacing: 2px;
  }

  /* Dropdown styling for mobile inside drawer */
  nav ul .dropdown {
    position: static;
    transform: none;
    display: none;
    background: rgba(255, 255, 255, 0.02);
    border: none;
    border-left: 2px solid var(--accent);
    border-radius: 0;
    box-shadow: none;
    padding: 0.5rem 0 0.5rem 1.5rem;
    margin-top: 0.5rem;
    min-width: unset;
    width: 100%;
    text-align: center;
  }

  nav ul .has-dropdown.open .dropdown {
    display: block;
  }

  nav ul .dropdown li a {
    font-size: 1rem;
    padding: 0.5rem 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  /* Blog responsive */
  .blog-hero-story {
    min-height: 65vh;
  }

  .blog-hero-text {
    bottom: 8rem;
    left: 2rem;
    right: 2rem;
  }

  .blog-hero-text h1 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
  }

  .blog-grid-columns {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .blog-column-center {
    order: -1;
    padding-top: 0;
  }

  .blog-column-right {
    gap: 0;
  }

  .blog-card-featured h3 {
    font-size: 1.25rem;
  }

  /* Contact responsive */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-map-card {
    min-height: 300px;
    order: -1;
  }

  .contact-map {
    min-height: 300px;
  }

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

@media (max-width: 600px) {
  .blog-hero-story {
    min-height: 55vh;
  }

  .blog-hero-text {
    bottom: 6rem;
    left: 1.25rem;
    right: 1.25rem;
  }

  .blog-hero-text h1 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
  }

  .blog-hero-text .blog-hero-excerpt-inline {
    font-size: 0.9rem;
    display: none;
  }

  .blog-card-compact {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .blog-card-compact .blog-card-img-small {
    width: 100%;
    height: 180px;
  }

  .blog-column-left {
    gap: 2rem;
  }

  .scroll-indicator {
    display: none;
  }
}
