/* ==================================================
   TABLET / DESKTOP
================================================== */

@media (min-width: 768px) {
  /* ==================================================
     HEADER
  ================================================== */

  .site-header {
    padding: 1.5rem 2rem;
    height: 80px;
  }

  .menu-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 2.5rem;
  }
  .desktop-nav .linkedin-icon {
    width: 22px;
    height: 22px;
    display: block;
    fill: currentColor;
  }
  .desktop-nav a {
    position: relative;
    font-size: 0.85rem;
    transition: color 0.25s ease;
  }

  .desktop-nav a:hover {
    color: #7f6878;
  }

  .desktop-nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.35rem;
    height: 1px;
    background-color: #7f6878;
  }

  /* ==================================================
     HOMEPAGE — HERO
  ================================================== */

  body:has(.hero) .site-header {
    padding: 1rem 2rem;
  }

  body:has(.hero) .logo img {
    width: 190px;
  }

  .hero {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    grid-template-rows: 1fr auto;
    align-items: center;
    gap: 2rem 4rem;
    height: calc(100vh - 76px);
    min-height: 620px;

    padding: 5rem 5vw;

    position: relative;
    overflow: hidden;
  }

  .hero-content {
    padding-left: 0;
    max-width: 650px;
    position: relative;
    z-index: 3;
  }

  .hero-eyebrow {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    letter-spacing: 0.18em;
  }

  .hero-name {
    margin-bottom: 1.25rem;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 6.4vw, 7.2rem);
    line-height: 0.88;
    letter-spacing: -0.065em;
  }

  .hero .name-first,
  .hero .name-last {
    display: block;
  }

  .hero-role {
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    letter-spacing: 0.16em;
  }

  .hero-tagline {
    max-width: 480px;
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-link {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }

  .hero-visual {
    width: min(100%, 650px);
    justify-self: end;
    align-self: center;
    min-height: 520px;

    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-blob {
    position: absolute;

    z-index: 0;

    width: 360px;
    height: 360px;

    top: 50%;
    left: auto;
    right: 8%;

    transform: translateY(-50%);

    border-radius: 48% 52% 55% 45% / 48% 43% 57% 52%;
  }

  .hero-image {
    width: min(30vw, 385px);
    max-width: 385px;

    margin: 0;

    position: relative;
    z-index: 2;

    transform: none;
  }

  .hero-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
  }
  .hero-footsteps {
    width: 360px;

    left: 10%;
    bottom: 0;

    transform: rotate(-4deg);
  }

  .scroll-arrow {
    position: absolute;

    left: 50%;
    bottom: 0.25rem;

    display: flex;
    flex-direction: column;
    align-items: center;

    gap: 0.3rem;

    margin: 0;

    transform: translateX(-50%);

    z-index: 10;
  }

  /* ==================================================
     SELECTED WORK
  ================================================== */

  .tools-section {
    padding: 8rem 5vw 10rem;
  }

  .tools-section-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
  }

  .tools-section-heading {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .tools-section-heading h2 {
    font-size: clamp(2.5rem, 4vw, 4rem);
  }

  .selected-work .section-heading h2.section-title {
    font-size: clamp(2.5rem, 4vw, 4rem);
  }

  .tools-list {
    flex: 1;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .tools-list li {
    padding: 1rem 0.5rem;
    font-size: 0.82rem;
  }

  .selected-work {
    padding: 8rem 5vw 10rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .section-heading h2 {
    font-size: clamp(3rem, 5vw, 5rem);
  }

  .project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6rem 3rem;
  }

  .project-info {
    padding-top: 1.25rem;
  }

  .project-info h3 {
    font-size: 1.2rem;
  }

  /* ==================================================
   FOOTER
================================================== */

  .site-footer {
    padding: 5rem 8% 2rem;
  }

  .footer-contact h2 {
    font-size: clamp(2.5rem, 4vw, 3.8rem);
  }

  .footer-text {
    font-size: 1rem;
  }

  .footer-details {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem 2rem;
  }

  .footer-bottom {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 2rem;
    text-align: left;
  }

  .footer-logo {
    width: 120px;
  }

  .footer-bottom p {
    margin: 0;
    justify-content: center;
  }

  /* ==================================================
     ABOUT
  ================================================== */

  .about-intro {
    max-width: 400px;

    margin: 2rem 0 0;
    padding: 0;

    font-size: 3rem;
    line-height: 1.55;
  }

  .about-intro-content {
    padding-left: 2rem;
  }

  .about-intro-content h1 {
    font-size: clamp(5rem, 8vw, 8rem);
  }

  .about-image {
    width: 100%;
    height: 90%;
    margin-top: 0;
  }

  .about-text {
    max-width: 400px;

    margin: 1rem 0 0;
    padding: 0;

    font-size: 0.9rem;
    line-height: 1.6;
  }

  .about-text-content {
    margin-left: 25%;
    max-width: 650px;
  }

  .about-text-content p {
    font-size: 1.5rem;
  }

  /* BACKGROUND */

  .about-background {
    padding: 9rem 4rem;
  }

  .about-background .section-heading {
    margin-left: 10%;
  }

  .background-list {
    max-width: 900px;
    margin: 6rem auto 0;
  }

  .background-item p {
    font-size: 1.5rem;
  }

  /* HOW I WORK */

  .about-process {
    padding: 10rem 4rem;
  }

  .about-process .section-heading {
    margin-left: 10%;
  }

  .qualities {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 6rem auto 0;
  }

  .quality {
    min-height: 220px;
    padding: 1.5rem;
  }

  /* CONTACT */

  .about-contact {
    padding: 9rem 4rem;
  }

  .about-contact > a {
    font-size: clamp(3rem, 6vw, 6rem);
  }

  /* ==================================================
     PROJECT HERO — ALLETIDERS KOGEBOG
  ================================================== */

  .project-hero {
    min-height: 85vh;

    display: grid;
    grid-template-columns: 1fr 1fr;

    align-items: center;

    padding: 8rem 8%;

    gap: 5rem;
  }

  .project-hero h1 {
    font-size: clamp(1.5rem, 8vw, 5rem);
  }

  .helte-hero .project-hero-content h1 {
    font-size: clamp(3rem, 7vw, 6rem);
  }

  .project-hero-image {
    margin-top: 0;
    width: auto;
  }

  .project-hero-image img {
    max-width: 700px;
  }

  /* ==================================================
     PROJECT OVERVIEW
  ================================================== */

  .project-overview {
    padding: 10rem 8%;
  }

  .overview-heading {
    max-width: 700px;
    margin-bottom: 6rem;
  }

  .overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }

  /* ==================================================
     RESEARCH
  ================================================== */

  .project-research {
    padding: 10rem 8%;
  }

  .research-text {
    max-width: 650px;
    margin-bottom: 6rem;
  }

  .research-collage {
    display: grid;
    grid-template-columns: 1.5fr 0.5fr;
    gap: 1.5rem;
    align-items: start;
  }

  .helte-gallery {
    grid-template-columns: 1.2fr 0.8fr;
    grid-template-rows: repeat(2, minmax(180px, 1fr));
    gap: 1.5rem;
  }

  .helte-gallery img:first-child {
    grid-row: span 2;
  }

  .project-eyetracking,
  .helte-journey-section {
    padding: 10rem 8%;
  }

  .eyetracking-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .helte-journey-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .image-large {
    grid-row: span 2;
    width: 100%;
    height: auto;
  }

  .image-small,
  .image-medium {
    width: 100%;
    height: auto;
  }

  /* ==================================================
     KEY INSIGHTS
  ================================================== */

  .key-insights {
    padding: 10rem 8%;
  }

  .section-heading {
    margin-bottom: 5rem;
  }

  .insights-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .insight-card {
    min-height: 340px;
    height: 100%;
    padding: 2rem;
  }

  .insight-card h3 {
    min-height: 2.5em;
  }

  /* ==================================================
     PROCESS
  ================================================== */

  .project-process {
    padding: 10rem 8%;
  }

  .process-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .process-card {
    min-height: 280px;
    padding: 3rem;
  }

  /* ==================================================
     SOLUTION
  ================================================== */

  .project-solution {
    padding: 10rem 8%;
  }

  .solution-heading {
    max-width: 700px;
    margin-bottom: 6rem;
  }

  .solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  /* ==================================================
     FINAL DESIGN
  ================================================== */

  .final-design-heading {
    width: 100%;
    padding-left: 5rem;
  }

  .final-design-image {
    width: 100%;
  }

  .final-design {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 4rem;
    align-items: center;
  }

  .final-design-image video {
    width: 100%;
    height: auto;
    display: block;
  }

  /* ==================================================
     NEXT PROJECT
  ================================================== */

  .next-project {
    padding: 4.5rem 8%;
  }

  .next-project a {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
  }

  /* ==================================================
     VOKSEVÆRK — CONCEPT
  ================================================== */

  .project-solution {
    padding: 10rem 8%;
  }

  /* ==================================================
     VOKSEVÆRK — CAMPAIGN
  ================================================== */

  .voksevaerk-campaign {
    padding: 10rem 8%;
  }

  .campaign-heading {
    max-width: 800px;
  }

  /* ==================================================
     VOKSEVÆRK — INTERACTION
  ================================================== */

  .project-interaction {
    padding: 10rem 8%;
  }

  .interaction-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 4rem;
  }

  /* ==================================================
     VOKSEVÆRK — DEVELOPMENT
  ================================================== */

  .project-development {
    padding: 10rem 8%;
  }

  .development-tools {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }

  /* ==================================================
     VOKSEVÆRK — FINAL DESIGN
  ================================================== */

  .voksevaerk-final-design {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 4rem;
    align-items: center;
  }

  .voksevaerk-final-design .final-design-heading {
    padding-left: 5rem;
  }

  .voksevaerk-final-design .final-design-image video {
    width: 30%;
    height: auto;
  }

  /* ==================================================
     REFLECTION
  ================================================== */

  .project-reflection {
    padding: 10rem 8%;
  }

  .reflection-text {
    font-size: 1.4rem;
  }

  .voksevaerk-collage {
    grid-template-columns: 1.5fr 0.7fr;
    grid-template-rows: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
  }

  .video-large {
    grid-row: span 2;
    height: 100%;
  }

  .video-large video {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .voksevaerk-collage .image-small,
  .voksevaerk-collage .image-medium {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

/* ==================================================
   LARGE DESKTOP
================================================== */

@media (min-width: 1200px) {
  .tools-section {
    padding-left: 6vw;
    padding-right: 6vw;
  }

  .tools-list {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .site-header {
    padding: 1.5rem 3rem;
  }

  .desktop-nav {
    gap: 3rem;
  }

  /* HOMEPAGE */

  body:has(.hero) .site-header {
    padding: 1rem 3rem;
  }

  body:has(.hero) .logo img {
    width: 205px;
  }

  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 3rem 5rem;
    padding: 5rem 6vw;
  }

  .hero h1 {
    font-size: clamp(5.5rem, 7vw, 8rem);
  }

  .hero-visual {
    min-height: 620px;
  }

  .hero-blob {
    width: 360px;
    height: 360px;

    left: auto;
    right: 8%;
  }
  .hero-image {
    width: min(27vw, 385px);
    max-width: 385px;
  }

  .hero-footsteps {
    width: 300px;
    left: 13%;
    bottom: 2.5rem;
  }

  /* SELECTED WORK */

  .selected-work {
    padding-left: 6vw;
    padding-right: 6vw;
  }
}

/* ==================================================
   ABOUT PAGE — DESKTOP
================================================== */

@media (min-width: 768px) {
  /* =========================
   ABOUT HERO
========================= */

  .about-hero {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;

    gap: 5rem;

    padding: 7rem 6vw 6rem;

    background-color: #f4f1ec;
  }

  .about-hero-content {
    max-width: 520px;
  }

  .about-hero-content h1 {
    font-size: clamp(4.5rem, 18vw, 7rem);
    color: #7f6878;
    font-weight: 700px;
    line-height: 0.82;
    letter-spacing: -0.065em;
  }

  .about-eyebrow {
    margin-bottom: 1rem;

    font-size: 0.75rem;
    letter-spacing: 0.18em;
  }

  .about-hero h1 {
    margin: 0;

    color: #7f6878;

    font-size: clamp(4.5rem, 18vw, 7rem);
    font-weight: 500;

    line-height: 0.82;
    letter-spacing: -0.065em;
  }

  .about-intro {
    max-width: 400px;

    margin: 2rem 0 0;

    font-size: 1rem;
    line-height: 1.55;
  }

  .about-text {
    max-width: 400px;

    margin: 1rem 0 0;

    font-size: 0.9rem;
    line-height: 1.6;
  }

  .about-hero-image {
    width: 100%;
    max-width: 360px;

    margin: 6rem 0 0 auto;
  }

  .about-hero-image img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 5;

    object-fit: cover;
  }

  /* =========================
   MY JOURNEY
========================= */

  .about-journey {
    padding: 4.5rem 6vw 4.5rem;
    background-color: #f4f1ec;
    overflow: hidden;
  }

  .journey-heading {
    max-width: none;
    margin-bottom: 2.5rem;
  }

  .timeline-scroll-cue {
    position: absolute;
    top: 50%;
    right: 0;
    display: inline-flex;
    transform: translateY(-50%);
  }

  .journey-heading h2 {
    margin: 0;

    font-size: clamp(4rem, 5.5vw, 6rem);
    font-weight: 400;

    line-height: 0.9;
    letter-spacing: -0.055em;
  }

  .journey-heading > p:last-child {
    max-width: 380px;

    margin: 1.25rem 0 0;

    font-size: 0.9rem;
    line-height: 1.6;
  }

  .timeline-wrapper {
    width: 100%;

    overflow-x: auto;
    overflow-y: hidden;

    padding-bottom: 1rem;

    scrollbar-width: thin;
    scrollbar-color: #7f6878 transparent;
  }

  .timeline {
    position: relative;

    display: flex;
    flex-direction: row;
    align-items: flex-start;

    width: max-content;
    min-width: 100%;

    column-gap: 6rem;

    padding: 2.5rem 0 2rem;
  }

  .timeline::before {
    content: "";

    position: absolute;

    top: 4rem;
    left: 0;
    right: 0;

    height: 1px;

    background-color: rgba(59, 58, 66, 0.2);
  }

  .timeline-item {
    position: relative;

    display: flex;
    flex-direction: column;

    width: 240px;
    min-width: 240px;

    margin: 0;
  }

  .timeline-year {
    order: 1;

    margin-bottom: 0.8rem;

    color: #777582;

    font-size: 0.75rem;
    font-weight: 500;

    letter-spacing: 0.08em;
  }

  .timeline-dot {
    order: 2;

    width: 10px;
    height: 10px;

    margin-bottom: 2rem;

    border-radius: 50%;

    background-color: #7f6878;

    z-index: 2;
  }

  .timeline-item:not(:last-child)::after {
    display: none;
  }

  .timeline-content {
    order: 3;

    max-width: 240px;
  }

  .timeline-label {
    margin-bottom: 0.5rem;

    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .timeline-content h3 {
    margin: 0;

    font-size: 1.5rem;
    line-height: 1.1;
  }

  .timeline-content > p:last-child {
    max-width: 230px;

    margin-top: 0.75rem;

    font-size: 0.85rem;
    line-height: 1.6;
  }
  /* =========================
   WHAT MAKES ME DIFFERENT
========================= */

  .about-difference {
    padding: 6rem 6vw;
    background-color: #e7e0d8;
  }

  .about-difference > * {
    max-width: 1000px;
  }
  .difference-heading {
    max-width: 650px;
  }

  .difference-heading h2 {
    margin: 0;

    font-size: clamp(2.3rem, 5vw, 5.5rem);
    font-weight: 400;

    line-height: 0.9;
    letter-spacing: -0.055em;
  }

  .difference-intro {
    max-width: 680px;

    margin: 2.5rem 0 3.5rem;
  }

  .difference-intro p {
    margin: 0;

    font-size: clamp(1.5rem, 2.4vw, 2.4rem);
    font-weight: 300;

    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  .difference-grid {
    display: flex;
    flex-direction: column;

    width: 100%;
  }

  .difference-item {
    display: grid;

    grid-template-columns: 55px minmax(180px, 0.7fr) minmax(280px, 1fr);

    column-gap: 2rem;

    align-items: start;

    padding: 2rem 0;
  }

  .difference-item > span {
    font-size: 2.25rem;
  }

  .difference-item h3 {
    margin: 0;

    font-size: 1.7rem;
    font-weight: 400;

    line-height: 1;
  }

  .difference-item p {
    grid-column: 3;

    max-width: 430px;

    margin: 0;

    font-size: 0.9rem;
    line-height: 1.6;
  }

  /* =========================
     IMAGE CAROUSEL
  ========================= */

  .about-carousel {
    padding: 2rem 3vw 2rem;
    margin-bottom: 4rem;
    background-color: #d8d4de;
    overflow: hidden;
  }

  .carousel-heading {
    max-width: 650px;
    margin-bottom: 2rem;
  }

  .carousel-heading h2 {
    margin: 0;

    font-size: clamp(3rem, 5.5vw, 4rem);
    font-weight: 400;

    line-height: 0.9;
    letter-spacing: -0.055em;
  }

  .carousel {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;

    overflow: hidden;
  }

  .carousel-slide img {
    display: block;

    width: 100%;
    height: auto;

    aspect-ratio: 4 / 3;

    object-fit: cover;
  }

  /* ==================================================
   RYANAIR — DESKTOP
================================================== */

  /* SERVICE DESIGN */

  .project-interaction {
    padding: 10rem 8%;
  }

  .interaction-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }

  .interaction-item {
    min-height: 320px;
    padding: 3rem;
    margin: auto;
  }

  .interaction-image {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 5rem;
  }

  .interaction-image img:first-child {
    grid-column: 1 / 3;
  }

  /* REDESIGN */

  .project-design {
    padding: 5rem 8%;
    height: 455px;
  }

  .design-intro {
    max-width: 650px;
    margin-bottom: 5rem;
  }

  .design-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .design-images img {
    width: 100%;
  }
}

/* ==================================================
   ABOUT PAGE — LARGE DESKTOP
================================================== */

@media (min-width: 1200px) {
  .about-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);

    gap: 6vw;

    padding: 4rem 7vw;
  }

  .about-hero-content {
    max-width: 600px;
  }

  .about-hero-content h1 {
    font-size: clamp(5rem, 6vw, 7rem);
    color: #7f6878;
    font-weight: 700%;
    font-size: clamp(3.8rem, 15vw, 6rem);
  }

  .about-hero h1 {
    font-size: clamp(5rem, 6vw, 7rem);
  }

  .about-hero-image {
    max-width: 400px;
  }
  .about-journey {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .about-difference {
    padding-left: 7vw;
    padding-right: 7vw;
  }

  .about-carousel {
    padding-left: 7vw;
    padding-right: 7vw;
  }
}

/* HVERDAGENS HELTE — keep the transition out of the hero compact */
.helte-page .project-overview {
  padding-top: 6rem;
}

.helte-page .helte-hero {
  min-height: 0;
  padding-bottom: 5rem;
}

.helte-page main > section:not(.helte-hero) {
  padding: 6rem 6%;
}

@media (min-width: 768px) {
  .about-hero ~ section {
    padding: 6rem 8%;
  }

  .project-hero ~ section:not(.next-project) {
    padding: 6rem 8%;
  }

  .helte-page .insights-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }

  .helte-page .insight-card {
    min-height: 340px;
    padding: 2rem;
  }

  .helte-page .insight-card h3 {
    min-height: 2.5em;
  }

  .helte-page .interaction-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 1.25rem;
  }

  .helte-page .interaction-item {
    min-height: 250px;
    padding: 2rem;
  }

  .hero-scroll-cue {
    right: 8%;
    bottom: 1.5rem;
    font-size: 0.8rem;
  }

  .helte-page .helte-hero {
    min-height: 85vh;
  }

  .helte-page main > section:not(.helte-hero) {
    padding: 6rem 8%;
  }
}
