/*
 * Emma Dowley Business Support
 * Shared site styles — ED-05.02A
 *
 * Initial structural implementation.
 * Visual dimensions remain subject to reference comparison.
 */

/* Local fonts */

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/Nunito-Sans-400-normal-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/Nunito-Sans-400-normal-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/Nunito-Sans-400-italic-latin-ext.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/Nunito-Sans-400-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/Nunito-Sans-700-normal-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/Nunito-Sans-700-normal-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/Nunito-Sans-700-italic-latin-ext.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Nunito Sans";
  src: url("../fonts/Nunito-Sans-700-italic-latin.woff2") format("woff2");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-500-normal-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-500-normal-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-700-normal-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-700-normal-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Foundation */

:root {
  --font-body: "Nunito Sans", sans-serif;
  --font-heading: "Manrope", sans-serif;

  /* Original Squarespace palette */
  --colour-white: hsl(144 100% 98.04%);
  --colour-purple: hsl(274.62 24.53% 41.57%);
  --colour-lavender: hsl(273.75 45.28% 79.22%);
  --colour-lavender-light: hsl(272.73 64.71% 96.67%);
  --colour-teal: hsl(177.35 50% 26.67%);

  --colour-text: var(--colour-purple);
  --colour-background: var(--colour-lavender-light);

  --page-gutter: 4vw;
  --content-max-width: 1500px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--colour-background);
  color: var(--colour-text);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  background: white;
  color: black;
}

.skip-link:focus {
  top: 1rem;
}

/* Shared header */

.site-header {
  position: relative;
  width: 100%;
  background: var(--colour-lavender-light);
  box-shadow: 0 12px 12px rgb(112 79 132 / 15%);
}

.site-header:has(.mobile-menu-button[aria-expanded="true"]) {
  z-index: 21;
  box-shadow: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 3.6rem var(--page-gutter);
}

.site-logo {
  display: inline-block;
  max-width: 100%;
  font-size: 0;
}

.site-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 168px;
}

