/* The owner-supplied paper-and-blueprint layout, using ThamesTask tokens. */
.home-page {
  background: var(--cream);
}

:root {
  --blueprint-grid-size: 40px;
  --paper-muted: color-mix(in srgb, var(--muted) 90%, var(--brand));
}

.site-header {
  background: rgb(255 255 255 / 90%);
  border: 0;
}

.wordmark {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.wordmark small {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: none;
}

.centered {
  margin-inline: auto;
  text-align: center;
}

.note-hero {
  padding-block: 48px 14px;
}

.blueprint-mat,
.blueprint-section,
.section.dark,
.page-hero,
.guide-art {
  background-color: var(--blueprint);
  background-image:
    linear-gradient(rgb(255 255 255 / 10%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 10%) 1px, transparent 1px);
  background-size: var(--blueprint-grid-size) var(--blueprint-grid-size);
  background-position:
    center top,
    calc(50% + 19.5px) top;
}

.blueprint-mat {
  padding: 66px 30px;
  border-radius: var(--radius);
  box-shadow:
    0 12px 28px rgb(42 61 107 / 12%),
    inset 0 0 70px rgb(2 6 23 / 12%);
}

.paper-note {
  position: relative;
  width: min(100%, 600px);
  margin-inline: auto;
  padding: 48px 38px 34px;
  background: var(--cream);
  box-shadow: 0 15px 35px rgb(2 6 23 / 25%);
  text-align: center;
  transform: rotate(-0.6deg);
}

.paper-tape {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 120px;
  height: 29px;
  background: rgb(226 211 177 / 85%);
  box-shadow: 0 2px 4px rgb(2 6 23 / 8%);
  transform: translateX(-50%) rotate(2deg);
}

.paper-note .eyebrow {
  font-size: 10px;
  letter-spacing: 0.15em;
}

.paper-note h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 650;
  line-height: 1.08;
}

.note-copy {
  max-width: 43ch;
  margin: 22px auto 26px;
  font-size: 16px;
  line-height: 1.7;
  text-wrap: pretty;
}

.note-services {
  display: table;
  min-height: 44px;
  margin: 8px auto 0;
  padding: 12px 4px 0;
  color: var(--brand);
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-caption {
  margin-top: 22px;
  padding-inline: 20px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 4px 14px rgb(42 61 107 / 4%);
  transition:
    box-shadow 220ms var(--ease),
    transform 220ms var(--ease);
}

.service-card-title {
  display: block;
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 18px;
  line-height: 1.35;
  text-wrap: pretty;
}

.service-illustration {
  width: 132px;
  height: 132px;
  margin: 0 auto 22px;
  object-fit: contain;
}

.service-card p {
  flex: 1;
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.service-card .text-link {
  align-self: flex-start;
  text-decoration: none;
}

.blueprint-section .section-heading :is(h2, p) {
  color: #fff;
}

.paper-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.paper-steps li {
  padding: 26px;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: 0 6px 14px rgb(2 6 23 / 12%);
}

.step-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: 16px;
  font-weight: 650;
}

.paper-steps h3 {
  margin-bottom: 10px;
  font-size: 18px;
}

.paper-steps p {
  color: var(--muted);
  font-size: 14px;
}

.center-action {
  margin-top: 32px;
  text-align: center;
}

.blueprint-section :focus-visible,
.page-hero :focus-visible {
  outline-color: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 64px;
}

.about-copy > p:not(.eyebrow) {
  margin-top: 16px;
  color: var(--muted);
  font-size: 16px;
}

.at-a-glance {
  margin-block: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}

.at-a-glance h3 {
  font-size: 18px;
}

.at-a-glance dl {
  margin: 12px 0 0;
  font-size: 14px;
}

.at-a-glance dl > div {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 12px;
  padding-block: 12px;
  border-bottom: 1px dashed var(--border);
}

.at-a-glance dl > div:last-child {
  border-bottom: 0;
}

.at-a-glance dt {
  color: var(--brand);
  font-weight: 600;
}

.at-a-glance dd {
  margin: 0;
  color: var(--muted);
}

.about-picture {
  min-width: 0;
  width: 100%;
  max-width: 360px;
  margin-inline: auto;
  padding: 12px 12px 16px;
  background: #fff;
  box-shadow: 0 10px 24px rgb(42 61 107 / 10%);
  transform: rotate(1deg);
}

.about-picture > div {
  overflow: hidden;
  aspect-ratio: 1150 / 1368;
  background: var(--surface);
}

.about-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-picture figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.detail-badges {
  display: flex;
  width: fit-content;
  max-width: 100%;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: -4px auto 0;
  padding: 0;
  list-style: none;
}

.detail-badges li {
  display: flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 7px 18px;
  border: 1px solid rgb(255 255 255 / 20%);
  border-radius: var(--radius-control);
  background: rgb(255 255 255 / 38%);
  font-size: 14px;
  text-align: center;
}

.guide-polaroids {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 28px;
  padding-inline: 6px;
}

.guide-polaroid {
  min-width: 0;
  padding: 12px 12px 16px;
  background: #fff;
  box-shadow: 0 6px 22px rgb(42 61 107 / 10%);
  transform: rotate(-0.8deg);
}

.guide-polaroid:nth-child(2) {
  transform: rotate(0.8deg);
}

.guide-art {
  display: flex;
  min-height: 180px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  line-height: 1.4;
}

.guide-art svg {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
}

.guide-art span {
  font-size: 21px;
  font-weight: 600;
}

.guide-art small {
  margin-top: 6px;
  font-size: 12px;
}

.guide-polaroid h3 {
  margin: 18px 8px 10px;
  font-size: 18px;
}

.guide-polaroid > p {
  margin-inline: 8px;
  color: var(--muted);
  font-size: 14px;
}

.guide-polaroid > .text-link {
  margin: 10px 8px 0;
  gap: 6px;
  font-size: 12px;
}

.area-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.area-chips a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-control);
  background: #fff;
  color: var(--brand);
  font-size: 14px;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .area-chips a:hover {
    border-color: var(--brand);
    background: var(--brand-soft);
  }
}

