@font-face {
  font-family: "Franklin Gothic Cond Demi";
  src: url("/assets/franklin-gothic-cond-demi.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #000;
  --paper: #fff;
  --gutter: clamp(16px, 3vw, 43px);
  --display: "Franklin Gothic Cond Demi", "Arial Narrow", sans-serif;
  --grotesk: "Familjen Grotesk", "Inter", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

.u { text-decoration: underline; text-underline-offset: 3px; }
.u:hover { text-decoration-thickness: 2px; }

.label {
  font-size: 20px;
  line-height: 18px;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.link {
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: -0.05em;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px var(--gutter) 0;
  pointer-events: none;
}
.site-header > * { pointer-events: auto; }
.wordmark img { width: 295px; height: auto; }
.nav-link {
  font-family: var(--body);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.05em;
  text-decoration: underline;
  text-underline-offset: 3px;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}
.menu-btn { display: none; }
.menu-panel {
  display: none;
  position: fixed;
  top: 80px;
  right: var(--gutter);
  z-index: 11;
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: 16px 20px;
  flex-direction: column;
  gap: 12px;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.menu-panel.open { display: flex; }

/* Home hero */
.hero {
  display: grid;
  grid-template-columns: 1fr minmax(0, 596px);
  align-items: center;
  gap: 40px;
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
}
.hero-title,
.page-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(63px, 6.8vw, 98px);
  line-height: 0.8;
  letter-spacing: -0.05em;
  margin: 28px 0 56px;
}
.hero-links { display: flex; flex-direction: column; gap: 20px; }
.hero-cover { width: 100%; aspect-ratio: 1; object-fit: cover; }

/* About */
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px var(--gutter) 160px;
}
.about-photo { width: min(519px, 100%); margin-left: 12px; }
.about-copy {
  font-size: 24px;
  line-height: 0.9;
  letter-spacing: -0.05em;
  max-width: 665px;
}
.about-copy p + p { margin-top: 22px; }
.about-copy .link { display: inline-block; margin-top: 30px; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr minmax(0, 540px);
  gap: 40px;
  align-items: center;
  min-height: 100vh;
  padding: 140px var(--gutter) 80px;
}
.contact h1,
.contact .email {
  font-size: 40px;
  line-height: 42px;
  font-weight: 600;
  letter-spacing: -0.05em;
}
.contact .sub { margin-top: 28px; font-size: 20px; line-height: 26px; letter-spacing: -0.05em; }
.contact .email-label { margin-top: 110px; font-size: 24px; letter-spacing: -0.05em; }
.contact .email { display: inline-block; margin-top: 14px; }
.contact-photo { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }

/* Legal */
.legal { padding: 117px var(--gutter) 120px; }
.legal .page-title { text-align: center; margin: 0 0 48px; }
.legal-body {
  max-width: 1115px;
  margin: 0 auto;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.05em;
}
.legal-body h2 {
  font-family: var(--display);
  font-size: 44px;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 72px 0 16px;
}
.legal-body h3 { font-size: 20px; font-weight: 700; margin: 26px 0 0; }
.legal-body ul { list-style: none; }
.legal-body ul li::before { content: "• "; }
.legal-body p + p,
.legal-body p + ul,
.legal-body ul + p { margin-top: 0; }
.legal-body .gap { margin-top: 26px; }

/* Footer */
.site-footer { padding: 0 var(--gutter) 40px; }
.footer-cols {
  display: grid;
  grid-template-columns: 419px 444px 1fr;
}
.footer-cols .label { font-weight: 400; letter-spacing: 0; }
.footer-cols ul { list-style: none; margin-top: 46px; }
.footer-big {
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: 60px;
  line-height: 64px;
  letter-spacing: -0.05em;
}
.footer-small {
  font-family: var(--grotesk);
  font-weight: 600;
  font-size: 36px;
  line-height: 43px;
  letter-spacing: -0.05em;
}
.footer-big a:hover,
.footer-small a:hover { text-decoration: underline; text-decoration-thickness: 3px; }
.rights {
  margin-top: 200px;
  font-size: 19px;
  letter-spacing: -0.05em;
  font-weight: 400;
}
.rights b { font-weight: 700; }

@media (max-width: 1100px) {
  .footer-cols { grid-template-columns: 1fr 1fr; row-gap: 56px; }
}

@media (max-width: 809px) {
  .wordmark img { width: min(295px, 70vw); }
  .site-header .nav-link.desktop { display: none; }
  .menu-btn { display: inline; }

  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    min-height: 0;
    padding-top: 200px;
    gap: 0;
  }
  .hero-text { display: contents; }
  .hero-text .label { order: 1; }
  .hero-title { order: 2; margin: 28px 0 56px; }
  .hero-cover { order: 3; width: 269px; margin: 0 auto; }
  .hero-links { order: 4; margin-top: 56px; align-items: center; }

  .about { grid-template-columns: 1fr; padding-bottom: 120px; }
  .about-photo { margin: 0 auto; width: 100%; }
  .about-copy { font-size: 18px; line-height: 1.05; padding: 0 12px; }

  .contact { grid-template-columns: 1fr; min-height: 0; padding-top: 140px; }
  .contact h1, .contact .email { font-size: 30px; line-height: 34px; }
  .contact .email { font-size: clamp(20px, 6.4vw, 30px); }
  .contact .email-label { margin-top: 56px; }

  .legal { padding-top: 120px; }
  .legal-body { font-size: 18px; line-height: 24px; }

  .footer-big, .footer-small { font-size: 43px; line-height: 46px; }
  .footer-cols ul { margin-top: 36px; }
  .footer-cols > div:nth-child(3) { grid-column: 1 / -1; }
  .rights { margin-top: 120px; font-size: 16px; }
}
