:root {
  color-scheme: dark;
  --ink: #eef8ff;
  --muted: #a9bed0;
  --soft: #d5e8f5;
  --line: rgba(174, 215, 236, 0.18);
  --panel: rgba(5, 25, 46, 0.72);
  --panel-strong: rgba(3, 17, 32, 0.88);
  --accent: #56d6ff;
  --accent-2: #65f2c9;
  --deep: #020a15;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(2, 10, 21, 0.1), var(--deep) 760px),
    var(--deep);
}

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: linear-gradient(180deg, rgba(2, 10, 21, 0.9), rgba(2, 10, 21, 0.38));
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(174, 215, 236, 0.08);
}

.brand,
nav {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(86, 214, 255, 0.72);
  border-radius: 50%;
  background:
    radial-gradient(circle at 62% 36%, rgba(101, 242, 201, 0.95) 0 3px, transparent 4px),
    linear-gradient(145deg, rgba(86, 214, 255, 0.42), rgba(2, 10, 21, 0.4));
  box-shadow: 0 0 28px rgba(86, 214, 255, 0.22);
}

nav {
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a,
.hero-link,
.project a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
}

nav a {
  color: var(--muted);
  font-size: 0.94rem;
}

nav a:hover,
.project a:hover {
  color: var(--accent);
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: end;
  gap: 32px;
  padding: clamp(112px, 16vh, 168px) clamp(20px, 5vw, 72px) clamp(48px, 10vh, 96px);
  background:
    linear-gradient(90deg, rgba(2, 10, 21, 0.95) 0%, rgba(2, 10, 21, 0.72) 38%, rgba(2, 10, 21, 0.38) 72%),
    linear-gradient(180deg, rgba(2, 10, 21, 0.06) 0%, rgba(2, 10, 21, 0.75) 100%),
    url("/assets/deep-ocean-hero.png") center / cover no-repeat;
}

.hero-copy {
  width: min(100%, 850px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-2);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 9vw, 8rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.lede {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--soft);
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  line-height: 1.58;
}

.hero-link {
  width: fit-content;
  padding: 0 20px;
  border: 1px solid rgba(86, 214, 255, 0.46);
  background: rgba(2, 10, 21, 0.54);
  color: var(--ink);
}

.section {
  padding: clamp(54px, 8vw, 92px) clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
}

.intro,
.commission {
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(280px, 1.15fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: start;
  background: linear-gradient(180deg, rgba(3, 17, 32, 0.96), rgba(2, 10, 21, 0.98));
}

.section h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.section p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.75;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-left: 0;
  padding-right: 0;
  background: var(--line);
}

.project {
  min-height: 320px;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 44px);
  background:
    linear-gradient(180deg, rgba(7, 37, 64, 0.96), rgba(3, 17, 32, 0.98));
}

.project span {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project h2 {
  margin: 18px 0 20px;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
  line-height: 1.05;
}

.project p {
  flex: 1;
}

.project a {
  width: fit-content;
  margin-top: 26px;
  color: var(--accent-2);
}

.commission {
  background:
    linear-gradient(90deg, rgba(3, 17, 32, 0.98), rgba(5, 36, 60, 0.84)),
    radial-gradient(circle at 88% 24%, rgba(86, 214, 255, 0.16), transparent 34%);
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px clamp(20px, 5vw, 72px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  background: #020812;
  font-size: 0.92rem;
}

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

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  nav {
    justify-content: flex-start;
    gap: 18px;
  }

  .hero {
    min-height: 88vh;
    padding-top: 170px;
    background:
      linear-gradient(180deg, rgba(2, 10, 21, 0.76), rgba(2, 10, 21, 0.92)),
      url("/assets/deep-ocean-hero.png") center / cover no-repeat;
  }

  .intro,
  .commission {
    grid-template-columns: 1fr;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project {
    min-height: 260px;
  }

  footer {
    flex-direction: column;
  }
}
