/* ==============================
   Design tokens
   ============================== */
:root {
  --ink: #0a0a0a;
  --paper: #f4f1eb;
  --white: #fff;
  --muted: #a7a39c;
  --line: rgba(10,10,10,.18);
  --max: 1440px;
  --pad: clamp(18px,3vw,48px);
  --serif: Georgia,'Times New Roman',serif;
  --sans: Arial,Helvetica,sans-serif;
}
/* ==============================
   Base and shared utilities
   ============================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  color: inherit;
  text-decoration: none;
}

button,input,select,textarea {
  font: inherit;
}

.container {
  width: min(100%,var(--max));
  margin: auto;
  padding-inline: var(--pad);
}

.eyebrow {
  font-size: .7rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #d8b26e;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.04em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 700;
  transition: .25s ease;
}

.button:hover {
  background: var(--ink);
  color: var(--white);
}

.button--light {
  background: var(--white);
  color: var(--ink);
  border-color: var(--white);
}

.button--light:hover {
  background: transparent;
  color: var(--white);
}
/* ==============================
   Header and navigation
   ============================== */
.topbar {
  background: var(--ink);
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.22);
}

.topbar__inner {
  min-height: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.topbar__inner a:nth-child(2) {
  text-align: center;
}

.topbar__inner a:last-child {
  text-align: right;
}

.site-header {
  position: relative;
  z-index: 20;
  background: var(--ink);
  color: var(--white);
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: .06em;
}

.brand small {
  display: block;
  font-family: var(--sans);
  font-size: .52rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-top: -3px;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.35);
  color: #fff;
  width: 48px;
  height: 48px;
}
/* ==============================
   Homepage hero
   ============================== */
.hero {
  background: var(--ink);
  color: var(--white);
  min-height: calc(100svh - 126px);
  display: grid;
  grid-template-columns: minmax(0,1.35fr) minmax(360px,.75fr);
}

.hero__main,.hero__secondary {
  position: relative;
  overflow: hidden;
  min-height: 700px;
}

.hero__secondary {
  border-left: 1px solid rgba(255,255,255,.18);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease,transform 6s ease;
  transform: scale(1.03);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,rgba(0,0,0,.72),rgba(0,0,0,.08) 70%);
}

.hero__content {
  position: absolute;
  left: var(--pad);
  bottom: 9%;
  z-index: 3;
  max-width: 690px;
}

.hero h1 {
  font-size: clamp(3.8rem,7.4vw,8.5rem);
  margin: 0 0 24px;
}

.hero p {
  max-width: 440px;
  margin: 0 0 30px;
  color: rgba(255,255,255,.84);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__controls {
  position: absolute;
  left: var(--pad);
  right: var(--pad);
  bottom: 24px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .72rem;
  letter-spacing: .16em;
}

.hero__line {
  height: 1px;
  background: rgba(255,255,255,.4);
  width: 70px;
}

.slider-btn {
  background: none;
  border: 0;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.hero__secondary:after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,transparent 65%,rgba(0,0,0,.45));
}

.hero__secondary-label {
  position: absolute;
  z-index: 3;
  left: 28px;
  bottom: 26px;
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
}
/* ==============================
   Shared sections and homepage content
   ============================== */
.section {
  padding: clamp(70px,9vw,135px) 0;
}

.section--black {
  background: var(--ink);
  color: var(--white);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 42px;
}

.section-head h2 {
  font-size: clamp(2.5rem,5vw,5.5rem);
  margin: 0;
  max-width: 800px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.service-card {
  padding: 34px 26px 38px;
  border-right: 1px solid var(--line);
  min-height: 270px;
  display: flex;
  flex-direction: column;
}

.service-card:last-child {
  border-right: 0;
}

.service-card h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  margin: 32px 0 16px;
}

.service-card p {
  color: #68645f;
  margin: 0 0 28px;
}

.service-card a {
  margin-top: auto;
  font-size: .7rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  font-weight: 700;
}

.about-strip {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 7vw;
  align-items: center;
}

.about-strip h2 {
  font-size: clamp(2.7rem,5vw,5.3rem);
  margin: 18px 0 30px;
}

.about-strip__image {
  aspect-ratio: 16/9;
}

.work-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px,1fr);
  gap: 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 12px;
}

.work-card {
  aspect-ratio: 3/4;
  scroll-snap-align: start;
  overflow: hidden;
}

.work-card img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    filter: none;

    transition:
        transform .8s cubic-bezier(.16,1,.3,1);
}

.work-card:hover img {
    transform: scale(1.03);
}

.reviews {
  display: grid;
  grid-template-columns: 1.6fr .55fr;
  gap: 50px;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 48px;
}

.review-quote {
  font-family: var(--serif);
  font-size: clamp(2.2rem,4vw,4.6rem);
  line-height: 1.02;
  margin: 0;
}

.rating {
  border-left: 1px solid var(--line);
  padding-left: 45px;
}

.rating strong {
  font-family: var(--serif);
  font-size: 5rem;
  font-weight: 400;
}

.stars {
  letter-spacing: .18em;
}

