.directory-page {
  color:var(--shade-05,#3f434a);
  background:var(--shade-100,#fff);
  font-family:var(--font-family-system);
}
.directory-page *, .directory-page *::after { box-sizing:border-box; }
.directory-wrap,
body:has(.directory-page) header .css-14sxjjd:has(.navbar) { width:calc(100% - clamp(40px,8vw,112px)); max-width:1200px; margin-inline:auto; }
.directory-page :is(h1,h2), .directory-jumps {
  font-family:var(--font-family-title);
  font-weight:var(--font-weight-medium);
}
.directory-page :is(h1,h2) { line-height:var(--line-height-normal); letter-spacing:normal; }
.directory-page :is(h1,h2,h3,p,ul) { margin:0; }
.directory-page h1 { font-size:64px; }
.directory-page h2 { font-size:var(--font-size-2); }
.directory-page p { font-size:1.0625rem; line-height:1.5; }
.directory-hero { background:var(--moon-dust-lighter,#fdf9f4); border-bottom:1px solid #e9e5df; }
.directory-hero-inner {
  display:grid; grid-template-columns:1.2fr .8fr; gap:clamp(32px,6vw,88px); align-items:center;
  padding-block:clamp(38px,4.5vw,72px) clamp(48px,5vw,80px);
}
.directory-lead { padding-block:4px; }
.directory-lead > p { max-width:32em; margin-top:20px; font-size:clamp(1.125rem,1.5vw,1.375rem); line-height:1.45; }
.directory-hero-art { width:100%; max-width:390px; margin-inline:auto; }
.directory-hero-art img { display:block; width:100%; height:auto; }
.directory-jumps { display:flex; flex-wrap:wrap; gap:8px; margin-top:28px; }
.directory-jumps a {
  display:inline-flex; align-items:center; min-height:42px; padding:7px 16px;
  border:1px solid #c8c3bb; border-radius:99px; text-decoration:none; font-size:1rem; color:inherit;
}
.directory-jumps a:hover { background:#ede5da; border-color:#a8a29b; }
.directory-page a:focus-visible, .directory-help summary:focus-visible { outline:3px solid #2262b6; outline-offset:4px; }
.directory-catalogue { padding-block:clamp(42px,5.5vw,80px) clamp(56px,6vw,96px); }
.directory-group { scroll-margin-top:116px; }
.directory-group + .directory-group { border-top:1px solid #e6e4e0; padding-top:clamp(38px,4.75vw,72px); margin-top:clamp(38px,4.75vw,72px); }
.directory-group-heading { display:flex; align-items:end; justify-content:space-between; gap:40px; margin-bottom:clamp(20px,2.2vw,32px); }
.directory-group-heading p { max-width:34rem; flex-basis:47%; }
.directory-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:clamp(16px,2vw,28px); padding:0; list-style:none; }
.directory-grid[data-columns="2"] { grid-template-columns:repeat(2,minmax(0,1fr)); }
.directory-grid > li { display:flex; min-width:0; }
.directory-card {
  display:flex; width:100%; height:100%; flex-flow:column; overflow:hidden; isolation:isolate;
  border:1px solid #d9dbe0; border-radius:18px; background:#fff; color:inherit; text-decoration:none;
}
.directory-card:hover { border-color:#8c9096; }
.directory-card:hover h3 { text-decoration:underline; text-underline-offset:.13em; text-decoration-thickness:1.5px; }
.directory-card-art { position:relative; display:grid; place-items:center; height:clamp(138px,14vw,188px); background:var(--tool-colour); }
.directory-card-art img { width:min(87%,300px); height:90%; object-fit:contain; display:block; }
.directory-card-copy { padding:clamp(17px,1.7vw,26px); }
.directory-card h3 { font:var(--font-weight-bold) 20px/1.25 var(--font-family-system); letter-spacing:normal; }
.directory-card p { margin-top:8px; font-size:1rem; line-height:1.5; }
.directory-grid[data-columns="2"] .directory-card { flex-direction:row-reverse; }
.directory-grid[data-columns="2"] .directory-card-art { width:34%; height:auto; min-height:158px; flex:none; }
.directory-grid[data-columns="2"] .directory-card-copy { align-self:center; }
.directory-help { background:var(--moon-dust,#f8efe4); }
.directory-help-inner {
  padding-block:clamp(46px,6vw,88px);
  display:grid; align-items:start; grid-template-columns:.78fr 1.22fr; gap:clamp(32px,5vw,82px);
}
.directory-help h2 { max-width:9em; }
.directory-help details { border-bottom:1px solid #cfc6bb; }
.directory-help details:first-child { border-top:1px solid #cfc6bb; }
.directory-help summary { display:flex; align-items:center; justify-content:space-between; gap:14px; padding:19px 0; list-style:none; cursor:pointer; font:var(--font-weight-semibold) var(--font-size-4)/1.5 var(--font-family-system); }
.directory-help summary::-webkit-details-marker { display:none; }
.directory-help summary span { position:relative; width:17px; height:17px; flex:none; }
.directory-help summary span::before,.directory-help summary span::after { content:''; position:absolute; height:1.5px; width:100%; top:50%; background:currentColor; }
.directory-help summary span::after { transform:rotate(90deg); }
.directory-help details[open] summary span::after { transform:none; }
.directory-help details p { padding:0 28px 20px 0; font-size:1rem; }
.directory-help a { color:inherit; text-decoration:underline; text-underline-offset:.15em; }
@media (min-width:1000px) and (prefers-reduced-motion:no-preference) {
  .directory-card-art img { transition:transform .18s ease-out; }
  .directory-card:hover img { transform:translateY(-3px) rotate(-1deg); }
}
@media(max-width:900px) {
  .directory-hero-inner { gap:30px; }
  .directory-card-art { height:135px; }
  .directory-grid[data-columns="2"] .directory-card-art { width:32%; }
}
@media(max-width:760px) {
  .directory-wrap,
body:has(.directory-page) header .css-14sxjjd:has(.navbar) { width:calc(100% - 40px); }
  .directory-hero-inner { grid-template-columns:1fr; text-align:center; gap:26px; padding-block:32px 36px; }
  .directory-hero-art { max-width:180px; }
  .directory-lead > p { margin:16px auto 0; }
  .directory-jumps { justify-content:center; margin-top:20px; }
  .directory-jumps a { min-height:42px; padding-inline:13px; }
  .directory-group-heading,.directory-help-inner { display:block; }
  .directory-group-heading p { margin-top:10px; }
  .directory-grid,.directory-grid[data-columns="2"] { grid-template-columns:1fr; gap:12px; }
  .directory-grid .directory-card,.directory-grid[data-columns="2"] .directory-card { flex-direction:row; }
  .directory-grid .directory-card-art,.directory-grid[data-columns="2"] .directory-card-art { width:29%; min-width:88px; min-height:110px; height:auto; flex:none; }
  .directory-card-art img { width:94%; }
  .directory-card-copy { align-self:center; padding:16px; }
  .directory-card p { margin-top:5px; }
  .directory-help h2 { max-width:none; margin-bottom:22px; }
}
@media(max-width:639px) {
  .directory-page h1 { font-size:var(--font-size-1); }
  .directory-help summary { font-size:var(--font-size-6); }
}
@media(max-width:380px) {
  .directory-wrap,
body:has(.directory-page) header .css-14sxjjd:has(.navbar) { width:calc(100% - 32px); }
  .directory-jumps { gap:5px; }
  .directory-jumps a { padding-inline:10px; font-size:.94rem; }
  .directory-card-copy { padding:13px; }
}

body:has(.directory-page) header .css-14sxjjd:has(.navbar) { padding-inline: 0; }
