@import url("https://fonts.googleapis.com/css2?family=Archivo:wdth,wght@100..125,500..800&family=IBM+Plex+Sans:wght@400;500;600&display=swap");

:root,
[data-theme="light"] {
  color-scheme: light;
  --cream: #ffffff;
  --surface: #ffffff;
  --soft: #f4f6f4;
  --ink: #1c2521;
  --muted: #5f6863;
  --sun: #ffc400;
  --peach: #ffe1d2;
  --line: rgba(72, 82, 77, 0.14);
  --shadow: #1c2521;
  --on-dark: #ffffff;
}

[data-theme="dark"] {
  color-scheme: dark;
  --cream: #101512;
  --surface: #171e1a;
  --soft: #29322d;
  --ink: #f4f6f4;
  --muted: #b5beb8;
  --sun: #ffc400;
  --peach: #463329;
  --line: rgba(255, 255, 255, 0.09);
  --shadow: #080b09;
  --on-dark: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(
      ellipse 66% 64% at 50% 46%,
      transparent 0%,
      transparent 22%,
      rgba(255, 255, 255, 0.66) 58%,
      rgba(255, 255, 255, 0.96) 78%,
      #ffffff 88%
    ),
    linear-gradient(rgba(72, 82, 77, 0.065) 1px, transparent 1px),
    linear-gradient(90deg, rgba(72, 82, 77, 0.065) 1px, transparent 1px),
    radial-gradient(
      ellipse 66% 64% at 50% 46%,
      #f0f2f1 0%,
      #fafbfa 48%,
      #ffffff 86%
    );
  background-position: center, 0 0, 0 0, center;
  background-repeat: no-repeat, repeat, repeat, no-repeat;
  background-size: 100vw 100vh, 48px 48px, 48px 48px, 100vw 100vh;
  background-attachment: fixed;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

[data-theme="dark"] body {
  background-image:
    radial-gradient(
      ellipse 66% 64% at 50% 46%,
      transparent 0%,
      transparent 22%,
      rgba(16, 21, 18, 0.66) 58%,
      rgba(16, 21, 18, 0.96) 78%,
      #101512 88%
    ),
    linear-gradient(rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.055) 1px, transparent 1px),
    radial-gradient(
      ellipse 66% 64% at 50% 46%,
      #202923 0%,
      #161d19 48%,
      #101512 86%
    );
}

a,
button,
input,
.card,
.panel {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

a {
  color: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  border-bottom: 4px solid var(--ink);
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  width: min(100%, 1280px);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 20px;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.topbar img {
  display: block;
  width: auto;
  height: 46px;
}

.logo-on-dark {
  display: none !important;
}

[data-theme="dark"] .logo-on-light {
  display: none !important;
}

[data-theme="dark"] .logo-on-dark {
  display: block !important;
}

.page-nav {
  display: flex;
  margin-left: auto;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
}

.page-nav a,
.topbar a {
  font-weight: 600;
  text-decoration: none;
}

.page-nav a {
  color: color-mix(in srgb, var(--ink) 84%, transparent);
  font-size: 0.94rem;
}

.page-nav a:hover,
.page-nav a:focus-visible {
  color: #c98f00;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.theme-toggle {
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: var(--surface);
  box-shadow: 2px 2px 0 var(--shadow);
  font: 700 1rem/1 "IBM Plex Sans", system-ui, sans-serif;
  cursor: pointer;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(2px);
  box-shadow: none;
}

.button,
button:not(.theme-toggle) {
  display: inline-flex;
  margin: 0;
  padding: 11px 20px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: #1c2521;
  background: var(--sun);
  box-shadow: 2px 2px 0 var(--shadow);
  font: 600 0.95rem/1.2 "IBM Plex Sans", system-ui, sans-serif;
  text-decoration: none;
  cursor: pointer;
}

.button:hover,
.button:focus-visible,
button:not(.theme-toggle):hover,
button:not(.theme-toggle):focus-visible {
  transform: translateY(2px);
  box-shadow: none;
}

main {
  width: min(100%, 1180px);
  min-height: 60vh;
  margin: 0 auto;
  padding: clamp(54px, 8vw, 96px) 20px clamp(76px, 9vw, 112px);
}

.hero {
  position: relative;
  max-width: 980px;
  padding: 0 0 clamp(34px, 5vw, 54px);
}

.eyebrow {
  display: inline-flex;
  padding: 7px 16px;
  align-items: center;
  border: 2px solid var(--ink);
  border-radius: 999px;
  color: #1c2521;
  background: var(--sun);
  box-shadow: 2px 2px 0 var(--shadow);
  font-size: 0.9rem;
  font-weight: 600;
}

h1,
h2 {
  margin: 0;
  font-family: "Archivo", system-ui, sans-serif;
  font-variation-settings: "wdth" 116;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 900px;
  margin-top: 24px;
  font-size: clamp(3.25rem, 8vw, 6.75rem);
  font-weight: 650;
  line-height: 0.94;
}

h2 {
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  font-weight: 620;
  line-height: 1.05;
}

p,
li {
  font-size: 1rem;
  line-height: 1.65;
}

.lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
  line-height: 1.55;
}

.stack {
  display: grid;
  gap: 24px;
}

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

.panel,
.card {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--ink);
  border-radius: 4px;
  box-shadow: 4px 4px 0 var(--shadow);
}

