@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("assets/fonts/cormorant-garamond-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

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

:root {
  color-scheme: light;
  --paper: #f4f0e9;
  --ink: #322d39;
  --lavender: #6e617f;
  --sage: #74836e;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "Jost", sans-serif;
}

* { box-sizing: border-box; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}

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

.parking {
  flex: 1;
  min-height: calc(100svh - 48px);
  width: min(100%, 1440px);
  margin: 0 auto;
  padding: clamp(32px, 7vw, 96px);
  display: grid;
  grid-template-columns: 1fr minmax(320px, 480px);
  align-items: center;
  gap: clamp(48px, 10vw, 160px);
}

footer {
  padding: 12px 24px 18px;
  color: var(--lavender);
  font-size: 11px;
  letter-spacing: .08em;
  text-align: center;
}

.message { padding-left: clamp(0px, 4vw, 56px); }

.signature {
  margin: 0 0 32px;
  color: var(--lavender);
  font-size: 14px;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.signature span {
  margin-left: 9px;
  color: var(--sage);
  font-size: 11px;
  letter-spacing: .2em;
}

h1 {
  margin: 0 0 40px;
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 92px);
  font-weight: 400;
  line-height: .94;
  letter-spacing: -.045em;
}

h1 em { color: var(--lavender); font-weight: 400; }

.linktree {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border: 1px solid var(--lavender);
  border-radius: 4px;
  background: var(--lavender);
  color: var(--paper);
  font-size: 14px;
  text-decoration: none;
  transition: background-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.linktree:hover {
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 5px 14px rgb(50 45 57 / 14%);
  transform: translateY(-1px);
}

.linktree:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

.artwork {
  width: 100%;
  aspect-ratio: 1;
  max-height: 78svh;
  margin: 0;
  padding: 14px;
  border: 1px solid rgb(110 97 127 / 24%);
  background: #fbf8f2;
  box-shadow: 12px 12px 0 rgb(116 131 110 / 12%);
}

.artwork img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 700px) {
  .parking {
    flex: 1;
    min-height: 0;
    padding: max(32px, 7svh) 26px 24px;
    grid-template-columns: 1fr;
    justify-items: center;
    align-content: start;
    gap: clamp(22px, 4svh, 32px);
  }

  .message { width: min(100%, 440px); padding: 0; }
  .signature { margin-bottom: 22px; font-size: 12px; }
  h1 { margin-bottom: 22px; font-size: clamp(50px, 13vw, 66px); }
  .linktree { display: flex; width: 100%; min-height: 52px; }
  .artwork { width: min(76%, 320px); max-height: 40svh; padding: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .linktree { transition: none; }
  .linktree:hover { transform: none; }
}
