/* ==================================================================
  CSS Boilerplate v2.0.2
  The Unlicense <https://unlicense.org>
  https://github.com/MattMcAdams/CSS-Boilerplate
================================================================== */
/* =================================================================
/* SECTION Tokens
================================================================= */

:root {
  /* Spacing */
  --space_05: 0.25rem; /* 4px   - utility to substitute 0 margins */
  --space_1: 0.5rem;   /* 8px   - utility for tight paddings etc */
  --space_2: 1rem;     /* 16px  - 1/2 line height, for closely related elements */
  --space_4: 2rem;     /* 32px  - 1 line height, for related elements */
  --space_8: 4rem;     /* 64px  - 2 line heights, for loosely related elements */
  --space_16: 8rem;    /* 128px - 4 line heights, for unrelated elements */

  /* Semantic Space */
  --space_flow: var(--space_4);
  --space_gutter: var(--space_2);
  --space_section: var(--space_8);
  --space_grid-gap: var(--space_4);
  --space_flex-gap: var(--space_2);
  --space_layout-gap: var(--space_4);

  /* Layout Widths */
  --width_content: 60rem; /* 960px + gutters */
  --width_sidebar: 20rem; /* 320px + gutters */
  --width_wide: calc(
    var(--width_content) +
    var(--width_sidebar) +
    var(--space_layout-gap)
  );
  /* Total wide width: 60rem + 20rem + 2rem = 82rem */

  /* Colors */
  --color_text--default: #18181b;
  --color_text--subtle: #71717a;
  --color_text--link: black;
  --color_text--link-alt: #2B958D;
  --color_text--accent: var(--color_text--link);
  --color_background--surface: white;
  --color_background--element: #f4f4f5;
  --color_background--chip: #e4e4e7;
  --color_accent: var(--color_text--link);

  /* Font Families */
  --font_body: "attribute-text", sans-serif;
  --font_script: inherit;
  --font_head: inherit;
  --font_head_alt1: "monte-stella", sans-serif;
  --font_mono: ui-monospace, 'Cascadia Code', 'Source Code Pro', Menlo, Consolas, 'DejaVu Sans Mono', monospace;

  /* Font Weights */
  --font_weight--thin: 100;
  --font_weight--extralight: 200;
  --font_weight--light: 300;
  --font_weight--normal: 400;
  --font_weight--medium: 500;
  --font_weight--semibold: 600;
  --font_weight--bold: 700;
  --font_weight--extrabold: 800;
  --font_weight--black: 900;

  /* Font sizes */
  --font_size--small: 1rem;  
  --font_size--normal: 1.125rem;  
  --font_size--medium: 1.25rem;   
  --font_size--large: 1.5rem;   
  --font_size--xlarge: 1.75rem;  
  --font_size--xxlarge: 2.5rem; 
  --font_size--xxxlarge: 3rem; 

  /* Line heights */
  --font_height--small: 1.1;
  --font_height--normal: 1.2;
  --font_height--medium: 1.3;
  --font_height--large: 1.2;
  --font_height--xlarge: 1.1;
  --font_height--xxlarge: 1;
  --font_height--xxxlarge: 1;
    
}

@media (min-width: 30em) {
        
 :root {
  --font_height--normal: 1.3;
  --font_height--medium: 1.4;
    }
    
}

@media (min-width: 40em) {

  :root {
    --font_size--normal: 1.25rem;      
    --font_size--medium: 1.5rem;      
    --font_size--large: 1.75rem;      
    --font_size--xlarge: 2.25rem; 
    --font_size--xxlarge: 3rem;   
    --font_size--xxxlarge: 3.5rem; 
  }
        
 :root {
  --font_height--large: 1.2;
  --font_height--xlarge: 1.1;
  --font_height--xxlarge: 1.05;
  --font_height--xxxlarge: 1;
    }
    
}

@media (min-width: 60em) {
    
  :root {
    --font_size--xlarge: 2.5rem;    
    --font_size--xxlarge: 3.5rem;  
    --font_size--xxxlarge: 4rem; 
  }
    
}

del {
  --color_background--element: #fdebeb;
}

ins {
  --color_background--element: #e3fcec;
}

/* !SECTION Tokens */
/* =================================================================
/* SECTION Reset
** http://meyerweb.com/eric/tools/css/reset/
** v2.0 | 20110126 * License: none (public domain)
** Modified by Matt McAdams
================================================================= */

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video, hr {
  margin: 0;
  padding: 0;
  border: 0;
  font: inherit;
  font-size: 100%;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* END !SECTION Reset */
/* =================================================================
/* SECTION Core
================================================================= */

/* Links that point to a location on the same page will scroll
 * smoothly down to that location. */

html { scroll-behavior: smooth; }

/* Hide content visually, but allow screen readers to read the
 * content. Note that for Accessibility guidelines, this content
 * must become visible if toggled over using a keyboard. */

.visually-hidden:not(:focus):not(:active) {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

/* Give the hidden attribute most priority - fixes issue where
 * an html element can be marked as hidden but is still visible.
 * Use aria-hidden="true" to hide visual elements from
 * screen readers. */

[hidden] {
  display: none !important;
}

/* Ensures disabled elements do not accept events */

[disabled] {
  pointer-events: none !important;
  cursor: not-allowed !important;
}

/* Use primary color for focus styles */

:focus-visible {
  outline-color: var(--color_accent);
  outline-offset: 3px;
  outline-width: 2px;
}

/* Adds a margin above an element when it is the target of an ID link */

* {
  scroll-margin-top: var(--space_flow);
  scroll-margin-bottom: var(--space_flow);
}

/* 
::selection {
  background-color: var(--color-primary-100);
} 
*/

/* ==============================
/* SECTION Typography
============================== */

/* Set the document's default font, color, size, and line height */

body {
  font-family: var(--font_body);
  font-size: var(--font_size--normal);
  line-height: var(--font_height--normal);
  color: var(--color_text--default);
  background: var(--color_background--surface);
  accent-color: var(--color_accent);
  font-optical-sizing: auto;
}

/* Headings */

h1, h2, h3, h4, h5 {
  font-family: var(--font_head);
  font-weight: var(--font_weight--bold);
}

h1,
.util_txt--h1 {
  font-size: var(--font_size--xxxlarge);
  line-height: var(--font_height--xxxlarge);
}

h2,
.util_txt--h2 {
  font-size: var(--font_size--xxlarge);
  line-height: var(--font_height--xxlarge);
}

h3,
.util_txt--h3 {
  font-size: var(--font_size--xlarge);
  line-height: var(--font_height--xlarge);
}

h4,
.util_txt--h4 {
  font-size: var(--font_size--large);
  line-height: var(--font_height--large);
}

h5 {
  font-size: var(--font_size--medium);
  line-height: var(--font_height--medium);
}

/* Heading margins */

h1 {
  margin: 1.3em 0 2em -.02em;
}

h2 {
  margin: 2.2em 0 .5em -.01em;
}

h3 {
  margin: 1.5em 0 .5em 0;
}

h4, h5 {
  margin: 1.6em 0 .5em 0;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--color--brand_one);
}

/* Heading measures */

h1 {
    max-width: 10em;
}

h2 {
    max-width: 12em;
}

h3 {
    max-width: 18em;
}

h4 {
    max-width: 16em;
}

h4 {
    max-width: 18em;
}

/* Letter and word spacing */

h1:not(#intro h1) {
    word-spacing: -.09em;
    letter-spacing: -.01em;
}

/* Specifics */

h2 span,
h3 span {
    color: var(--color_text--default);
    display: block;
}

h2 + .stand-first {
    margin-bottom: 3em;
}

/* Set typography for running text */

body p,
body ul {
    margin-bottom: 1em;
}

body p,
body a,
body li {
    max-width: 29em;
}

/* Set typography for small text */

small,
.util_txt--small,
.numbertext {
  font-size: var(--font_size--small);
  line-height: var(--font_height--small);
  letter-spacing: .005em;
}

/* Basic styles for inline semantics */

strong, b { font-weight: bold; }
em, cite, i, q { font-style: italic; }
s { text-decoration: line-through; }
u { text-decoration: underline; font-style: normal; }

/* Basic style for subscript and superscript text */

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
}

sup { top: -0.5em; }
sub { bottom: -0.25em; }

del {
  background: var(--color_background--element);
  text-decoration: line-through;
  padding: 0.1em 0.3em;
}

ins {
  background: var(--color_background--element);
  text-decoration: underline;
  padding: 0.1em 0.3em;
}

/* Mark styles - see https://developer.mozilla.org/en-US/docs/Web/HTML/Element/mark */

mark {
  background: var(--color_text--accent);
  color: var(--color_background--surface);
  padding: 0.1em 0.3em;
}

/* Basic styles for abbreviation. Only style differently when
 * a title is present. */

abbr { text-decoration: none; }
abbr[title] {
  cursor: help;
  text-decoration: underline;
  text-decoration-style: dotted;
}

/* Small caps */

abbr,
.sc {
    font-size: .95em;
    letter-spacing: .05em;
}

/* !SECTION Typography */
/* ==============================
/* SECTION Links
** :not([class]) is so that the styles won't need to be overridden
** in special use cases like navigation / buttons
============================== */

a {
  color: var(--color_text--link);
  text-decoration: underline;
  text-underline-offset: .2em;
  font-weight: 500;
}

a:not([class]):hover,
a:not([class]):focus,
a.internal-link:hover,
a.internal-link:focus,
a.internal-link-back:hover,
a.internal-link-back:focus
{
  text-decoration: underline;
  text-decoration-thickness: .12em;
}

a:not(
.faq-cta,
.contact-form,
.contact-call,
.contact-footer,
#home-nav a,
#topBtn,
#header-home,
#footer-home
):active {
	background-color: var(--color--selection);
    outline: .2em solid var(--color--selection);
}

/* OPTIONAL STYLES - Add an icon for special links */

/* a:not([class])[target="_blank"]::after,
a:not([class])[data-link-type="external"] {
  content: '';
  padding-inline-start: 0.1em;
} */

/* a:not([class])[href$='.pdf']::after,
a:not([class])[data-link-type='document']::after {
  content: '';
  padding-inline-start: 0.1em;
} */

/* a:not([class])[href^="tel:"]::before,
a:not([class])[data-link-type="telephone"]::before {
  content: '';
  padding-inline-end: 0.1em;
} */

/* a:not([class])[href^="mailto:"]::before,
a:not([class])[data-link-type="email"]::before {
  content: '';
  padding-inline-end: 0.1em;
} */

/* !SECTION Links */
/* ==============================
/* SECTION Blockquote
============================== */

blockquote {
  border-left: 5px solid var(--color_accent);
  padding: var(--space_2) var(--space_4);
  font-weight: var(--font_weight--semibold);
}

blockquote footer,
blockquote cite {
  font-size: var(--font_size--small);
  line-height: var(--font_height--small);
  font-weight: var(--font_weight--normal);
}

blockquote cite {
  font-style: italic;
}

blockquote > cite,
blockquote > footer {
  display: block;
  margin-block-start: calc(var(--space_flow) / 2);
}

/* !SECTION Blockquote */
/* ==============================
/* SECTION Lists
** :not([class]) is so that the styles won't need to be overridden
** in special use cases. For example, when list markup might need
** to be paired with a grid layout
============================== */

/* Set nested unordered list styles */

ul:not([class]) { list-style-type: disc; }
ul:not([class]) ul:not([class]) { list-style-type: circle; }
ul:not([class]) ul:not([class]) ul:not([class]) { list-style-type: square; }

ul:not([class]) + p { margin-top: 1em; }

/* Set nested ordered list styles */

ol:not([class]) { list-style-type: decimal; }
ol:not([class]) ol:not([class]) { list-style-type: upper-alpha; }
ol:not([class]) ol:not([class]) ol:not([class]) { list-style-type: lower-roman; }

/* Set indention and flow spacing for lists */

ol:not([class]) li,
ul:not([class]) li {
  margin-block-end: var(--space_1);
  margin-inline-start: var(--space_4);
}

/* Add basic styles for definition lists */

dt { font-weight: bold; }
dd { padding-inline-start: var(--space_2); }

/* !SECTION Lists */
/* ==============================
/* SECTION Media
============================== */

/* Allow media to sit correctly in content flow */

img,
figure,
video,
.aspect-ratio,
.embed-wrapper {
  display: block;
  width: 100%;
}

img {
  max-width: 100%;
  width: auto;
  height: auto;
}

/* Add placeholder background for video */

video:not(:has(source)) {
  background: var(--color_background--element);
}

/* Basic style for figcaption */

figcaption {
  display: block;
  font-style: italic;
}

/* Allow audio to sit correctly in content flow,
 * Adjust border radius to allow consistency across browsers */

audio {
  display: block;
  width: 100%;
  max-width: 100%;
  border-radius: 900px;
}

/* Setup media wrappers */

.aspect-ratio,
.embed-wrapper {
  --aspect-ratio: 16/9;
  width: 100%;
  padding-block-start: calc(100%/(var(--aspect-ratio)));
  position: relative;
}

/* Position inner elements in media wrappers */

.embed-wrapper > iframe,
.embed-wrapper > embed,
.embed-wrapper > object,
.aspect-ratio > iframe,
.aspect-ratio > embed,
.aspect-ratio > object,
.aspect-ratio > img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
}

/* Allow img to crop to avoid being stretched */

.aspect-ratio > img {
  object-fit: cover;
}

/* Wrapper to allow horizontal overflow,
 * Useful for tables and other wide content */

.overflow-x,
.table-wrapper {
  overflow-x: auto;
}

/* !SECTION Media */
/* ==============================
/* SECTION Rules
============================== */

hr {
  border: none;
  border-block-end: 1px solid var(--color_text--subtle);
  width: 100%;
}

hr.spacer {
  --spacer-height: calc(var(--space_flow) * 2);
  border: none;
  margin-block-start: var(--spacer-height) 0;
}

/* !SECTION Rules */
/* ==============================
/* SECTION Tables
============================== */

table {
  width: 100%;
}

caption {
  font-size: inherit;
  line-height: inherit;
  text-align: start;
  margin-block-end: var(--space_2);
}

thead {
  background-color: var(--color_text--default);
  color: var(--color_background--surface);
}

