/* ══════════════════════════════════════════
   DILMUN — Enterprise Light Theme
   Editorial precision. Warm clarity.
   ══════════════════════════════════════════ */

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #faf9f6;
  --bg-alt: #edeae4;
  --white: #ffffff;
  --fg: #1a1915;
  --fg-secondary: #4a4740;
  --fg-muted: #8a8580;
  --fg-faint: #b5b0a8;

  /* Dilmun brass — refined, not flashy */
  --accent: #8b6f3a;
  --accent-light: #a6874d;
  --accent-bg: #f5f0e6;
  --accent-border: #d4c5a0;

  /* Surfaces */
  --border: #e5e2dc;
  --border-hover: #ccc8c0;
  --shadow-sm: 0 1px 3px rgba(26,25,21,0.06), 0 1px 2px rgba(26,25,21,0.04);
  --shadow-md: 0 4px 16px rgba(26,25,21,0.08), 0 2px 4px rgba(26,25,21,0.05);
  --shadow-lg: 0 12px 40px rgba(26,25,21,0.1), 0 4px 12px rgba(26,25,21,0.06);

  --radius: 10px;
  --radius-lg: 16px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.page {
  min-height: 100vh;
}

/* ══════════════════
   Navigation
   ══════════════════ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  background: rgba(250,249,246,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  opacity: 0;
  transform: translateY(-10px);
  animation: fadeDown 0.6s ease 0.3s forwards;
}

.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--fg-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.01em;
}

.nav-links a:hover {
  color: var(--fg);
}

.nav-cta {
  background: var(--fg);
  color: var(--bg) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-size: 0.82rem !important;
  transition: background 0.2s ease !important;
}

.nav-cta:hover {
  background: var(--accent) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--fg);
  transition: all 0.3s ease;
}

/* ══════════════════
   Hero
   ══════════════════ */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 3rem 6rem;
  overflow: hidden;
}

/* Subtle geometric grid pattern */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, var(--border) 1px, transparent 0);
  background-size: 48px 48px;
  opacity: 0.5;
  mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 70% 40%, black 20%, transparent 70%);
}

/* Warm gradient wash */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(139,111,58,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  max-width: 780px;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.hero-title {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--fg);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: revealTitle 1s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

.hero-title em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--fg-secondary);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1s forwards;
}

.hero-ctas {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 4rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.15s forwards;
}

/* Stats row */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.8s ease 1.3s forwards;
}

.stat-number {
  display: block;
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--fg);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-muted);
  letter-spacing: 0.01em;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Buttons ── */
.btn {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary svg {
  transition: transform 0.25s ease;
}

.btn-primary:hover svg {
  transform: translateX(3px);
}

.btn-secondary {
  background: var(--white);
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

/* ══════════════════
   Proof Strip
   ══════════════════ */

.proof-strip {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.5rem 3rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.proof-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-faint);
  white-space: nowrap;
}

.proof-logos {
  display: flex;
  gap: 2.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.proof-logos span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--fg-muted);
  opacity: 0.7;
}

/* ══════════════════
   Sections
   ══════════════════ */

.section {
  padding: 7rem 3rem;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section--alt {
  max-width: 100%;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section--alt > .section-header,
.section--alt > .work-grid,
.section--alt > .work-cta {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--fg-secondary);
  max-width: 520px;
  line-height: 1.6;
}

/* ══════════════════
   Services
   ══════════════════ */

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.service-card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.service-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--fg);
  line-height: 1.6;
  margin-bottom: 1.25rem;
  opacity: 0.75;
}

.service-features {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-features li {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent);
  background: var(--accent-bg);
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
  letter-spacing: 0.01em;
}

/* ══════════════════
   Work Cards
   ══════════════════ */

.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  padding: 0 3rem;
}

