@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&display=swap');
:root{--red:#bb2b1b;--yellow:#ffd000;--purple:#642046;--ink:#25211f;--paper:#faf9f5;--line:#dedbd5}*{box-sizing:border-box}body{margin:0;color:var(--ink);background:var(--paper);font-family:'DM Sans',Arial,sans-serif;font-size:16px;line-height:1.6}a{color:inherit;text-underline-offset:5px}button,a{touch-action:manipulation}button{font:inherit}a:focus-visible,button:focus-visible{outline:3px solid var(--purple);outline-offset:5px}.tricolour{height:8px;background:linear-gradient(to right,var(--red) 0 33.33%,var(--yellow) 33.33% 66.66%,var(--purple) 66.66%)}header{max-width:1440px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:27px 5%;gap:24px;border-bottom:1px solid var(--line)}.brand{display:flex;gap:14px;align-items:center;text-decoration:none;font-weight:700;font-size:19px;line-height:1.1;letter-spacing:.025em}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--purple);color:var(--yellow);width:48px;height:48px;font-size:30px;font-family:Georgia,serif;letter-spacing:-7px;padding-right:7px}.brand-mark span{color:white}nav{display:flex;gap:30px;flex-wrap:wrap}nav a{text-decoration:none;font-size:15px;font-weight:600;padding:8px 0;border-bottom:2px solid transparent}nav a[aria-current]{border-color:var(--red)}main{max-width:1440px;margin:auto;padding:70px 5%}.eyebrow{font-size:14px;letter-spacing:.13em;text-transform:uppercase;font-weight:700;color:var(--red);margin:0 0 20px}h1,h2,h3,p{margin-top:0}h1,h2,h3{line-height:1.14}h1{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(42px,5.3vw,76px);letter-spacing:-.045em;font-weight:400;margin-bottom:25px}h2{font-family:'Libre Baskerville',Georgia,serif;font-size:clamp(28px,3vw,40px);font-weight:400;letter-spacing:-.025em}h3{font-size:22px}.hero{display:grid;grid-template-columns:1.2fr 1fr;gap:65px;align-items:center;min-height:470px}.hero p.lead{font-size:20px;max-width:530px;line-height:1.65}.hero em{color:var(--purple)}.button{display:inline-flex;align-items:center;justify-content:center;padding:15px 24px;text-decoration:none;border:1px solid var(--purple);background:var(--purple);color:white;font-weight:600;cursor:pointer}.button.secondary{background:transparent;color:var(--purple)}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.period{background:var(--purple);color:var(--paper);padding:45px;position:relative;min-height:450px;display:flex;flex-direction:column;justify-content:space-between}.period-label{font-size:14px;letter-spacing:.12em;text-transform:uppercase}.years{font-family:Georgia,serif;font-size:clamp(75px,9vw,130px);line-height:.95;letter-spacing:-.07em;font-weight:400}.years span{display:block;color:var(--yellow)}.period-bottom{display:flex;justify-content:space-between;border-top:1px solid #ffffff55;padding-top:20px;font-size:15px}.period:before{content:'';position:absolute;left:0;top:0;width:9px;height:100%;background:var(--red)}.section{margin-top:80px;padding-top:40px;border-top:1px solid var(--line)}.intro-grid{display:grid;grid-template-columns:1fr 1.4fr;gap:60px}.intro-grid p{max-width:670px;font-size:18px}.note{background:#f0ecef;padding:16px 20px;border-left:3px solid var(--purple);font-size:15px}.stats{display:flex;gap:45px;margin-top:24px}.stats b{font-family:Georgia,serif;font-size:40px;display:block;font-weight:400;line-height:1.1}.stats span{font-size:14px}.chapter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line)}.chapter-card{padding:28px 22px;text-decoration:none;border-right:1px solid var(--line);min-height:170px;transition:background .18s}.chapter-card:last-child{border:0}.chapter-card:hover{background:#eee8ed}.chapter-card b{color:var(--red);font-size:14px;letter-spacing:.07em;display:block;margin-bottom:28px}.chapter-card h3{font-family:Georgia,serif;font-weight:400;font-size:24px;margin-bottom:8px}.chapter-card span{font-size:14px;color:#666}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:20px;margin-bottom:26px}.section-head h2{margin:0}.page-intro{max-width:780px;margin-bottom:50px}.page-intro p{font-size:19px}.reader-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:60px;align-items:start}.contents{position:sticky;top:25px}.contents h2{font-family:inherit;font-size:14px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;margin-bottom:20px}.chapter-choice{display:block;width:100%;text-align:left;border:0;background:transparent;padding:15px 12px;border-bottom:1px solid var(--line);cursor:pointer;font-size:16px}.chapter-choice span{color:var(--red);margin-right:14px}.chapter-choice[aria-current]{background:var(--purple);color:white}.chapter-choice[aria-current] span{color:var(--yellow)}.reader-tools{display:flex;gap:10px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding-bottom:20px;flex-wrap:wrap;font-size:14px}.size-controls{display:flex;gap:6px;align-items:center}.size-controls button{border:1px solid var(--line);background:transparent;padding:5px 12px;cursor:pointer}.book{max-width:770px;margin:38px auto;font-family:'Libre Baskerville',Georgia,serif;font-size:18px;line-height:1.95}.book h2{font-size:39px;line-height:1.2;margin-bottom:15px}.book .latin-subtitle{font-style:italic;color:var(--purple);font-size:21px;margin-bottom:35px}.book p:first-of-type::first-letter{font-size:3.8em;float:left;line-height:.85;padding:9px 10px 0 0;color:var(--red)}.book blockquote{border-left:4px solid var(--yellow);margin:32px 0;padding:12px 25px;font-size:24px;color:var(--purple);font-style:italic;line-height:1.6}.reader-bottom{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--line);padding-top:24px;gap:12px}.reader-bottom button{background:transparent;border:1px solid var(--purple);padding:11px 20px;cursor:pointer;color:var(--purple)}button:disabled{opacity:.35;cursor:default}.download-grid{display:grid;grid-template-columns:1fr 1fr;gap:32px}.download-card{border:1px solid var(--line);padding:30px}.book-cover{background:var(--purple);color:white;min-height:280px;padding:35px;display:flex;flex-direction:column;justify-content:space-between;margin-bottom:28px}.book-cover.yellow{background:var(--yellow);color:var(--purple)}.book-cover h2{font-size:39px;margin:25px 0}.book-cover small{letter-spacing:.12em;text-transform:uppercase;font-size:13px}.download-card p{max-width:450px}.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.contact-panel{padding:35px;border:1px solid var(--line)}.contact-panel.purple{background:var(--purple);color:white}.contact-panel.purple .button{background:var(--yellow);color:var(--purple);border-color:var(--yellow)}.email{font-size:clamp(16px,2vw,24px);overflow-wrap:anywhere}.resource-list{border-top:1px solid var(--line)}.resource{display:grid;grid-template-columns:60px 1fr auto;gap:25px;align-items:center;padding:30px 0;border-bottom:1px solid var(--line)}.resource>span{color:var(--red);font-family:Georgia,serif;font-size:28px}.resource h2{font-size:28px;margin-bottom:8px}.resource p{margin-bottom:0;color:#666}.resource a{font-weight:600}footer{border-top:1px solid var(--line);max-width:1440px;margin:auto;padding:35px 5%;display:flex;flex-wrap:wrap;gap:15px 35px;align-items:center;font-size:14px}footer .footer-brand{font-weight:700;color:var(--purple);text-decoration:none}footer small{width:100%;font-size:13px;color:#666}.skip{position:absolute;top:-100px;left:10px;background:white;z-index:10;padding:10px}.skip:focus{top:10px}@media(max-width:900px){.hero{gap:30px}.period{padding:30px;min-height:400px}.chapter-grid{grid-template-columns:repeat(3,1fr)}.chapter-card{border-bottom:1px solid var(--line)}.reader-layout{grid-template-columns:210px 1fr;gap:30px}nav{gap:18px}.intro-grid{gap:30px}}@media(max-width:650px){header{align-items:start;flex-direction:column;padding-top:20px;padding-bottom:14px;gap:18px}nav{gap:10px 22px;width:100%}nav a{font-size:14px}main{padding-top:40px}.hero,.intro-grid,.contact-grid,.download-grid,.reader-layout{grid-template-columns:1fr;gap:30px}.hero{min-height:0}.period{min-height:340px}.years{font-size:95px}.section{margin-top:45px}.chapter-grid{grid-template-columns:1fr 1fr}.chapter-card{min-height:145px}.chapter-card:last-child{border-right:1px solid var(--line)}.section-head{align-items:start;flex-direction:column;gap:15px}.contents{position:static}.chapter-choice{padding:11px}.book{margin:25px auto;font-size:17px}.book h2{font-size:30px}.book blockquote{font-size:20px}.resource{grid-template-columns:30px 1fr;gap:18px}.resource a{grid-column:2}.reader-bottom{flex-wrap:wrap}.reader-bottom span{order:-1;width:100%}.stats{gap:30px}footer{overflow-wrap:anywhere}.contact-panel{padding:25px}.book-cover h2{font-size:32px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Shared header and footer. */
.header-banner,.footer-banner,header,footer{background:#fff}
header{padding-top:16px;padding-bottom:16px;flex-wrap:wrap}
.brand{flex-shrink:0}.group-logo{display:block;width:100px;height:auto;max-width:100%}
header nav{min-width:0;justify-content:flex-end;gap:8px 24px}
header nav a{min-height:44px;display:flex;align-items:center;justify-content:center}
footer{display:flex;flex-wrap:nowrap;justify-content:space-between;align-items:stretch;gap:20px;text-align:right}
footer .footer-brand{display:flex;align-items:center;flex:0 0 auto}
footer .footer-brand img{display:block;width:auto;height:100px;max-width:none;object-fit:contain}
footer .footer-copy{display:flex;flex-direction:column;align-items:flex-end;justify-content:space-between;gap:12px;min-width:0;text-align:right}
footer .footer-copy>span,footer .footer-copy>a,footer .footer-copy>.site-credit{margin:0;width:auto;max-width:100%;line-height:1.6;text-align:right;font-size:.875rem}
footer .footer-copy>a{overflow-wrap:anywhere;min-height:24px}
footer .site-credit{color:#131b34;white-space:normal}
footer .site-credit a{color:#2848dd;background:#f4fa63;padding:3px 6px;font-weight:700;text-decoration:none;display:inline-block;white-space:nowrap}
footer .site-credit a:hover{color:#131b34}footer .site-credit a:focus-visible{outline-color:#2848dd}
@media(max-width:900px){header nav{gap:6px 18px}footer{gap:12px}footer .footer-copy{flex:1}}
@media(max-width:650px){header{align-items:center;flex-direction:row;gap:12px;padding-top:16px;padding-bottom:16px}.group-logo{width:76px}header nav{flex:1 0 100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%;gap:4px 12px;min-width:0}header nav a{font-size:.875rem;overflow-wrap:anywhere}footer .footer-brand img{height:80px}}

.booking-layout{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);gap:48px;align-items:start}.booking-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.booking-fields label,#email-fallback label{display:flex;flex-direction:column;gap:8px;font-weight:600}.booking-fields .full-field{grid-column:1/-1}input,textarea{font:inherit;width:100%;min-width:0;padding:12px;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:0}textarea{resize:vertical}input:focus-visible,textarea:focus-visible{outline:2px solid var(--purple);outline-offset:2px}.form-help{font-size:14px;margin:24px 0}.booking-layout aside a{overflow-wrap:anywhere}.chapter-choice{white-space:normal;text-align:left;display:flex;gap:12px;align-items:baseline;line-height:1.45}.chapter-choice span{flex-shrink:0}.book h2{overflow-wrap:anywhere}.book h3{font-family:'Libre Baskerville',Georgia,serif;font-weight:400;font-size:1.3em;margin:36px 0 16px}.chapter-card h3{overflow-wrap:anywhere}@media(max-width:850px){.booking-layout{grid-template-columns:1fr;gap:30px}}@media(max-width:650px){.booking-fields{grid-template-columns:1fr}.reader-layout{gap:24px}.chapter-card{padding:22px 16px}.chapter-card h3{font-size:21px}}[hidden]{display:none!important}

[id]{scroll-margin-top:24px}

.history-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:28px 0}.history-highlights>div{border-top:2px solid var(--purple);padding-top:14px}.history-highlights dt{font-family:'Libre Baskerville',Georgia,serif;font-size:21px;line-height:1.3;color:var(--purple);margin-bottom:10px}.history-highlights dd{margin:0;font-size:15px;line-height:1.6}@media(max-width:1000px){.history-highlights{grid-template-columns:1fr;gap:18px}.history-highlights>div{padding-top:12px}.history-highlights dt{font-size:20px;margin-bottom:6px}}

/* Responsive audit: intrinsic grid sizing, reflow and consistent controls. */
html{-webkit-text-size-adjust:100%}body{font-size:1rem;min-width:0}img{max-width:100%}
main{min-width:0}main:focus{outline:none}h1,h2,h3{overflow-wrap:anywhere}
.hero{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}
.intro-grid{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr)}
.contact-grid,.download-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.hero>*,.intro-grid>*,.contact-grid>*,.download-grid>*,.reader-layout>*,.booking-layout>*{min-width:0}
.button,button{min-height:44px}.button{text-align:center;max-width:100%;overflow-wrap:anywhere}
.actions{align-items:center}.actions>a:not(.button){display:inline-flex;align-items:center;min-height:44px}
.chapter-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:var(--line)}
.chapter-card,.chapter-card:last-child{border:0;background:var(--paper);display:flex;flex-direction:column;min-width:0}
.chapter-card:hover{background:#eee8ed}.chapter-card span{margin-top:auto;padding-top:12px}.chapter-card b{margin-bottom:20px}
.chapter-card:focus-visible{outline-offset:-4px}
.book{font-size:1.125rem}.book h2{font-size:clamp(1.75rem,3vw,2.45rem)}.book[data-pending=true] p::first-letter{float:none;font:inherit;padding:0;color:inherit}
.chapter-choice span{margin-right:0}.size-controls button{min-width:44px}
.contents{max-height:calc(100dvh - 50px);overflow-y:auto}
.period-bottom{flex-wrap:wrap;gap:12px}.resource{grid-template-columns:60px minmax(0,1fr) auto}.resource p{overflow-wrap:anywhere}
.book-cover{padding:clamp(20px,3vw,35px)}.book-cover h2{font-size:clamp(1.6rem,3vw,2.45rem)}
.book-cover small{overflow-wrap:anywhere}.download-card{padding:clamp(20px,3vw,30px)}
select:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
@media(max-width:900px){.hero{grid-template-columns:1fr}.hero .period{min-height:340px}.reader-layout{grid-template-columns:1fr}.contents{position:static;max-height:none;overflow:visible}.intro-grid{grid-template-columns:1fr}}
@media(max-width:650px){.contact-grid,.download-grid{grid-template-columns:1fr}.chapter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.resource{grid-template-columns:30px minmax(0,1fr)}.book{font-size:1.125rem}.reader-bottom button{flex:1}.download-card .actions{align-items:flex-start;flex-direction:column}}
@media(max-width:440px){.chapter-grid{grid-template-columns:1fr}.chapter-card{min-height:0}.chapter-card b{margin-bottom:12px}.period{padding:24px}.period-label{font-size:.8125rem}.reader-bottom{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.reader-bottom span{grid-column:1/-1;grid-row:1}.reader-bottom button{padding:10px}.contact-panel{padding:20px}}
@media(max-height:600px) and (min-width:901px){.contents{position:static;max-height:none}}

/* Primary navigation: six destinations, with a progressive mobile disclosure. */
header{flex-wrap:nowrap}
header #main-navigation{display:flex;flex-wrap:nowrap;gap:8px 24px;width:auto;flex:0 1 auto}
header #main-navigation a{font-size:15px;white-space:nowrap;padding:8px 2px;min-height:44px}
header #main-navigation a:hover{border-bottom-color:var(--purple)}
.menu-toggle{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:10px 16px;background:#fff;color:var(--purple);border:1px solid var(--purple);border-radius:3px;font-weight:600;cursor:pointer}
.menu-icon{width:18px;height:12px;border-top:2px solid currentColor;border-bottom:2px solid currentColor;position:relative}
.menu-icon::after{content:'';position:absolute;top:3px;left:0;width:100%;border-top:2px solid currentColor}
.menu-toggle[aria-expanded="true"] .menu-icon{border-color:transparent}
.menu-toggle[aria-expanded="true"] .menu-icon::before,.menu-toggle[aria-expanded="true"] .menu-icon::after{content:'';position:absolute;top:3px;left:0;width:100%;border-top:2px solid currentColor;transform:rotate(45deg)}
.menu-toggle[aria-expanded="true"] .menu-icon::after{transform:rotate(-45deg)}
footer .footer-nav{display:flex;flex-wrap:wrap;gap:8px 24px;margin-left:auto;width:auto}
footer .footer-nav a{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;font-size:14px;white-space:nowrap}
footer .footer-nav a:hover{text-decoration:underline}
@media(max-width:960px){
 header{flex-wrap:wrap;align-items:center;flex-direction:row;gap:12px;padding-top:16px;padding-bottom:16px}
 .group-logo{width:76px}
 .menu-toggle{margin-left:auto}
 header #main-navigation{display:flex;flex-direction:column;align-items:stretch;flex:1 0 100%;width:100%;gap:0;border-top:1px solid var(--line);padding-top:8px}
 header #main-navigation a{justify-content:flex-start;padding:12px 16px;font-size:16px;min-height:48px;border-bottom:0;border-left:3px solid transparent}
 header #main-navigation a[aria-current]{border-left-color:var(--red);background:#f5f0f3;color:var(--purple)}
 header #main-navigation a:hover{background:#f5f0f3}
}
@media(max-width:650px){footer .footer-nav{flex:1 0 100%;margin-left:0;border-top:1px solid var(--line);padding-top:12px;gap:8px 24px}}


/* Footer hierarchy: identity and contact, supporting links, then a quiet credit. */
footer{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:24px 28px;text-align:left}
footer .footer-brand{grid-column:1;grid-row:1}
footer .footer-copy{grid-column:2;grid-row:1;align-items:flex-start;justify-content:center;gap:6px;text-align:left}
footer .footer-copy>span,footer .footer-copy>a{text-align:left;font-size:.875rem}
footer .footer-nav{grid-column:3;grid-row:1;justify-content:flex-end;align-self:center;margin:0;gap:8px 24px}
footer>.site-credit{grid-column:1/-1;grid-row:2;display:block;width:100%;margin:0;border-top:1px solid var(--line);padding-top:18px;text-align:left;font-size:.8125rem;line-height:1.6;color:#666}
/* Preserve askcal.co.uk’s blue and yellow brand within the separate credit row. */
footer .site-credit a{color:#2848dd;background:#f4fa63;padding:3px 6px;font-weight:700;text-decoration:none}
footer .site-credit a:hover{color:#2848dd;text-decoration:underline}
@media(max-width:900px){
 footer{grid-template-columns:auto minmax(0,1fr);gap:20px 24px}
 footer .footer-nav{grid-column:1/-1;grid-row:2;justify-content:flex-start;border:0;padding:0;width:auto}
 footer>.site-credit{grid-row:3}
}
@media(max-width:440px){
 footer{column-gap:16px}
 footer .footer-brand img{height:64px}
 footer .footer-copy>a{font-size:.8125rem}
}
