@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Fraunces:opsz,wght@9..144,500;9..144,600&display=swap");

:root {
  color-scheme: dark;
  --bg: #0f1319;
  --surface: rgba(20, 27, 35, 0.82);
  --surface-border: rgba(161, 210, 255, 0.14);
  --text: #ebf5ff;
  --muted: #98abc2;
  --accent: #8bc4ff;
  --accent-strong: #a7d6ff;
  --accent-soft: rgba(139, 196, 255, 0.12);
  --line: rgba(161, 210, 255, 0.1);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.34);
  --radius-lg: 30px;
  --radius-sm: 999px;
  --shell: min(1240px, calc(100vw - 2rem));
}

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

html {
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(139, 196, 255, 0.18), transparent 24%),
    radial-gradient(circle at 88% 14%, rgba(104, 165, 224, 0.14), transparent 22%),
    linear-gradient(180deg, #0b0f14 0%, #10151b 38%, #121923 100%);
}

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.6;
  font-family: "Manrope", "Segoe UI", sans-serif;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl { margin: 0; }
ul { padding: 0; list-style: none; }
.shell { width: var(--shell); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(20px);
  background: rgba(10, 13, 18, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.site-header__nav-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
}

.brand__mark {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--accent);
}

.brand__text {
  color: var(--muted);
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.35rem;
}

.nav-link,
.lang-switch {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.lang-switch {
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link--active,
.lang-switch:hover,
.lang-switch:focus-visible,
.button:hover,
.button:focus-visible,
.text-link:hover,
.text-link:focus-visible {
  background: rgba(139, 196, 255, 0.1);
  color: var(--text);
  transform: translateY(-1px);
}

.hero,
.section,
.page-header { padding: 5rem 0; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero__copy,
.hero__panel,
.project-card,
.detail-card {
  background: linear-gradient(180deg, rgba(24, 31, 41, 0.88), rgba(17, 23, 30, 0.92));
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero__copy,
.hero__panel,
.detail-card { padding: 2rem; }

.hero__copy {
  position: relative;
  overflow: hidden;
}

.hero__copy::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(130deg, rgba(139, 196, 255, 0.08), transparent 34%),
    radial-gradient(circle at 100% 0%, rgba(139, 196, 255, 0.12), transparent 32%);
  pointer-events: none;
}

.hero__copy > * { position: relative; }

.hero__copy h1,
.page-header h1 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(2.8rem, 4.9vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.hero__lede,
.page-header__lead,
.section-intro p,
.content-stack p,
.detail-card p,
.legal-copy p,
.project-card p {
  color: var(--muted);
  font-size: 1.02rem;
}

.hero__lede,
.page-header__lead {
  max-width: 42rem;
  margin-top: 1.35rem;
}

.eyebrow,
.hero__panel-label,
.detail-list dt {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.service-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.7rem;
}

.service-strip__item {
  display: inline-flex;
  align-items: center;
  min-height: 2.1rem;
  padding: 0.35rem 0.82rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  font-size: 0.82rem;
}

.hero__actions,
.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero__actions { margin-top: 2rem; }

.button,
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.72rem 1.15rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.button--primary {
  background: var(--accent);
  color: #081018;
}

.button--secondary,
.text-link {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--surface-border);
}

.hero__panel {
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: start;
  gap: 1rem;
}

.hero__panel::after {
  content: "";
  position: absolute;
  inset: auto -18% -18% auto;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139, 196, 255, 0.24), transparent 68%);
}

.hero__contact-title {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  max-width: 10ch;
}

.contact-card {
  display: grid;
  gap: 0.95rem;
}

.contact-card p {
  display: grid;
  gap: 0.22rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line);
}

.contact-card span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section-intro,
.content-stack,
.detail-list { display: grid; gap: 1rem; }

.section-intro { max-width: 44rem; }

.section-intro h2,
.section--split h2,
.detail-card h2,
.detail-card h3 {
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(1.9rem, 3.1vw, 2.8rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 2rem;
}

.project-card { overflow: hidden; }

.project-card__image {
  aspect-ratio: 16 / 10;
  width: 100%;
  object-fit: cover;
  background: linear-gradient(180deg, #16202a, #0f151d);
}

.project-card__body {
  display: grid;
  gap: 1rem;
  padding: 1.35rem;
}

.project-card__body h3 {
  font-size: 1.18rem;
  letter-spacing: -0.02em;
}

.project-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.pill,
.tag-list li {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
}

.pill {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.project-card__release,
.site-footer__copy,
.site-footer__copyright,
.detail-list dd,
.project-card__note { color: var(--muted); }

.project-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font-size: 0.84rem;
  font-weight: 700;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.project-link:hover,
.project-link:focus-visible {
  background: rgba(139, 196, 255, 0.1);
  border-color: rgba(139, 196, 255, 0.22);
  transform: translateY(-1px);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-list li { background: rgba(255, 255, 255, 0.05); }

.section--split {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
}

.section--narrow { max-width: 56rem; }
.detail-card { padding: 2rem; }
.detail-list dd { margin: 0.35rem 0 0; }

.site-footer { padding: 2rem 0 2.5rem; }
.site-footer__inner { border-top: 1px solid var(--line); }
.site-footer__title {
  color: var(--accent);
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.5rem;
  line-height: 1;
}

.site-footer__kicker {
  margin-top: 0.35rem;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.8;
}

.site-footer__copy,
.site-footer__copyright {
  margin-top: 0.28rem;
  max-width: 36rem;
}

.site-footer__meta {
  display: grid;
  gap: 0.9rem;
  justify-items: end;
  padding-left: 2rem;
}

@media (max-width: 1180px) {
  .project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

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

  .hero,
  .section,
  .page-header { padding: 3.6rem 0; }
}

@media (max-width: 720px) {
  .project-grid { grid-template-columns: 1fr; }

  .site-header__inner,
  .site-footer__inner,
  .site-header__nav-group {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer__meta {
    justify-items: start;
    padding-left: 0;
    padding-top: 0.75rem;
  }

  .hero__copy,
  .hero__panel,
  .detail-card,
  .project-card__body { padding: 1.25rem; }

  .hero__copy h1,
  .page-header h1 { max-width: 100%; }
}
