@font-face { font-family: Story; src: url("assets/title.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: Text; src: url("assets/text.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --cream: #fff6e6;
  --ink: #203c3b;
  --teal: #14555b;
  --orange: #ab4417;
  --line: #e7cba7;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 600 1.125rem/1.62 Text, system-ui, sans-serif; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #a73e16; outline-offset: 5px; }
.skip { position: absolute; left: 1rem; top: 1rem; transform: translateY(-200%); background: white; padding: .5rem 1rem; z-index: 2; }
.skip:focus { transform: none; }
.masthead, main, footer { width: min(100% - 3.5rem, 75rem); margin-inline: auto; }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 6rem; border-bottom: 1px solid var(--line); }
.masthead img { width: 12rem; }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: .25rem 1.5rem; font-size: 1rem; }
nav a { text-decoration: none; }
nav a:hover { text-decoration: underline; }
.hero { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; gap: clamp(1.8rem, 5vw, 5rem); padding-block: clamp(2rem, 6vw, 5.5rem); }
h1, h2, h3 { font-family: Story, Georgia, serif; font-weight: 400; line-height: 1; margin: 0; }
h1 { font-size: clamp(2.9rem, 6.3vw, 5.85rem); letter-spacing: -.055em; color: var(--teal); }
h1 em { color: var(--orange); font-style: normal; }
h2 { font-size: clamp(2.45rem, 5vw, 4.2rem); color: var(--teal); letter-spacing: -.035em; }
h3 { font-size: 2.15rem; color: var(--orange); }
p { margin: 1.05rem 0 1.55rem; max-width: 38ch; }
.hero-art { margin: 0; border: 7px solid #fffdf5; border-radius: 48% 48% 1.75rem 1.75rem / 23% 23% 1.75rem 1.75rem; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 12px 35px #6c42232a; }
.hero-art img { width: 100%; aspect-ratio: 1.25; object-fit: cover; }
.button { display: inline-flex; gap: .75rem; align-items: center; padding: .65rem 1.1rem; border: 2px solid var(--teal); background: var(--teal); color: #fffdf4; border-radius: 100vw; text-decoration: none; font-size: 1rem; }
.button:hover { background: #103d41; color: white; }
.button-outline { background: transparent; color: var(--teal); }
.sisters { padding: clamp(2.5rem, 5vw, 4rem) clamp(1.25rem, 5vw, 4rem); background: #f6e7c9; border: 1px solid var(--line); border-radius: 1.5rem; }
.sister-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 4rem; margin-top: 1.6rem; }
.sister-pair article + article h3 { color: var(--teal); }
.sister-pair p { margin: .65rem 0 0; }
.book { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(2rem, 7vw, 7rem); align-items: center; padding: clamp(3rem, 8vw, 7rem) 0; }
.book-art { position: relative; min-height: 1px; padding: 1rem 23% 1rem 5%; }
.cover { position: relative; width: 100%; border-radius: .45rem; box-shadow: 0 14px 25px #4c312e42; transform: rotate(-5deg); }
.sample { position: absolute; width: 54%; right: 4%; top: 11%; border: 8px solid #fff; box-shadow: 0 12px 20px #4c312e31; transform: rotate(10deg); }
.byline { margin: .75rem 0 0; color: var(--orange); }
footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem; padding-block: 1.35rem; border-top: 1px solid var(--line); font-size: .95rem; }
@media (max-width: 48rem) {
  .masthead, main, footer { width: min(100% - 2rem, 38rem); }
  .masthead { min-height: 4.8rem; }
  .masthead img { width: clamp(6.75rem, 28vw, 10rem); }
  nav { gap: .25rem .8rem; font-size: .88rem; }
  .hero, .book { grid-template-columns: 1fr; }
  .hero-art { max-width: 32rem; }
  .book-copy { grid-row: 1; }
}
@media (max-width: 28rem) {
  .sister-pair { grid-template-columns: 1fr; }
}
