:root {
  color-scheme: light;
  --bg: #f7f3eb;
  --bg-2: #edf4f2;
  --ink: #0e1c2b;
  --muted: #5f6b73;
  --accent: #18a999;
  --accent-2: #f15b4a;
  --accent-3: #1b4f72;
  --surface: #ffffff;
  --surface-2: #f2eee7;
  --stroke: rgba(14, 28, 43, 0.12);
  --shadow: 0 30px 70px rgba(14, 28, 43, 0.12);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --section-space: clamp(64px, 8vw, 120px);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Sora", system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: radial-gradient(1200px 600px at 80% -10%, rgba(24, 169, 153, 0.18), transparent 60%),
    radial-gradient(900px 600px at 20% 10%, rgba(241, 91, 74, 0.18), transparent 55%),
    var(--bg);
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Fraunces", "Times New Roman", serif;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
}

p {
  margin: 0 0 1.2em;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(1200px, 92vw);
  margin: 0 auto;
}

.section {
  padding: var(--section-space) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  color: var(--accent-3);
}

.eyebrow::before {
  content: "";
  width: 32px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.display {
  font-size: clamp(2.6rem, 4vw, 4.2rem);
  line-height: 1.05;
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: var(--accent-2);
  color: #fff;
  box-shadow: 0 16px 30px rgba(241, 91, 74, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-ghost {
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.8);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 243, 235, 0.7);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border 0.2s ease, box-shadow 0.2s ease;
}

.site-nav.scrolled {
  border-bottom: 1px solid var(--stroke);
  box-shadow: 0 8px 20px rgba(14, 28, 43, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
}

.brand img {
  width: 38px;
  height: 38px;
}

.brand span {
  font-family: "Sora", system-ui, -apple-system, sans-serif;
}

.nav-links {
  display: flex;
  gap: 22px;
  align-items: center;
  font-weight: 500;
}

.nav-cta {
  display: flex;
  gap: 12px;
  align-items: center;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 600;
}

.hero {
  padding: clamp(60px, 10vw, 140px) 0 var(--section-space);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(30px, 4vw, 64px);
  align-items: center;
}

.hero-media {
  position: relative;
  display: grid;
  gap: 18px;
}

.hero-media .tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.hero-media .tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-media .tile.large {
  aspect-ratio: 4 / 5;
}

.hero-media .tile.small {
  aspect-ratio: 16 / 10;
}

.hero-media .tile.floating {
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: min(45%, 240px);
  border: 2px solid rgba(255, 255, 255, 0.7);
  animation: float 6s ease-in-out infinite;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.stat {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--stroke);
}

.stat strong {
  font-size: 1.8rem;
  display: block;
  color: var(--accent-3);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--stroke);
  box-shadow: 0 12px 30px rgba(14, 28, 43, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(14, 28, 43, 0.15);
}

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.4em;
}

.card p {
  color: var(--muted);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(24, 169, 153, 0.12);
  color: var(--accent-3);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 50px);
  align-items: center;
}

.soft-panel {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 40px);
  border: 1px solid rgba(14, 28, 43, 0.08);
}

.list-grid {
  display: grid;
  gap: 14px;
}

.list-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.list-grid li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.dark-section {
  background: linear-gradient(140deg, #0c1c2b 0%, #132c3d 100%);
  color: #f7f3eb;
}

.dark-section .card {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: none;
}

.dark-section .card p {
  color: rgba(255, 255, 255, 0.7);
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-item {
  padding: 20px 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  background: var(--surface);
}

.logo-wall {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
  text-align: center;
  font-weight: 600;
  color: var(--muted);
}

.page-hero {
  padding: clamp(80px, 8vw, 120px) 0 clamp(40px, 6vw, 80px);
}

.page-hero .container {
  display: grid;
  gap: 20px;
}

.hero-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

details {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

details + details {
  margin-top: 14px;
}

summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

.service-section {
  scroll-margin-top: 120px;
}

.cta {
  display: grid;
  gap: 20px;
  padding: clamp(30px, 4vw, 48px);
  border-radius: var(--radius-lg);
  background: linear-gradient(130deg, rgba(24, 169, 153, 0.15), rgba(241, 91, 74, 0.2));
  border: 1px solid rgba(14, 28, 43, 0.1);
}

.form {
  display: grid;
  gap: 16px;
}

.form input,
.form textarea,
.form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid var(--stroke);
  font-family: inherit;
  font-size: 1rem;
  background: #fff;
}

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

.footer {
  padding: 40px 0 60px;
  border-top: 1px solid var(--stroke);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(2, 1fr);
  gap: 30px;
}

.footer a {
  color: var(--muted);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@media (max-width: 960px) {
  .hero-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-media .tile.floating {
    position: relative;
    right: 0;
    bottom: 0;
    width: 100%;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 0;
  }

  .nav-links[data-open="true"] {
    display: flex;
  }

  .menu-toggle {
    display: inline-flex;
  }

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

@media (prefers-reduced-motion: reduce) {
  .btn,
  .card,
  .reveal,
  .hero-media .tile.floating {
    transition: none;
    animation: none;
  }
}