.cta-band {
  background: var(--ink);
  color: #fff;
  padding: 42px 0;
}

.cta-band__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem,4vw,4.6rem);
  font-weight: 400;
  line-height: 1;
  margin: 0;
}

.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 35px;
}

.footer h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.6rem;
}

.footer p,.footer a {
  font-size: .8rem;
  color: #4f4b46;
}

.copyright {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}
/* ==============================
   Inner pages and services
   ============================== */
.page-hero {
  padding: clamp(90px,12vw,170px) 0;
  background: var(--ink);
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(4rem,9vw,9rem);
  margin: 0;
}

.page-hero p {
  max-width: 610px;
  color: rgba(255,255,255,.76);
  font-size: 1.1rem;
}

.service-list {
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr auto;
  gap: 25px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.service-row h3 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  margin: 0;
}

.price {
  font-weight: 700;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6vw;
  align-items: center;
}

.story-grid h2 {
  font-size: clamp(3rem,6vw,6rem);
  margin: 0 0 25px;
}

.story-image {
  aspect-ratio: 4/5;
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 7vw;
}

.booking-card {
  background: #fff;
  padding: 40px;
}

.booking-card label {
  display: block;
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin: 22px 0 8px;
}

.booking-card input,.booking-card select,.booking-card textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: #faf9f6;
  padding: 14px;
}

.booking-card textarea {
  min-height: 120px;
}

.booking-info {
  padding-top: 30px;
}

.booking-info h2 {
  font-size: clamp(3rem,5vw,5rem);
  margin: 0 0 25px;
}

.mobile-book {
  display: none;
}
@media(max-width:980px) {
  .nav__links {
    position: fixed;
    inset: 126px 0 auto 0;
    background: var(--ink);
    padding: 28px var(--pad);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    border-top: 1px solid rgba(255,255,255,.2);
  }

  .nav__links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero__secondary {
    display: none;
  }

  .hero__main {
    min-height: calc(100svh - 126px);
  }

  .services-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-card:nth-child(2) {
    border-right: 0;
  }

  .service-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .about-strip,.story-grid,.booking-grid {
    grid-template-columns: 1fr;
  }

  .reviews {
    grid-template-columns: 1fr;
  }

  .rating {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding: 30px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .service-row {
    grid-template-columns: 1fr auto;
  }

  .service-row p {
    grid-column: 1/-1;
  }
}
@media(max-width:640px) {
  body {
    padding-bottom: 66px;
  }

  .topbar__inner {
    grid-template-columns: 1fr 1fr;
  }

  .topbar__inner a:nth-child(2) {
    display: none;
  }

  .nav {
    min-height: 72px;
  }

  .nav__links {
    inset: 112px 0 auto;
  }

  .hero__main {
    min-height: calc(100svh - 112px);
  }

  .hero__content {
    bottom: 13%;
  }

  .hero h1 {
    font-size: clamp(3.3rem,16vw,5.3rem);
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__controls {
    bottom: 18px;
  }

  .section {
    padding: 72px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,.service-card:nth-child(2) {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .service-card:last-child {
    border-bottom: 0;
  }

  .about-strip {
    gap: 38px;
  }

  .work-track {
    grid-auto-columns: 78%;
  }

  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-row {
    grid-template-columns: 1fr;
  }

  .price {
    justify-self: start;
  }

  .booking-card {
    padding: 24px;
  }

  .mobile-book {
    position: fixed;
    z-index: 40;
    left: 0;
    right: 0;
    bottom: 0;
    height: 66px;
    background: #fff;
    border-top: 1px solid #111;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
  }

  .mobile-book a {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .72rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
  }

  .mobile-book a:last-child {
    background: #111;
    color: #fff;
  }
}
@media(prefers-reduced-motion:reduce) {
  * {
    scroll-behavior: auto!important;
    animation: none!important;
    transition: none!important;
  }
}
/* Google Reviews */
#google-review-list {
  position: relative;
  min-height: 220px;
}
.google-review {
  display: none;
  animation: reviewFade .6s ease;
  padding: 15px 0;
}
.google-review.active {
  display: block;
}
.review-stars {
  color: #C7A96B;
  font-size: 14px;
  letter-spacing: 3px;
  margin-bottom: 12px;
}
.review-quote {
  font-size: 0.95rem;
  line-height: 1.75;
  font-weight: 400;
  color: #444;
  max-width: 700px;
  margin: 0 0 18px;
  font-style: italic;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #555;
}
.review-author strong {
  font-weight: 600;
  color: #222;
}
.review-time {
  color: #999;
  font-size: 0.8rem;
}
.rating strong {
  font-size: 3rem;
  display: block;
  margin-bottom: 8px;
}
.rating .stars {
  color: #C7A96B;
  font-size: 1.2rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.rating p {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}
@keyframes reviewFade {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 768px) {
  #google-review-list {
    min-height: 260px;
  }
  .review-quote {
    font-size: 0.9rem;
    line-height: 1.7;
  }
  .review-author {
    font-size: 0.85rem;
    flex-wrap: wrap;
  }
}
/* Page-specific refinements: preserve the existing visual system while
       reducing vertical bulk and keeping utility content out of the hero. */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 9999;
  transform: translateY(-180%);
  transition: transform 160ms ease;
}
.skip-link:focus,     .skip-link:focus-visible {
  transform: translateY(0);
}
.page-hero {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}
.page-hero .container {
  max-width: 960px;
}
.page-hero .display {
  max-width: 12ch;
  font-size: clamp(3rem, 7vw, 6.5rem);
  line-height: 0.94;
}
.page-hero > .container > p:last-child {
  max-width: 62ch;
  margin-bottom: 0;
}
.section {
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}
.section-head {
  margin-bottom: clamp(1.25rem, 2.5vw, 2rem);
}
.section-head .display {
  font-size: clamp(2rem, 4.2vw, 4rem);
  line-height: 0.98;
  max-width: 14ch;
}
.section-head .eyebrow {
  margin-bottom: 0.65rem;
}
.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid currentColor;
}
.service-row {
  min-height: 0;
  padding: 1.1rem 0;
  gap: 1rem;
}
.service-row:nth-child(odd) {
  padding-right: clamp(1rem, 3vw, 2.5rem);
  border-right: 1px solid currentColor;
}
.service-row:nth-child(even) {
  padding-left: clamp(1rem, 3vw, 2.5rem);
}
.service-row h3 {
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  line-height: 1.15;
  margin-bottom: 0.35rem;
}
.service-row p {
  font-size: 0.92rem;
  line-height: 1.45;
  margin-bottom: 0;
}
.service-row .price {
  font-size: 0.9rem;
  white-space: nowrap;
}
.service-collapse > summary {
  margin-bottom: 1rem;
}
.appointment-notes {
  padding-top: 1rem;
}
.service-notes--compact {
  padding: 0;
  border-top: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  background: transparent;
}
.service-notes--compact summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
}
.service-notes--compact summary::-webkit-details-marker {
  display: none;
}
.service-notes--compact summary::after {
  content: '+';
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 400;
}
.service-notes--compact[open] summary::after {
  content: '−';
}
.service-notes--compact ul {
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4rem);
  padding: 0 0 1.5rem 1.2rem;
  margin: 0;
}
.service-notes--compact li {
  break-inside: avoid;
  margin-bottom: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.45;
}
@media (max-width: 760px) {
  .page-hero .display {
    max-width: 10ch;
  }
  .service-list {
    grid-template-columns: 1fr;
  }
  .service-row:nth-child(odd),       .service-row:nth-child(even) {
    padding-inline: 0;
    border-right: 0;
  }
  .service-notes--compact ul {
    columns: 1;
  }
}