th, td {
  font-size: var(--font_size--small);
  line-height: var(--font_height--small);
  padding: var(--space_2);
  text-align: start;
}

th { font-weight: bold; }

tr {
  border-block-end: 0.5px solid var(--color_text--subtle);
}

tbody tr:hover {
  background-color: var(--color_background--element);
}

tfoot {
  background-color: var(--color_background--chip);
}

/* !SECTION Tables */
/* ==============================
/* SECTION Code
============================== */

code, samp, kbd, var {
  font-family: var(--font_mono);
  padding: 0.1em 0.3em;
}

code, samp {
  background-color: var(--color_background--element);
}

var {
  font-style: italic;
  font-weight: bold;
}

kbd {
  background-color: var(--color_text--default);
  color: var(--color_background--surface);
  border-radius: 5px;
}

pre code,
pre samp {
  display: block;
  padding: var(--space_2);
  overflow: auto;
  font-family: var(--font_mono);
  font-size: var(--font_size--small);
  line-height: var(--font_height--small);
}

/* !SECTION Code */
/* ==============================
/* SECTION Details
============================== */

/* Display:block removes Firefox's marker
 * ::webkit-details-marker removed Chrome & Safair's marker */

details:not(
    .reading-list details,
    #work-egs details
    ) {
  display: block;
  position: relative;
}

summary::-webkit-details-marker {
  display: none;
}

summary:not(
    .reading-list summary,
    #work-egs summary
    ) {
    display: block;
    cursor: pointer;
    color: var(--color_text--default);
    font-weight: var(--font_weight--bold);
    font-weight: bold;
}

summary:not(
    .reading-list summary,
    #work-egs summary
    )::before {
    content: "+";
    box-sizing: border-box;
    text-align: center;
    display: inline-block;
    font-size: 1em;
    width: 1em;
    margin-inline-end: 0.5em;
    will-change: transform;
    transition: transform 300ms ease;
}

summary:not(
    .reading-list summary,
    #work-egs summary
    ):focus::before {
  color: var(--color_accent);
}

summary:not(
    .reading-list summary,
    #work-egs summary
    ) + * {
    margin-block-start: calc(var(--space_flow) / 2);
}

details[open] > summary:not(
    .reading-list summary,
    #work-egs summary
    )::before {
    transform: rotate(45deg);
}

details:not(
    .reading-list details,
    #work-egs details 
    ) {
    background: var(--color_background--element);
    padding: var(--space_2);
}

/* !SECTION Details */
/* ==============================
/* SECTION Meter
============================== */

meter {
  --meter-color_track: var(--color_background--element);
  --meter-color_optimum: #15803d;
  --meter-color_sub-optimum: #f59e0b;
  --meter-color_sub-sub-optimum: #dc2626;

  display: block;
  width: 100%;
  height: 1rem;

  -webkit-appearance: none;
  border-radius: 0;
  background: none;
  background-color: var(--meter-color_track);
}

/* Set the track color for webkit browsers */

meter::-webkit-meter-bar {
  background: var(--meter-color_track);
}

/* Set the optimum color */

meter::-webkit-meter-optimum-value {
  background: var(--meter-color_optimum);
}

meter:-moz-meter-optimum::-moz-meter-bar {
  background: var(--meter-color_optimum);
}

/* Set the sub optimum color */

meter:-moz-meter-sub-optimum::-moz-meter-bar {
  background: var(--meter-color_sub-optimum);
}

meter::-webkit-meter-suboptimum-value {
  background: var(--meter-color_sub-optimum);
}

/* Set the sub sub optimum color */

meter:-moz-meter-sub-sub-optimum::-moz-meter-bar {
  background: var(--meter-color_sub-sub-optimum);
}

/* The red (even less good) bar in Chrome etc. */
meter::-webkit-meter-even-less-good-value {
  background: var(--meter-color_sub-sub-optimum);
}

/* !SECTION Meter */
/* ==============================
/* SECTION Progress
============================== */

progress[value] {
  --progress-color_track: var(--color_background--element);
  --progress-color_fill: var(--color_accent);

  display: block;
  width: 100%;
  height: 0.25rem;

  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: none;
  border-radius: 0;

  background: var(--progress-color_track);
}

progress[value]::-webkit-progress-bar {
  background: var(--progress-color_track);
}

progress[value]::-webkit-progress-value {
  background: var(--progress-color_fill);
}

progress[value]::-moz-progress-bar {
  background: var(--progress-color_fill);
}

/* !SECTION Progress */
/* !SECTION Core */
/* =================================================================
/* SECTION Forms
** File uploads are not styled, you're better off implementing
** something with JS.
** Date & Color inputs are not styled, they're far too complicated
** for the scope of this project.
================================================================= */

/* Setup form specific styles and variables  */

form {
  --form_invalid-color: #dc2626;
}

/* Add required input notice if required fields exist */

form:has(.form-field input[required])::after {
  content: "* indicates a required field";
  color: var(--form_invalid-color);
  margin-block-start: var(--space_flow);
  display: block;
}

/* Standardize labels */

label, legend {
  background-color: transparent;
  font: inherit;
}

/* Standard styles for normal inputs */

input:not([type="checkbox"], [type="radio"], [type="color"]),
select,
textarea,
button {
  font: inherit;
  padding: var(--space_1);
  display: block;
  width: 100%;
  border: 1px solid var(--color_text--subtle);
  line-height: inherit;
  box-sizing: border-box;
  background: transparent;
}

/* Remove border and padding for file inputs */

input[type="file"] {
  padding: var(--space_1) 0;
  border: none;
}

/* Set textarea default height and restrict resize to vertical */

textarea {
  resize: vertical;
  min-height: 10rem;
  font-family: var(--font_mono);
  font-size: var(--font_size--small);
  line-height: var(--font_height--small);
}

/* ==============================
/* SECTION Form field class
============================== */

.form-field label {
  display: block;
}

/* Add required marker to labels if their input is required */

.form-field:has(input[required]) label::after {
  content: " *";
  color: var(--form_invalid-color);
}

/* !SECTION Form field class */
/* ==============================
/* SECTION Radio & Checkbox
============================== */

ul:has(input[type="checkbox"]),
ul:has(input[type="radio"]),
ol:has(input[type="checkbox"]),
ol:has(input[type="radio"]) {
  list-style: none;
}

ul:has(input[type="checkbox"]) li,
ul:has(input[type="radio"]) li,
ol:has(input[type="checkbox"]) li,
ol:has(input[type="radio"]) li {
  margin: 0;
}

/* !SECTION Radio & Checkbox */
/* ==============================
/* SECTION Range
============================== */

input[type="range"],
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  font-size: 1rem;
  height: 1rem;
  padding: 0;
  border: none;
}

/* Track Styles */
input[type="range"]::-webkit-slider-runnable-track {
  border: none;
  height: 5px;
  border-radius: 0;
  background-color: var(--color_background--element);
}

input[type="range"]::-moz-range-track {
  height: 5px;
  border: none;
  border-radius: 0;
  background-color: var(--color_background--element);
}

input[type="range"]::-moz-range-progress{
  background-color: var(--color_accent);
  height: 5px;
}

/* Thumb Styles */
input[type="range"]::-webkit-slider-thumb {
  margin-block-start: calc((1.2rem / -2) + 2.5px);
  width: 1.2rem;
  height: 1.2rem;
  border: 2px solid var(--color_background--surface);
  border-radius: 1000rem;
  background: var(--color_accent);
}

input[type="range"]::-moz-range-thumb {
  border: 2px solid var(--color_background--surface);
  border-radius: 1000rem;
  font-size: 1.2rem;
  background: var(--color_accent);
}

/* !SECTION Range */
/* ==============================
/* SECTION Buttons
============================== */

.button,
.button--secondary,
button,
input[type="submit"],
input[type="reset"],
input[type="button"] {
  display: inline-block;
  width: auto;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  background-color: var(--color_text--link);
  cursor: pointer;
  box-sizing: border-box;
  color: var(--color_background--surface);
  border: 2px solid var(--color_text--link);
  padding-inline: var(--space_4);
  padding-block: var(--space_1);
}

a.button:hover,
a.button--secondary:hover,
button:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
a.button:focus,
a.button--secondary:focus,
button:focus,
input[type="submit"]:focus,
input[type="reset"]:focus,
input[type="button"]:focus {
  border-color: var(--color_text--link-alt);
  background-color: var(--color_text--link-alt);
}

.button--secondary,
button[type="reset"],
input[type="reset"] {
  background-color: var(--color_background--surface);
  color: var(--color_text--link);
  border-color: var(--color_text--link);
}

a.button--secondary:hover,
button[type="reset"]:hover,
input[type="reset"]:hover,
a.button--secondary:focus,
button[type="reset"]:focus,
input[type="reset"]:focus {
  background-color: var(--color_background--surface);
  color: var(--color_text--link-alt);
  border-color: var(--color_text--link-alt);
}

span.button,
button[disabled],
input[type="submit"][disabled],
input[type="reset"][disabled],
input[type="button"][disabled] {
  cursor: auto;
  background-color: var(--color_background--chip);
  color: var(--color_text--subtle);
  border-color: var(--color_background--chip);
}

span.button--secondary,
input[type="reset"][disabled],
button[type="reset"][disabled] {
  cursor: auto;
  background-color: var(--color_background--surface);
  color: var(--color_background--chip);
  border-color: var(--color_background--chip);
}

/* !SECTION Buttons */
/* !SECTION Forms */
/* =================================================================
/* SECTION Layout
================================================================= */
/* ==============================
/* SECTION Container System
** Containers allow for a robust and flexible layout system by
** applying the gutter padding and max width to the container itself.
** Containers can be nested as needed.
============================== */

/* Setup containers */

.container {
  margin-inline: auto;
  padding-inline: var(--space_gutter);
  max-width: var(--width_content);
}

.container--wide {
  margin-inline: auto;
  padding-inline: var(--space_gutter);
  max-width: var(--width_wide);
}

.container--full {
  margin-inline: auto;
  padding-inline: var(--space_gutter);
}

/* Allow nested containers wider than parent */

.container > .container--wide {
  max-width: var(--width_wide);
  margin-inline: calc(
    min(
      calc(100vw - 100%),
      calc(var(--width_wide) - 100%)
    ) / -2
  );
}

.container > .container--full,
.container--wide > .container--full {
  max-width: 100vw;
  margin-inline: calc((100vw - 100%) / -2);
}

/* Remove duplicate gutters from nested containers the same size as parent */

.container > .container,
.container--wide > .container--wide,
.container--full > .container--full {
  margin-inline: calc(var(--space_gutter) * -1);
}

/* Account for containers smaller than parent */

.container--wide > .container,
.container--full > .container {
  margin-inline: max(
    calc(var(--space_gutter) * -1),
    calc((100% - var(--width_content)) / 2)
  );
}

.container--full > .container--wide {
  margin-inline: max(
    calc(var(--space_gutter) * -1),
    calc((100% - var(--width_wide)) / 2)
  );
}

/* !SECTION Containers */
/* ==============================
/* SECTION Flow Spacing
** Flow spacing is the space between elements in a vertical flow.
** The .section class is provided for larger gaps between sections.
** Flow spacing can be applied to a individual container using the .layout--flow class. or to the entire document using the .global--flow class. The implementation is different for each method, so consider how you want the spacing to be applied.
============================== */

.layout--flow > * + *,
blockquote > * + *,
details > * + * {
  margin-block-start: var(--space_flow);
}

.layout--flow-double > * + * {
  margin-block-start: calc(var(--space_flow) * 2);
}

.layout--flow-half > * + * {
  margin-block-start: calc(var(--space_flow) / 2);
}

.layout--flow > * + h1,
.layout--flow > * + h2,
.layout--flow > * + h3,
.layout--flow > * + h4,
.layout--flow > * + h5,
.layout--flow > * + h6 {
  margin-block-start: calc(var(--space_flow) * 2);
}

.layout--flow > h1 + h2,
.layout--flow > h2 + h3,
.layout--flow > h3 + h4,
.layout--flow > h4 + h5,
.layout--flow > h5 + h6 {
  margin-block-start: calc(var(--space_flow) / 2);
}

.section {
  margin-block-start: var(--space_section);
}

/* !SECTION Flow Spacing */
/* ==============================
/* SECTION Level
** Creates a bar with content vertically aligned on both sides
** Good for split navigation bars etc.
============================== */

.layout--level {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-content: center;
  gap: var(--space_gutter);
}

/* !SECTION Level */
/* ==============================
/* SECTION Grid
** The grid layout creates a responsive grid with a fluid number of columns.
** You can define the number of columns to allow as well as the minimum
** width of each grid item. Just be aware that if you set the minimum width
** too high, the grid may not fit on viewports smaller than the minimum width.
============================== */

.layout--grid {
  --grid-column--count: 6;
  --grid-gap--width: var(--space_grid-gap);
  --grid-gap--count: calc(var(--grid-column--count) - 1);
  --grid-gap--total: calc(var(--grid-gap--width) * var(--grid-gap--count));
  --grid-item--min-width: 14rem;
  --grid-item--max-width: calc((100% - var(--grid-gap--total)) / var(--grid-column--count));

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(max(var(--grid-item--min-width), var(--grid-item--max-width)), 1fr));
  gap: var(--grid-gap--width);
}

/* Stabilize height of components that are side by side */

.layout--grid > div > :only-child,
.layout--grid > li > :only-child {
  display: flex;
  align-items: stretch;
  height: 100%;
}

.layout--grid > div > :only-child > *,
.layout--grid > li > :only-child > * {
  flex: 1;
}

/* !SECTION Grid */
/* ==============================
/* SECTION App
** The app wrapper ensures the the site footer sticks to the
** bottom of the viewport on short pages.
** Structure should be as follows:
** <div id="app">
**   <header></header>
**   <main></main>
**   <footer></footer>
** </div>
** No other elements should be present in the app div.
============================== */

#app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
}

#app > :nth-child(2) {
  width: 100%;
  flex: 1 0 auto;
  place-content: start center;
}

/* !SECTION App */
/* ==============================
/* SECTION Page Layout
** The page layout provides grid areas for a hero, content, and sidebar.
** It arranges the grid areas responsively based on the presence of a sidebar.
** Inside the <main class="page"> tag, the structure should follow:
** <div class="page_header"> (optional, may use header element)
** <div class="page_content"> (may use article element)
** <div class="page_sidebar"> (optional, may use aside or nav elements)
============================== */

