:root {
  --bg: #510005;
  --ink: #87b3fe;
  --accent: #77d057;
  --muted: #b1ccf9;
  --line: #87b3fe;
  --max: 1280px;
  --cursor: #967f19;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--ink);
  cursor: none;
  font-family: "Uncut-sans", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.logo {
  font-family: "Uncut-sans", sans-serif;
  font-weight: 800;
  font-size: 28px;
  line-height: 0.8;
  letter-spacing: -1px;
}
.logo span {
  margin-left: 12px;
}

.main-nav {
  display: flex;
  gap: 28px;
  font-size: 20px;
}
.main-nav a {
  opacity: 0.55;
  transition: 0.25s;
}
.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
}

.availability {
  justify-self: end;
  font-size: 20px;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.availability span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}

.hero {
  min-height: calc(100vh - 85px);
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 110px;
}

.eyebrow,
.section-number {
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 700;
}

.yoja {
  display: inline-block;
  margin-top: 40px;
  font-size: 11px;
  letter-spacing: 1.7px;
  font-weight: 700;
}

.hero h1,
.page-heading h1 {
  font-size: clamp(58px, 9vw, 145px);
  line-height: 0.98; /* skaber forskydelse i titler */
  letter-spacing: -4px;
  max-width: 1100px;
  margin: 28px 0 45px;
}
h1 em,
h2 em {
  font-style: normal;
  color: var(--muted);
}

.hero-text {
  max-width: 560px;
  font-size: 18px;
  line-height: 1.6;
}
.scroll-link,
.text-link {
  margin-top: 80px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.3px;
  width: fit-content;
}

.section {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 130px 0;
}

.intro h2 {
  font-size: clamp(55px, 9vw, 125px);
  line-height: 0.88;
  letter-spacing: -5px;
  margin: 30px 0 80px;
}

.intro h2 span {
  color: var(--muted);
}

.stripedOne {
  height: 8px;
  background-color: var(--muted);
  margin-bottom: 8px;
}

.stripedTwo {
  height: 8px;
  background-color: var(--ink);
  margin-bottom: 8px;
}

.interactive-trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.trio-card {
  min-height: 260px;
  padding: 25px;
  border-right: 1px solid var(--line);
  transition:
    background 0.35s,
    color 0.35s,
    transform 0.35s;
}
.trio-card:first-child {
  border-left: 1px solid var(--line);
}
.trio-card:hover {
  background: var(--ink);
  color: var(--bg);
  transform: translateY(-12px);
}
.trio-card h3 {
  font-family: "Space Grotesk", sans-serif;
  font-size: 32px;
  margin-top: 75px;
}
.trio-card p {
  max-width: 260px;
  margin-top: 14px;
  line-height: 1.5;
  opacity: 0.7;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
}
.section-top a {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
}

.project-list {
  padding-top: 70px;
}
.project {
  display: block;
  width: 65%;
  margin-bottom: 130px;
}
.project-small {
  width: 42%;
  margin-left: 15%;
}

.project-image {
  aspect-ratio: 2 / 1;
  display: grid;
  place-items: center;
  transition: transform 0.45s;
}

.project-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 20px;
}

.project-offset {
  margin-left: auto;
  width: 50%; /* bredere, så lange titler ikke knækker om i flere linjer */
}
.project-offset .project-image {
  aspect-ratio: 4 / 3; /* wider than tall, instead of 1 / 1 */
}

.yoja-image {
  margin: 0 auto;
  display: block;
}

.project:hover .project-image {
  transform: scale(0.98);
}