/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about-story .story-copy > p:not(.eyebrow),
.about-experience .story-copy > p:not(.eyebrow) {
  max-width: 62ch;
}

.about-experience .story-copy p + p {
  margin-top: 1rem;
}

.about-video__head {
  align-items: end;
}

.about-video__head > p {
  max-width: 48ch;
  margin: 0;
  color: #68645f;
}

.video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--ink);
  border: 1px solid var(--line);
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

@media (max-width: 760px) {
  .about-video__head {
    align-items: flex-start;
  }

  .about-video__head > p {
    max-width: none;
  }
}
/* About */

.about-profile .story-image img{
    width:100%;
    height:100%;
    min-height:520px;
    object-fit:cover;
    border-radius:var(--radius);
}

.about-profile .story-copy{
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.about-video .video-frame{
    max-width:900px;
    margin:0 auto;
}
/* =========================================================
   BOOKING PAGE
   ========================================================= */

.booking-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.booking-intro__copy {
  max-width: 700px;
}

.booking-intro__copy h2 {
  max-width: 10ch;
  margin: 0.55rem 0 1.25rem;
  font-size: clamp(2.7rem, 5vw, 5.4rem);
}

.booking-intro__copy > p:not(.eyebrow) {
  max-width: 52ch;
  margin-bottom: 1.8rem;
  color: #68645f;
}

.booking-primary {
  background: var(--ink);
  color: var(--white);
}

.booking-primary:hover {
  background: transparent;
  color: var(--ink);
}

.booking-help {
  padding: clamp(1.6rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.45);
}

.booking-help h2 {
  margin: 0.55rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 3.1rem);
  font-weight: 400;
  line-height: 1;
}

.booking-help p:not(.eyebrow) {
  margin-bottom: 1.5rem;
  color: #68645f;
}

.booking-phone {
  display: inline-block;
  border-bottom: 1px solid currentColor;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  line-height: 1.1;
}

.booking-policies__head .display {
  max-width: 15ch;
}

.booking-policy-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.28);
}

