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

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

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

:root {
  --paper: #f1efe8;
  --ink: #171711;
  --orange: #f2542d;
  --muted: #5d5c54;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

* { box-sizing: border-box; }
body, h1, p, figure { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2757ba; outline-offset: 6px; }
::selection { background: var(--ink); color: var(--paper); }

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  width: min(100%, 1440px);
  margin-inline: auto;
  padding-inline: 22px;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  min-height: 78px;
  padding-block: 18px;
  border-bottom: 1.5px solid var(--ink);
}

.identity { display: flex; align-items: center; gap: 10px; font-size: .875rem; font-weight: 700; letter-spacing: -.035em; }
.monogram { display: grid; place-items: center; width: 32px; height: 36px; color: var(--paper); background: var(--ink); font: 700 31px/1 "Oswald", sans-serif; transform: rotate(-3deg); }
.domain { font-size: .6875rem; letter-spacing: -.02em; }

.hero { display: grid; grid-template-columns: minmax(0, 1fr); flex: 1; gap: 38px; padding-block: 36px 30px; }
.copy { min-width: 0; }
.status { display: flex; align-items: center; gap: 9px; margin-bottom: 23px; font-size: .5625rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.status > span { width: 7px; height: 7px; flex: 0 0 7px; background: var(--orange); }
h1 { font: 700 clamp(3.25rem, 13vw, 5.5rem)/1.12 "Oswald", sans-serif; letter-spacing: -.04em; }
.highlight { display: table; margin: 9px 0 0 -5px; padding: 0 10px 9px; background: var(--orange); color: var(--ink); transform: rotate(-1.5deg); }
.intro { margin-top: 25px; max-width: 29em; color: var(--muted); font-size: .875rem; line-height: 1.8; }
.desktop-break { display: none; }
.contact { margin-top: 27px; }
.contact > p { font-size: .6875rem; line-height: 1.8; margin-bottom: 12px; }
.button { display: flex; justify-content: space-between; align-items: center; gap: 20px; width: 100%; max-width: 330px; min-height: 58px; border: 1.5px solid var(--ink); padding: 13px 18px; background: var(--ink); color: var(--paper); font-size: .875rem; font-weight: 700; text-decoration: none; transition: background 160ms ease, color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.button svg { width: 27px; height: 27px; flex-shrink: 0; }
.button:hover { background: var(--orange); color: var(--ink); box-shadow: 4px 4px 0 var(--ink); transform: translate(-2px, -2px); }
.button:active { transform: none; box-shadow: none; }

.portrait { position: relative; isolation: isolate; width: min(100%, 330px); margin-top: 30px; padding: 20px 10px 0; justify-self: center; align-self: center; }
.portrait-frame { position: absolute; z-index: -1; inset: 58px 9px 44px; border: 1.5px solid var(--ink); transform: rotate(2deg); }
.portrait-frame::before { content: ""; position: absolute; inset: 12px; border: 1px solid #b8b5a9; }
.portrait-frame::after { content: ""; position: absolute; left: -8px; right: -8px; bottom: -28px; height: 50px; background-image: radial-gradient(var(--ink) .85px, transparent .85px); background-size: 7px 7px; border-top: 1.5px solid var(--ink); }
.frame-caption { position: absolute; left: 17px; top: -8px; padding-inline: 7px; background: var(--paper); font-size: .5rem; letter-spacing: .1em; text-transform: uppercase; }
/* Keep both cutouts on one 5:6 scene; scale only their shared parent. */
.scene { position: relative; width: 100%; aspect-ratio: 5 / 6; }
.chair { position: absolute; z-index: 1; top: 11%; left: 0; width: 100%; height: auto; }
.person { position: absolute; z-index: 2; top: 0; left: 10%; width: 80%; height: auto; filter: drop-shadow(0 6px 2px rgb(23 23 17 / .08)); }
.speech { position: absolute; z-index: 3; right: 6px; top: -52px; width: 112px; padding: 17px 12px; text-align: center; font-size: .875rem; font-weight: 700; line-height: 1.3; transform: rotate(7deg); }
.speech svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.speech path { stroke: var(--ink); stroke-width: 1.5px; stroke-linejoin: round; fill: var(--paper); }
.speech > span { position: relative; }

.footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; align-items: center; min-height: 70px; padding-block: 20px; border-top: 1.5px solid var(--ink); font-size: .5625rem; line-height: 1.8; }
.footer p { display: flex; flex-wrap: wrap; gap: 6px; }
.footer p > span { color: #b73717; }
.footer-note { color: var(--muted); }

@media (min-width: 640px) {
  .page { padding-inline: 38px; }
  .header { min-height: 96px; }
  .identity { gap: 14px; font-size: 1rem; }
  .monogram { width: 39px; height: 43px; font-size: 37px; }
  .domain { font-size: .875rem; }
  .hero { padding-block: 48px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 28px; }
  h1 { font-size: clamp(3.25rem, 6.4vw, 6rem); }
  .status { font-size: .625rem; }
  .intro { font-size: .875rem; }
  .portrait { width: 100%; margin-top: 0; }
  .speech { top: -52px; }
  .footer { font-size: .625rem; }
  .footer p { gap: 10px; }
}

@media (min-width: 1000px) {
  .page { padding-inline: 60px; }
  .header { min-height: 112px; }
  .identity { font-size: 1.125rem; }
  .hero { padding: 62px 18px 74px; gap: 50px; }
  .status { margin-bottom: 30px; font-size: .6875rem; }
  h1 { font-size: clamp(5rem, 7.8vw, 7rem); }
  .highlight { margin-top: 13px; padding: 0 19px 13px; }
  .intro { font-size: 1rem; margin-top: 34px; }
  .desktop-break { display: initial; }
  .contact { margin-top: 34px; }
  .contact > p { font-size: .75rem; margin-bottom: 15px; }
  .button { min-height: 64px; padding-inline: 22px; }
  .portrait { width: min(100%, 470px); padding-inline: 0; }
  .speech { top: -14px; right: 3px; width: 140px; padding: 24px 14px; font-size: 1.0625rem; }
  .portrait-frame { inset: 80px -9px 60px; }
  .frame-caption { font-size: .5625rem; }
  .footer { min-height: 87px; font-size: .6875rem; }
  .footer p { gap: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