.panel {
  padding: clamp(24px, 4vw, 38px);
  border-left-width: 10px;
  border-left-color: var(--sun);
  background: var(--surface);
}

.card {
  min-height: 190px;
  padding: clamp(24px, 3.4vw, 34px);
  background: var(--surface);
}

.grid .card:nth-child(even) {
  color: #1c2521;
  background: var(--sun);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 7px 7px 0 var(--shadow);
}

.panel h2 + p,
.card h2 + p {
  margin: 14px 0 0;
  color: var(--muted);
}

.grid .card:nth-child(even) h2 + p {
  color: rgba(28, 37, 33, 0.74);
}

.panel ul,
.card ul {
  margin: 16px 0 0;
  padding-left: 22px;
}

.panel li + li,
.card li + li {
  margin-top: 7px;
}

.accent {
  border-left-color: var(--ink);
  color: #1c2521;
  background: var(--peach);
}

.fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

input {
  width: 100%;
  min-width: 0;
  padding: 14px 16px;
  border: 2px solid var(--ink);
  border-radius: 4px;
  outline: none;
  color: var(--ink);
  background: var(--surface);
  font: inherit;
}

input:focus {
  border-color: var(--ink);
  box-shadow: 4px 4px 0 var(--sun);
}

.accent button {
  margin-top: 18px;
  color: #ffffff;
  background: #1c2521;
}

.muted {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  font-size: 0.92rem;
}

/* About page: a compact editorial story instead of feature lists. */
.about-page {
  width: min(100%, 1280px);
}

.about-hero {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
  align-items: end;
  gap: clamp(24px, 5vw, 68px);
}

.about-hero-copy {
  position: relative;
  z-index: 1;
}

.about-hero h1 {
  font-size: clamp(3.7rem, 7.7vw, 7rem);
}

.about-hero-art {
  display: flex;
  min-height: 300px;
  align-items: flex-end;
  justify-content: center;
}

.about-hero-art img {
  display: block;
  width: min(100%, 470px);
  height: auto;
}

.about-manifesto {
  position: relative;
  overflow: hidden;
  padding: clamp(30px, 5vw, 58px);
  border: 2px solid #1c2521;
  border-radius: 4px;
  color: #ffffff;
  background: #1c2521;
  box-shadow: 7px 7px 0 var(--sun);
}

.about-manifesto::after {
  content: "BUILD • TEST • DISCOVER";
  position: absolute;
  right: -1rem;
  bottom: -0.35em;
  color: rgba(255, 255, 255, 0.055);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}