.booking-policy {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: clamp(1rem, 2vw, 1.8rem);
  padding: clamp(1.6rem, 3vw, 2.6rem) 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.booking-policy:nth-child(odd) {
  padding-right: clamp(1.25rem, 4vw, 4rem);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.booking-policy:nth-child(even) {
  padding-left: clamp(1.25rem, 4vw, 4rem);
}

.booking-policy h3 {
  margin: 0 0 0.7rem;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
}

.booking-policy p {
  max-width: 54ch;
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.booking-policy p + p {
  margin-top: 0.65rem;
}

.booking-policy a {
  color: var(--white);
  border-bottom: 1px solid currentColor;
}

@media (max-width: 820px) {
  .booking-intro__grid,
  .booking-policy-list {
    grid-template-columns: 1fr;
  }

  .booking-help {
    max-width: 600px;
  }

  .booking-policy:nth-child(odd),
  .booking-policy:nth-child(even) {
    padding-inline: 0;
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .booking-intro__copy h2 {
    max-width: 9ch;
  }

  .booking-primary {
    width: 100%;
  }

  .booking-policy {
    grid-template-columns: 32px minmax(0, 1fr);
  }
}

    /* Homepage-only gift voucher and product section */
    .home-retail-section:has(.haircare-home-card) {
      padding-bottom: 0;
    }

    .home-retail-section + .reviews-section {
      padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
    }

    .reviews-section .reviews {
      padding-top: clamp(1.25rem, 2vw, 1.75rem);
    }

    .home-retail-section .section-head {
      margin-bottom: clamp(1.25rem, 2vw, 1.75rem);
    }

    .home-retail-grid {
      display: grid;
      grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
      border-top: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .home-retail-card {
      min-width: 0;
      padding: clamp(1.6rem, 3.5vw, 3rem);
    }

    .home-retail-card + .home-retail-card {
      border-left: 1px solid var(--line);
    }

    .retail-card__icon {
      display: grid;
      width: 52px;
      height: 52px;
      margin-bottom: 1.35rem;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 50%;
    }

    .retail-card__icon svg {
      width: 23px;
      height: 23px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.5;
    }

    .home-retail-card h3 {
      max-width: 12ch;
      margin: 0.8rem 0 1rem;
      font-family: var(--serif);
      font-size: clamp(1.9rem, 3.2vw, 3.25rem);
      font-weight: 400;
      line-height: 1;
    }

    .home-retail-card p {
      max-width: 55ch;
      margin-bottom: 0;
      color: #68645f;
    }

    .voucher-values {
      display: flex;
      flex-wrap: wrap;
      gap: 0.55rem;
      margin: 1.4rem 0 0;
      padding: 0;
      list-style: none;
    }

    .voucher-values li {
      min-width: 58px;
      padding: 0.65rem 0.75rem;
      border: 1px solid var(--line);
      text-align: center;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
    }

    .home-retail-card .button {
      margin-top: 1.4rem;
    }

    .product-brand-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 0;
      margin: 1.4rem 0 0;
      padding: 0;
      border-top: 1px solid var(--line);
      border-left: 1px solid var(--line);
      list-style: none;
    }

    .product-brand {
      display: flex;
      min-height: 72px;
      align-items: center;
      gap: 0.8rem;
      padding: 0.8rem;
      border-right: 1px solid var(--line);
      border-bottom: 1px solid var(--line);
    }

    .product-brand__icon {
      display: grid;
      flex: 0 0 38px;
      width: 38px;
      height: 38px;
      place-items: center;
      border: 1px solid var(--line);
      border-radius: 50%;
    }

    .product-brand__icon svg {
      width: 18px;
      height: 18px;
      fill: none;
      stroke: currentColor;
      stroke-linecap: round;
      stroke-linejoin: round;
      stroke-width: 1.45;
    }

    .product-brand__name {
      font-size: 0.68rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      line-height: 1.3;
      text-transform: uppercase;
    }

    @media (max-width: 860px) {
      .home-retail-grid {
        grid-template-columns: 1fr;
      }

      .home-retail-card + .home-retail-card {
        border-top: 1px solid var(--line);
        border-left: 0;
      }
    }

    @media (max-width: 520px) {
      .product-brand-grid {
        grid-template-columns: 1fr;
      }
    }

.instagram-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    color: rgba(255,255,255,.82);
    text-decoration: none;

    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;

    transition: color .25s ease;
}

.instagram-link i {
    font-size: 1rem;
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

.instagram-link span {
    position: relative;
}

.instagram-link span::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;

    width: 100%;
    height: 1px;

    background: currentColor;

    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}

.instagram-link:hover {
    color: #fff;
}

.instagram-link:hover i {
    transform: rotate(-10deg) scale(1.15);
}

.instagram-link:hover span::after {
    transform: scaleX(1);
}
.instagram-link i {
    animation: instaWiggle 1.8s ease-in-out infinite;
    display: inline-block;
}

@keyframes instaWiggle {
    0%,100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-2px) rotate(-5deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(-2px) rotate(5deg);
    }
}
.instagram-link {
    animation: instaGlow 1.6s ease-in-out infinite;
}

@keyframes instaGlow {
    0%,100% {
        color: rgba(255,255,255,.85);
    }

    50% {
        color: #d8b26e;
    }
}

/* =========================================================
   HOMEPAGE REFINEMENTS
   Consolidated homepage overrides.
   Keep this block after the original stylesheet.
   ========================================================= */


/* ---------------------------------------------------------
   1. Homepage header
   Instagram left / logo centre / menu right
   --------------------------------------------------------- */

.topbar {
    position: absolute;
    inset: 0 0 auto;
    z-index: 30;
    height: 78px;
    background: transparent;
    border: 0;
    pointer-events: none;
}

.topbar__inner {
    min-height: 78px;
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.instagram-link span {
    display: none;
}

.topbar__inner > a:not(.instagram-link) {
    display: none;
}

/* Preserve original instaGlow + instaWiggle animation. */
.instagram-link {
    position: relative;
    z-index: 35;
    pointer-events: auto;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.instagram-link i {
    font-size: 1.6rem;
}

.site-header {
    position: relative;
    z-index: 25;
    margin: 0;
    padding: 0;
}

.nav {
    position: relative;
    min-height: 78px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 0;
}

.nav > .brand {
    grid-column: 2;
    justify-self: center;
    position: relative;
    z-index: 31;
    margin: 0;
    text-align: center;
}

.nav__links {
    display: none;
}

.menu-toggle {
    grid-column: 3;
    justify-self: end;
    position: relative;
    z-index: 61;
    display: flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    font-size: 0;
}

.menu-toggle::before {
    content: "☰";
    font-size: 1.35rem;
    font-weight: 300;
    line-height: 1;
    transition:
        transform .35s cubic-bezier(.2,.8,.2,1),
        opacity .25s ease;
}

.menu-toggle[aria-expanded="true"]::before {
    content: "×";
    font-size: 2rem;
    transform: rotate(90deg);
}


/* ---------------------------------------------------------
   2. Homepage menu
   Modern centred curtain reveal using the existing
   .nav__links.open JavaScript behaviour.
   --------------------------------------------------------- */

.nav__links {
    position: fixed;
    inset: 0;
    z-index: 55;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 0;
    padding: 94px 24px 76px;

    background: var(--ink);

    opacity: 1;
    visibility: hidden;
    pointer-events: none;

    clip-path: inset(0 0 100% 0);

    transition:
        clip-path .68s cubic-bezier(.76, 0, .24, 1),
        visibility .68s ease;

    font-family: var(--sans);
    font-size: .72rem;
    font-weight: 400;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.nav__links.open {
    visibility: visible;
    pointer-events: auto;
    clip-path: inset(0 0 0 0);
}

/* Quiet editorial frame around the menu group */
.nav__links::before,
.nav__links::after {
    content: "";
    position: absolute;
    left: 50%;
    width: min(72vw, 360px);
    height: 1px;
    background: rgba(255,255,255,.18);
    transform: translateX(-50%) scaleX(0);
    transition:
        transform .55s cubic-bezier(.22,.8,.25,1);
}

.nav__links::before {
    top: calc(50% - 118px);
}

.nav__links::after {
    top: calc(50% + 118px);
}

.nav__links.open::before,
.nav__links.open::after {
    transform: translateX(-50%) scaleX(1);
    transition-delay: .22s;
}

.nav__links > a {
    position: relative;
    z-index: 1;

    display: flex;
    align-items: center;
    justify-content: center;

    width: min(100%, 320px);
    min-height: 66px;
    padding: 0;

    border: 0;
    background: transparent;

    color: var(--white);

    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: .16em;
    text-transform: uppercase;

    opacity: 0;
    transform: translateY(24px);

    transition:
        opacity .42s ease,
        transform .58s cubic-bezier(.22,.8,.25,1),
        letter-spacing .28s ease,
        color .25s ease;
}

.nav__links.open > a {
    opacity: 1;
    transform: translateY(0);
}

.nav__links.open > a:nth-child(1) {
    transition-delay: .18s;
}

.nav__links.open > a:nth-child(2) {
    transition-delay: .25s;
}

.nav__links.open > a:nth-child(3) {
    transition-delay: .32s;
}

.nav__links > a:hover {
    color: rgba(255,255,255,.68);
    letter-spacing: .2em;
}

/* Book now behaves like a menu item, not a separate block */
.nav__links .button {
    width: min(100%, 320px);
    min-width: 0;
    min-height: 66px;

    margin: 0;
    padding: 0;

    justify-content: center;

    background: transparent;
    border: 0;

    color: var(--white);

    font-family: var(--sans);
    font-size: .9rem;
    font-weight: 400;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.nav__links .button:hover {
    background: transparent;
    color: rgba(255,255,255,.68);
}

/* Keep the hamburger / X above the curtain */
.menu-toggle {
    z-index: 61;
}

/* Cleaner X morph */
.menu-toggle[aria-expanded="true"]::before {
    content: "×";
    font-size: 1.95rem;
    font-weight: 300;
    transform: rotate(180deg);
    transition: transform .42s cubic-bezier(.22,.8,.25,1);
}

@media (max-width: 640px) {

    .nav__links {
        padding: 82px 24px 72px;
    }

    .nav__links::before,
    .nav__links::after {
        width: min(76vw, 300px);
    }

    .nav__links::before {
        top: calc(50% - 108px);
    }

    .nav__links::after {
        top: calc(50% + 108px);
    }

    .nav__links > a,
    .nav__links .button {
        width: min(100%, 280px);
        min-height: 60px;
        font-size: .82rem;
    }
}


/* ---------------------------------------------------------
   3. Hero
   Full-width photography with soft cross-fades.
   --------------------------------------------------------- */

body:has(.hero) .hero {
    display: block;
    min-height: 0;
    margin: 0;
    padding: 0;
    background: var(--ink);
}

body:has(.hero) .hero__secondary {
    display: none;
}

body:has(.hero) .hero__main {
    position: relative;
    width: 100%;
    min-height: 0;
    height: calc(100svh - 78px);
    max-height: 920px;
    margin: 0;
    overflow: hidden;
    background: var(--ink);
}

body:has(.hero) .hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.035);
    transition:
        opacity 1.25s cubic-bezier(.4,0,.2,1),
        transform 6s cubic-bezier(.16,1,.3,1),
        filter 1.25s ease;
    filter:
        brightness(.91)
        saturate(.94);
    will-change:
        opacity,
        transform;
}

body:has(.hero) .hero-slide.active {
    opacity: 1;
    transform: scale(1);
    filter:
        brightness(1)
        saturate(1);
}

body:has(.hero) .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 38%;
}

body:has(.hero) .hero__overlay {
    background:
        linear-gradient(
            180deg,
            rgba(0,0,0,.04) 0%,
            rgba(0,0,0,.03) 48%,
            rgba(0,0,0,.58) 100%
        );
}

body:has(.hero) .hero__content {
    left: var(--pad);
    bottom: clamp(38px, 6vh, 70px);
    max-width: 520px;
}

body:has(.hero) .hero h1 {
    max-width: 12ch;
    margin: .5rem 0 .8rem;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: .96;
}

body:has(.hero) .hero__content > p:not(.eyebrow) {
    max-width: 410px;
    margin-bottom: 18px;
    font-size: clamp(.82rem, 1.1vw, .95rem);
    line-height: 1.55;
    color: rgba(255,255,255,.76);
}

body:has(.hero) .hero__actions .button {
    min-height: 46px;
    padding-inline: 20px;
    font-size: .66rem;
}


/* ---------------------------------------------------------
   4. Homepage colours and headings
   Neutral labels on the homepage; preserve gold stars and
   Instagram glow from the original stylesheet.
   --------------------------------------------------------- */

body:has(.hero) main .eyebrow {
    color: #625f59;
}

body:has(.hero) main .section--black .eyebrow,
body:has(.hero) .hero .eyebrow,
body:has(.hero) .cta-band .eyebrow {
    color: rgba(255,255,255,.68);
}

body:has(.hero) .section-head .display {
    color: var(--ink);
}

body:has(.hero) .section--black .display {
    color: var(--white);
}


/* ---------------------------------------------------------
   5. Homepage cards and imagery
   --------------------------------------------------------- */

body:has(.hero) .service-card {
    position: relative;
    transition:
        background-color .35s ease,
        transform .35s cubic-bezier(.2,.8,.2,1);
}

body:has(.hero) .service-card:hover {
    background: rgba(255,255,255,.36);
    transform: translateY(-3px);
}

body:has(.hero) .service-card h3 {
    transition: transform .35s cubic-bezier(.2,.8,.2,1);
}

body:has(.hero) .service-card:hover h3 {
    transform: translateX(4px);
}

body:has(.hero) .about-strip__image {
    position: relative;
    overflow: hidden;
}

body:has(.hero) .about-strip__image img {
    transition:
        transform 1.2s cubic-bezier(.16,1,.3,1),
        filter .8s ease;
    filter:
        saturate(.9)
        contrast(1.02);
}

body:has(.hero) .about-strip__image:hover img {
    transform: scale(1.025);
    filter:
        saturate(1)
        contrast(1);
}

body:has(.hero) .work-card img {
    transform: scale(1);
    transition:
        filter .65s ease,
        transform .8s cubic-bezier(.16,1,.3,1);
}

body:has(.hero) .work-card:hover img {
    transform: scale(1.035);
}

/* Separate Recent Transformations from Professional Haircare. */
body:has(.hero) section:has(#transformations-title) {
    border-bottom: 1px solid var(--line);
}


/* ---------------------------------------------------------
   6. Our Story rotating image area
   --------------------------------------------------------- */

.our-story-gallery {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #111;
}

.our-story-gallery__track {
    position: relative;
    width: 100%;
    height: 100%;
}

.our-story-gallery__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.025);
    transition:
        opacity 1.1s cubic-bezier(.4,0,.2,1),
        transform 4.5s cubic-bezier(.16,1,.3,1),
        visibility 1.1s ease;
}

.our-story-gallery__image.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.our-story-gallery__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter:
        saturate(.92)
        contrast(1.02);
}

