/* ==========================================================
   4 Eyes — Under Construction (Holding, Light, Centred)
   Self-contained implementation — no external design-system
   dependency. Tokens mirror the 4Eyes design system.
   ========================================================== */

@font-face {
  font-family: "Prompt";
  src: url("assets/fonts/Prompt-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-light-bg:   #FAFAFA;
  --color-light-bg-2: #F2F2F0;

  --color-brand-primary: #005564;
  --color-brand-dark:    #003840;

  --fg-on-light-1: #14110D;
  --fg-on-light-3: #7A746A;

  --fg-on-dark-1:  #F4F1EB;

  --border-on-light: #E1DED7;

  --font-display: "Prompt", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --ls-display: -0.02em;
  --ls-eyebrow: 0.12em;
  --ls-label:   0.06em;

  --w-medium: 500;

  --radius-2: 8px;

  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --dur-base:    240ms;
}

* { box-sizing: border-box; }

html, body {
  height: 100%;
  margin: 0;
  background: var(--color-light-bg);
  color: var(--fg-on-light-1);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--color-brand-primary);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--dur-base) var(--ease-out);
}
a:hover { color: var(--color-brand-dark); }

:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--color-light-bg), 0 0 0 4px var(--color-brand-primary);
  border-radius: 4px;
}

@keyframes ringspin { to { transform: rotate(360deg); } }
@keyframes hairdraw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-80px, 60px); } }

/* ---------- Screen ---------- */
.holding {
  container-type: inline-size;
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
}

.glow {
  position: absolute;
  width: 800px;
  height: 800px;
  right: -200px;
  top: -240px;
  background: radial-gradient(circle at center, rgba(0, 85, 100, .10), rgba(0, 85, 100, 0) 60%);
  animation: drift 22s var(--ease-in-out) infinite alternate;
  pointer-events: none;
}

.rings {
  position: absolute;
  right: 6%;
  top: 50%;
  width: clamp(220px, 32cqw, 360px);
  height: clamp(220px, 32cqw, 360px);
  transform: translateY(-50%);
  opacity: .55;
  pointer-events: none;
}
.rings-spin {
  transform-origin: center;
  animation: ringspin 60s linear infinite;
}

.grain {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .035;
  mix-blend-mode: multiply;
  pointer-events: none;
}

/* ---------- Content ---------- */
.content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  box-sizing: border-box;
  padding: clamp(32px, 4.4cqw, 56px) clamp(24px, 5cqw, 64px);
}

.logo {
  height: clamp(36px, 3.4cqw, 44px);
  width: auto;
  align-self: flex-start;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 760px;
  padding: clamp(40px, 5cqw, 56px) 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: var(--w-medium);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--color-brand-primary);
  display: inline-block;
  margin: 0 0 16px;
}
.eyebrow::before { content: "[ "; }
.eyebrow::after  { content: " ]"; }

.headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 5.2cqw, 66px);
  line-height: 1.07;
  letter-spacing: var(--ls-display);
  color: var(--fg-on-light-1);
  margin: 0;
}

.hairline {
  height: 1px;
  width: 180px;
  max-width: 60%;
  background: var(--color-brand-primary);
  margin: clamp(26px, 3cqw, 34px) 0 0;
  transform-origin: left;
  animation: hairdraw 600ms var(--ease-out) both;
}

.lede {
  margin: clamp(20px, 2.4cqw, 26px) 0 0;
  max-width: 560px;
  font-size: clamp(16px, 1.5cqw, 19px);
  line-height: 1.55;
  color: var(--fg-on-light-1);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2cqw, 24px);
  margin-top: clamp(28px, 3.2cqw, 38px);
}

/* ---------- Buttons & text links ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: var(--w-medium);
  font-size: 15px;
  letter-spacing: -0.005em;
  border-radius: var(--radius-2);
  border: 1px solid transparent;
  padding: 12px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.btn--primary {
  background: var(--color-brand-primary);
  color: var(--fg-on-dark-1);
  border-color: var(--color-brand-primary);
}
.btn--primary:hover { background: var(--color-brand-dark); border-color: var(--color-brand-dark); }
.btn--lg { padding: 16px 28px; font-size: 16px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--color-brand-primary);
  font-weight: var(--w-medium);
  border-bottom: 1px solid var(--color-brand-primary);
  padding-bottom: 2px;
  font-size: 16px;
  transition: color var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.text-link:hover { color: var(--color-brand-dark); border-color: var(--color-brand-dark); }

/* ---------- Info grid & footer ---------- */
.label-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--fg-on-light-3);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 24px;
  border-top: 1px solid var(--border-on-light);
  padding-top: 26px;
}
.info-item {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.info-value {
  font-size: 16px;
  line-height: 1.45;
  color: var(--fg-on-light-1);
}
a.info-value { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.footer-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 22px;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.social-links a { font-size: 14px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
