/* ─── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: #001532; }
body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 400;
  background-color: transparent;
  color: #FFFFFF;
  font-size: 16px;
  line-height: 1.65;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ─── Utility ───────────────────────────────────────────────── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}
.section-pad { padding: 80px 0; }
.gold { color: #E9BF6D; }
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .fade-in { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ─── Scroll margin for anchored sections ───────────────────── */
#services, #experts, #cases, #testimonials, #contact {
  scroll-margin-top: 96px;
}

/* ─── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.2s;
  min-height: 48px;
  border: none;
}
.btn-primary {
  background: #E9BF6D;
  color: #001532;
}
.btn-primary:hover { opacity: 0.88; box-shadow: 0 4px 18px rgba(233,191,109,0.35); }
.btn-secondary {
  background: transparent;
  border: 1.5px solid #E9BF6D;
  color: #FFFFFF;
}
.btn-secondary:hover { background: rgba(233,191,109,0.08); }

/* ─── NAV ───────────────────────────────────────────────────── */
#nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid rgba(0,21,50,0.10);
  transition: box-shadow 0.3s;
}
#nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.15); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  gap: 16px;
}
.nav-logo img { height: 56px; width: auto; object-fit: contain; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}
.nav-links a {
  color: #001532;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover { color: #E9BF6D; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  min-height: 48px;
  min-width: 48px;
  justify-content: center;
  align-items: center;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #001532;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-drawer {
  display: none;
  flex-direction: column;
  background: #ffffff;
  padding: 16px 24px 24px;
  border-top: 1px solid rgba(0,21,50,0.12);
  gap: 4px;
}
.nav-drawer.open { display: flex; }
.nav-drawer a {
  color: #001532;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 8px;
  border-bottom: 1px solid rgba(0,21,50,0.08);
  transition: color 0.2s;
}
.nav-drawer a:hover { color: #E9BF6D; }
.nav-drawer .drawer-cta {
  margin-top: 12px;
  background: #E9BF6D;
  color: #001532 !important;
  font-weight: 700 !important;
  text-align: center;
  border-radius: 4px;
  border-bottom: none !important;
  padding: 14px !important;
}

/* ─── FIXED WATERMARK DIV ───────────────────────────────── */
#logo-watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(75vw, 700px);
  height: min(75vw, 700px);
  background-image: url('/images/logo-transparent.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: sepia(1) saturate(3) hue-rotate(5deg) brightness(1.1);
  opacity: 0.18;
  pointer-events: none;
  z-index: 0;
}
@media (max-width: 768px) {
  #logo-watermark {
    width: 95vw;
    height: 95vw;
  }
}
/* All structural elements sit above watermark */
section, footer { position: relative; z-index: 1; }
header, nav { position: relative; z-index: 100; }

/* ─── HERO ──────────────────────────────────────────────────── */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: url('/images/image_233639.jpg');
  background-size: cover;
  background-position: center 10%;
}
@media (min-width: 769px) {
  #home {
    background-size: auto 100%;
    background-position: right top;
    background-color: #001532;
  }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0,21,50,0.72) 55%, rgba(0,21,50,0.40) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding-top: 100px;
  padding-bottom: 80px;
}
@media (max-width: 768px) {
  .hero-content { padding-top: 90px; padding-bottom: 60px; }
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #E9BF6D;
  border: 1px solid rgba(233,191,109,0.4);
  padding: 6px 16px;
  border-radius: 2px;
  margin-bottom: 28px;
}
.hero-h1 {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(36px, 5vw, 60px);
  line-height: 1.1;
  color: #FFFFFF;
  margin-bottom: 28px;
}
.hero-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 17px;
  color: #E6EFF7;
  line-height: 1.8;
  margin-bottom: 44px;
  max-width: 640px;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

