:root {
  --background: #09090a;
  --surface: #121214;
  --text: #f2f0ea;
  --muted: #9b9a95;
  --line: rgb(255 255 255 / 14%);
  --accent: #b9d82b;
  color-scheme: dark;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-size: 16px;
  line-height: 1.5;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, figure { margin-top: 0; }

.site-header,
main,
footer {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 28px;
  transform: translateX(-50%);
}

.logo { font-size: 1.25rem; font-weight: 800; letter-spacing: -.06em; }
.logo span, em { color: var(--accent); }
nav { display: flex; gap: 34px; }
nav a, footer a {
  color: var(--muted);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  transition: color 180ms ease;
}
nav a:hover, nav a:focus-visible, footer a:hover, footer a:focus-visible { color: var(--text); }

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  padding: 130px 0 70px;
}

.eyebrow,
.project__title p {
  color: var(--muted);
  font-size: .7rem;
  font-weight: 650;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.hero .eyebrow { display: flex; align-items: center; gap: 12px; }
.hero .eyebrow span { width: 34px; height: 1px; background: var(--accent); }

h1 {
  max-width: 740px;
  margin: 30px 0 42px;
  font-size: clamp(4.3rem, 8vw, 8rem);
  font-weight: 650;
  letter-spacing: -.075em;
  line-height: .84;
}
em { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
.hero__intro { max-width: 560px; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.25rem); }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  border-bottom: 1px solid var(--text);
  margin-top: 20px;
  padding-bottom: 7px;
}

.portrait-stage {
  position: relative;
  width: clamp(390px, 39vw, 570px);
  height: clamp(480px, 48vw, 680px);
  isolation: isolate;
}
.portrait {
  position: absolute;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.portrait::before {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: 50%;
  width: 72%;
  aspect-ratio: .68;
  border-radius: 48%;
  background: radial-gradient(ellipse, rgb(224 218 207 / 17%) 0%, rgb(185 216 43 / 5%) 42%, transparent 72%);
  filter: blur(28px);
  transform: translateX(-50%);
  content: "";
}
.portrait img {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  transform: translateX(-50%);
  filter: saturate(.82) contrast(1.04);
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 68%,
    rgb(0 0 0 / 94%) 74%,
    rgb(0 0 0 / 72%) 82%,
    rgb(0 0 0 / 38%) 91%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0%,
    #000 68%,
    rgb(0 0 0 / 94%) 74%,
    rgb(0 0 0 / 72%) 82%,
    rgb(0 0 0 / 38%) 91%,
    transparent 100%
  );
}
.skill-label {
  --float-distance: -4px;
  position: absolute;
  min-width: 150px;
}
.skill-label--video { top: 27%; left: 2%; --float-duration: 7s; }
.skill-label--design { top: 46%; right: -28%; --float-distance: 4px; --float-duration: 8.5s; --float-delay: -2s; }
.skill-label--motion { bottom: 22%; left: -4%; --float-duration: 9.5s; --float-delay: -5s; }
.skill-label button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  min-height: 46px;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  border: 0;
  padding: 5px 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 280ms ease, text-shadow 280ms ease, transform 280ms ease;
  animation: label-float var(--float-duration, 7s) ease-in-out var(--float-delay, 0s) infinite;
}
.skill-label__mark {
  width: 68%;
  height: 2px;
  background: rgb(185 216 43 / 58%);
  transform-origin: left;
  transition: width 360ms cubic-bezier(.2, .8, .2, 1), background 280ms ease;
}
.skill-label__details {
  position: relative;
  z-index: 4;
  display: flex;
  visibility: hidden;
  flex-wrap: wrap;
  gap: 7px 12px;
  width: 250px;
  padding-top: 7px;
  pointer-events: none;
}
.skill-label__details span {
  padding: 2px 0;
  color: rgb(202 232 55 / 82%);
  font-size: .67rem;
  letter-spacing: .09em;
  opacity: 0;
  filter: blur(5px);
  transform: translate3d(-8px, 9px, 0) rotate(-2deg);
  transition: opacity 320ms ease, filter 420ms ease, transform 520ms cubic-bezier(.16, 1, .3, 1);
}
.skill-label__details span:nth-child(2) { transition-delay: 45ms; }
.skill-label__details span:nth-child(3) { transition-delay: 90ms; }
.skill-label:hover button, .skill-label:focus-within button, .skill-label.is-open button { animation-play-state: paused; }
.skill-label:hover button, .skill-label:focus-within button, .skill-label.is-open button {
  color: #d4f238;
  text-shadow: 0 0 20px rgb(185 216 43 / 16%);
}
.skill-label button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.skill-label:hover .skill-label__mark,
.skill-label:focus-within .skill-label__mark,
.skill-label.is-open .skill-label__mark { width: 100%; background: var(--accent); }
.skill-label:hover .skill-label__details,
.skill-label:focus-within .skill-label__details,
.skill-label.is-open .skill-label__details { visibility: visible; }
.skill-label:hover .skill-label__details span,
.skill-label:focus-within .skill-label__details span,
.skill-label.is-open .skill-label__details span { opacity: 1; filter: blur(0); transform: none; }
@keyframes label-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(var(--float-distance)); }
}

