@font-face {
  font-family: Nunito;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/Nunito-SemiBold.ttf') format('truetype');
}

@font-face {
  font-family: DynaPuff;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/DynaPuff-SemiBold.ttf') format('truetype');
}

:root {
  --paper: #fffef9;
  --ink: #222522;
  --call: #264438;
  --muted: #5e6874;
  --line: #d7e5df;
  --sage: #bdd6d1;
  --allergy-surface: #fff2ee;
  --allergy-chip: #ffe5de;
  --allergy-text: #b84032;
  --white: #ffffff;
  --success: #287447;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper) url('/assets/paper.jpg') center top / 851px 800px repeat;
  font-family: Nunito, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  font: inherit;
}
a,
button {
  -webkit-user-select: none;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--call);
  outline-offset: 4px;
}
.brand {
  position: relative;
  display: flex;
  justify-content: center;
  max-width: 520px;
  margin: auto;
  padding: max(24px, env(safe-area-inset-top)) 24px 14px;
}
.brand-logo {
  display: block;
  width: 132px;
  height: auto;
}
.header-cloud {
  position: absolute;
  width: 48px;
  height: auto;
  left: 14px;
  top: 49px;
}
.header-butterfly {
  position: absolute;
  width: 64px;
  height: 48px;
  right: 12px;
  top: 48px;
}
main {
  max-width: 520px;
  margin: 0 auto;
  padding: 0 24px;
}
p,
h1,
h2 {
  margin: 0;
}
h1 {
  font-family: DynaPuff, system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(23px, 7.8vw, 31px);
  line-height: 1.25;
  letter-spacing: -0.035em;
}
h2 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--muted);
}
.intro {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  padding: 4px 0 16px;
}
.identity {
  min-width: 0;
}
.kind {
  margin-top: 5px;
  color: var(--muted);
  font-size: 14px;
}
.hero {
  flex: none;
}
.portrait {
  width: 86px;
  height: 86px;
}
.ring {
  padding: 4px;
  border: 3px solid var(--sage);
  border-radius: 50%;
  background: var(--paper);
}
.photo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.placeholder {
  display: grid;
  place-items: center;
  background: #ecf2ed;
}
.placeholder svg {
  width: 34px;
  height: 34px;
  fill: var(--muted);
}
section {
  margin-top: 24px;
}
.contact {
  margin-top: 0;
}
.contact h2 {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.4;
  letter-spacing: -0.025em;
}
.contact-intro {
  margin-top: 6px;
  color: var(--muted);
  font-size: 15px;
}
.people {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
}
.person {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 12px;
  padding: 6px 0;
}
.person + .person {
  border-top: 1px solid var(--line);
}
.person-details {
  min-width: 0;
}
.owner {
  font-size: 17px;
}
.note svg,
.allergies svg,
.site-link svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  min-width: 100px;
  padding: 10px 17px;
  border-radius: 999px;
  background: var(--call);
  color: var(--white);
  font-size: 16px;
  text-decoration: none;
}
.action:hover {
  background: var(--ink);
}
.action svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.note {
  grid-column: 1 / -1;
  display: flex;
  gap: 8px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.note svg {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex: none;
}
.allergy-section {
  margin-top: 8px;
  padding: 15px 16px;
  border-radius: 18px;
  background: var(--allergy-surface);
}
.allergy-section h2 {
  color: var(--allergy-text);
  font-size: 17px;
}
.allergies {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 10px 0 0;
  list-style: none;
}
.allergies li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--allergy-chip);
  color: var(--allergy-text);
  font-size: 15px;
}
.allergies svg {
  flex: none;
  width: 17px;
  height: 17px;
}
.about-section {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rows {
  margin: 0;
}
.rows div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 18px;
  align-items: baseline;
  padding: 6px 0;
  font-size: 15px;
  border-bottom: 1px solid var(--line);
}
.rows dt {
  color: var(--muted);
}
.rows dd {
  margin: 0;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.site {
  max-width: 560px;
  margin: 0 auto;
  padding: 0 0 max(24px, env(safe-area-inset-bottom));
  text-align: center;
}
.garden {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 0;
}
.site p {
  margin: 4px 20px 10px;
  color: var(--muted);
  font-size: 14px;
}
.site-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 18px;
  border: 1px solid var(--sage);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
}
.site-link:hover {
  background: #ecf2ed;
}
.site-link svg {
  width: 18px;
  height: 18px;
}
.status {
  padding: 46px 0 24px;
  text-align: center;
  color: var(--muted);
}
.retry {
  display: block;
  min-height: 44px;
  padding: 10px 24px;
  margin: 0 auto 24px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--call);
  cursor: pointer;
}
.feedback {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
@media (max-width: 359px) {
  main {
    padding: 0 18px;
  }
  .intro {
    gap: 12px;
  }
  .portrait {
    width: 72px;
    height: 72px;
  }
  .person {
    column-gap: 8px;
  }
  .action {
    min-width: 82px;
    padding-inline: 12px;
  }
  .rows div {
    gap: 12px;
    font-size: 15px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
