:root {
  --bg: #181818;
  --panel: rgba(16, 18, 18, 0.78);
  --panel-strong: rgba(19, 22, 22, 0.92);
  --line: rgba(255, 255, 255, 0.11);
  --text: #f3efe7;
  --muted: rgba(243, 239, 231, 0.7);
  --soft: rgba(243, 239, 231, 0.5);
  --accent: #d7b46a;
  --accent-2: #8b6a31;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1404px, calc(100vw - 64px));
  --font-main: "Space Mono", monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-main);
}

img,
video {
  display: block;
  max-width: 100%;
}

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

.site-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 64px;
}

.topbar {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 30;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(1404px, calc(100vw - 64px));
  padding: 26px 0 0;
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.brand--stacked {
  flex-direction: row;
  justify-content: flex-start;
  text-align: left;
}

.brand__logo {
  display: block;
  width: 398px;
  max-width: min(58vw, 398px);
  height: auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 28px;
}

.menu a {
  position: relative;
  color: var(--muted);
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--accent);
  transition: transform 180ms ease;
}

.menu a:hover,
.menu a:focus-visible {
  color: var(--text);
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  position: absolute;
  top: 20px;
  right: 0;
}

.menu-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--text);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 100vh;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: clip;
  background: #0f1110;
}

.hero__video-frame,
.hero__video,
.hero__overlay {
  position: absolute;
  inset: 0;
}

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

.hero__overlay {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.62) 70%, rgba(0, 0, 0, 0.86) 100%),
    linear-gradient(90deg, rgba(6, 7, 7, 0.82) 0%, rgba(6, 7, 7, 0.18) 52%, rgba(6, 7, 7, 0.62) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100%;
  max-width: none;
  padding: clamp(28px, 4vw, 56px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2 {
  margin: 0;
  font-family: var(--font-main);
  line-height: 0.92;
  letter-spacing: -0.03em;
}

.hero h1 {
  max-width: none;
  text-align: center;
  font-family: var(--font-main);
  color: #f0eeeb;
  font-size: 80px;
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.section-copy,
.about__grid p,
.service-list p,
.contact__panel p {
  color: var(--muted);
  line-height: 1.75;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    background 180ms ease,
    border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--accent);
  color: #17120b;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #e7c37a;
}

.button--ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.section {
  padding: 96px 0 0;
}

.intro {
  display: block;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-family: var(--font-main);
  color: #f0eeeb;
  font-size: 64px;
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.section-heading__subtext {
  color: #7f7f7f;
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.works {
  display: grid;
  grid-template-columns: repeat(2, 682px);
  width: 100%;
  max-width: 1404px;
  margin: 0 auto;
  column-gap: 40px;
  row-gap: 34px;
  align-items: start;
  justify-content: center;
}

.project-card {
  min-height: 0;
}

.works .project-card:nth-child(2n) {
  margin-top: 108px;
}

.project-card__link {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 682 / 384;
  padding: 0;
  text-align: left;
  cursor: pointer;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #0d0d0d;
}

.project-card__preview,
.project-card__media,
.project-card__shade,
.project-card__info {
  position: absolute;
  inset: 0;
}

.project-card__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 260ms ease, transform 420ms ease;
  transform: scale(1.01);
}

.project-card__media {
  background-position: center;
  background-size: cover;
  opacity: 1;
  transform: scale(1.01);
  transition: opacity 260ms ease, transform 420ms ease;
}

.project-card__shade {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.02) 10%, rgba(5, 5, 5, 0.12) 46%, rgba(5, 5, 5, 0.88) 100%);
  opacity: 0.18;
  transition: opacity 260ms ease;
}

.project-card__info {
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 34px 34px 30px;
  transform: translateY(28px);
  opacity: 0;
  transition:
    transform 260ms ease,
    opacity 260ms ease;
}

.project-card__type {
  margin: 0 0 14px;
  color: rgba(240, 238, 235, 0.9);
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.project-card__info h3 {
  margin: 0 0 10px;
  color: #f0eeeb;
  font-size: clamp(2rem, 2.8vw, 2.6rem);
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.project-card__info p:last-child {
  margin: 0;
  max-width: 31ch;
  color: rgba(240, 238, 235, 0.78);
  line-height: 1.72;
}

.project-card__link:hover .project-card__preview,
.project-card__link:focus-visible .project-card__preview,
.project-card__link.is-previewing .project-card__preview {
  transform: scale(1.06);
  opacity: 1;
}

.project-card__link:hover .project-card__media,
.project-card__link:focus-visible .project-card__media,
.project-card__link.is-previewing .project-card__media {
  transform: scale(1.03);
  opacity: 0;
}

.project-card__link:focus-visible {
  outline: 1px solid #7f7f7f;
  outline-offset: 4px;
}

.project-card__link:hover .project-card__shade,
.project-card__link:focus-visible .project-card__shade,
.project-card__link.is-previewing .project-card__shade {
  opacity: 1;
}

.project-card__link:hover .project-card__info,
.project-card__link:focus-visible .project-card__info,
.project-card__link.is-previewing .project-card__info {
  transform: translateY(0);
  opacity: 1;
}

.project-card__caption {
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-height: 132px;
}

.project-card__title {
  margin: 0;
  color: #f0eeeb;
  font-family: var(--font-main);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  line-height: 0.98;
}

.project-card__laurels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
  margin-top: 16px;
  min-height: 48px;
}

.project-card__laurels img {
  display: block;
  height: 38px;
  width: auto;
  padding: 0;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
  filter: grayscale(1) brightness(1.05);
  opacity: 0.88;
  transform: scale(1);
  transform-origin: center;
  transition:
    transform 180ms ease,
    opacity 180ms ease,
    filter 180ms ease,
    background 180ms ease,
    padding 180ms ease,
    box-shadow 180ms ease;
  cursor: zoom-in;
  position: relative;
  z-index: 1;
}

.project-card__laurels img:hover,
.project-card__laurels img:focus-visible {
  transform: scale(3.3);
  padding: 8px;
  background: rgba(24, 24, 24, 0.58);
  box-shadow: 0 0 26px rgba(32, 32, 32, 0.38), 0 22px 44px rgba(0, 0, 0, 0.38);
  opacity: 1;
  filter: grayscale(0) brightness(1);
  z-index: 12;
}

.contact__panel,
.service-list {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.about__layout {
  display: grid;
  grid-template-columns: minmax(280px, 420px) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  margin-top: 34px;
}

.dream {
  padding-top: 280px;
}

.about {
  padding-top: 280px;
}

.about__portrait img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.about__content {
  max-width: 760px;
}

.about__content p,
.service-list p,
.contact__panel p {
  margin: 0;
}

.about__content p + p {
  margin-top: 18px;
}

.dream__layout {
  display: grid;
  grid-template-columns: minmax(0, 520px) minmax(0, 1fr);
  gap: 72px;
  align-items: start;
  margin-top: 34px;
}

.dream__copy {
  max-width: 460px;
}

.dream__copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.dream__copy p + p {
  margin-top: 18px;
}

.dream__greeting {
  color: #f0eeeb;
  font-family: var(--font-main);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.dream-form {
  display: grid;
  gap: 18px;
}

.dream-form__field {
  display: grid;
  gap: 10px;
}

.dream-form__field span {
  color: #7f7f7f;
  font-family: var(--font-main);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.dream-form__field input,
.dream-form__field textarea {
  width: 100%;
  border: 1px solid #343434;
  border-radius: 0;
  background: transparent;
  color: #f0eeeb;
  font: inherit;
  padding: 16px 18px;
  outline: none;
}

.dream-form__field input::placeholder,
.dream-form__field textarea::placeholder {
  color: #666;
}

.dream-form__field input:focus,
.dream-form__field textarea:focus {
  border-color: #7f7f7f;
}

.dream-form__submit {
  justify-self: start;
  min-width: 180px;
  background: transparent;
  color: #f0eeeb;
  border-color: #343434;
  text-transform: uppercase;
}

.video-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.video-modal.is-open {
  display: block;
}

.video-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
}

.video-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 48px));
  margin: 50vh auto 0;
  transform: translateY(-50%);
}

.video-modal__close {
  position: absolute;
  top: -38px;
  right: 0;
  border: 0;
  background: transparent;
  color: #f0eeeb;
  font-family: var(--font-main);
  font-size: 28px;
  cursor: pointer;
}

.video-modal__frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal__frame iframe,
.video-modal__frame video {
  width: 100%;
  height: 100%;
  border: 0;
}


.service-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-list article {
  padding: 28px;
}

.service-list article:not(:last-child) {
  border-right: 1px solid var(--line);
}

.service-list span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.service-list h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.contact__panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 32px;
}

