/* Layout: single dark look. Slowly drifting contour lines like an alpine map behind a line-drawn shield with a chevron, wordmark and one sentence, centred. */
:root {
  --night: #0b141c;
  --deep: #102230;
  --ice: #cfe8ee;
  --glacier: #7cc4cf;
  --mist: #8da1ad;
  --line: rgba(124, 196, 207, 0.10);
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: dark;
}
html, body { height: 100%; }
body {
  margin: 0; color: var(--ice); font: 16px/1.6 var(--body);
  background: linear-gradient(170deg, var(--deep), var(--night) 70%);
  background-color: var(--night);
  min-height: 100%;
  display: flex; flex-direction: column; overflow-x: hidden;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}

/* Background: two contour layers drifting in opposite directions, plus a slow glow. Transform and opacity only. */
.bg { position: fixed; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bg i { position: absolute; display: block; will-change: transform; }
.contours {
  width: 180vmax; height: 180vmax; left: 50%; top: 50%;
  margin: -90vmax 0 0 -90vmax;
  background: repeating-radial-gradient(circle at 50% 50%, transparent 0 44px, var(--line) 44px 45px);
}
.c1 { transform: translate(18vmax, 34vmax); animation: drift1 38s ease-in-out infinite alternate; }
.c2 { opacity: 0.6; transform: translate(-30vmax, -38vmax); animation: drift2 46s ease-in-out infinite alternate; }
.glow {
  width: 90vmax; height: 90vmax; left: 50%; top: 42%; margin: -45vmax 0 0 -45vmax;
  background: radial-gradient(circle, rgba(124, 196, 207, 0.16), transparent 62%);
  animation: breathe 9s ease-in-out infinite alternate;
}
@keyframes drift1 { to { transform: translate(10vmax, 28vmax) rotate(6deg); } }
@keyframes drift2 { to { transform: translate(-22vmax, -32vmax) rotate(-5deg); } }
@keyframes breathe { from { opacity: 0.65; transform: scale(0.95); } to { opacity: 1; transform: scale(1.05); } }

main, footer { position: relative; z-index: 1; }
main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-block: 64px 40px; }
.mark { width: 64px; height: 76px; margin-bottom: 28px; }
.mark path { fill: none; stroke: var(--glacier); stroke-width: 1.5; stroke-linejoin: round; }
.mark path { stroke-linecap: round; }
.mark .chev { stroke: var(--ice); stroke-width: 3; }
.mark .chev2 { stroke-width: 2; opacity: 0.7; }
h1 {
  font-family: var(--display); font-weight: 400; margin: 0;
  font-size: clamp(2.3rem, 11vw, 3.8rem); letter-spacing: 0.05em; line-height: 1.1;
  background: linear-gradient(180deg, #ffffff, var(--glacier) 140%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.tag { margin: 18px 0 0; max-width: 26em; color: var(--mist); font-size: 1.05rem; text-wrap: balance; }
.rule { width: 48px; height: 1px; background: var(--glacier); opacity: 0.6; margin: 40px 0 20px; }
.contact { margin: 0; font-size: 0.78rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist); }
.contact a { display: block; margin-top: 6px; letter-spacing: 0.04em; text-transform: none; font-size: 1rem; color: var(--ice); text-decoration: none; border-bottom: 1px solid transparent; padding-block: 4px; }
.contact a:hover { border-bottom-color: var(--glacier); }
.contact a:focus-visible { outline: 1px solid var(--glacier); outline-offset: 4px; }
footer { text-align: center; padding-block: 24px max(28px, env(safe-area-inset-bottom, 0px)); font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--mist); opacity: 0.7; }

@media (max-width: 480px) {
  .contours { background: repeating-radial-gradient(circle at 50% 50%, transparent 0 34px, var(--line) 34px 35px); }
  .mark { width: 54px; height: 64px; margin-bottom: 22px; }
  .tag { font-size: 1rem; }
}
@media (prefers-reduced-motion: no-preference) {
  main > * { animation: rise 900ms cubic-bezier(.2,.7,.2,1) both; }
  main > *:nth-child(2) { animation-delay: 120ms; }
  main > *:nth-child(3) { animation-delay: 240ms; }
  main > *:nth-child(n+4) { animation-delay: 360ms; }
  @keyframes rise { from { transform: translateY(8px); opacity: 0.4; } to { transform: none; opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) {
  .bg i { animation: none; }
}
