/* Ashlar & Vane: an editorial theme for a country and period home agency.
   Light by decision (D51): one look, whatever the visitor's device prefers. Square corners and hairlines, no cards,
   no shadows. Bodoni Moda for headings and prices, Source Serif 4 for reading and controls. One accent: damson.
   Motion: under 400 ms, only transform and opacity, and none at all under reduced motion. */

@font-face {
  font-family: 'Bodoni Moda';
  src: url('../fonts/ashlar/bodoni-moda-latin-standard-normal.woff2') format('woff2');
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Bodoni Moda';
  src: url('../fonts/ashlar/bodoni-moda-latin-standard-italic.woff2') format('woff2');
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Source Serif 4';
  src: url('../fonts/ashlar/source-serif-4-latin-wght-normal.woff2') format('woff2');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}
/* Fallbacks tuned to the real faces' measured widths and heights, so the page does not jump when they load. */
@font-face {
  font-family: 'Bodoni fallback';
  src: local('Georgia');
  size-adjust: 105.9%;
  ascent-override: 106%;
  descent-override: 38%;
  line-gap-override: 0%;
}
@font-face {
  font-family: 'Source Serif fallback';
  src: local('Georgia');
  size-adjust: 108.7%;
  ascent-override: 95%;
  descent-override: 31%;
  line-gap-override: 0%;
}

:root {
  color-scheme: light;
  --a-page: #f9f9f7;
  --a-white: #ffffff;
  --a-ink: #1e1b1d;
  --a-ink-2: #5a5456;
  --a-rule: #d9d4d3;
  --a-field: #857d80;
  --a-accent: #6b2e45;
  --a-accent-deep: #531f33;
  --a-tint: #f1ebed;
  --a-photo: #e9e6e4;
  --a-error: #9b1c24;
  --a-display: 'Bodoni Moda', 'Bodoni fallback', Georgia, 'Times New Roman', serif;
  --a-text: 'Source Serif 4', 'Source Serif fallback', Georgia, 'Times New Roman', serif;
  --a-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --a-gutter: clamp(16px, 4vw, 56px);
  --a-space: clamp(48px, 6vw, 96px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  background: var(--a-page);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body.a-body {
  margin: 0;
  background: var(--a-page);
  color: var(--a-ink);
  font-family: var(--a-text);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

::selection {
  background: var(--a-tint);
  color: var(--a-accent-deep);
}

a {
  color: inherit;
}

p {
  margin: 0 0 1em;
}

img {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--a-accent);
  outline-offset: 3px;
}

.a-main:focus {
  outline: none;
}

.a-wrap {
  width: 100%;
  max-width: 1340px;
  margin-inline: auto;
  padding-inline: var(--a-gutter);
}

.a-skip {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 30;
  padding: 10px 16px;
  background: var(--a-ink);
  color: var(--a-white);
}

.a-notice {
  margin: 0;
  padding: 10px var(--a-gutter);
  background: var(--a-tint);
  color: var(--a-accent-deep);
  text-align: center;
  font-size: 0.95rem;
}

.a-small {
  font-size: 0.9rem;
  color: var(--a-ink-2);
}

/* ───────────── Type ───────────── */

.a-h1,
.a-h2,
.a-h3,
.a-cover-title,
.a-cta-title {
  font-family: var(--a-display);
  font-weight: 400;
  color: var(--a-ink);
  text-wrap: balance;
  margin: 0;
}

.a-h1 {
  font-size: clamp(2.4rem, 1.5rem + 3.4vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
}

.a-h2 {
  font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.a-h3 {
  font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.6rem);
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.a-area {
  display: block;
  margin: 0;
  font-family: var(--a-display);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--a-accent);
}

.a-more {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4em;
  font-family: var(--a-text);
  font-weight: 600;
  font-size: 1rem;
  color: var(--a-ink);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.3em;
  text-decoration-color: var(--a-rule);
  transition: text-decoration-color 180ms var(--a-ease), color 180ms var(--a-ease);
}

.a-more::after {
  content: '\2192';
  display: inline-block;
  transition: transform 220ms var(--a-ease);
}

.a-more:hover {
  color: var(--a-accent);
  text-decoration-color: currentColor;
}

.a-more:hover::after {
  transform: translateX(3px);
}

/* ───────────── Buttons and fields ───────────── */

.a-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 26px;
  border: 1px solid var(--a-ink);
  border-radius: 0;
  background: transparent;
  color: var(--a-ink);
  font-family: var(--a-text);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms var(--a-ease), border-color 180ms var(--a-ease), color 180ms var(--a-ease), transform 120ms var(--a-ease);
}

.a-btn--solid {
  background: var(--a-ink);
  color: var(--a-page);
}

.a-btn--solid:hover {
  background: var(--a-accent);
  border-color: var(--a-accent);
}

.a-btn--line:hover {
  background: var(--a-ink);
  color: var(--a-page);
}

.a-btn:active {
  transform: translateY(1px);
}

.a-input,
.part-input {
  display: block;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid var(--a-field);
  border-radius: 0;
  background: var(--a-white);
  color: var(--a-ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color 160ms var(--a-ease);
}

select.a-input,
select.part-input {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%231e1b1d' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}

textarea.part-input {
  min-height: 7em;
  resize: vertical;
}

.a-input:hover,
.part-input:hover {
  border-color: var(--a-ink);
}

.a-input:focus-visible,
.part-input:focus-visible {
  outline: 2px solid var(--a-accent);
  outline-offset: 1px;
  border-color: var(--a-ink);
}

.part-form {
  display: grid;
  gap: 20px;
}

.part-fields {
  display: grid;
  gap: 20px;
}

.part-field {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}

.part-label,
.part-filter label,
.part-filter legend {
  display: block;
  margin: 0 0 6px;
  padding: 0;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--a-ink);
}

.part-optional {
  font-weight: 400;
  color: var(--a-ink-2);
}

.part-hint {
  margin: -2px 0 8px;
  font-size: 0.9rem;
  color: var(--a-ink-2);
}

.part-error {
  margin: 8px 0 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--a-error);
}

.part-field--error .part-input {
  border: 2px solid var(--a-error);
}

.part-choices {
  display: grid;
  gap: 10px;
}

.part-choice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.part-choice input {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--a-accent);
}

.part-errors {
  padding: 20px 22px;
  border: 2px solid var(--a-error);
  background: var(--a-white);
}

.part-errors:focus {
  outline: 2px solid var(--a-error);
  outline-offset: 3px;
}

.part-errors-title {
  margin: 0 0 8px;
  font-family: var(--a-display);
  font-weight: 400;
  font-size: 1.4rem;
}

.part-errors ul {
  margin: 0;
  padding-left: 1.2em;
}

.part-errors a {
  color: var(--a-error);
  font-weight: 600;
}

.part-notice {
  padding: 16px 20px;
  border: 1px solid var(--a-ink);
  background: var(--a-tint);
}

.part-privacy {
  margin: 0;
  font-size: 0.9rem;
  color: var(--a-ink-2);
}

.part-submit {
  justify-self: start;
}

/* ───────────── Masthead ───────────── */

.a-masthead {
  position: relative;
  z-index: 20;
  border-bottom: 1px solid var(--a-rule);
  background: var(--a-page);
  view-transition-name: a-masthead;
}

.a-masthead-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 78px;
  gap: 24px;
}