/* ─── HERO HEADSHOT ─────────────────────────────────────────── */
#home .hero-grid {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
}
#home .hero-photo {
  margin: 0;
  text-align: center;
}
#home .hero-photo-frame {
  width: 120px;
  height: 120px;
  margin: 0 auto;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(233,191,109,0.55);
  box-shadow: 0 0 0 4px rgba(0,21,50,0.55), 0 0 28px rgba(233,191,109,0.18), 0 14px 36px rgba(0,0,0,0.45);
}
#home .hero-photo-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 12%;
  transform: scale(2);
  transform-origin: 50% 16%;
}
#home .hero-photo-caption {
  margin-top: 10px;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.4;
}
#home .hero-photo-name {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}
#home .hero-photo-title { display: block; }
@media (max-width: 1023px) {
  /* Text keeps its original centered position; the photo adds below it. */
  #home { align-items: flex-start; }
  #home .hero-grid { padding-top: max(0px, calc(50vh - 264px)); }
  #home .hero-grid .hero-content { padding-bottom: 0; }
  #home .hero-photo { margin: 36px 0 40px; }
  #home .hero-photo-caption { margin-top: 16px; }
  #home .hero-photo-name { font-size: 16px; font-weight: 700; letter-spacing: 0.2px; }
  #home .hero-photo-title {
    margin-top: 3px;
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(230,239,247,0.82);
    text-wrap: balance;
  }
}
@media (max-width: 768px) {
  #home .hero-grid { padding-top: max(0px, calc(50vh - 287px)); }
}
@media (max-width: 767px) {
  #home .hero-grid { padding-top: max(0px, calc(50vh - 328px)); }
}
@media (min-width: 1024px) {
  #home .hero-grid {
    display: grid;
    grid-template-columns: 58fr 42fr;
    gap: 40px;
    align-items: center;
  }
  #home .hero-grid .hero-content { min-width: 0; }
  #home .hero-photo { margin: 40px 0 0; }
  #home .hero-photo-frame {
    width: min(100%, calc(min(68vh, 600px) * 0.8));
    height: auto;
    aspect-ratio: 4 / 5;
    border-radius: 16px;
  }
  #home .hero-photo-img { object-position: 50% 16%; transform: none; }
  #home .hero-photo-title {
    font-size: 13px;
    color: #E9BF6D;
  }
}

/* ─── SERVICES ──────────────────────────────────────────────── */
#services {
  background: rgba(248,245,238,0.70);
}
.services-header {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: end;
  margin-bottom: 56px;
}
.section-eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #E9BF6D;
  margin-bottom: 16px;
}
/* Services section eyebrow uses slightly darker gold on light bg */
#services .section-eyebrow { color: #B8922A; }
#services .section-title { color: #001532; }
.section-title {
  font-family: 'DM Serif Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  color: #FFFFFF;
  line-height: 1.15;
}
.section-intro {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #E6EFF7;
  line-height: 1.75;
  align-self: end;
}
#services .section-intro { color: #374151; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.service-card {
  background: #FFFFFF;
  border: 1px solid #e5e7eb;
  border-left: 3px solid #E9BF6D;
  border-radius: 6px;
  padding: 28px 28px;
  transition: box-shadow 0.25s;
}
.service-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.service-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: #1F3A5F;
  margin-bottom: 12px;
  line-height: 1.3;
}
.service-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #374151;
  line-height: 1.75;
}

/* ─── EXPERTS SECTION ───────────────────────────────────────── */
#experts {
  background: rgba(0,21,50,0.70);
}
.about-grid {
  display: flex;
  flex-direction: row;
  gap: 80px;
  align-items: flex-start;
}
.about-image {
  max-width: 420px;
  flex-shrink: 0;
  align-self: flex-start;
}
.about-text {
  flex: 1;
  align-self: center;
}
.about-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
}
.about-text .section-eyebrow { margin-bottom: 8px; }
.about-text .section-title { margin-bottom: 28px; }
.about-para {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #E6EFF7;
  line-height: 1.8;
  margin-bottom: 20px;
}
.feature-list {
  list-style: none;
  margin: 32px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.feature-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.feature-arrow {
  color: #E9BF6D;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  font-weight: 700;
}
.feature-text {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #FFFFFF;
  line-height: 1.65;
}
.feature-label {
  font-weight: 700;
  color: #E9BF6D;
  display: block;
  margin-bottom: 2px;
}

/* ─── CASE STUDIES ──────────────────────────────────────────── */
#cases {
  background: rgba(0,21,50,0.70);
}
.cases-header { margin-bottom: 56px; }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.case-card {
  background: #1F3A5F;
  border-radius: 6px;
  padding: 40px 32px;
  position: relative;
  transition: transform 0.25s, box-shadow 0.25s;
}
.case-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}
.case-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #E9BF6D;
  margin-bottom: 6px;
}
.case-title {
  font-family: 'DM Serif Display', serif;
  font-size: 20px;
  color: #FFFFFF;
  margin-bottom: 16px;
  line-height: 1.3;
}
.case-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: #E6EFF7;
  line-height: 1.8;
}
.cases-cta {
  text-align: center;
  margin-top: 40px;
}

/* ─── TESTIMONIALS ──────────────────────────────────────────── */
#testimonials {
  background: rgba(31,58,95,0.70);
  padding: 64px 0;
}
.testimonials-header { margin-bottom: 48px; }
.iframe-wrap {
  max-width: 850px;
  margin: 0 auto;
  border-radius: 8px;
  overflow: hidden;
}

