@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/inter-var.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/fraunces-var.woff2") format("woff2");
}

@font-face {
  font-family: "Fraunces";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("assets/fonts/fraunces-italic-var.woff2") format("woff2");
}

:root {
  --bg: #0a0a0c;
  --bg-elevated: #14141a;
  --bg-subtle: #101015;

  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #f2efe8;
  --text-muted: #9b9ba6;
  --text-faint: #85858f;

  --accent: #3ddcc4;
  --accent-hover: #6be8d5;
  --accent-ink: #0a0a0c;
  --accent-soft: rgba(61, 220, 196, 0.12);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 999px;

  --max-width: 1120px;
  --gutter: clamp(20px, 5vw, 40px);
  --section-space: clamp(72px, 10vw, 128px);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-hover);
}

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5.2vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
}

p {
  margin: 0;
  text-wrap: pretty;
}

.container {
  width: min(100% - 2 * var(--gutter), var(--max-width));
  margin-inline: auto;
}

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

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

.section-head {
  max-width: 660px;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.section-lead {
  max-width: 60ch;
  margin-top: 16px;
  color: var(--text-muted);
  font-size: 1.0625rem;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

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

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 14px 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.btn--primary {
  background: var(--accent);
  color: var(--accent-ink);
}

.btn--primary:hover {
  background: var(--accent-hover);
  color: var(--accent-ink);
  transform: translateY(-1px);
}

.btn--secondary {
  border-color: var(--border-strong);
  color: var(--text);
}

.btn--secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 72px;
  padding-block: 10px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex-shrink: 0;
  text-decoration: none;
}

.brand picture {
  display: block;
  line-height: 0;
}

.brand img {
  width: 120px;
  height: auto;
}

.brand-descriptor {
  display: none;
  color: var(--text-muted);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
  font-size: 0.9375rem;
}

.site-nav a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--text);
}

.header-cta {
  margin-left: auto;
  padding: 11px 16px;
  font-size: 0.875rem;
}

.mobile-menu {
  position: static;
}

.menu-toggle {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  font-size: 0.875rem;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

.menu-toggle::-webkit-details-marker {
  display: none;
}

.menu-toggle::after {
  content: "";
  width: 0.45em;
  height: 0.45em;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 160ms ease;
}

.mobile-menu[open] .menu-toggle::after {
  transform: translateY(2px) rotate(-135deg);
}

.menu-panel {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: grid;
  gap: 2px;
  padding: 12px var(--gutter) 20px;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.9);
}

.menu-panel a {
  padding: 12px 4px;
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
}

.menu-panel a:hover {
  color: var(--text);
}

/* Hero */

.hero {
  padding-block: clamp(96px, 14vw, 180px) var(--section-space);
}

.hero-inner {
  display: grid;
  gap: clamp(40px, 6vw, 64px);
  align-items: center;
}

.hero-copy h1 {
  max-width: 22ch;
}

.hero-sub {
  max-width: 56ch;
  margin-top: 24px;
  color: var(--text-muted);
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin-top: 32px;
}

.hero-creds {
  margin-top: 24px;
  color: var(--text-faint);
  font-size: 0.875rem;
  letter-spacing: 0.04em;
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 220px);
  margin-inline: auto;
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(closest-side, var(--accent-soft), transparent);
  pointer-events: none;
}

.hero-mark img {
  position: relative;
  width: 100%;
  opacity: 0.9;
}

.hero-mark picture {
  display: block;
  width: 100%;
}

.about-photo picture {
  display: block;
}

/* Proof strip */

.proof-band {
  padding-block: clamp(40px, 6vw, 64px);
  border-block: 1px solid var(--border);
  background: var(--bg-subtle);
}

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

.proof-number {
  color: var(--accent);
  font-size: clamp(2.25rem, 5.2vw, 4rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  line-height: 1;
  white-space: nowrap;
}

.proof-label {
  max-width: 22ch;
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.proof-note {
  margin-top: 32px;
  color: var(--text-faint);
  font-size: 0.875rem;
}

/* Services */

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

.service {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated);
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.service-media {
  aspect-ratio: 1 / 1;
  margin-bottom: 20px;
  border-radius: var(--radius-sm);
  background: radial-gradient(circle at 50% 45%, rgba(61, 220, 196, 0.06), transparent 65%);
  overflow: hidden;
}

.service-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.service-body h3 {
  margin-bottom: 8px;
}

.service-body p {
  color: var(--text-muted);
  font-size: 1.0625rem;
  line-height: 1.6;
}

/* Engagement models */

.models-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

.model {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.model-number {
  margin-bottom: 12px;
  color: var(--accent);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.model h3 {
  margin-bottom: 8px;
}

.model p:last-child {
  max-width: 34ch;
  color: var(--text-muted);
}

/* About */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 6vw, 72px);
  align-items: start;
}

.about-photo {
  width: min(100%, 420px);
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.about-copy h2 {
  margin-bottom: 24px;
}

.about-copy > p {
  max-width: 62ch;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.pull-quote {
  max-width: 32ch;
  margin: 32px 0;
  padding: 4px 0 4px 20px;
  border-left: 2px solid var(--accent);
}

.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.4;
}

.credentials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.credentials li {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--text);
  font-size: 0.875rem;
  line-height: 1.4;
}

/* Contact */

.contact-inner {
  max-width: 720px;
  text-align: center;
}

.contact-inner .eyebrow {
  display: block;
}

.contact-lead {
  max-width: 60ch;
  margin: 16px auto 0;
  color: var(--text-muted);
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.contact-meta {
  margin-top: 24px;
  color: var(--text-faint);
  font-size: 0.875rem;
}

/* Footer */

.site-footer {
  padding-block: 32px;
  border-top: 1px solid var(--border);
  color: var(--text-faint);
  font-size: 0.875rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

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

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

/* Responsive */

@media (min-width: 480px) {
  .hero-actions {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 640px) {
  .brand img {
    width: 136px;
  }

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

@media (min-width: 960px) {
  .header-inner {
    gap: 24px;
  }

  .brand img {
    width: 144px;
  }

  .site-nav {
    display: flex;
  }

  .header-cta {
    margin-left: 0;
    padding: 12px 18px;
    font-size: 0.9375rem;
  }

  .mobile-menu {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .hero-mark {
    width: 320px;
    margin-inline: 0;
    justify-self: end;
  }

  .proof-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
  }

  .proof-item {
    padding-inline: 20px;
  }

  .proof-item:first-child {
    padding-left: 0;
  }

  .proof-item + .proof-item {
    border-left: 1px solid var(--border);
  }

  .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

  .about-grid {
    grid-template-columns: 5fr 7fr;
  }

  .about-photo {
    width: 100%;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .brand-descriptor {
    display: block;
  }
}

@media (min-width: 1200px) {
  .brand img {
    width: 156px;
  }
}

@media (hover: hover) {
  .service:hover {
    border-color: rgba(61, 220, 196, 0.4);
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  .service:hover,
  .btn:hover {
    transform: none;
  }
}
