:root {
  color-scheme: light;
  --navy: #071426;
  --ivory: #f7f4ec;
  --white: #fdfbf6;
  --muted: #4c5360;
  --brass: #b9934a;
  --line: #d8d0c0;
  --serif: Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; background: var(--ivory); color: var(--navy); font: 1rem/1.65 var(--sans); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
img { display: block; max-width: 100%; }
.wrap { width: min(100% - clamp(2.5rem, 10vw, 10rem), 77rem); margin-inline: auto; }

.skip { position: absolute; left: 1rem; top: 1rem; z-index: 3; padding: .5rem 1rem; background: var(--white); transform: translateY(-180%); }
.skip:focus { transform: none; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; padding-block: 1.25rem; border-bottom: 1px solid var(--line); }
.wordmark { display: block; flex: none; width: clamp(9.75rem, 16vw, 12rem); }
.wordmark img { width: 100%; height: auto; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.6rem); font-size: .9rem; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }

.intro h1 { font-size: clamp(3.25rem, 6vw, 6.4rem); letter-spacing: -.065em; line-height: .99; }
.intro h1 em { font-weight: inherit; }
.intro p { max-width: 30rem; margin-top: 1.55rem; color: var(--muted); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .9rem 1.5rem; margin-top: 1.6rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 1.1rem; padding: .75rem 1rem; background: var(--navy); color: var(--ivory); border: 1px solid var(--navy); text-decoration: none; }
.button:hover { background: var(--ivory); color: var(--navy); }
.button:focus-visible { outline-color: var(--navy); }
.text-link { font-size: .9rem; }
.services { background: var(--white); border-block: 1px solid var(--line); }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.4rem, 4vw, 3rem); }
.service { border-top: 2px solid var(--brass); padding-block: 1.15rem 0; }
.service h3, .steps h3 { font-size: clamp(1.35rem, 2.3vw, 2.05rem); letter-spacing: -.035em; }
.service p, .process-intro p, .steps p, .method p, .method dd { margin-top: .65rem; color: var(--muted); }
.process { border-bottom: 1px solid var(--line); }
.process-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 8vw, 7rem); }
.process-intro p { max-width: 24rem; margin-top: 1rem; }
.steps { list-style: none; counter-reset: stage; padding: 0; margin: 0; }
.steps li { display: grid; grid-template-columns: 2.3rem 1fr; gap: .85rem; counter-increment: stage; padding-block: 1rem; border-top: 1px solid var(--line); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(stage, decimal-leading-zero); align-self: start; color: var(--muted); font-weight: 600; font-size: .8rem; }
.method { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 8vw, 7rem); }
.method p { max-width: 24rem; margin-top: 1rem; }
.method dl { margin: 0; }
.method dl div { padding: 1rem 0; border-top: 1px solid var(--line); }
.method dl div:last-child { border-bottom: 1px solid var(--line); }
.method dt { font-weight: 650; }
.method dd { margin: .3rem 0 0; }