.a-wordmark {
  justify-self: center;
  font-family: var(--a-display);
  font-weight: 500;
  font-size: clamp(1.55rem, 1.2rem + 1vw, 2.05rem);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--a-ink);
  text-decoration: none;
  white-space: nowrap;
}

.a-wordmark em {
  font-style: italic;
  font-weight: 400;
  color: var(--a-accent);
}

.a-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-nav a,
.a-masthead-phone {
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--a-ink);
  text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  padding-bottom: 3px;
  transition: background-size 240ms var(--a-ease), color 160ms var(--a-ease);
}

.a-nav a:hover,
.a-masthead-phone:hover {
  background-size: 100% 1px;
}

.a-nav a[aria-current='page'] {
  color: var(--a-accent);
  background-size: 100% 1px;
}

.a-nav--right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 28px;
}

.a-masthead-phone {
  font-variant-numeric: lining-nums;
  white-space: nowrap;
}

.a-menu {
  display: none;
}

@media (max-width: 1080px) {
  .a-masthead-row {
    grid-template-columns: 1fr auto;
    min-height: 66px;
  }
  .a-wordmark {
    justify-self: start;
  }
  .a-nav {
    display: none;
  }
  .a-menu {
    display: block;
  }
}

.a-menu summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--a-ink);
  font-weight: 600;
  list-style: none;
  cursor: pointer;
}

.a-menu summary::-webkit-details-marker {
  display: none;
}

.a-menu[open] summary {
  background: var(--a-ink);
  color: var(--a-page);
}

.a-menu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 16px var(--a-gutter) 28px;
  background: var(--a-page);
  border-bottom: 1px solid var(--a-ink);
}

.a-menu-panel ul {
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.a-menu-panel li {
  border-bottom: 1px solid var(--a-rule);
}

.a-menu-panel li a {
  display: block;
  padding: 12px 0;
  font-family: var(--a-display);
  font-size: 1.6rem;
  line-height: 1.2;
  text-decoration: none;
}

.a-menu-panel li a[aria-current='page'] {
  color: var(--a-accent);
}

.a-menu-panel p {
  margin: 16px 0 0;
  font-size: 1.1rem;
}

/* ───────────── Sections ───────────── */

.a-section {
  padding-block: var(--a-space) 0;
}

.a-main > :last-child {
  padding-bottom: var(--a-space);
}

.a-section--rule {
  margin-top: var(--a-space);
}

.a-shead {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  margin-bottom: clamp(28px, 3vw, 44px);
  padding-top: 18px;
  border-top: 1px solid var(--a-ink);
}

.a-measure {
  max-width: 40rem;
}

@media (min-width: 1000px) {
  .a-text .a-measure,
  .a-faq-wrap .a-measure {
    margin-left: 16.666%;
  }
}

.a-text .a-measure > p:first-of-type {
  font-size: 1.25rem;
  line-height: 1.55;
}

.a-text .a-h3 + p {
  font-size: inherit;
}

.a-list {
  margin: 0 0 1em;
  padding-left: 1.2em;
}

.a-placeholder .a-measure {
  padding: 24px 26px;
  border: 1px dashed var(--a-field);
  background: var(--a-white);
}

.a-placeholder-tag {
  margin: 0 0 10px;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-accent);
}

.a-placeholder .a-measure > p:first-of-type {
  font-size: 0.875rem;
}

/* ───────────── Pictures ───────────── */

.a-frame {
  display: block;
  overflow: hidden;
  background: var(--a-photo);
  aspect-ratio: 4 / 3;
}

.a-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 380ms var(--a-ease);
}

a:hover .a-frame img {
  transform: scale(1.03);
}

/* ───────────── The cover ───────────── */

.a-cover {
  padding-top: clamp(32px, 5vw, 72px);
}

.a-cover-head {
  display: grid;
  gap: 24px;
}

.a-cover-title {
  font-size: clamp(2.6rem, 1.3rem + 4.6vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 18ch;
}

.a-cover-intro {
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--a-ink-2);
  max-width: 34ch;
}

.a-cover-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 28px;
  margin: 0;
}

@media (min-width: 1000px) {
  .a-cover-head {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    align-items: end;
    gap: 64px;
  }
}

.a-cover-fig {
  margin: clamp(28px, 4vw, 48px) 0 0;
}

