@import url('https://fonts.googleapis.com/css2?family=Gochi+Hand&family=Nunito:wght@500;700;800;900&display=swap');

:root {
  --ink: #35251d;
  --paper: #c8c68e;
  --paper-light: #e1dfa9;
  --moss: #687248;
  --rust: #a96632;
  --cream: #fff7d6;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: Nunito, Arial, sans-serif;
  overflow-x: hidden;
}
button, a { font: inherit; }
a { color: inherit; }

.page {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  border-bottom: 2px solid rgba(53, 37, 29, .2);
}
.brand { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-family: 'Gochi Hand', cursive; font-size: 30px; font-weight: 800; }
.brand img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; border: 2px solid var(--ink); }
.nav-links { display: flex; gap: 22px; font-size: 14px; font-weight: 900; }
.nav-links a { text-decoration: none; }
.nav-links a:hover, .links a:hover { color: var(--rust); }
.nav-links span, .button span, .links b { font-size: 16px; }

.hero { min-height: 575px; display: grid; grid-template-columns: 1fr .92fr; align-items: center; position: relative; padding: 42px 5% 55px; }
.eyebrow { margin: 0 0 6px; color: var(--moss); letter-spacing: .15em; font-size: 12px; font-weight: 900; text-transform: uppercase; }
h1 { margin: 0; font-family: 'Gochi Hand', cursive; font-size: clamp(92px, 15vw, 178px); line-height: .78; letter-spacing: -.07em; transform: rotate(-2deg); }
.dot { color: var(--rust); }
.intro { max-width: 315px; margin: 27px 0; font-size: 21px; font-weight: 800; line-height: 1.22; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { padding: 13px 17px; border: 2px solid var(--ink); border-radius: 6px 11px 7px 10px; text-decoration: none; font-weight: 900; box-shadow: 3px 4px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease; }
.button:hover { transform: translate(2px, 2px); box-shadow: 1px 2px 0 var(--ink); }
.button-dark { background: var(--ink); color: var(--cream); }
.button-light { background: var(--paper-light); }
.portrait-wrap { width: min(390px, 100%); justify-self: end; position: relative; isolation: isolate; }
.portrait { display: block; width: 100%; height: auto; border: 3px solid var(--ink); border-radius: 44% 50% 45% 52%; position: relative; z-index: 1; box-shadow: 10px 12px 0 rgba(53,37,29,.18); }
.portrait-ring { position: absolute; inset: -18px 15px 13px -15px; border: 3px dashed var(--moss); border-radius: 52% 44% 55% 42%; transform: rotate(-10deg); }
.doodle { position: absolute; z-index: 2; font-family: 'Gochi Hand', cursive; color: var(--rust); font-size: 45px; }
.doodle-left { left: -35px; top: 26%; }.doodle-right { right: -31px; bottom: 12%; color: var(--cream); text-shadow: 1px 1px var(--ink); }
.spark { position: absolute; font-family: 'Gochi Hand', cursive; color: var(--rust); font-size: 46px; }.spark-one { left: 43%; top: 12%; }.spark-two { left: 8%; bottom: 6%; color: var(--moss); }

.details { display: grid; grid-template-columns: .75fr 1.25fr; align-items: stretch; gap: 25px; padding: 24px 0 48px; border-top: 2px solid var(--ink); }
.note { display: flex; align-items: center; gap: 12px; padding: 15px 21px; background: var(--rust); color: var(--cream); border: 2px solid var(--ink); border-radius: 9px 6px 12px 5px; transform: rotate(-1deg); box-shadow: 4px 5px 0 var(--ink); }
.note-star { font-size: 34px; }.note p { margin: 0; font-family: 'Gochi Hand', cursive; font-size: 23px; line-height: .9; }
.contract-card { padding: 17px 20px; border: 2px solid var(--ink); background: var(--paper-light); border-radius: 5px 13px 7px 10px; box-shadow: 4px 5px 0 var(--ink); }
.contract-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.status { padding: 4px 7px; color: var(--paper-light); background: var(--moss); border-radius: 5px; letter-spacing: .06em; }
.contract-row { display: flex; justify-content: space-between; gap: 20px; align-items: center; margin-top: 14px; }.contract-row code { font-size: 22px; font-weight: 900; }
.copy-button { padding: 7px 12px; cursor: pointer; color: var(--ink); background: var(--cream); border: 2px solid var(--ink); border-radius: 5px 8px 5px 7px; font-weight: 900; }
.copy-button:hover { background: var(--moss); color: white; }

.links { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); }
.links a { display: flex; align-items: center; justify-content: space-between; min-height: 110px; padding: 15px 24px; font-family: 'Gochi Hand', cursive; font-size: 31px; text-decoration: none; border-right: 2px solid var(--ink); transition: background .15s ease; }.links a:last-child { border-right: 0; }.links a:hover { background: var(--paper-light); }.links span { align-self: flex-start; font-family: Nunito, Arial, sans-serif; font-size: 11px; font-weight: 900; }.links b { align-self: flex-end; }
footer { display: flex; justify-content: space-between; padding: 25px 0 32px; font-size: 12px; font-weight: 900; }.footer-whisper { font-family: 'Gochi Hand', cursive; font-size: 17px; margin: -2px 0 0; color: var(--moss); }

@media (max-width: 720px) {
  .page { width: min(100% - 28px, 560px); }.nav { padding: 16px 0; }.nav-links { gap: 12px; font-size: 12px; }.brand { font-size: 25px; }.brand img { width: 32px; height: 32px; }
  .hero { min-height: 0; grid-template-columns: 1fr; padding: 56px 2% 55px; }.hero-copy { position: relative; z-index: 2; }.intro { font-size: 20px; }.portrait-wrap { width: min(330px, 84vw); margin: 48px auto 0; justify-self: center; }.spark-one { left: auto; right: 3%; top: 38%; }.spark-two { left: 5%; bottom: 1%; }
  .details { grid-template-columns: 1fr; gap: 24px; padding-bottom: 36px; }.note { min-height: 98px; }.links { grid-template-columns: 1fr; }.links a { min-height: 75px; border-right: 0; border-bottom: 2px solid var(--ink); }.links a:last-child { border-bottom: 0; } footer { padding: 20px 0 28px; }.footer-whisper { font-size: 15px; }
}
