/* Melissa Serrurier: soft pinks with earthy tones. */
:root {
  --sand: #fbf6f2;
  --blush: #f4e4df;
  --blush-deep: #ecd2ca;
  --rose: #c48b80;
  --terracotta: #9f5a45;
  --terracotta-dark: #7e4433;
  --ochre: #c08a4c;
  --eucalypt: #6f7559;
  --earth: #3d2b25;
  --muted: #6e5a52;
  --line: #e7d6cf;
  --white: #ffffff;
  --radius: 18px;
  --max: 1120px;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--sand); color: var(--earth); font-family: var(--sans); font-size: 18px; line-height: 1.7; }
img { max-width: 100%; display: block; }
a { color: var(--terracotta); }
a:hover { color: var(--terracotta-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; color: var(--earth); line-height: 1.12; margin: 0; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251, 246, 242, 0.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }
.brand { text-decoration: none; color: var(--earth); line-height: 1.1; }
.brand:hover { color: var(--earth); }
.brand strong { display: block; font-family: var(--serif); font-size: 27px; font-weight: 600; letter-spacing: 0.2px; }
.brand span { display: block; font-size: 12px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--terracotta); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--earth); text-decoration: none; font-size: 16px; font-weight: 600; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--terracotta); }
.nav a[aria-current="page"] { color: var(--terracotta); border-bottom-color: var(--rose); }
.nav a.nav-cta { background: var(--terracotta); color: var(--white); padding: 10px 20px; border-radius: 999px; border: 0; }
.nav a.nav-cta:hover, .nav a.nav-cta[aria-current="page"] { background: var(--terracotta-dark); color: var(--white); }
.nav-group { position: relative; }
.nav a.nav-parent { display: inline-flex; align-items: center; gap: 5px; }
.nav a.nav-parent[aria-current] { color: var(--terracotta); border-bottom-color: var(--rose); }
.nav-group:hover .nav-parent svg, .nav-group:focus-within .nav-parent svg { transform: rotate(180deg); }
.nav-parent svg { transition: transform 0.2s; }
/* The padding-top bridges the gap so the menu stays open while the pointer moves down to it. */
.nav-drop { position: absolute; left: -14px; top: 100%; padding-top: 10px; min-width: 230px; visibility: hidden; opacity: 0; transform: translateY(-4px); transition: opacity 0.15s, transform 0.15s, visibility 0.15s; }
.nav-group:hover .nav-drop, .nav-group:focus-within .nav-drop { visibility: visible; opacity: 1; transform: none; }
.nav-drop::before { content: ""; position: absolute; inset: 10px 0 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(61, 43, 37, 0.16); }
.nav-drop a { position: relative; display: block; padding: 10px 14px; margin: 0 8px; border: 0; border-radius: 10px; }
.nav-drop a:first-child { margin-top: 8px; }
.nav-drop a:last-child { margin-bottom: 8px; }
.nav-drop a:hover, .nav-drop a[aria-current="page"] { background: var(--blush); color: var(--terracotta-dark); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: var(--earth); box-shadow: inset 0 0 0 1.5px var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: 56px; width: 240px; background: var(--white); border-radius: 16px; box-shadow: 0 18px 40px rgba(61, 43, 37, 0.16); border: 1px solid var(--line); padding: 8px; display: flex; flex-direction: column; }
.menu-panel a { padding: 12px 14px; border-radius: 10px; color: var(--earth); text-decoration: none; font-weight: 600; }
.menu-panel a:hover, .menu-panel a[aria-current="page"] { background: var(--blush); color: var(--terracotta-dark); }
.menu-label { padding: 12px 14px 4px; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.menu-panel a.menu-sub { padding-left: 26px; }
.coming-soon { margin: 0; padding: 34px; text-align: center; color: var(--muted); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none; letter-spacing: 0.2px; }
.btn-primary { background: var(--terracotta); color: var(--white); }
.btn-primary:hover { background: var(--terracotta-dark); color: var(--white); }
.btn-outline { color: var(--terracotta-dark); box-shadow: inset 0 0 0 1.5px var(--rose); }
.btn-outline:hover { background: var(--blush); color: var(--terracotta-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Home hero */
.hero { background: linear-gradient(160deg, var(--blush) 0%, var(--sand) 70%); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; color: var(--terracotta); margin: 0 0 16px; }
.hero h1 { font-size: clamp(40px, 5vw, 60px); margin-bottom: 22px; }
.hero .lead { font-size: 20px; color: var(--muted); margin: 0 0 32px; max-width: 32em; }

/* Photo of Melissa (placeholder until the real photo is added) */
.portrait { position: relative; justify-self: center; width: min(430px, 100%); }
.portrait::before { content: ""; position: absolute; inset: 28px -26px -26px 28px; border-radius: 220px 220px 24px 24px; background: var(--rose); opacity: 0.35; }
.portrait img, .portrait .photo-placeholder { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 220px 220px 24px 24px; }
.photo-placeholder { display: grid; place-items: center; text-align: center; background: linear-gradient(170deg, var(--blush-deep), #d9b3a7); color: var(--terracotta-dark); font-family: var(--serif); font-size: 26px; padding: 30px; }

/* Sections */
section { padding: 92px 0; }
.section-head { max-width: 44em; margin: 0 0 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 50px); margin-bottom: 14px; }
.section-head p { color: var(--muted); margin: 0; font-size: 19px; }
.tint { background: var(--blush); }
.dark { background: var(--earth); color: #f4e7e1; }
.dark h2, .dark h3 { color: var(--white); }
.dark .section-head p { color: #e4cfc6; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--white); border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.card h3 { font-size: 27px; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 17px; }
.card .num { font-family: var(--serif); font-size: 40px; color: var(--rose); line-height: 1; margin-bottom: 12px; }
.dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.dark .card p { color: #e4cfc6; }

.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: center; }
.quote { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 38px); line-height: 1.3; color: var(--terracotta-dark); margin: 0; }

/* Page intro (inner pages) */
.page-intro { background: linear-gradient(160deg, var(--blush) 0%, var(--sand) 80%); padding: 76px 0 64px; }
.page-intro h1 { font-size: clamp(42px, 5.6vw, 64px); margin-bottom: 14px; }
.page-intro p { font-size: 20px; color: var(--muted); max-width: 38em; margin: 0; }

.prose { max-width: 760px; }
.prose p { margin: 0 0 22px; }
.prose h2 { font-size: 36px; margin: 48px 0 14px; }
.prose ul { padding-left: 22px; margin: 0 0 22px; }
.prose li { margin-bottom: 8px; }

/* Books */
.book { display: grid; grid-template-columns: 260px 1fr; gap: 44px; align-items: start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.book + .book { margin-top: 26px; }
.book-cover { aspect-ratio: 2 / 3; border-radius: 10px; box-shadow: 0 18px 36px rgba(61, 43, 37, 0.18); object-fit: cover; width: 100%; }
.cover-placeholder { display: grid; place-items: center; text-align: center; padding: 20px; background: linear-gradient(170deg, var(--ochre), var(--terracotta)); color: var(--white); font-family: var(--serif); font-size: 24px; }
.book h2, .book h3 { font-size: 36px; margin-bottom: 6px; }
.book .meta { color: var(--terracotta); font-weight: 700; font-size: 15px; letter-spacing: 1px; text-transform: uppercase; margin: 0 0 16px; }
.book p { color: var(--muted); margin: 0 0 22px; }
.tag { display: inline-block; background: var(--blush); color: var(--terracotta-dark); font-size: 13px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }

/* Children's book */
.kids-hero { background: linear-gradient(160deg, #f6dcd4 0%, var(--blush) 45%, #f3e6cf 100%); }
.kids-hero .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 60px; align-items: center; padding-top: 80px; padding-bottom: 80px; }
.kids-hero .book-cover { max-width: 360px; justify-self: center; }
.kids-hero h1 { font-size: clamp(44px, 6vw, 70px); margin-bottom: 18px; }
.kids-hero .lead { font-size: 20px; color: var(--muted); margin: 0 0 30px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin: 0; }
.facts div { background: var(--white); border-radius: 14px; padding: 18px 20px; border: 1px solid var(--line); }
.facts dt { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--terracotta); }
.facts dd { margin: 4px 0 0; font-family: var(--serif); font-size: 22px; }

/* Contact */
/* Contact form */
.contact-layout { display: grid; grid-template-columns: 1.55fr 1fr; gap: 34px; align-items: start; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 44px; box-shadow: 0 24px 50px rgba(61, 43, 37, 0.07); }
.form-card h2 { font-size: 36px; margin-bottom: 6px; }
.form-intro { color: var(--muted); font-size: 16px; margin: 0 0 28px; }
.req { color: var(--terracotta); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 16px; margin-bottom: 6px; }
.field-hint { color: var(--muted); font-size: 15px; margin: -2px 0 8px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 17px; color: var(--earth); background: var(--sand); border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; transition: border-color 0.15s, box-shadow 0.15s, background 0.15s; }
.field textarea { resize: vertical; min-height: 160px; line-height: 1.55; }
.field select { appearance: none; padding-right: 42px; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%239f5a45' d='M6 9l6 6 6-6z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.field input::placeholder { color: #a8968e; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background-color: var(--white); border-color: var(--rose); box-shadow: 0 0 0 4px rgba(196, 139, 128, 0.22); }
.event-fields { border: 0; margin: 4px 0 20px; padding: 22px 22px 2px; background: var(--blush); border-radius: 16px; }
.event-fields legend { float: left; width: 100%; padding: 0; margin-bottom: 14px; font-family: var(--serif); font-size: 24px; font-weight: 600; }
.event-fields .field-row { clear: both; }
.event-fields .field input { background-color: var(--white); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { background: #fbe9e5; border: 1px solid #ecc4ba; color: var(--terracotta-dark); border-radius: 12px; padding: 12px 16px; margin: 0 0 18px; font-size: 16px; }
.enquiry-form .btn { border: 0; cursor: pointer; font-family: inherit; padding: 15px 34px; }
.enquiry-form .btn:disabled { opacity: 0.65; cursor: progress; }
.form-done { text-align: center; padding: 30px 10px; outline: none; }
.form-done-icon { display: inline-grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: var(--blush); color: var(--terracotta); margin-bottom: 18px; }
.form-done p { color: var(--muted); margin: 8px auto 26px; max-width: 26em; }
.contact-aside { display: grid; gap: 20px; }
.aside-block { background: var(--blush); border-radius: 24px; padding: 32px; }
.aside-block h2 { font-size: 28px; margin-bottom: 8px; }
.aside-block p { color: var(--muted); margin: 0 0 16px; font-size: 17px; }
.aside-block .checklist { margin-bottom: 18px; }
.aside-link { font-weight: 700; text-decoration: none; }
.aside-link:hover { text-decoration: underline; }
.aside-email { background: var(--earth); color: #f4e7e1; }
.aside-email h2 { color: var(--white); }
.aside-email p { color: #e4cfc6; }
.aside-email a { color: var(--white); font-weight: 700; word-break: break-all; }
.checklist { list-style: none; padding: 0; margin: 0 0 24px; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 8px; color: var(--muted); }
.checklist li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 9px; height: 9px; border-radius: 50%; background: var(--rose); }

.cta-band { text-align: center; }
.cta-band h2 { font-size: clamp(34px, 4.4vw, 48px); margin-bottom: 14px; }
.cta-band p { color: var(--muted); margin: 0 auto 30px; max-width: 34em; }
.cta-band .btn-row { justify-content: center; }

/* Footer */
.site-footer { background: var(--earth); color: #e4cfc6; padding: 54px 0 40px; font-size: 16px; }
.acknowledgement { max-width: 46em; margin: 0 0 30px; font-family: var(--serif); font-size: 21px; line-height: 1.5; color: #f4e7e1; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.footer-row nav { display: flex; flex-wrap: wrap; gap: 22px; }
.site-footer a { color: #f4e7e1; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

/* Tablets and phones */
@media (max-width: 920px) {
  .nav { display: none; }
  .menu { display: block; }
  .hero .wrap, .split, .kids-hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  .hero .wrap { padding-top: 48px; padding-bottom: 64px; }
  .portrait { width: min(340px, 86%); }
  .cards { grid-template-columns: 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .book { grid-template-columns: 1fr; }
  .book-cover { max-width: 260px; }
  .facts { grid-template-columns: 1fr 1fr; }
  section { padding: 68px 0; }
}
@media (max-width: 520px) {
  body { font-size: 17px; }
  .brand strong { font-size: 23px; }
  .book, .card, .aside-block { padding: 24px; }
  .form-card { padding: 28px 22px; }
  .field-row { grid-template-columns: 1fr; }
}

/* Smooth cross-fade between pages (supported browsers). */
@view-transition { navigation: auto; }

/* "Unique Just Like Me" page: themed on the book's cover — sky and ice blues, teal
   lettering, Pip's red beanie and orange beak, with rounded, friendly headings. */
.theme-unique {
  --sand: #f2faff;
  --blush: #dff2fc;
  --blush-deep: #c4e7f8;
  --rose: #6cc4ea;
  --terracotta: #0e7c95;
  --terracotta-dark: #0a6074;
  --earth: #12384c;
  --muted: #426779;
  --line: #cfe7f3;
  --beanie: #d93b33;
  --beanie-dark: #b42c25;
  --beak: #f39324;
  --serif: "Fredoka", "Baloo 2", "Trebuchet MS", sans-serif;
}
.theme-unique h1, .theme-unique h2, .theme-unique h3 { font-weight: 600; letter-spacing: -0.3px; }
.theme-unique .site-header { background: rgba(242, 250, 255, 0.95); }
.theme-unique .brand strong { font-family: "Cormorant Garamond", Georgia, serif; }
.theme-unique .btn-primary, .theme-unique .nav a.nav-cta { background: var(--beanie); }
.theme-unique .btn-primary:hover, .theme-unique .nav a.nav-cta:hover { background: var(--beanie-dark); }
.theme-unique .site-footer { background: #0e3247; }
.theme-unique .site-footer .acknowledgement { font-family: "Cormorant Garamond", Georgia, serif; }
.theme-unique .card .num, .theme-unique .facts dt { color: var(--beak); }
.theme-unique .kids-hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(120px 46px at 12% 22%, rgba(255, 255, 255, 0.95) 60%, transparent 62%),
    radial-gradient(90px 34px at 18% 18%, rgba(255, 255, 255, 0.95) 60%, transparent 62%),
    radial-gradient(150px 52px at 86% 14%, rgba(255, 255, 255, 0.9) 60%, transparent 62%),
    radial-gradient(100px 38px at 92% 10%, rgba(255, 255, 255, 0.9) 60%, transparent 62%),
    linear-gradient(180deg, #8fd3f4 0%, #bfe7f9 55%, #e8f6fd 100%);
}
.theme-unique .kids-hero::after {
  /* Icy hills along the bottom of the hero. */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; pointer-events: none;
  background:
    radial-gradient(60% 120% at 20% 100%, #ffffff 48%, transparent 50%),
    radial-gradient(55% 110% at 75% 100%, #f2faff 48%, transparent 50%);
}
.theme-unique .kids-hero .wrap { position: relative; z-index: 1; }
.theme-unique .kids-hero .eyebrow { color: var(--terracotta-dark); }
.theme-unique .kids-hero h1 { color: #0b6b82; }
.theme-unique .kids-hero .lead { color: #234f63; }
.theme-unique .kids-hero .book-cover { aspect-ratio: 1 / 1; max-width: 420px; border-radius: 18px; border: 6px solid #ffffff; }
.theme-unique .tint { background: var(--blush); }
.book-cover.square { aspect-ratio: 1 / 1; }
.book-cover.natural { aspect-ratio: auto; }
.theme-unique .kids-hero h1 { font-size: clamp(40px, 4.6vw, 58px); }

/* Collaborative work: a featured quote panel, then an editorial list of every piece. */
.work-feature-section { padding-bottom: 0; }
.work-feature { position: relative; border-radius: 28px; overflow: hidden; background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 50px rgba(61, 43, 37, 0.08); }
/* Slides share one grid cell, so the card keeps the height of the tallest and never jumps. */
.work-slides { display: grid; }
.work-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; opacity: 0; visibility: hidden; transition: opacity 0.6s ease, visibility 0.6s; }
.work-slide.is-active { opacity: 1; visibility: visible; }
.work-feature-panel { position: relative; margin: 0; padding: 56px; background: radial-gradient(circle at 85% 110%, rgba(196, 139, 128, 0.45), transparent 55%), var(--earth); color: #f4e7e1; display: flex; flex-direction: column; justify-content: center; align-items: center; }
.work-feature-quote { align-items: flex-start; padding-top: 72px; }
.work-feature-quote::before { content: "“"; position: absolute; top: 6px; left: 44px; font-family: var(--serif); font-size: 160px; line-height: 1; color: var(--rose); opacity: 0.7; }
.work-feature-quote p { position: relative; font-family: var(--serif); font-size: clamp(30px, 3.2vw, 40px); line-height: 1.25; margin: 0 0 26px; color: var(--white); }
.work-feature-quote footer { font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #e4cfc6; }
.work-feature-quote cite { font-style: normal; color: var(--rose); }
.work-feature-cover { width: min(230px, 70%); border-radius: 8px; box-shadow: 0 24px 44px rgba(0, 0, 0, 0.4); transform: rotate(-3deg); }
.work-feature-photo { width: min(250px, 72%); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 160px 160px 18px 18px; box-shadow: 0 0 0 10px rgba(196, 139, 128, 0.28); }
.work-feature-fact { text-align: center; gap: 10px; }
.work-feature-icon { display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: rgba(196, 139, 128, 0.25); color: var(--rose); margin-bottom: 14px; }
.work-feature-fact strong { font-family: var(--serif); font-size: clamp(32px, 3.4vw, 42px); font-weight: 600; line-height: 1.1; color: var(--white); }
.work-feature-fact span:last-child { font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #e4cfc6; }
.work-feature-body { padding: 56px 52px 110px; }
.work-feature-body h2 { font-size: clamp(30px, 3.2vw, 40px); margin-bottom: 18px; }
.work-feature-body p:not(.eyebrow) { color: var(--muted); margin: 0 0 30px; }
/* Controls appear only once the script is running. */
.work-controls { display: none; position: absolute; right: 52px; bottom: 36px; align-items: center; gap: 10px; }
.work-feature.is-ready .work-controls { display: flex; }
.work-arrow { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--white); color: var(--terracotta-dark); box-shadow: inset 0 0 0 1.5px var(--line); cursor: pointer; }
.work-arrow:hover { background: var(--blush); }
.work-arrow:focus-visible, .work-dot:focus-visible { outline: 2px solid var(--terracotta); outline-offset: 2px; }
.work-toggle .icon-play, .work-toggle.is-paused .icon-pause { display: none; }
.work-toggle.is-paused .icon-play { display: block; }
.work-dots { display: flex; gap: 4px; }
.work-dot { width: 26px; height: 26px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.work-dot::before { content: ""; width: 9px; height: 9px; border-radius: 999px; background: var(--blush-deep); transition: width 0.3s, background 0.3s; }
.work-dot[aria-current="true"]::before { width: 24px; background: var(--terracotta); }
@media (prefers-reduced-motion: reduce) { .work-slide { transition: none; } }

.work-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.work-list li { border-bottom: 1px solid var(--line); }
.work-row { display: grid; grid-template-columns: 90px 84px 1fr auto; gap: 30px; align-items: center; padding: 30px 18px; margin: 0 -18px; border-radius: 16px; text-decoration: none; color: inherit; transition: background 0.2s; }
.work-row:hover { background: var(--white); color: inherit; }
.work-date { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); line-height: 1.3; }
.work-date strong { display: block; font-family: var(--serif); font-size: 34px; letter-spacing: 0; color: var(--terracotta); }
.work-thumb { width: 84px; height: 104px; border-radius: 10px; object-fit: cover; box-shadow: 0 10px 22px rgba(61, 43, 37, 0.16); }
.work-icon { display: grid; place-items: center; background: linear-gradient(160deg, var(--blush-deep), var(--blush)); color: var(--terracotta); box-shadow: none; }
.work-body { display: flex; flex-direction: column; gap: 6px; }
.work-meta { font-size: 13px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--terracotta); }
.work-title { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.15; color: var(--earth); }
.work-summary { color: var(--muted); font-size: 17px; max-width: 40em; }
.work-go { font-weight: 700; color: var(--terracotta); white-space: nowrap; }
.work-go span { display: inline-block; transition: transform 0.2s; }
.work-row:hover .work-go span { transform: translateX(4px); }

@media (max-width: 920px) {
  .work-slide { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
  /* A fixed panel height keeps slides with a picture from making quote slides look empty. */
  .work-feature-panel { height: 300px; padding: 32px; }
  .work-feature-quote { padding-top: 84px; justify-content: flex-start; }
  .work-feature-quote::before { top: 4px; left: 26px; font-size: 110px; }
  .work-feature-quote p { font-size: 28px; margin-bottom: 18px; }
  .work-feature-cover, .work-feature-photo { width: auto; height: 220px; }
  .work-feature-body { padding: 32px 32px 96px; }
  .work-controls { left: 32px; right: 32px; bottom: 28px; justify-content: space-between; }
  .work-row { grid-template-columns: 64px 1fr; gap: 6px 20px; align-items: start; }
  .work-date { grid-column: 2; grid-row: 1; }
  .work-date strong { display: inline; font-size: 15px; font-family: var(--sans); margin-left: 6px; }
  .work-thumb { grid-row: 1 / span 3; width: 64px; height: 80px; }
  .work-body, .work-go { grid-column: 2; }
  .work-title { font-size: 24px; }
}

/* Home page "Her work" cards: each card is one link, with a proof point from her real work. */
.impact-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.impact-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 34px 32px 30px; text-decoration: none; color: inherit; position: relative; overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.impact-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--terracotta), var(--rose)); transform: scaleX(0); transform-origin: left; transition: transform 0.35s ease; }
.impact-card:hover { color: inherit; transform: translateY(-4px); border-color: var(--blush-deep); box-shadow: 0 22px 44px rgba(61, 43, 37, 0.1); }
.impact-card:hover::before, .impact-card:focus-visible::before { transform: scaleX(1); }
.impact-card:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.impact-top { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.impact-icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--blush); color: var(--terracotta); }
.impact-label { font-size: 14px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--terracotta); }
.impact-heading { font-family: var(--serif); font-size: clamp(28px, 2.6vw, 34px); font-weight: 600; line-height: 1.1; color: var(--earth); margin-bottom: 14px; }
.impact-text { color: var(--muted); font-size: 17px; line-height: 1.65; margin-bottom: 24px; }
.impact-proof { margin-top: auto; min-height: 88px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--muted); }
.impact-proof strong { display: block; font-size: 12px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--earth); margin-bottom: 2px; }
.impact-link { margin-top: 18px; font-weight: 700; color: var(--terracotta); }
.impact-link span { display: inline-block; transition: transform 0.2s; }
.impact-card:hover .impact-link span { transform: translateX(4px); }
@media (max-width: 920px) { .impact-cards { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .impact-card, .impact-card::before { transition: none; } }
.quote-block { margin: 0; }
.quote-block figcaption { margin-top: 18px; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.quote-block cite { font-style: italic; text-transform: none; letter-spacing: 0; font-size: 17px; }
.human-check { margin: 4px 0 20px; min-height: 65px; }
