/* ---------- Base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1a1f2e;
  background: #fafafa;
  line-height: 1.6;
}
h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2rem, 4vw, 3rem); line-height: 1.15; }
h2 { font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1.2; }
h3 { font-size: 1.2rem; }
p  { margin: 0 0 1em; color: #45506a; }
a  { color: inherit; text-decoration: none; }

.section-title {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}
.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  margin: 0.6rem auto 0;
  background: #1e3a8a;
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background: #1e3a8a;
  color: #fff;
  border: none;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  box-shadow: 0 4px 14px rgba(30, 58, 138, 0.18);
}
.btn:hover { background: #243f9c; transform: translateY(-1px); }
.btn.small { padding: 0.5rem 1.1rem; font-size: 0.85rem; }
.btn.wide  { width: 100%; padding: 0.85rem; }
.btn.light {
  background: #fff;
  color: #1e3a8a;
  box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}
.btn.light:hover { background: #f1f4ff; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #eee;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand { display: flex; align-items: center; gap: 0.75rem; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  color: #fff;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  letter-spacing: 0.02em;
}
.brand-mark.big { width: 64px; height: 64px; font-size: 1.4rem; }
.brand-text strong { display: block; font-size: 0.95rem; }
.brand-text small  { color: #6b7488; font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase; }
.nav-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.nav-links a {
  font-size: 0.92rem;
  color: #45506a;
  position: relative;
  transition: color .15s;
}
.nav-links a:hover { color: #1e3a8a; }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -4px;
  width: 0; height: 2px; background: #1e3a8a;
  transition: width .2s ease;
}
.nav-links a:hover::after { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 4rem 1.5rem 5rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #eef2ff 100%);
}
.hero-bg-tile {
  position: absolute;
  top: 0; left: 0;
  width: 28%; height: 100%;
  background:
    linear-gradient(135deg, rgba(30,58,138,0.07), rgba(30,58,138,0.02)),
    repeating-linear-gradient(0deg, #dbe1f2 0 2px, transparent 2px 18px);
  z-index: 0;
}
.hero-bg-tile.alt { left: auto; right: 0; }
.hero-card {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(20,30,60,0.10);
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  overflow: hidden;
}
.hero-photo {
  position: relative;
  background: #1e3a8a;
  min-height: 380px;
}
.hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.hero-photo.photo-fallback::before {
  content: "DT";
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 5rem; color: rgba(255,255,255,0.4);
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
}
.hero-copy {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-copy p { font-size: 1.05rem; margin-bottom: 1.6rem; }
.hero-copy .btn { align-self: flex-start; }

/* ---------- Stats ---------- */
.stats {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: #1e3a8a;
  line-height: 1;
  margin-bottom: 0.4rem;
}
.stat-label { font-size: 0.85rem; color: #6b7488; }

/* ---------- About ---------- */
.about {
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-copy h2 { margin-bottom: 1rem; }
.about-copy p { margin-bottom: 1rem; }
.about-copy .btn { margin-top: 0.8rem; }
/* ---------- About Photo ---------- */
.about-photo {
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20,30,60,0.18);
}
.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- AI Placeholder (legacy, unused) ---------- */
.ai-placeholder {
  position: relative;
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(30,58,138,0.85), rgba(99,102,241,0.85)),
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.2), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.15), transparent 50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: #fff;
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(30,58,138,0.18);
  overflow: hidden;
}
.ai-placeholder::before {
  content: "";
  position: absolute; inset: 0;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.04) 0 12px, transparent 12px 24px);
  pointer-events: none;
}
.ai-placeholder.ai-large { aspect-ratio: 16 / 10; }
.ai-icon {
  font-size: 1.6rem;
  background: rgba(255,255,255,0.15);
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.3);
  backdrop-filter: blur(4px);
}
.ai-label {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.ai-placeholder small {
  font-size: 0.78rem;
  opacity: 0.8;
}
.ai-tag {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  font-weight: 500;
}

/* ---------- Strengths ---------- */
.strengths {
  background: #fff;
  padding: 4rem 1.5rem;
}
.cards {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.card {
  background: #fff;
  border: 1px solid #eef0f5;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(20,30,60,0.08);
}
.card-img {
  height: 200px;
  background-color: #1e3a8a;
  background-size: cover;
  background-position: center;
}
.card h3 { padding: 1.2rem 1.4rem 0; }
.card p  { padding: 0 1.4rem; flex: 1; }
.card .btn { margin: 0 1.4rem 1.4rem; align-self: flex-start; }

/* ---------- Experience ---------- */
.experience {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.4fr;
  grid-template-rows: 220px 220px;
  gap: 1rem;
}
.exp-photo {
  border-radius: 10px;
  background-color: #1e3a8a;
  background-size: cover;
  background-position: center;
}
.exp-card {
  grid-column: 3 / 4;
  grid-row: 1 / span 2;
  background: rgba(20, 30, 60, 0.94);
  color: #fff;
  border-radius: 10px;
  padding: 2rem;
  overflow: auto;
}
.exp-card h2 { color: #fff; margin-bottom: 1.2rem; }
.exp-list { list-style: none; margin: 0; padding: 0; }
.exp-list li { margin-bottom: 1.4rem; }
.exp-list li:last-child { margin-bottom: 0; }
.exp-list strong { display: block; font-size: 1.02rem; }
.exp-list span   { display: block; color: #aab4cf; font-size: 0.82rem; margin-bottom: 0.4rem; }
.exp-list p      { color: #cbd2e3; margin: 0; font-size: 0.92rem; line-height: 1.5; }

/* ---------- Story ---------- */
.story {
  background: #1a1f2e;
  color: #fff;
  padding: 4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 3rem;
  align-items: center;
  max-width: 100%;
}
.story-photo {
  max-width: 380px;
  aspect-ratio: 3 / 4;
  margin-left: auto;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}
.story-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.story-copy { max-width: 600px; }
.story-copy h2 { color: #fff; }
.story-copy p { color: #c5cce0; }

/* ---------- Contact ---------- */
.contact-band {
  background: linear-gradient(135deg, #1e3a8a, #3b82f6);
  padding: 4rem 1.5rem;
}
.contact-card {
  max-width: 560px;
  margin: 0 auto;
  background: #fff;
  padding: 2.8rem 2.5rem;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.18);
  text-align: center;
}
.contact-card h2 { margin-bottom: 0.6rem; }
.contact-card p  { margin-bottom: 1.6rem; }
.btn.large {
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.li-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: #0f1424;
  color: #c5cce0;
  padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
}
.footer-col h4 {
  color: #fff;
  margin-bottom: 1rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
}
.footer-col a {
  display: block;
  color: #c5cce0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  transition: color .15s;
}
.footer-col a:hover { color: #fff; }
.footer-col p { color: #c5cce0; font-size: 0.9rem; }
.footer-bottom {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid #1f2740;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #6b7488;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hero-card { grid-template-columns: 1fr; }
  .hero-photo { min-height: 300px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .exp-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 180px 180px auto;
  }
  .exp-card { grid-column: 1 / -1; grid-row: 3 / 4; }
  .story { grid-template-columns: 1fr; }
  .story-photo { margin: 0 auto; max-width: 280px; }
  .footer-grid { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 520px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .exp-grid { grid-template-columns: 1fr; grid-template-rows: 160px 160px auto; }
}
