:root {
  color-scheme: light;
  --paper: #fbfcfb;
  --paper-warm: #f5f7f6;
  --ink: #0e1a20;
  --ink-soft: #263941;
  --muted: #63737b;
  --line: rgba(31, 61, 72, 0.16);
  --line-strong: rgba(31, 61, 72, 0.28);
  --lake: #1e728d;
  --lake-deep: #0d4d63;
  --lake-pale: #d9edf2;
  --mist: rgba(244, 250, 251, 0.86);
  --shadow: 0 28px 90px rgba(17, 48, 58, 0.14);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

.container {
  width: min(100% - 48px, var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 30;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--ink);
  color: #ffffff;
  padding: 10px 14px;
  font-weight: 760;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(31, 61, 72, 0.11);
  background: rgba(251, 252, 251, 0.78);
  backdrop-filter: blur(22px) saturate(1.08);
}

.nav {
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.wordmark,
.nav-links {
  display: flex;
  align-items: center;
}

.wordmark {
  gap: 12px;
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 800;
  letter-spacing: 0;
  text-decoration: none;
}

.wordmark-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(13, 77, 99, 0.38);
  border-radius: 8px;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 255, 255, 0.92) 42% 54%, transparent 54%),
    linear-gradient(180deg, #e8f5f7 0%, #79bace 53%, #145f77 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.75),
    0 10px 22px rgba(24, 86, 108, 0.18);
}

.nav-links {
  gap: 30px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 720;
}

.nav-links a {
  position: relative;
  text-decoration: none;
}

.nav-links a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  background: var(--lake);
  content: "";
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-links a:hover::after,
.nav-links a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  overflow: clip;
  border-bottom: 1px solid var(--line);
  background: #f7faf9;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 50%;
  filter: saturate(0.92) contrast(0.98);
}

.hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(251, 252, 251, 0.98) 0%, rgba(251, 252, 251, 0.95) 34%, rgba(251, 252, 251, 0.74) 58%, rgba(251, 252, 251, 0.18) 100%),
    linear-gradient(180deg, rgba(251, 252, 251, 0.46) 0%, rgba(251, 252, 251, 0.13) 48%, rgba(251, 252, 251, 0.94) 100%);
  content: "";
}

.hero-noise {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(14, 26, 32, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(14, 26, 32, 0.026) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.7) 46%, transparent 82%);
  opacity: 0.42;
}

.hero-inner {
  position: relative;
  display: grid;
  min-height: calc(100svh - 74px);
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 72px;
  padding-block: 110px 78px;
}

.hero-copy {
  max-width: 860px;
}

.section-kicker {
  margin: 0 0 18px;
  color: var(--lake-deep);
  font-size: 0.75rem;
  font-weight: 860;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  letter-spacing: 0;
}

h1 {
  max-width: 9ch;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 8.8rem;
  font-weight: 500;
  line-height: 0.88;
}

h2 {
  font-size: 4.8rem;
  font-weight: 760;
  line-height: 0.98;
}

h3 {
  font-size: 2.35rem;
  font-weight: 770;
  line-height: 1;
}

.tagline {
  max-width: 770px;
  margin: 42px 0 0;
  color: var(--ink-soft);
  font-size: 2.22rem;
  font-weight: 560;
  line-height: 1.16;
}

.supporting-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
  text-shadow: 0 1px 18px rgba(255, 255, 255, 0.82);
}

.studio-card {
  align-self: center;
  border-top: 1px solid var(--line-strong);
  color: var(--ink-soft);
  font-size: 0.82rem;
  font-weight: 780;
  letter-spacing: 0.08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.studio-card span {
  display: block;
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}

.studio-strip {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.strip-grid {
  display: grid;
  grid-template-columns: 0.74fr 1fr;
  gap: 84px;
  padding-block: 34px;
}

.strip-grid p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
}

.strip-grid p:first-child {
  color: var(--ink);
  font-weight: 720;
}

.section {
  padding-block: 118px;
}

.projects-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, #ffffff 0%, #f8fbfb 100%);
}

.projects-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: var(--line);
  content: "";
}