.page {
  display: grid;
  grid-template-areas:
    "header"
    "content"
    "sidebar";
  grid-template-columns: 1fr;
  column-gap: var(--space_layout-gap);
  max-width: var(--width_wide);
  margin-inline: auto;
}

/* Fix for x overflow elements breaking layout */

.page > * {
  min-width: 0;
}

/* Page areas */

.page__header {
  grid-area: header;
}

.page__content {
  grid-area: content;
  margin-block: var(--space_section);
}

.page__sidebar {
  grid-area: sidebar;
  margin-block-end: var(--space_section);
}

/* Layout fixes */

.page:has(.page__sidebar) .container > .container--wide,
.page:has(.page__sidebar) .container > .container--full,
.page:has(.page__sidebar) .container--wide > .container,
.page:has(.page__sidebar) .container--wide > .container--full,
.page:has(.page__sidebar) .container--full > .container,
.page:has(.page__sidebar) .container--full > .container--wide {
  margin-inline: calc(var(--space_gutter) * -1);
}

.page:not(:has(.page__sidebar)) .width--full,
.page:not(:has(.page__sidebar)) .container--full {
  width: 100vw;
  max-width: 100vw;
  margin-inline: calc((100vw - 100%) / -2);
}

/* Enable sidebar */

@media (min-width: 60rem) {
  .page:has(.page__sidebar) {
    grid-template-areas:
      "header header"
      "sidebar content";
    grid-template-columns:
      minmax(calc(25% - (var(--space_layout-gap) / 2)), var(--width_sidebar))
      min(calc(75% - (var(--space_layout-gap) / 2)), var(--width_content));
  }
  .page__sidebar {
    margin-block-start: var(--space_section);
  }
}

/* !SECTION Page Layout */
/* !SECTION Layout */
/* =================================================================
/* SECTION Custom styles
================================================================= */
/* ==============================
/* SECTION Variables
============================== */

:root {
    
    /* Colour variables */

    --color--brand_one: red;
    --color--brand_one_dark: #c4161c;
    --color--brand_one_light: #f15b40;
    --color--off_white: #f4f4f4;
    --color--almost_white: #ddd;
    --color--selection: var(--color--brand_one);
    --color--almost_black: var(--color_text--default); 
    --color--light_grey: #ddd; 
    --color--mid_grey: #666; 
    --color--dark_grey: #454545; 
    --color--darker_grey: #333; 
}

/* !SECTION Variables */
/* ==============================
/* SECTION Global and shared styles
============================== */

#breadcrumb {
    font-size: var(--font_size--small);
margin: 1em 0 4em -.22em;
padding: .5em .5em .5em 1em;
background-repeat: no-repeat;
background-size: .5em;
background-image: url(../img/graphics/arrow-left-small-black.svg);
background-position: 0 .75em;
}

.stand-first {
    max-width: 24em;
}

.stand-first,
.stand-first,
.stand-first:link,
.stand-first:visited 
.stand-first a,
.stand-first a:link,
.stand-first a:visited {
    color: var(--color--brand_one);
    font-size: var(--font_size--medium);
    font-weight: var(--font_weight--bold);
    line-height: calc(var(--font_height--medium) - .1);
}

/* Internal links for call to actions */

.internal-link,
.internal-link-back {
    background-repeat: no-repeat!important;
    background-size: .45em;
}

.internal-link {
    background-image: url(../img/graphics/arrow-right-small-black.svg);
    background-position: right .35em;
    padding-right: .8em;
}

.internal-link-back {
    background-image: url(../img/graphics/arrow-left-small-black.svg);
    background-position: center left;
    padding-left: .8em;
}

.contact-cta {
    position: relative;
    padding-top: 1.6em;
    margin: 4.5em 0 2.5em;
}

.contact-cta,
.contact-cta a,
.contact-cta a:link {
    font-size: var(--font_size--medium);
    font-weight: var(--font_weight--bold);
}

.contact-cta::before {
    position: absolute;
    content: "";
    display: block;
    height: 1.3em;
    width: 1.3em;
    margin-left: -.1em;
    top: 0;
    background-repeat: no-repeat;
    background-image: url(../img/graphics/contact-black.svg);
    background-position: center;
}

/* Compensate positioning with other layout elements */

.what .contact-cta {
    margin-top: 2.5em;
}

/* !SECTION Global and shared styles
/* ==============================
/* SECTION Local page navigation
============================== */

#page-nav {
    margin-bottom: 4em;
    max-width: 28em;
}

#page-nav h2 {
    font-size: var(--font_size--medium);
    line-height: var(--font_height--medium);
    color: var(--color_text--default);
    margin-bottom: .7em;
}

#page-nav ul {
    list-style-type: none;
}

#page-nav li {
    margin: 0 0 .1em -.4em;
    padding: .5em .5em .5em 1.7em;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    background-image: url(../img/graphics/arrow-right-black.svg);
    background-position: 0 .4em;
}

#page-nav a {
    color: var(--color_text--default);
    font-weight: var(--font_weight--normal);
}

#page-nav a:hover {
    text-decoration: underline;
}

#page-nav div {
    position: relative;
    z-index: 1;
    padding: .8em 0 0;
    margin: 2.5em 0 3.5em 1em;
    max-width: 34em;
}

#page-nav div::before {
    background: var(--color--brand_one_lightest);
    content: '';
    display: block;
    position: absolute;
    width: .4em;
    height: calc(100% + 1em);
    margin: 0 -1.2em;
    top: 0;
    left: 0;
    z-index: -1;
}

#page-nav div:nth-of-type(1)::before {
    transform: rotate(-.5deg);
}

#page-nav div:nth-of-type(2)::before {
    transform: rotate(.5deg);
}

/* !SECTION Local page navigation */
/* !SECTION Global and shared styles
/* =================================================================
/* SECTION Header
================================================================= */

header {
    padding: 1em 0;
    display: block;
}

header nav {
    display: inline-block;
    margin-bottom: .5em;
}

header nav span {
    display: block;
}

/* ==============================
/* SECTION Navigation list
============================== */

header nav a,
header nav a:link,
header nav a:visited,
header nav a:hover {
    color: var(--color--brand_one);
}

header nav ul {
    margin: 1.55em -.6em 0 -.6em;
    display: inline-block;
    width: 8em;
    vertical-align: top;
}

header nav li {
    list-style-type: none;
    display: inline-block;
    margin: 0 .6em .8em .6em!important;
}

header nav a {
    text-decoration: none!important;
    font-weight: var(--font_weight--bold);
    padding: .2em 0 .15em;
}

header nav ul a:hover {
    border-bottom: .3em solid var(--color--brand_one);
    transition-duration: .15s;
}

header nav ul a:active {
    color: white!important;
}

/* !SECTION Navigation list */
/* ==============================
/* SECTION Brand mark
============================== */

#header-home {
    margin-left: -1rem;
    margin-right: 2.5em;
    background-image: url(../img/brand-mark-col.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    display: inline-block;
    width: 6em;
    height: 6.5em;
    vertical-align: top;
}

#header-home span {
    visibility: hidden;
}

#header-home:hover {
    transform: translateX(-.12em);
    transition-duration: .15s;
}

/* !SECTION Brand mark */
/* !SECTION Header */
/* =================================================================
/* SECTION Footer
================================================================= */

#page-footer {
    background: var(--color--brand_one);
    font-weight: var(--font_weight--medium);
    padding: 1.5em 0 3.6em;
}

#page-footer nav {
    margin-bottom: 12em;
}

#page-footer nav li {
    list-style-type: none;
    margin: 0 0 1em 0!important;
}

#page-footer nav a:active {
    outline: .2em solid white;
    background: white;
    color: var(--color--brand_one)!important;
}

#page-footer p,
#page-footer li,
#page-footer a:not(.contact-footer),
#page-footer a:not(.contact-footer):link,
#page-footer a:not(.contact-footer):visited {
    color: white;
}

.nav-sustainability {
    padding-left: 1em;
    font-size: var(--font_size--small);
    letter-spacing: .015em;
    margin-bottom: 1.15em!important;
    max-width: 18em;
}

/* Force global footer to bottom of window */

main {
	min-height: calc(100vh - 12em);
	margin-bottom: 22em;
}

/* Override cookie button setting */

.cky-revisit-bottom-left {
    bottom: 3.65em!important;
    left: .75em!important;
}

/* ==============================
/* SECTION Memberships
============================== */

#dba {
    width: 10em;
    height: 2.73em;
    margin-left: -.1em;
    background-image: url(../img/dba.png);
    background-repeat: no-repeat;
    background-size: contain;
    display: block;
    margin-bottom: 1.6em;
}

#dba span{
    display: none;
}

/* SECTION Memberships */
/* ==============================
/* SECTION Teddy
============================== */

#teddy {
    padding-top: 3.3em;
    margin-top: 4.2em;
    position: relative;
}

#teddy::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4em;
    width: 4em;
    margin-left: -.2em;
    background: url(../img/teddy-footer.svg);
    background-repeat: no-repeat;
}

/* SECTION Teddy */
/* ==============================
/* SECTION Brand mark
============================== */

#footer-home {
    margin: 0 0 2em -1rem;
    background-image: url(../img/brand-mark-rev-col.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    display: block;
    width: 5em;
    height: 5.5em;
}

#footer-home span {
    visibility: hidden;
}

#footer-home:hover {
    transform: translateX(-.1em);
    transition-duration: .15s;
}

/* !SECTION Brand mark */
/* ==============================
/* SECTION Fixed footer
============================== */

#fixed-footer {
    display: none; /* Hidden by default */
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	z-index: 100;
    box-shadow: 0 -.2em .5em rgba(0,0,0,.12);
}

#fixed-footer .full-message {
    display: none;
}
    
#fixed-footer .truncated-message {
    text-transform: capitalize;
}

.contact-footer {
	width: calc(100% - 2.6em);
    max-width: none;
    height: 2.6em;
	float: left;
	display: block;
	margin: 0;
    text-align: center;
    padding: .61em 3em 0 calc(var(--space_gutter) + 4.3em);
	text-decoration: none;
    font-weight: var(--font_weight--bold);
    font-size: calc(var(--font_size--normal) + .1em);
	color: white;
    position: relative;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
	background-color: var(--color--brand_one);
    background-image: url(../img/graphics/email-rev.svg);
    background-position: calc(50% - 2.05em) .48em;
}

.contact-footer:hover {
    background-color: var(--color--brand_one_dark);
}

.contact-footer:active {
    background-color: var(--color--dark_grey);
}

/* !SECTION Fixed footer */
/* ==============================
/* SECTION Top button
============================== */

#topBtn {
    display: none; /* Hidden by default */
	text-decoration: none;
    font-size: calc(var(--font_size--normal) + .1em);
    font-weight: var(--font_weight--bold);
    text-align: center;
    position: fixed; 
    bottom: 0; 
    right: 0; 
    z-index: 101; 
    border: none; 
    outline: none; 
    background-color: var(--color--brand_one);
    cursor: pointer; 
    line-height: 1;
    height: 2.6em;
    width: 2.6em;
    background-repeat: no-repeat;
    background-size: 1.5em;
    background-image: url(../img/graphics/arrow-up-rev.svg);
    background-position: center .45em;
}

#topBtn:hover {
    background-color: var(--color--brand_one_dark);
}

#topBtn:active {
    background-color: var(--color--dark_grey);
}

/* !SECTION Top button */
/* ==============================
/* SECTION Colophon
============================== */

/* Button */

#myBtn {
	background:none;
    border: .09em solid white;
    margin: .5em 0 0 0;
    padding: .4em .5em .45em;
	letter-spacing: .015em;
    font-size: var(--font_size--small);
}

#myBtn:hover {
	background: white;
    color: var(--color--brand_one);
}

#myBtn:active {
    outline: .2em solid white;
}

/* Modal box */

.modal {
    display: none; /* Hidden by default */
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); 
}

.modal-content {
    background-color: #F7F7F7;
    margin: 5% auto calc(5% + 3em); 
    padding: 1.4em 1.4em 2em;
    width: 80%;
	max-width: 38em;
    position: relative;
}

.modal-content p,
.modal-content li,
.modal-content a, 
.modal-content a:link,
.modal-content a:visited {
    color: var(--color_text--default)!important;;
}

.modal-content h2 {
    font-size: var(--font_size--large);
	margin: .4em 0 .5em;
}

.modal-content p {
    line-height: 1.45;
    padding-right: 0;
}

/* Close button */


.close {
    color: var(--color_text--default);
    text-decoration: none;
    float: right;
    font-size: 2em;
    font-weight: 400;
	line-height: 0.5;
    
    
    
    content: "";
display: block;
top: .8rem;
right: .75rem;
position: absolute;
border: none;
text-align: center;
font-size: 1em;
font-weight: 400;
z-index: 2;
width: 2.6em;
height: 2.6em;
background-repeat: no-repeat;
background-size: 1.5em;
background-image: url(../img/graphics/close-black.svg);
background-position: center;
padding: 0;
}

.close:hover {
    cursor: pointer;
}

.close:focus,
.close:active {
    background-image: url(../img/graphics/close-col.svg);
    text-decoration: none;
    cursor: pointer;
}

/* !SECTION Colophon */
/* !SECTION Footer */
/* =================================================================
/* SECTION Home page
================================================================= */

.home header {
    background: var(--color--brand_one);
}

.home #header-home {
    background-image: url(../img/brand-mark-rev-col.svg);
}

.home header nav ul li a {
    color: white;
}

.home header nav li a:hover {
    border-bottom-color: white;
}

/* ==============================
/* SECTION Intro
============================== */

#intro {
    background: var(--color--brand_one);
    padding: 1em 0 1em 0;
}

#intro h1,
#intro p,
#intro a,
#intro a:link,
#intro a:visited {
    color: white;
}

#intro h1 {
    margin: 1.8em 0 0 0;
    font-size: var(--font_size--medium);
    line-height: var(--font_height--medium);
    max-width: 20em;
}

#intro h1 span  {
    display: inline-block;
}

