@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400&family=DM+Sans:wght@400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500;1,600&display=swap');

:root {
  --paper: #f4efe7;
  --ink: #22211f;
  --muted: #777269;
  --terracotta: #bd684d;
  --line: rgba(34, 33, 31, 0.18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  min-height: 100vh;
  overflow-x: hidden;
}

/* =========================================================
   SUBTLE GRAIN
   ========================================================= */

.grain {
  position: fixed;
  inset: -50%;
  z-index: 10;
  pointer-events: none;
  opacity: 0.055;
  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='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  transform: rotate(0.001deg);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header,
.site-footer {
  width: min(1380px, calc(100% - 72px));
  margin-inline: auto;
}

.site-header {
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.header-status,
.eyebrow,
.section-kicker,
.art-label,
.number,
.caption,
.label {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.header-status {
  color: var(--muted);
  font-size: 10px;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
  width: min(1380px, calc(100% - 72px));
  min-height: calc(100vh - 101px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 0.88fr;
  align-items: center;
  gap: clamp(40px, 7vw, 130px);
  padding: 80px 0 100px;
}

.hero-copy {
  max-width: 700px;
  animation: rise 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.eyebrow {
  font-size: 10px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 28px;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--terracotta);
  animation: pulse 2.8s ease-in-out infinite;
}

h1 {
  font-size: clamp(62px, 7.6vw, 122px);
  line-height: 0.91;
  letter-spacing: -0.065em;
  font-weight: 500;
  margin: 0;
  max-width: 850px;
}

h1 em,
h2 em {
  font-family: var(--serif);
  font-weight: 500;
}

.intro {
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.65;
  max-width: 490px;
  margin: 34px 0 38px;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding: 0 0 9px;
  font-size: 13px;
  font-weight: 600;
  transition: gap 0.35s ease;
}

.contact-link:hover {
  gap: 34px;
}

.arrow {
  font-size: 19px;
  line-height: 1;
}

/* =========================================================
   ARTWORK
   ========================================================= */

.artwork {
  position: relative;
  width: min(100%, 590px);
  aspect-ratio: 1 / 1.06;
  justify-self: end;
  overflow: hidden;
  background: #e7ddd0;
  animation: reveal 1.2s cubic-bezier(0.2, 0.7, 0.2, 1) 0.1s both;
}

.artwork::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(34, 33, 31, 0.22);
}

.art-label {
  position: absolute;
  top: 28px;
  left: 29px;
  font-size: 9px;
  z-index: 4;
}

.sun {
  position: absolute;
  width: 39%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--terracotta);
  left: 15%;
  top: 22%;
  animation: drift 8s ease-in-out infinite;
}

.orbit {
  position: absolute;
  border: 1px solid rgba(34, 33, 31, 0.5);
  border-radius: 50%;
  left: 5%;
  top: 11%;
  width: 85%;
  height: 56%;
  transform: rotate(-24deg);
}

.orbit-two {
  left: 19%;
  top: 31%;
  width: 74%;
  height: 31%;
  transform: rotate(29deg);
  border-color: rgba(34, 33, 31, 0.3);
}

.arc {
  position: absolute;
  width: 75%;
  height: 75%;
  border: 1px solid var(--ink);
  border-radius: 50%;
  right: -29%;
  bottom: -21%;
}

.paper {
  position: absolute;
  width: 43%;
  height: 39%;
  background: var(--paper);
  right: 11%;
  bottom: 13%;
  transform: rotate(-9deg);
  box-shadow: 0 20px 35px rgba(34, 33, 31, 0.08);
}

.paper-two {
  width: 28%;
  height: 33%;
  right: 25%;
  bottom: 17%;
  transform: rotate(12deg);
  background: #d9cdbd;
  mix-blend-mode: multiply;
}

.line {
  position: absolute;
  height: 1px;
  background: var(--ink);
  width: 54%;
  right: 0;
  top: 48%;
  transform: rotate(-34deg);
  transform-origin: right;
}

.line-two {
  top: 56%;
  width: 43%;
  opacity: 0.45;
  transform: rotate(28deg);
}

.number {
  position: absolute;
  right: 28px;
  top: 27px;
  font-size: 10px;
}

.caption {
  position: absolute;
  left: 29px;
  bottom: 27px;
  font-size: 11px;
  line-height: 1.4;
}

/* =========================================================
   CONTACT
   ========================================================= */

.contact {
  width: min(1380px, calc(100% - 72px));
  margin-inline: auto;
  border-top: 1px solid var(--line);
  padding: 105px 0 125px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}

.section-kicker {
  color: var(--muted);
  font-size: 10px;
  margin: 0 0 20px;
}

h2 {
  margin: 0;
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.contact-details {
  display: grid;
  align-content: center;
}

.contact-details a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding: 19px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 14px;
  transition: padding 0.3s ease;
}

.contact-details a:hover {
  padding-left: 10px;
  padding-right: 10px;
}

.contact-details .label {
  color: var(--muted);
  font-size: 9px;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0 28px;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 10px;
}

/* =========================================================
   ANIMATIONS
   ========================================================= */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    clip-path: inset(8% 8% 8% 8%);
    transform: translateY(24px) rotate(1deg);
  }

  to {
    opacity: 1;
    clip-path: inset(0);
    transform: translateY(0) rotate(0);
  }
}

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

  50% {
    transform: scale(0.65);
    opacity: 0.5;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(10px, -8px);
  }
}

/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {
  .site-header,
  .hero,
  .contact,
  .site-footer {
    width: min(100% - 40px, 1380px);
  }

  .site-header {
    min-height: 88px;
  }

  .brand-logo {
    width: 54px;
    height: 54px;
  }

  .brand-name {
    font-size: 13px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 65px 0 85px;
    gap: 65px;
  }

  .artwork {
    justify-self: stretch;
    width: 100%;
    max-width: 620px;
  }

  .contact {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 80px 0 90px;
  }
}

/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 520px) {
  .site-header,
  .hero,
  .contact,
  .site-footer {
    width: calc(100% - 32px);
  }

  .site-header {
    min-height: 78px;
  }

  .brand-logo {
    width: 50px;
    height: 50px;
  }

  .brand-name {
    font-size: 12px;
  }

  .brand {
    gap: 9px;
  }

  .header-status {
    display: none;
  }

  .hero {
    padding-top: 52px;
    gap: 50px;
  }

  h1 {
    font-size: clamp(55px, 16vw, 82px);
  }

  .intro {
    font-size: 15px;
    margin-top: 27px;
  }

  .artwork {
    aspect-ratio: 0.9 / 1;
  }

  .contact-details a {
    display: grid;
    grid-template-columns: 70px 1fr;
  }

  .site-footer {
    font-size: 9px;
  }
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

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