.a-cover-frame {
  aspect-ratio: 4 / 3;
}

@media (min-width: 700px) {
  .a-cover-frame {
    aspect-ratio: 16 / 9;
  }
}

@media (min-width: 1000px) {
  .a-cover-frame {
    aspect-ratio: 2.3 / 1;
  }
}

.a-cover-cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 24px;
  padding-top: 12px;
  font-family: var(--a-display);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--a-ink-2);
}

.a-cover-cap a {
  text-decoration: none;
}

.a-cover-cap a:hover {
  color: var(--a-accent);
}

.a-cover-cap-name {
  font-style: normal;
  color: var(--a-ink);
}

.a-cover-cap-price {
  font-style: normal;
  font-variant-numeric: lining-nums;
}

/* ───────────── Homes: plates, the spread and the catalogue ───────────── */

.a-plate-link,
.a-siderow-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.a-plate-cap {
  display: block;
  margin-top: 16px;
}

.a-plate-name,
.a-siderow-name {
  display: block;
  font-family: var(--a-display);
  font-weight: 400;
  font-size: clamp(1.45rem, 1.25rem + 0.6vw, 1.85rem);
  line-height: 1.15;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: text-decoration-color 200ms var(--a-ease);
}

a:hover .a-plate-name,
a:hover .a-siderow-name {
  text-decoration-color: currentColor;
}

.a-plate--tall .a-frame {
  aspect-ratio: 5 / 4;
}

.a-plate--tall .a-plate-name {
  font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.5rem);
}

.a-parts {
  display: flex;
  flex-wrap: wrap;
  margin: 6px 0 0;
  font-size: 0.95rem;
  color: var(--a-ink-2);
}

.a-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.35em;
  margin: 6px 0 0;
}

.a-price-v {
  font-family: var(--a-display);
  font-size: 1.35rem;
  font-variant-numeric: lining-nums;
  letter-spacing: -0.005em;
}

.a-price-q {
  font-family: var(--a-display);
  font-style: italic;
  font-size: 1rem;
  color: var(--a-ink-2);
}

.a-price--lg .a-price-v {
  font-size: clamp(1.8rem, 1.4rem + 1.2vw, 2.4rem);
}