.our-story-dots {
    position: absolute;
    left: 18px;
    bottom: 18px;
    z-index: 5;
    display: flex;
    gap: 7px;
}

.our-story-dot {
    width: 24px;
    height: 1px;
    padding: 0;
    border: 0;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    transition:
        width .3s ease,
        background .3s ease;
}

.our-story-dot.active {
    width: 36px;
    background: #fff;
}


/* ---------------------------------------------------------
   7. Professional Haircare
   Keep two images side by side on all screen sizes.
   --------------------------------------------------------- */

.haircare-home-card .haircare-home-images {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    margin-bottom: 24px;
}

.haircare-home-card .haircare-home-images img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center;
}

/* Keep the voucher card independent from haircare layout rules. */
.voucher-home-section {
    padding-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

.voucher-home-section .voucher-home-card {
    display: block;
    width: 100%;
    max-width: none;
}

.voucher-home-section .voucher-home-card h3,
.voucher-home-section .voucher-home-card p,
.voucher-home-section .voucher-home-card .voucher-values,
.voucher-home-section .voucher-home-card .button {
    position: static;
}


/* ---------------------------------------------------------
   8. Responsive homepage refinements
   --------------------------------------------------------- */

@media (max-width: 980px) {

    .topbar,
    .topbar__inner,
    .nav {
        height: 72px;
        min-height: 72px;
    }

    body:has(.hero) .hero__main {
        min-height: 0;
        height: calc(100svh - 72px);
        max-height: none;
    }

    body:has(.hero) .hero__content {
        bottom: 42px;
        max-width: min(520px, calc(100% - 100px));
    }

    body:has(.hero) .hero h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}


@media (max-width: 768px) {

    .haircare-home-card .haircare-home-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .haircare-home-card .haircare-home-images img {
        aspect-ratio: 3 / 4;
    }

    /*
       Compact only the homepage Services section.
       Keep the original typography; reduce vertical bulk instead.
    */
    body:has(.hero) section:has(#home-services-title) {
        padding-block: 48px;
    }

    body:has(.hero) section:has(#home-services-title) .section-head {
        margin-bottom: 22px;
    }

    body:has(.hero) #home-services-title {
        margin-bottom: 8px;
    }

    body:has(.hero) section:has(#home-services-title) .services-grid {
        gap: 0;
    }

    body:has(.hero) section:has(#home-services-title) .service-card {
        min-height: auto;
        padding: 22px 20px;
    }

    body:has(.hero) section:has(#home-services-title) .service-card h3 {
        margin: 18px 0 12px;
        font-size: 2rem;
    }

    body:has(.hero) section:has(#home-services-title) .service-card p {
        margin: 0 0 18px;
        font-size: inherit;
        line-height: 1.55;
    }

    body:has(.hero) section:has(#home-services-title) .service-card a {
        margin-top: auto;
    }
}