#intro h1 span.big-headline {
    font-size: var(--font_size--xlarge);
    line-height: calc(var(--font_height--xlarge) + .05);
    display: block;
    margin-bottom: .7em;
    word-spacing: -.05em;
    letter-spacing: -.01em;
}

#intro h1 span.inner {
    display: inline;
    background: black;
}

#intro h1 span.para {
    margin: 1.1em 0;
}

#intro h1 a,
#intro h1 a:link,
#intro h1 a:visited {
    font-weight: var(--font_weight--bold);
    margin-right: .3em;
    text-decoration: none;
    box-shadow: .3em 0 0 white, -.3em 0 0 white;
    background: white;
    color: var(--color--brand_one);
    
    /* text-underline-offset: .3em; */
}

#intro h1 a:hover {
    box-shadow: .3em 0 0 black, -.3em 0 0 black;
    background: black;
    color: white;
}

#intro h1 a:active {
    box-shadow: .3em 0 0 white, -.3em 0 0 white;
    background: white;
    color: var(--color--brand_one);
    outline: 0;
}

#intro p {
    max-width: 20em;
}

#intro .contact-cta {
    margin: 4em 0 1em;
}

#intro .contact-cta::before {
    background-image: url(../img/graphics/contact-rev.svg);
}

#intro .contact-cta a:active {
    background-color: white;
    outline-color: white;
    color: var(--color--brand_one);
}

/* !SECTION Intro */
/* ==============================
/* SECTION Navigation
============================== */

#home-nav {
    margin-top: 1em;
}

#home-nav ul {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    list-style: none;
}

#home-nav li {
    flex: calc(50% - 1.5rem);
    max-width: calc(50% - 1.5rem);
    margin: 1.5em 1.5rem .5em 0;
}

#home-nav a {
    color: var(--color--brand_one);
    font-size: var(--font_size--medium);
    line-height: calc(var(--font_height--normal) - .1);
    font-weight: var(--font_weight--bold);
    text-decoration: none;
}

#home-nav a span {
    display: block;
    color: var(--color_text--default);
}

#home-nav a::before {
    content: "";
    display: inline-block;
    width: 2em;
    height: 2em;
    background-image: url(../img/graphics/arrow-right-col.svg);
    background-repeat: no-repeat;
    background position: 0 0;
    margin-left: -.4em;
}

#home-nav a:hover {
    color: var(--color_text--default);
}

#home-nav a:hover::before {
    transform: translateX(.1em);
    transition-duration: .15s;
}

#home-nav a:active,
#home-nav a:active span {
    color: var(--color--brand_one)!important;
}

#home-nav a:active::before {
    outline: none;
}

/* !SECTION Navigation */
/* ==============================
/* SECTION Work slideshow
============================== */

.mySlides {
    display: none;
}

.slideshow-wrap {
    height: calc(100vw + 4em);
    margin-top: 3em;
}

.slideshow {
    aspect-ratio: 1/1;
    position: relative;
    margin: auto;
}

/* Images */

.slideshow img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    aspect-ratio: 1/1;
}

/* Next and previous buttons */

.prev, 
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    margin-top: -1.5em;
    user-select: none;
    width: 2.6em;
    height: 2.6em;
    background-size: 1.5em;
    background-repeat: no-repeat;
    background-color: rgba(0,0,0,0.3);
    content: "";
    user-select: none!important;
    -ms-user-select: none!important;
    -webkit-user-select: none!important;
}

.next {
    right: 0;
}

.next {
    background-image: url(../img/graphics/arrow-right-rev.svg);
    background-position: .6em center;
}

.prev {
    background-image: url(../img/graphics/arrow-left-rev.svg);
    background-position: .5em center;
}

.prev:hover, 
.next:hover {
    background-color: rgba(0,0,0,0.7);
}

/* Caption text */

.text {
    position: absolute;
    top: 100vw;
    margin-top: 1em;
    width: 100%;
    max-width: 20em;
    display: block;
    padding: 1.5em 0 .75rem 1rem;
    border-left: .15rem solid var(--color--brand_one);
}

/* Number text (EG 1/3) */

.numbertext {
    color: white;
    padding: .7em .8em .8em;
    position: absolute;
    bottom: 0;
    z-index: 1;
}

.numbertext::before {
    position: absolute;
    top: 0;
    left: 0;
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    z-index: -1;
    background-color: rgba(0,0,0,0.7);
}

/* Dot indicators */

.dots {
    text-align:center;
    margin: 1em 0 -.5em;
}

.dot {
  cursor: pointer;
  height: .8em;
  width: .8em;
  margin: 0 .2em;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.dot:hover,
.active {
  background-color: #717171;
}

/* Fading animation */

.fade {
  animation-name: fade;
  animation-duration: 1s;
}

@keyframes fade {
  from {opacity: .4} 
  to {opacity: 1}
}

/* !SECTION Work slideshow */
/* !SECTION Home page */
/* =================================================================
/* SECTION What page
================================================================= */

.what,
.what header {
    background: #fac716;
}

.what .wrap:nth-of-type(1) {
    margin-bottom: 4em;
}

#brand,
#communication,
#experience {
    position: relative;
    margin-top: 8em;
}

#brand h2,
#communication h2,
#experience h2 {
    color: var(--color_text--default);
    font-size: var(--font_size--xlarge);
    line-height: var(--font_height--xlarge);
}

#brand::before,
#communication::before,
#experience::before {
    position: absolute;
    content: "";
    display: block;
    background-repeat: no-repeat;
    background-position: center;
    height: 4em;
    width: 4em;
    top: 0;
    margin-top: -5em;
}

#brand::before {
    background-image: url(../img/graphics/brand.svg)
}

#communication::before {
    background-image: url(../img/graphics/communication.svg)
}

#experience::before {
    background-image: url(../img/graphics/experience.svg)
}

#internal-external,
#category {
    text-transform: uppercase;
    font-size: calc(var(--font_size--xxxlarge) + .5em );
    line-height: calc(var(--font_height--xxxlarge) - .2);
    color: white;
    letter-spacing: .025em;
    word-spacing: -.15em;
    margin: 1.5em 0 .6em -.02em;
    
}

#internal h3,
#external h3,
#business h3,
#nonprofit-gov h3,
#agency-collab h3,
#future h3 {
    margin-top: 0;
    text-transform: lowercase;
}

#internal h3::before,
#external h3::before,
#business h3::before,
#nonprofit-gov h3::before,
#agency-collab h3::before,
#future h3::before {
    content: "\2026";
    margin-right: .25em;
}

#internal h4,
#external h4 {
    margin-top: 0em;
}

#internal,
#external,
#business,
#nonprofit-gov,
#agency-collab,
#future {
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 2.5em;
    margin-bottom: 2em;
}

#internal {
    background-image: url(../img/graphics/design-inside.svg);
    padding-top: 2.3em;
}

#external {
    background-image: url(../img/graphics/design-outside.svg);
    padding-top: 2em;
}

#business {
    background-image: url(../img/graphics/business.svg);
    padding-top: 2.2em;
}

#nonprofit-gov {
    background-image: url(../img/graphics/ngo.svg);
    padding-top: 2.8em;
}

#agency-collab {
    background-image: url(../img/graphics/agency.svg);
    padding-top: 2.5em;
}

#future {
    background-image: url(../img/graphics/education.svg);
    padding-top: 2.8em;
}


/* !SECTION What page */
/* =================================================================
/* SECTION Why page
================================================================= */

.why,
.why header {
    background: #8dd4de;
}

.why h2 {
    font-size: var(--font_size--xlarge);
    line-height: var(--font_height--xlarge);
    margin: 1.5em 0 .4em 0;
}

.why .wrap {
    margin-bottom: 5em;
}

.why .wrap section {
    position: relative;
    padding-top: 1.9em;
    margin-top: 2em;
}

.why .wrap section::before {
    position: absolute;
    background-repeat: no-repeat;
    background-position: 0 0;
    content: "";
    display: block;
    width: 5em;
    aspect-ratio: 7/5;
    top: 0;
}

.why #partnership::before {
    background-image: url(../img/graphics/p.svg)
}

.why #trust::before {
    background-image: url(../img/graphics/t.svg)
}

.why #candor::before {
    background-image: url(../img/graphics/c.svg)
}

.why #empathy::before {
    background-image: url(../img/graphics/e.svg)
}

.why #humility::before {
    background-image: url(../img/graphics/h.svg)
}

.why #understanding::before {
    background-image: url(../img/graphics/u.svg)
}

.why #wit::before {
    background-image: url(../img/graphics/w.svg)
}

.why #doggedness::before {
    background-image: url(../img/graphics/d.svg)
}

#responsibility-sustainability h2,
#investment h2 {
    font-size: var(--font_size--large);
    line-height: var(--font_height--large);
    max-width: 18em;
}

/* !SECTION Why page */
/* =================================================================
/* SECTION Who page
================================================================= */

.who,
.who header {
    background: #edcecf;
}

.who h2 {
    font-size: var(--font_size--xlarge);
    line-height: var(--font_height--xlarge);
}

.who .stand-first {
    display: inline-block;
    border: .25rem solid var(--color--brand_one);
    padding: .5em .6em .6em;
    max-width: 30.5em;
}

.who .stand-first + p {

    background-image: url(../img/graphics/person-black.svg);
    background-repeat: no-repeat;
    background-position: 0 0;
background-size: 1.72rem;
    padding: 1.1em 0 0 .2em;
    margin: 1.75em 0 0 -.2em;
    text-indent: 1.5em;
}

.who .hard-work {
    background-image: url(../img/graphics/coffee-small-black.svg);
        background-repeat: no-repeat;

background-position: 0 0;
background-size: 1.72rem;
padding-top: 1.12em;
text-indent: 1.72em;
margin-top: 0em;
    
    

}

/* !SECTION Who page */
/* =================================================================
/* SECTION Work page
================================================================= */

.more h1 {
    font-size: var(--font_size--xxlarge);
    line-height: var(--font_height--xxlarge);
}

#work-egs {
    margin-top: 6em;
}

/* ==============================
/* SECTION Case studies
============================== */

#work-egs article {
    padding-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-bottom: 4rem;
}

#work-egs article h2 {
    color: var(--color_text--default);
    font-size: var(--font_size--large);  
    line-height: var(--font_height--large);
    margin: .9em 0 0 .9rem;
    padding-right: 1rem;
    max-width: 16em;
}

#work-egs article details summary {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    color: var(--color_text--default);
    font-weight: var(--font_weight--bold);
    font-weight: bold;
    border-left: .15rem solid var(--color--brand_one);
    padding-bottom: 4em;
}

#work-egs article details summary::before {
    content: 'More info';
    font-weight: normal;
    bottom: 3rem;
    padding-bottom: 0;
    line-height: 1.05;
    position: absolute;
    left: 1rem;
    padding-right: 1rem;
    background-image: url(../img/graphics/arrow-right-small-black.svg); 
    background-repeat: no-repeat;
    background-size: .5rem;
    background-position: right .1em;
}

#work-egs article details:not(details[open]) summary:active {
	background-color: var(--color--selection);
    outline: 1rem solid var(--color--off_white);
}

#work-egs article details:not(details[open]) summary h2 {
    display: block;
}

/* Hero image */

#work-egs article details summary img {
    width: 100%;
}

/* Make everything clickable */

#work-egs article summary::before {
    pointer-events: auto;
    cursor: pointer!important;
}

/* Hover */

#work-egs article details summary:hover {
    cursor: pointer!important;
}

#work-egs article details:not(details[open]) summary:hover {
    background: var(--color--off_white);
    cursor: pointer!important;
}

#work-egs article details:not(details[open]) summary:hover h2 {
   color: var(--color--brand_one);
}

#work-egs article details:not(details[open]) summary:hover img {
    opacity: .95;
    cursor: pointer!important;
}

#work-egs article details:not(details[open]) summary:hover::before {
    border: 0;
}

#work-egs article details:not(details[open]) summary:hover::before {
    color: var(--color--brand_one);
    background-image: url(../img/graphics/arrow-right-small-col.svg); 
}

/* Open case study */

#work-egs article:has(details[open]) {
    padding: 0;
}

#work-egs article details[open] {
    box-shadow: 0em .3em .7em rgba(0,0,0,.12);
    z-index: 10;
    margin: -1rem -1rem 1rem -1rem;
    width: calc(100% + 2rem);
    background-color: #333;
}

#work-egs article details[open] summary {
    pointer-events: none;
    max-width: unset;
    border: none;
    padding-bottom: 0;
}

#work-egs article details[open] summary img {
    max-width: unset;
}

/* Text */

#work-egs article .wrap:nth-of-type(1) {
    margin-top: 0;
}

#work-egs article details[open] h2 {
    margin-top: 1.25em;
    margin-bottom: 2em;
    padding-right: 0;
}

#work-egs article details[open] h2,
#work-egs article details .description {
    margin-left: 1rem;
}

#work-egs article details[open] h2,
#work-egs article details[open] p,
#work-egs article details[open] li,
#work-egs article details[open] a,
#work-egs article details[open] a:link,
#work-egs article details[open] a:visited {
    color: white;
}

/* Case study label */

#work-egs article details[open] summary::after {
    content: "Case study";
    color: white;
    font-weight: var(--font_weight--normal);
    background-color: var(--color--brand_one);
    position: absolute;
    top: -1rem;
    left: -1rem;
    padding: 0 1rem;
    height: 2.6em;
    line-height: 2.45;
    border-bottom: .1rem solid white;
    border-right: .1rem solid white;
}

/* Close button */

#work-egs article details[open] summary::before {
    content: "";
    display: block;
    top: -1rem;
    left: unset;
    right: -1rem;
    position: absolute;
    border: none;
    text-align: center;
    font-weight: 400;
    z-index: 2;
    background-color: #333;
    color: white;
    width: 2.6em;
    height: 2.6em;
    background-repeat: no-repeat;
    background-size: 1.5em;
    background-image: url(../img/graphics/close-rev.svg);
    background-position: center;
    padding: 0;
    border-bottom: .1rem solid white;
    border-left: .1rem solid white;
}

#work-egs article details[open] summary:hover::before {
        cursor: pointer!important;
}

#work-egs article details[open] summary:active::before {
    background-image: url(../img/graphics/close-col.svg);
}

/* Image matrix */

