/* Inverteum Coding — preview, matched to inverteum.com */
:root {
  --bg: #f8f6f3;
  --ink: #1a1a1a;
  --muted: #3e3e3d;
  --lime: #d9fb99;
  --max: 980px;
  --header-h: 114px;
  --font: "Wix Madefor Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "Familjen Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  padding-top: var(--header-h);
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: min(100% - 80px, var(--max)); margin: 0 auto; }

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: #000;
  color: var(--lime);
  padding: 0.5rem 0.85rem;
  text-decoration: none;
}
.skip:focus { top: 0.75rem; }

.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 40;
  background: rgba(248,246,243,.96);
  backdrop-filter: blur(10px);
  transform: translate3d(0, 0, 0);
  transition: transform .35s cubic-bezier(.645, .045, .355, 1);
  will-change: transform;
}
.site-header.is-hidden { transform: translate3d(0, -100%, 0); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 42px 0 28px;
}
.brand {
  display: inline-flex; align-items: center; gap: 14px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700; font-size: 30px; line-height: 1.2;
  color: #000;
}
.brand img {
  width: 44px; height: 44px; border-radius: 4px; object-fit: cover;
}
.nav {
  display: flex; flex-wrap: wrap; gap: 8px 28px; align-items: center;
  font-size: 20px; font-weight: 400; line-height: 1.2;
}
.nav a { text-decoration: none; color: #000; }
.nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  margin-left: auto;
  background: none;
  border: none;
  cursor: pointer;
  color: #000;
  flex-shrink: 0;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
}
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(0,0,0,.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s ease, visibility .3s ease;
}
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 100;
  width: min(86vw, 360px);
  height: 100%;
  height: 100dvh;
  background: #fff;
  color: #000;
  box-shadow: -8px 0 32px rgba(0,0,0,.12);
  transform: translate3d(100%, 0, 0);
  transition: transform .35s cubic-bezier(.645, .045, .355, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px 18px;
  border-bottom: 1px solid rgba(0,0,0,.08);
}
.nav-drawer-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
}
.nav-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: -8px -8px -8px 0;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  color: #000;
}
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  padding: 12px 8px 32px;
}
.nav-drawer-links a {
  display: block;
  padding: 16px 18px;
  font-size: 20px;
  color: #000;
  text-decoration: none;
  border-radius: 8px;
}
.nav-drawer-links a:hover { background: rgba(0,0,0,.05); }
body.nav-open { overflow: hidden; }
body.nav-open .nav-backdrop {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
body.nav-open .nav-drawer { transform: translate3d(0, 0, 0); }
body.nav-open .site-header { transform: none; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 3px;
}

.hero { padding: 80px 0 24px; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #000;
}
.hero h1 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-size: 74px;
  line-height: 1.1;
  font-weight: 700;
}
.lede {
  margin: 0;
  max-width: 28rem;
  font-size: 1.15rem;
  color: var(--muted);
}
.hero-art {
  margin: 0;
  border: 1px solid #000;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}
.hero-art img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.section { padding: 72px 0 96px; }
.section h2 {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  font-weight: 700;
}
.project-list { display: grid; gap: 22px; }
.project {
  background: #fff;
  border: 1px solid #000;
  border-radius: 16px;
  padding: 28px 30px;
}
.project h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 1.2;
}
.project p { margin: 12px 0 0; color: var(--muted); max-width: 40rem; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 10px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}
.project-actions { margin-top: 20px !important; }
.chip {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: var(--lime);
  color: #000;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-footer {
  background: #111;
  color: #f5f5f5;
  padding: 56px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-grid h2 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
}
.footer-grid a { color: #fff; }
.footer-keep a { color: inherit; text-decoration: none; }
.footer-keep a:hover,
.footer-keep a:active { color: var(--lime); }
.footer-contact-label {
  margin: 0 0 8px;
  color: #ccc;
}
.footer-email {
  margin: 0;
  font-size: 1.15rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  align-items: flex-start;
  justify-content: flex-end;
  font-weight: 600;
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--lime); }
.footer-note {
  padding-top: 22px;
  color: #aaa;
  font-size: .82rem;
  line-height: 1.5;
}
.footer-copy { margin-top: 18px; color: #888; font-size: .85rem; }

@media (max-width: 900px) {
  .wrap { width: min(100% - 40px, var(--max)); }
  .hero { padding: 48px 0 8px; }
  .hero h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .brand { font-size: 22px; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; }
  .section { padding: 56px 0 72px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .site-header, .nav-drawer, .nav-backdrop { transition: none; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 280px; height: 52px; min-height: 52px; padding: 0 22px;
  border: 1px solid #000; border-radius: 40px;
  background: var(--bg); color: #000;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 400; font-size: 20px; line-height: 1.1;
  transition: border-color .4s ease, background-color .4s ease, color .4s ease;
}
.btn:hover { background: #000; color: var(--lime); border-color: #000; }
@media (max-width: 900px) {
  .btn { width: min(280px, 100%); }
}