@media (max-width: 640px) {

    .topbar,
    .topbar__inner,
    .nav {
        height: 66px;
        min-height: 66px;
    }

    .brand {
        font-size: 1.4rem;
    }

    .instagram-link {
        width: 38px;
        height: 38px;
    }

    .menu-toggle {
        width: 38px;
        height: 38px;
    }

    body:has(.hero) .hero__main {
        height: calc(100svh - 66px);
        min-height: 600px;
    }

    body:has(.hero) .hero-slide img {
        object-position: center 35%;
    }

    /*
       Keep hero copy clear of the slider navigation.
       This is the final mobile position from the later patch.
    */
    body:has(.hero) .hero__content {
        left: 20px;
        right: 20px;
        bottom: 88px;
        max-width: calc(100% - 40px);
    }

    body:has(.hero) .hero h1 {
        max-width: 11ch;
        margin-bottom: 10px;
        font-size: clamp(2rem, 9vw, 2.8rem);
        line-height: .98;
    }

    body:has(.hero) .hero__content > p:not(.eyebrow) {
        display: none;
    }

    body:has(.hero) .hero__actions {
        display: flex;
        gap: 8px;
        flex-wrap: nowrap;
        margin-top: 14px;
    }

    body:has(.hero) .hero__actions .button {
        width: auto;
        min-height: 40px;
        padding: 0 13px;
        font-size: .58rem;
        letter-spacing: .1em;
        white-space: nowrap;
    }

    body:has(.hero) .hero__controls {
        left: 20px;
        right: 20px;
        bottom: 24px;
        gap: 10px;
    }

    body:has(.hero) .hero__line {
        width: 36px;
    }

    body:has(.hero) .slider-btn {
        font-size: 1.1rem;
        padding: 4px;
    }

    .our-story-gallery {
        aspect-ratio: 4 / 5;
    }

    .our-story-dots {
        left: 14px;
        bottom: 14px;
    }
}


