@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Manrope:wght@500;600;700&display=swap');

:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-alt: #f1f3f6;
  --text: #1e1e1e;
  --text-muted: #5f6368;
  --accent: #5f7a99;
  --accent-strong: #4c637d;
  --border: #e1e5ea;
  --shadow: 0 22px 40px rgba(17, 24, 39, 0.08);
  --shadow-soft: 0 10px 24px rgba(17, 24, 39, 0.06);
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --max-width: 1200px;
  --section-padding: 104px;
}

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

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
  line-height: 1.7;
  min-height: 100vh;
  position: relative;
}

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

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

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

p {
  color: var(--text-muted);
}

main {
  overflow: hidden;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--accent);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  z-index: 999;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(17, 24, 39, 0.04);
}

.site-header .wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-areas: 'logo nav cta';
  align-items: center;
  column-gap: 32px;
}

.logo {
  grid-area: logo;
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
  font-weight: 700;
  white-space: nowrap;
}

.nav-toggle {
  display: none;
  grid-area: cta;
  justify-self: end;
  margin-left: auto;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  color: var(--text);
}

.site-nav {
  grid-area: nav;
  justify-self: center;
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding: 8px 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--accent);
  border-color: rgba(95, 122, 153, 0.35);
}

.site-nav .is-active {
  color: var(--accent-strong);
  border-color: var(--accent);
}

.header-cta {
  grid-area: cta;
  justify-self: end;
}

.header-cta .button {
  background: rgba(95, 122, 153, 0.12);
  color: var(--accent-strong);
  border: 1px solid rgba(95, 122, 153, 0.35);
  box-shadow: none;
}

.header-cta .button:hover {
  background: rgba(95, 122, 153, 0.18);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button-primary {
  background: var(--accent);
  color: white;
  box-shadow: 0 12px 24px rgba(95, 122, 153, 0.22);
}

.button-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(95, 122, 153, 0.28);
}

.button-secondary {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--surface);
}

.button-ghost {
  border-color: var(--border);
  color: var(--text-muted);
  background: var(--surface);
}

.section {
  padding: var(--section-padding) 24px;
}

.wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: 'Manrope', 'Inter', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text);
}

h1 {
  font-size: clamp(2.6rem, 4vw, 3.7rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  margin-bottom: 10px;
}

.section-title {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
  margin-bottom: 36px;
}

.hero {
  padding: 120px 24px 110px;
  position: relative;
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(247, 248, 250, 0.95) 100%),
    url('assets/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: 0;
  pointer-events: none;
}

.hero::before {
  inset: 0;
  background-image: repeating-linear-gradient(
      90deg,
      rgba(95, 122, 153, 0.04) 0 1px,
      transparent 1px 140px
    ),
    repeating-linear-gradient(
      180deg,
      rgba(95, 122, 153, 0.04) 0 1px,
      transparent 1px 140px
    );
  opacity: 0.22;
}

.hero::after {
  width: 360px;
  height: 360px;
  top: -160px;
  right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(95, 122, 153, 0.14) 0%, transparent 70%);
  opacity: 0.4;
}

.hero .wrapper {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
}

.hero-content {
  grid-column: span 7;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  grid-column: span 5;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 20px;
}

.hero-card .label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.fact {
  display: grid;
  gap: 6px;
}

.fact span {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.9rem;
  color: var(--accent-strong);
}

.grid-2 {
  display: grid;
  gap: 28px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px;
  box-shadow: var(--shadow-soft);
}

.card p {
  margin-top: 10px;
}

.blog-grid {
  gap: 28px;
}

.blog-card {
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}

.blog-thumb {
  height: 190px;
  background-color: #f3f4f6;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blog-card:nth-child(1) .blog-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.06)),
    url('assets/cover-1.jpg');
}

.blog-card:nth-child(2) .blog-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.06)),
    url('assets/cover-2.jpg');
}

.blog-card:nth-child(3) .blog-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.06)),
    url('assets/cover-3.jpg');
}

.blog-card:nth-child(4) .blog-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.06)),
    url('assets/cover-4.jpg');
}

.blog-card:nth-child(5) .blog-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.06)),
    url('assets/cover-5.jpg');
}

.blog-card:nth-child(6) .blog-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(0, 0, 0, 0.06)),
    url('assets/cover-6.jpg');
}

.blog-body {
  padding: 22px 22px 24px;
  display: grid;
  gap: 12px;
}

.blog-body p {
  margin: 0;
}

.blog-body .button {
  justify-self: start;
}

.gallery-grid {
  gap: 24px;
}

.gallery-item {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  background: #f7f8fa;
  min-height: 240px;
  color: inherit;
  cursor: pointer;
}

.gallery-thumb {
  position: absolute;
  inset: 0;
  background-color: #f3f4f6;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.gallery-item:nth-child(1) .gallery-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.06)),
    url('assets/cover-1.jpg');
}

.gallery-item:nth-child(2) .gallery-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.06)),
    url('assets/cover-2.jpg');
}

.gallery-item:nth-child(3) .gallery-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.06)),
    url('assets/cover-3.jpg');
}