#work-egs article .wrap:nth-of-type(2) {
    padding: 0 .5rem .5rem;
    display: flex;
    margin-top: 2.5em;
    flex-wrap: wrap-reverse;
    align-items: start;
}

#work-egs article .wrap:nth-of-type(2) img {
    max-width: 100%;
    position: relative;
    padding: .5rem;
}

/* Disable text select */

#work-egs article details summary,
#work-egs article details summary img,
#work-egs article details summary > img,
#work-egs article .wrap:nth-of-type(2) img {
    user-select: none!important;
    -ms-user-select: none!important;
    -webkit-user-select: none!important;
    cursor: default;
}
    
/* !SECTION Case studies */
/* !SECTION Work page */
/* =================================================================
/* SECTION Contact page
================================================================= */

.contact,
.contact header {
    background: #ede93c;
}

.contact h2 {
    line-height: var(--font_height--large);
    font-size: var(--font_size--large);
    margin-top: 0;
}

.contact .ft {
    text-indent: -.85em;
}

.contact .wrap .wrap {
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 2.5em;
    margin-bottom: 2em;
}

.design-partner {
    background-image: url(../img/graphics/partner.svg);
    padding-top: 1.9em;
}

.good-case {
    background-image: url(../img/graphics/ngo.svg);
    background-position: 0 0;
    padding-top: 3.3rem;
}

.education {
    background-image: url(../img/graphics/education.svg);
    padding-top: 3.3rem;
}

.agency-designer {
    background-image: url(../img/graphics/agency.svg);
    padding-top: 2.5rem;
}

/* ==============================
/* SECTION Contact list
============================== */

.contact-list {
    margin: 4em 0;
}

.contact-list li {
    list-style-type: none;
    margin: 0;
    max-width: 20.5em;
}

.contact-list li a {
    font-size: var(--font_size--medium);
    display: block;
    background-repeat: no-repeat;
}

.contact-list li a {
    text-decoration: none!important;
    font-weight: var(--font_weight--bold);
    background-repeat: no-repeat;
    background-size: 1.7em 1.7em;
}

/* !SECTION Contact list */
/* ==============================
/* SECTION Contact methods
============================== */

.contact-form {
    background-color: var(--color--brand_one);
    background-image: url(../img/graphics/email-rev.svg);
    background-position: .9em .6em;
    padding: .8em 1em 1em 3.4em;
    color: white;
    margin-bottom: 1em;
}

.contact-call {
    color: var(--color--brand_one);
    border-bottom: .3em solid var(--color--brand_one);
    padding: 1em 1em 1em 3.4em;
    background-image: url(../img/graphics/phone-col.svg);
    background-position: 1em .75em;
}

/* Hover */

.contact-form:hover {
    background-color: var(--color_text--default);
}

.contact-call:hover {
    color: var(--color_text--default);
    border-bottom-color: var(--color_text--default);
    background-image: url(../img/graphics/phone-black.svg);
}

.contact-form:hover,
.contact-call:hover {
    transform: translateY(-.15em);
    transition-duration: .1s;
    transition-property: transform, background-color, border-bottom-color;
}

/* Active */

.contact-form:active {
    background-color: var(--color--selection);
}

.contact-call:active {
    color: var(--color--selection);
    border-bottom-color: var(--color--selection);
}

/* !SECTION Contact methods */
/* !SECTION Contact page */
/* =================================================================
/* SECTION Legal page
================================================================= */

.legal,
.legal header {
    background: #7dc9a2;
}

.legal section:not(:last-of-type) {
    margin-bottom: 8em;
}

#privacy-notice,
#terms-conditions {
    background: white;
    padding: 2em 0 3.2em;
}

/* Alternating colour sections */

.date-updated {
    margin-top: 6em;
    padding-top: .6
}

.date-updated::before {
    content: '';
    display: block;
    width: 3em;
    height: .1em;
    margin-bottom: .5em;
    background: var(--color_text--default);
}

/* ==============================
/* SECTION Coookie list
============================== */

.cookie-list {
    list-style-type: none;
    margin: 3.5em 0 2.5em;
}

.cookie-list li {
    display: flex;
    margin: 0 0 1em 0;
    max-width: none;
}

.cookie-list li:not(:last-child) {
    border-bottom: .1em solid var(--color_text--default);
}
    
.cookie-list li p:nth-child(1) {
    flex: 20%;
    margin-right: 2em;
    word-break: break-all;
}

.cookie-list li p:nth-child(2) {
    flex: 60%;
    margin-right: 2em;
}

.cookie-list li p:nth-child(3) {
    flex: 20%;
}

/* !SECTION Cookie list */
/* !SECTION Legal page */
/* =================================================================
/* SECTION Bookshelf page
================================================================= */

.reading-list {
    display: inline-block;
    vertical-align: bottom;
    overflow: clip;
    max-width: 100%;
}

.reading-list section {
    position: relative;
}

.reading-list ul {
    display: flex;
    flex-wrap: wrap;
}

/* Headings */

.reading-list h2 {
    border-top: .15rem solid var(--color--brand_one);
    padding-top: .4em;
    margin: 2.5em 0 2.25em;
    max-width: inherit;
    font-size: var(--font_size--xlarge);
    line-height: var(--font_height--xlarge);
    position: relative;
}

.reading-list h3 {
    z-index: 10;
    position: relative;
    font-size: var(--font_size--large);
    line-height: var(--font_height--large);
    margin-top: 4.75em;
    margin-bottom: 1em;
    padding: 0 1rem;
}

/*
.reading-list h3:not(h2 + h3)::before {
    content: "";
    width: 3em;
    display: block;
    border-top: .15rem solid var(--color--brand_one);
    padding-top: .4em;
}
*/

.reading-list h3:not(h2 + h3)::after {
    content: "\00A0 for\00A0\2026";
}

.reading-list section h3:first-of-type {
    max-width: inherit;
    font-size: var(--font_size--large);
    line-height: var(--font_height--large);
    position: relative;
    z-index: 10;
    font-size: 3.75em;
    text-transform: uppercase;
    letter-spacing: .02em;
    line-height: .925;
    font-family: "ff-good-web-pro-compressed", sans-serif;
    font-weight: 700;
    font-style: normal;
    margin: 0 0 .5em;
    padding: 0 1rem;
    max-width: 8em;
}


.reading-list h2 + h3::after {
    content: ", make it good\00A0 for\00A0\2026";
}

/* ==============================
/* SECTION Books
============================== */

/* Framework */

.book {
    list-style: none;
    margin: 0 1.5em 4.5em 0;
    position: relative;
}



.book details {
    width: 14em;
    height: 21em;
    position: relative;
    background: grey;
    border:0;
    z-index: 1;

	/* Disable text select */
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    
    /* Align border to inside */
	box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
        
    /* Fancy 3D box effect */
    --b: .001em;    /* border length*/
    --d: 1em;    /* the cube depth */
    --_s: calc(var(--d) + var(--b));
    transform: translate(0,0);
    clip-path: polygon( 0% var(--d), var(--d) 0%, 100% 0%, 100% calc(100% - var(--d)), calc(100% - var(--d)) 100%, 0% 100% );
    border: solid;
    border-width: var(--_s) var(--_s) 0 0;
    border-top-color: #eee;
    border-right-color: #ddd;
    transform: translate(0,0);
    clip-path: 
    polygon(
        0% var(--d), 
        var(--d) 0%, 
        100% 0%, 
        100% calc(100% - var(--d)), 
        calc(100% - var(--d)) 100%, 
        0% 100%
    );
}

.book details {
    /*transition: .2s ease-out;*/
}
    
.book details::before {
    position: absolute;
    top: -1.8em;
    left: .8em;
    display: block;
    content: "";
    width: 100%;
    height: 101%;
    z-index: -1;
    
    --b: .001em;    /* border length*/
    --d: 1em;    /* the cube depth */
    --_s: calc(var(--d) + var(--b));
    border: solid;
    border-width: var(--_s) var(--_s) 0 0;
    border-color: white;
    transform: translate(0,0);
    
    /*
    clip-path: polygon(
        0% var(--d), 
        var(--d) 0%, 
        100% 0%, 
        100% calc(100% - var(--d)), 
        calc(100% - var(--d)) 100%, 
        0% 100%
   );
    */
}

.book details::after {
    position: absolute;
    top: -20em;
    left: -11.76em;
    display: block;
    background: white;
    content: "";
    width: 100%;
    height: 100%;
    z-index: 1;
    --b: .001em;
    --d: 1em;
    --_s: calc(var(--d) + var(--b));
    transform: translate(0,0);
    clip-path: polygon( 
        0% var(--d), 
        var(--d) 0%, 
        100% 0%, 
        100% calc(100% - var(--d)), 
        calc(100% - var(--d)) 
        100%, 0% 100% 
    );
}

/* Shelf */

.book::after {
    content: "";
    display: block;
    position: absolute;
    width: 200vw;
    height: 3rem;
    background: #eee;
    z-index: 1;
    margin: -1em 0 0 -100vw;
    z-index: -1;
    box-shadow: 0 1.75rem 0 #ddd;
}

/* 'Closed' book */

