/* memorial — this design's own tokens, under the names blocks.css draws with. */
:root {
  --blk-surface: var(--surface);
  --blk-bg-alt: var(--bg-alt);
  --blk-ink: var(--ink);
  --blk-body: var(--ink-2);
  --blk-muted: var(--muted);
  --blk-accent: var(--accent);
  --blk-accent-soft: var(--accent-050);
  --blk-accent-ring: rgba(90, 101, 114, .22);
  --blk-on-accent: #ffffff;
  --blk-line: var(--line);
  --blk-line-2: var(--line-2);
  --blk-radius: var(--radius);
  --blk-radius-sm: var(--radius-sm);
  --blk-shadow: none;
  --blk-danger: #8a4038;
  --blk-danger-soft: #f3ebe9;
}

/* ==========================================================================
   The blocks every design gets: contact form, gallery, pricing, find-us,
   articles — and the article page itself.

   Written once, against a small set of --blk-* custom properties, and shipped
   per template behind a bridge that maps each theme's own tokens onto them.
   The bridge is what keeps this from looking bolted on: bistro's form is brass
   hairlines on espresso and clinic's is a sage pill on off-white, from the same
   forty rules, because both are drawing with their own palette.

   Everything structural that could differ per theme — radius, shadow, the
   line weight — comes through a token too, so chambers gets square corners and
   no shadow without a single override down here.

   Generated. Appended to nothing: this is its own file, linked after the
   design's stylesheet, so the hand-authored one is never rewritten.
   ========================================================================== */

/* ---- contact form ------------------------------------------------------ */
.form-section .enquiry { max-width: 720px; }
.form-section .section-head { max-width: 62ch; }

.enquiry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 18px;
}
.enquiry-wide { grid-column: 1 / -1; }

.enquiry-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.enquiry-field label {
  font-size: .82rem; font-weight: 600; color: var(--blk-ink);
  display: flex; align-items: baseline; gap: 8px;
}
.enquiry-opt { font-weight: 400; font-size: .76rem; color: var(--blk-muted); }

.enquiry-field input,
.enquiry-field textarea {
  font: inherit; font-size: .97rem; color: var(--blk-ink);
  background: var(--blk-surface);
  border: 1px solid var(--blk-line-2);
  border-radius: var(--blk-radius-sm);
  padding: 13px 15px;
  width: 100%; min-width: 0;
  transition: border-color .18s ease, box-shadow .18s ease;
}
.enquiry-field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.enquiry-field input:focus,
.enquiry-field textarea:focus {
  outline: none;
  border-color: var(--blk-accent);
  box-shadow: 0 0 0 3px var(--blk-accent-ring);
}

/* Styled from :user-invalid rather than :invalid, so a field is not marked wrong
   before the visitor has finished — or, worse, the moment the page loads. */
.enquiry-field input:user-invalid,
.enquiry-field textarea:user-invalid { border-color: var(--blk-danger); }

.enquiry-consent {
  display: flex; align-items: flex-start; gap: 12px;
  margin: 22px 0 26px; font-size: .9rem; color: var(--blk-muted);
  cursor: pointer; max-width: 62ch;
}
.enquiry-consent input {
  flex: none; width: 18px; height: 18px; margin-top: 2px;
  accent-color: var(--blk-accent); cursor: pointer;
}

.enquiry-error {
  margin: 0 0 20px; padding: 13px 16px;
  border: 1px solid var(--blk-danger); border-radius: var(--blk-radius-sm);
  background: var(--blk-danger-soft); color: var(--blk-danger);
  font-size: .92rem;
}

/* The honeypot. Not display:none — some bots skip hidden fields, and the ones
   that do not are exactly the ones worth catching. Off-screen and out of the
   tab order instead, so no person can reach it either. */
.enquiry-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}

.form-thanks {
  display: flex; align-items: flex-start; gap: 16px;
  max-width: 620px; padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--blk-accent);
  border-radius: var(--blk-radius);
  background: var(--blk-accent-soft);
}
.form-thanks i { flex: none; width: 24px; height: 24px; color: var(--blk-accent); margin-top: 2px; }
.form-thanks p { margin: 0; color: var(--blk-ink); font-size: 1.02rem; }

/* ---- gallery ----------------------------------------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}
.gallery-item {
  margin: 0; min-width: 0;
  border-radius: var(--blk-radius); overflow: hidden;
  background: var(--blk-bg-alt);
  box-shadow: var(--blk-shadow);
}
.gallery-item img {
  width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.03); }
.gallery-item figcaption {
  padding: 12px 14px; font-size: .86rem; color: var(--blk-muted);
  background: var(--blk-surface);
  border-top: 1px solid var(--blk-line);
}

/* ---- pricing ----------------------------------------------------------- */
.pricing {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: stretch;
}
.tier {
  display: flex; flex-direction: column; min-width: 0;
  padding: clamp(26px, 3vw, 36px);
  background: var(--blk-surface);
  border: 1px solid var(--blk-line);
  border-radius: var(--blk-radius);
}
.tier.is-featured {
  border-color: var(--blk-accent);
  box-shadow: var(--blk-shadow);
  position: relative;
}
/* A rule along the top rather than a "most popular" ribbon: the ribbon is the
   single most tired device in this whole genre, and the emphasis reads without
   it. */