.gallery-item:nth-child(4) .gallery-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.06)),
    url('assets/cover-4.jpg');
}

.gallery-item:nth-child(5) .gallery-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.06)),
    url('assets/cover-5.jpg');
}

.gallery-item:nth-child(6) .gallery-thumb {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.06)),
    url('assets/cover-6.jpg');
}

.gallery-caption {
  position: relative;
  z-index: 1;
  padding: 20px 20px 18px;
  display: grid;
  gap: 8px;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  gap: 8px;
  align-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-item:hover .gallery-overlay,
.gallery-item:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-overlay p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 40;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-dialog {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 28px 28px 32px;
  width: min(720px, 92vw);
  display: grid;
  gap: 12px;
}

.lightbox-image {
  width: 100%;
  max-height: 360px;
  object-fit: cover;
  border-radius: 14px;
  background: #f1f3f6;
}

.lightbox-close {
  justify-self: end;
  border: 0;
  background: transparent;
  font-size: 1.4rem;
  color: var(--text-muted);
  cursor: pointer;
}

.lightbox-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.lightbox-body p {
  margin: 0;
}

.service-card {
  display: grid;
  gap: 12px;
  align-content: start;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-2px);
  border-color: rgba(95, 122, 153, 0.35);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.08);
}

.service-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(95, 122, 153, 0.1);
  color: var(--accent);
}

.service-icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.callout {
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: grid;
  gap: 18px;
}

.callout .button {
  justify-self: start;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(95, 122, 153, 0.12);
  color: var(--accent);
  font-weight: 600;
}

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

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

.list li::before {
  content: '•';
  color: var(--accent);
  font-size: 1.1rem;
  line-height: 1.4;
}

.tag-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag {
  border: 1px solid var(--border);
  background: var(--surface);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.feature-list {
  display: grid;
  gap: 18px;
}

.feature {
  padding: 18px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
}

.feature h3 {
  margin-bottom: 6px;
}

.section-muted {
  background: var(--surface-alt);
}

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

.timeline-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}

.timeline-item span {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--accent-strong);
  font-size: 0.9rem;
}

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

.form-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--surface);
  font-family: inherit;
  font-size: 0.95rem;
}

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

label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
}

.form-field {
  display: grid;
  gap: 8px;
}

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer {
  background: var(--surface-alt);
  color: var(--text-muted);
  padding: 48px 24px;
  border-top: 1px solid var(--border);
}

.footer .wrapper {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
}

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

.footer small {
  color: var(--text-muted);
  display: block;
  margin-top: 12px;
}

.footer .logo {
  color: var(--text);
}

.footer strong {
  color: var(--text);
  display: block;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.footer-list {
  display: grid;
  gap: 10px;
}

.footer-list a:hover,
.footer-list a:focus-visible {
  color: var(--text);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid rgba(95, 122, 153, 0.5);
  outline-offset: 2px;
}

body.legal-page {
  background: #ffffff;
}

.legal-page .section,
.legal-page .section-muted {
  background: #ffffff;
}

.legal-page .section + .section {
  border-top: 1px solid var(--border);
}

.legal-page .section-title {
  max-width: 860px;
}

.legal-page p,
.legal-page li {
  line-height: 1.9;
  font-size: 1.02rem;
}

.legal-page .grid-2,
.legal-page .grid-3 {
  grid-template-columns: 1fr;
  gap: 20px;
}

.legal-page .card,
.legal-page .feature,
.legal-page .callout {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  padding: 24px 0;
}

.legal-page .callout {
  border-top: 1px solid var(--border);
}

.legal-page .pill {
  background: transparent;
  padding: 0;
  border-radius: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
}

.legal-page .divider {
  margin: 24px 0;
  background: var(--border);
}

.reveal {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
}

@media (max-width: 1100px) {
  .hero .wrapper {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .hero-content,
  .hero-card {
    grid-column: span 1;
  }

  .footer .wrapper {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .site-header .wrapper {
    grid-template-columns: 1fr auto;
    grid-template-areas: 'logo cta';
  }

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

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .site-nav.is-open {
    display: flex;
    position: fixed;
    inset: 0;
    padding: 120px 32px 120px;
    background: var(--surface);
    z-index: 15;
  }

  .site-nav.is-open a {
    font-size: 1.1rem;
    padding: 6px 0;
  }

  .header-cta {
    display: none;
  }

  .site-nav.is-open + .header-cta {
    display: block;
    position: fixed;
    left: 32px;
    right: 32px;
    bottom: 32px;
    z-index: 16;
  }

  .site-nav.is-open + .header-cta .button {
    width: 100%;
    background: var(--accent);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(95, 122, 153, 0.2);
  }

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

  .blog-thumb {
    height: 160px;
  }

  .gallery-item {
    min-height: 220px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 72px 20px;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 96px 20px 90px;
  }

  .section {
    padding: 64px 18px;
  }

  .blog-thumb {
    height: 150px;
  }

  .gallery-overlay {
    padding: 20px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
  }

  .button {
    transition: none;
  }
}
