@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  color-scheme: dark;
  --black: #050607;
  --graphite: #0b0d0f;
  --white: #f4f1eb;
  --muted: #a9a69f;
  --gold: #d8b266;
  --blue: #79d2f7;
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--black);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-width: 320px; min-height: 100%; }
body { overflow-x: hidden; color: var(--white); background: var(--black); }
a { color: inherit; }

.scene {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: linear-gradient(115deg, #050607 0%, #080a0c 40%, #090806 100%);
}

.artwork {
  position: absolute;
  z-index: -1;
  inset: 0 0 0 38%;
  margin: 0;
  overflow: hidden;
}
.artwork::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, #060708 0%, rgba(6,7,8,.96) 5%, rgba(6,7,8,.68) 20%, rgba(6,7,8,.12) 39%, transparent 54%),
    linear-gradient(0deg, #050607 0%, transparent 15%),
    linear-gradient(180deg, rgba(5,6,7,.22), transparent 18%);
}
.artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 49% 50%;
}

.content {
  width: min(1440px, calc(100% - 72px));
  min-height: 100svh;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(430px, 43%) 1fr;
  grid-template-rows: 108px 1fr auto auto 38px;
  column-gap: 5vw;
  position: relative;
}

.masthead {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(229, 207, 163, .12);
}
.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; font: 700 20px/1 "Manrope", sans-serif; letter-spacing: -.035em; }
.brand-mark { height: 23px; display: inline-flex; align-items: end; gap: 3px; }
.brand-mark i { display: block; width: 4px; border-radius: 99px; background: linear-gradient(to top, #8d6b32, #f0cf86); transform: rotate(10deg); box-shadow: 0 0 11px rgba(216,178,102,.18); }
.brand-mark i:nth-child(1) { height: 13px; }.brand-mark i:nth-child(2) { height: 22px; }.brand-mark i:nth-child(3) { height: 17px; }
.status { display: inline-flex; align-items: center; gap: 10px; color: #d8eaf0; font: 700 12px/1 "Manrope", sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.status i { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 14px rgba(121,210,247,.8); animation: pulse 3.2s ease-in-out infinite; }

.copy-plane {
  grid-column: 1;
  align-self: center;
  position: relative;
  padding: clamp(32px, 4vw, 58px) clamp(28px, 3.4vw, 50px);
  border: 1px solid rgba(246,226,186,.16);
  border-radius: 2px 26px 26px 2px;
  background: linear-gradient(122deg, rgba(18,19,19,.59), rgba(22,19,14,.31));
  box-shadow: inset 0 1px 0 rgba(255,245,223,.11), 26px 28px 70px rgba(0,0,0,.24);
  backdrop-filter: blur(15px) saturate(115%);
}
.copy-plane::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 1px;
  background: linear-gradient(transparent 8%, rgba(121,210,247,.55) 32%, rgba(216,178,102,.5) 68%, transparent 92%);
}
.eyebrow { margin: 0 0 22px; color: #d8bd87; font: 700 12px/1.2 "Manrope", sans-serif; letter-spacing: .2em; text-transform: uppercase; }
h1 { margin: 0; font: 700 clamp(45px, 4.25vw, 67px)/1.02 "Manrope", sans-serif; letter-spacing: -.06em; }
h1 span { display: block; white-space: nowrap; }
h1 span:last-child { color: #f0d5a0; }
.lede { max-width: 570px; margin: 28px 0 0; color: #c2beb6; font-size: clamp(16px, 1.25vw, 18px); line-height: 1.65; }

.agency { grid-column: 1; align-self: end; display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 28px 4px 17px; border-bottom: 1px solid rgba(216,178,102,.2); }
.agency > span { color: #8d8a84; font: 600 11px/1.35 "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.agency a { min-height: 44px; display: inline-flex; align-items: center; gap: 9px; color: #dfc281; font: 700 14px/1 "Manrope", sans-serif; letter-spacing: .12em; text-decoration: none; text-transform: uppercase; transition: color .25s, text-shadow .25s; }
.agency a b { color: var(--blue); font-size: 15px; font-weight: 500; }
.agency a:hover, .agency a:focus-visible { color: #f6ddb0; text-shadow: 0 0 18px rgba(216,178,102,.26); outline: none; }
.agency a:focus-visible { box-shadow: 0 2px 0 var(--blue); }

.keywords { grid-column: 1; margin: 16px 4px 0; color: #706e69; font: 600 10px/1 "Manrope", sans-serif; letter-spacing: .14em; text-transform: uppercase; }
.keywords i { padding: 0 7px; color: #8f7442; font-style: normal; }
footer { grid-column: 1; align-self: end; color: #65635f; font-size: 12px; }

@keyframes pulse { 50% { opacity: .42; transform: scale(.84); } }

@media (max-width: 900px) {
  .content { grid-template-columns: minmax(400px, 52%) 1fr; }
  .artwork { left: 42%; }
  .copy-plane { padding-inline: 30px; }
  h1 { font-size: clamp(42px, 5.7vw, 55px); }
}

@media (max-width: 700px) {
  .scene { min-height: 100svh; overflow: visible; background: linear-gradient(180deg, #050607, #080807 76%, #050607); }
  .artwork { position: relative; z-index: 0; inset: auto; width: 100%; aspect-ratio: 1.12 / 1; margin: 0; grid-area: art; }
  .artwork::before { background: linear-gradient(180deg, #050607 0%, transparent 15%, transparent 78%, #070706 100%), linear-gradient(90deg, rgba(5,6,7,.16), transparent 35%); }
  .artwork img { object-position: 42% 45%; }
  .content { display: contents; }
  .scene { display: grid; grid-template-areas: "head" "copy" "art" "agency" "keywords" "footer"; grid-template-columns: 100%; }
  .masthead { grid-area: head; width: calc(100% - 32px); min-height: 76px; margin: 0 16px; }
  .brand { font-size: 18px; }
  .status { gap: 8px; font-size: 10px; letter-spacing: .11em; }
  .copy-plane { grid-area: copy; width: calc(100% - 32px); margin: 0 16px; padding: 44px 0 35px; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; }
  .copy-plane::after { display: none; }
  .eyebrow { margin-bottom: 18px; font-size: 11px; letter-spacing: .16em; }
  h1 { font-size: clamp(38px, 11.7vw, 49px); line-height: 1.01; }
  h1 span { white-space: normal; }
  .lede { margin-top: 23px; font-size: 16px; line-height: 1.58; }
  .agency { grid-area: agency; width: calc(100% - 32px); margin: 0 16px; padding: 26px 0 19px; align-items: start; flex-direction: column; gap: 8px; }
  .agency a { min-height: 48px; font-size: 15px; }
  .keywords { grid-area: keywords; width: calc(100% - 32px); margin: 23px 16px 0; line-height: 1.7; }
  footer { grid-area: footer; width: calc(100% - 32px); margin: 34px 16px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

.error-page { min-height: 100vh; display: grid; place-items: center; padding: 24px; text-align: center; background: var(--black); }
.error-page main { max-width: 640px; }
.error-page h1 { font-size: clamp(38px, 7vw, 70px); }
.back-link { display: inline-flex; margin-top: 30px; padding: 13px 18px; border-bottom: 1px solid var(--gold); color: #e4c98f; text-decoration: none; }