.tier.is-featured::before {
  content: ""; position: absolute; inset: -1px -1px auto -1px; height: 3px;
  background: var(--blk-accent);
  border-radius: var(--blk-radius) var(--blk-radius) 0 0;
}
.tier h3 { font-size: 1.1rem; margin-bottom: 14px; color: var(--blk-ink); }
.tier-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.tier-amount {
  font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1;
  letter-spacing: -.03em; color: var(--blk-accent);
  font-variant-numeric: tabular-nums;
}
.tier-period { font-size: .86rem; color: var(--blk-muted); }
.tier-text { font-size: .93rem; color: var(--blk-muted); margin: 0 0 18px; }
.tier-list {
  list-style: none; margin: 0 0 24px; padding: 18px 0 0;
  border-top: 1px solid var(--blk-line); display: grid; gap: 10px;
}
.tier-list li {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: .91rem; color: var(--blk-body);
}
.tier-list i { flex: none; width: 16px; height: 16px; color: var(--blk-accent); margin-top: 4px; }
.tier .btn { margin-top: auto; width: 100%; }
.pricing-note {
  margin: clamp(20px, 3vw, 30px) auto 0; max-width: 70ch;
  font-size: .84rem; color: var(--blk-muted); text-align: center;
}

/* ---- find us ----------------------------------------------------------- */
.findus {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: clamp(22px, 3vw, 40px);
  align-items: stretch;
}
@media (max-width: 780px) { .findus { grid-template-columns: 1fr; } }

.findus-panel {
  padding: clamp(24px, 3vw, 34px);
  background: var(--blk-surface);
  border: 1px solid var(--blk-line);
  border-radius: var(--blk-radius);
  min-width: 0;
}
.findus-address {
  white-space: pre-line; font-size: 1.06rem; line-height: 1.6;
  color: var(--blk-ink); margin: 0 0 20px;
}
.findus-notes { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; }
.findus-notes li {
  display: flex; gap: 11px; align-items: flex-start;
  font-size: .92rem; color: var(--blk-muted);
}
.findus-notes i { flex: none; width: 16px; height: 16px; color: var(--blk-accent); margin-top: 4px; }

.findus-map {
  min-height: 280px; min-width: 0;
  border-radius: var(--blk-radius); overflow: hidden;
  border: 1px solid var(--blk-line);
}
.findus-map iframe { width: 100%; height: 100%; min-height: 280px; border: 0; display: block; }

/* The drawn stand-in, when no embed URL is set: a plan grid and a pin, in the
   theme's own colours and with no request to anybody. */
.findus-plan {
  position: relative; width: 100%; height: 100%; min-height: 280px;
  background-color: var(--blk-bg-alt);
  background-image:
    linear-gradient(var(--blk-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--blk-line) 1px, transparent 1px);
  background-size: 44px 44px;
}
.findus-plan::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 46%, var(--blk-line) 46% 48%, transparent 48%),
    linear-gradient(-20deg, transparent 62%, var(--blk-line) 62% 63.4%, transparent 63.4%);
}
.findus-pin {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -70%);
  width: 46px; height: 46px; border-radius: 999px;
  background: var(--blk-accent); color: var(--blk-on-accent);
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 8px var(--blk-accent-ring);
}
.findus-pin i { width: 22px; height: 22px; }

/* ---- article list ------------------------------------------------------ */
.articles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2.4vw, 26px);
}
.article-card { min-width: 0; }
.article-link {
  display: flex; flex-direction: column; height: 100%;
  background: var(--blk-surface);
  border: 1px solid var(--blk-line);
  border-radius: var(--blk-radius);
  overflow: hidden;
  transition: transform .2s ease, border-color .2s ease, box-shadow .24s ease;
}
.article-link:hover {
  transform: translateY(-3px);
  border-color: var(--blk-accent);
  box-shadow: var(--blk-shadow);
}
.article-shot { display: block; aspect-ratio: 16 / 9; background: var(--blk-bg-alt); overflow: hidden; }
.article-shot img { width: 100%; height: 100%; object-fit: cover; }
.article-body { display: flex; flex-direction: column; gap: 8px; padding: clamp(20px, 2.4vw, 26px); }
.article-date {
  font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--blk-accent); font-variant-numeric: tabular-nums;
}
.article-title { font-size: 1.12rem; font-weight: 650; line-height: 1.34; color: var(--blk-ink); }
.article-summary { font-size: .92rem; color: var(--blk-muted); line-height: 1.6; }

/* ---- the article page -------------------------------------------------- */
.article-header .eyebrow a { color: inherit; }
.article-meta {
  display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: baseline;
  margin: 0 0 4px; font-size: .88rem; color: var(--blk-muted);
}
.article-meta time { font-variant-numeric: tabular-nums; }
.article-author::before { content: "·"; margin-right: 18px; }

.article-hero {
  margin: clamp(28px, 4vw, 48px) 0 0;
  border-radius: var(--blk-radius); overflow: hidden;
  box-shadow: var(--blk-shadow);
}
.article-hero img { width: 100%; height: auto; display: block; }
