:root {
  --ink: #19221f;
  --ink-soft: #45514d;
  --paper: #fff9f0;
  --orange: #ff5c3f;
  --orange-deep: #dd402a;
  --butter: #ffdc66;
  --line: rgba(25, 34, 31, 0.22);
  --display: "Newsreader", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
}

body::selection {
  color: var(--paper);
  background: var(--orange);
}

.page-shell {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.paper-grain {
  position: absolute;
  z-index: -2;
  inset: 0;
  opacity: 0.35;
  background-image: radial-gradient(rgba(25, 34, 31, 0.14) 0.45px, transparent 0.7px);
  background-size: 5px 5px;
  pointer-events: none;
}

.halo {
  position: absolute;
  z-index: -1;
  width: clamp(18rem, 37vw, 35rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  pointer-events: none;
}

.halo-one {
  top: -13rem;
  right: -10rem;
  animation: breathe 7s ease-in-out infinite;
}

.halo-two {
  width: clamp(4rem, 8vw, 8rem);
  right: 12%;
  bottom: 4rem;
  background: var(--butter);
  opacity: 0.85;
}

.site-header,
.hero,
.concept,
.site-footer {
  width: min(1400px, calc(100% - 4rem));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding-top: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.05;
  text-decoration: none;
}

.brand img {
  width: 1.75rem;
  height: 1.75rem;
}

.status,
.eyebrow,
.side-note,
.concept-index,
.card-topline,
.card-footer,
.site-footer {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 0;
  color: var(--ink-soft);
}

.status span {
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 92, 63, 0.16);
}

.hero {
  position: relative;
  display: flex;
  min-height: 39rem;
  padding: clamp(5rem, 11vw, 9rem) 7% 4rem 0;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(41rem, 65%);
  align-self: flex-end;
}

.eyebrow {
  margin: 0 0 1.2rem;
  color: var(--orange-deep);
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 8ch;
  margin-bottom: 1.1rem;
  font-family: var(--display);
  font-size: clamp(5rem, 11.8vw, 11.5rem);
  font-weight: 500;
  letter-spacing: -0.08em;
  line-height: 0.76;
}

h1 em {
  position: relative;
  display: inline-block;
  color: var(--orange);
  font-weight: inherit;
}

h1 em::after {
  position: absolute;
  right: -0.36em;
  bottom: -0.1em;
  width: 0.18em;
  height: 0.18em;
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.hero-intro {
  max-width: 28rem;
  margin-bottom: 1.55rem;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.18rem);
  line-height: 1.55;
}

.hero-intro strong {
  color: var(--ink);
}

.signal {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.65rem 0.85rem 0.62rem;
  border: 1px solid var(--line);
  border-radius: 99px;
  background: rgba(255, 249, 240, 0.68);
  color: var(--ink-soft);
  font-size: 0.75rem;
}

.signal-star {
  color: var(--orange);
  font-size: 1rem;
  line-height: 1;
}

.moment-card {
  position: absolute;
  top: clamp(5rem, 11vw, 8.5rem);
  right: max(2%, 2rem);
  display: flex;
  flex-direction: column;
  width: clamp(16rem, 24vw, 22rem);
  min-height: clamp(19rem, 28vw, 26rem);
  padding: 1.1rem;
  border: 1px solid var(--ink);
  border-radius: 0.3rem;
  background: var(--butter);
  box-shadow: 0.65rem 0.65rem 0 var(--ink);
  transform: rotate(7deg);
  animation: drift 6s ease-in-out infinite;
}

.moment-card::before,
.moment-card::after {
  position: absolute;
  left: -0.42rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--paper);
  content: "";
}

.moment-card::before {
  top: 4rem;
}

.moment-card::after {
  bottom: 4rem;
}

.card-topline,
.card-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.55rem;
  line-height: 1.2;
}

.card-rule {
  margin-top: 0.85rem;
  border-top: 1px dashed var(--ink);
}

