@font-face { font-family: "Barlow"; font-weight: 400; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-style: normal; font-display: swap; src: url("/fonts/barlow-condensed-latin-600-normal.woff2") format("woff2"); }

:root {
  --bg: #f2f2f3;
  --text: #1d1f20;
  --accent: #5980a6;
  --accent-700: #416180;
  --accent-900: #1d2d3d;
  --divider: rgba(29, 31, 32, 0.16);
  --heading: "Barlow Condensed", system-ui, sans-serif;
  --body: "Barlow", system-ui, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); text-wrap: pretty; }
h1, h2 { font-family: var(--heading); font-weight: 600; margin: 0; }
p { margin: 0; }
a { color: var(--accent-700); text-decoration: none; }
a:hover { color: var(--accent-900); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.page { position: relative; height: 100vh; height: 100dvh; overflow: hidden; display: flex; flex-direction: column; }

.grid { position: absolute; top: 0; bottom: 0; left: 50%; width: min(1200px, 100%); transform: translateX(-50%); padding: 0 var(--gutter); pointer-events: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid > div { border-right: 1px solid rgba(29, 31, 32, 0.06); }
.grid > div:first-child { border-left: 1px solid rgba(29, 31, 32, 0.06); }

.header, .main, .footer { position: relative; width: 100%; max-width: 1200px; margin: 0 auto; }
.header { padding: clamp(16px, 3vh, 28px) var(--gutter); display: flex; align-items: center; gap: 16px; }
.main { flex: 1; min-height: 0; padding: 0 var(--gutter); display: flex; flex-direction: column; }
.footer { padding: clamp(10px, 2vh, 24px) var(--gutter) clamp(14px, 3vh, 32px); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; font-size: 13px; line-height: 1.6; color: rgba(29, 31, 32, 0.7); }
.disclaimer { text-align: right; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--text); margin-right: auto; }
.brand:hover { color: var(--text); }
.mark { position: relative; display: block; width: 32px; height: 32px; perspective: 140px; }
.mark svg { position: absolute; inset: 0; display: block; }
.mark #vane { transform-origin: 10.75px 16px; will-change: transform; }
.wordmark { font-family: var(--heading); font-weight: 600; font-size: 22px; letter-spacing: 0.14em; text-transform: uppercase; }

.kicker { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-700); }

.hero { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(8px, 2vh, 24px) 0 clamp(16px, 4vh, 48px); }
.hero .kicker { margin-bottom: clamp(12px, 2.5vh, 24px); }
.hero h1 { margin-left: -0.04em; font-size: clamp(36px, min(10vw, 10.5vh), 148px); line-height: 0.96; letter-spacing: 0.005em; text-transform: uppercase; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 .accent { color: var(--accent); }
.hero p { margin-top: clamp(16px, 4vh, 40px); max-width: 76ch; font-size: 17px; line-height: 1.6; color: rgba(29, 31, 32, 0.8); }

.mobile { display: none; }

.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.5vw, 32px); padding: 0 0 clamp(20px, 5vh, 56px); }
.blueprint { position: relative; border: 1px solid var(--divider); border-radius: 0; }
.blueprint > .corner { position: absolute; width: 11px; height: 11px; color: rgba(29, 31, 32, 0.55); }
.blueprint > .corner::before, .blueprint > .corner::after { content: ""; position: absolute; background: currentColor; }
.blueprint > .corner::before { left: 5px; top: 0; width: 1px; height: 100%; }
.blueprint > .corner::after { top: 5px; left: 0; width: 100%; height: 1px; }
.blueprint > .corner.tl { top: -6px; left: -6px; }
.blueprint > .corner.tr { top: -6px; right: -6px; }
.blueprint > .corner.bl { bottom: -6px; left: -6px; }
.blueprint > .corner.br { bottom: -6px; right: -6px; }
.card { padding: clamp(16px, 3vh, 28px); }
.card .num { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; color: var(--accent-700); font-feature-settings: "tnum" 1; }
.card h2 { margin-top: clamp(8px, 1.5vh, 16px); font-size: clamp(17px, 2.4vw, 24px); line-height: 1.1; letter-spacing: 0.02em; text-transform: uppercase; }
.card .desc { margin-top: 12px; font-size: 15px; line-height: 1.6; color: rgba(29, 31, 32, 0.78); }

.contact { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px 48px; padding: clamp(16px, 3.5vh, 40px) 0 clamp(12px, 2.5vh, 32px); border-top: 1px solid var(--divider); }
.contact > div { display: flex; flex-direction: column; gap: 12px; }
.email { font-family: var(--heading); font-weight: 600; font-size: clamp(24px, min(4vw, 5vh), 44px); line-height: 1.05; letter-spacing: 0.01em; color: var(--text); }
.email:hover { color: var(--accent-700); }

@media (min-width: 641px) and (max-height: 700px) { .card .desc { display: none; } }
@media (min-width: 641px) and (max-height: 640px) { .principles { display: none; } }

@media (max-width: 640px) {
  .page { height: auto; min-height: 100vh; min-height: 100dvh; overflow: visible; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid > div:nth-child(n+3) { display: none; }
  .hero { justify-content: flex-start; padding: 8px 0 32px; }
  .hero h1 { font-size: 11vw; }
  .hero p { font-size: 16px; margin-top: 24px; }
  .desktop { display: none; }
  .mobile { display: inline; }
  .main { flex: none; min-height: 0; }
  .principles { grid-template-columns: 1fr; gap: 12px; padding-bottom: 32px; }
  .card { display: flex; align-items: baseline; gap: 14px; padding: 14px 16px; }
  .card h2 { margin: 0; font-size: 18px; }
  .card .desc { display: none; }
  .email { font-size: 24px; overflow-wrap: anywhere; }
  .footer { flex-direction: column; gap: 6px; }
  .disclaimer { text-align: left; }
}