.book details summary {
	mix-blend-mode: difference;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.book details summary::marker,
.book details summary::-webkit-details-marker {
    display: none
}

.book details summary::after {
    color: white;
    content: 'More info';
    display: block;
    font-size: 1.1rem;
    margin: 0 0 1.5em 1rem;
    position: absolute;
    bottom: 0;
    mix-blend-mode: difference;
    padding-bottom: 0;
    line-height: 1.05;
    padding-right: 1rem;
    background-image: url(../img/graphics/arrow-right-small-rev.svg); 
    background-repeat: no-repeat;
    background-size: .5rem;
    background-position: right .1em;
}

/* Headline */

.book h4 {
    color: white;
font-size: 3.3em;
text-transform: uppercase;
letter-spacing: .02em;
line-height: .9;
position: absolute;
width: 100%;
height: 100%;
margin: 1rem 0 0 1rem;
max-width: 3.4em;
max-height: 6.1em;
mix-blend-mode: difference;
font-family: "ff-good-web-pro-compressed", sans-serif;
font-weight: 700;
font-style: normal;
}

.book h4::before {
    content: "\2026\00A0";
}

.book h4 .per {
    top: -.03em;
    position: relative;
}

/* Colour overrides for tricky legibility */

.trott-thinking h4,
.trott-thinking details summary::after,

.economist h4,
.economist details summary::after,

.business-graphic h4,
.business-graphic details summary::after,

.business-expertise h4,
.business-expertise details summary::after {
	mix-blend-mode: screen;
}

.bible-history h4,
.bible-history details summary::after {
	mix-blend-mode: overlay;
}

.renner h4,
.renner details summary::after,

.book-at-war h4,
.book-at-war details summary::after {
	mix-blend-mode: soft-light;
}

/* Open cover */

.book:has(details[open])::before {
    content: "";
display: block;
position: absolute;
width: .5em;
height: 21.85em;
top: 0;
left: -.26em;
background: #f6f6f6;
z-index: 1;
margin: 0;
z-index: 10;
    box-shadow: inset .2em 0em 0 rgba(255,255,255,0.5);
}

.book details[open] {
    background: #fafafa;
    z-index: 2;
    box-shadow: inset .5em 0 0 #bbb;
}

.book details[open] summary:after {
    content: "Less info";
    mix-blend-mode: normal;
    color: var(--color--almost_black);
    margin-left: 1.25rem;
    
        
            padding-left: 1rem;
    padding-right: 0;

        background-image: url(../img/graphics/arrow-left-small-black.svg); 
    background-repeat: no-repeat;
    background-size: .5rem;
    background-position: left .13em;
}


.book details[open] summary h4 {
    opacity: 0;
}

/* Title */

.book h5 {
    color: var(--color_text--default);
    text-transform: none;
    font-size: 1.2rem;
	margin: 1rem 1rem 0 1.25rem;
    padding: 0;
    line-height: 1.1;
}

/* Author */

.book .author {
    display: block;
	font-weight: 400;
    font-size: 1.1rem;
	letter-spacing: .015em;
    line-height: 1.2;
    margin-top: .35em;
}


/* Category */

.book .category {
    display: block;
    font-size: 1.1rem;
	letter-spacing: .015em;
    line-height: 1.2;
    margin-top: 0em;
    color: #888;
}

.book .category::after {
	content:"";
	display: block;
	width: 1.5em;
	margin: .5em 0 1em;
	border-top: .1rem solid;
}


/* Review text */

.book p {
    margin: 0 1rem 0 1.25rem;
    padding: 0;
    font-size: 1rem;
	letter-spacing: .015em;
    line-height: 1.2;
}

.book .reviewer {
    display: none;
}

/* Priority book */

.priority-book {
    margin-bottom: 4.5em;
}

.priority-book::after {
    margin: -1.1em 0 0 -100vw;
}

.priority-book details {
    font-size: 1.1em;
}

.book.priority-book:has(details[open])::before {
    height: 24em;
}

.book.priority-book h4 {
    max-width: 3.65em;
    max-height: 5.95em;
}

.book.priority-book h5 {
    margin-top: 1.25rem;
    font-size: 1.3rem;
}

.book.priority-book p {
    font-size: 1.1rem;
	letter-spacing: .015em;
}

.book.priority-book .author,
.book.priority-book .category,
.book.priority-book p {
	letter-spacing: .015em;
}

/* Vertical jump on hover */

.book:has(details:not([open]) summary:hover) {
    transform: translate(-.15rem, -.5rem);
}

.book.priority-book:has(details:not([open]) summary:hover) {
    transform: translate(-.15rem, calc(-.5rem - .1em));
}

/* Compensate vertical location of shelf */

.book:has(details:not([open]) summary:hover)::after {
    margin-top: calc(-1em + .5rem);
}

.book.priority-book:has(details:not([open]) summary:hover)::after {
    margin-top: calc(-1em + .5rem);
}

/* Shadow underneath book */

.book:has(details:not([open]) summary:hover)::before {
    position: absolute;
    content: "";
    height: 1em;
    width: 13em;
    z-index: 1;
    bottom: calc(2em - .5rem);
    left: 2.75em;
    box-shadow: -.2em 2.5rem 0 #bbb;
    transform: skewX(-45deg);
}

.priority-book:has(details:not([open]) summary:hover)::before {
    width: 14.3em;
}

/* Vertical jump back on active */

.book:has(details:not([open]) summary:active) {
    transform: translate(0, 0);
}

.book.priority-book:has(details:not([open]) summary:active) {
    transform: translate(0, 0);
}

/* Compensate vertical location of shelf */

.book:has(details:not([open]) summary:active)::after {
    margin-top: -1em;
}

.book.priority-book:has(details:not([open]) summary:active)::after {
    margin-top: -1.1em;
}

/* Remove shadow underneath book */

.book:has(details:not([open]) summary:active)::before,
.priority-book:has(details:not([open]) summary:active)::before {
    box-shadow: none;
}

/* Book cover colours */

.art-of-book details, 
.art-of-book details::after,
.art-of-book:has(details[open])::before {background: #e2d0b4}
.art-of-book details::before {border-color: #e2d0b4}

.elements details, 
.elements details::after,
.elements:has(details[open])::before {background: #000}
.elements details::before {border-color: #000}

.harts details, 
.harts details::after,
.harts:has(details[open])::before {background: #030e51}
.harts details::before {border-color: #030e51}

.economist details, 
.economist details::after,
.economist:has(details[open])::before {background: #df110e}
.economist details::before {border-color: #df110e}

.org-design details, 
.org-design details::after,
.org-design:has(details[open])::before {background: #68689d}
.org-design details::before {border-color: #68689d}

.signage-wayfinding details, 
.signage-wayfinding details::after,
.signage-wayfinding:has(details[open])::before {background: #00588c}
.signage-wayfinding details::before {border-color: #00588c}

.signage-systems details, 
.signage-systems details::after,
.signage-systems:has(details[open])::before {background: #000}
.signage-systems details::before {border-color: #000}

.everyday-things details, 
.everyday-things details::after,
.everyday-things:has(details[open])::before {background: #f5bc0a}
.everyday-things details::before {border-color: #f5bc0a}

.web-usability details, 
.web-usability details::after,
.web-usability:has(details[open])::before {background: #911e20}
.web-usability details::before {border-color: #911e20}

.paul-rand details, 
.paul-rand details::after,
.paul-rand:has(details[open])::before {background: #ffae15}
.paul-rand details::before {border-color: #ffae15}

.quantative-information details, 
.quantative-information details::after,
.quantative-information:has(details[open])::before {background: #e9e1cc}
.quantative-information details::before {border-color: #e9e1cc}

.designing-books details, 
.designing-books details::after,
.designing-books:has(details[open])::before {background: #e5c788}
.designing-books details::before {border-color: #e5c788}

.essays-on-design details, 
.essays-on-design details::after,
.essays-on-design:has(details[open])::before {background: #fec60d}
.essays-on-design details::before {border-color: #fec60d}

.form-book details, 
.form-book details::after,
.form-book:has(details[open])::before {background: #b6c4b7}
.form-book details::before {border-color: #b6c4b7}

.creativity-workplace details, 
.creativity-workplace details::after,
.creativity-workplace:has(details[open])::before {background: #7994cb}
.creativity-workplace details::before {border-color: #7994cb}

.ideas-selling details, 
.ideas-selling details::after,
.ideas-selling:has(details[open])::before {background: #e2db54}
.ideas-selling details::before {border-color: #e2db54}

.anatomy-minimum details, 
.anatomy-minimum details::after,
.anatomy-minimum:has(details[open])::before {background: #7a7c7c}
.anatomy-minimum details::before {border-color: #7a7c7c}

.glaser-posters details, 
.glaser-posters details:after,
.glaser-posters:has(details[open])::before {background: #000}
.glaser-posters details::before {border-color: #000}

.trott-thinking details, 
.trott-thinking details:after,
.trott-thinking:has(details[open])::before {background: #e42028}
.trott-thinking details::before {border-color: #e42028}

.branding-johnson details, 
.branding-johnson details::after,
.branding-johnson:has(details[open])::before {background: #e43a4a}
.branding-johnson details::before {border-color: #e43a4a}

.brand-gap details, 
.brand-gap details::after,
.brand-gap:has(details[open])::before {background: #000}
.brand-gap details::before {border-color: #000}

.brand-flip details, 
.brand-flip details::after,
.brand-flip:has(details[open])::before {background: #000}
.brand-flip details::before {border-color: #000}

.business-expertise details, 
.business-expertise details::after,
.business-expertise:has(details[open])::before {background: #e8443a}
.business-expertise details::before {border-color: #e8443a}

.survival-freelancers details, 
.survival-freelancers details::after,
.survival-freelancers:has(details[open])::before {background: #5e596b}
.survival-freelancers details::before {border-color: #5e596b}

.printing-types details, 
.printing-types details::after,
.printing-types:has(details[open])::before {background: #e1d1a8}
.printing-types details::before {border-color: #e1d1a8}

.articulating-decisions details, 
.articulating-decisions details::after,
.articulating-decisions:has(details[open])::before {background: #0762AF}
.articulating-decisions details::before {border-color: #0762AF}

.business-graphic details, 
.business-graphic details::after,
.business-graphic:has(details[open])::before {background: #D83327}
.business-graphic details::before {border-color: #D83327}

.talent-not-enough details, 
.talent-not-enough details::after,
.talent-not-enough:has(details[open])::before {background: #F07F22}
.talent-not-enough details::before {border-color: #F07F22}

.on-book-design details, 
.on-book-design details::after,
.on-book-design:has(details[open])::before {background: #3C4741}
.on-book-design details::before {border-color: #3C4741}

.bible-history details, 
.bible-history details::after,
.bible-history:has(details[open])::before {background: #A35943}
.bible-history details::before {border-color: #A35943}

.book-at-war details, 
.book-at-war details::after,
.book-at-war:has(details[open])::before {background: #507B8E}
.book-at-war details::before {border-color: #507B8E}

.pinker-style details, 
.pinker-style details::after,
.pinker-style:has(details[open])::before {background: #F5EDE6}
.pinker-style details::before {border-color: #F5EDE6}

.orwell-politics details, 
.orwell-politics details::after,
.orwell-politics:has(details[open])::before {background: #B2B7BA}
.orwell-politics details::before {border-color: #B2B7BA}

.scientific-advertising details, 
.scientific-advertising details::after,
.scientific-advertising:has(details[open])::before {background: #E5D71B}
.scientific-advertising details::before {border-color: #E5D71B}

.type-visual-history details, 
.type-visual-history details::after,
.type-visual-history:has(details[open])::before {background: #59595C}
.type-visual-history details::before {border-color: #59595C}

.unger-type details, 
.unger-type details::after,
.unger-type:has(details[open])::before {background: #363088}
.unger-type details::before {border-color: #363088}

.renner details, 
.renner details::after,
.renner:has(details[open])::before {background: #707C8B}
.renner details::before {border-color: #707C8B}

.good-services details, 
.good-services details::after,
.good-services:has(details[open])::before {background: #F27075}
.good-services details::before {border-color: #F27075}

.tschichold details, 
.tschichold details::after,
.tschichold:has(details[open])::before {background: #97BFB7}
.tschichold details::before {border-color: #97BFB7}



/* White covers */

.do-purpose details,
.do-purpose details::after,

.mismatch details,
.mismatch details::after,

.content-design details,
.content-design details::after,

.design-as-art details,
.design-as-art details::after,

.design-of-the-book details,
.design-of-the-book details::after,

.detail details,
.detail details::after,

.not-how-good details,
.not-how-good details::after,

.typographic-design details,
.typographic-design details::after,

.birdsall-books details,
.birdsall-books details::after,

.copy-book details,
.copy-book details::after,

.how-plan details,
.how-plan details::after

{
    background: #fafafa; 
}

.do-purpose::before,
.content-design details::before,
.design-as-art details::before,
.design-of-the-book details::before,
.detail details::before,
.not-how-good details::before,
.typographic-design details::before,
.birdsall-books details::before,
.copy-book details::before,
.how-plan details::before
{
    border-color: #fafafa; 
}

/* Text for light covers */

/*
.art-of-book p, 
.art-of-book h4,

.paul-rand p, 
.paul-rand h4,

.design-as-art p, 
.design-as-art h4,

.design-of-the-book p, 
.design-of-the-book h4,

.detail p, 
.detail h4,

.not-how-good p, 
.not-how-good h4,

.quantative-information p, 
.quantative-information h4,

.typographic-design p, 
.typographic-design h4,

.birdsall-books p, 
.birdsall-books h4,

.copy-book p, 
.copy-book h4,

.essays-on-design p, 
.essays-on-design h4,

.everyday-things p, 
.everyday-things h4,

.designing-books p, 
.designing-books h4,

.form-book p, 
.form-book h4, 

.printing-types p, 
.printing-types h4 

{
    color: var(--color_text--default);
}
/*

/* Improve legibility of headings */

.anatomy-minimum h4,
.org-design h4,
.creativity-workplace h4,
.branding-johnson h4
{
    color: #7f7f7f;
}

/* Improve legibility of graphics */

.anatomy-minimum details summary::after,
.org-design details summary::after,
.creativity-workplace details summary::after,
.branding-johnson details summary::after
{
    color: #7f7f7f;
    background-image: url(../img/graphics/arrow-right-small-grey.svg); 
}


/* !SECTION Books */
/* !SECTION Bookshelf page */
/* =================================================================
/* SECTION Words pages
================================================================= */

.words,
.words header {
    background: var(--color--almost_black);
}

.words main p,
.words main a,
.words main a:link,
.words main a:visited {
    color: white
}

/* Internal links */

.words .internal-link {
    background-image: url(../img/graphics/arrow-right-small-rev.svg);
}
    
.words .internal-link-back {
    background-image: url(../img/graphics/arrow-left-small-rev.svg);
}

/* Switch images to reversed versions */

.words #header-home {
    background-image: url(../img/brand-mark-rev-black.svg);
}   

.words #breadcrumb {
    background-image: url(../img/graphics/arrow-left-small-rev.svg);
}  

.words .contact-cta::before {
    background-image: url(../img/graphics/contact-rev.svg);
}

/* Index page */

.words-index .latest-article h2 {
    font-size: var(--font_size--xlarge);
    line-height: var(--font_height--xlarge);
    max-width: 18em;
    margin-top: 2.5em;
}

.words-index .recent-articles {
    display: flex;
    flex-wrap: wrap;
    border-top: .1em solid white;
    padding-top: 2em;
    margin-top: 6em;
    margin-bottom: 1.25em;
}

.words-index .recent-articles article {
    flex: calc(50% - 2em);
    margin: 0 2em 4em 0;
}

.words-index .recent-articles article h2 {
    font-size: var(--font_size--large);
    line-height: var(--font_height--large);
    margin-top: 0;
}

.words-index .latest-article article h2 a,
.words-index .recent-articles article h2 a {
    color: var(--color--brand_one)!important;
}

/* Article */

.words-post article h1,
.words-post article h2,
.words-post article h3 {
    font-weight: var(--font_weight--normal);
}

.words-post article h1 {
    font-size: var(--font_size--xxlarge);
    line-height: var(--font_height--xxlarge);
    max-width: 15em;
}

.words-post article h2 {
    font-size: var(--font_size--xlarge);
    line-height: var(--font_height--xlarge);
    margin: 1.5em 0 1em;
    max-width: 18em;
}

.words-post article h3 {
    font-size: var(--font_size--large);
    line-height: var(--font_height--large);
    margin: 2em 0 1.25em;
    max-width: 24em;
}

.words-post article .stand-first {
    margin-bottom: 5em;
}

/* Hero image */

.words-post article figure.hero-img {
    width: 100%;
    margin-bottom: 3.5em;
    padding-top: 1em;
}

.words-post article figure.hero-img img {
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.words-post article figure.hero-img figcaption {
    color: var(--color--brand_one);
    font-style: normal;
    margin-top: 1em;
}

/* Inset images */

.words-post article figure.inset-img {
    margin: 2.5em 0 2.25em;
}

.words-post article figure.inset-img figcaption {
    color: var(--color--brand_one);
    font-style: normal;
    font-size: var(--font_size--small);
    line-height: calc(var(--font_height--small) + .1);
    font-style: normal;
    margin: 1em 0 -.25em;
}

.words-post article figure.inset-img img {
    object-fit: contain;
    width: 100%;
    max-width: 36em;
    height: 100%;
}

/* Quotes */

.words-post article figure.quote {
    color: white;
    font-weight: var(--font_weight--normal);
    border-left: .1em solid var(--color--brand_one);
    padding: 0 1.5rem .25rem 1rem;
    margin: 2em 0 2em 1em;
    max-width: 30em;
    line-height: var(--font_height--normal);
}

.words-post article figure.quote blockquote {
    color: white;
    font-weight: var(--font_weight--normal);
    line-height: var(--font_height--normal);
    padding: 0;
    margin: 0;
    max-width: 26em;
    border: 0;
}

.words-post article figure.quote figcaption {
    color: var(--color--brand_one);
    font-size: var(--font_size--small);
    line-height: calc(var(--font_height--small) + .1);
    margin-top: 1em;
    font-style: normal;
}

/* Drop cap */

.words-post .article-body p:first-of-type:first-letter {
  float: left;
  background: var(--color--brand_one);
  font-size: 4.85em;
  line-height: 1;
  margin: .08em .12em 0 0;
  padding: .09em .22em .09em .21em;
}

/* Article aside */

.words-post article aside {
    background: var(--color--darker_grey);
    padding: 1.2rem 1rem 1rem;
    max-width: 36em;
    margin-top: 5.5em;
}

.words-post article aside h2 {
    margin-top: 0;
    max-width: 22em;
    font-size: var(--font_size--large);
    line-height: var(--font_height--large);
}

/* Imprint */

.words-post article #imprint {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    margin-top: 6em;
    max-width: 20em;
}

.words-post article #imprint p {
    margin-bottom: 0;
}

.words-post #byline,
.words-post #credit {
    font-size: var(--font_size--small);
    letter-spacing: .015em;
    line-height: 1.18;
}

.words-post #byline {
    background-image: url(../img/brand-logo-only-rev-black.svg);
    background-repeat: no-repeat;
    background-position: 0 .18em;
    background-size: .97em;
    padding-left: 1.8em;
    min-height: 3.3em;
    max-width: 10em;
    margin-bottom: 2em;
}


/* Share */

.words-post .share {
    margin: 2.5em 0;
}

.words-post .share button,
.words-post .share a {
	letter-spacing: .015em;
    font-size: var(--font_size--small);
}

.words-post .share button {
	background:none;
    border: .09em solid white;
    margin: 0 1em 0 0;
    padding: .4em .5em .45em;

}

.words-post .share button:hover {
	background: white;
    color: var(--color_text--default);
}

/* Related content */

.words-post .related-content {
    margin-top: 8em;   
}

.words-post .related-content ul {
    list-style: none;
    margin-bottom: 4em;
}

/*
.words-post .related-content li {
    margin-inline-start: 0!important;
}
*/

.words-post .related-content p:first-of-type,
.words-post .related-content .internal-link-back {
    font-size: var(--font_size--medium);
    font-weight: var(--font_weight--bold);
}

.words-post .related-content li {
    background-image: url(../img/graphics/arrow-right-small-rev.svg);
    background-repeat: no-repeat!important;
    background-size: .45em;
    background-position: left .25em;
    padding-left: .8em;
    margin: 0 0 1em;
    max-width: 28em;
}

/* !SECTION Words pages */
/* =================================================================
/* SECTION 404 page
================================================================= */

.lost h1 {
    font-size: var(--font_size--xxlarge);
    line-height: calc(--font_height--xxlarge);
    max-width: 13em;
}

.lost h1 span {
    display: block;
    margin-top: .4em;
    font-size: var(--font_size--xlarge);
    line-height: calc(--font_height--xlarge);
}

/* !SECTION 404 page */
/* =================================================================
/* SECTION Scaling up for larger displays
================================================================= */

@media (min-width: 30em) {
    
    /* ==============================
    /* SECTION Header
    ============================== */
    
    header nav {
        display: block;
        margin-bottom: 1em;
    }
    
    header nav span {
        display: inline;
    }
    
    header nav ul {
        width: unset;
        margin: 1.2em 0 0 1.2em;
    }
    
    #header-home {
        display: block;
        width: 7em;
        height: 7.5em;
    }
    
    /* !SECTION Header */
    /* ==============================
    /* SECTION Home page
    ============================== */
        
    #intro h1 {
        margin-left: 1.6em;
        padding-right: 1.6em;
    }
    
    #intro h1 span.big-headline {
        font-size: calc(var(--font_size--xlarge) + .1em);
        line-height: calc(var(--font_height--xlarge) + .1);
    }
    
    #intro h1:not(span.big-headline) {
        max-width: 24.5em;
    }
    
    #home-nav a {
        font-size: var(--font_size--large);
        line-height: calc(var(--font_height--large) - .1);
        margin-right: 3rem;
        max-width: calc(50% - 3rem);
    }
    
    .slideshow-wrap {
        max-width: 25em;
        height: 32em;
    }
    
    .text {
        top: 27em;
    }
    
    /* !SECTION Home page */
    /* ==============================
    /* SECTION What page
    ============================== */
    
    /* Adjust spacing */
    
    #brand,
    #communication,
    #experience {
        margin-top: 9em;
    }
    
    /* Adjust scale of symbols */
    
    #brand::before,
    #communication::before,
    #experience::before {
        height: 5em;
        width: 5em;
        margin-top: -6em;
    }
    
    /* !SECTION What page */
    /* ==============================
    /* SECTION Why page
    ============================== */
    
    /* Adjust spacing */
    
    .why .wrap section {
        padding-top: 0;
        padding-left: 7em;
    }

    .why .wrap section::before {
        width: 6em;
        margin-left: -7em;
    }
    
    .why #partnership::before {
        background-position: 1.3em 0;
    }
    
    .why #trust::before {
        background-position: .9em 0;
    }
    
    .why #candor::before {
        background-position: 1.3em 0;
    }
    
    .why #empathy::before {
        background-position: 1.3em 0;
    }
    
    .why #humility::before {
        background-position: .9em -.2em;
    }
    
    .why #understanding::before {
        background-position: 1.5em .1em;
    }
    
    .why #wit::before {
        background-position: 0 -1.2em;
    }
    
    .why #doggedness::before {
        background-position: 1.3em 0;
    }
    
    /* !SECTION Why page */
    /* ==============================
    /* SECTION Who page
    ============================== */       
    
    .who .stand-first + p{
        padding-top: 1.02em;
    }
    
    .who .hard-work {
        padding-top: 1.08em;
    }
    
    /* !SECTION Who page */
    /* ==============================
    /* SECTION Contact page
    ============================== */      
    
    .contact h2 {
        margin-top: 0;
    }    
    
    .contact .wrap .wrap {
        padding-top: 3.5em;
        margin-bottom: 2em;
        background-size: 3em;
    }

    .design-partner {
        background-position: 0 1.3em!important;
    }

    .agency-designer {
        background-position: 0 .8em!important;
    }
    
    /* Use two-column layout */

    .contact .wrap {
        display: flex;
        flex-wrap: wrap;
    }
    
    .contact .wrap .wrap {
        max-width: calc(50% - 2em);
        flex-direction: column;
        margin: 0 2em 1.5em 0;
    }  
    
    /* !SECTION Contact page */
    /* ==============================
    /* SECTION Words pages
    ============================== */ 
   
    .words-post #byline,
    .words-post #credit {
        line-height: 1.2;
    }
    
    
    
    
    .words-post article #imprint {
        flex-direction: row;
        flex-wrap: nowrap;
        max-width: 34em;
    }

    .words-post #byline {
        flex: 40%;
        max-width: 40%;
        margin-right: 2em;
    }

    .words-post #credit {
        flex: 60%;
        max-width: 60%;
    }

    
    /* !SECTION Words pages */

}

@media (min-width: 40em) {
    
        
    .contact-cta span {
        display: block;
    }
    
    /* Adjust spacing */
    
    main {
	   margin-bottom: 26em;
    }
    
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    .stand-first {
        margin-bottom: 2em;
    }
    
    /* ==============================
    /* SECTION Header
    ============================== */ 

    /* Adjust spacing */
    
    header nav {
        margin-bottom: 2em;
    }
    
    header nav ul {
        margin-left: 1.2em!important;
    }
    
    header nav li {
        margin-right: 2em!important;
        margin-left: 0!important;
    }
    
    #header-home {
        margin-left: -2rem;
    }
        
    /* !SECTION Header */
    /* ==============================
    /* SECTION Footer
    ============================== */ 

    #footer-home {
        margin-left: -2rem;
    }
    
    /* Adjust spacing */
    
    #page-footer nav ul {
        margin: 1.1em 0 0 20vw;
    }
    
    #page-footer-home {
        margin-left: -2rem;
    }
    
    /* Expand footer call to action */
    
    #fixed-footer a {
        background-position: calc(50% - 3.45em) .45em;
    }
    
    #fixed-footer .full-message {
        display: contents;
    }
    
    #fixed-footer .truncated-message {
        text-transform: none;
    }
    
    /* Cookie bar */

    .cky-revisit-bottom-right {
        bottom: 4.5em!important;
    }
    
    /* !SECTION Footer */
    /* ==============================
    /* SECTION Home page
    ============================== */
        
    #intro h1 {
        margin-left: 1em;
    }
    
    #intro h1 a,
    #intro h1 a:link,
    #intro h1 a:visited {
        text-underline-offset: .3em;
    }
    
    #home-nav {
        margin: 3.5em auto 10em;
    }
    
    /* Adjust scale of symbols */
    
    #home-nav a::before {
        width: 4em;
        height: 4em;
        background-image: url(../img/graphics/arrow-right-big-col.svg);
        margin-left: -.9em;
    } 
    
    /* SECTION Home page
    /* ==============================
    /* SECTION What page
    ============================== */
    
    /* Use two-column layout */
    
    .what .wrap:nth-of-type(1) {
        margin-bottom: 8em;
    }
    
    .what .wrap:nth-of-type(2),
    .what .wrap:nth-of-type(3) {
        display: flex;
        flex-wrap: wrap;
    }
    
    .what .wrap:nth-of-type(2) section,
    .what .wrap:nth-of-type(3) section {
        flex: calc(50% - 3em);
        max-width: calc(50% - 3em);
        margin-right: 3em;
    }

    #brand,
    #communication,
    #experience {
        margin: 0 0 3.5em 7em;
    }
    
    #brand h3,
    #communication h3,
    #experience h3 {
        margin-top: 0;
    }
    
    #brand::before,
    #communication::before,
    #experience::before {
        margin: 0 0 0 -7em;
        top: .38em;
    }
    
    /* Adjust scale */
    
    #internal,
#external,
#business,
#nonprofit-gov,
#agency-collab,
#future {
    background-size: 3em;
    padding-top: 3.5em;
}

#internal {
    background-image: url(../img/graphics/design-inside.svg);
    background-position: 0 .8em;
}

#external {
    background-image: url(../img/graphics/design-outside.svg);
    background-position: 0 1.2em;
}

#business {
    background-image: url(../img/graphics/business.svg);
    background-position: 0 .9em;
}

#nonprofit-gov {
    background-image: url(../img/graphics/ngo.svg);
    background-position: 0 0;
}

#agency-collab {
    background-image: url(../img/graphics/agency.svg);
    background-position: 0 .7em;
}

#future {
    background-image: url(../img/graphics/education.svg);
    background-position: 0 .2em;
}
    
    /* !SECTION What page */
    /* ==============================
    /* SECTION Why page
    ============================== */
    
    /* Use two-column layout */
    
    .why .wrap {
        display: flex;
        flex-wrap: wrap;
    }
    
    .why .wrap section {
        flex: calc(50% - 3rem);
        max-width: calc(50% - 3rem);
        margin-right: 3rem;
        padding-left: 0;
        padding-top: 2.2em;
    }
    
    .why .wrap section::before {
        margin-left: 0;
        background-position: 0 0!important;
    }
    
    .why #partnership::before {
        margin-left: -.2em;
    }

    .why #trust::before {
        margin-left: -.2em;
    }

    .why #candor::before {
        margin-left: -.2em;
    }

    .why #empathy::before {
        margin-left: -.1em;
    }

    .why #humility::before {
        margin-left: 0;
    }

    .why #understanding::before {
        margin-left: -.4em;
    }

    .why #wit::before {
        margin-left: -.6em;
    }

    .why #doggedness::before {
        margin-left: -.2em;
    }
    
    /* !SECTION Why page */
    /* ==============================
    /* SECTION Who page
    ============================== */


    .who .stand-first + p {
        padding-top: .85em;
    }
    
    .who .hard-work {
        padding-top: .87em;
    }
        
    
    /* Use two-column layout */

    .who .stand-first {
        margin-bottom: 1.1em;
        margin-left: -.75em;
    }
    
    .who .stand-first + p {
        margin-bottom: 5.8em;
    }
        
    .who section {
        display: flex;
        flex-wrap: wrap;
        margin-top: 3em;
    }
    
    .who section h2 {
        font-size: var(--font_size--large);
        line-height: var(--font_height--large);
        flex: 40%;
        max-width: calc(40% - 2em);
        margin: -.15em 3em 0 0;
    }
    
    .who section .wrap {
        flex: 60%;
        max-width: calc(60% - 2em);
    }

    /* !SECTION Who page */
    /* ==============================
    /* SECTION Work page
    ============================== */
    
    #work-egs article {
        padding: 0 0 2.25rem;
        margin-bottom: 5rem;
    }
    
    #work-egs article:has(details[open]) {
        margin-left: -1.25rem;
        margin-right: -1.25rem;
    }
    
    #work-egs article h2 {
        margin-left: 1.4rem;
        margin-top: 2.1rem;
    }
    
    #work-egs article details summary {
        padding-bottom: 6em;
    }
    
    #work-egs article details summary::before {
        bottom: 4rem;
        left: 1.5rem;
        background-position: right .19em;
    }
    
    #work-egs article details:not(details[open]) summary:active {
        outline-width: .6rem;
    }
    
    /* Hero image */

    #work-egs article details:not(details[open]) summary img {
        width: 34rem;
        max-width: 34rem;
    }
     
    /* Open case study */
    
    #work-egs article details[open] {
        margin-left: .25rem;
        margin-right: .25rem;
        width: calc(100% - .5rem);
    }
    
    #work-egs article details[open] summary {
        margin-bottom: 1em;
    }
    
    #work-egs article details[open] summary:before {
        right: .25rem;
    }
    
    #work-egs article details[open] h2 {
        margin-top: 1.5em;
    }
    
    #work-egs article details[open] h2, 
    #work-egs article details .description {
        margin-left: 2rem;
        margin-right: 2rem;
    }  
    
    /* Case study label */

    #work-egs article details[open] summary::after {
        left: .25rem;
    }
    
    /* Image matrix */
    
    #work-egs article .wrap:nth-of-type(2) {
        display: flex;
        padding: 0 1.5rem 1.7rem;
        margin-top: 3em;
    }
    
    #work-egs article .wrap:nth-of-type(2) img {
        flex: 1;
        max-width: 50%;
        width: 50%;
    }    
       
    /* !SECTION Work page */
    /* ==============================
    /* SECTION Legal page
    ============================== */  
    
    /* Optical adjustment */
    
    .date-updated {
        margin-left: -.2em;
    }
    
    /* !SECTION Legal page */
    /* ==============================
    /* SECTION Bookshelf page
    ============================== */ 

    .book details summary::after {
        background-position: right .19em;
    }
    

    
    /* Allow multiple books on each row */

    .reading-list ul {
        display: flex;
        flex-wrap: wrap;
    }

    /* !SECTION Bookshelf page */


}

@media (min-width: 50em) {
    
    /* ==============================
    /* SECTION Header
    ============================== */ 
      
    #header-home {
        width: 7.5em;
        height: 7.9em;
        position: absolute;
        top: 0;
        left: 0;
        margin: 1em 0 0 0;
    }
    
    /* Adjust layout */
    
    header nav {
        padding: .92em 0 0;
        margin: 0 0 6em;
    }
    
    /* Align nav to right */
    
    header nav ul {
        position: absolute;
        right: 2rem;
    }
    
    header nav li {
        margin-right: 0!important;
        margin-left: 2em!important;
    }
    
    /* !SECTION Header */ 

}

@media (min-width: 60em) {

    /* Increase spacing 

    .container {
        padding-left: 2em;
        padding-right: 2em;
    }*/
    
    /* Hang round bullet lists */
    
    main ul:not(
    #home-nav ul,
    #page-nav ul,
    .contact-list,
    .cookie-list,
    .related-content ul
    ) {
        margin-left: -1.6em;
    }
    
    /* ==============================
    /* SECTION Header
    ============================== */
    
    /* Explode margins */
    
    header nav ul {
        position: absolute;
        right: calc(5% + 2rem);
    }
    
    header nav li {
        margin-left: 3em!important;
    }
    
    /* !SECTION Header */  
    /* ==============================
    /* SECTION Footer
    ============================== */  
    
    /* Explode margins */

    #page-footer {
        position: absolute;
        display: block;
        width: 100%;
        padding-bottom: 5em;
    }
    
    #page-footer nav ul {
        margin: .8em 0 0 18vw;
    }
    
    #footer-home {
        position: absolute;
        top: 0;
        left: 0;
        margin: 1em 0 0 0;
        width: 5.5em;
        height: 6em;
    }
    
    #teddy {
        position: absolute;
        right: 4.6rem;
        bottom: 3.85em;       
        max-width: 6em;
        text-align: right;
        line-height: 1;
    }
    
    #teddy::before {
        left: unset;
        right: 0;
        margin-right: -.1em;
    }
    
    
    
    /* ==============================
    /* SECTION Home page
    ============================== */
        
    /* Adjust alignment and spacing */

    #intro {
        padding-top: 2em;
    }
    
    #intro h1 {
        margin-left: 0;
    }
    
    #intro h1 span.big-headline {
        font-size: var(--font_size--xxlarge);
        margin-left: -.05em;
        max-width: 14em;
        width: max-content;
    }

    #home-work {
        margin-top: 6em;
    }  
    
    #home-cta .contact-cta {
        margin-top: 2em;
    }
    
    

    
    
    
    
    
    
    
    
    /* Use multiple-column layout */
    
    #home-work .container {
        display: flex;
        max-width: inherit;
        margin: 0 5%;
    }
    
    #home-work h2 {
        margin-top: 0;
    }
    
    #home-work .wrap {
        flex: 30%;
    }
    
    #home-work .wrap p {
        max-width: 20em;
    }
    
    .slideshow-wrap {
        flex: 70%;
        height: auto;
        margin: 4.5em 0 1em 2em;
    }
    
    .slideshow {
        max-width: 25em;
        margin-left: 0;
    }
    
    .numbertext {
        bottom: auto;
        top: 0;
    }
    
    .numbertext::before {
        top: 0;
    }
    
    /* Hang text */
    
    .text {
        position: absolute;
        top: 70%;
        left: -14em;
        margin-top: 0;
        width: 12em;
        padding: .5em 0;
        border-left: none;
        border-top: .15rem solid var(--color--brand_one);
    }
    
    #home-cta {
        margin: 0 5%;
    }
    
    /* !SECTION Home page */  
    /* ==============================
    /* SECTION Why page
    ============================== */
    
    /* Adjust scale of letterforms */
    
    .why .wrap {
        margin-bottom: 6em;
    }
    
    .why .wrap section {
        padding-top: 4.9em;
    }

    .why .wrap section::before {
        width: 10em;
    }
    
    /* !SECTION Why page */
    /* ==============================
    /* SECTION Work page
    ============================== */

    /* Hero image */

    #work-egs article details:not(details[open]) summary img {
        width: 44rem;
        max-width: 44rem;
    }

    /* Open case study */
    
    #work-egs article details[open] summary img {
        max-width: 52em;
    }
    

    
    /* !SECTION Work page */
    /* ==============================
    /* SECTION Bookshelf page
    ============================== */ 
    
    /* Explode margins */
    
    .reading-list {
        max-width: inherit;
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        position: relative;
    }   
    
    .reading-list ul {
        padding-left: .9em;
    }
    
    .book {
        margin: 0 1em 5em;
    }
    
    /* Headings */
    
    .reading-list h2 {
        margin-bottom: 1.5em;
    }

    .reading-list h3 {
        padding: 0 1.4rem;
    }
    
    .reading-list section h3:first-of-type {
        
        /*padding: 0 2.45rem;
        font-size: 4em;*/
        
        padding: 0;
        font-size: 4em;
        max-width: 25rem;
        position: absolute;
        top: 3.35em;
        left: .22em;
        font-size: 4.5em;
    }

    /* Priority book */

    .priority-book {
        margin-left: 30rem;
        margin-bottom: 6em;
    }    


    
    /* !SECTION Bookshelf page */
    /* ==============================
    /* SECTION Words pages
    ============================== */ 

    /* Increase text measure */
    
    .words-post article .stand-first {
        max-width: 26em;  
    }
    
    .words-post .article-body p {
        line-height: calc(var(--font_height--normal) + .12);
        max-width: 34em;
    }
    
    /* Update drop cap */

    .words-post .article-body p:first-of-type:first-letter {
        margin: 0.1em 0.1em 0.2em 0;
        font-size: 5.21em;
        margin: .08em .16em 0 0;
    }
    
    /* !SECTION Words page */


}

