:root {
  --ink: #1a1714;
  --cream: #f5f0e6;
  --sans: Lato, "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

.page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  min-height: 100svh;
}

.construction-field {
  position: fixed;
  z-index: -1;
  top: 48%;
  left: 63%;
  width: min(108vw, 76rem);
  height: auto;
  opacity: 0.045;
  transform: translate(-50%, -50%) scale(0.98);
  animation: field-breathe 18s ease-in-out infinite alternate;
  pointer-events: none;
  user-select: none;
}

.identity {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: clamp(2rem, 8svh, 5rem) 2rem 1rem;
}

.identity-lockup {
  display: block;
  width: clamp(16rem, 28vw, 22rem);
  max-width: 82vw;
  max-height: min(56svh, 26rem);
  height: auto;
  object-fit: contain;
}

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

footer {
  display: flex;
  justify-content: center;
  padding: 1rem clamp(1.5rem, 4vw, 4.5rem) clamp(1.4rem, 4svh, 2rem);
}

footer p {
  margin: 0;
  color: rgb(26 23 20 / 68%);
  font-size: clamp(0.75rem, 0.72rem + 0.08vw, 0.82rem);
  line-height: 1.5;
}

.philosophy {
  font-style: italic;
  text-align: center;
}

@keyframes field-breathe {
  from {
    opacity: 0.03;
    transform: translate(-50%, calc(-50% + 0.3rem)) scale(0.98);
  }

  to {
    opacity: 0.06;
    transform: translate(-50%, calc(-50% - 0.3rem)) scale(1.025);
  }
}

@media (max-width: 600px) {
  .construction-field {
    top: 46%;
    left: 68%;
    width: 190vw;
  }

  .identity-lockup {
    width: min(76vw, 18rem);
  }

  footer {
    padding-bottom: 1.4rem;
  }
}

@media (max-height: 28rem) {
  .identity {
    padding-top: 1rem;
    padding-bottom: 0.25rem;
  }

  .identity-lockup {
    max-height: 68svh;
  }

  footer {
    padding-top: 0.25rem;
    padding-bottom: 0.6rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .construction-field {
    animation: none;
    opacity: 0.05;
  }
}
