@font-face {
  font-family: 'Bodoni Moda';
  src: url('./fonts/bodoni-moda-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: 'DM Sans';
  src: url('./fonts/dm-sans-latin.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
}
:root {
  --ground: #f3ebb5;
  --ink: #642d44;
  --thread: #a63f64;
}
* { box-sizing: border-box; }
html { background: var(--ground); }
body { margin: 0; color: var(--ink); font-family: 'DM Sans', sans-serif; -webkit-font-smoothing: antialiased; }
::selection { background: var(--ink); color: var(--ground); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 6px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 7px; }
a { transition: color 200ms ease, text-decoration-color 200ms ease; }
a:hover { color: #963750; }
a:active { color: #a63f64; }
.page { min-height: 100svh; display: flex; flex-direction: column; padding: 34px 5.55vw 30px; max-width: 1920px; margin: 0 auto; }
header { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 2; }
.home { display: block; width: 40px; height: 44px; }
.home svg { width: 40px; height: 40px; stroke: currentColor; stroke-width: 1.5; }
.hello { min-height: 44px; display: flex; align-items: center; gap: 14px; font-size: 15px; text-decoration-color: transparent; }
.hello:hover { text-decoration-color: currentColor; }
.hello-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
main { position: relative; flex: 1; min-height: 680px; display: grid; grid-template-columns: 40% 60%; align-items: center; }
.introduction { position: relative; z-index: 1; padding-bottom: 68px; }
h1 { font-family: 'Bodoni Moda', serif; font-size: clamp(110px, 13.6vw, 210px); font-weight: 500; letter-spacing: -.065em; line-height: 1.1; margin: 0 0 28px -8px; }
.promise { font-size: clamp(24px, 2.15vw, 32px); font-weight: 400; line-height: 1.4; letter-spacing: -.035em; margin: 0; }
.artwork { position: relative; margin: 0 -2.5vw 0 -4vw; align-self: stretch; display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.art-touch { display: block; position: relative; width: 100%; aspect-ratio: 1.25; padding: 0; border: 0; background: transparent; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent; border-radius: 45%; }
.art-touch:focus-visible { outline-offset: -18px; }
.art-touch canvas, .art-fallback { display: block; width: 100%; height: 100%; position: absolute; inset: 0; }
.art-touch canvas { opacity: 0; }
.art-touch.is-drawn canvas { opacity: 1; }
.art-touch.is-drawn .art-fallback { visibility: hidden; }
figcaption { position: absolute; bottom: 26px; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 12px; }
.thread-mark { width: 26px; height: 9px; border-top: 1px solid currentColor; border-radius: 50%; transform: rotate(-12deg); }
footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 13px; min-height: 40px; }
footer p { margin: 0; }
footer a { display: inline-flex; align-items: center; min-height: 44px; text-decoration-color: transparent; padding: 12px 0; }
footer a:hover { text-decoration-color: currentColor; }
@media (min-width: 1600px) {
  main { min-height: 780px; }
}
@media (max-width: 700px) {
  .page { padding: 20px 25px 22px; min-height: 100svh; }
  header { min-height: 44px; }
  .home, .home svg { width: 34px; }
  .hello { font-size: 14px; gap: 11px; }
  main { display: flex; flex-direction: column; align-items: stretch; min-height: 0; }
  .introduction { padding: 49px 0 0; }
  h1 { font-size: clamp(92px, 28vw, 170px); margin: 0 0 14px -4px; }
  .promise { font-size: 22px; line-height: 1.35; letter-spacing: -.025em; }
  .artwork { margin: 0 -20px; flex: 1; min-height: 350px; }
  .art-touch { aspect-ratio: 1.1; max-width: 510px; margin: 0 auto; }
  figcaption { position: static; font-size: 12px; padding-bottom: 22px; margin-top: -5px; }
  footer { font-size: 12px; gap: 10px; align-items: center; }
  footer a { padding: 10px 0; }
}
@media (max-width: 350px) {
  .page { padding-left: 20px; padding-right: 20px; }
  footer { align-items: flex-start; flex-direction: column; gap: 3px; }
}