.catalog { background: var(--white); border-block: 1px solid var(--line); }
.section { padding-block: clamp(3rem, 7vw, 6.3rem); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem 2rem; margin-bottom: 2rem; }
.section h2 { font-size: clamp(2.25rem, 4.4vw, 4.45rem); letter-spacing: -.06em; }
.section-heading p { color: var(--muted); }
.books { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem); }
.cover { display: grid; place-items: center; padding: clamp(1.6rem, 3vw, 3rem); aspect-ratio: 1.6; }
.cover-script { background: #e8dfd1; }
.cover-quiet { background: #e0e5e2; }
.cover img { width: min(42%, 11rem); height: auto; box-shadow: 3px 6px 13px #090c1736; }
.book-content { padding-block: 1.35rem 0; }
.book-content h3 { font-size: clamp(1.65rem, 2.9vw, 2.85rem); letter-spacing: -.04em; }
.book-content p { margin-top: .55rem; max-width: 33rem; }
.subtitle { font-style: italic; }
.book-content .credit { color: var(--muted); font-size: .85rem; margin-top: .85rem; }
.book-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin-top: .95rem; font-size: .9rem; font-weight: 600; }
.book-links a:hover { text-decoration-thickness: 2px; }
.enquiry { background: var(--navy); color: var(--ivory); border-top: 3px solid var(--brass); }
.enquiry-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 2rem 4rem; align-items: center; }
.enquiry p { margin-top: 1rem; max-width: 30rem; }
.button-light { margin-top: 1.25rem; background: var(--ivory); color: var(--navy); border-color: var(--ivory); }
.button-light:hover { background: var(--navy); color: var(--ivory); }
.button-light:focus-visible { outline-color: var(--ivory); }
.brief { margin: 0; padding: 0; list-style: none; }
.brief li { padding: .7rem 0; border-top: 1px solid #f7f4ec54; }
.brief li:last-child { border-bottom: 1px solid #f7f4ec54; }
.footer { border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem; padding-block: 2.3rem; }
.footer h2 { font-size: 1.65rem; }
.footer p { font-size: .9rem; margin-top: .45rem; }


.author-intro { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.author-intro .intro p { max-width: 36rem; }
.options-note { margin-top: 1.75rem; color: var(--muted); }
.author-aside { padding: clamp(1.35rem, 3.5vw, 2.75rem); background: var(--white); border-top: 2px solid var(--brass); }
.author-aside h2 { font-size: clamp(1.55rem, 2.8vw, 2.35rem); letter-spacing: -.04em; }
.author-aside p { margin-top: .85rem; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding-block: 1.1rem; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 650; }
.faq details p { margin-top: .65rem; max-width: 43rem; color: var(--muted); }

.hub { --wine: #672c37; --blush: #f0ded6; --gold: #eac884; --panel: #fffdf9; }
.hub .wrap { width: min(100% - clamp(2rem, 7vw, 7.5rem), 79rem); }
.hub .header { min-height: 4.8rem; border-bottom: 0; }
.hub .section { padding-block: clamp(2.5rem, 5vw, 4.8rem); }
.hub nav { align-items: center; }
.hub .header nav { gap: clamp(.65rem, 2vw, 1.75rem); }
.nav-action { padding: .5rem .8rem; border: 1px solid var(--line); background: var(--panel); border-radius: .35rem; }
.hub-hero { background: radial-gradient(ellipse at 95% 20%, #253651, transparent 68%), var(--navy); color: var(--ivory); border-block: 1px solid #b9934a75; }
.hub-hero-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(1.5rem, 6vw, 5rem); padding-block: clamp(2.5rem, 5vw, 4.6rem); }
.hub-hero .intro h1 { font-size: clamp(2.45rem, 4.45vw, 4.9rem); }
.hub-hero .intro h1 em { color: var(--gold); }
.hub-hero .intro p { color: #f3e7dd; margin-top: 1rem; }
.hub-hero .intro .label { margin: 0 0 1rem; color: var(--gold); font-size: .8rem; }
.hub .button { border-radius: .38rem; }
.button-gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.button-gold:hover { background: var(--ivory); }
.button-gold:focus-visible { outline-color: var(--ivory); }
.hub-panel { border: 1px solid #eac88470; border-radius: .7rem; padding: clamp(1rem, 2.2vw, 1.75rem); background: #07142680; }
.hub-panel h2 { font-size: clamp(1.3rem, 2.5vw, 2rem); margin: .35rem .35rem .85rem; color: var(--gold); }
.hub-panel a { display: flex; justify-content: space-between; gap: .7rem; margin-top: .5rem; padding: .78rem .85rem; border: 1px solid #f7f4ec42; border-radius: .33rem; background: #f7f4ec0c; color: var(--ivory); text-decoration: none; }
.hub-panel a:hover { background: #f7f4ec24; }
.hub .section h2 { font-size: clamp(1.95rem, 3.7vw, 3.45rem); }
.hub .section-heading { margin-bottom: 1.45rem; }
.about-band { border-bottom: 1px solid var(--line); }
.about-band .section-heading p { max-width: 35rem; }
.team-heading { margin: 1.5rem 0 .9rem; font-size: clamp(1.35rem, 2.3vw, 2rem); }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.team-grid h4 { margin: 0; font: 400 1.5rem/1.2 var(--serif); }
.team-grid p { margin-top: .55rem; }
.team-grid .team-role { font-weight: 650; }
.team-grid .service-card { display: flex; flex-direction: column; }
.service-card .team-links, .team-books ul { padding: 0; list-style: none; }
.team-links { display: flex; flex-wrap: wrap; gap: .4rem; margin: 1rem 0; }
.team-links a { display: block; padding: .3rem .62rem; border: 1px solid var(--line); border-radius: .35rem; }
.team-links a:hover { background: var(--ivory); }
.team-books { margin-top: auto; padding-top: .85rem; border-top: 1px solid var(--line); }
.team-books h5 { margin: 0; font-size: .88rem; }
.team-books ul { display: grid; gap: .3rem; margin-top: .5rem; }
.service-card { border: 1px solid var(--line); border-top: 3px solid var(--brass); border-radius: .55rem; padding: 1.2rem; background: var(--panel); }
.service-grid .service-card ul { margin: .9rem 0 0; padding-left: 1.1rem; font-size: .88rem; }
.tools-band { background: var(--blush); border-bottom: 1px solid var(--line); }
.tool-layout { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(1rem, 3vw, 2.2rem); }
.tool-card { padding: clamp(1rem, 3vw, 1.7rem); border: 1px solid var(--line); border-radius: .65rem; background: var(--panel); }
.tool-card h3 { font-size: clamp(1.45rem, 2.6vw, 2.1rem); }
.tool-card p { color: var(--muted); margin-top: .55rem; }
.calc-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .7rem 1rem; margin-block: .85rem 1rem; }
.calc-fields label { font-size: .88rem; font-weight: 600; }
.calc-fields input { display: block; width: 100%; min-width: 0; margin-top: .3rem; padding: .5rem .6rem; border: 1px solid #a39987; border-radius: .3rem; font: inherit; color: var(--navy); }
.tool-card button { font: inherit; cursor: pointer; }
.tool-card output:not(:empty) { display: block; margin-top: .85rem; padding: .75rem; border: 1px solid var(--line); background: var(--ivory); font-weight: 600; }
.guide-list { display: grid; gap: .55rem; }
.guide-card { display: grid; align-content: center; gap: .15rem; padding: .72rem .95rem; background: var(--panel); border: 1px solid var(--line); border-radius: .45rem; text-decoration: none; }
.guide-card strong { color: var(--wine); }
.guide-card span { color: var(--muted); font-size: .88rem; }
.guide-card:hover strong { text-decoration: underline; }
.hub .author-aside { background: var(--blush); border-radius: .55rem; }
.hub .book { padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.hub .cover { border-radius: .55rem; }

.hub-footer { background: var(--navy); color: var(--ivory); }
.hub-footer .footer-inner { display: grid; grid-template-columns: 1.2fr 1.1fr 1fr 1fr; padding-block: clamp(1.8rem, 4vw, 3.2rem); }
.hub-footer .footer-brand h2 { display: flex; align-items: center; gap: .5rem; }
.hub-footer .footer-brand img { flex: none; }
.hub-footer .footer-inner nav { display: grid; align-content: start; gap: .45rem; font-size: .9rem; }
.hub-footer .footer-inner h3 { margin-bottom: .45rem; color: var(--gold); font: 650 .95rem/1.35 var(--sans); }
.hub-footer .footer-inner a { color: var(--ivory); }
.hub-footer .footer-inner a:hover { color: var(--gold); }
.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: .85rem; border-top: 1px solid #f7f4ec42; font-size: .85rem; }

@media (max-width: 760px) {
  .hub .header { flex-wrap: wrap; row-gap: .7rem; }
  .hub .header nav { flex-wrap: wrap; }
  .hub-footer .footer-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .process-layout, .method, .enquiry-layout, .author-intro, .hub-hero-inner, .tool-layout { grid-template-columns: 1fr; }
  .section-heading { flex-direction: column; }
}
@media (max-width: 530px) {
  .books, .service-grid, .team-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .header { flex-wrap: wrap; }
  nav { flex-wrap: wrap; gap: .5rem .75rem; font-size: .8rem; }
  .calc-fields { grid-template-columns: 1fr; }
}