.coverage-note {
  max-width: 660px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 64px;
}

.enquiry-info {
  padding-top: 0;
}

.enquiry-info > p {
  max-width: 43ch;
  margin-top: 16px;
  font-size: 16px;
}

.contact-checklist {
  display: grid;
  gap: 14px;
  margin-block: 24px;
  padding-left: 20px;
  font-size: 14px;
}

.other-contact {
  display: grid;
  gap: 0;
  margin-top: var(--contact-divider-gap, 24px);
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 25%);
  font-size: 14px;
}

.other-contact p {
  margin-bottom: 12px;
}

.other-contact a {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  text-decoration: none;
  text-underline-offset: 4px;
  overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
  .other-contact a:hover {
    text-decoration: underline;
  }
}

.enquiry-paper {
  padding: 32px;
  border-radius: var(--radius);
  background: var(--cream);
  color: var(--ink);
  box-shadow: 0 12px 28px rgb(2 6 23 / 15%);
}

.section.dark .enquiry-paper h3 {
  color: var(--brand);
  font-size: 24px;
}

.enquiry-paper > p {
  margin-block: 12px 24px;
  color: var(--muted);
  font-size: 14px;
}

.enquiry-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-field {
  min-width: 0;
  margin-bottom: 18px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 600;
}

.form-field label span {
  color: var(--muted);
  font-weight: 400;
}

.form-field :is(input, textarea) {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #8493a8;
  border-radius: var(--radius-control);
  background: var(--surface);
  color: var(--ink);
  box-shadow: inset 0 1px 3px rgb(42 61 107 / 5%);
  font-size: 16px;
  line-height: 1.6;
}

.form-field textarea {
  resize: vertical;
}

.form-field :is(input, textarea):focus-visible {
  border-color: var(--brand);
  outline: 2px solid var(--brand);
  outline-offset: -2px;
}

.form-field ::placeholder {
  color: var(--muted);
}

.section.dark .enquiry-paper .button {
  width: 100%;
  background: var(--brand);
  color: #fff;
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .section.dark .enquiry-paper .button:hover {
    background: var(--blue-hover);
  }
}

.section.dark .enquiry-paper :focus-visible {
  outline-color: var(--brand);
}

.prepared-enquiry {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
}

.prepared-enquiry p {
  margin-bottom: 12px;
  font-size: 14px;
}