.about-label {
  position: relative;
  z-index: 1;
  display: inline-block;
  color: var(--sun);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.about-manifesto h2 {
  position: relative;
  z-index: 1;
  max-width: 850px;
  margin-top: 14px;
  font-size: clamp(2.7rem, 6vw, 5.7rem);
  line-height: 0.96;
}

.about-manifesto p {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(1.05rem, 1.8vw, 1.24rem);
}

.about-principles {
  display: grid;
  margin-top: clamp(34px, 5vw, 60px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-principle {
  position: relative;
  min-height: 300px;
  padding: clamp(24px, 3vw, 36px);
  border: 2px solid var(--ink);
  border-radius: 4px;
  background: var(--surface);
  box-shadow: 4px 4px 0 var(--shadow);
}

.about-principle:nth-child(2) {
  color: #1c2521;
  background: var(--sun);
}

.about-index {
  display: block;
  margin-bottom: clamp(52px, 7vw, 86px);
  color: color-mix(in srgb, currentColor 48%, transparent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.about-principle h2 {
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 0.98;
}

.about-principle p {
  margin: 18px 0 0;
  color: var(--muted);
}

.about-principle:nth-child(2) p {
  color: rgba(28, 37, 33, 0.72);
}

.about-invitation {
  display: grid;
  margin-top: clamp(34px, 5vw, 60px);
  padding: clamp(28px, 4vw, 44px);
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 28px;
  border: 2px solid var(--ink);
  border-left: 10px solid var(--sun);
  border-radius: 4px;
  background: var(--peach);
  box-shadow: 4px 4px 0 var(--shadow);
}

.about-invitation .about-label {
  color: #9a6b00;
}

.about-invitation h2 {
  max-width: 860px;
  margin-top: 12px;
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 1;
}

.about-invitation .button {
  flex: none;
  white-space: nowrap;
}

.site-footer {
  width: 100%;
  border-top: 0;
  color: #ffffff;
  background: #1c2521;
}

.site-footer a {
  color: inherit;
  text-decoration: none;
}

.site-footer img {
  display: block;
  width: auto;
  height: 64px;
}

.footer-shell {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding: 40px 20px;
}

.footer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.footer-action {
  display: inline-flex;
  min-height: 44px;
  margin: 0;
  padding: 10px 20px;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #1c2521 !important;
  background: #ffffff;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
}

.footer-action-email {
  border-color: var(--sun);
  background: var(--sun);
}

.footer-action:hover,
.footer-action:focus-visible {
  transform: translateY(-2px);
}

.footer-links {
  display: grid;
  margin-top: 32px;
  padding-top: 28px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-group h2 {
  color: var(--sun);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.footer-group ul {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.footer-group li + li {
  margin-top: 8px;
}

.footer-group a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
  line-height: 1.45;
}

.footer-group a:hover,
.footer-group a:focus-visible {
  color: #ffffff;
}

.footer-meta {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.75rem;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .page-nav {
    display: none;
  }

  .about-hero {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr);
  }

  .about-principles {
    grid-template-columns: 1fr 1fr;
  }

  .about-principle:last-child {
    grid-column: 1 / -1;
    min-height: 250px;
  }
}

@media (min-width: 768px) {
  .site-footer img {
    height: 80px;
  }

  .footer-shell {
    padding-block: 48px;
  }
}

@media (max-width: 700px) {
  .topbar-inner {
    min-height: 64px;
    gap: 12px;
  }

  .topbar img {
    height: 40px;
  }

  .button {
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  main {
    padding-top: 48px;
  }

  h1 {
    font-size: clamp(3rem, 16vw, 5rem);
  }

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

  .about-hero {
    grid-template-columns: 1fr;
  }

  .about-hero-art {
    min-height: 0;
    margin-top: -20px;
  }

  .about-hero-art img {
    width: min(88%, 380px);
  }

  .about-principles {
    grid-template-columns: 1fr;
  }

  .about-principle,
  .about-principle:last-child {
    min-height: 0;
    grid-column: auto;
  }

  .about-index {
    margin-bottom: 48px;
  }

  .about-invitation {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .about-invitation .button {
    justify-self: start;
  }

  .card {
    min-height: 0;
  }

  .footer-intro {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-actions {
    justify-content: flex-start;
  }

  .footer-links {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .topbar-inner {
    padding-inline: 14px;
  }

  .theme-toggle {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .button {
    padding-inline: 12px;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

  .footer-action {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