@media (min-width: 75em) {

    /* ==============================
    /* SECTION Footer
    ============================== */ 

    /* Adjust spacing  */
    
    #page-footer nav ul {
        margin-left: 6vw;
    }
    
    /* !SECTION Footer */
    /* ==============================
    /* SECTION Work page
    ============================== */ 
       
    #work-egs {
        margin-top: 7em;
    }
    
    #work-egs article {
        margin-bottom: 6em;
    }
    
    #work-egs article details {
        margin-left: -5rem;
        margin-right: -5rem;
        width: calc(100% + 10rem);
    }
    
    #work-egs article details summary  {
        display: flex;
        flex-direction: row;        
        flex-wrap: nowrap;
        min-width: 100%;
        border-top: .15rem solid var(--color--brand_one);
        border-left: 0;
        padding-bottom: 0;
    }
    
    #work-egs article details summary:before {
        left: 35rem;
        bottom: 4em;
    }
    
     #work-egs article details h2 {
        flex: 1;
        min-width: 10rem;
        margin-left: 2rem;
        padding-right: 2rem;
        margin-top: 1.5em;
    }
    
    /* Hero image */ 
    
    #work-egs article details summary img {
        flex: 1;
    }
    
    #work-egs article details:not(details[open]) summary img {
        min-width: 38rem;
        max-width: 38rem;
    }
    
    #work-egs article details[open] summary img {
        max-width: 45em;
    }
    
    /* Open case study */ 
    
    #work-egs article details[open] {
        margin-left: -6rem;
        margin-right: -6rem;
        width: calc(100% + 12rem);
    }
    
    #work-egs article details[open] summary {
        flex-direction: column;
    }
    
    #work-egs article details[open] h2 {
        margin-bottom: 2.5em;
    }
    
    #work-egs article details .description p {
        line-height: var(--font_height--normal);
    }
    
    /* #work-egs article details .description p:not(.description p:last-of-type) */
    
        #work-egs article details .description {
        display: flex;
        flex-wrap: nowrap;
    }
    
    #work-egs article details .description p {
        line-height: calc(var(--font_height--normal) - .1);
        max-width: 25em;
        padding-right: 2.5em;
    }
    
    /* Close button */ 
    
    #work-egs article details[open] summary:before {
        right: -5.5rem;
        top: -.5rem;
        border-bottom: none;
        border-left: none;
    }
    
    /* Image matrix */ 

    
    #work-egs article .wrap:nth-of-type(2) {
        margin-top: 5em;
    }
    
    #work-egs article .wrap:nth-of-type(2) img {
        max-width: 33.3%;
        width: 33.3%;
    }
    
    /* Case study label */

    #work-egs article details[open] summary::after {
        left: -6rem;
    }
    
    /* !SECTION Work page */
    
}

