:root {
  --ink: #17201e;
  --ink-soft: rgba(23, 32, 30, 0.58);
  --line: rgba(23, 32, 30, 0.18);
  --paper: #d8ddd4;
  --glass: rgba(239, 242, 235, 0.16);
  --font: "Helvetica Neue", "Inter", "Avenir Next", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #cad1ca;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

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

#atmosphere {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -3;
  background:
    radial-gradient(circle at 72% 26%, rgba(223, 201, 188, 0.5), transparent 32%),
    radial-gradient(circle at 16% 72%, rgba(176, 195, 186, 0.64), transparent 40%),
    linear-gradient(138deg, #dfe2d9 0%, #bdc7c1 48%, #d9d0c8 100%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: -2;
  pointer-events: none;
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  animation: grain-shift 0.28s steps(2) infinite;
}

.hero {
  width: 100%;
  min-height: 100svh;
  padding: 28px 34px 22px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
}

.topline,
.bottomline {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 10px;
  line-height: 1.55;
}

.topline {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.monogram {
  width: 17px;
  display: grid;
  grid-template-columns: repeat(2, 4px);
  gap: 4px;
}

.monogram i {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
}

.header-line {
  width: 42px;
  height: 1px;
  align-self: center;
  justify-self: center;
  background: var(--ink);
}

.edition {
  justify-self: end;
  letter-spacing: 0.16em;
}

.stage {
  position: relative;
  min-height: 650px;
  padding: clamp(70px, 10vh, 122px) 0 clamp(54px, 7vh, 90px);
  display: grid;
  grid-template-columns: minmax(40px, 0.55fr) 5fr 2.65fr;
  grid-template-rows: 1fr auto;
  column-gap: clamp(24px, 3.5vw, 68px);
  align-items: end;
}

.index-mark {
  grid-row: 1;
  align-self: start;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.index-mark i {
  display: block;
  width: 1px;
  height: clamp(78px, 13vh, 132px);
  background: var(--line);
}

.title-block {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: end;
  position: relative;
  z-index: 2;
}

h1 {
  margin: 0;
  font-size: clamp(78px, 11.2vw, 214px);
  line-height: 0.72;
  letter-spacing: -0.075em;
  font-weight: 200;
  white-space: nowrap;
}

h1 span {
  display: block;
}

h1 span:last-child {
  margin-left: 7.2vw;
}

.studio-copy {
  grid-column: 3;
  grid-row: 1;
  align-self: end;
  position: relative;
  z-index: 3;
  padding-bottom: clamp(35px, 7vh, 80px);
}

.tagline {
  margin: 0 0 24px;
  max-width: 440px;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.05;
  letter-spacing: -0.045em;
  font-weight: 300;
}

.summary {
  margin: 0;
  max-width: 390px;
  font-size: clamp(11px, 0.9vw, 14px);
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
}

.actions {
  grid-column: 3;
  grid-row: 2;
  position: relative;
  z-index: 4;
  align-self: end;
}

.action {
  min-height: 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  border-top: 1px solid var(--line);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 350ms ease, background 350ms ease, padding 350ms ease;
}

.action:last-child {
  border-bottom: 1px solid var(--line);
}

.action-primary {
  background: var(--ink);
  color: rgba(244, 246, 239, 0.95);
  border-color: var(--ink);
}

.action-secondary {
  background: var(--glass);
  backdrop-filter: blur(16px);
}

.action:hover,
.action:focus-visible {
  padding-left: 25px;
}

.action-primary:hover,
.action-primary:focus-visible {
  background: #25312e;
}

.action-secondary:hover,
.action-secondary:focus-visible {
  background: rgba(240, 243, 236, 0.36);
}

.arrow {
  font-size: 17px;
  font-weight: 200;
  transition: transform 350ms ease;
}

.action:hover .arrow,
.action:focus-visible .arrow {
  transform: translate(3px, -3px);
}

.orbit {
  position: absolute;
  width: clamp(240px, 29vw, 560px);
  aspect-ratio: 1;
  top: 9%;
  right: 13%;
  opacity: 0.36;
  pointer-events: none;
  animation: float 9s ease-in-out infinite;
}

.orbit-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(23, 32, 30, 0.2);
  border-radius: 50%;
  transform: rotateX(66deg) rotateZ(-18deg);
}

.orbit-ring::after {
  content: "";
  position: absolute;
  inset: 12%;
  border: 1px solid rgba(23, 32, 30, 0.12);
  border-radius: 50%;
}

.orbit-dot {
  position: absolute;
  top: 25%;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 0 0 7px rgba(23, 32, 30, 0.06);
}

.bottomline {
  padding-top: 15px;
  border-top: 1px solid var(--line);
  align-items: end;
}

.bottomline span:nth-child(2) {
  justify-self: center;
}

.bottomline span:last-child {
  justify-self: end;
}

.footer-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--ink);
  animation: pulse 2.4s ease-in-out infinite;
}

@keyframes grain-shift {
  0% { transform: translate3d(0, 0, 0); }
  25% { transform: translate3d(2%, -3%, 0); }
  50% { transform: translate3d(-3%, 2%, 0); }
  75% { transform: translate3d(3%, 4%, 0); }
  100% { transform: translate3d(-2%, -3%, 0); }
}

@keyframes float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-4deg); }
  50% { transform: translate3d(0, 18px, 0) rotate(3deg); }
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.75); }
  50% { opacity: 1; transform: scale(1); }
}

@media (max-width: 900px) {
  .hero { padding: 22px 20px 18px; }
  .stage {
    min-height: 700px;
    grid-template-columns: 32px 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 72px;
  }
  .title-block { grid-column: 2; grid-row: 1; align-self: start; }
  h1 { font-size: clamp(68px, 16vw, 132px); line-height: 0.78; }
  h1 span:last-child { margin-left: 0; }
  .studio-copy { grid-column: 2; grid-row: 2; padding: 58px 0 38px; }
  .actions { grid-column: 2; grid-row: 3; }
  .orbit { right: -7%; top: 23%; width: 54vw; }
}

@media (max-width: 580px) {
  .hero { padding: 18px 16px 16px; }
  .topline { grid-template-columns: 1fr 1fr; }
  .header-line { display: none; }
  .stage {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 90px 0 56px;
  }
  .index-mark { display: none; }
  .title-block, .studio-copy, .actions { grid-column: 1; }
  .title-block { grid-row: 1; }
  h1 { font-size: clamp(60px, 20vw, 100px); }
  .studio-copy { grid-row: 2; padding: 72px 0 52px; max-width: 330px; }
  .tagline { font-size: 25px; }
  .actions { grid-row: 3; }
  .orbit { width: 76vw; right: -32%; top: 26%; }
  .bottomline { grid-template-columns: 1fr 1fr; }
  .bottomline span:nth-child(2) { display: none; }
  .bottomline span:last-child { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