.work { padding: 150px 0; }
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
  padding-bottom: 28px;
}
.section-heading h2 { margin: 0; font-size: clamp(3rem, 7vw, 6.5rem); letter-spacing: -.06em; line-height: .9; }
.section-heading p { margin-bottom: 10px; }

.project {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  margin-top: 24px;
  padding: clamp(28px, 5vw, 64px);
  border: 1px solid var(--line);
  background: var(--surface);
}
.project::after {
  position: absolute;
  top: -35%;
  right: -12%;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  content: "";
  opacity: .25;
}
.project--hotel::after { background: radial-gradient(circle, #b37a37, transparent 66%); }
.project--ncp::after { background: radial-gradient(circle, #ed1f24, transparent 66%); }
.project--oberpfalz::after { background: radial-gradient(circle, #b9d82b, transparent 66%); }
.project__topline {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.project__content {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 420px;
  grid-template-columns: minmax(240px, .8fr) 1fr;
  align-items: center;
  gap: clamp(50px, 8vw, 120px);
}
.project__logo {
  width: min(100%, 280px);
  height: 110px;
  object-fit: contain;
  object-position: left center;
  opacity: .76;
}
.project__logo--hotel { filter: brightness(1.35); }
.project__title p { margin-bottom: 12px; }
.project h3 { margin: 0; font-size: clamp(3.5rem, 7vw, 6.5rem); letter-spacing: -.07em; line-height: .86; }
.project__note { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .85rem; }

.project--hotel { padding-bottom: clamp(40px, 6vw, 76px); }
.hotel-intro {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(250px, .62fr) minmax(0, 1.38fr);
  align-items: start;
  gap: clamp(44px, 6vw, 84px);
  margin-top: clamp(60px, 9vw, 120px);
}
.hotel-intro__copy { align-self: start; }
.hotel-intro__copy .project__logo { height: 76px; margin-bottom: 34px; }
.hotel-intro__location {
  margin-bottom: 18px;
  color: var(--muted);
  font-size: .68rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.hotel-intro h3 { max-width: 480px; font-size: clamp(2.15rem, 3.6vw, 3.65rem); line-height: .96; }
.hotel-intro__description { max-width: 510px; margin: 34px 0; color: var(--muted); font-size: 1rem; }
.hotel-services { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; margin: 0; padding: 0; list-style: none; }
.hotel-services li { border-top: 1px solid var(--line); padding: 12px 0; font-size: .68rem; letter-spacing: .11em; text-transform: uppercase; }
.hotel-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-self: start;
  gap: clamp(10px, 1.3vw, 18px);
  padding-top: 24px;
}
.hotel-media { position: relative; overflow: hidden; margin: 0; background: #1b1b1d; isolation: isolate; }
.hotel-media::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(135deg, rgb(255 255 255 / 7%), transparent 58%), repeating-linear-gradient(135deg, transparent 0 12px, rgb(255 255 255 / 2%) 12px 13px);
  content: "";
}
.hotel-media > span {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 50%;
  width: 80%;
  color: var(--muted);
  font-size: .62rem;
  letter-spacing: .13em;
  text-align: center;
  text-transform: uppercase;
  transform: translate(-50%, -50%);
}
.hotel-media img, .hotel-media video { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; }
.hotel-media--square,
.hotel-media--reel,
.hotel-media--photo,
.hotel-media--story { aspect-ratio: 4 / 5; }
.hotel-media--reel {
  display: grid;
  place-items: center;
  padding: clamp(10px, 1.6vw, 20px);
}
.phone-frame {
  position: relative;
  z-index: 1;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 9 / 19.5;
  padding: clamp(5px, .55vw, 8px);
  border: 1px solid rgb(255 255 255 / 32%);
  border-radius: clamp(18px, 2vw, 30px);
  background: #080809;
  box-shadow: 0 18px 38px rgb(0 0 0 / 45%), inset 0 0 0 1px rgb(255 255 255 / 8%);
}
.phone-frame video {
  overflow: hidden;
  border-radius: clamp(13px, 1.5vw, 22px);
}
.phone-frame__speaker {
  position: absolute;
  z-index: 2;
  top: clamp(9px, 1vw, 13px);
  left: 50%;
  width: 30%;
  height: clamp(4px, .5vw, 7px);
  border-radius: 999px;
  background: #080809;
  transform: translateX(-50%);
}
.hotel-media--reel small { color: rgb(155 154 149 / 65%); font-size: .55rem; }

.about { display: grid; grid-template-columns: .5fr 1.5fr; gap: 40px; padding: 150px 0; }
.about h2 { margin: 0; font-size: clamp(3rem, 6vw, 5.8rem); letter-spacing: -.065em; line-height: .92; }
.about > p:last-child { max-width: 520px; margin: 54px 0 0 auto; color: var(--muted); font-size: 1.15rem; }
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(50px, 9vw, 140px);
  border-top: 1px solid var(--line);
  padding: 150px 0 130px;
}
.contact h2 {
  max-width: 850px;
  margin: 24px 0 0;
  font-size: clamp(3.2rem, 7vw, 6.5rem);
  letter-spacing: -.07em;
  line-height: .9;
}
.contact__details {
  display: grid;
  align-content: start;
  gap: 30px;
  padding-top: 38px;
}
.contact__item { border-bottom: 1px solid var(--line); padding-bottom: 24px; }
.contact__item p { margin-bottom: 0; }
.contact__item a { overflow-wrap: anywhere; }
.contact__label {
  margin-bottom: 8px !important;
  color: var(--muted);
  font-size: .65rem;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.contact__actions {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  border: 1px solid var(--line);
  padding: 14px 18px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}
.button:hover, .button:focus-visible { border-color: var(--text); }
.button--primary { border-color: var(--accent); background: var(--accent); color: #09090a; }
.button--primary:hover, .button--primary:focus-visible { background: var(--text); }
footer { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .75rem; }
footer p { margin: 0; }

@media (max-width: 800px) {
  .site-header, main, footer { width: min(100% - 32px, 1240px); }
  nav { gap: 16px; }
  .hero { display: flex; min-height: auto; flex-direction: column; align-items: stretch; padding-top: 150px; }
  .portrait-stage { width: min(100%, 560px); height: clamp(480px, 108vw, 620px); align-self: center; margin-top: 24px; }
  .skill-label--video { top: auto; bottom: 18px; left: 0; }
  .skill-label--design { top: auto; right: 50%; bottom: 18px; transform: translateX(50%); }
  .skill-label--motion { right: 0; bottom: 18px; left: auto; }
  .skill-label { min-width: auto; }
  .skill-label button { min-height: 42px; gap: 5px; padding: 9px 4px; font-size: .78rem; animation: none; }
  .skill-label__mark { width: 70%; }
  .skill-label__details { position: absolute; bottom: 100%; width: 180px; padding: 0 0 8px; }
  .skill-label--design .skill-label__details { left: 50%; justify-content: center; transform: translateX(-50%); }
  .skill-label--motion .skill-label__details { right: 0; justify-content: flex-end; }
  .project { min-height: 640px; }
  .project__content { display: flex; min-height: 500px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 50px; }
  .project__logo { width: min(100%, 400px); height: 150px; }
  .project--hotel { min-height: 0; }
  .hotel-intro { grid-template-columns: 1fr; gap: 44px; }
  .hotel-gallery { padding-top: 0; }
  .about { display: block; }
  .about > p:last-child { margin: 40px 0 0; }
  .contact { display: block; }
  .contact__details { margin: 48px 0 36px; padding-top: 0; }
  .contact__actions { display: grid; }
}

@media (max-width: 520px) {
  nav a:nth-child(2) { display: none; }
  h1 { font-size: clamp(3.8rem, 18vw, 5.8rem); }
  .project { min-height: 570px; }
  .project__topline span:last-child { display: none; }
  .project__content { min-height: 430px; }
  .project h3 { font-size: clamp(3rem, 15vw, 4.5rem); }
  .hotel-intro { margin-top: 54px; }
  .hotel-intro h3 { font-size: clamp(2.15rem, 11vw, 3.25rem); }
  .hotel-services { grid-template-columns: 1fr; }
  .hotel-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .portrait-stage { height: min(126vw, 570px); margin-inline: -8px; width: calc(100% + 16px); }
  .portrait img { width: auto; height: 100%; }
  .skill-label__mark { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
