:root {
  color-scheme: light;
  --paper: #ffffff;
  --ink: #111111;
  --coral: #e07a5f;
  --coral-bright: #ff6f52;
  --lime: #cbea3b;
  --soft: #f8f5f3;
}

* { box-sizing: border-box; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

::selection { color: var(--ink); background: var(--lime); }

.page {
  min-height: 100vh;
  min-height: 100svh;
  width: min(100% - 7rem, 80rem);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2.6rem;
}

.wordmark {
  font-family: "Paytone One", sans-serif;
  font-size: 1.65rem;
  line-height: 1.25;
  letter-spacing: -0.055em;
}

.wordmark-period { color: var(--coral-bright); }

.header-service {
  font-size: .875rem;
  letter-spacing: -.025em;
}

main {
  flex: 1;
  display: flex;
  align-items: center;
  padding-block: 5rem 5.5rem;
}

.intro {
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.status {
  display: inline-block;
  margin: 0 0 1.8rem;
  padding: .45rem .9rem;
  background: var(--soft);
  border-radius: .35rem;
  font-size: .875rem;
}

.heading-wrap {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

h1 {
  margin: 0;
  font-family: "Paytone One", sans-serif;
  font-size: clamp(3.25rem, 7.65vw, 6.6rem);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.045em;
}

.spark {
  position: absolute;
  top: -.7rem;
  right: -5rem;
  width: 4rem;
  height: 4rem;
  color: var(--lime);
  transform: rotate(12deg);
}

.underline {
  display: block;
  margin-top: .2rem;
  width: 98%;
  height: 1.5rem;
  color: var(--coral-bright);
}

.about {
  margin: 2.2rem 0 0;
  font-size: clamp(1.0625rem, 1.55vw, 1.25rem);
  line-height: 1.65;
  letter-spacing: -.025em;
}

.welcome {
  margin: 1.25rem 0 0;
  color: #555555;
  font-size: .9375rem;
  line-height: 1.8;
  letter-spacing: -.015em;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0 2rem;
  font-size: .8125rem;
  color: #555555;
}

.footer p { margin: 0; }

@media (min-width: 100rem) {
  .intro { margin-left: 12%; }
}

@media (max-width: 56rem) {
  .page { width: calc(100% - 4rem); }
  .spark { right: -3.5rem; width: 2.7rem; height: 2.7rem; }
}

@media (max-width: 40rem) {
  .page { width: calc(100% - 3rem); }
  .header { padding-top: 1.6rem; gap: 1rem; }
  .wordmark { font-size: 1.4rem; }
  .header-service { font-size: .8125rem; }
  main { padding-block: 5rem; }
  .intro { width: 100%; }
  .status { font-size: .8125rem; margin-bottom: 1.5rem; }
  h1 { font-size: clamp(2.5rem, 10vw, 4rem); letter-spacing: -.05em; }
  .spark { top: -1.7rem; right: -.25rem; width: 2.1rem; height: 2.1rem; }
  .underline { height: 1.1rem; }
  .about { margin-top: 1.8rem; }
  .welcome { font-size: .875rem; max-width: 31ch; }
  .desktop-break { display: none; }
  .footer { padding-bottom: 1.5rem; font-size: .75rem; }
}

@media (max-width: 22rem) {
  .page { width: calc(100% - 2rem); }
  .header-service { display: none; }
  h1 { font-size: 2.35rem; }
  .footer { flex-direction: column; gap: .25rem; }
}