.a-status {
  align-self: center;
  margin-left: 0.6em;
  padding: 3px 8px 2px;
  border: 1px solid var(--a-accent);
  color: var(--a-accent);
  font-family: var(--a-text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
}

.a-spread {
  display: grid;
  gap: 40px;
}

.a-spread-side {
  display: grid;
  align-content: start;
  border-top: 1px solid var(--a-rule);
}

.a-siderow {
  padding: 20px 0;
  border-bottom: 1px solid var(--a-rule);
}

.a-siderow-link {
  display: grid;
  grid-template-columns: minmax(110px, 38%) 1fr;
  gap: 18px;
  align-items: start;
}

.a-siderow-name {
  font-size: clamp(1.25rem, 1.1rem + 0.4vw, 1.5rem);
}

.a-siderow .a-parts,
.a-siderow .a-price {
  margin-top: 4px;
}

.a-siderow .a-price-v {
  font-size: 1.2rem;
}

@media (min-width: 1000px) {
  .a-spread {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
  }
  .a-spread-side {
    border-top: 0;
  }
  .a-siderow:first-child {
    padding-top: 0;
  }
}

.a-catalogue {
  display: grid;
  gap: 48px 40px;
}

@media (min-width: 700px) {
  .a-catalogue {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .a-catalogue {
    gap: 64px 48px;
  }
  .a-catalogue--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.a-catalogue--3 .a-plate-name {
  font-size: clamp(1.3rem, 1.15rem + 0.4vw, 1.55rem);
}

/* ───────────── The split ───────────── */

.a-split {
  display: grid;
  gap: 28px;
  align-items: center;
}

.a-split-pic {
  aspect-ratio: 4 / 3;
}

.a-split-text p {
  font-size: 1.15rem;
  max-width: 34ch;
}

.a-split-text .a-h2 {
  margin-bottom: 0.5em;
}

@media (min-width: 1000px) {
  .a-split {
    grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
    gap: 72px;
  }
  .a-split-pic {
    aspect-ratio: 4 / 5;
    max-height: 640px;
    width: 100%;
  }
}

/* ───────────── Areas: an index ───────────── */

.a-areas {
  margin: 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--a-rule);
}

.a-areas li {
  border-top: 1px solid var(--a-rule);
}

.a-areas li:first-child {
  border-top: 0;
}

.a-arearow {
  display: grid;
  grid-template-columns: 1fr minmax(96px, 30%);
  grid-template-areas: 'name pic' 'intro pic' 'count pic';
  gap: 4px 20px;
  align-items: center;
  padding: 22px 0;
  text-decoration: none;
  color: inherit;
}

.a-arearow-name {
  grid-area: name;
  font-family: var(--a-display);
  font-size: clamp(1.9rem, 1.4rem + 1.5vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
  overflow-wrap: anywhere;
  transition: color 200ms var(--a-ease);
}

.a-arearow-intro {
  grid-area: intro;
  color: var(--a-ink-2);
  max-width: 46ch;
}

.a-arearow-count {
  grid-area: count;
  font-family: var(--a-display);
  font-style: italic;
  color: var(--a-accent);
}

.a-arearow-pic {
  grid-area: pic;
  aspect-ratio: 3 / 2;
}

.a-arearow:hover .a-arearow-name {
  color: var(--a-accent);
}

@media (min-width: 1000px) {
  .a-arearow {
    grid-template-columns: minmax(0, 4.4fr) minmax(0, 5fr) minmax(0, 2.4fr) 200px;
    grid-template-areas: 'name intro count pic';
    gap: 32px;
    padding: 28px 0;
  }
}

/* ───────────── Journal ───────────── */

.a-journal {
  display: grid;
  gap: 48px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-entry {
  display: grid;
  gap: 6px;
  text-decoration: none;
  color: inherit;
}

.a-entry .a-frame {
  aspect-ratio: 3 / 2;
  margin-bottom: 12px;
}

@media (min-width: 1000px) {
  .a-journal:not(.a-journal--index) .a-entry .a-frame {
    aspect-ratio: 4 / 5;
  }
}

.a-entry-title {
  font-family: var(--a-display);
  font-size: clamp(1.4rem, 1.2rem + 0.5vw, 1.7rem);
  line-height: 1.15;
  text-wrap: balance;
}

.a-entry-title--lg {
  font-size: clamp(1.9rem, 1.4rem + 1.6vw, 2.8rem);
}

.a-entry-sum {
  color: var(--a-ink-2);
}

.a-entry:hover .a-entry-title {
  color: var(--a-accent);
}

@media (min-width: 700px) {
  .a-journal {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1000px) {
  .a-journal {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 56px;
  }
  .a-journal:not(.a-journal--index) > li:nth-child(2) {
    margin-top: 72px;
  }
  .a-journal--index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.a-journal-lead {
  display: grid;
  gap: 24px;
  margin: 8px 0 var(--a-space);
  text-decoration: none;
  color: inherit;
}

.a-journal-lead .a-frame {
  aspect-ratio: 3 / 2;
}

.a-journal-lead-text {
  display: grid;
  gap: 10px;
  align-content: center;
}

.a-journal-lead:hover .a-entry-title {
  color: var(--a-accent);
}

@media (min-width: 1000px) {
  .a-journal-lead {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: 56px;
  }
}

/* ───────────── Sold and let ───────────── */

.a-records {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-record .a-frame {
  aspect-ratio: 1;
  margin-bottom: 12px;
}

.a-record-v {
  margin: 2px 0 0;
  font-family: var(--a-display);
  font-size: 1.15rem;
  line-height: 1.25;
}

.a-record-p {
  margin: 4px 0 0;
  font-variant-numeric: lining-nums;
}

@media (min-width: 1000px) {
  .a-records {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px 32px;
  }
}

/* ───────────── Services, steps, figures, team, offices ───────────── */

.a-services {
  display: grid;
  gap: 32px 48px;
}

.a-service {
  padding-top: 18px;
  border-top: 1px solid var(--a-rule);
  max-width: 38rem;
}

@media (min-width: 800px) {
  .a-services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.a-steps {
  display: grid;
  gap: 32px 48px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: a-step;
}

.a-steps li {
  counter-increment: a-step;
  padding-top: 18px;
  border-top: 1px solid var(--a-rule);
}

.a-steps li::before {
  content: counter(a-step, lower-roman) '.';
  display: block;
  margin-bottom: 8px;
  font-family: var(--a-display);
  font-style: italic;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--a-accent);
}

.a-steps p {
  margin: 0;
  color: var(--a-ink-2);
}

@media (min-width: 800px) {
  .a-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .a-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.a-figures-h {
  margin-bottom: 20px;
}

.a-figures {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.a-figures div {
  padding: 4px 0 4px 18px;
  border-left: 1px solid var(--a-rule);
}

.a-figures div:first-child {
  padding-left: 0;
  border-left: 0;
}

.a-figures dd {
  margin: 0;
  font-family: var(--a-display);
  font-size: clamp(2.6rem, 1.8rem + 3vw, 4.5rem);
  line-height: 1;
  color: var(--a-accent);
  font-variant-numeric: lining-nums;
}

.a-figures dt {
  margin-top: 6px;
  font-size: 0.95rem;
  color: var(--a-ink-2);
}

.a-team {
  display: grid;
  gap: 40px 56px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-person {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 22px;
  align-items: start;
}

.a-person p {
  margin: 4px 0 0;
}

.a-person .a-h3 {
  margin: 0;
}

.a-monogram,
.a-person-pic {
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  background: var(--a-tint);
  color: var(--a-accent);
  font-family: var(--a-display);
  font-size: 1.9rem;
  object-fit: cover;
}

@media (min-width: 800px) {
  .a-team {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.a-office {
  display: grid;
  gap: 24px 48px;
}

.a-office-addr {
  font-style: normal;
  font-family: var(--a-display);
  font-size: clamp(1.5rem, 1.25rem + 0.8vw, 2rem);
  line-height: 1.25;
}

.a-office-phone {
  margin: 0 0 6px;
  font-family: var(--a-display);
  font-size: 1.5rem;
  font-variant-numeric: lining-nums;
}

.a-office-phone a {
  text-decoration: none;
}

.a-hours {
  margin: 0;
}

.a-hours div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0;
  border-bottom: 1px solid var(--a-rule);
}

.a-hours div:first-child {
  padding-top: 0;
}

.a-hours dd {
  margin: 0;
  font-variant-numeric: lining-nums;
}

@media (min-width: 900px) {
  .a-office {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* ───────────── FAQ, forms, call to action ───────────── */

.a-faq {
  margin-top: 20px;
  border-top: 1px solid var(--a-ink);
}

.a-faq details {
  border-bottom: 1px solid var(--a-rule);
}

.a-faq summary {
  position: relative;
  padding: 18px 40px 18px 0;
  font-family: var(--a-display);
  font-size: 1.3rem;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.a-faq summary::-webkit-details-marker {
  display: none;
}

.a-faq summary::after {
  content: '+';
  position: absolute;
  right: 4px;
  top: 14px;
  font-family: var(--a-text);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--a-accent);
  transition: transform 220ms var(--a-ease);
}

.a-faq details[open] summary::after {
  transform: rotate(45deg);
}

.a-faq details p {
  margin: 0 0 20px;
  max-width: 60ch;
  color: var(--a-ink-2);
}

.a-formgrid {
  display: grid;
  gap: 24px 64px;
  padding-top: 18px;
  border-top: 1px solid var(--a-ink);
}

.a-formgrid-head p {
  color: var(--a-ink-2);
  max-width: 36ch;
}

.a-formgrid .part-form {
  max-width: 40rem;
}

@media (min-width: 1000px) {
  .a-formgrid {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  }
}

.a-cta {
  display: grid;
  justify-items: center;
  gap: 18px;
  padding: clamp(48px, 6vw, 88px) 16px;
  border-top: 1px solid var(--a-ink);
  border-bottom: 1px solid var(--a-ink);
  text-align: center;
}

.a-cta-title {
  font-size: clamp(2rem, 1.4rem + 2.4vw, 3.5rem);
  line-height: 1.08;
  max-width: 18ch;
  letter-spacing: -0.015em;
}

.a-cta p {
  max-width: 44ch;
  margin: 0;
  color: var(--a-ink-2);
  font-size: 1.1rem;
}

/* ───────────── Repair ───────────── */

.a-repair {
  display: grid;
  gap: 48px 64px;
  padding-top: 18px;
  border-top: 1px solid var(--a-ink);
}

.a-repair-online p {
  max-width: 44ch;
}

.a-emergency {
  padding: 24px 26px;
  border: 1px solid var(--a-rule);
  background: var(--a-white);
}

.a-emergency-item {
  padding: 12px 0;
  border-top: 1px solid var(--a-rule);
}

.a-emergency-t {
  margin: 0 0 4px;
  font-family: var(--a-text);
  font-size: 1.05rem;
  font-weight: 700;
}

.a-emergency-item p {
  margin: 0;
}

@media (min-width: 1000px) {
  .a-repair {
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  }
}

/* ───────────── Page heads ───────────── */

.a-pagehead {
  padding: clamp(36px, 5vw, 80px) 0 clamp(24px, 3vw, 40px);
}

.a-standfirst {
  margin: 18px 0 0;
  max-width: 44ch;
  font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  line-height: 1.5;
  color: var(--a-ink-2);
}

.a-pagehead .a-cover-actions {
  margin-top: 28px;
}

.a-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
  color: var(--a-ink-2);
}

.a-crumbs li + li::before {
  content: '/';
  margin: 0 0.6em;
  color: var(--a-rule);
}

.a-crumbs a {
  color: var(--a-ink-2);
  text-underline-offset: 0.25em;
}

.a-crumbs a:hover {
  color: var(--a-accent);
}

.a-switch {
  display: flex;
  gap: 28px;
  margin: 24px 0 0;
  font-family: var(--a-display);
  font-size: 1.3rem;
}

.a-switch a {
  color: var(--a-ink-2);
  text-decoration: none;
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  transition: color 160ms var(--a-ease), border-color 160ms var(--a-ease);
}

.a-switch a:hover {
  color: var(--a-ink);
}

.a-switch a[aria-current='page'] {
  color: var(--a-ink);
  border-bottom-color: var(--a-accent);
}

/* ───────────── Results ───────────── */

.a-filterbar {
  display: grid;
  gap: 16px 20px;
  padding: 20px 0;
  border-top: 1px solid var(--a-ink);
  border-bottom: 1px solid var(--a-rule);
}

.a-filterbar-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
}

.part-filter {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.a-filterbar-more summary {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 44px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-decoration-color: var(--a-rule);
  text-underline-offset: 0.3em;
}

.a-filterbar-more summary::-webkit-details-marker {
  display: none;
}

.a-filterbar-more summary::after {
  content: '+';
  color: var(--a-accent);
  transition: transform 200ms var(--a-ease);
}

.a-filterbar-more[open] summary::after {
  transform: rotate(45deg);
}

.a-filterbar-extra {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px 20px;
  padding: 8px 0 4px;
}

.part-filter-checks {
  display: grid;
  gap: 8px;
  align-content: start;
}

.a-filterbar-end {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.a-filterbar-end .a-more::after {
  content: none;
}

@media (min-width: 1000px) {
  .a-filterbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
  }
  .a-filterbar-main {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
  .a-filterbar-more {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .a-filterbar-end {
    grid-column: 2;
    grid-row: 1;
  }
}

.a-resultsbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  margin: 28px 0 32px;
}

.a-count {
  margin: 0;
  font-family: var(--a-display);
  font-style: italic;
  font-size: 1.3rem;
}

.a-sort {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  margin: 0;
  font-size: 0.98rem;
  color: var(--a-ink-2);
}

.a-sort a {
  color: var(--a-ink-2);
  text-underline-offset: 0.3em;
  text-decoration-color: transparent;
}

.a-sort a:hover {
  color: var(--a-ink);
  text-decoration-color: currentColor;
}

.a-sort a[aria-current='true'] {
  color: var(--a-ink);
  font-weight: 600;
  text-decoration-color: var(--a-accent);
}

.a-results[aria-busy='true'] {
  opacity: 0.5;
  transition: opacity 160ms var(--a-ease);
}

.a-empty {
  padding: 40px 0;
  border-top: 1px solid var(--a-rule);
  max-width: 44rem;
}

.a-empty p {
  color: var(--a-ink-2);
}

.a-alert {
  display: grid;
  gap: 20px 64px;
  margin-top: var(--a-space);
  padding: 28px;
  background: var(--a-white);
  border: 1px solid var(--a-rule);
}

.a-alert .part-form {
  max-width: 40rem;
}

@media (min-width: 1000px) {
  .a-alert {
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    padding: 40px;
  }
}

/* ───────────── A listing ───────────── */

.a-listing-top {
  padding-top: clamp(24px, 4vw, 48px);
}

.a-listing-head {
  margin-bottom: 28px;
}

.a-listing-head .a-h1 {
  margin-top: 4px;
}

.a-listing-sub {
  display: flex;
  flex-wrap: wrap;
  margin: 10px 0 0;
  font-size: 1.1rem;
  color: var(--a-ink-2);
}

.a-listing-sub span::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.85em;
  margin: 0 0.65em;
  background: var(--a-rule);
  vertical-align: -0.08em;
}

.a-listing-head .a-price {
  margin-top: 14px;
}

.a-jump {
  margin-top: 20px;
}

@media (min-width: 1000px) {
  .a-jump {
    display: none;
  }
}

.part-gallery {
  margin-bottom: clamp(32px, 4vw, 56px);
}

.part-gallery-track {
  aspect-ratio: 4 / 3;
  background: var(--a-photo);
  scrollbar-width: none;
}

.part-gallery-track::-webkit-scrollbar {
  display: none;
}

@media (min-width: 700px) {
  .part-gallery-track {
    aspect-ratio: 16 / 9;
    max-height: 80vh;
  }
}

.part-gallery-video {
  position: relative;
  background: var(--a-ink);
}

.part-gallery-video video {
  object-fit: contain;
}

.part-gallery-video figcaption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 4px 10px;
  background: var(--a-page);
  font-size: 0.9rem;
}

.part-gallery-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--a-rule);
}

.part-gallery-count {
  margin: 0;
  font-family: var(--a-display);
  font-style: italic;
  color: var(--a-ink-2);
  font-variant-numeric: lining-nums;
}

.part-gallery-prev,
.part-gallery-next {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--a-ink);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-color: var(--a-rule);
  text-underline-offset: 0.3em;
}

.part-gallery-prev:hover:not(:disabled),
.part-gallery-next:hover:not(:disabled) {
  color: var(--a-accent);
  text-decoration-color: currentColor;
}

.part-gallery-prev:disabled,
.part-gallery-next:disabled {
  color: var(--a-field);
  cursor: default;
}

.part-gallery-thumbs {
  display: flex;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0 0 4px;
  list-style: none;
  overflow-x: auto;
}

.part-gallery-thumbs a {
  position: relative;
  display: block;
  width: 96px;
  height: 64px;
  overflow: hidden;
  opacity: 0.72;
  transition: opacity 180ms var(--a-ease);
}

.part-gallery-thumbs a:hover,
.part-gallery-thumbs a[aria-current='true'] {
  opacity: 1;
}

.part-gallery-thumbs a[aria-current='true'] {
  outline: 2px solid var(--a-accent);
  outline-offset: -2px;
}

.part-gallery-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.part-gallery-thumb-label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2px 6px;
  background: var(--a-ink);
  color: var(--a-page);
  font-size: 0.875rem;
}

.a-listing {
  display: grid;
  gap: 48px;
}

@media (min-width: 1000px) {
  .a-listing {
    grid-template-columns: minmax(0, 7fr) minmax(300px, 4fr);
    gap: 80px;
    align-items: start;
  }
}

/* The particulars stay in view only where the window is tall enough to show all of them, form and button too. */
@media (min-width: 1000px) and (min-height: 1180px) {
  .a-listing-side {
    position: sticky;
    top: 24px;
  }
}

.a-lede {
  font-family: var(--a-display);
  font-size: clamp(1.45rem, 1.2rem + 0.9vw, 2rem);
  line-height: 1.3;
  max-width: 30ch;
  margin-bottom: 1.2em;
}

.a-prose p {
  max-width: 65ch;
  font-size: 1.1rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.a-listing-section {
  margin-top: 44px;
  padding-top: 18px;
  border-top: 1px solid var(--a-rule);
}

.a-notes {
  display: grid;
  gap: 0 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-notes li {
  padding: 10px 0;
  border-bottom: 1px solid var(--a-rule);
}

@media (min-width: 700px) {
  .a-notes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.part-advert {
  margin: 0 0 12px;
}

.part-advert-line {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) 2fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--a-rule);
}

.part-advert-line dt {
  color: var(--a-ink-2);
}

.part-advert-line dd {
  margin: 0;
}

.part-advert-detail {
  display: block;
  font-size: 0.9rem;
  color: var(--a-ink-2);
}

.a-keyfacts {
  margin: 0 0 32px;
  border-top: 1px solid var(--a-ink);
}

.a-keyfacts div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--a-rule);
}

.a-keyfacts dt {
  color: var(--a-ink-2);
}

.a-keyfacts dd {
  margin: 0;
  font-family: var(--a-display);
  font-size: 1.25rem;
  font-variant-numeric: lining-nums;
  text-align: right;
}

.a-contact {
  padding: 24px;
  background: var(--a-white);
  border: 1px solid var(--a-rule);
  scroll-margin-top: 16px;
}

.a-contact-name {
  margin: 0;
  font-family: var(--a-display);
  font-size: 1.4rem;
  line-height: 1.2;
}

.a-contact-phone {
  margin: 10px 0 22px;
  font-family: var(--a-display);
  font-size: 1.35rem;
  font-variant-numeric: lining-nums;
}

.a-contact-phone a {
  text-decoration: none;
}

.a-contact .a-h3 {
  font-size: 1.25rem;
  padding-top: 18px;
  border-top: 1px solid var(--a-rule);
}

.a-closed p {
  color: var(--a-ink-2);
}

/* ───────────── Articles, sent ───────────── */

.a-byline {
  margin: 18px 0 0;
  font-family: var(--a-display);
  font-style: italic;
  color: var(--a-ink-2);
}

.a-article-pic {
  aspect-ratio: 16 / 9;
  margin-bottom: clamp(32px, 4vw, 56px);
}

@media (min-width: 1000px) {
  .a-article .a-measure,
  .a-article-pic {
    margin-left: 16.666%;
  }
  .a-article-pic {
    max-width: 83.333%;
  }
}

.a-prose .a-h3 {
  margin-top: 1.4em;
}

.a-next {
  margin: 0 0 32px;
  padding-left: 1.3em;
}

.a-next li {
  padding: 6px 0;
}

.a-letter {
  margin: 0 0 32px;
  padding: 26px 28px;
  background: var(--a-white);
  border: 1px solid var(--a-rule);
}

.a-letter-subject {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--a-rule);
  font-family: var(--a-display);
  font-size: 1.35rem;
}

/* ───────────── Footer ───────────── */

.a-footer {
  margin-top: var(--a-space);
  padding: clamp(40px, 5vw, 72px) 0 32px;
  border-top: 1px solid var(--a-ink);
  font-size: 0.98rem;
}

.a-footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  padding-bottom: 32px;
}

.a-footer-top .a-wordmark {
  font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem);
}

.a-footer-line {
  margin: 0;
  font-family: var(--a-display);
  font-style: italic;
  color: var(--a-ink-2);
}

.a-footer-grid {
  display: grid;
  gap: 32px 40px;
  padding: 32px 0;
  border-top: 1px solid var(--a-rule);
}

@media (min-width: 700px) {
  .a-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .a-footer-grid {
    grid-template-columns: 1.2fr 1fr 1fr 1.6fr;
  }
}

.a-footer-h {
  margin: 0 0 12px;
  font-family: var(--a-text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-ink-2);
}

.a-footer address {
  font-style: normal;
  margin-bottom: 8px;
}

.a-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.a-footer li {
  padding: 3px 0;
}

.a-footer a {
  text-decoration: none;
}

.a-footer a:hover {
  color: var(--a-accent);
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.a-footer-news .part-form {
  gap: 14px;
}

.a-footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--a-rule);
  font-size: 0.92rem;
  color: var(--a-ink-2);
}

.a-footer-base p {
  margin: 0;
}

.a-footer-base ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
}

.a-sample {
  margin: 16px 0 0;
  font-size: 0.88rem;
  color: var(--a-ink-2);
}

/* ───────────── Motion ───────────── */

/* Sections settle in as they arrive: the shared script marks only what starts below the window, so the first
   screen is never hidden, and the page is complete and still without the script. */
.is-waiting {
  opacity: 0;
  transform: translateY(14px);
}

.is-waiting.is-revealed {
  opacity: 1;
  transform: none;
  transition: opacity 360ms var(--a-ease), transform 360ms var(--a-ease);
}

.a-catalogue > .is-waiting:nth-child(2n).is-revealed,
.a-journal > .is-waiting:nth-child(2).is-revealed,
.a-spread-side > .is-waiting:nth-child(2).is-revealed {
  transition-delay: 40ms;
}

.a-journal > .is-waiting:nth-child(3).is-revealed,
.a-spread-side > .is-waiting:nth-child(3).is-revealed {
  transition-delay: 80ms;
}

/* Pages cross-fade where the browser can; the masthead stays still. */
@view-transition {
  navigation: auto;
}

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 260ms;
  animation-timing-function: var(--a-ease);
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
  .is-waiting {
    opacity: 1;
    transform: none;
  }
  a:hover .a-frame img {
    transform: none;
  }
  .a-more:hover::after {
    transform: none;
  }
}