@media (min-width: 90em) {

    /* ==============================
    /* SECTION Header
    ============================== */  
    
    /* Adjust spacing and proportions */
    
    header nav ul {
        margin-top: 1.4em;
    }
    
    header nav li {
        margin-right: 2.75em!important;
    }
    
    #header-home {
        width: 8em;
        height: 8.3em;
    }
    
    /* !SECTION Header */
    /* ==============================
    /* SECTION Footer
    ============================== */    

    /* Adjust alignment */
    
    #page-footer nav ul {
        margin-left: 0;
        margin-top: 1em;
    }
    
    #footer-home {
        width: 6em;
        height: 6.5em;
    }
    
    /* !SECTION Footer */
    /* ==============================
    /* SECTION Home page
    ============================== */
    
    /* Explode margins and collapse rows into one */
    
    #intro {
        padding-top: 3em;
    }
    
    #home-nav {
        margin-bottom: 12em;
        max-width: inherit;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    #home-nav ul {
        flex-wrap: nowrap;
        margin: 0!important;
    }

    #home-nav li {
        margin: 2em 4rem 0 0;
    }
    
    #home-nav li:last-of-type {
        margin-right: 0;
    }
    
    .text {
        left: -18em;
        width: 16em;
    }
    
    /* !SECTION Home page */
    /* ==============================
    /* SECTION Contact page
    ============================== */      
    
    /* Explode margins and collapse rows into one */
    
    .contact .wrap {
        flex-wrap: nowrap;
        flex: 1;
        max-width: inherit;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    .contact .wrap .wrap {
        margin-right: 3em;
    }
    
    .contact .wrap .wrap:last-of-type {
        margin-right: 0;
    }
    
    .contact-list {
        margin-top: 5em;
    }
    
    /* !SECTION Contact page */
    /* ==============================
    /* SECTION Work page
    ============================== */
    
    #work-egs article details {
        margin-left: -10rem;
        margin-right: -10rem;
        width: calc(100% + 20rem);
    }
    
    #work-egs article details summary:before {
        left: 38rem;
    }
    
    /* Hero image */
        
    #work-egs article details summary img {
        flex: 1;
    }
    
    #work-egs article details:not(details[open]) summary img {
        min-width: 46rem;
        max-width: 46rem;
    }

    /* Open case study */
    
    #work-egs article details[open] {
        margin-left: -14rem;
        margin-right: -14rem;
        width: calc(100% + 28rem);
    }
        
    /* Text */
    
    #work-egs article .wrap:nth-of-type(1) {
        display: flex;
        margin: 0;
    }
    
    #work-egs article details .description {
        display: block;
        max-width: 40%;
        padding-right: 4rem;
        margin-top: 2em;
    }  
    
    /* Image matrix */

    #work-egs article .wrap:nth-of-type(2) {
        max-width: calc(60% - 5rem);
        margin: 2.15em 2rem 2.2rem 0;
        padding: 0;
        justify-content: flex-end;
    }
    
    #work-egs article .wrap:nth-of-type(2) img {
        max-width: 50%;
        width: 50%;
    }
    
    /* Close button */

    #work-egs article details[open] summary:before {
        right: -13rem;
        top: 0;
    }
    
    /* Case study label */

    #work-egs article details[open] summary::after {
        right: -5rem;
        left: unset;
        padding: 1.4rem 1rem 0;
        border-bottom: none;
        border-right: none;
    }

    /* !SECTION Work page */
    /* ==============================
    /* SECTION Bookshelf pages
    ============================== */     
    
    .reading-list h2 {
        margin-top: 3.5em;
    }
    
    .reading-list section h3:first-of-type {
        top: 4.25em;
        max-width: 7em;
    }
    
    .priority-book {
        margin-left: 43.25rem;
        margin-bottom: 8em;
    }  
    
    /* !SECTION Bookshelf page */
    /* ==============================
    /* SECTION Words pages
    ============================== */ 

    .words-index .recent-articles article {
        flex: calc(25% - 2.5em);
        margin-right: 2.5em;
    }

    /* Explode margins */
    
    .words-index .wrap {
        max-width: inherit;
        margin-left: 5%;
        margin-right: 5%;
    }
    
    /* !SECTION Words pages */
    
}

@media (min-width: 100em) {

    /* ==============================
    /* SECTION Home page
    ============================== */
    
    /* Adjust proportions */
    
    #home-work .wrap {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        margin-top: 4em;
        max-width: 50em;
    }
    
    #home-work .wrap p {
        margin-right: 4rem;
        max-width: 15em;
    }
    
    #home-work .wrap h2{
        margin-top: -.48em;
        margin-right: 4rem;
    }
    
    .slideshow-wrap {
        margin-left: 0;
    }

}

@media (min-width: 110em) {
    
    /* ==============================
    /* SECTION Work page
    ============================== */
   
    #work-egs article details {
        margin-left: -20rem;
        margin-right: -20rem;
        width: calc(100% + 40rem);
    }
    
    #work-egs article details summary::before {
        max-width: 10rem;
        top: 2.65em;
        right: -17.9rem;
        left: unset;
        text-align: right;
        height: fit-content;
    }
    
    #work-egs article details h2 {
        max-width: 30rem;
    }
    
    /* Open case study */

    #work-egs article details[open] {
        margin-left: -22rem;
        margin-right: -22rem;
        width: calc(100% + 44rem);
    }
    
    /* Close button */

    #work-egs article details[open] summary:before {
        right: -21rem;
    }
    
    /* Text */
    
    #work-egs article details[open] h2 {
        margin-left: 5rem;
    }
    
    #work-egs article details[open] .description {
        margin-left: 5rem;
    }
    
    /* Case study label */

    #work-egs article details[open] summary::after {
        right: -13rem;
    }
    
    /* !SECTION Work page */
    /* ==============================
    /* SECTION Bookshelf pages
    ============================== */ 
    
    .reading-list {
        padding-left: 5%;
        padding-right: 5%;
    }   
    
    .reading-list section:not(:last-of-type) {
        margin-bottom: 10em;
    }
    
    /* !SECTION Bookshelf page */
    /* ==============================
    /* SECTION Words pages
    ============================== */ 
    
    /* Use multi-column layout */
    
    .words-index .recent-articles article {
        flex: calc(25% - 4em);
        margin-right: 4em;
    }
    
    .words-index .contact-cta {
        margin-top: 4em;
    }
    
    /* !SECTION Words pages */
    
}