@font-face {
  font-family: "Source Sans 3";
  src: url("assets/SourceSans3-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "EB Garamond";
  src: url("assets/EBGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}
:root {
  color-scheme: light;
  --canvas: #fbfafc;
  --paper: #fff;
  --soft: #f2edf7;
  --accent: #715091;
  --ink: #382d42;
  --muted: #69646f;
  --line: #e5e3e8;
  --scene: #eee7f4;
  --scene-line: #d9cce4;
  --envelope-back: #d0bddd;
  --envelope-body: #bba1ce;
  --envelope-left: #cab4db;
  --envelope-right: #c3abd5;
  --envelope-front: #d2bedf;
  --seal: #715091;
  font-family: "Source Sans 3", Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--canvas);
  scrollbar-color: #bba5cd var(--canvas);
  -webkit-tap-highlight-color: #e4d5f1;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
::selection {
  color: var(--ink);
  background: #e4d5f1;
}
a,
button {
  touch-action: manipulation;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
button {
  font: inherit;
  cursor: pointer;
}
svg {
  flex: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 12px 20px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--accent);
  border-radius: 8px;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: translateY(0);
}
.page {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 1370px);
  min-height: 100svh;
  margin-inline: auto;
  padding-inline: 56px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 116px;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
}
.brand-mark {
  flex: none;
  border-radius: 8px;
}
.brand-name {
  font-family: "EB Garamond", Georgia, serif;
  font-size: 27px;
  line-height: 1;
  white-space: nowrap;
}
.brand-name > span {
  color: var(--accent);
}
.opening-status {
  color: var(--muted);
  font-size: 15px;
}
.hero {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  align-items: center;
  gap: clamp(36px, 5.2vw, 80px);
  padding-block: 64px 72px;
  scroll-margin-top: 20px;
}
.hero-copy,
.paper-composition {
  min-width: 0;
}
.social-section {
  margin-top: 28px;
}
.social-heading {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}
.social-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--accent);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}
.social-link:hover {
  background: var(--soft);
  border-color: var(--accent);
}
.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  stroke: none;
}
h1 {
  margin: 0;
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(62px, 6.4vw, 88px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
h1 span {
  display: block;
  color: var(--accent);
}
.introduction {
  margin: 30px 0 0;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.55;
  text-wrap: pretty;
}
.description {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.6;
  text-wrap: pretty;
}
.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 34px;
}
.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 23px;
  min-height: 50px;
  padding: 12px 21px;
  color: #fff;
  background: #715091;
  border-radius: 8px;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}