@media (max-width: 1024px) {
  .intro,
  .about__layout,
  .dream__layout,
  .service-list,
  .contact__panel {
    grid-template-columns: 1fr;
  }

  .about__layout {
    margin-top: 26px;
  }

  .dream__layout {
    margin-top: 26px;
  }

  .dream {
    padding-top: 160px;
  }

  .about {
    padding-top: 160px;
  }

  .works {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(1404px, calc(100vw - 40px));
    gap: 24px;
  }

  .works .project-card:nth-child(2n) {
    margin-top: 56px;
  }

  .service-list article:not(:last-child) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .site-shell {
    width: min(100vw - 24px, 100%);
    padding-top: 0;
  }

  .topbar {
    gap: 14px;
    justify-content: center;
    width: calc(100vw - 24px);
    padding: 18px 0 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding-top: 12px;
  }

  .brand__logo {
    max-width: min(72vw, 320px);
  }

  .topbar.is-open .menu {
    display: flex;
  }

  .topbar.is-open .menu-toggle span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .topbar.is-open .menu-toggle span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero,
  .hero__content {
    min-height: 100svh;
  }

  .hero__content {
    padding: 24px;
  }

  .hero h1 {
    font-size: clamp(40px, 10vw, 80px);
    line-height: 1;
  }

  .section-heading h2 {
    font-size: clamp(38px, 8vw, 64px);
  }

  .works {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
  }

  .works .project-card:nth-child(2n) {
    margin-top: 0;
  }

  .project-card__info {
    transform: translateY(0);
    opacity: 1;
  }

  .project-card__title {
    font-size: 22px;
  }

  .project-card__preview {
    opacity: 1;
  }

  .project-card__media {
    opacity: 0;
  }

  .contact__panel {
    align-items: flex-start;
  }

  .video-modal__dialog {
    width: calc(100vw - 24px);
  }
}