.desktop-navigation {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.desktop-navigation a {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.desktop-navigation .navigation-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.9rem 1.7rem;
  border-radius: 999px;
  background: var(--colour-purple);
  color: var(--colour-white);
  font-size: 0.875rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
}

.desktop-navigation .navigation-cta:hover,
.desktop-navigation .navigation-cta:focus-visible {
  background: var(--colour-purple);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.desktop-navigation a:hover,
.desktop-navigation a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

/* Mobile navigation toggle — ED-05.02B */

.mobile-menu-button {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 8px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.menu-icon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 24px;
  height: 24px;
}

.menu-icon span {
  display: block;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.mobile-menu-button[aria-expanded="true"] {
  color: var(--colour-purple);
}

.mobile-menu-button[aria-expanded="true"] .menu-icon {
  gap: 0;
}

.mobile-menu-button[aria-expanded="true"] .menu-icon span:first-child {
  transform: translateY(0.5px) rotate(45deg);
}

.mobile-menu-button[aria-expanded="true"] .menu-icon span:last-child {
  transform: translateY(-0.5px) rotate(-45deg);
}

/* Full-screen mobile navigation — ED-05.02B */

.mobile-navigation {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100vh;
  height: 100dvh;
  padding-top: var(--mobile-header-height, 0px);
  overflow-y: auto;
  background: var(--colour-lavender-light);
}

.mobile-navigation-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
  gap: 1.5rem;
  width: 100%;
  padding: clamp(7rem, 22vh, 13rem) var(--page-gutter) 2rem;
}

.mobile-navigation-links a {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 7vw, 3rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
}

.mobile-navigation-contact {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  width: 100%;
  margin-bottom: 0;
  padding: clamp(7rem, 22vh, 13rem) var(--page-gutter) 2rem;
}

.mobile-navigation-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
  min-width: 215px;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: var(--colour-purple);
  color: var(--colour-white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: uppercase;
}

.mobile-navigation a:focus-visible {
  outline: 2px solid var(--colour-purple);
  outline-offset: 5px;
}

.mobile-navigation-footer {
  display: flex;
  flex-shrink: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  width: 100%;
  padding: 3rem var(--page-gutter);
  text-align: left;
}

.mobile-navigation-policies {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.mobile-navigation-policies a,
.mobile-navigation-email {
  font-size: 0.875rem;
  text-underline-offset: 0.2em;
}

.mobile-navigation-copyright {
  margin: 3rem 0 0;
  font-size: 0.875rem;
}

.mobile-navigation-contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-top: 4rem;
}

.mobile-navigation-contact-heading {
  margin: 0 0 2rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.mobile-navigation-footer .footer-social {
  justify-content: flex-start;
  width: auto;
  margin-top: 1.5rem;
}

.mobile-navigation[hidden] {
  display: none;
}

/* Page content */

main {
  display: block;
  min-height: 1px;
}

/* Homepage — ED-05.03 */

.home-hero {
  padding: 4rem var(--page-gutter) 8rem;
}

.home-hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 3rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.home-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.home-hero-content h1 {
  margin: 0;
  font-size: clamp(2rem, 3.3vw, 3rem);
  line-height: 1.2;
}

.home-hero-cta {
  display: inline-block;
  margin-top: 4.5rem;
  padding: 1.25rem 2.5rem;
  border-radius: 999px;
  background: var(--colour-purple);
  color: var(--colour-white);
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.home-hero-image {
  display: flex;
  justify-content: center;
}

.home-hero-image img {
  display: block;
  width: 100%;
  max-width: 435px;
  height: 463px;
  object-fit: cover;
  object-position: center 35%;
}

/* Shared footer */

.site-footer {
  width: 100%;
}

.footer-inner {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 4rem;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 5rem var(--page-gutter) 8rem;
}

.footer-business-name,
.footer-contact-heading {
  margin: 0 0 2rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.footer-policies {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-copyright {
  margin: 3.5rem 0 0;
  font-size: 0.875rem;
}

.footer-contact > a {
  display: inline-block;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 1.5rem;
}

/* Squarespace desktop footer: two social icons per row */
.site-footer .footer-social {
  width: 146px;
  flex-wrap: wrap;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--colour-purple);
  text-decoration: none;
}

.footer-social svg {
  display: block;
  width: 64px;
  height: 64px;
  fill: currentColor;
}

.footer-social a:hover {
  opacity: 0.7;
}

.footer-social a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Navigation breakpoint: 799 / 800px */

@media (max-width: 799px) {
  .desktop-navigation {
    display: none;
  }

  .mobile-menu-button {
    display: flex;
  }

  .site-logo img {
    max-height: 75px;
  }

  .header-inner {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .mobile-navigation-links {
    padding-top: clamp(10rem, 30vh, 18rem);
  }

  .mobile-navigation-contact {
    padding-top: clamp(10rem, 30vh, 18rem);
  }
}

/* Content breakpoint: 767 / 768px */

@media (max-width: 767px) {
  :root {
    --page-gutter: 6vw;
  }

  .header-inner {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .footer-social {
    flex-wrap: wrap;
  }
  .site-footer .footer-social {
    width: auto;
  }
  .mobile-navigation-links {
    padding-top: clamp(7rem, 22vh, 13rem);
  }

  .mobile-navigation-contact {
    padding-top: clamp(7rem, 22vh, 13rem);
  }
}

/* Homepage responsive layout — ED-05.03 */

@media (min-width: 768px) and (max-width: 1023px) {
  .home-hero {
    padding-top: 3rem;
    padding-bottom: 6rem;
  }

  .home-hero-inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
  }

  .home-hero-content h1 {
    font-size: clamp(1.75rem, 3.3vw, 2.5rem);
  }

  .home-hero-cta {
    margin-top: 3rem;
  }

  .home-hero-image img {
    max-width: 100%;
    height: 430px;
  }
}

@media (max-width: 767px) {
  .home-hero {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }

  .home-hero-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .home-hero-image {
    grid-row: 1;
  }

  .home-hero-content {
    grid-row: 2;
  }

  .home-hero-image img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center 35%;
  }

  .home-hero-content h1 {
    font-size: clamp(2rem, 8vw, 2.75rem);
    line-height: 1.2;
  }

  .home-hero-cta {
    margin-top: 2rem;
    width: 165px;
    padding: 1rem 1.5rem;
    white-space: normal;
    font-size: 1rem;
    line-height: 1.4;
    text-align: center;
  }
}

/* Services page — ED-05.04 */

.services-page {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 6rem var(--page-gutter) 8rem;
}

.services-intro,
.services-benefits,
.services-offerings {
  max-width: 860px;
}

.services-intro h1,
.services-benefits h2,
.services-offerings h2 {
  font-weight: 700;
}

.services-intro h1 {
  max-width: 810px;
  margin: 0 0 2.5rem;
  font-size: 2.25rem;
  line-height: 1.2;
}

.services-intro p {
  max-width: 790px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1.25;
}

.services-benefits {
  margin-top: 8rem;
}

.services-offerings {
  margin-top: 8rem;
}

.services-benefits h2,
.services-offerings h2 {
  margin: 0 0 2rem;
  font-size: 2rem;
  line-height: 1.3;
}

.services-benefits p,
.services-offerings p,
.services-benefits li,
.services-offerings li {
  font-size: 1.125rem;
  line-height: 1.6;
}

.services-benefits p,
.services-offerings p {
  margin: 0 0 1.5rem;
}

.services-benefits ul,
.services-offerings ul {
  margin: 0;
  padding-left: 2.5rem;
}

.services-benefits li,
.services-offerings li {
  margin-bottom: 0.75rem;
}

.services-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3rem;
  margin-top: 7rem;
}

.services-contact p {
  max-width: 400px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.75rem;
  line-height: 1.4;
}

.services-contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-height: 60px;
  width: 260px;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: var(--colour-purple);
  color: var(--colour-white);
  font-size: 0.875rem;
  text-align: center;
  text-decoration: none;
}

.services-contact-cta:hover,
.services-contact-cta:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .services-page {
    padding-top: 5rem;
    padding-bottom: 6rem;
    padding-left: 12vw;
    padding-right: 12vw;
  }
  .services-intro h1 {
    font-size: min(calc(1rem + 2.16vw), 3.7rem);
    line-height: 1.114;
  }
  .services-intro p {
    font-size: min(calc(1rem + 2.16vw), 3.7rem);
    line-height: 1.114;
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  .services-intro,
  .services-benefits,
  .services-offerings {
    max-width: 100%;
  }
  .services-intro {
    width: calc(100% + 4px);
    max-width: calc(100% + 4px);
  }
  .services-benefits {
    margin-top: 6rem;
  }
  .services-contact {
    gap: 2rem;
  }
  .services-contact-cta {
    width: 170px;
    min-height: 44px;
    padding: 0 2.5rem;
  }
}

@media (max-width: 767px) {
  .services-page {
    padding-top: 3rem;
    padding-bottom: 5rem;
  }
  .services-intro h1 {
    font-size: 2.25rem;
  }
  .services-intro p {
    font-size: 2.125rem;
  }
  .services-benefits {
    margin-top: 2rem;
  }
  .services-offerings {
    margin-top: 1.5rem;
  }
  .services-benefits h2,
  .services-offerings h2 {
    font-size: 1.75rem;
  }
  .services-benefits p,
  .services-offerings p,
  .services-benefits li,
  .services-offerings li {
    font-size: 1.25rem;
  }
  .services-benefits ul,
  .services-offerings ul {
    padding-left: 2.5rem;
  }
  .services-contact {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 5rem;
  }
  .services-contact p {
    font-size: 1.625rem;
  }
  .services-contact-cta {
    justify-self: stretch;
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .services-page {
    padding-top: 8rem;
    padding-left: 12vw;
    padding-right: 12vw;
  }
  .services-intro,
  .services-intro h1,
  .services-intro p {
    max-width: 1080px;
  }
  .services-intro h1,
  .services-intro p {
    font-size: min(calc(1rem + 2.16vw), 3.7rem);
    line-height: 1.114;
  }
  .services-intro p {
    font-weight: 500;
    letter-spacing: -0.02em;
  }
  .services-benefits {
    max-width: 1000px;
    margin-top: 12rem;
  }
  .services-offerings {
     max-width: 1080px;
     margin-top: 14rem;
  }
  .services-benefits p,
  .services-offerings p,
  .services-benefits li,
  .services-offerings li {
    font-size: 1.375rem;
  }
  .services-contact {
    margin-top: 17rem;
  }
   .services-contact p {
    max-width: 440px;
    margin-left: 3.5vw;
    font-size: 2.296875rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.1424;
  }
  .services-contact-cta {
    width: 320px;
  }
}

/* About page — ED-05.05 */

.about-intro {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  align-items: center;
  gap: 4rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 4rem 12vw 10rem;
}

.about-biography h1 {
  margin: 0 0 2rem;
  font-size: clamp(2.75rem, 4.7vw, 4.5rem);
}

.about-biography p {
  margin: 0 0 1.5rem;
  font-size: 1.375rem;
  line-height: 1.6;
}

.about-biography .about-introduction {
  margin-bottom: 2.5rem;
  font-family: var(--font-heading);
  font-size: 1.625rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.about-contact-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 270px;
  max-width: 100%;
  min-height: 64px;
  margin: 5rem auto 0;
  padding: 1rem 2rem;
  border-radius: 999px;
  background: var(--colour-purple);
  color: var(--colour-white);
  font-size: 0.875rem;
  text-align: center;
  text-decoration: none;
}

.about-contact-cta:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.about-portrait-trigger {
  display: block;
  min-width: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.about-portrait-trigger img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.about-contact-cta:focus-visible,
.about-portrait-trigger:focus-visible {
  outline: 2px solid var(--colour-purple);
  outline-offset: 5px;
}

.about-testimonials {
  padding: 4rem var(--page-gutter);
  background: var(--colour-purple);
  color: var(--colour-lavender);
}

.about-testimonials h2 {
  margin: 0 0 5rem;
  font-size: clamp(2rem, 3.3vw, 3rem);
  text-align: center;
}

.about-testimonials-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: var(--content-max-width);
  margin: 0 auto;
}

.about-testimonial,
.about-testimonial blockquote,
.about-testimonial p {
  margin: 0;
}

.about-testimonial blockquote {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.about-testimonial figcaption {
  margin-top: 2.5rem;
  font-size: 0.875rem;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .about-intro {
    gap: 2rem;
    padding-bottom: 8rem;
  }

  .about-contact-cta {
    width: 190px;
  }
}

@media (max-width: 767px) {
  .about-intro {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 3rem var(--page-gutter) 0;
  }

  .about-biography p {
    font-size: 1.25rem;
  }

  .about-biography .about-introduction {
    font-size: 1.375rem;
  }

  .about-contact-cta {
    width: 100%;
    margin-top: 4rem;
  }

  .about-testimonials-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .about-testimonials h2 {
    margin-bottom: 4rem;
  }
}

/* About portrait viewer — ED-05.05 */

.about-portrait-viewer {
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 2vh 2vw;
  border: 0;
  background: transparent;
  color: white;
  overflow: hidden;
}

.about-portrait-viewer[open] {
  display: grid;
  place-items: center;
}

.about-portrait-viewer::backdrop {
  background: rgb(0 0 0 / 95%);
}

.about-portrait-viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: 96vw;
  max-height: 96dvh;
  object-fit: contain;
}

.about-portrait-close {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: white;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.about-portrait-close:focus-visible {
  outline: 2px solid white;
  outline-offset: 2px;
}
/* Contact page */

.contact-page {
  padding: 4rem 8vw 8rem;
}

.contact-intro {
  max-width: 34rem;
}

.contact-intro h1 {
  margin: 0 0 1.5rem;
  font-size: 4rem;
}

.contact-intro p {
  margin: 0 0 1.5rem;
  font-size: 1.375rem;
  line-height: 1.5;
}

.contact-intro p:last-child {
  margin-bottom: 0;
}

.contact-intro a {
  overflow-wrap: anywhere;
  text-underline-offset: 0.15em;
}

@media (max-width: 767px) {
  .contact-page {
    padding: 4rem var(--page-gutter) 5rem;
  }

  .contact-intro h1 {
    font-size: 2.75rem;
  }

  .contact-intro p {
    font-size: 1.25rem;
  }
}