.contact-button:hover {
  background: #5e3c7e;
  transform: translateY(-1px);
}
.contact-button:active {
  transform: translateY(0);
}
.email-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  text-decoration: none;
  overflow-wrap: anywhere;
}
.email-link:hover {
  text-decoration: underline;
}
.paper-composition {
  aspect-ratio: 1 / 1.04;
  padding: 22px;
  border-radius: 16px;
  background: var(--scene);
}
.composition-frame {
  position: relative;
  width: 100%;
  height: 100%;
}
.frame-corner {
  position: absolute;
  width: 35px;
  height: 35px;
  border-color: var(--scene-line);
  border-style: solid;
}
.corner-top {
  top: 0;
  left: 0;
  border-width: 1px 0 0 1px;
}
.corner-bottom {
  right: 0;
  bottom: 0;
  border-width: 0 1px 1px 0;
}
.envelope-back {
  position: absolute;
  top: 24%;
  left: 12%;
  width: 76%;
  height: 61%;
  background: var(--envelope-back);
  clip-path: polygon(0 35%, 50% 0, 100% 35%, 100% 100%, 0 100%);
}
.message-card {
  position: absolute;
  top: 4%;
  left: 24%;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 55%;
  height: 65%;
  padding: 21px 13px;
  color: #382d42;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 8px 22px #382d4214;
  transform: rotate(-7deg);
  transform-origin: 50% 90%;
  animation: card-arrival 1100ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.card-rule {
  position: absolute;
  inset: 10px;
  border: 1px solid #e5dceb;
  pointer-events: none;
}
.message-card img {
  width: 28%;
  height: auto;
  margin-bottom: 15px;
}
.card-message {
  font-family: "EB Garamond", Georgia, serif;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.12;
  text-align: center;
}
.envelope-body,
.envelope-fold,
.envelope-front {
  position: absolute;
  top: 46%;
  left: 12%;
  width: 76%;
  height: 39%;
}
.envelope-body {
  background: var(--envelope-body);
  border-radius: 0 0 5px 5px;
}
.fold-left {
  background: var(--envelope-left);
  clip-path: polygon(0 0, 64% 66%, 0 100%);
}
.fold-right {
  background: var(--envelope-right);
  clip-path: polygon(100% 0, 36% 66%, 100% 100%);
}
.envelope-front {
  background: var(--envelope-front);
  clip-path: polygon(0 100%, 50% 32%, 100% 100%);
  border-radius: 0 0 5px 5px;
}
.envelope-seal {
  position: absolute;
  top: 63%;
  left: 45%;
  display: grid;
  place-items: center;
  width: 10%;
  aspect-ratio: 1;
  border-radius: 50%;
  color: #fff;
  background: var(--seal);
}
.envelope-seal svg {
  width: 53%;
  height: auto;
}
.composition-caption {
  position: absolute;
  bottom: 2%;
  left: 0;
  width: 100%;
  color: var(--accent);
  font-family: "EB Garamond", Georgia, serif;
  font-size: 21px;
  text-align: center;
}
.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 25px 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
@keyframes card-arrival {
  from {
    transform: translateY(16px) rotate(-3deg);
  }
  to {
    transform: translateY(0) rotate(-7deg);
  }
}
@media (min-width: 1600px) {
  .hero {
    padding-block: 88px;
  }
}
@media (max-width: 1100px) {
  .page {
    padding-inline: 32px;
  }
  .hero {
    gap: 34px;
  }
  h1 {
    font-size: clamp(58px, 7vw, 76px);
  }
  .introduction {
    font-size: 19px;
  }
  .desktop-break {
    display: none;
  }
}
@media (max-width: 760px) {
  .page {
    padding-inline: max(24px, env(safe-area-inset-left), env(safe-area-inset-right));
  }
  .site-header {
    min-height: 94px;
  }
  .brand {
    gap: 10px;
  }
  .brand-mark {
    width: 40px;
    height: 40px;
  }
  .brand-name {
    font-size: 24px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 38px;
    padding-block: 43px 40px;
  }
  h1 {
    font-size: clamp(56px, 11vw, 74px);
  }
  .introduction {
    margin-top: 23px;
    font-size: 19px;
  }
  .description {
    font-size: 16px;
  }
  .contact {
    margin-top: 25px;
    gap: 9px 20px;
  }
  .paper-composition {
    width: min(100%, 440px);
    justify-self: center;
    padding: 20px;
  }
  .message-card {
    padding-top: 17px;
  }
  .message-card img {
    margin-bottom: 11px;
  }
  .card-message {
    font-size: clamp(23px, 6.5vw, 32px);
  }
  .site-footer {
    padding-block: 21px 24px;
    font-size: 13px;
  }
}
@media (max-width: 360px) {
  .page {
    padding-inline: 20px;
  }
  .brand-name {
    font-size: 22px;
  }
  .brand-mark {
    width: 36px;
    height: 36px;
  }
  h1 {
    font-size: 54px;
  }
  .paper-composition {
    padding: 15px;
  }
  .message-card {
    padding-top: 14px;
  }
  .message-card img {
    margin-bottom: 8px;
  }
  .card-message {
    font-size: 21px;
  }
  .composition-caption {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}