@font-face {
  font-family: Aller;
  src: url("assets/Aller-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Aller;
  src: url("assets/Aller-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-family: Aller, "Avenir Next", sans-serif;
  color: #022850;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }

.site-frame {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: radial-gradient(ellipse at 0 52%, #faf9f6 0, transparent 48%);
}

.site-frame::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 26px 26px 30px;
  border: 1px solid #f1900670;
  pointer-events: none;
}

.page {
  position: relative;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  grid-template-areas: "brand art" "message art" "credit art";
  grid-template-rows: auto 1fr auto;
  align-items: center;
  max-width: 1600px;
  min-height: 100vh;
  min-height: 100svh;
  margin-inline: auto;
  padding: clamp(58px, 5.3vw, 86px) clamp(58px, 7.2vw, 116px) 126px;
}

.brand { grid-area: brand; position: relative; z-index: 2; }
.brand img { width: min(100%, 548px); }

.message {
  grid-area: message;
  position: relative;
  z-index: 2;
  padding-top: clamp(32px, 4.3vw, 68px);
  padding-bottom: 48px;
}

h1 {
  margin: 0;
  font-size: clamp(48px, 5.8vw, 93px);
  line-height: 1.03;
  font-weight: 700;
  letter-spacing: -.035em;
  text-transform: uppercase;
}

h1 span { display: block; }

.flourish {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 88%;
  margin: 20px 0 23px;
  color: #f19006;
}

.flourish::before, .flourish::after {
  content: "";
  height: 2px;
  flex: 1;
  background: #f19006;
  border-radius: 50%;
}

.flourish span { font-size: 28px; line-height: 1; }
.message p { margin: 0; font-size: clamp(21px, 2vw, 30px); line-height: 1.4; }

.illustration {
  grid-area: art;
  position: relative;
  z-index: 1;
  align-self: center;
  width: 128%;
  max-width: 870px;
  margin: 0 0 0 -15%;
  mix-blend-mode: multiply;
}

.illustration img { width: 100%; }
.credit { grid-area: credit; display: flex; align-items: center; gap: 20px; z-index: 2; }
.credit-rule { width: 1px; height: 49px; background: #f19006; flex: none; }
.credit p { margin: 0; font-size: 20px; line-height: 1.5; }
.credit strong { font-weight: 700; }
.credit .credit-detail { color: #008896; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }

.leaf { position: absolute; z-index: -1; opacity: .045; pointer-events: none; }
.leaf-left { width: 280px; top: 34%; left: -110px; transform: rotate(-28deg); }
.leaf-right { width: 280px; top: 24%; right: -90px; transform: rotate(28deg); }
.page-bottom { position: absolute; z-index: 3; bottom: 0; width: 100%; height: 130px; pointer-events: none; }
.wave { width: 100%; height: 100%; display: block; }
.footer-symbol { position: absolute; right: 5.5%; bottom: 14px; width: 64px; transform: rotate(-15deg); }

@media (min-width: 1100px) and (min-height: 1000px) {
  .page { min-height: 100svh; padding-block: 12vh 18vh; }
}

@media (max-width: 1050px) {
  .page { padding-inline: 58px; }
  h1 { font-size: clamp(46px, 5.7vw, 60px); }
  .message p { font-size: 21px; }
  .credit p { font-size: 17px; }
  .credit .credit-detail { font-size: 10px; }
}

@media (max-width: 760px) {
  .site-frame::before { inset: 14px 14px 26px; }
  .page {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "brand" "message" "art" "credit";
    grid-template-rows: auto;
    min-height: 100svh;
    padding: 44px clamp(30px, 7vw, 54px) 110px;
  }
  .brand img { width: min(100%, 410px); margin-inline: auto; }
  .message { padding: 42px 0 0; text-align: center; }
  h1 { font-size: clamp(35px, 8.3vw, 63px); line-height: 1.06; }
  .flourish { width: 92%; max-width: 400px; margin: 17px auto 16px; }
  .flourish span { font-size: 23px; }
  .message p { font-size: clamp(18px, 4.4vw, 23px); }
  .illustration { width: 112%; max-width: 580px; margin: -3px -6% -8px; justify-self: center; }
  .credit { justify-content: center; gap: 14px; margin-top: 12px; }
  .credit p { font-size: 16px; }
  .credit .credit-detail { font-size: 9px; letter-spacing: .13em; }
  .credit-rule { height: 40px; }
  .page-bottom { height: 84px; }
  .footer-symbol { width: 42px; right: 8%; bottom: 8px; }
  .leaf-left { top: 24%; width: 210px; }
  .leaf-right { top: 58%; width: 220px; }
}

@media (max-width: 360px) {
  .page { padding-inline: 27px; }
  h1 { font-size: 8.1vw; }
  .message p { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
