@font-face {
  font-family: "Borna";
  src: url("assets/fonts/Borna-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Borna";
  src: url("assets/fonts/Borna-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* Values from Claude Design "Divea Website v2" — hero section */
:root {
  --bg: #FAFBFA;
  --ink: #3E3E3C;
  --ink-soft: #53605A;
  --on-ink: #F3F5F5;
  --pad-x: clamp(24px, 5vw, 72px);
}

* { box-sizing: border-box; margin: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Borna", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg);
}

#lattice {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 72% 45%, rgba(176, 228, 157, 0.14), transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 40px var(--pad-x);
  pointer-events: none;
}
.hero-inner a { pointer-events: auto; }

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bar img { width: 104px; height: auto; display: block; }

.cta {
  padding: 10px 22px;
  border-radius: 9999px;
  background: var(--ink);
  color: var(--on-ink);
  font-size: 15px;
  text-decoration: none;
  transition: transform .2s cubic-bezier(0.22, 1, 0.36, 1);
}
.cta:hover { transform: scale(1.025); }
.cta:active { transform: scale(0.95); }
.cta:focus-visible { outline: 2px solid #607E50; outline-offset: 3px; }

.copy {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1040px; /* design had 860px, which wrapped the 92px headline to 4 lines */
}

h1 {
  font-size: clamp(40px, 6.5vw, 92px);
  line-height: 1.02;
  font-weight: 500;
  letter-spacing: 0.005em;
}

.copy p {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--ink-soft);
  max-width: 560px;
}

@media (max-width: 600px) {
  .hero-inner { padding-top: 28px; }
  h1 br { display: none; }
}