.work-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.work-card:hover {
  border-color: var(--border-hover);
  border-left-color: var(--accent);
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.work-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.work-card-badge {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2d8a4e;
  background: #e8f5ed;
  padding: 0.3rem 0.7rem;
  border-radius: 4px;
}

.work-card-header svg {
  color: var(--fg-faint);
  transition: all 0.25s ease;
}

.work-card:hover .work-card-header svg {
  color: var(--accent);
  transform: translate(2px, -2px);
}

.work-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.work-card p {
  font-size: 0.9rem;
  color: var(--fg);
  opacity: 0.75;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.work-card-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.work-card-tags span {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--fg-muted);
  border: 1px solid var(--border);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
}

.work-cta {
  text-align: center;
  margin-top: 3rem;
  padding: 0 3rem;
}

.work-cta p {
  font-size: 0.9rem;
  color: var(--fg-muted);
  margin-bottom: 1rem;
}

/* ══════════════════
   Why Us
   ══════════════════ */

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.why-item {
  padding: 1.5rem;
  border-radius: var(--radius);
  transition: background 0.3s ease;
}

.why-item:hover {
  background: var(--white);
}

.why-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-bg);
  border-radius: 10px;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.why-item h4 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  color: var(--fg);
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.85rem;
  color: var(--fg-secondary);
  line-height: 1.6;
}

/* ══════════════════
   Contact
   ══════════════════ */

.section--contact {
  max-width: 100%;
  background: var(--fg);
  padding: 6rem 3rem;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.section--contact .section-label {
  color: var(--accent-light);
}

.contact-heading {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--bg);
}

.contact-heading em {
  font-style: italic;
  color: var(--accent-light);
}

.contact-desc {
  font-size: 0.95rem;
  color: var(--fg-faint);
  margin-top: 1rem;
  line-height: 1.6;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--bg);
  transition: all 0.25s ease;
  margin-bottom: 0.75rem;
}

.contact-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateX(4px);
}

.contact-card svg:first-child {
  opacity: 0.6;
  flex-shrink: 0;
}

.contact-card div {
  flex: 1;
}

.contact-card-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-faint);
  margin-bottom: 0.15rem;
}

.contact-card-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--bg);
}

.contact-arrow {
  opacity: 0.3;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.contact-card:hover .contact-arrow {
  opacity: 0.8;
  transform: translateX(3px);
}

.contact-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--fg-faint);
  margin-top: 1.5rem;
  letter-spacing: 0.04em;
}

.contact-location svg {
  opacity: 0.5;
}

/* ══════════════════
   Footer
   ══════════════════ */

footer {
  padding: 2rem 3rem;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

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

.footer-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1rem;
  color: var(--fg);
  display: block;
  margin-bottom: 0.25rem;
}

.footer-copy {
  font-size: 0.72rem;
  color: var(--fg-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--fg);
}

/* ══════════════════
   Animations
   ══════════════════ */

@keyframes revealTitle {
  from {
    opacity: 0;
    transform: translateY(30px);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ══════════════════
   Responsive
   ══════════════════ */

@media (max-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0.875rem 1.5rem;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    z-index: 99;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links.open a {
    font-size: 1.1rem;
    color: var(--fg);
  }

  .nav-toggle {
    display: flex;
    z-index: 101;
  }

  .hero {
    padding: 7rem 1.5rem 4rem;
    min-height: auto;
  }

  .hero-title {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }

  .hero-stats {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .stat-divider {
    width: 40px;
    height: 1px;
  }

  .hero-ctas {
    flex-direction: column;
  }

  .hero-ctas .btn {
    text-align: center;
    justify-content: center;
  }

  .proof-strip {
    padding: 1.25rem 1.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }

  .proof-logos {
    gap: 1.5rem;
  }

  .section {
    padding: 4rem 1.5rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .work-grid {
    grid-template-columns: 1fr;
    padding: 0 1.5rem;
  }

  .work-cta {
    padding: 0 1.5rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .section--contact {
    padding: 4rem 1.5rem;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  footer {
    padding: 1.5rem;
  }

  .footer-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.8rem, 9vw, 2.5rem);
  }

  .section-heading {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
  }
}