/* ---------------------------------------------------------
   9. Accessibility
   --------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .nav__links.open {
        animation: none;
    }
}

/* =========================================================
   HAIRCARE + GIFT VOUCHER — ONE DESKTOP LANE
   ========================================================= */

.retail-lane {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);

    width: min(100%, var(--max));
    margin: 0 auto;

    padding-inline: var(--pad);

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}


/* Remove duplicated container width/padding inside the lane */
.retail-lane > .home-retail-section > .container {
    width: 100%;
    padding-inline: 0;
}


/* Both sections become more compact */
.retail-lane > .home-retail-section {
    padding: clamp(2.5rem, 4vw, 4rem);
}


/* Divider between Haircare and Gift Voucher */
.retail-lane > .home-retail-section:first-child {
    border-right: 1px solid var(--line);
}


/* Smaller headings inside this combined retail area */
.retail-lane .section-head .display {
    font-size: clamp(2rem, 3.5vw, 3.5rem);
}


/* Haircare images stay side by side but don't become enormous */
.retail-lane .haircare-home-card .haircare-home-images {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;

    max-width: 650px;
}


.retail-lane .haircare-home-card .haircare-home-images img {
    aspect-ratio: 4 / 5;
}


/* Reduce unnecessary card padding */
.retail-lane .home-retail-card {
    padding: 0;
}


