/* ---- Button ---- */
.btn {
  display: inline-block; padding: 0.8rem 1.8rem; border-radius: var(--radius);
  font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.03em;
  text-transform: uppercase; cursor: pointer; border: 0;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), box-shadow var(--duration) var(--ease);
}
.btn:focus-visible { outline: var(--focus-outline); outline-offset: 3px; }
.btn--primary { background: var(--color-red); color: #fff; }
.btn--primary:hover { background: var(--color-red-dark); color: #fff; text-decoration: none; }
.btn--ghost { background: transparent; color: var(--color-red); box-shadow: inset 0 0 0 2px var(--color-red); }
.btn--ghost:hover { background: var(--color-red); color: #fff; text-decoration: none; }

/* ---- Card ---- */
.card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: var(--space-3); box-shadow: var(--shadow);
  transition: box-shadow var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card h3 { margin-bottom: var(--space-1); }
.card__label { color: var(--color-teal); font-weight: 700; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: var(--tracking-wide); }

/* ---- Hero (写真ヘッダ) ---- */
.hero {
  background: var(--color-surface-alt);
  border-bottom: 1px solid var(--color-border);
}
.hero--image { background-size: cover; background-position: center; }
.hero .container { padding-block: var(--space-6); min-height: 560px; display: flex; flex-direction: column; justify-content: center; align-items: flex-end; }
.hero__content { max-width: 480px; }
.hero .eyebrow { margin-bottom: var(--space-1); }
.hero h1 { color: var(--color-heading); font-size: var(--text-hero); font-weight: 400; max-width: 16ch; }
.hero p { color: var(--color-text); margin-block: var(--space-2) var(--space-4); max-width: 48ch; }
@media (max-width: 768px) {
  .hero .container { align-items: stretch; min-height: 420px; }
  .hero__content { max-width: none; background: rgba(255,255,255,0.85); padding: var(--space-3); border-radius: var(--radius); }
}

/* ---- Media (画像 + テキストの行) ---- */
.media { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-4); align-items: center; }
.media img { border: 1px solid var(--color-border); border-radius: var(--radius); max-height: 380px; width: auto; margin-inline: auto; }
.media--full { grid-template-columns: 1fr; }
.media--full img { width: 100%; max-height: none; }
@media (max-width: 768px) { .media { grid-template-columns: 1fr; } }

/* ---- Stats ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); text-align: center; }
.stats .num { font-size: var(--text-2xl); color: var(--color-red); font-weight: 700; }

/* ---- Form ---- */
.form-field { margin-bottom: var(--space-3); }
.form-field label { display: block; font-weight: 600; margin-bottom: var(--space-1); }
.form-field input, .form-field textarea {
  width: 100%; padding: 0.75rem; border: 1px solid var(--color-border);
  border-radius: var(--radius); font: inherit;
}
.form-field input:focus, .form-field textarea:focus { outline: 2px solid var(--color-teal); border-color: var(--color-teal); }
.form-field textarea { min-height: 160px; resize: vertical; }

/* ---- Contact Form 7 (WordPress プラグイン) のフォーム整形 ---- */
.wpcf7-form p { margin-bottom: var(--space-3); }
.wpcf7-form label { display: block; font-weight: 600; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%; padding: 0.75rem; margin-top: var(--space-1);
  border: 1px solid var(--color-border); border-radius: var(--radius); font: inherit;
}
.wpcf7-form input:focus, .wpcf7-form textarea:focus { outline: 2px solid var(--color-teal); border-color: var(--color-teal); }
.wpcf7-form textarea { min-height: 160px; resize: vertical; }
.wpcf7-form input[type="submit"] {
  background: var(--color-red); color: #fff; border: 0; cursor: pointer;
  padding: 0.8rem 1.8rem; border-radius: var(--radius);
  font-weight: 700; font-size: var(--text-sm); letter-spacing: 0.03em; text-transform: uppercase;
}
.wpcf7-form input[type="submit"]:hover { background: var(--color-red-dark); }
.wpcf7-form input[type="submit"] { transition: background var(--duration) var(--ease); }
.wpcf7-form input[type="submit"]:focus-visible { outline: var(--focus-outline); outline-offset: 3px; }

@media (max-width: 768px) { .stats { grid-template-columns: 1fr; gap: var(--space-2); } }

/* ---- Feature duo (2-col image blocks, mirrors UK "Available products / R&D") ---- */
.feature-duo { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-6); align-items: start; }
.feature-duo .feat img { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--color-border); }
.feature-duo .feat img.feat__img--contain { object-fit: contain; background: #fff; }
.feature-duo .feat h2 { margin: var(--space-3) 0 var(--space-1); }
.feature-duo .feat p { margin-bottom: var(--space-3); }
@media (max-width: 768px) { .feature-duo { grid-template-columns: 1fr; gap: var(--space-4); } .feature-duo .feat img.feat__img--contain { height: auto; } }

/* ---- Focus areas (circular icons) ---- */
.focus { text-align: center; }
.focus > .container > p { max-width: 60ch; margin: var(--space-1) auto 0; color: var(--color-text-muted); }
.focus__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); margin-top: var(--space-6); max-width: 960px; margin-left: auto; margin-right: auto; }