/* ─── CONTACT ───────────────────────────────────────────────── */
#contact {
  background: rgba(0,21,50,0.70);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact-form-panel {
  border: 1px solid rgba(233,191,109,0.2);
  border-radius: 8px;
  padding: 40px;
}
.contact-form-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 28px;
  color: #FFFFFF;
  margin-bottom: 32px;
}
.form-group {
  margin-bottom: 20px;
}
.form-group label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  font-size: 13px;
  color: #E6EFF7;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: #1F3A5F;
  border: 1px solid rgba(233,191,109,0.3);
  border-radius: 4px;
  color: #FFFFFF;
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.2s;
  min-height: 48px;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #E9BF6D;
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-helper {
  font-size: 13px;
  color: #6b7280;
  margin-top: 8px;
  margin-bottom: 16px;
}
.form-disclaimer {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.65;
  margin-top: 16px;
}
.contact-info-heading {
  font-family: 'DM Serif Display', serif;
  font-size: 36px;
  color: #FFFFFF;
  margin-bottom: 12px;
}
.contact-info-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #E6EFF7;
  margin-bottom: 24px;
}
.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-icon {
  width: 40px;
  height: 40px;
  background: #1F3A5F;
  border: 1px solid rgba(233,191,109,0.35);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #E9BF6D;
}
.contact-info-label {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #E9BF6D;
  margin-bottom: 4px;
}
.contact-info-value {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 1.6;
}
.contact-info-value a {
  color: #FFFFFF;
  transition: color 0.2s;
}
.contact-info-value a:hover { color: #E9BF6D; }

/* ─── FOOTER ────────────────────────────────────────────────── */
footer {
  background: rgba(0,13,31,0.80);
  padding: 48px 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.footer-logo img { height: 44px; width: auto; object-fit: contain; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  justify-content: center;
  list-style: none;
}
.footer-links a {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: #E6EFF7;
  padding: 6px 8px;
  transition: color 0.2s;
}
.footer-links a:hover { color: #E9BF6D; }
.footer-copy {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #6b7280;
  text-align: center;
}

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .services-header { grid-template-columns: 1fr; gap: 20px; }
  .about-grid { flex-direction: column; gap: 40px; }
  .about-image { max-width: 100%; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .cases-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .section-pad { padding: 48px 0; }
  #testimonials { padding: 48px 0; }
  .hero-h1 { font-size: clamp(32px, 8vw, 48px); }
  .hero-buttons { flex-direction: column; align-items: flex-start; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .services-grid { grid-template-columns: 1fr; }
  .cases-grid { grid-template-columns: 1fr; }
  /* Right column (info) first on mobile */
  .contact-grid { display: flex; flex-direction: column; }
}

/* ─── BLOG ──────────────────────────────────────────────────── */
.blog-main { position: relative; z-index: 1; background: rgba(0,21,50,0.70); padding: 72px 0 96px; min-height: 60vh; }
.blog-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.blog-head h1 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(34px, 5vw, 52px); line-height: 1.12; margin-bottom: 14px; }
.blog-head p { font-size: 18px; color: #E6EFF7; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: #FFFFFF; border: 1px solid #e5e7eb; border-left: 3px solid #E9BF6D; border-radius: 6px; padding: 28px; color: #001532; }
.post-card h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 25px; line-height: 1.2; margin-bottom: 10px; }
.post-card h2 a { color: inherit; }
.post-card time { font-size: 14px; color: #4b5563; margin-bottom: 12px; }
.post-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; margin-bottom: 18px; }
.post-more { margin-top: auto; font-weight: 700; color: #001532; text-decoration: underline; text-decoration-color: #E9BF6D; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post { max-width: 720px; margin: 0 auto; }
.post h1 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(34px, 5vw, 48px); line-height: 1.14; margin-bottom: 24px; }
.post-byline { display: flex; align-items: center; gap: 16px; padding-bottom: 28px; margin-bottom: 32px; border-bottom: 1px solid rgba(233,191,109,0.35); }
.post-avatar { flex: none; width: 76px; height: 76px; border-radius: 50%; overflow: hidden; border: 1px solid rgba(233,191,109,0.55); }
.post-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transform: scale(2); transform-origin: 50% 16%; }
.post-byline p { font-weight: 600; font-size: 17px; }
.post-byline time { display: block; font-size: 14px; color: #E6EFF7; }
.post-body p { font-size: 18px; line-height: 1.75; color: #E6EFF7; margin-bottom: 22px; }
.post-body h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: clamp(26px, 3.4vw, 32px); line-height: 1.2; color: #FFFFFF; margin: 44px 0 16px; }
.post-cta { margin-top: 48px; padding: 32px 28px; background: #001532; border: 1px solid rgba(233,191,109,0.55); border-radius: 6px; text-align: center; }
.post-cta h2 { font-family: 'DM Serif Display', serif; font-weight: 400; font-size: 26px; line-height: 1.25; margin-bottom: 22px; }
.post-cta-btns { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
