:root {
  --bg: #fff;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --link: #0066cc;
  --link-hover: #0077ed;
  --border: #d2d2d7;
  --surface: #f5f5f7;
  --nav-height: 44px;
  --local-nav-height: 52px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--link);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: min(980px, calc(100% - 48px));
  margin: 0 auto;
}

.container-wide {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* Global nav */
.global-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.global-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 22px;
  max-width: 1024px;
  margin: 0 auto;
}

.global-nav .logo {
  font-size: 21px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.global-nav .logo:hover {
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
}

.global-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

.global-links a {
  color: var(--text);
  text-decoration: none;
}

.global-links a:hover {
  color: var(--link);
  text-decoration: none;
}

/* Local nav */
.local-nav {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  background: rgba(245, 245, 247, 0.92);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
}

.local-nav .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--local-nav-height);
  padding: 0 22px;
  max-width: 1024px;
  margin: 0 auto;
}

.local-nav .title {
  font-size: 21px;
  font-weight: 600;
}

.local-links {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 12px;
}

.local-links a {
  color: var(--text-secondary);
}

.local-links a.active,
.local-links a:hover {
  color: var(--text);
  text-decoration: none;
}

.local-cta {
  font-size: 12px;
  color: var(--link);
}

/* Hero */
.hero {
  background: var(--surface);
  padding: 48px 0 0;
}

.hero-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 48px;
}

.hero-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 0;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
  text-align: center;
}

.hero-lead {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-align: center;
  max-width: 820px;
  margin: 0 auto 64px;
  color: var(--text);
}

.hero-copy {
  font-size: 19px;
  line-height: 1.5;
  color: var(--text-secondary);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 80px;
}

/* Section */
.section {
  padding: 80px 0;
}

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

.section-header {
  margin-bottom: 48px;
}

.section-header h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.section-header p {
  font-size: 21px;
  color: var(--text-secondary);
  margin: 0;
}

.section-link {
  font-size: 17px;
  color: var(--link);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 12px;
}

/* Quote block */
.quote-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 64px;
}

.quote-block img {
  border-radius: 12px;
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.quote-text blockquote {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

.quote-text cite {
  font-style: normal;
  font-size: 17px;
  color: var(--text-secondary);
  display: block;
}

.quote-text .name {
  font-weight: 600;
  color: var(--text);
}

.watch-link {
  font-size: 14px;
  margin-top: 12px;
  display: inline-block;
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg);
  border-radius: 18px;
  overflow: hidden;
}

.section.alt .feature-card {
  background: var(--bg);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.feature-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.feature-card h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 20px 20px 8px;
}

.feature-card p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 20px 20px;
}

/* Research */
.research-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.research-grid img {
  border-radius: 12px;
  width: 100%;
}

.research-grid h3 {
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 12px;
}

.research-grid p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

/* IT cards */
.it-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.it-card {
  background: var(--surface);
  border-radius: 18px;
  padding: 32px;
  min-height: 220px;
}

.it-card h3 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin: 0 0 8px;
}

.it-card h4 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.it-card p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-item h3 {
  font-size: 21px;
  font-weight: 600;
  margin: 0 0 8px;
}

.value-item p {
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0 0 12px;
}

/* Contact */
.contact-section {
  background: var(--surface);
  padding: 80px 0;
}

.contact-section h2 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  text-align: center;
  margin: 0 0 8px;
}

.contact-section .sub {
  text-align: center;
  font-size: 21px;
  color: var(--text-secondary);
  margin: 0 0 48px;
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  font-size: 12px;
  color: var(--text-secondary);
  display: block;
  margin-bottom: 4px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 17px;
  font-family: inherit;
  background: var(--bg);
}

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

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-secondary);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: var(--link);
  color: #fff;
  border: none;
  border-radius: 980px;
  font-size: 17px;
  font-weight: 400;
  cursor: pointer;
  font-family: inherit;
}

.btn-primary:hover {
  background: var(--link-hover);
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 24px 22px;
  font-size: 12px;
  color: var(--text-secondary);
}

.site-footer .inner {
  max-width: 1024px;
  margin: 0 auto;
}

.footer-note {
  margin-top: 16px;
  line-height: 1.5;
}

/* Mobile */
@media (max-width: 834px) {
  .menu-toggle {
    display: block;
  }

  .global-links,
  .local-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .global-links.open,
  .local-links.open {
    display: flex;
  }

  .global-nav .inner,
  .local-nav .inner {
    position: relative;
  }

  .hero-gallery {
    grid-template-columns: 1fr;
  }

  .quote-block,
  .research-grid,
  .feature-grid,
  .it-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

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

  .local-nav .title {
    font-size: 17px;
  }
}
