@font-face {
  font-family: Nunito;
  src: url("/assets/nunito.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}
@font-face {
  font-family: Inter;
  src: url("/assets/inter.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
:root {
  --cream: #faf8f2;
  --sage: #e9efe4;
  --green: #78977a;
  --ink: #344d40;
  --muted: #6d766c;
  --line: #dce0d5;
  --white: #fffefb;
  --soft: #f1f0e8;
  --font: Inter, Arial, sans-serif;
  --heading: Nunito, "Trebuchet MS", sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 25px;
}
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
}
button,
input,
select {
  font: inherit;
}
button,
a,
input,
select,
summary {
  outline-offset: 5px;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
summary:focus-visible {
  outline: 3px solid #8ca58a;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  opacity: 0.5;
  cursor: default;
}
a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
button {
  color: inherit;
}
img {
  max-width: 100%;
  display: block;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.035em;
}
h1 {
  font-size: clamp(40px, 4.4vw, 66px);
  font-weight: 800;
}
h2 {
  font-size: clamp(29px, 3vw, 41px);
  font-weight: 800;
}
h3 {
  font-size: 25px;
  font-weight: 800;
}
p {
  color: var(--muted);
}
[hidden] {
  display: none !important;
}
.wrap,
.site-header,
.footer-inner {
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
}
.site-header {
  height: 108px;
  display: flex;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--heading);
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.015em;
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}
.brand .amp {
  font-weight: 500;
}
.brand svg {
  transform: rotate(-12deg);
}
.site-header nav {
  display: flex;
  gap: 28px;
  margin-left: auto;
  font-size: 14px;
}
.site-header nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}
.site-header nav a:hover {
  color: #537254;
}
.favorites-button {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: transparent;
  min-height: 44px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
}
.favorites-button #saved-count {
  font-size: 12px;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  background: var(--sage);
}
.hero {
  display: grid;
  grid-template-columns: 1.08fr 1fr;
  gap: 64px;
  align-items: center;
  padding-block: 60px 46px;
}
.eyebrow {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.17em;
  font-weight: 600;
  color: #637762;
  margin-bottom: 19px;
  line-height: 1.6;
}
.hero h1 {
  max-width: 650px;
}
.hero-description {
  font-size: 17px;
  line-height: 1.75;
  margin-top: 23px;
  max-width: 555px;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 27px;
  flex-wrap: wrap;
}
.button {
  min-height: 49px;
  border-radius: 28px;
  padding: 13px 24px;
  border: 1px solid var(--ink);
  display: inline-flex;
  gap: 9px;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}
.button-dark {
  background: var(--ink);
  color: white;
}
.button-dark:hover {
  background: #4b6653;
}
.hero-note {
  font-size: 12px;
  color: var(--muted);
}
.hero-photo {
  position: relative;
  border-radius: 100px 100px 23px 23px;
  overflow: hidden;
  align-self: stretch;
  min-height: 410px;
  background: var(--sage);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  position: absolute;
  object-fit: cover;
  object-position: 65% center;
}
.hero-photo figcaption {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background: #faf8f2e8;
  border-radius: 13px;
  padding: 11px 16px;
  color: var(--ink);
  font-size: 12px;
  text-align: center;
  backdrop-filter: blur(8px);
}
.breadcrumbs {
  display: flex;
  gap: 12px;
  font-size: 13px;
  margin-bottom: 22px;
}
.breadcrumbs a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.breadcrumbs span {
  display: flex;
  align-items: center;
}
.filter-panel {
  background: var(--sage);
  border-radius: 20px;
  padding: 23px 28px 13px;
}
.search-box {
  display: flex;
  gap: 13px;
  align-items: center;
  border-bottom: 1px solid #cdd6c7;
  padding-bottom: 17px;
}
.search-box input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: 0;
  color: var(--ink);
  font-size: 17px;
  min-height: 30px;
}
.search-box input::placeholder {
  color: #697c69;
}
.search-box kbd {
  color: #7c8c77;
  border: 1px solid #bec9b7;
  padding: 0 7px;
  border-radius: 4px;
  font-size: 12px;
}
.filters {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 25px;
  margin-top: 18px;
}
.filters-inner {
  grid-template-columns: 1fr 1fr;
}
.filters label {
  font-size: 11px;
  letter-spacing: 0.09em;
  font-weight: 600;
  text-transform: uppercase;
}
.filters select {
  display: block;
  border: 0;
  background: #fffdf8;
  min-height: 44px;
  width: 100%;
  border-radius: 8px;
  padding: 9px 12px;
  margin-top: 7px;
  color: var(--ink);
  font-size: 14px;
  text-transform: none;
  letter-spacing: 0;
}
.filter-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
}
.filter-bottom p {
  font-size: 12px;
}
.text-button {
  border: 0;
  background: transparent;
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 10px 0;
  min-height: 44px;
  font-size: 13px;
  font-weight: 500;
}
.filter-results {
  margin-block: 20px;
}
.section-space {
  margin-top: 76px;
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 27px;
}
.section-heading .eyebrow {
  margin-bottom: 9px;
}
.section-heading > p {
  font-size: 13px;
  line-height: 1.7;
  min-width: 230px;
}
.section-description {
  max-width: 760px;
  margin-bottom: 23px;
  font-size: 15px;
  line-height: 1.8;
}
.name-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}
.name-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 15px;
  padding: 18px 20px 15px;
  min-width: 0;
  transition:
    border-color 0.2s,
    transform 0.2s;
}
.name-card:hover {
  border-color: #a3b39d;
}
.name-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.name-top :is(h3, h4) {
  font-size: 26px;
}
.icon-button {
  border: 0;
  background: transparent;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 27px;
  flex-shrink: 0;
}
.save-name {
  color: #82927e;
  min-height: 40px;
  min-width: 40px;
  margin: -4px -8px -4px 0;
}
.save-name[aria-pressed="true"] {
  color: var(--ink);
}
.save-name[aria-pressed="true"] svg {
  fill: #78977a55;
}
.icon-button:hover {
  background: var(--sage);
}
.name-meaning {
  font-size: 14px;
  color: #465a49;
  margin-top: 7px;
  line-height: 1.6;
}
.name-fit {
  font-size: 13px;
  margin-top: 8px;
  line-height: 1.6;
}
.name-meta {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.name-meta span:first-child {
  background: var(--sage);
  padding: 4px 7px;
  border-radius: 5px;
}
.name-meta span + span {
  color: #7a8474;
}
.list-tools {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 25px;
}
.outline-button {
  border: 1px solid #bccab4;
  background: transparent;
  border-radius: 24px;
  min-height: 44px;
  padding: 10px 19px;
  font-size: 12px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.outline-button:hover {
  background: var(--sage);
}
#random-results {
  margin-top: 22px;
}
.finder {
  position: relative;
  border-radius: 25px;
  background: #e5ebdf;
  padding: 46px 45px;
}
.finder-intro {
  text-align: center;
  max-width: 660px;
  margin: auto;
}
.round-symbol {
  display: grid;
  place-items: center;
  background: #f6f6ed;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 17px;
}
.finder h2 {
  font-size: 38px;
  margin-bottom: 12px;
}
.finder .eyebrow {
  font-size: 10px;
  margin-bottom: 9px;
}
.finder-intro .button {
  margin-top: 23px;
}
.fine {
  font-size: 12px;
  line-height: 1.7;
  margin-top: 12px;
}
.step-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  margin-bottom: 20px;
}
.step-progress {
  display: flex;
  gap: 5px;
}
.step-progress span {
  width: 36px;
  height: 3px;
  background: #c3cebb;
  border-radius: 2px;
}
.step-progress span.current {
  background: var(--ink);
}
.question-title {
  text-align: center;
  margin: 15px 0 29px;
  font-size: 34px;
}
.question-options {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 770px;
  margin: auto;
}
.choice {
  background: var(--white);
  border: 1px solid #d3dcca;
  padding: 16px 24px;
  min-height: 53px;
  border-radius: 14px;
  min-width: 150px;
}
.choice:hover {
  border-color: var(--ink);
  background: #f8faf4;
}
.finder-skip {
  display: block;
  text-align: center;
  margin: 22px auto 0;
}
.shortlist-heading {
  text-align: center;
  margin-bottom: 30px;
}
.shortlist-card {
  background: var(--white);
  border-radius: 15px;
  padding: 22px;
}
.shortlist-card p {
  font-size: 14px;
  margin-top: 12px;
}
.shortlist-card button {
  margin-top: 15px;
}
.shortlist-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 27px;
}
.shortlist-actions a {
  font-size: 14px;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.selected-result {
  text-align: center;
  padding: 25px 0;
}
.selected-result h2 {
  font-size: 48px;
  margin-bottom: 15px;
}
.selected-result .button {
  margin-top: 23px;
}
.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.category-card {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 27px;
  background: var(--sage);
  border-radius: 17px;
  text-decoration: none;
  border: 1px solid transparent;
}
.category-card:hover {
  border-color: #b5c4ad;
}
.category-art {
  font-size: 43px;
  color: #799277;
  line-height: 1;
}
.category-card h3 {
  text-transform: capitalize;
  font-size: 27px;
}
.category-card p {
  margin-top: 6px;
  font-size: 12px;
}
.category-mark {
  margin-left: auto;
  font-size: 25px;
}
.alphabet {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-block: 1px solid var(--line);
  padding-block: 18px;
  margin-block: 28px;
}
.alphabet a {
  width: 35px;
  min-height: 44px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  background: #eeeee5;
}
.alphabet a:hover {
  background: var(--ink);
  color: white;
}
.letter-heading {
  display: flex;
  align-items: center;
  gap: 17px;
  font-size: 38px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 11px;
  margin-bottom: 19px;
}
.letter-heading span {
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.04em;
  font-weight: 400;
  color: var(--muted);
}
.letter-group {
  margin-top: 36px;
}
.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.compact {
  padding: 14px 18px 12px;
}
.compact .name-fit {
  font-size: 12px;
}
.compact .name-top :is(h3, h4) {
  font-size: 23px;
}
.method {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 85px;
  border-top: 1px solid var(--line);
  padding-top: 65px;
}
.method h2 {
  font-size: 46px;
  max-width: 370px;
}
.method-note {
  margin-top: 30px;
  display: flex;
  gap: 16px;
  align-items: center;
}
.method-note p {
  font-size: 13px;
}
.method-copy p {
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 18px;
}
.method-copy p:last-child {
  margin-bottom: 0;
}
.faq {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 85px;
  padding-top: 50px;
  border-top: 1px solid var(--line);
}
.faq h2 {
  max-width: 370px;
  font-size: 38px;
  margin-bottom: 15px;
}
.faq > div > p {
  font-size: 14px;
}
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  display: flex;
  gap: 15px;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  min-height: 66px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  padding: 16px 0;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary span {
  font-size: 24px;
  font-weight: 300;
}
.faq details[open] summary span {
  transform: rotate(45deg);
}
.faq details p {
  font-size: 14px;
  line-height: 1.85;
  padding-bottom: 21px;
}
.closing-note {
  text-align: center;
  padding-block: 80px 70px;
}
.closing-note svg {
  margin: auto;
}
.closing-note p {
  font-family: var(--heading);
  font-size: 22px;
  margin: 15px 0 4px;
  color: var(--ink);
}
.closing-note a {
  font-size: 12px;
}
.site-footer {
  background: #e8ecdf;
  border-top: 1px solid var(--line);
  padding: 35px 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer-brand {
  font-size: 20px;
}
.footer-inner p {
  font-size: 12px;
  margin-top: 8px;
}
.footer-inner nav {
  display: flex;
  gap: 25px;
  font-size: 13px;
}
.footer-inner nav a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.copyright {
  text-align: right;
  font-size: 11px !important;
  line-height: 1.9;
}
dialog {
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--cream);
  color: var(--ink);
  width: min(1000px, calc(100% - 28px));
  max-height: 90dvh;
  padding: 25px;
  box-shadow: 0 30px 100px #263b3430;
}
dialog::backdrop {
  background: #21362988;
  backdrop-filter: blur(5px);
}
.dialog-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}
.dialog-top .eyebrow {
  margin: 0;
}
.card-editor {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}
.card-controls h2 {
  font-size: 32px;
  margin-bottom: 12px;
}
.card-controls > p {
  font-size: 14px;
}
.field-label {
  font-size: 13px;
  display: block;
  margin-top: 17px;
}
.field-label input {
  display: block;
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: white;
  padding: 12px;
  min-height: 46px;
  margin-top: 6px;
  color: var(--ink);
}
.upload-button {
  display: inline-flex;
  padding: 10px 20px;
  min-height: 44px;
  border: 1px solid var(--ink);
  border-radius: 25px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 13px;
}
.card-controls > .text-button {
  margin-left: 14px;
}
.format-options {
  border: 0;
  padding: 0;
  margin: 20px 0;
}
.format-options legend {
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 9px;
}
.format-options label {
  display: block;
  font-size: 13px;
  padding: 6px 0;
  min-height: 36px;
}
.share-fallback {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 13px;
}
.share-fallback button {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: transparent;
  min-height: 44px;
  font-size: 12px;
  padding: 7px 11px;
}
.canvas-wrap {
  background: #e4e9db;
  border-radius: 15px;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.canvas-wrap canvas {
  max-width: 100%;
  height: auto;
  max-height: 65dvh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 22px #344d4018;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink);
  color: white;
  border-radius: 12px;
  padding: 12px 20px;
  font-size: 14px;
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  max-width: calc(100% - 30px);
  text-align: center;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
#confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 110;
  width: 100%;
  height: 100%;
}
#saved-dialog {
  max-width: 950px;
}
#saved-list {
  margin-bottom: 25px;
}
#saved-empty {
  margin-bottom: 20px;
}
.utility {
  min-height: 65vh;
  padding-block: 70px;
  max-width: 850px;
}
.utility h1 {
  font-size: 48px;
  margin-bottom: 23px;
}
.utility h2 {
  font-size: 28px;
  margin-bottom: 24px;
}
.utility p {
  margin-bottom: 20px;
}
.utility .button {
  margin-top: 20px;
}
@media (min-width: 1300px) {
  .hero-photo {
    min-height: 430px;
  }
  .hero {
    padding-block: 68px 48px;
  }
}
@media (max-width: 1000px) {
  .wrap,
  .site-header,
  .footer-inner {
    width: calc(100% - 48px);
  }
  .site-header {
    gap: 20px;
  }
  .site-header nav {
    gap: 16px;
    font-size: 12px;
  }
  .brand {
    font-size: 20px;
  }
  .hero {
    gap: 32px;
    padding-block: 40px;
  }
  .hero h1 {
    font-size: 46px;
  }
  .hero-photo {
    min-height: 360px;
  }
  .hero-note {
    display: none;
  }
  .name-grid {
    gap: 12px;
  }
  .name-card {
    padding: 15px;
  }
  .method,
  .faq {
    gap: 35px;
  }
  .method h2 {
    font-size: 38px;
  }
  .filters {
    gap: 15px;
  }
}
@media (max-width: 760px) {
  .wrap,
  .site-header,
  .footer-inner {
    width: calc(100% - 40px);
  }
  .site-header {
    height: 82px;
    gap: 10px;
  }
  .brand {
    font-size: 19px;
    gap: 7px;
  }
  .brand svg {
    width: 25px;
  }
  .site-header nav {
    display: none;
  }
  .favorites-button {
    margin-left: auto;
    padding: 8px 12px;
  }
  .favorites-button > span:not(#saved-count) {
    display: none;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-block: 33px 27px;
  }
  .hero .eyebrow {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .hero h1 {
    font-size: 41px;
    line-height: 1.1;
    max-width: 550px;
  }
  .hero-description {
    font-size: 16px;
    line-height: 1.7;
    margin-top: 17px;
  }
  .hero-actions {
    margin-top: 20px;
  }
  .hero .button {
    width: 100%;
  }
  .hero-photo {
    min-height: 205px;
    height: 205px;
    border-radius: 22px;
  }
  .hero-photo img {
    object-position: center 52%;
  }
  .hero-photo figcaption {
    font-size: 10px;
    padding: 8px;
    bottom: 11px;
    left: 13px;
    right: auto;
  }
  .filter-panel {
    padding: 18px 17px 9px;
    border-radius: 16px;
  }
  .search-box input {
    font-size: 14px;
  }
  .search-box kbd {
    display: none;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .filter-bottom p {
    font-size: 11px;
  }
  .filter-bottom .text-button {
    white-space: nowrap;
    font-size: 11px;
  }
  .section-space {
    margin-top: 48px;
  }
  .section-heading {
    display: block;
    margin-bottom: 20px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .section-heading .eyebrow {
    font-size: 9px;
  }
  .section-heading > p {
    margin-top: 12px;
    font-size: 13px;
  }
  .name-grid,
  .catalog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .name-card {
    padding: 15px 13px;
  }
  .name-top :is(h3, h4) {
    font-size: 24px;
  }
  .save-name {
    min-width: 36px;
    min-height: 44px;
  }
  .name-meaning {
    font-size: 13px;
  }
  .name-fit {
    font-size: 12px;
  }
  .name-meta {
    font-size: 9px;
    gap: 5px;
    margin-top: 12px;
  }
  .name-meta span:first-child {
    padding: 3px 5px;
  }
  .list-tools {
    gap: 8px;
    justify-content: flex-start;
  }
  .outline-button {
    font-size: 11px;
    padding: 9px 12px;
  }
  .finder {
    padding: 29px 20px;
    border-radius: 19px;
  }
  .finder h2 {
    font-size: 30px;
  }
  .finder p {
    font-size: 14px;
  }
  .finder .fine {
    font-size: 11px;
  }
  .finder .eyebrow {
    font-size: 9px;
  }
  .question-title {
    font-size: 28px !important;
  }
  .choice {
    min-width: 0;
    flex: 1 1 130px;
    font-size: 14px;
    padding: 14px;
  }
  .shortlist-actions {
    gap: 12px;
  }
  .shortlist-actions a {
    font-size: 12px;
  }
  .shortlist-card {
    padding: 17px;
  }
  .shortlist-card h3 {
    font-size: 28px;
  }
  .shortlist-card p {
    font-size: 13px;
  }
  .selected-result h2 {
    font-size: 36px;
  }
  .category-grid {
    grid-template-columns: 1fr;
  }
  .category-card {
    padding: 21px;
  }
  .category-card h3 {
    font-size: 25px;
  }
  .alphabet {
    gap: 6px;
  }
  .alphabet a {
    width: calc((100% - 36px) / 7);
    font-size: 12px;
  }
  .letter-heading {
    font-size: 33px;
  }
  .letter-group {
    margin-top: 28px;
  }
  .compact .name-top :is(h3, h4) {
    font-size: 23px;
  }
  .method,
  .faq {
    grid-template-columns: 1fr;
    gap: 27px;
    padding-top: 35px;
  }
  .method h2,
  .faq h2 {
    font-size: 35px;
    max-width: 100%;
  }
  .method-note {
    display: none;
  }
  .method-copy p {
    font-size: 15px;
  }
  .closing-note {
    padding-block: 50px;
  }
  .closing-note p {
    font-size: 21px;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .copyright {
    text-align: left;
  }
  .footer-inner nav {
    gap: 24px;
  }
  .card-editor {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .card-controls h2 {
    font-size: 29px;
  }
  .dialog-top .eyebrow {
    font-size: 9px;
  }
  .canvas-wrap {
    order: -1;
    max-height: 320px;
  }
  .canvas-wrap canvas {
    max-height: 280px;
  }
  .dialog-top {
    margin-bottom: 15px;
  }
  .utility {
    padding-block: 40px;
  }
  .utility h1 {
    font-size: 38px;
  }
}
@media (max-width: 380px) {
  .wrap,
  .site-header,
  .footer-inner {
    width: calc(100% - 32px);
  }
  .hero h1 {
    font-size: 36px;
  }
  .brand {
    font-size: 17px;
  }
  .name-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .name-top :is(h3, h4) {
    font-size: 26px;
  }
  .name-meaning {
    font-size: 14px;
  }
  .name-fit {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

.initial-list {
  max-height: 630px;
  overflow: auto;
  padding: 3px 8px 8px 3px;
  scrollbar-color: #9cad96 #e9efe4;
}
.name-meaning,
.name-fit,
.compact .name-fit {
  font-size: 16px;
}
.name-meta {
  font-size: 11px;
}
.save-name {
  min-width: 44px;
  min-height: 44px;
}
.name-meaning {
  line-height: 1.6;
}
.name-fit {
  line-height: 1.6;
}
.initial-names .section-heading > p {
  max-width: 290px;
}
.initial-names {
  margin-top: 40px;
}
@media (max-width: 760px) {
  .initial-list {
    max-height: 560px;
  }
  .name-meaning,
  .name-fit,
  .compact .name-fit {
    font-size: 15px;
  }
  .name-meta {
    font-size: 10px;
  }
}

.alphabet {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(44px, 1fr));
}
.alphabet a {
  width: 100%;
  min-width: 44px;
  min-height: 44px;
}
.format-options label {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.search-box input {
  min-height: 44px;
  font-size: 16px;
}
.method-copy p,
.faq details p,
.section-description,
.card-controls > p {
  font-size: 16px;
}
@media (max-width: 760px) {
  .name-grid,
  .catalog-grid {
    grid-template-columns: 1fr;
  }
  .name-meaning,
  .name-fit,
  .compact .name-fit {
    font-size: 16px;
  }
  .search-box input {
    font-size: 16px;
  }
  .alphabet a {
    width: 100%;
    min-width: 44px;
  }
  .name-card {
    padding: 18px 20px;
  }
  .name-top :is(h3, h4) {
    font-size: 27px;
  }
  .name-meta {
    font-size: 11px;
  }
  .hero-photo {
    height: 190px;
    min-height: 190px;
  }
}

.name-meta{font-size:12px}.hero-photo figcaption{font-size:12px}.field-label,.format-options legend{font-size:14px}.format-options label{font-size:14px}

.name-subgroup-title { margin: 2rem 0 1rem; font-size: 1.15rem; color: var(--ink, #344d40); }
.entry-facts { margin: 0; }
.entry-facts dd { margin: .65rem 0 0; font-size: .95rem; line-height: 1.55; }
.entry-facts .name-heading { font-family: Nunito, sans-serif; font-size: 1.5rem; font-weight: 750; color: #344d40; }
.entry-facts cite { font-size: .875rem; font-style: normal; }
.fact-label { font-weight: 650; }
.entry-facts .name-computed { color: #46554a; }
.page-jumps { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.5rem 0; }
.page-jumps a { display: inline-flex; align-items: center; min-height: 44px; padding: .5rem .8rem; border: 1px solid #78977a; border-radius: 999px; font-size: .95rem; overflow-wrap: anywhere; }

.advertising-space { min-height: 180px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px dashed #78977a; border-radius: 1rem; margin: 2rem 0; text-align: center; padding: 1rem; color: #46554a; }

/* Homepage-only entry exception. Existing dog content and inner pages retain their styles. */
.home-entry-hero{padding-top:40px;padding-bottom:20px}.home-entry-heading{max-width:930px;margin:0 auto 30px;text-align:center}.home-entry-heading h1{font-size:clamp(34px,4vw,54px);line-height:1.12;margin:0 0 16px;color:#303c35}.home-entry-heading .hero-description{max-width:760px;margin:0 auto;line-height:1.6}.home-entry-choices{display:grid;grid-template-columns:1fr 1fr;gap:24px}.home-entry-choices>article{border:1px solid #e1e5da;border-radius:28px;overflow:hidden;display:flex;flex-direction:column;min-width:0}.home-name-entry{background:#faf8f2}.home-pet-entry{background:#e7ede5}.home-entry-copy{padding:26px 30px 20px;position:relative;z-index:1}.home-entry-title{font-family:Nunito,sans-serif;font-size:29px;font-weight:800;color:#476d5b;line-height:1.12;margin:0 0 12px}.home-entry-description{font-size:15px;line-height:1.55;margin:0 0 18px;color:#303c35}.home-entry-copy .button{font-size:15px;min-height:46px;padding:12px 23px}.home-entry-copy .hero-note{display:block;font-size:11px;margin-top:11px}.home-entry-eyebrow{font-size:10px;letter-spacing:.12em;font-weight:700;color:#476d5b;margin:0 0 9px}.home-entry-image{margin:0;position:relative;overflow:hidden;height:240px;margin-top:auto}.home-entry-image img{width:100%;height:100%;object-fit:cover;object-position:center 62%;display:block}.home-entry-image figcaption{position:absolute;bottom:14px;left:20px;right:20px;background:#faf8f2e8;color:#476d5b;border-radius:12px;padding:9px 12px;text-align:center;font-size:12px}.home-entry-tarot{height:240px;display:flex;align-items:center;justify-content:center;gap:12px;padding:17px 30px 22px;margin-top:auto;background:radial-gradient(ellipse at 50% 90%,#c8d5c3,transparent 70%);overflow:hidden}.home-entry-tarot img{height:198px;width:auto;max-width:30%;object-fit:contain;border-radius:9px;box-shadow:0 8px 14px #303c351c}.home-entry-tarot img:first-child{transform:rotate(-9deg) translateY(8px)}.home-entry-tarot img:last-child{transform:rotate(9deg) translateY(8px)}
@media(max-width:700px){.home-entry-hero{padding-top:25px;padding-bottom:10px}.home-entry-heading{text-align:left;margin-bottom:22px}.home-entry-heading h1{font-size:31px;line-height:1.12;margin-bottom:12px}.home-entry-heading .hero-description{font-size:14px;line-height:1.55}.home-entry-choices{grid-template-columns:1fr;gap:13px}.home-entry-choices>article{flex-direction:row;border-radius:20px;min-height:155px}.home-entry-copy{padding:18px 12px 17px 17px;flex:1;min-width:0}.home-entry-title{font-size:22px;margin-bottom:8px}.home-entry-description{font-size:12px;margin-bottom:11px}.home-entry-copy .button{font-size:12px;padding:10px 13px;min-height:44px;white-space:normal}.home-entry-copy .hero-note,.home-entry-image figcaption{display:none}.home-entry-image{width:112px;flex:0 0 112px;height:auto;align-self:stretch;margin:9px 9px 9px 0;border-radius:14px}.home-entry-image img{height:100%;min-height:140px;object-position:54% center}.home-entry-tarot{width:116px;flex:0 0 116px;height:auto;align-self:stretch;margin:7px 7px 7px 0;padding:8px 3px;gap:0;border-radius:14px;position:relative}.home-entry-tarot img{height:112px;max-width:none;width:64px;position:absolute;box-shadow:0 4px 8px #303c3529}.home-entry-tarot img:first-child{transform:translateX(-27px) rotate(-12deg);z-index:1}.home-entry-tarot img:nth-child(2){transform:translateY(-8px);z-index:2}.home-entry-tarot img:last-child{transform:translateX(27px) rotate(12deg);z-index:3}.home-entry-eyebrow{font-size:8px;letter-spacing:.09em;margin-bottom:6px}}

