/*
Theme Name: Müller Landing
Theme URI: https://muller-service.dk/
Author: Ian Müller
Description: Minimalistisk personlig landing page for Ian Müller.
Version: 1.6.0
Text Domain: muller-landing
*/

:root {
  --ink: #252822;
  --ink-soft: #3d4038;
  --paper: #efeee9;
  --paper-deep: #e3e1da;
  --light-ink: #f6f4ed;
  --line-dark: rgba(246, 244, 237, 0.31);
  --line-light: rgba(37, 40, 34, 0.22);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", Arial, sans-serif;
  --page-padding: clamp(1.5rem, 5vw, 5rem);
  /* Replace this URL with your own photograph whenever it is ready. */
  --hero-image: url("assets/hero-event-videographer.png");
  /* Replace this URL with your own photograph whenever it is ready. */
  --contact-image: url("assets/contact-bridge-dusk.png");
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
.page-width { width: min(100%, 1440px); margin: 0 auto; padding-left: var(--page-padding); padding-right: var(--page-padding); }
.section-dark { position: relative; color: var(--light-ink); background: var(--ink); overflow: hidden; }
.muller-landing .hero.section-dark,
.muller-landing .contact.section-dark { background-color: var(--ink) !important; }
.image-overlay { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(20, 23, 19, .12), rgba(20, 23, 19, .12)), var(--hero-image); background-size: cover; background-position: center; opacity: .92; }
.contact .image-overlay { background-image: linear-gradient(rgba(20, 23, 19, .28), rgba(20, 23, 19, .28)), var(--contact-image); }
.eyebrow, .text-link, .wordmark, nav a, .project-number, .location, footer { font-size: 0.66rem; font-weight: 600; letter-spacing: .16em; line-height: 1.35; }
.eyebrow { margin: 0; }
.eyebrow span { margin: 0 .36em; }

.hero { min-height: max(43rem, 100svh); display: grid; grid-template-rows: auto 1fr; }
.site-header, .hero-content, .contact-layout, footer { position: relative; z-index: 1; }
.site-header { display: flex; justify-content: space-between; align-items: center; min-height: 5.4rem; }
.wordmark { font-family: var(--serif); font-size: 1.35rem; font-weight: 500; letter-spacing: .19em; }
nav { display: flex; gap: clamp(1.25rem, 3vw, 3rem); }
nav a { padding: .5rem 0; transition: opacity .2s ease; }
nav a:hover, .wordmark:hover { opacity: .68; }
.hero-content { align-self: center; padding-top: 4.2rem; padding-bottom: 6.5rem; }
.hero h1, h2, h3 { margin: 0; font-weight: 500; }
.hero h1 { max-width: 10ch; margin-top: clamp(1.35rem, 3.6vw, 3.7rem); font-family: var(--serif); font-size: clamp(6.2rem, 12.3vw, 11.5rem); line-height: .72; letter-spacing: -.07em; }
.hero h1 span, .hero h1 em { display: block; }
.hero h1 em { margin-left: .58em; font-weight: 500; }
.hero-details { display: grid; grid-template-columns: minmax(13rem, 19rem) minmax(17rem, 27rem); align-items: start; gap: clamp(1.5rem, 5vw, 8rem); margin-top: clamp(3.8rem, 8.2vw, 8rem); }
.hero-lead { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.35rem); font-weight: 600; line-height: 1.35; }
.hero-copy { max-width: 34rem; margin: 0; color: rgba(246,244,237,.8); font-size: .8rem; line-height: 1.8; }
.availability { display: flex; align-items: center; gap: .85rem; margin: clamp(2rem, 3vw, 3rem) 0 0; color: rgba(246,244,237,.88); font-size: .66rem; font-weight: 600; letter-spacing: .14em; line-height: 1.4; }
.availability::before { content: ""; width: 2.4rem; height: 1px; background: currentColor; opacity: .5; }
.availability span { color: var(--light-ink); }
.text-link { display: inline-flex; align-items: center; gap: .55rem; border-bottom: 1px solid currentColor; padding-bottom: .38rem; transition: opacity .2s ease; }
.text-link:hover { opacity: .62; }
.arrow-link { margin-top: clamp(2.8rem, 7vw, 6.8rem); border: 1px solid rgba(246, 244, 237, .56); padding: .9rem 1.25rem; }
.arrow-link span { font-size: 1rem; line-height: .5; }
.scroll-prompt { position: absolute; z-index: 2; left: calc(var(--page-padding) + .2rem); bottom: 1.4rem; display: grid; place-items: start center; height: 2.35rem; width: 1.2rem; }
.scroll-prompt::before { content: ""; display: block; width: 1px; height: 2.25rem; background: var(--line-dark); }
.scroll-prompt span { position: absolute; bottom: 0; height: .55rem; width: .55rem; border-right: 1px solid var(--light-ink); border-bottom: 1px solid var(--light-ink); transform: rotate(45deg); }