/* --- Front page headings: uppercase + bold (2026-08-17 KMCE review feedback) --- */
.h-caps { text-transform: uppercase; font-weight: 700; }
.hero h1.h-caps { font-weight: 700; }

.focus__item { display: flex; flex-direction: column; align-items: center; gap: var(--space-2); }
.focus__icon { width: 88px; height: 88px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.focus__icon svg { width: 38px; height: 38px; }
.focus__item span:last-child { font-weight: 600; color: var(--color-heading); }
.fa--teal { background: var(--color-teal); } .fa--red { background: var(--color-red); }
.fa--blue { background: #1b4fa0; } .fa--green { background: #2f9e6f; }
@media (max-width: 768px) { .focus__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-3); } }

/* ---- Stats band (mint, mirrors UK "committed to global healthcare") ---- */
.stats-band { background: #e9f5f6; }
.stats-band .container { text-align: center; }
.stats-band h2 { margin-bottom: var(--space-6); }
.stats-band__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.stat__icon { width: 44px; height: 44px; color: var(--color-teal); margin: 0 auto var(--space-2); }
.stat__img { display: block; width: 96px; height: auto; margin: 0 auto var(--space-2); }
.stat__num small { font-size: 0.6em; }
.stat__note { color: var(--color-text-muted); font-size: var(--text-sm); margin-top: var(--space-1); line-height: 1.5; }
.stat__num { font-size: var(--text-2xl); color: var(--color-red); font-weight: 700; line-height: 1.1; }
.stat__label { color: var(--color-heading); font-weight: 700; margin-top: var(--space-1); }
@media (max-width: 768px) { .stats-band__grid { grid-template-columns: 1fr; gap: var(--space-4); } }

/* ---- Media card (image on top, whole card clickable) ---- */
.card--media { padding: 0; overflow: hidden; color: inherit; display: flex; flex-direction: column; }
.card--media:hover { text-decoration: none; }
.card--media img { width: 100%; height: 190px; object-fit: cover; }
.card--media .card__body { padding: var(--space-3); }
.card--media h3 { margin-bottom: var(--space-1); }
.card--media p { color: var(--color-text-muted); margin-bottom: var(--space-2); }
.card__more { color: var(--color-red); font-weight: 700; font-size: var(--text-sm); }

/* ---- 2026-10-08 HQ review ---- */
/* Hero on a dark photo (eye image): light text on desktop; mobile keeps the light card */
.hero--dark h1, .hero--dark p { color: #fff; }
.hero--dark { position: relative; }
.hero--dark::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0) 35%, rgba(0,0,0,0.7) 62%, rgba(0,0,0,0.75) 100%); pointer-events: none; }
.hero--dark .container { position: relative; }
@media (max-width: 768px) { .hero--dark::before { display: none; } }
@media (max-width: 768px) { .hero--dark h1 { color: var(--color-heading); } .hero--dark p { color: var(--color-text); } }
/* External link mark */
.ext-icon { display: inline-block; width: 0.85em; height: 0.85em; margin-left: 0.3em; vertical-align: -0.05em; }
/* Portfolio: link tiles to external product sites */
.cta-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: var(--space-4); justify-content: center; }
.cta-tile { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-3); min-height: 300px; padding: var(--space-4); background-size: cover; background-position: center; color: #fff; text-decoration: none; overflow: hidden; }
.cta-tile::before { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.55); }
.cta-tile > * { position: relative; }
.cta-tile:hover { text-decoration: none; }
.cta-tile:hover::before { background: rgba(0,0,0,0.45); }
.cta-tile__logo { width: 200px; height: auto; }
.cta-tile__title { font-size: var(--text-2xl); font-weight: 700; line-height: 1.15; text-align: center; color: #fff; }
@media (max-width: 768px) { .cta-tiles { grid-template-columns: 1fr; } }
/* Privacy Policy (lawyer's text, 2026-10-05) */
.legal h2 { font-size: var(--text-lg); margin: var(--space-4) 0 var(--space-2); }
.legal p, .legal ul { margin-bottom: var(--space-2); }
.legal ul { padding-left: 1.4em; list-style: disc; }
.legal li { margin-bottom: 0.3em; }
.legal a { overflow-wrap: anywhere; }
.legal__table { overflow-x: auto; margin: var(--space-2) 0 var(--space-3); }
.legal table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.legal th, .legal td { border: 1px solid var(--color-border); padding: 0.5em 0.7em; text-align: left; vertical-align: top; }
.legal th { background: var(--color-surface-alt); font-weight: 700; }
/* External link mark for links written in content (Privacy Policy URLs, map credit) */
main a[target="_blank"]:not(.ext-link):not(.cta-tile)::before { content: ""; display: inline-block; width: 0.85em; height: 0.85em; margin-right: 0.3em; vertical-align: -0.05em; background-color: var(--color-red); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") center / contain no-repeat; }
.ext-link { overflow-wrap: anywhere; }
.contact-grid { grid-template-columns: 2fr 1fr; }
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
/* 2026-10-08 align with Kurokawa-san's example: red mark left of the text, text underlined; stats numbers in dark like KPEUK */
.ext-link, main a[target="_blank"]:not(.cta-tile) { text-decoration: underline; text-underline-offset: 0.15em; }
.ext-link .ext-icon { color: var(--color-red); margin: 0 0.3em 0 0; }
.stats-band .stat__num { color: var(--color-heading); }
/* 2026-10-08 visual alignment with the examples in Kurokawa-san's mail */
/* #13 mark: same size relation as the example (icon about the text height) */
.ext-link .ext-icon { width: 1.05em; height: 1.05em; vertical-align: -0.15em; }
/* #7 stats band: KPEUK proportions (large dark numbers, larger icons and heading) */
.stats-band h2 { font-size: var(--text-xl); font-weight: 400; }
.stats-band .stat__img { width: 106px; }
.stats-band .stat__num { font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); font-weight: 700; line-height: 1.05; }
.stats-band .stat__label { font-size: var(--text-lg); margin-top: var(--space-1); }
/* #14 tiles: darker overlay on the Avansee tile, KPEUK-like button (rounded, regular weight) */
.cta-tile--dark::before { background: rgba(0,0,0,0.7); }
.cta-tile .btn { border-radius: 6px; font-weight: 500; letter-spacing: 0.04em; padding: 0.8em 2.6em; }
.cta-tile__title { font-weight: 600; }
.stats-band h2 { font-size: var(--text-2xl); }
.ext-link .ext-icon { width: 1.25em; height: 1.25em; vertical-align: -0.25em; margin-right: 0.4em; }
.cta-tile--dark::before { background: rgba(0,0,0,0.8); }
.cta-tile .btn { font-weight: 400; font-size: 1.05rem; letter-spacing: 0.06em; min-width: 240px; justify-content: center; text-align: center; }
/* tiles: same overlay and same hover on both (as in the KPEUK example) */
.cta-tile::before, .cta-tile--dark::before { background: rgba(0,0,0,0.5); transition: background .2s; }
.cta-tile:hover::before { background: rgba(0,0,0,0.35); }
/* stats band: closer to the KPEUK example proportions */
.stats-band h2 { margin-bottom: 3.5rem; }
.stats-band .stat__num small { font-size: 0.72em; }
/* hover feedback identical on both tiles (the Avansee photo is dark by nature, so the button also reacts) */
.cta-tile .btn { transition: background-color .2s, filter .2s; }
.cta-tile:hover .btn { filter: brightness(0.88); }
/* stats band: balance with the rest of the site (section headings ~2rem) */
.stats-band h2 { font-size: var(--text-xl); margin-bottom: var(--space-6); }
.stats-band .stat__img { width: 80px; }
.stats-band .stat__num { font-size: clamp(2rem, 1.6rem + 1.2vw, 2.5rem); }
.stats-band .stat__label { font-size: var(--text-base); }
/* tiles v3: product faint at rest, revealed on hover - same behaviour on both tiles */
.cta-tile::before, .cta-tile--dark::before { background: rgba(0,0,0,0.62); }
.cta-tile:hover::before { background: rgba(0,0,0,0.2); }
.cta-tile { justify-content: center; }
.cta-tile__head { display: flex; align-items: center; justify-content: center; min-height: 112px; width: 100%; }
.cta-tile__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); hyphens: auto; overflow-wrap: anywhere; }
/* one size for every external-link mark */
main a[target="_blank"]:not(.ext-link):not(.cta-tile)::before { width: 1.1em; height: 1.1em; vertical-align: -0.2em; }
.ext-link .ext-icon { width: 1.1em; height: 1.1em; vertical-align: -0.2em; }
/* #16 adverse event notice at the bottom of the right column */
.contact-aside { align-self: stretch; display: flex; flex-direction: column; }
.contact-adverse { margin-top: auto; padding-top: var(--space-4); }
@media (max-width: 768px) { .contact-adverse { margin-top: var(--space-4); } }
.cta-tile__title { font-size: 1.75rem; hyphens: manual; overflow-wrap: normal; }
/* keep the mark together with its link text */
.ext-link, main a[target="_blank"]:not(.cta-tile) { white-space: nowrap; }
.legal a[target="_blank"] { white-space: normal; }
/* German long words: hyphenate headings instead of cutting them */
:lang(de) h1, :lang(de) h2 { hyphens: auto; -webkit-hyphens: auto; }
/* small screens: tile button stays on one line */
@media (max-width: 400px) { .cta-tile .btn { min-width: 0; padding: 0.8em 1.4em; white-space: nowrap; } .cta-tile__title { font-size: 1.5rem; } }
/* hover: keep the white title readable on the light photo */
.cta-tile:hover::before { background: rgba(0,0,0,0.32); }
/* external-link mark v4: drawn as the link's own background at the start of its first line,
   so the mark can never be left alone at the end of a line and long URLs can still wrap */