/* Gift section vertically balanced */
.retail-lane .voucher-home-card {
    display: flex;
    flex-direction: column;
    justify-content: center;

    min-height: 100%;
}


/* MOBILE — return to stacked sections */
@media (max-width: 820px) {

    .retail-lane {
        grid-template-columns: 1fr;

        padding-inline: var(--pad);

        border-top: 0;
        border-bottom: 0;
    }

    .retail-lane > .home-retail-section {
        padding: 48px 0;
    }

    .retail-lane > .home-retail-section:first-child {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

}

.nk-signature {
    font: inherit;
    color: inherit;
    text-decoration: none;
    text-transform: none;
    letter-spacing: normal;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    opacity: .55;
    transition: opacity .2s ease;
}

.nk-signature:hover {
    opacity: 1;
}




/* =========================================================
   DESKTOP HERO IMAGE SHARPNESS
   Keeps the existing full-width / cover crop
   ========================================================= */

@media (min-width: 981px) {

    body:has(.hero) .hero-slide,
    body:has(.hero) .hero-slide.active {
        transform: none !important;
        filter: none !important;
        will-change: auto !important;
    }

    body:has(.hero) .hero-slide img {
        width: 100% !important;
        height: 100% !important;

        /* KEEP the horizontal full-screen crop */
        object-fit: cover !important;
        object-position: center center !important;

        /* Prevent additional rendering transforms */
        transform: none !important;
        filter: none !important;

        image-rendering: auto;
        backface-visibility: hidden;
    }
}

@media (min-width: 981px) {

    /* Portrait */
    body:has(.hero) .hero-slide:nth-child(1) img {
        object-position: center 35% !important;
    }


}

/* =========================================================
   404 PAGE — clean editorial version
   Add to the bottom of your existing css/styles.css
   ========================================================= */

.error-page {
  position: relative;
  overflow: hidden;
  min-height: clamp(620px, 72svh, 820px);
  display: grid;
  align-items: center;
  padding: clamp(70px, 9vw, 120px) 0;
  background: var(--paper);
  color: var(--ink);
}

.error-page__inner {
  position: relative;
  max-width: 920px;
  margin: 0 auto;
  padding-top: clamp(4rem, 9vw, 7rem);
  text-align: center;
}

.error-page__number {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 0;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: clamp(8rem, 20vw, 15rem);
  font-weight: 400;
  line-height: .72;
  letter-spacing: -.08em;
  color: rgba(10,10,10,.055);
  user-select: none;
  pointer-events: none;
}

.error-page .eyebrow,
.error-page .display,
.error-page__copy,
.error-page__actions {
  position: relative;
  z-index: 1;
}

.error-page .eyebrow {
  margin: 0 0 1.25rem;
  color: #625f59;
}

.error-page .display {
  max-width: 11ch;
  margin: 0 auto;
  font-size: clamp(3.2rem, 7vw, 7rem);
  line-height: .92;
  color: var(--ink);
}

.error-page__copy {
  max-width: 55ch;
  margin: 1.8rem auto 0;
  color: #68645f;
  font-size: clamp(.96rem, 1.2vw, 1.06rem);
  line-height: 1.7;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 2.1rem;
}

.error-page__book {
  background: var(--ink);
  color: var(--white);
}

.error-page__book:hover {
  background: transparent;
  color: var(--ink);
}

@media (max-width: 640px) {
  .error-page {
    min-height: auto;
    padding: 68px 0 88px;
  }

  .error-page__inner {
    padding-top: 4.5rem;
  }

  .error-page__number {
    font-size: clamp(7rem, 38vw, 10rem);
  }

  .error-page .display {
    max-width: 10ch;
    font-size: clamp(3rem, 14vw, 4.8rem);
  }

  .error-page__actions {
    flex-direction: column;
  }

  .error-page__actions .button {
    width: 100%;
  }
}

/* =========================================================
   GLOBAL HEADING / EYEBROW COLOUR CONSISTENCY
   Match inner pages to homepage
   ========================================================= */

/* Eyebrow labels on light backgrounds */
.eyebrow {
    color: #625f59;
}

/* Eyebrow labels on dark backgrounds */
.section--black .eyebrow,
.page-hero .eyebrow,
.hero .eyebrow,
.cta-band .eyebrow {
    color: rgba(255,255,255,.68);
}

/* Main display headings */
.display {
    color: var(--ink);
}

/* Main display headings on dark backgrounds */
.section--black .display,
.page-hero .display,
.hero .display,
.cta-band .display {
    color: var(--white);
}