@media print {
  .a-masthead nav,
  .a-menu,
  .a-footer-news,
  .part-gallery-bar,
  .part-gallery-thumbs {
    display: none;
  }
  .is-waiting {
    opacity: 1;
    transform: none;
  }
}

/* ───────────── The website's assistant (lane sites-assistant, 12 Nov 2026) ─────────────
   Editorial, like a letters column: a quiet italic line in a hairline frame at the corner of the page, opening a white
   column ruled in ink with "Questions" set in Bodoni. Each exchange is separated by a hairline; the visitor's words are
   in italic, the answers upright; the suggested questions are numbered i, ii, iii as the steps are. Square, no cards,
   no shadow. A full-width column from the foot of the screen on a phone. Settles in once as it opens (under 300 ms),
   and is still under reduced motion. Where the button sits, its size on a phone and when it steps aside are the
   engine's (engine.css, "ask"): this dresses it only. */
.a-ask-button {
  z-index: 25;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid var(--a-ink);
  background: var(--a-white);
  color: var(--a-ink);
  font: italic 400 1.02rem/1 var(--a-text);
  text-decoration: none;
  transition:
    background-color 180ms var(--a-ease),
    color 180ms var(--a-ease);
}
.a-ask-button:hover {
  background: var(--a-ink);
  color: var(--a-page);
}
.a-ask-button:focus-visible {
  outline: 2px solid var(--a-accent);
  outline-offset: 3px;
}
.a-ask.is-open .a-ask-button {
  background: var(--a-ink);
  color: var(--a-page);
}
.a-ask-panel {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(max(16px, env(safe-area-inset-bottom)) + 58px);
  z-index: 26;
  display: flex;
  flex-direction: column;
  width: min(420px, calc(100vw - 32px));
  max-height: min(680px, calc(100dvh - 112px));
  background: var(--a-white);
  color: var(--a-ink);
  border: 1px solid var(--a-ink);
  overflow: hidden;
  font-family: var(--a-text);
  font-size: 1rem;
  line-height: 1.6;
}
.a-ask-panel:not([hidden]) {
  animation: a-ask-in 260ms var(--a-ease);
}
@keyframes a-ask-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
}
.a-ask-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 14px 14px 24px;
  border-bottom: 1px solid var(--a-ink);
}
.a-ask-head .part-ask-heading {
  flex: 1;
  min-width: 0;
}
.a-ask-title {
  margin: 0;
  font: 400 1.9rem/1.05 var(--a-display);
  letter-spacing: -0.01em;
}
.a-ask-who {
  margin: 8px 0 0;
  font-size: 0.875rem;
  font-style: italic;
  line-height: 1.45;
  color: var(--a-ink-2);
}
.a-ask-close {
  flex: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--a-ink);
  cursor: pointer;
  transition: border-color 180ms var(--a-ease);
}
.a-ask-close:hover {
  border-color: var(--a-rule);
}
.a-ask-close:focus-visible,
.a-ask-q:focus-visible,
.a-ask-send:focus-visible,
.a-ask-home:focus-visible {
  outline: 2px solid var(--a-accent);
  outline-offset: 2px;
}
.a-ask-body {
  flex: 1;
  min-height: 140px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 18px 24px 22px;
}
.a-ask-about {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--a-rule);
  font-size: 0.95rem;
  line-height: 1.45;
}
/* The panel's labels are set as the design's other labels (.a-footer-h): small capitals at 14 px read smaller than the
   words round them. */