.project-meta {
  display: grid;
  grid-template-columns: 40px 1fr;
  row-gap: 4px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.project-meta span {
  grid-column: 1;
  grid-row: 1 / 3;
}
.project-meta h3 {
  grid-column: 2;
  grid-row: 1;
  font-size: 20px;
}
.project-meta p {
  grid-column: 2;
  grid-row: 2;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}

.big-statement {
  max-width: 1050px;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(38px, 5.5vw, 78px);
  line-height: 1.02;
  letter-spacing: -3px;
  margin-top: 45px;
  margin-bottom: 40px;
}
.big-statement span {
  color: var(--muted);
}

.contact-cta {
  background: var(--ink);
  color: var(--bg);
  padding: 130px max(24px, calc((100vw - var(--max)) / 2));
}
.contact-cta h2 {
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(65px, 10vw, 145px);
  line-height: 0.85;
  letter-spacing: -7px;
  margin: 30px 0 55px;
}
.button {
  display: inline-block;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 16px 24px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: none;
  transition: 0.25s;
}
.button:hover {
  background: var(--cursor);
  color: var(--ink);
  border-color: var(--cursor);
}

footer {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: 25px 0;
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}

.subpage {
  min-height: calc(100vh - 85px);
}
.page-heading {
  width: min(calc(100% - 48px), var(--max));
  margin: auto;
  padding: 110px 0 50px;
}
.page-heading h1 {
  margin-bottom: 0;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 90px;
}
.about-photo {
  display: grid;
  place-items: center;
}

.about-photo img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.about-copy h2 {
  font-size: clamp(35px, 5vw, 70px);
  line-height: 0.95;
  letter-spacing: -3px;
  margin: 25px 0 30px;
}
.about-copy > p:not(.section-number) {
  max-width: 550px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.skills {
  margin-top: 75px;
}
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.skill-tags span {
  border: 2px solid var(--line);
  padding: 10px 14px;
  font-size: 12px;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 110px 70px;
}
.case-card-right {
  margin-top: 130px;
}
.case-image {
  aspect-ratio: 1 / 0.5;
  display: grid;
  place-items: center;
}

.case-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.case-info {
  padding-top: 20px;
}
.case-info h2 {
  font-family: "Space Grotesk";
  font-size: 30px;
  margin: 12px 0 5px;
}
.case-info > p:not(.case-description) {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}
.case-description {
  max-width: 450px;
  margin-top: 18px;
  line-height: 1.6;
  color: var(--muted);
}

.contact-heading {
  max-width: var(--max);
}

.contact-big {
  display: block;
  font-family: "Space Grotesk";
  font-size: clamp(28px, 4vw, 55px);
  letter-spacing: -2px;
  margin-top: 25px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-form label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 13px 0;
  font: inherit;
  outline: none;
  resize: vertical;
}
.contact-form small {
  color: var(--muted);
  line-height: 1.5;
}

.cursor-dot {
  position: fixed;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ink);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition:
    width 0.2s,
    height 0.2s,
    background 0.2s;
}
.cursor-dot.big {
  width: 45px;
  height: 45px;
  background: var(--cursor);
  mix-blend-mode: difference;
}

@media (max-width: 800px) {
  body {
    cursor: auto;
  }
  .cursor-dot {
    display: none;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 20px 0;
  }
  .main-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: space-between;
    gap: 10px;
    padding-top: 12px;
  }
  .availability {
    font-size: 9px;
  }

  .hero {
    min-height: 75vh;
    padding-top: 60px;
  }
  .hero h1,
  .page-heading h1 {
    letter-spacing: -4px;
  }
  .hero-text {
    font-size: 16px;
  }

  .section {
    padding: 85px 0;
  }
  .interactive-trio,
  .about-grid,
  .contact-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .trio-card {
    border-left: 1px solid var(--line);
  }
  .trio-card h3 {
    margin-top: 45px;
  }

  .project,
  .project-offset,
  .project-small {
    width: 100%;
    margin-left: 0;
    margin-bottom: 75px;
  }
  .project-meta {
    grid-template-columns: 30px 1fr;
  }
  .project-meta p {
    grid-column: 2;
    margin-top: 5px;
  }

  .case-card-right {
    margin-top: 0;
  }
  .page-heading {
    padding-top: 70px;
  }

  footer {
    flex-direction: column;
    gap: 8px;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(35px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