.card-label {
  margin: auto 0 1.45rem;
  font-family: var(--display);
  font-size: clamp(2rem, 3.2vw, 3.3rem);
  letter-spacing: -0.06em;
  line-height: 0.85;
}

.card-label i {
  color: var(--orange-deep);
}

.card-seal {
  display: grid;
  width: 3.5rem;
  aspect-ratio: 1;
  margin: 0 0 1rem auto;
  border: 1px solid var(--ink);
  border-radius: 50%;
  place-items: center;
  color: var(--orange-deep);
  font-size: 1.8rem;
}

.side-note {
  position: absolute;
  top: 45%;
  right: 0;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.4;
  text-align: right;
}

.side-note span {
  color: var(--orange);
  font-size: 1.4rem;
}

.concept {
  position: relative;
  display: grid;
  grid-template-columns: 0.6fr 2fr 1fr;
  gap: clamp(1.5rem, 5vw, 6rem);
  align-items: start;
  padding: clamp(4rem, 8vw, 7rem) 0;
  border-top: 1px solid var(--line);
}

.concept-index {
  padding-top: 0.4rem;
  color: var(--ink-soft);
}

.concept-copy h2 {
  max-width: 14ch;
  margin-bottom: 1.3rem;
  font-family: var(--display);
  font-size: clamp(2.8rem, 5vw, 5.4rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.9;
}

.concept-copy > p:last-child {
  max-width: 31rem;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.65;
}

.feeling-list {
  display: grid;
  gap: 0.8rem;
  padding: 0;
  margin: 2.6rem 0 0;
  list-style: none;
  font-family: var(--display);
  font-size: 1.25rem;
}

.feeling-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid var(--line);
}

.feeling-list span {
  color: var(--orange-deep);
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.3rem 0 1.7rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.59rem;
}

.site-footer p {
  margin: 0;
}

@keyframes breathe {
  50% { transform: scale(1.035); }
}

@keyframes drift {
  50% { transform: rotate(5deg) translateY(-0.4rem); }
}

@media (max-width: 780px) {
  .site-header,
  .hero,
  .concept,
  .site-footer {
    width: min(100% - 2.4rem, 40rem);
  }

  .site-header {
    padding-top: 1.25rem;
  }

  .status {
    font-size: 0.54rem;
  }

  .hero {
    display: block;
    min-height: 47rem;
    padding: 7.5rem 0 2rem;
  }

  .hero-copy {
    width: min(100%, 29rem);
  }

  h1 {
    font-size: clamp(5.1rem, 24vw, 8.5rem);
  }

  .hero-intro {
    max-width: 21rem;
  }

  .moment-card {
    top: auto;
    right: 1.6rem;
    bottom: 1.75rem;
    width: min(13.5rem, 50vw);
    min-height: 16.5rem;
    box-shadow: 0.45rem 0.45rem 0 var(--ink);
  }

  .card-label {
    font-size: 2rem;
  }

  .side-note {
    top: 29rem;
    right: auto;
    left: 0;
    text-align: left;
  }

  .halo-one {
    top: -4rem;
    right: -8rem;
  }

  .halo-two {
    right: auto;
    bottom: 19rem;
    left: -1.5rem;
  }

  .concept {
    display: block;
    padding-top: 4.2rem;
  }

  .concept-index {
    margin-bottom: 2.5rem;
  }

  .concept-copy h2 {
    max-width: 12ch;
  }

  .feeling-list {
    width: min(100%, 22rem);
    margin-top: 3rem;
  }

  .site-footer {
    display: block;
    line-height: 1.6;
  }

  .site-footer p + p {
    margin-top: 0.55rem;
  }
}

@media (max-width: 390px) {
  .brand {
    font-size: 0.6rem;
  }

  .status {
    display: none;
  }

  .hero {
    min-height: 43rem;
  }

  .moment-card {
    bottom: 1rem;
  }
}

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

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 4px;
}
