@font-face {
  font-family: "Comfortaa";
  font-style: normal;
  font-display: swap;
  font-weight: 300 700;
  src: url("fonts/comfortaa-latin-variable.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,
    U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

:root {
  color-scheme: light;
  --ink: #102832;
  --ink-soft: #36545f;
  --muted: #6f7e82;
  --paper: #fffdf7;
  --paper-deep: #f5efe2;
  --line: #d8ded8;
  --teal: #147c78;
  --teal-deep: #0e5556;
  --coral: #d76546;
  --gold: #c49343;
  --night: #09212b;
  --shadow: 0 24px 70px rgba(16, 40, 50, 0.14);
  --radius: 8px;
  --max: 1160px;
  --font: "Comfortaa", Avenir Next, Avenir, Aptos, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
  --font-display: "Comfortaa", Avenir Next, Avenir, Aptos, Segoe UI, Roboto, Helvetica Neue, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--teal-deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(215, 101, 70, 0.7);
  outline-offset: 4px;
}

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

h1,
h2,
h3 {
  line-height: 1.05;
}

h1 {
  margin-bottom: 1rem;
  font-family: var(--font-display);
  font-size: clamp(3.8rem, 10vw, 7.8rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  font-weight: 700;
}

h3 {
  font-size: 1.45rem;
  font-weight: 700;
}

p {
  color: var(--ink-soft);
}

address {
  color: var(--ink-soft);
  font-style: normal;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  background: var(--paper);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  padding: 0.65rem 0.85rem;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  padding: 1.2rem 0;
}

.legal-page .site-header {
  position: relative;
}

.home-page .site-header {
  justify-content: flex-end;
  pointer-events: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(128px, 16vw, 182px);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.55rem, 1.5vw, 1.25rem);
  flex-wrap: wrap;
}

.home-page .site-nav {
  pointer-events: auto;
  border: 1px solid rgba(16, 40, 50, 0.1);
  border-radius: 999px;
  background: rgba(255, 253, 247, 0.88);
  box-shadow: 0 12px 34px rgba(16, 40, 50, 0.1);
  gap: 0.18rem;
  padding: 0.22rem;
}

.site-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.34rem 0.7rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
  font-weight: 650;
  text-decoration: none;
}

.home-page .site-nav a {
  color: var(--ink);
}

.legal-page .site-nav a {
  color: var(--ink-soft);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.home-page .site-nav a:hover,
.home-page .site-nav a[aria-current="page"] {
  background: rgba(16, 40, 50, 0.08);
  color: var(--ink);
}

.legal-page .site-nav a:hover,
.legal-page .site-nav a[aria-current="page"] {
  background: #fff;
  color: var(--ink);
}

.hero {
  position: relative;
  overflow: hidden;
  background: #f8f0e4;
}

.hero-picture,
.hero-image {
  display: block;
}

.hero-image {
  width: 100%;
  height: auto;
}

.eyebrow,
.section-kicker,
.project-status {
  margin-bottom: 0.65rem;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.apps-section,
.contact-section,
.legal-main {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.apps-section {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(2rem, 4vw, 3rem);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.8fr);
  gap: clamp(0.9rem, 3vw, 3rem);
  align-items: start;
  margin-bottom: clamp(1.4rem, 3vw, 2.3rem);
}

.section-heading .section-kicker {
  grid-column: 1 / -1;
}

.section-heading h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.7vw, 4.4rem);
}

.section-heading p:last-child {
  align-self: end;
  margin: 0.45rem 0 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

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

.project-card {
  display: grid;
  gap: clamp(2.2rem, 5vw, 4rem);
  min-height: 230px;
  border: 1px solid rgba(16, 40, 50, 0.1);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(245, 239, 226, 0.74)),
    var(--paper-deep);
  box-shadow: var(--shadow);
  padding: clamp(1.2rem, 3vw, 2rem);
}

.project-card:nth-child(2) {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(222, 238, 230, 0.72)),
    #e8f0e9;
}

.project-card h3 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 3.4vw, 3.1rem);
  font-weight: 700;
}

.project-card p:last-child {
  align-self: end;
  max-width: 34rem;
  margin-bottom: 0;
}

.contact-section {
  padding: 0 0 clamp(4rem, 8vw, 7rem);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: center;
  border-radius: var(--radius);
  background: var(--ink);
  color: #fff;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.contact-panel h2 {
  margin-bottom: 0.8rem;
}

.contact-panel p {
  max-width: 45rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.contact-links {
  display: grid;
  gap: 0.65rem;
}

.contact-links a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 0.72rem 0.85rem;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.contact-links a::after {
  content: "->";
  color: #f2a57d;
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  padding: 1.25rem 0 2rem;
  color: var(--muted);
  font-size: 0.94rem;
}

.site-footer p {
  margin: 0;
  color: var(--muted);
}

.site-footer nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: var(--ink-soft);
}

.legal-main {
  padding: clamp(2rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
}

.legal-hero {
  max-width: 760px;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.legal-hero h1 {
  color: var(--ink);
  font-size: clamp(3rem, 9vw, 7rem);
}

.legal-hero p {
  font-size: 1.1rem;
}

.legal-content {
  display: grid;
  gap: 1rem;
  max-width: 860px;
}

.legal-content section {
  border: 1px solid rgba(16, 40, 50, 0.1);
  border-radius: var(--radius);
  background: #fff;
  padding: clamp(1rem, 3vw, 1.6rem);
}

.legal-content h2 {
  margin-bottom: 0.7rem;
  font-family: var(--font);
  font-size: 1.12rem;
  line-height: 1.25;
}

.legal-content p:last-child {
  margin-bottom: 0;
}

.placeholder {
  border-radius: 4px;
  background: rgba(215, 101, 70, 0.13);
  color: #7b2e1c;
  padding: 0.04rem 0.24rem;
}

@media (max-width: 820px) {
  body {
    font-size: 16px;
  }

  .site-header {
    align-items: flex-start;
    padding-top: 0.9rem;
  }

  .brand {
    min-height: 44px;
  }

  .brand-logo {
    width: clamp(98px, 29vw, 122px);
  }

  .site-nav {
    gap: 0.2rem;
  }

  .site-nav a {
    min-height: 34px;
    padding: 0.28rem 0.48rem;
    font-size: 0.84rem;
  }

  .section-heading,
  .project-list,
  .contact-panel {
    grid-template-columns: 1fr;
  }

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

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .site-header {
    gap: 0.5rem;
    width: min(100% - 1rem, var(--max));
  }

  .brand-logo {
    width: clamp(88px, 24vw, 104px);
  }

  .site-nav {
    max-width: calc(100% - 96px);
    gap: 0.1rem;
  }

  .home-page .site-nav {
    max-width: none;
  }

  .site-nav a {
    padding: 0.22rem 0.3rem;
    font-size: 0.7rem;
  }

  .home-page .site-nav a {
    font-size: 0.68rem;
  }

  .apps-section,
  .contact-section,
  .legal-main,
  .site-footer {
    width: min(100% - 1rem, var(--max));
  }

  .home-page .site-header {
    justify-content: flex-end;
    padding-top: 0.7rem;
  }

  .contact-links a {
    font-size: 0.95rem;
  }
}

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