.section-light { background: var(--paper); }
.projects { padding: clamp(5rem, 12vw, 10.5rem) 0 clamp(5rem, 10vw, 9rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(15rem, .55fr); column-gap: clamp(3rem, 11vw, 12rem); align-items: end; }
.section-title .eyebrow::before, .contact .eyebrow::before, .hero .eyebrow::before { content: ""; display: inline-block; width: 3.25rem; height: 1px; margin: 0 1.2rem .25rem 0; background: currentColor; opacity: .52; }
.section-heading h2, .contact h2 { margin-top: 1.55rem; font-family: var(--serif); font-size: clamp(3.7rem, 5.7vw, 5.9rem); line-height: .83; letter-spacing: -.055em; }
.section-heading h2 em, .contact h2 em { font-weight: 500; }
.section-heading > p:last-child { max-width: 24rem; margin: 0 0 .45rem; color: var(--ink-soft); font-size: .8rem; line-height: 1.75; }
.project-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.1rem, 2vw, 2rem); margin-top: clamp(4.5rem, 8vw, 7rem); }
.project-item { display: flex; min-width: 0; flex-direction: column; padding-top: 1.9rem; border-top: 1px solid var(--line-light); }
.project-image { position: relative; margin: 0 0 1.6rem; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper-deep); }
.project-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 23, 19, 0), rgba(20, 23, 19, .13)); pointer-events: none; }
.project-image img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.76) contrast(.96); transition: transform .45s ease, filter .35s ease; }
.project-item:hover .project-image img { transform: scale(1.035); filter: saturate(.9) contrast(1); }
.project-count { position: absolute; z-index: 1; top: 0; left: 0; min-width: 2.8rem; padding: .55rem .7rem; background: var(--paper); color: var(--ink-soft); font-size: .62rem; font-weight: 600; letter-spacing: .16em; }
.project-number { margin: 0; color: #5b5c55; }
.project-number span { margin: 0 .4rem; }
.project-item h3 { max-width: 15rem; margin-top: 1rem; font-family: var(--serif); font-size: clamp(1.6rem, 2.1vw, 2.2rem); font-weight: 500; line-height: .95; letter-spacing: -.035em; }
.project-item > p:not(.project-number) { margin: 1.25rem 0 0; color: var(--ink-soft); font-size: .75rem; line-height: 1.75; }
.external-link { margin-top: 2.25rem; align-self: flex-start; }

.contact { min-height: 45rem; padding-top: clamp(5rem, 11vw, 9.5rem); }
.contact-layout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 8vw; }
.contact-intro h2 { margin-top: 2rem; }
.contact-intro > p:not(.eyebrow):not(.location) { max-width: 23rem; margin: 2rem 0 0; color: rgba(246,244,237,.76); font-size: .8rem; line-height: 1.8; }
.location { margin: clamp(3.8rem, 8vw, 8rem) 0 0; }
.contact-details { border-top: 1px solid var(--line-dark); font-style: normal; }
.contact-details > div { padding: 1.4rem 0 1.6rem; border-bottom: 1px solid var(--line-dark); }
.contact-details .contact-link { display: flex; align-items: center; gap: .9rem; margin-top: 1.2rem; color: inherit; font-family: var(--sans); font-size: clamp(1rem, 1.35vw, 1.35rem); line-height: 1.1; }
.contact-link svg { width: 1.28rem; height: 1.28rem; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.45; opacity: .88; }
.contact-link .contact-arrow { margin-left: auto; font-family: var(--serif); font-size: 1.55rem; line-height: .7; }
.contact-details a.contact-link { transition: opacity .2s ease; }
.contact-details a.contact-link:hover { opacity: .65; }
footer { display: flex; justify-content: space-between; align-items: center; min-height: 5.6rem; margin-top: clamp(4rem, 7vw, 7.5rem); border-top: 1px solid var(--line-dark); color: rgba(246,244,237,.84); }
footer p { margin: 0; }
footer a:hover { opacity: .6; }

@media (max-width: 850px) {
  .project-grid { grid-template-columns: repeat(2, 1fr); row-gap: 3.5rem; }
  .project-image { aspect-ratio: 4 / 3; }
  .contact-layout { gap: 5vw; }
}
@media (max-width: 570px) {
  :root { --page-padding: 1.35rem; }
  .hero { min-height: 43rem; }
  .site-header { min-height: 4.75rem; }
  .hero-content { padding-top: 2.3rem; padding-bottom: 5rem; }
  .hero h1 { font-size: clamp(5.55rem, 25.7vw, 8rem); }
  .hero-details { grid-template-columns: 1fr; gap: 1.25rem; margin-top: 4.5rem; }
  .hero-copy { max-width: 25rem; }
  .availability { flex-wrap: wrap; gap: .5rem .85rem; }
  .arrow-link { margin-top: 3.5rem; }
  .section-heading { display: block; }
  .section-heading h2 { margin-top: 1.45rem; font-size: clamp(3.25rem, 14.5vw, 4.8rem); }
  .section-heading > p:last-child { margin-top: 1.8rem; }
  .project-grid { grid-template-columns: 1fr; gap: 3.5rem; margin-top: 4.5rem; }
  .project-image { aspect-ratio: 4 / 3; }
  .project-item h3 { margin-top: .9rem; font-size: 2rem; }
  .project-item > p:not(.project-number) { max-width: 31rem; }
  .external-link { margin-top: 2.3rem; }
  .contact { min-height: 0; }
  .contact-layout { display: block; }
  .contact-intro h2 { font-size: clamp(3.6rem, 16.5vw, 5rem); }
  .location { margin-bottom: 4rem !important; }
  footer { margin-top: 4.5rem; min-height: 6.7rem; flex-direction: column; align-items: flex-start; justify-content: center; gap: .9rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; } }