.section-heading {
  display: grid;
  grid-template-columns: 0.42fr 1fr;
  gap: 72px;
  align-items: end;
  margin-bottom: 54px;
}

.project-card {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 42px;
  overflow: hidden;
  border: 1px solid rgba(26, 75, 91, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(240, 248, 250, 0.86)),
    var(--paper);
  padding: 44px;
  box-shadow: var(--shadow);
}

.project-card::after {
  position: absolute;
  right: -160px;
  bottom: -190px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(30, 114, 141, 0.22);
  border-radius: 50%;
  content: "";
}

.project-index {
  color: rgba(13, 77, 99, 0.42);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4rem;
  line-height: 0.86;
}

.project-card-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.project-type {
  display: block;
  margin-top: 12px;
  color: var(--lake-deep);
  font-size: 0.75rem;
  font-weight: 840;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card p {
  position: relative;
  z-index: 1;
  grid-column: 2;
  max-width: 720px;
  margin: 38px 0 0;
  color: var(--ink-soft);
  font-size: 1.34rem;
  line-height: 1.45;
}

.status-label {
  flex: 0 0 auto;
  border: 1px solid rgba(13, 77, 99, 0.25);
  border-radius: 999px;
  background: rgba(217, 237, 242, 0.8);
  color: var(--lake-deep);
  padding: 8px 12px;
  font-size: 0.76rem;
  font-weight: 820;
  line-height: 1;
  white-space: nowrap;
}

.contact-section {
  border-top: 1px solid var(--line);
  background:
    linear-gradient(180deg, #f7faf9 0%, #ffffff 100%);
}

.contact-panel {
  max-width: 900px;
  margin-inline: auto;
  text-align: center;
}

.contact-panel h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.2rem;
  font-weight: 500;
  line-height: 1;
}

.email-link {
  display: inline-block;
  margin-top: 34px;
  color: var(--lake-deep);
  font-size: 1.8rem;
  font-weight: 780;
  text-decoration-thickness: 1px;
  text-underline-offset: 8px;
  transition: color 180ms ease;
}

.email-link:hover,
.email-link:focus-visible {
  color: var(--lake);
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #ffffff;
  color: var(--muted);
  padding-block: 28px;
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(30, 114, 141, 0.42);
  outline-offset: 4px;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 54px;
    align-items: end;
    padding-block: 90px 64px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(251, 252, 251, 0.98) 0%, rgba(251, 252, 251, 0.86) 54%, rgba(251, 252, 251, 0.96) 100%),
      linear-gradient(90deg, rgba(251, 252, 251, 0.94), rgba(251, 252, 251, 0.2));
  }

  .studio-card {
    max-width: 520px;
  }

  .strip-grid,
  .section-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  h1 {
    max-width: 9ch;
    font-size: 6.2rem;
  }

  h2 {
    font-size: 3.45rem;
  }

  .tagline {
    font-size: 1.86rem;
  }

  .projects-section::before {
    display: none;
  }

  .contact-panel h2 {
    font-size: 3.15rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 32px, var(--max-width));
  }

  .nav {
    min-height: 68px;
  }

  .wordmark {
    font-size: 0.92rem;
  }

  .wordmark-mark {
    width: 26px;
    height: 26px;
    border-radius: 7px;
  }

  .nav-links {
    gap: 18px;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    padding-block: 74px 54px;
  }

  .hero-image {
    object-position: 76% 50%;
  }

  h1 {
    font-size: 4.35rem;
  }

  h2 {
    font-size: 2.65rem;
  }

  h3 {
    font-size: 1.88rem;
  }

  .tagline {
    margin-top: 30px;
    font-size: 1.48rem;
  }

  .supporting-copy {
    font-size: 1.02rem;
  }

  .section {
    padding-block: 78px;
  }

  .strip-grid {
    padding-block: 26px;
  }

  .project-card {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px;
  }

  .project-index {
    font-size: 2.8rem;
  }

  .project-card-header {
    flex-direction: column;
  }

  .project-card p {
    grid-column: 1;
    margin-top: 28px;
    font-size: 1.08rem;
  }

  .contact-panel h2 {
    font-size: 2.45rem;
  }

  .email-link {
    font-size: 1.22rem;
  }
}