.form-note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 12px;
}

#faqs .split-grid {
  display: block;
}

#faqs .section-heading {
  margin-inline: auto;
  text-align: center;
}

#faqs .faq {
  margin-inline: auto;
}

.page-hero :is(h1, .eyebrow, .lede, .breadcrumbs, .breadcrumbs a) {
  color: #fff;
}

.page-hero h1,
.page-hero .lede {
  margin-inline: auto;
  text-align: center;
}

.page-hero .eyebrow {
  text-align: center;
}

.page-hero .breadcrumbs {
  justify-content: center;
}

.mobile-enquiry {
  display: none;
}

.wordmark small,
.hero-caption,
.about-copy > p:not(.eyebrow),
.paper-steps p,
.enquiry-paper > p,
.enquiry-paper .form-note,
.enquiry-paper label span {
  color: var(--paper-muted);
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-card:hover {
    box-shadow: 0 10px 24px rgb(42 61 107 / 10%);
    transform: translateY(-3px);
  }
}

@media (max-width: 1023px) {
  .nav-links {
    gap: 14px;
  }
  .site-header > .container {
    gap: 20px;
  }
  .wordmark {
    font-size: 19px;
  }
  .header-cta {
    padding-inline: 16px;
  }
  .about-grid,
  .enquiry-grid {
    gap: 36px;
  }
  .service-card {
    padding: 22px;
  }
  .guide-polaroids {
    gap: 20px;
  }
}

@media (max-width: 899px) {
  body {
    padding-bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  }
  .note-hero {
    padding-top: 32px;
  }
  .blueprint-mat {
    padding: 48px 26px;
  }
  .paper-note {
    padding: 42px 30px 28px;
  }
  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .paper-steps {
    gap: 14px;
  }
  .paper-steps li {
    padding: 20px;
  }
  .about-grid {
    grid-template-columns: 1fr 0.85fr;
    gap: 28px;
  }
  .at-a-glance dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .guide-polaroids {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 520px;
    margin-inline: auto;
  }
  .guide-polaroid {
    padding: 14px 14px 18px;
  }
  .enquiry-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 650px;
    margin-inline: auto;
  }
  .enquiry-info {
    padding-top: 0;
  }
  .enquiry-info > p {
    max-width: none;
  }
  .mobile-enquiry {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 25;
    display: block;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--border);
    background: rgb(255 255 255 / 97%);
  }
  .mobile-enquiry .button {
    width: 100%;
  }
}

@media (max-width: 639px) {
  .wordmark {
    font-size: 18px;
  }
  .wordmark small {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .menu-disclosure > summary {
    gap: 10px;
    padding-inline: 12px;
  }
  .note-hero {
    padding-block: 26px 8px;
  }
  .blueprint-mat {
    padding: 40px 18px;
    border-radius: var(--radius);
  }
  .paper-note {
    padding: 32px 20px 22px;
  }
  .paper-tape {
    width: 94px;
    height: 26px;
  }
  .paper-note .eyebrow {
    font-size: 9px;
    letter-spacing: 0.07em;
  }
  .paper-note h1 {
    font-size: 38px;
  }
  .note-copy {
    margin-block: 18px 22px;
    font-size: 15px;
  }
  .paper-note .button {
    width: 100%;
    padding-inline: 10px;
    font-size: 14px;
    gap: 6px;
  }
  .hero-caption {
    margin-top: 18px;
    font-size: 12px;
  }
  .service-cards,
  .paper-steps,
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .service-cards {
    gap: 14px;
  }
  .service-card {
    padding: 24px;
  }
  .paper-steps {
    gap: 16px;
  }
  .paper-steps li {
    padding: 24px;
  }
  .about-grid {
    gap: 32px;
  }
  .about-picture {
    max-width: 310px;
    width: calc(100% - 12px);
    margin-inline: auto;
  }
  .at-a-glance {
    padding: 22px;
  }
  .at-a-glance dl > div {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
  }
  .detail-badges {
    gap: 8px;
  }
  .detail-badges li {
    padding: 8px 14px;
    font-size: 12px;
  }
  .enquiry-paper {
    padding: 24px;
  }
  .enquiry-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .guide-art {
    min-height: 160px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .service-card {
    transition: none;
  }
}