.a-ask-about-label {
  display: block;
  font-family: var(--a-text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-accent);
}
.a-ask-off {
  margin: 0;
  font-style: italic;
}
.a-ask-log {
  margin: 0;
  padding: 0;
  list-style: none;
}
.a-ask .part-ask-msg {
  padding: 14px 0;
  border-top: 1px solid var(--a-rule);
  overflow-wrap: anywhere;
}
.a-ask .part-ask-msg:first-child {
  padding-top: 0;
  border-top: 0;
}
.a-ask .part-ask-msg-who {
  margin: 0 0 4px;
  font-family: var(--a-text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-ink-2);
}
.a-ask .part-ask-msg--visitor .part-ask-msg-text {
  font-style: italic;
}
.a-ask .part-ask-msg--visitor .part-ask-msg-who {
  color: var(--a-accent);
}
.a-ask .part-ask-msg--assistant.is-error .part-ask-msg-text {
  color: var(--a-error);
}
.a-ask .part-ask-msg--note .part-ask-msg-text {
  font-style: italic;
  color: var(--a-ink-2);
}
.a-ask .part-ask-msg-text p {
  margin: 0;
}
.a-ask .part-ask-msg-text p + p,
.a-ask .part-ask-msg-text p + ul,
.a-ask .part-ask-msg-text ul + p {
  margin-top: 10px;
}
.a-ask .part-ask-msg-text ul {
  margin: 0;
  padding-left: 20px;
}
.a-ask .part-ask-step {
  margin: 0 0 4px;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--a-ink-2);
}
.a-ask-suggest {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--a-rule);
}
.a-ask-suggest-label {
  margin: 0 0 6px;
  font-family: var(--a-text);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--a-ink-2);
}
.a-ask-suggest ul {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: ask;
}
.a-ask-suggest li {
  counter-increment: ask;
  display: flex;
  gap: 12px;
  align-items: baseline;
}
.a-ask-suggest li::before {
  content: counter(ask, lower-roman) '.';
  flex: none;
  min-width: 2.2em;
  font-family: var(--a-display);
  font-style: italic;
  color: var(--a-accent);
}
.a-ask-q {
  padding: 5px 0;
  border: 0;
  background: none;
  color: var(--a-ink);
  font: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-color: var(--a-rule);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: text-decoration-color 180ms var(--a-ease);
}
.a-ask-q:hover {
  text-decoration-color: var(--a-accent);
}
.a-ask-compose {
  display: flex;
  align-items: flex-end;
  gap: 14px;
  padding: 14px 24px 16px;
  border-top: 1px solid var(--a-ink);
}
.a-ask-text {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  max-height: 140px;
  padding: 10px 0;
  border: 0;
  border-bottom: 1px solid var(--a-field);
  background: transparent;
  color: var(--a-ink);
  font: 400 1rem/1.5 var(--a-text);
  resize: none;
}
.a-ask-text::placeholder {
  font-style: italic;
  color: var(--a-ink-2);
}
.a-ask-text:focus-visible {
  outline: none;
  border-bottom: 2px solid var(--a-accent);
}
.a-ask-send {
  flex: none;
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: none;
  color: var(--a-accent);
  font: 600 1rem/1 var(--a-text);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
  cursor: pointer;
}
.a-ask-send:hover {
  color: var(--a-accent-deep);
  text-decoration-thickness: 2px;
}
.a-ask-compose.is-busy .a-ask-send {
  opacity: 0.55;
  cursor: progress;
}
.a-ask-person {
  margin: 0;
  padding: 12px 24px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--a-rule);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--a-ink-2);
}
.a-ask-person a {
  color: var(--a-ink);
}
.a-ask .part-ask-card {
  padding-top: 4px;
}
.a-ask .part-ask-card-title {
  margin: 0;
  font: 400 1.3rem/1.2 var(--a-display);
}
.a-ask .part-ask-card-note {
  margin: 4px 0 14px;
  font-size: 0.88rem;
  font-style: italic;
  color: var(--a-ink-2);
}
.a-ask .part-ask-card .part-form,
.a-ask .part-ask-card .part-fields {
  gap: 14px;
}
.a-ask-submit {
  width: 100%;
}
.a-ask .part-ask-sent {
  padding-top: 12px;
  border-top: 1px solid var(--a-ink);
}
.a-ask .part-ask-sent p {
  margin: 0 0 4px;
  font-style: italic;
}
.a-ask .part-ask-sent a {
  color: var(--a-accent);
}
.a-ask-home {
  display: inline-block;
  margin: 4px 0 20px;
  color: var(--a-accent);
  font-style: italic;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.a-ask-home:hover {
  color: var(--a-accent-deep);
}
@media (max-width: 600px) {
  .a-ask-panel {
    z-index: 60;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 90dvh;
    border-width: 1px 0 0;
  }
  .a-ask.is-open .a-ask-button {
    visibility: hidden;
  }
  .a-ask-head,
  .a-ask-body,
  .a-ask-compose,
  .a-ask-person {
    padding-left: 18px;
    padding-right: 18px;
  }
}
@media print {
  .a-ask {
    display: none;
  }
}
