:root {
  --ink: #101828;
  --muted: #667085;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --line: #e7e1d6;
  --navy: #102a43;
  --teal: #2f8f83;
  --gold: #b98218;
  --shadow: 0 24px 70px rgba(16, 40, 67, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  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:
    radial-gradient(circle at top left, rgba(47, 143, 131, 0.13), transparent 34rem),
    linear-gradient(180deg, #fffdf9 0%, var(--paper) 48%, #f5efe6 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(47, 143, 131, 0.34);
  outline-offset: 4px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  max-width: 1120px;
  margin: 16px auto 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(231, 225, 214, 0.8);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 50px rgba(16, 40, 67, 0.08);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark,
.studio-mark,
.app-icon {
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--navy);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 16px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a:hover {
  color: var(--ink);
  background: #f3efe8;
}

.hero,
.section,
footer {
  padding-inline: 24px;
}

.hero-inner,
.container,
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
}

.hero {
  padding-top: 96px;
  padding-bottom: 82px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 64px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  color: var(--ink);
  font-size: clamp(46px, 7vw, 86px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: #fff;
  background: var(--navy);
  box-shadow: 0 14px 30px rgba(16, 40, 67, 0.18);
}

.button.secondary {
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
}

.studio-card {
  position: relative;
  min-height: 330px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  border: 1px solid rgba(231, 225, 214, 0.9);
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(16, 40, 67, 0.98), rgba(20, 83, 97, 0.92)),
    var(--navy);
  box-shadow: var(--shadow);
}

.studio-card::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  top: -80px;
  right: -60px;
  border-radius: 999px;
  background: rgba(185, 130, 24, 0.26);
}

.studio-card::after {
  content: "";
  position: absolute;
  inset: 36px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
}

.studio-mark {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  margin-bottom: 82px;
  border-radius: 20px;
  color: var(--navy);
  background: #fff;
  font-size: 28px;
  font-weight: 900;
}

.studio-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.5;
}

.section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

h2 {
  margin-bottom: 0;
  color: var(--ink);
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1;
  letter-spacing: 0;
}

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

.project-card,
.contact-card {
  border: 1px solid rgba(231, 225, 214, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 60px rgba(16, 40, 67, 0.07);
}

.project-card {
  min-height: 270px;
  padding: 26px;
  display: flex;
  flex-direction: column;
}

.project-topline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.app-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  font-weight: 900;
}

.app-icon.seawise {
  background: #0a2540;
}

.app-icon.formchase {
  background: #2f8f83;
}

h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.1;
}

.project-card p {
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.6;
}

.project-link {
  width: fit-content;
  margin-top: auto;
  color: var(--gold);
  font-weight: 900;
  border-bottom: 1px solid rgba(185, 130, 24, 0.32);
}

.contact-section {
  padding-bottom: 96px;
}

.contact-card {
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.contact-card h2 {
  max-width: 680px;
  margin-bottom: 16px;
}

.contact-card p:not(.eyebrow) {
  max-width: 640px;
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.6;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--teal);
  font-weight: 900;
  white-space: nowrap;
}

footer {
  padding-top: 26px;
  padding-bottom: 34px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  color: var(--muted);
  font-size: 13px;
}

.footer-copy {
  font-weight: 900;
}

.footer-meta a {
  color: var(--gold);
  font-weight: 800;
}

@media (max-width: 860px) {
  .hero-inner,
  .project-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 64px;
  }

  .studio-card {
    min-height: 250px;
  }

  .studio-mark {
    margin-bottom: 46px;
  }
}

@media (max-width: 640px) {
  .nav {
    margin: 10px 10px 0;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding-inline: 9px;
  }

  .hero,
  .section,
  footer {
    padding-inline: 18px;
  }

  .hero {
    padding-bottom: 52px;
  }

  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .project-card,
  .contact-card {
    padding: 22px;
    border-radius: 20px;
  }

  .contact-email {
    width: 100%;
  }
}