.ext-link, main a[target="_blank"]:not(.cta-tile) { white-space: normal; padding-left: 1.45em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E30613' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h6v6'/%3E%3Cpath d='M10 14 21 3'/%3E%3Cpath d='M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6'/%3E%3C/svg%3E") left 0.1em top 0.15em / 1.1em 1.1em no-repeat; }
.ext-link .ext-icon { display: none; }
main a[target="_blank"]:not(.ext-link):not(.cta-tile)::before { content: none; }
/* Our focus areas: same style for all three descriptions */
.focus__item .focus__desc, .focus__item .focus__desc span { font-weight: 400; color: #6b7280; }
.focus__item span.focus__desc, .focus__item span.focus__desc span { font-weight: 400; color: #6b7280; }
/* hero text card: no extra space left by the removed button */
.hero__content > p:last-child { margin-bottom: 0; }
/* German hero heading: hyphenate only on small screens */
@media (min-width: 401px) { :lang(de) .hero h1 { hyphens: manual; -webkit-hyphens: manual; } }
/* #16 v2: just below the contact details, inside the empty right-hand area (not pinned to the very bottom) */
.contact-adverse { margin-top: var(--space-6); padding-top: 0; }
/* 2026-10-21 UK review */
/* Home: injector on a light gradient, filling the box (mobile: whole image) */
.feature-duo .feat img.feat__img--fill { object-fit: cover; object-position: 5% center; }
@media (max-width: 768px) { .feature-duo .feat img.feat__img--fill { height: auto; } }
/* Leaving-site notice for links to other websites */
.leave-dlg { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: var(--space-3); background: rgba(0, 0, 0, 0.55); }
.leave-dlg[hidden] { display: none; }
.leave-dlg__box { position: relative; background: #fff; max-width: 560px; width: 100%; padding: var(--space-5, 2.5rem) var(--space-4); border-radius: var(--radius); box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); }
.leave-dlg__title { font-size: var(--text-lg); font-weight: 700; line-height: 1.35; margin: 0 0 var(--space-2); padding-right: 1.5rem; color: var(--color-heading); overflow-wrap: anywhere; }
.leave-dlg__text { margin: 0 0 var(--space-4); }
.leave-dlg__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.leave-dlg__actions .btn { text-transform: uppercase; letter-spacing: 0.04em; }
.leave-dlg__cancel { background: #eee; color: var(--color-text); }
.leave-dlg__cancel:hover { background: #ddd; color: var(--color-text); text-decoration: none; }
.leave-dlg__close { position: absolute; top: 0.6rem; right: 0.8rem; background: none; border: 0; font-size: 1.6rem; line-height: 1; color: var(--color-red); cursor: pointer; }
/* Footer: date of preparation and UIN */
.site-footer__uin { opacity: 0.85; }
/* stat icons: same size as the focus-area icons above (96px) */
.stats-band .stat__img { width: 96px; }
/* review fixes 2026-10-21 */
.site-nav a:hover { text-decoration: none; }
.nowrap { white-space: nowrap; }
.card--media .card__body { display: flex; flex-direction: column; flex: 1; }
.card--media .card__more { margin-top: auto; padding-top: var(--space-2); }
.leave-dlg__actions { align-items: stretch; }
.leave-dlg__actions .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; line-height: 1.2; }
/* production review 2026-10-21 */
/* Portfolio header on small screens: smaller injector to the right of the title, lens and Kowa both visible */
@media (max-width: 768px) { .page-header--portfolio { background-size: 150% auto !important; background-position: 0% 50% !important; background-color: #000; } }
/* long German page titles (Datenschutzerklärung) fit on one line on phones */
@media (max-width: 480px) { .page-header h1 { font-size: min(2.25rem, 7.6vw); } }
/* breadcrumb links look like the other breadcrumbs */
.breadcrumb a { color: inherit; }
/* 2026-10-22 client walk-through */
/* Our Portfolio / R&D pictures: taller, so the injector can run across the box like the chosen option */
.feature-duo .feat img { height: 300px; }
/* links inside body text are always underlined (not only on hover) */
main p a:not(.btn) { text-decoration: underline; text-underline-offset: 0.15em; }
/* Global Network map v2 (2026-10-22): address over the ocean like avansee.eu; site colours; text sized with the page */
.loc-map2 { position: relative; }
.loc-map2__img { display: block; width: 100%; height: auto;
  -webkit-mask-image: linear-gradient(to right, #000 92%, transparent); mask-image: linear-gradient(to right, #000 92%, transparent); }
.loc-map2__info { position: absolute; left: 0; top: 50%; transform: translateY(-50%); max-width: 36%; color: var(--color-heading); }
.loc-map2__info p { margin: 0; }
.loc-map2__name { font-size: 1.5rem; font-weight: 700; line-height: 1.3; margin-bottom: 0.6rem !important; }
.loc-map2__addr { font-size: var(--text-lg); line-height: 1.6; }
.loc-map2__note { margin-top: var(--space-2) !important; color: var(--color-text-muted); font-size: 1.05rem; line-height: 1.6; max-width: 22em; }
@media (max-width: 900px) {
  .loc-map2__info { position: static; transform: none; max-width: none; margin-bottom: var(--space-3); }
  .loc-map2__name { font-size: var(--text-lg); }
  .loc-map2__addr { font-size: var(--text-base); }
  .loc-map2__note { font-size: var(--text-sm); }
  .loc-map2 { display: flex; flex-direction: column-reverse; }
  .loc-map2__img { -webkit-mask-image: none; mask-image: none; border: 1px solid var(--color-border); border-radius: var(--radius); }
}
/* phones: both pictures with the same proportion as the injector image (no different heights when stacked) */
@media (max-width: 768px) { .feature-duo .feat img, .feature-duo .feat img.feat__img--fill { height: auto; aspect-ratio: 1104 / 600; object-fit: cover; } }
/* review fixes 2026-10-22 */
.loc-map2__name { text-wrap: balance; }
@media (min-width: 769px) and (max-width: 900px) { .loc-map2 picture { display: block; max-width: 640px; } }

/* News: exhibition cards with a city photo (2026-10-26) */
.news-grid .card--media img { height: auto; aspect-ratio: 3 / 2; }
.news-grid .card--media p { margin-bottom: 0; }
.news-grid .card--media p + p { margin-top: var(--space-2); } /* News text with several paragraphs (wp-admin) */

/* Contact form: consent checkbox (2026-11-06) */
.wpcf7-form .wpcf7-acceptance .wpcf7-list-item { display: block; margin: 0; }
.wpcf7-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 0.6rem; font-weight: 400; cursor: pointer; }
.wpcf7-form .wpcf7-acceptance input[type="checkbox"] { flex: none; width: 1.1rem; height: 1.1rem; margin: 0.2rem 0 0; accent-color: var(--color-red); cursor: pointer; }
main .wpcf7-form .wpcf7-acceptance a[target="_blank"] { white-space: normal; padding-left: 0; background: none; }
.wpcf7-form input[type="submit"]:disabled { background: var(--color-border); color: var(--color-text-muted); cursor: not-allowed; }
/* the error summary goes away once every field error has been fixed */
.wpcf7 form.invalid:not(:has(.wpcf7-not-valid-tip)) .wpcf7-response-output { display: none; }
/* Contact form: typed text in the regular weight, status box lined up with the fields (2026-11-06) */
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form input[type="tel"], .wpcf7-form textarea { font-weight: 400; }
.wpcf7 form.wpcf7-form .wpcf7-response-output { margin-left: 0; margin-right: 0; }
/* Our focus areas, two-column widths: the third item is centred under the first two (2026-11-06) */
@media (max-width: 768px) { .focus__item:last-child:nth-child(odd) { grid-column: 1 / -1; } }
/* consent box: focus ring only for keyboard focus, as the box is already red when ticked (2026-11-06) */
.wpcf7-form .wpcf7-acceptance input[type="checkbox"]:focus:not(:focus-visible) { outline: none; }
/* submit button: focus ring only for keyboard focus (2026-11-06) */
.wpcf7-form input[type="submit"]:focus:not(:focus-visible) { outline: none; }
