:root {
  --paper: #f7f3e9; --ink: #3b352a; --moss: #465338; --leaf: #687345;
  --door: #963f31; --linen: #ebe5d5; --muted: #6b6557; --line: #d8cfbc;
  --display: "Caprasimo", Georgia, serif; --body: "Nunito", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 500 17px/1.6 var(--body); }
a { color: inherit; text-underline-offset: 5px; }
button, input, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; height: auto; }
figure, p, h1, h2, h3 { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; text-wrap: balance; }
h2 { font-size: clamp(29px, 3.1vw, 43px); line-height: 1.2; }
h3 { font-size: clamp(25px, 2.6vw, 36px); line-height: 1.25; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--door); outline-offset: 5px; }
::selection { background: #dce3c8; }
.wrap { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.section { padding-block: 100px; }
.skip-link { position: fixed; left: 16px; top: -100px; background: var(--paper); padding: 12px 20px; z-index: 20; }
.skip-link:focus { top: 10px; }
.header { display: flex; align-items: center; justify-content: space-between; min-height: 106px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 11px; font: 400 20px/1.05 var(--display); text-decoration: none; color: var(--moss); }
.header nav { display: flex; gap: 30px; align-items: center; font-size: 15px; font-weight: 800; }
.header nav a { padding-block: 12px; text-decoration: none; }
.header nav a:hover, .footer a:hover { text-decoration: underline; }
.header nav .nav-letter { padding: 10px 20px; border: 1px solid var(--line); border-radius: 7px; }
.hero { padding-top: 37px; }
.hero-copy { text-align: center; margin-bottom: 37px; }
h1 { color: var(--moss); font-size: clamp(45px, 6.8vw, 92px); line-height: 1.1; letter-spacing: -.035em; }
.hero-copy p { margin: 19px 0 22px; color: var(--muted); font-size: 19px; line-height: 1.5; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 25px; min-height: 48px; padding: 12px 24px; border: 1px solid var(--moss); border-radius: 7px; color: var(--paper); background: var(--moss); font-weight: 800; font-size: 15px; text-decoration: none; }
.button:hover { background: #35432c; }
.button:disabled { opacity: .6; cursor: wait; }
.hero-visual > img { width: 100%; aspect-ratio: 1672 / 941; object-fit: cover; border-radius: 100px 100px 8px 8px; }
.hero-house figcaption { display: flex; gap: 9px; justify-content: center; align-items: center; margin-top: 19px; font-size: 14px; color: var(--muted); }
.door-dot { height: 7px; width: 7px; border-radius: 50%; background: var(--door); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 38px; }
.section-heading p { margin-top: 15px; color: var(--muted); }
.hint, .story-note { flex-shrink: 0; font-size: 13px; color: var(--muted); padding-bottom: 3px; }
.family-lineup { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 14px; align-items: start; }
.kitten { text-align: center; min-width: 0; }
.kitten summary { position: relative; cursor: pointer; list-style: none; border-radius: 70px 70px 4px 4px; }
.kitten summary::-webkit-details-marker { display: none; }
.kitten img { width: 100%; aspect-ratio: 2/3; object-fit: cover; border-radius: 70px 70px 4px 4px; }
.kitten-name { display: block; font: 400 23px/1.3 var(--display); margin-top: 17px; }
.kitten-job { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; line-height: 1.5; }
.kitten-more { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border: 1px solid var(--line); border-radius: 50%; margin-top: 13px; line-height: 1; }
.kitten[open] .kitten-more { background: var(--moss); color: var(--paper); transform: rotate(45deg); }
.kitten p { font-size: 14px; padding: 14px 2px 0; }
.stories { background: var(--linen); }
.story-shelf { display: grid; grid-template-columns: 1.25fr 1fr; gap: 42px; align-items: start; }
.story-cake { margin-top: 56px; }
.story > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px; }
.story-copy { padding: 22px 4px 0; }
.story-season, .room-owner { display: block; font-size: 14px; color: var(--door); font-weight: 800; margin-bottom: 12px; }
.story h3 { max-width: 18ch; }
.story p { color: var(--muted); margin-top: 16px; max-width: 48ch; }
.text-link { display: inline-flex; gap: 14px; align-items: center; font-weight: 800; text-decoration-thickness: 1px; min-height: 44px; font-size: 15px; }
.story .text-link { margin-top: 17px; }
.room-tabs { display: none; }
.rooms-ready .room-tabs { display: flex; gap: 10px; margin-bottom: 27px; flex-wrap: wrap; }
.room-tabs button { min-height: 46px; color: var(--moss); background: transparent; border: 1px solid var(--line); padding: 10px 22px; border-radius: 6px; font-size: 15px; font-weight: 800; }
.room-tabs button[aria-selected="true"] { color: var(--paper); border-color: var(--moss); background: var(--moss); }
.room { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 50px; margin-top: 26px; }
.room > img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 8px 75px 8px 8px; }
.room-copy h3 { max-width: 16ch; }
.room-copy p { margin-top: 20px; color: var(--muted); }
.room-copy .text-link { margin-top: 18px; }
.shop { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; border-top: 1px solid var(--line); }
.shop-intro h2 { max-width: 15ch; }
.shop-intro p { color: var(--muted); margin-top: 20px; max-width: 40ch; }
.wish-list button { display: grid; grid-template-columns: 1fr auto; align-items: center; background: transparent; border: 0; border-bottom: 1px solid var(--line); color: var(--ink); width: 100%; text-align: left; padding: 20px 4px; }
.wish-list button:first-child { padding-top: 0; }
.wish-list button > span:first-child { font: 400 25px/1.2 var(--display); }
.wish-list small { grid-column: 1; color: var(--muted); margin-top: 5px; font-size: 14px; }
.wish-list button > span:last-child { grid-column: 2; grid-row: 1/3; font-size: 27px; color: var(--moss); }
.wish-list button:hover > span:first-child { text-decoration: underline; text-underline-offset: 5px; }
.ask { background: #e4e8da; }
.letter-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 100px; }
.letter-intro h2 { margin-top: 24px; color: var(--moss); font-size: clamp(34px, 4vw, 53px); }
.letter-intro p { color: var(--muted); max-width: 31ch; margin-top: 22px; }
.letter-intro .text-link { margin-top: 17px; }
.letter { min-width: 0; }
.letter fieldset { padding: 0; margin: 0 0 22px; border: 0; }
.letter legend, .letter > label, .form-row label { font-size: 14px; font-weight: 800; margin-bottom: 9px; display: block; }
.topics { display: flex; flex-wrap: wrap; gap: 7px; }
.topics label { display: flex; align-items: center; gap: 7px; cursor: pointer; border: 1px solid #b6beaa; border-radius: 5px; padding: 9px 11px; font-size: 13px; }
.topics label:has(:checked) { background: var(--moss); color: var(--paper); border-color: var(--moss); }
.topics input { margin: 0; accent-color: var(--moss); }
.letter textarea, .form-row input { width: 100%; color: var(--ink); border: 1px solid #b6beaa; border-radius: 5px; background: #f9f8f0; padding: 12px 14px; }
.letter textarea { resize: vertical; min-height: 136px; display: block; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 20px; }
.form-row label span { font-weight: 500; color: var(--muted); }
.letter-send { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.letter-send p { font-size: 12px; color: var(--muted); }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.status { font-size: 14px; margin-top: 16px; }
.status:empty { margin: 0; }
.status.bad { color: #852c22; }
.footer { padding-block: 42px 26px; }
.footer-top, .footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-top p { font-family: var(--display); font-size: 21px; color: var(--moss); }
.back-top { font-size: 13px; font-weight: 800; min-height: 44px; display: flex; align-items: center; gap: 15px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 23px; margin-top: 33px; color: var(--muted); }
.footer-bottom small { font-size: 12px; }
.footer-bottom nav { display: flex; gap: 21px; flex-wrap: wrap; }
.footer-bottom a { font-size: 12px; text-decoration: none; min-height: 32px; display: inline-flex; align-items: center; }
@media (max-width: 1050px) {
  .wrap { width: calc(100% - 56px); }
  .section { padding-block: 75px; }
  .hint, .story-note { display: none; }
  .family-lineup { gap: 10px; }
  .kitten-name { font-size: 20px; }
  .room { gap: 30px; grid-template-columns: 1.2fr 1fr; }
  .shop, .letter-layout { gap: 50px; }
  .footer-bottom { align-items: start; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 36px); }
  .header { flex-wrap: wrap; gap: 15px; padding-top: 22px; padding-bottom: 17px; }
  .brand { font-size: 18px; }
  .header nav { width: 100%; justify-content: space-between; gap: 5px; font-size: 12px; }
  .header nav .nav-letter { padding: 9px 11px; }
  .hero { padding-top: 24px; }
  h1 { font-size: clamp(38px, 9vw, 62px); }
  .hero-copy { margin-bottom: 28px; }
  .hero-copy p { font-size: 16px; margin: 16px 0 20px; }
  .hero-visual > img { border-radius: 50px 50px 6px 6px; aspect-ratio: 1.3; object-fit: cover; }
  .hero-house figcaption { font-size: 12px; margin-top: 14px; }
  .section { padding-block: 60px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading p { font-size: 15px; margin-top: 13px; }
  .family-lineup { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 10px; }
  .kitten-name { font-size: 18px; margin-top: 11px; }
  .kitten-job { font-size: 11px; }
  .kitten img { border-radius: 40px 40px 4px 4px; }
  .kitten p { font-size: 12px; }
  .story-shelf { grid-template-columns: 1fr; gap: 42px; }
  .story-cake { margin-top: 0; }
  .story h3 { max-width: 24ch; }
  .story-copy { padding-top: 19px; }
  .rooms-ready .room-tabs { gap: 7px; }
  .room-tabs button { padding: 10px 12px; font-size: 13px; flex: 1 0 calc(50% - 7px); }
  .room { grid-template-columns: 1fr; gap: 25px; }
  .room-copy h3 { max-width: 24ch; }
  .room-copy p { margin-top: 13px; }
  .room-owner { margin-bottom: 9px; }
  .shop, .letter-layout { grid-template-columns: 1fr; gap: 32px; }
  .shop-intro h2, .shop-intro p { max-width: none; }
  .wish-list button { padding-block: 19px; }
  .letter-intro > img { width: 50px; }
  .letter-intro h2 { font-size: 38px; margin-top: 16px; }
  .letter-intro p { max-width: 40ch; margin-top: 16px; }
  .form-row { grid-template-columns: 1fr; gap: 17px; }
  .letter-send { align-items: start; flex-direction: column; }
  .footer-top { flex-wrap: wrap; }
  .footer-top p { width: 100%; order: 3; font-size: 19px; }
  .footer-bottom { flex-direction: column; gap: 12px; }
  .footer-bottom nav { gap: 3px 16px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.studio-preview { display: grid; grid-template-columns: 1.6fr 1fr; align-items: center; gap: 60px; border-top: 1px solid var(--line); }
.studio-preview p { margin-top: 18px; max-width: 60ch; color: var(--muted); }
.studio-links { display: flex; flex-direction: column; align-items: start; gap: 14px; }
@media (max-width:700px) { .studio-preview { grid-template-columns: 1fr; gap: 24px; } }

/* A storybook spread: generous pictures, small chapter marks and a distinct studio. */
:root { --paper: #faf6ed; --ink: #302f23; --moss: #34452f; --linen: #eee5d5; --muted: #615e50; }
.eyebrow { display: block; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 22px; }
.header { min-height: 96px; border-bottom: 1px solid var(--line); }
.header nav .nav-letter { border-radius: 99px; padding-inline: 22px; border-color: var(--moss); }
.button { border-radius: 99px; min-height: 52px; }
.hero { display: grid; grid-template-columns: .8fr 1.55fr; gap: 48px; align-items: center; padding-block: 48px 28px; }
.hero-copy { text-align: left; margin: 0; padding-block: 30px; }
.hero-copy h1 { font-size: clamp(48px, 5.1vw, 72px); letter-spacing: -.045em; line-height: 1.03; }
.hero-copy h1 span { color: var(--door); }
.hero-copy p { margin-block: 26px 28px; font-size: 17px; line-height: 1.65; }
.hero-house { min-width: 0; position: relative; }
.hero-visual { border-radius: 5px !important; }
.hero-visual > img { border-radius: 0; height: 590px; aspect-ratio: auto; object-fit: cover; object-position: 51% 50%; }
.hero-house figcaption { justify-content: space-between; gap: 12px; font-size: 11px; margin-top: 13px; }
.world-note { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; border-block: 1px solid var(--line); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; }
.world-note > span:nth-child(2) { font-size: 24px; color: var(--door); }
.world-note a { text-decoration: none; }
.section { padding-block: 90px; }
.section-heading { align-items: end; }
h2 { font-size: clamp(34px, 3.6vw, 51px); line-height: 1.12; letter-spacing: -.025em; }
.section-heading p { font-size: 16px; }
.family-stage { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 70px; background: #e6eadc; padding: 36px 70px; margin-bottom: 35px; }
.portrait-paper { position: relative; justify-self: center; padding: 13px 13px 15px; background: #fffaf0; transform: rotate(-3deg); box-shadow: 0 12px 26px #34452f16; width: 290px; }
.portrait-paper img { width: 100%; height: auto; aspect-ratio: 2/3; object-fit: cover; object-position: center; }
.portrait-caption { display: block; font-size: 10px; text-align: center; margin-top: 12px; }
.family-intro { max-width: 420px; }
.family-intro h3 { font-size: clamp(30px, 3.3vw, 47px); color: var(--moss); }
.family-intro > p { font-size: 19px; margin-top: 22px; }
.family-intro .text-link { margin-top: 21px; }
.family-invitation { display: block; font-size: 12px; color: var(--muted); margin-top: 36px; }
.family-lineup { gap: 22px; }
.kitten summary, .kitten img { border-radius: 3px; }
.kitten img { aspect-ratio: 1; object-fit: cover; object-position: center 25%; }
.kitten-name { font-size: 21px; margin-top: 12px; }
.kitten-job { font-size: 11px; }
.kitten-more { margin-top: 9px; }
.kitten.is-featured summary img { outline: 2px solid var(--moss); outline-offset: 5px; }
.stories { position: relative; background: #eee5d5; }
.story-shelf { grid-template-columns: 1.15fr 1fr; gap: 72px; }
.story-cake { margin-top: 110px; }
.story > img { border-radius: 3px; }
.story-copy { padding-top: 24px; }
.story-season { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.story h3 { font-size: clamp(30px, 3vw, 42px); }
.room > img { border-radius: 3px; }
.room-tabs { border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.room-tabs button { border-radius: 99px; }
.room-copy h3 { font-size: clamp(30px, 3vw, 42px); }
.studio-preview { display: block; background: #293c2d; color: #faf6ed; border: 0; padding-block: 90px; }
.studio-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.studio-intro h2 { font-size: clamp(48px, 5.5vw, 78px); }
.studio-intro .eyebrow { color: #c7d2b6; }
.studio-intro > p { color: #e5e4d7; font-size: 24px; margin-block: 28px; line-height: 1.5; }
.studio-star { display: block; font-size: 70px; color: #c8ae73; margin-top: 25px; }
.skill-preview { border-left: 1px solid #657460; padding-left: 60px; }
.skill-tag { font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #cfdbbf; }
.skill-preview h3 { font: 800 clamp(32px, 3.8vw, 49px)/1.15 var(--body); letter-spacing: -.04em; margin-top: 14px; }
.skill-preview p { color: #e0e3d7; font-size: 16px; margin-top: 20px; }
.compatibility { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 23px; }
.compatibility span { font-size: 12px; border: 1px solid #809279; padding: 5px 13px; border-radius: 99px; }
.button-cream { background: #eee5d5; border-color: #eee5d5; color: #293c2d; }
.button-cream:hover { background: #fffaf0; }
.skill-preview .text-link { display: flex; width: fit-content; margin-top: 14px; font-size: 13px; }
.shop { border-top: 0; }
.ask { background: #e6eadc; }
.letter { background: #faf6ed; padding: 32px; box-shadow: 0 12px 30px #34452f0a; transform: rotate(1deg); }
.letter textarea, .form-row input { background: #fffdf7; }
@media (max-width: 1050px) {
  .hero { gap: 28px; grid-template-columns: .9fr 1.25fr; }
  .hero-copy h1 { font-size: clamp(42px, 5.4vw, 60px); }
  .hero-visual > img { height: 540px; }
  .family-stage { gap: 40px; padding-inline: 40px; }
  .family-lineup { gap: 13px; }
  .studio-layout { gap: 40px; }
  .skill-preview { padding-left: 35px; }
  .story-shelf { gap: 38px; }
}
@media (max-width: 700px) {
  .header { flex-wrap: nowrap; min-height: 83px; padding-block: 16px; gap: 12px; }
  .header nav { width: auto; font-size: 12px; justify-content: end; gap: 16px; }
  .header nav a[href="#family"], .header nav a[href="#house"], .header nav a[href="/#family"], .header nav a[href="/#house"] { display: none; }
  .header nav .nav-letter { padding: 9px 13px; }
  .brand { font-size: 16px; gap: 8px; }
  .brand img { width: 30px; height: auto; }
  .hero { grid-template-columns: 1fr; gap: 27px; padding-block: 30px 22px; }
  .hero-copy { padding: 0; }
  .hero-copy .eyebrow { margin-bottom: 16px; font-size: 10px; }
  .hero-copy h1 { font-size: clamp(47px, 13vw, 74px); line-height: 1.03; }
  .hero-copy h1 br:nth-of-type(2) { display: none; }
  .hero-copy h1 span::before { content: ' '; }
  .hero-copy p { font-size: 15px; margin-block: 20px; }
  .hero-visual > img { height: auto; aspect-ratio: 4/3; }
  .hero-house figcaption { font-size: 10px; }
  .motion-toggle { font-size: 10px; padding-inline: 9px; }
  .world-note { font-size: 9px; gap: 10px; padding-block: 18px; }
  .world-note > span:nth-child(3) { display: none; }
  .world-note > span:nth-child(2) { font-size: 18px; }
  .section { padding-block: 58px; }
  .eyebrow { font-size: 10px; margin-bottom: 16px; }
  h2 { font-size: 34px; }
  .section-heading p { font-size: 15px; }
  .family-stage { grid-template-columns: 1fr 1.1fr; gap: 22px; padding: 24px 18px; margin-bottom: 25px; }
  .portrait-paper { width: 100%; padding: 7px 7px 10px; }
  .portrait-paper img { height: auto; aspect-ratio: 2/3; }
  .portrait-caption { font-size: 8px; line-height: 1.4; margin-top: 7px; }
  .family-intro .eyebrow { margin-bottom: 10px; }
  .family-intro h3 { font-size: 26px; }
  .family-intro > p { font-size: 14px; margin-top: 12px; }
  .family-intro .text-link { font-size: 13px; line-height: 1.4; gap: 4px; margin-top: 12px; }
  .family-invitation { display: none; }
  .family-lineup { display: flex; overflow-x: auto; gap: 18px; padding: 8px 6px 20px; scroll-snap-type: x proximity; }
  .kitten { flex: 0 0 37%; scroll-snap-align: start; }
  .kitten-name { font-size: 18px; }
  .kitten-job { font-size: 12px; }
  .story-shelf { grid-template-columns: 1fr; gap: 50px; }
  .story-cake { margin-top: 0; }
  .story h3 { font-size: 32px; }
  .studio-layout { grid-template-columns: 1fr; gap: 38px; }
  .studio-intro h2 { font-size: 51px; }
  .studio-intro > p { font-size: 21px; margin-block: 20px; }
  .studio-star { display: inline-block; font-size: 35px; margin: 0 0 0 14px; }
  .skill-preview { border-left: 0; border-top: 1px solid #657460; padding: 34px 0 0; }
  .skill-preview h3 { font-size: 39px; }
  .letter { padding: 23px; transform: none; }
}

.family-scroll-note { display: none; }
@media (max-width:700px) { .family-scroll-note { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; } }
.studio-preview :focus-visible { outline-color: #f4d89c; }
