/*
Theme Name: Arty Char
Theme URI: https://charsink.co.uk
Description: Child theme of Twenty Twenty-Five for Arty Char Tattoos. Paper
  white, ink black, one red accent - derived from Char's own flash sheets, not
  from the studio bio. Design tokens live in theme.json so the Site Editor stays
  the single source of truth; the CSS here does the three things theme.json
  cannot express - the paper ground, the flash catalogue, and mapping the form
  plugin's own chrome onto the palette.
Author: built for Char
Template: twentytwentyfive
Version: 0.2.0
Requires at least: 6.7
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: artychar
*/

/* =========================================================================
   1. The paper ground
   Her flash is drawn on textured off-white paper, and that texture is the
   brand background. The grain below is lifted from a blank margin of her own
   floral-vase sheet, high-pass filtered and tiled - so the site sits on her
   paper rather than on a paper-coloured rectangle. It is the one real risk
   this design takes, and it is what separates it from a flat cream template.
   ========================================================================= */
body {
  background-color: var(--wp--preset--color--paper);
  background-image: url("assets/paper-grain.png");
  background-repeat: repeat;
  /* 128px tile, 8 grey levels, 3.7KB. Random noise compresses badly, so the
     size win is in the tile and the level count, not in PNG effort - the
     first version was a 256px tile at 32 levels and 44KB, on every page. */
  background-size: 128px 128px;
  /* The tile is centred on mid-grey, which soft-light treats as neutral, so
     the grain modulates the paper instead of darkening it. Multiply here
     would drop the whole page to about half brightness. */
  background-blend-mode: soft-light;
  background-attachment: fixed;
}

/* Fraunces has four axes, and each one is set on purpose. The first build
   ran the headings at weight 600 with SOFT at 40-50, which is rounded and
   heavy, like a cafe menu, and outweighed the drawing beside it. Her work is
   a fine pen line, so the headings now follow it:
   - light at the top, with sharp corners (SOFT 0);
   - WONK kept, for the leaning n, m and h that look drawn rather than set;
   - opsz pinned at 144 for the page titles, the sharpest, highest-contrast
     cut, where the hairlines read like her line;
   - section headings let opsz follow the size, so they don't go spindly
     on a phone.
   The weights themselves are in theme.json. Its font face now declares the
   file's full 100-900 range; at 400-700, as it was, any lighter weight was
   quietly clamped to 400. */
h1, h2, h3, h4, h5, h6,
.wp-block-post-title {
  font-variation-settings: "SOFT" 0, "WONK" 1;
  font-optical-sizing: auto;
  font-synthesis: none;
}
h1, .wp-block-post-title { font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144; }

/* The italic is Fraunces' own, not a slanted roman: calligraphic, close to
   a pen stroke. One accent in a heading, never a whole line of body text. */
:is(h1, h2, h3, .ac-cta-line) :is(em, i) { font-style: italic; font-weight: inherit; }

/* The parent theme sets the body at 300. Instrument Sans starts at 400, so
   the text still looked normal, but <strong> resolved to "one step bolder
   than 300", which is 400, and every bold word on the site was the same
   weight as the words round it. */
strong, b { font-weight: 600; }

h1, h2, h3, .wp-block-post-title { text-wrap: balance; }
p, li { text-wrap: pretty; }
/* Large text needs less leading than body text; at the body's 1.65, the
   intros looked double-spaced. */
p.has-large-font-size { line-height: 1.5; letter-spacing: -0.006em; }

/* The wordmark she already uses: all caps, wide tracking, classical serif.
   Reused, not replaced. */
.wp-block-site-title a,
.wp-block-site-title {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 40;
}
.wp-block-site-title a:hover { color: var(--wp--preset--color--ink); }

/* Keyboard focus stays visible everywhere, including inside the form plugin. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--wp--preset--color--ink);
  outline-offset: 3px;
  border-radius: 2px;
}

/* =========================================================================
   2. Hand-ruled dividers
   A 1px CSS border is the one thing on a page that cannot have been drawn.
   These are slightly irregular strokes instead.
   ========================================================================= */
.wp-block-separator {
  border: 0;
  height: 4px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='4' viewBox='0 0 160 4'%3E%3Cpath d='M0 2.3 Q40 1.1 80 2.1 T160 1.9' fill='none' stroke='%23DED5C9' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: center;
  opacity: 1;
}
.wp-block-separator.is-style-wide { max-width: none; }

/* =========================================================================
   3. Header and footer
   ========================================================================= */
.ac-header {
  padding-block: var(--wp--preset--spacing--30);
  border-bottom: 1px solid var(--wp--preset--color--rule);
}
.ac-header-inner { gap: var(--wp--preset--spacing--30); }
/* The wordmark at its large size plus the menu button is 318px, and a 360px
   phone has 312px between its margins, so the button dropped to a second
   row on the left at the two most common phone widths (360 and 375). Below
   480px the wordmark is fluid and always narrower than the row. */
@media (max-width: 480px) {
  .ac-wordmark { font-size: clamp(0.8rem, 4.2vw, 1.2rem); }
}

/* The site's motion speaks one dialect. --ac-ease is the binder's own curve,
   lifted up from binder.css so the nav, the buttons and the lightbox move
   like members of the same family rather than three libraries' defaults.
   --ac-out is the arrival curve: a confident deceleration, no bounce. */
:root {
  --ac-ease: cubic-bezier(.35, .02, .28, 1);
  --ac-out: cubic-bezier(.16, 1, .3, 1);
  /* The hand-ruled stroke from section 2, reusable as a background. */
  --ac-rule: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='4' viewBox='0 0 160 4'%3E%3Cpath d='M0 2.3 Q40 1.1 80 2.1 T160 1.9' fill='none' stroke='%23DED5C9' stroke-width='1.3' stroke-linecap='round'/%3E%3C/svg%3E");
  /* The four-point sparkle she draws round her designs (the cat sheet has
     five of them), as the list marker. */
  --ac-spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M5 0C5.5 3.3 6.7 4.5 10 5 6.7 5.5 5.5 6.7 5 10 4.5 6.7 3.3 5.5 0 5 3.3 4.5 4.5 3.3 5 0Z'/%3E%3C/svg%3E");
  /* The parts of the page nobody draws still carry the design. */
  caret-color: var(--wp--preset--color--ink);
  accent-color: var(--wp--preset--color--ink);
  scrollbar-color: var(--wp--preset--color--pencil) var(--wp--preset--color--paper-shade);
}
::selection {
  background-color: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
}
a {
  text-underline-offset: 0.14em;
  text-decoration-thickness: 1px;
}

.ac-nav {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.975rem;
  letter-spacing: -0.005em;
}
.ac-nav .wp-block-navigation-item__content {
  position: relative;
  display: inline-block;
  text-decoration: none;
  /* 0.7rem top and bottom puts the whole item over 44px tall - the touch
     target floor. It was 38px. */
  padding-block: 0.7rem;
}
/* The underline is drawn, not switched on: a line growing from the left in
   the binder's own easing. It is the one place the site's linework idiom
   reaches the chrome. */
.ac-nav .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  height: 1px;
  background-color: var(--wp--preset--color--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ac-ease);
}
.ac-nav .wp-block-navigation-item__content:hover::after,
.ac-nav .wp-block-navigation-item__content:focus-visible::after,
.ac-nav .current-menu-item > .wp-block-navigation-item__content::after {
  transform: scaleX(1);
}
/* The mobile menu buttons rendered at 24x24. Grown to the 44px floor. The
   open button sits in the header's flex flow, so a negative margin recentres
   it without taking space. The close button is absolutely positioned at the
   overlay's top-right corner: the same negative margin pushed it 10px past
   the edge and gave the open menu a horizontal scrollbar. It takes no
   margin; the overlay's padding below puts its icon exactly where the
   hamburger was, so the X appears under the thumb that opened it. */
.wp-block-navigation__responsive-container-open,
.wp-block-navigation__responsive-container-close {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.wp-block-navigation__responsive-container-open { margin: -10px; }

/* The open overlay. Core pads it from the root padding variables; the
   top and bottom are 0px in theme.json (a unitless 0 is invalid inside
   core's clamp() and silently dropped the whole padding). The top matches
   the header's own padding so the close icon lands on the hamburger's
   position. Core also zeroes the link padding in here, which left each item
   26px tall; the items get their touch height back and the list gap comes
   down so the rhythm stays where it was. */
.ac-nav .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
  padding-top: var(--wp--preset--spacing--30);
  overflow-x: hidden;
}
.ac-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
  padding-block: 0.6rem;
}
.ac-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
  gap: 0.4rem;
}

.ac-footer {
  border-top: 1px solid var(--wp--preset--color--rule);
  color: var(--wp--preset--color--ink-soft);
  font-size: 0.95rem;
}
.ac-footer-inner {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
  align-items: start;
}
.ac-footer-inner > * { margin: 0; }
.ac-footer p { margin: 0 0 0.35rem; }
.ac-footer-tagline { max-width: 30ch; margin-top: 0.6rem; }
/* Sentence case since 2026-11-02 (the unslop pass): tracked capitals made
   every small label shout the same way. The mono carries the label. */
.ac-footer-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--pencil);
  margin-bottom: 0.6rem;
}
.ac-footer a { color: var(--wp--preset--color--ink-soft); }
.ac-footer a:hover { color: var(--wp--preset--color--ink); }

/* =========================================================================
   4. Home hero
   The hero is one of her sheets, whole, on the paper it was drawn on - the
   most characteristic thing in her world. Type sits beside it, not on it.
   ========================================================================= */
.ac-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--wp--preset--spacing--50);
  align-items: center;
  padding-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--40);
}
.ac-hero > * { margin: 0; min-width: 0; }
.ac-hero-copy > * + * { margin-top: var(--wp--preset--spacing--30); }
/* No blend mode here. Every drawing is normalised to exactly --paper by the
   media pipeline, so it already sits flush on the page; multiplying paper by
   paper just makes the picture dirtier than the page around it. */
.ac-hero-art img {
  width: 100%;
  height: auto;
  display: block;
  /* The scan keeps a faint band of its own paper texture down the sides and
     across the top, which drew the photo's rectangle on the page. The edges
     fade out instead. Not the bottom: her signature sits in the last few
     per cent of the sheet. */
  -webkit-mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%),
    linear-gradient(to bottom, transparent 0, #000 5%, #000 100%);
  mask-composite: intersect;
}
/* Side by side, the sheet is no taller than the screen allows (2026-10-19).
   It is a tall drawing, and at its full width it pushed both buttons below
   the fold on a 1280 x 720 or 1366 x 768 laptop (measured 805px down), and
   cut the lettering at the foot of the sheet on 1440 x 900. Capped, the
   buttons end at 694px on 1280 x 720 and the whole sheet shows on 1440. */
@media (min-width: 901px) {
  .ac-hero { padding-block: clamp(1.5rem, 4vh, 3rem) clamp(1.5rem, 4vh, 2.5rem); }
  .ac-hero-art img { max-height: calc(100svh - 150px); width: auto; max-width: 100%; margin-inline: auto; }
}
/* Where she works, said once, under the headline rather than as a label
   above it. A kicker above a heading is the pattern every generated site
   reaches for; a headline carries its own weight. */
.ac-location {
  font-size: 0.95rem;
  color: var(--wp--preset--color--ink-soft);
}
.ac-location a {
  color: inherit;
  text-decoration-color: var(--wp--preset--color--rule);
}
.ac-location a:hover { text-decoration-color: var(--wp--preset--color--ink); }

/* Routes out of a section, at body weight. The route to the About page was
   a 12px grey mono link and, in testing, effectively invisible. */
.ac-more { font-size: 1rem; }
.ac-more a {
  color: var(--wp--preset--color--ink-soft);
  text-decoration-color: var(--wp--preset--color--rule);
}
.ac-more a:hover {
  color: var(--wp--preset--color--ink);
  text-decoration-color: var(--wp--preset--color--ink);
}

/* "What I do", compressed out of three equal columns into three lines, then
   set as rows: the kind of work in the display face on the left, what it
   means on the right, a hand-drawn rule between. The term is floated rather
   than gridded, so a link she adds inside the text can't split the row into
   extra grid cells; flow-root makes each row as tall as its taller side. */
.ac-what {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 54rem;
  background: var(--ac-rule) top left / 160px 4px repeat-x;
}
.ac-what li {
  display: flow-root;
  padding: 1.5rem 0 1.5rem 15rem;
  background: var(--ac-rule) bottom left / 160px 4px repeat-x;
}
.ac-what li + li { margin-top: 0; }
.ac-what li strong {
  float: left;
  width: 13rem;
  margin-left: -15rem;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 400;
  font-size: 1.55rem;
  line-height: 1.15;
  letter-spacing: -0.012em;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
@media (max-width: 700px) {
  .ac-what li { padding-left: 0; }
  .ac-what li strong { float: none; display: block; width: auto; margin: 0 0 0.35rem; }
}

/* One left edge down the whole front page. WordPress centres a constrained
   column inside a wide container, which put the hero flush left and every
   section below it indented by a couple of hundred pixels - two left edges on
   one page. Reading text stays at its 46rem measure; it just starts where the
   hero starts.
   The constrained layout's own centring margins are !important, so this has
   to be too; without it the rule lost and the page had two left edges
   again. The wide column is centred, so its left edge is half the spare
   width, not 0. */
.ac-main-front .entry-content > :not(.alignwide):not(.alignfull) {
  margin-left: max(0px, (100% - var(--wp--style--global--wide-size)) / 2) !important;
  margin-right: auto !important;
}

/* Section rhythm. More room above a heading than below it, so each heading
   belongs to what follows. Everything was 1.5rem apart, so a heading sat
   as close to the paragraph before as to its own. */
.entry-content > h2 { margin-top: clamp(3rem, 6vw, 4.5rem); }
.entry-content > h3 { margin-top: 2.25rem; }
.entry-content > :is(h2, h3) + * { margin-top: 1rem; }
.entry-content > .wp-block-separator { margin-top: clamp(4rem, 8vw, 6.5rem); }
.entry-content > .wp-block-separator + h2 { margin-top: clamp(2rem, 4vw, 3rem); }
.entry-content > .wp-block-separator + h2 + * { margin-top: clamp(1.25rem, 2.5vw, 2rem); }

/* =========================================================================
   5. The flash catalogue - the signature
   Real flash sheets number their designs so a client can point at one and say
   "number four", and each design is tattooed once. That mechanism is the
   interface: number, name, state. The state reads "Ask" and never
   "Available" - what is still free is Char's to say, not ours to invent.
   ========================================================================= */
.ac-flash-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30);
  margin-block: var(--wp--preset--spacing--40);
}
.ac-flash-grid > * { margin: 0; }

.ac-flash-item { position: relative; }
/* The tile ground is paper, not white. Each drawing is normalised to exactly
   --paper, so a design that does not fill its tile letterboxes invisibly -
   the way a small drawing sits on a big sheet. A white tile would put a hard
   rectangle round every design. */
.ac-flash-item .ac-flash-art {
  margin: 0 0 0.85rem;
  background-color: var(--wp--preset--color--paper);
  border: 1px solid var(--wp--preset--color--rule);
  aspect-ratio: 4 / 5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0.6rem;
}
.ac-flash-item .ac-flash-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 220ms ease;
}
.ac-flash-item:hover .ac-flash-art { border-color: var(--wp--preset--color--pencil); }

.ac-flash-meta {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  margin: 0;
}
.ac-flash-meta > p { margin: 0; }

.ac-flash-no {
  font-family: var(--wp--preset--font-family--mono);
  font-weight: 500;
  font-size: 0.95rem;
  font-variant-numeric: tabular-nums;
  color: var(--wp--preset--color--ink);
  flex: none;
}
.ac-flash-name {
  font-size: 0.95rem;
  color: var(--wp--preset--color--ink-soft);
  flex: 1 1 auto;
  min-width: 0;
}
.ac-flash-status {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--pencil);
  border: 1px solid var(--wp--preset--color--rule);
  padding: 0.16rem 0.45rem;
  flex: none;
}

/* Red appears here and nowhere else on the site. In her own drawings it is a
   single deliberate mark on an otherwise monochrome page - the red moth, the
   red-and-black snake. One use, one meaning: this is how you claim a design. */
.ac-flash-claim { margin: 0.4rem 0 0; }
.ac-flash-claim a {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--wp--preset--color--pencil);
  border-bottom: 1px solid var(--wp--preset--color--rule);
  padding-bottom: 1px;
}
.ac-flash-item:hover .ac-flash-claim a,
.ac-flash-claim a:hover,
.ac-flash-claim a:focus-visible {
  color: var(--wp--preset--color--red);
  border-bottom-color: var(--wp--preset--color--red);
}
/* the whole tile is the target, so the small link is not the only hit area */
.ac-flash-claim a::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Margin notes - practical information set beside the sheet, the way a note
   is pencilled next to a drawing rather than underneath it. */
.ac-notes {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--wp--preset--spacing--40);
  align-items: start;
  margin-block: var(--wp--preset--spacing--40);
}
.ac-notes > * { margin: 0; min-width: 0; }
.ac-notes-aside {
  border-left: 1px solid var(--wp--preset--color--rule);
  padding-left: var(--wp--preset--spacing--30);
}
.ac-notes-aside p,
.ac-notes-aside li { font-size: 0.95rem; }

/* =========================================================================
   6. Healed work
   Photographs are graded toward the palette so skin does not fight the paper,
   and every one is cropped to the tattoo rather than the person.
   ========================================================================= */
/* One tile shape. Core's cropped gallery sizes each row to its own photos,
   so the healed-work page ran in four different row heights and read as a
   camera roll. Every tile is now 4:5, the shape of a phone photo of a
   forearm. It is a grid rather than core's flex rows, so a short last row
   keeps the column width instead of stretching two photos across the page.
   Core's gallery selectors carry an ID (:not(#individual-image)), hence the
   !important on the few properties it sets. The photos lose the 1px frame:
   a beige outline round skin looked like a placeholder box. */
.ac-work-gallery.wp-block-gallery.has-nested-images {
  display: grid !important;
  grid-template-columns: repeat(var(--ac-cols, 3), minmax(0, 1fr));
  gap: clamp(0.5rem, 1.4vw, 1.25rem);
}
.ac-work-gallery.columns-4 { --ac-cols: 4; }
.ac-work-gallery.columns-2 { --ac-cols: 2; }
.ac-work-gallery.wp-block-gallery.has-nested-images figure.wp-block-image {
  width: auto !important;
  margin: 0 !important;
  overflow: hidden;
  background-color: var(--wp--preset--color--paper-shade);
}
.ac-work-gallery.wp-block-gallery.has-nested-images figure.wp-block-image img {
  aspect-ratio: 4 / 5;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
  flex: none !important;
}
@media (max-width: 700px) {
  .ac-work-gallery.wp-block-gallery.has-nested-images { --ac-cols: 2; }
}

.ac-portrait { margin-block: 0; }
.ac-portrait img {
  width: 100%;
  height: auto;
}


/* =========================================================================
   7. The enquiry form
   Forminator, not Fluent Forms: the latter's free tier ships no renderer for
   a file-upload field, so the reference-images field was stored and then
   silently skipped at render. Reference images are the field that does most
   to cut Char's DM load, so the plugin changed rather than the requirement.

   Forminator's own chrome is rounded, blue-accented and shadowed - none of
   which is in this palette. This maps its controls onto the theme tokens. A
   justified exception to the theme.json-only rule: plugin chrome was never
   editable from the Site Editor, so no handover capability is lost here.
   ========================================================================= */
.forminator-ui.forminator-custom-form {
  font-family: var(--wp--preset--font-family--body);
  color: var(--wp--preset--color--ink);
}
.forminator-ui.forminator-custom-form .forminator-row { margin-bottom: 1.6rem; }
.forminator-ui.forminator-custom-form .forminator-row-last { margin-bottom: 0; }

.forminator-ui.forminator-custom-form .forminator-label {
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--wp--preset--color--ink);
  margin-bottom: 0.15rem;
  display: block;
}

/* Red is reserved for claiming a flash design, so the required marker is not
   red - it is the same pencil grey as every other piece of small print. */
.forminator-ui.forminator-custom-form .forminator-required {
  color: var(--wp--preset--color--pencil);
  font-family: var(--wp--preset--font-family--mono);
}

/* The help text is the part of this form doing the real work - it is what
   stops the question being asked in a DM instead. Persistent, under the
   label, above the input: readable before the field is filled in, and
   readable on a phone, which a hover tooltip never was. */
.forminator-ui.forminator-custom-form .forminator-description {
  display: block;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--wp--preset--color--ink-soft);
  margin: 0 0 0.5rem;
  max-width: 58ch;
  font-style: normal;
  opacity: 1;
}

.forminator-ui.forminator-custom-form input.forminator-input,
.forminator-ui.forminator-custom-form textarea.forminator-textarea,
.forminator-ui.forminator-custom-form select {
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--pencil);
  border-radius: 2px;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
  font-size: 1rem;
  line-height: 1.5;
  padding: 0.7rem 0.8rem;
  box-shadow: none;
  width: 100%;
  height: auto;
}
.forminator-ui.forminator-custom-form input.forminator-input::placeholder,
.forminator-ui.forminator-custom-form textarea.forminator-textarea::placeholder {
  color: var(--wp--preset--color--pencil);
  opacity: 1;
}
.forminator-ui.forminator-custom-form input.forminator-input:focus,
.forminator-ui.forminator-custom-form textarea.forminator-textarea:focus,
.forminator-ui.forminator-custom-form select:focus {
  border-color: var(--wp--preset--color--ink);
  outline: 2px solid var(--wp--preset--color--ink);
  outline-offset: 1px;
  box-shadow: none;
}
.forminator-ui.forminator-custom-form textarea.forminator-textarea { min-height: 7rem; }

/* Checkbox and radio: label and control share one hit target, so there is no
   dead zone beside the box on a phone. One option per line. (The two
   answers to "Flash or custom?" became boxes on 25 November 2026 and sit
   side by side where there is room: section 23.) */
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-field,
.forminator-ui.forminator-custom-form .forminator-field-checkbox .forminator-field {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.forminator-ui.forminator-custom-form .forminator-checkbox,
.forminator-ui.forminator-custom-form .forminator-radio {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  cursor: pointer;
  min-height: 1.9rem;
  margin-bottom: 0.35rem;
  font-size: 1rem;
  color: var(--wp--preset--color--ink-soft);
}
/* The form runs with Forminator's design set to none, which renders an empty
   span beside each native box and styles neither, so the site's most
   important form showed 13px browser checkboxes. The span is now the
   control. The real input stays on top of it, transparent, so clicks,
   keyboard, focus and screen readers all still go to the native control. */
.forminator-ui.forminator-custom-form .forminator-checkbox,
.forminator-ui.forminator-custom-form .forminator-radio { position: relative; }
.forminator-ui.forminator-custom-form .forminator-checkbox input,
.forminator-ui.forminator-custom-form .forminator-radio input {
  position: absolute;
  left: 0;
  top: 0.18rem;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
/* The consent tick (2026-10-30): the box beside its sentence, and the whole
   sentence presses it, as a phone expects. Forminator keeps the sentence out
   of the label, so the label's ::after is stretched over the pair; the link
   sits above that and stays its own target. */
.forminator-ui.forminator-custom-form .forminator-checkbox__wrapper {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
}
.forminator-ui.forminator-custom-form .forminator-checkbox.forminator-consent {
  position: static;
  flex: none;
  padding: 0;
  margin: 0;
}
.forminator-ui.forminator-custom-form .forminator-consent::after {
  content: "";
  position: absolute;
  inset: 0;
}
.forminator-ui.forminator-custom-form .forminator-consent__label a {
  position: relative;
  z-index: 1;
}
.forminator-ui.forminator-custom-form .forminator-checkbox-box,
.forminator-ui.forminator-custom-form .forminator-radio-bullet {
  display: inline-block;
  box-sizing: border-box;
  width: 1.25rem;
  height: 1.25rem;
  border: 1px solid var(--wp--preset--color--pencil);
  border-radius: 2px;
  background-color: var(--wp--preset--color--white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 0.8rem;
  flex: none;
  margin-top: 0.18rem;
  transition: background-color 140ms ease, border-color 140ms ease, box-shadow 140ms ease;
}
.forminator-ui.forminator-custom-form .forminator-radio-bullet { border-radius: 50%; }
.forminator-ui.forminator-custom-form .forminator-checkbox:hover .forminator-checkbox-box,
.forminator-ui.forminator-custom-form .forminator-radio:hover .forminator-radio-bullet {
  border-color: var(--wp--preset--color--ink);
}
.forminator-ui.forminator-custom-form input:checked + .forminator-checkbox-box {
  border-color: var(--wp--preset--color--ink);
  background-color: var(--wp--preset--color--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.2 6.4 4.9 9 9.8 3.2' fill='none' stroke='%23FAF7F2' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.forminator-ui.forminator-custom-form input:checked + .forminator-radio-bullet {
  border-color: var(--wp--preset--color--ink);
  background-color: var(--wp--preset--color--ink);
  box-shadow: inset 0 0 0 3.5px var(--wp--preset--color--white);
}
.forminator-ui.forminator-custom-form input:focus-visible + .forminator-checkbox-box,
.forminator-ui.forminator-custom-form input:focus-visible + .forminator-radio-bullet {
  outline: 2px solid var(--wp--preset--color--ink);
  outline-offset: 2px;
}
.forminator-ui.forminator-custom-form .forminator-has_error .forminator-checkbox-box,
.forminator-ui.forminator-custom-form .forminator-has_error .forminator-radio-bullet {
  border-color: var(--wp--preset--color--red);
}

/* The select draws its own chevron in the palette, in place of the
   browser's grey one. */
.forminator-ui.forminator-custom-form select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2314110F' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  background-size: 0.75rem;
  cursor: pointer;
}

/* The native file button, which is all the upload box shows, in the site's
   button style rather than the operating system's. */
.forminator-ui.forminator-custom-form input[type="file"] {
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.9rem;
  color: var(--wp--preset--color--ink-soft);
  max-width: 100%;
}
.forminator-ui.forminator-custom-form input[type="file"]::file-selector-button {
  font: inherit;
  font-weight: 500;
  color: var(--wp--preset--color--ink);
  background-color: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--ink);
  border-radius: 2px;
  padding: 0.6rem 1.1rem;
  margin-right: 0.9rem;
  cursor: pointer;
  transition: background-color 160ms ease, color 160ms ease;
}
.forminator-ui.forminator-custom-form input[type="file"]::file-selector-button:hover {
  background-color: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
}
.forminator-ui.forminator-custom-form .forminator-checkbox-label,
.forminator-ui.forminator-custom-form .forminator-radio-label { line-height: 1.5; }

/* The reference upload - the reason this plugin is here at all. */
.forminator-ui.forminator-custom-form .forminator-multi-upload {
  border: 1px dashed var(--wp--preset--color--pencil);
  border-radius: 2px;
  background-color: var(--wp--preset--color--paper-shade);
  color: var(--wp--preset--color--ink-soft);
  padding: 1.4rem 1rem;
}
.forminator-ui.forminator-custom-form .forminator-multi-upload:hover,
.forminator-ui.forminator-custom-form .forminator-multi-upload.forminator-dragover {
  border-color: var(--wp--preset--color--ink);
  background-color: var(--wp--preset--color--paper);
}
.forminator-ui.forminator-custom-form .forminator-multi-upload-message,
.forminator-ui.forminator-custom-form .forminator-multi-upload-message span {
  color: var(--wp--preset--color--ink-soft);
  font-family: var(--wp--preset--font-family--body);
}
.forminator-ui.forminator-custom-form .forminator-uploaded-files .forminator-uploaded-file {
  border: 1px solid var(--wp--preset--color--rule);
  background-color: var(--wp--preset--color--white);
  border-radius: 2px;
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.82rem;
}

.forminator-ui.forminator-custom-form button.forminator-button-submit,
.forminator-ui.forminator-custom-form .forminator-button-submit {
  background-color: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
  border: 0;
  border-radius: 2px;
  font-family: var(--wp--preset--font-family--body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: -0.005em;
  padding: 0.85rem 1.6rem;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 160ms ease;
}
.forminator-ui.forminator-custom-form button.forminator-button-submit:hover {
  background-color: var(--wp--preset--color--ink-soft);
  color: var(--wp--preset--color--paper);
}

/* Errors say what happened, in the palette. */
.forminator-ui.forminator-custom-form .forminator-error-message {
  color: var(--wp--preset--color--red);
  font-size: 0.9rem;
  font-family: var(--wp--preset--font-family--body);
}
.forminator-ui.forminator-custom-form .forminator-has_error input.forminator-input,
.forminator-ui.forminator-custom-form .forminator-has_error textarea.forminator-textarea {
  border-color: var(--wp--preset--color--red);
}
.forminator-ui .forminator-response-message.forminator-success,
.forminator-ui .forminator-response-message {
  background-color: var(--wp--preset--color--paper-shade);
  border: 1px solid var(--wp--preset--color--rule);
  border-radius: 2px;
  padding: 1.1rem 1.3rem;
  color: var(--wp--preset--color--ink);
  font-family: var(--wp--preset--font-family--body);
}
/* Forminator renders the response container on every page load, empty. Styled,
   that is an empty bar sitting above the first field. */
.forminator-ui .forminator-response-message:empty {
  display: none;
  padding: 0;
  border: 0;
}


/* =========================================================================
   8. Small print, captions, utility
   ========================================================================= */
.ac-fineprint {
  font-size: 0.9rem;
  color: var(--wp--preset--color--ink-soft);
  border-top: 1px solid var(--wp--preset--color--rule);
  padding-top: var(--wp--preset--spacing--20);
  max-width: 62ch;
}
.ac-label {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--pencil);
}

/* =========================================================================
   9. Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .ac-hero { grid-template-columns: 1fr; gap: var(--wp--preset--spacing--40); }
  .ac-hero-art { order: -1; }
  .ac-notes { grid-template-columns: 1fr; }
  .ac-notes-aside {
    border-left: 0;
    border-top: 1px solid var(--wp--preset--color--rule);
    padding-left: 0;
    padding-top: var(--wp--preset--spacing--30);
  }
  .ac-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .ac-flash-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
  .ac-footer-inner { grid-template-columns: 1fr; }
  .ac-flash-meta { flex-wrap: wrap; row-gap: 0.3rem; }
}

@media (prefers-reduced-motion: reduce) {
  .ac-flash-item .ac-flash-art img,
  .forminator-ui.forminator-custom-form button.forminator-button-submit { transition: none; }
  .ac-flash-item:hover .ac-flash-art img { transform: none; }
}

/* Copy Char has still to write.

   Deliberately visible rather than hidden. The plan has always been to show
   her the site with its blanks showing, as the conversation starter - a
   confident guess at her own biography would be worse than an obvious gap,
   and she is the only person who can fill these in. */
.ac-todo {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.82rem;
  line-height: 1.6;
  color: var(--wp--preset--color--ink-soft);
  background-color: var(--wp--preset--color--paper-shade);
  border: 1px solid var(--wp--preset--color--rule);
  padding: 0.9rem 1rem;
  margin-block: var(--wp--preset--spacing--30);
}
/* The one red on the site says what the box is for, in words, instead of a
   thick red edge saying it in decoration. */
.ac-todo::before {
  content: "For Char to write";
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: var(--wp--preset--color--red);
  margin-bottom: 0.45rem;
}

/* About page: portrait beside the opening words. */
.ac-about-lede {
  display: grid;
  grid-template-columns: 0.65fr 1fr;
  gap: var(--wp--preset--spacing--50);
  align-items: center;
  margin-block: var(--wp--preset--spacing--50);
}
/* The intro text sits at a readable measure rather than stretching across
   the wide column - the width is there for the portrait, not the prose. */
.ac-about-lede > div:last-child { max-width: 34rem; }
.ac-about-lede > * { margin: 0; min-width: 0; }
.ac-about-lede .ac-portrait img { width: 100%; height: auto; }

@media (max-width: 700px) {
  .ac-about-lede { grid-template-columns: 1fr; }
}

/* (The About route is .ac-more now - see the location/more rules above.) */

/* Buttons acknowledge being pressed. A one-pixel drop, 120ms, the arrival
   curve. Immediate feedback, not a flourish. */
.wp-block-button__link,
.ac-flash-views button,
.ac-filter-clear {
  transition: transform 120ms var(--ac-out), background-color 160ms ease, color 160ms ease;
}
.wp-block-button__link:active,
.ac-flash-views button:active,
.ac-filter-clear:active { transform: translateY(1px) scale(0.985); }

@media (prefers-reduced-motion: reduce) {
  .ac-nav .wp-block-navigation-item__content::after { transition: none; }
  .wp-block-button__link,
  .ac-flash-views button,
  .ac-filter-clear { transition: none; }
  .wp-block-button__link:active,
  .ac-flash-views button:active,
  .ac-filter-clear:active { transform: none; }
}

/* Build credit, in the Small print column. Sits below Char's own
   small print and dimmer than it - a signature rather than a link
   anyone needs to follow. Underline on hover only. */
.ac-credit { margin-top: 0.5rem; opacity: 0.58; }
.ac-credit a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color 0.18s; }
@media (hover: hover) { .ac-credit a:hover { border-bottom-color: currentColor; } }

/* The books line on the Booking page (mu-plugins/artychar-prices.php). A dot
   says open or closed before the sentence does - ink for open, the site's
   red for closed. "Ask me" needs no signal. */
.ac-books--open::before,
.ac-books--closed::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.45em;
  border-radius: 50%;
  vertical-align: 0.12em;
  background: var(--wp--preset--color--ink);
}
.ac-books--closed::before { background: var(--wp--preset--color--red); }

/* The same words in a line across the top of every page, when she switches
   it on (Your books, artychar-books.php). Quieter than the offer bar, which
   is ink and sits under it: paper-shade, the dot, the lead in the offer
   title's tracked capitals, and one link to the Booking page. */
.ac-books-bar {
  display: flex;
  justify-content: center;
  padding: 0.55rem 1.25rem;
  background-color: var(--wp--preset--color--paper-shade);
  border-bottom: 1px solid var(--wp--preset--color--rule);
  color: var(--wp--preset--color--ink);
  font-size: 0.88rem;
  line-height: 1.45;
  text-align: center;
}
.ac-books-bar-text { margin: 0; text-wrap: balance; }
.ac-books-bar-lead {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 500;
  font-size: 0.95rem;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 40;
  margin-right: 0.6rem;
}
.ac-books-bar-lead::before {
  content: "";
  display: inline-block;
  width: 0.5em;
  height: 0.5em;
  margin-right: 0.5em;
  border-radius: 50%;
  vertical-align: 0.1em;
  background: var(--wp--preset--color--ink);
}
.ac-books-bar--closed .ac-books-bar-lead::before { background: var(--wp--preset--color--red); }
.ac-books-bar--ask .ac-books-bar-lead::before { display: none; }
.ac-books-bar-note { margin-right: 0.6rem; color: var(--wp--preset--color--ink-soft); }
.ac-books-bar-link { color: var(--wp--preset--color--ink); white-space: nowrap; }
.ac-books-bar-link:focus-visible { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 2px; }
@media (max-width: 560px) {
  .ac-books-bar { justify-content: flex-start; text-align: left; font-size: 0.84rem; padding-inline: 1rem; }
}

/* =========================================================================
   10. Lists, terms and the reading pages
   ========================================================================= */

/* Content lists take her sparkle as the marker, in pencil grey, instead of
   the browser's disc. */
.entry-content ul.wp-block-list:not(.ac-what):not(.ac-terms):not(.ac-jump) {
  list-style: none;
  padding-left: 1.6rem;
}
.entry-content ul.wp-block-list:not(.ac-what):not(.ac-terms):not(.ac-jump) > li { position: relative; }
.entry-content ul.wp-block-list:not(.ac-what):not(.ac-terms):not(.ac-jump) > li + li { margin-top: 0.55rem; }
.entry-content ul.wp-block-list:not(.ac-what):not(.ac-terms):not(.ac-jump) > li::before {
  content: "";
  position: absolute;
  left: -1.45rem;
  top: 0.5em;
  width: 0.62em;
  height: 0.62em;
  background-color: var(--wp--preset--color--pencil);
  -webkit-mask: var(--ac-spark) center / contain no-repeat;
  mask: var(--ac-spark) center / contain no-repeat;
}

/* Numbered steps keep their numbers, in the flash sheets' typewriter face,
   on the same indent as the sparkles. */
.entry-content ol.wp-block-list { padding-left: 1.6rem; }
.entry-content ol.wp-block-list > li { padding-left: 0.2rem; }
.entry-content ol.wp-block-list > li + li { margin-top: 0.55rem; }
.entry-content ol.wp-block-list > li::marker {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.85em;
  color: var(--wp--preset--color--pencil);
}

/* Terms: prices, and what happens to a deposit. A term and its answer on
   one row, with a ruled line between rows, like a price list pinned up in a
   studio. Rendered by mu-plugins/artychar-prices.php. The rows stack
   wherever the list itself is narrow (the Flash page puts the prices in a
   side column), which is a container query rather than a screen width. */
.ac-terms {
  list-style: none;
  padding: 0;
  margin-left: 0;
  container-type: inline-size;
  background: var(--ac-rule) top left / 160px 4px repeat-x;
}
.ac-terms > li {
  display: grid;
  grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr);
  gap: 0.2rem 1.75rem;
  align-items: baseline;
  padding: 0.95rem 0 1rem;
  margin: 0;
  background: var(--ac-rule) bottom left / 160px 4px repeat-x;
}
.ac-terms > li > strong {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 440;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.008em;
  font-variation-settings: "SOFT" 0, "WONK" 1;
}
.ac-terms > li > span { color: var(--wp--preset--color--ink-soft); }
/* A detail written to follow "Budget binder flash - " starts in lower case;
   in its own column it starts a line. */
.ac-terms > li > span:last-child::first-letter { text-transform: uppercase; }
.ac-terms .ac-sep {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.ac-terms > li.ac-terms-note { display: block; }
.ac-terms > li.ac-terms-note > span { color: var(--wp--preset--color--ink); }
@container (max-width: 30rem) {
  .ac-terms > li { grid-template-columns: minmax(0, 1fr); }
}

/* The reading pages - Booking, Care and Contact - set their section
   headings in a margin column beside the text,
   the way a studio's printed care sheet or price list is laid out, rather
   than as a blog post with headings in the stream. functions.php marks
   these pages with .ac-doc.
   The content is one flat run of blocks, so there is nothing to wrap. Each
   h2 goes in the head column and every other block in the text column; the
   grid's own placement puts a heading on the same row as the block after
   it, and baseline alignment lines the two up. Anything before the first
   heading (the intro) runs across both columns. Below 1000px it is the
   ordinary single column. */
@media (min-width: 1000px) {
  .ac-doc .ac-page-head,
  .ac-doc .ac-main .entry-content {
    display: grid;
    grid-template-columns:
      [full-start] minmax(0, 1fr)
      [head-start] 13rem [head-end] 4rem
      [text-start] minmax(0, 44rem) [text-end]
      minmax(0, 1fr) [full-end];
  }
  .ac-doc .ac-page-head > *,
  .ac-doc .ac-main .entry-content > * {
    grid-column: text;
    max-width: none;
    margin-left: 0 !important;
    margin-right: 0 !important;
    margin-top: 1.25rem;
    margin-bottom: 0;
  }
  .ac-doc .ac-page-head > * { grid-column: head-start / text-end; margin-top: 0; }
  .ac-doc .ac-main .entry-content > :not(h2):not(h2 ~ *) {
    grid-column: head-start / text-end;
    max-width: 46rem;
  }
  .ac-doc .ac-main .entry-content > :is(.alignwide, .alignfull) {
    grid-column: head-start / text-end;
    max-width: none;
  }
  .ac-doc .ac-main .entry-content > :first-child { margin-top: 0; }
  .ac-doc .ac-main .entry-content > h2 {
    grid-column: head;
    font-size: 1.65rem;
    line-height: 1.15;
  }
  .ac-doc .ac-main .entry-content > h2,
  .ac-doc .ac-main .entry-content > h2 + * {
    margin-top: 4.5rem;
    align-self: baseline;
  }
  /* Care is two parts in one page. A part heading runs across both
     columns, and its sections are h3s in the margin, placed the same way
     as the h2s above. */
  .ac-doc .ac-main .entry-content > h2.ac-part {
    grid-column: head-start / text-end;
    font-size: var(--wp--preset--font-size--x-large);
    margin-top: 6rem;
    align-self: auto;
  }
  .ac-doc .ac-main .entry-content > h2.ac-part + * {
    grid-column: head-start / text-end;
    max-width: 46rem;
    margin-top: 1rem;
    align-self: auto;
  }
  .ac-doc .ac-main .entry-content > h3 {
    grid-column: head;
    font-size: 1.45rem;
    line-height: 1.2;
  }
  .ac-doc .ac-main .entry-content > h3,
  .ac-doc .ac-main .entry-content > h3 + * {
    margin-top: 3.25rem;
    align-self: baseline;
  }
}

/* A part heading opens with a hand-ruled line, like a new sheet, on every
   screen size. */
.entry-content > h2.ac-part {
  scroll-margin-top: 1.5rem;
  margin-top: clamp(4rem, 8vw, 6rem);
  padding-top: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 340;
  letter-spacing: -0.018em;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
  background: var(--ac-rule) top left / 160px 4px repeat-x;
}
.entry-content > .ac-part-lede {
  font-size: var(--wp--preset--font-size--large);
  line-height: 1.5;
  color: var(--wp--preset--color--ink-soft);
}

/* The jump to each half. People come back to this page after their
   appointment for the second half only. */
.entry-content ul.ac-jump {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2.25rem;
}
.ac-jump a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 44px;
  color: var(--wp--preset--color--ink-soft);
  text-decoration-color: var(--wp--preset--color--rule);
}
.ac-jump a:hover {
  color: var(--wp--preset--color--ink);
  text-decoration-color: var(--wp--preset--color--ink);
}
.ac-jump a::before {
  content: "";
  width: 0.7rem;
  height: 0.7rem;
  flex: none;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M6 1v9.2M2 6.4l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%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 12 12'%3E%3Cpath d='M6 1v9.2M2 6.4l4 4 4-4' fill='none' stroke='%23000' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (prefers-reduced-motion: no-preference) {
  html:has(.ac-jump) { scroll-behavior: smooth; }
}

/* =========================================================================
   11. The closing line
   Every page but Contact ends on the one thing a visitor came to do. It sits
   in the footer part, so it is the same everywhere and needs no editing
   page by page.
   ========================================================================= */
.ac-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--wp--preset--spacing--30) var(--wp--preset--spacing--40);
  padding-bottom: var(--wp--preset--spacing--50);
  margin-bottom: var(--wp--preset--spacing--50) !important;
  background: var(--ac-rule) bottom left / 160px 4px repeat-x;
}
.ac-cta > * { margin: 0 !important; }
.ac-cta-line {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 320;
  font-size: clamp(2.4rem, 5.2vw, 4.25rem);
  line-height: 1.02;
  letter-spacing: -0.022em;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
  color: var(--wp--preset--color--ink);
  text-wrap: balance;
  max-width: 14ch;
}
.ac-cta-copy { max-width: 30rem; }
.ac-cta-copy > * { margin: 0; }
.ac-cta-copy > * + * { margin-top: var(--wp--preset--spacing--30); }
.ac-cta-copy p { font-size: 1.05rem; color: var(--wp--preset--color--ink-soft); }
/* The footer's link colour is ink-soft, which is also the button's ground. */
.ac-footer .ac-cta .wp-block-button__link,
.ac-footer .ac-cta .wp-block-button__link:hover { color: var(--wp--preset--color--paper); }
.ac-page-contact .ac-cta { display: none; }

/* =========================================================================
   12. Seasonal touches (mu-plugins/artychar-seasonal.php, assets/seasonal/)
   Only present in the page while a season is showing.
   ========================================================================= */
.ac-season-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 60;
}

/* The corner button: a paper disc with the season drawn in it. The label
   slides out on hover and focus, and once on its own when a visitor
   arrives. 48px tall, so it is a comfortable target on a phone. */
.ac-season-toggle {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 61;
  display: inline-flex;
  align-items: center;
  height: 48px;
  padding: 0 5px;
  border: 1px solid var(--wp--preset--color--rule);
  border-radius: 999px;
  background-color: var(--wp--preset--color--paper);
  color: var(--wp--preset--color--ink);
  box-shadow: 0 8px 22px -12px rgba(20, 17, 15, 0.45), 0 1px 2px rgba(20, 17, 15, 0.08);
  font-family: var(--wp--preset--font-family--body);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: box-shadow 200ms ease, border-color 200ms ease, transform 120ms var(--ac-out);
}
.ac-season-toggle:hover { border-color: var(--wp--preset--color--ink); box-shadow: 0 10px 26px -12px rgba(20, 17, 15, 0.55); }
.ac-season-toggle:active { transform: scale(0.97); }
.ac-season-toggle:focus-visible { outline: 2px solid var(--wp--preset--color--ink); outline-offset: 3px; }
.ac-season-toggle canvas {
  width: 36px;
  height: 36px;
  flex: none;
  border-radius: 50%;
  transition: opacity 200ms ease;
}
/* Stopped: the picture rests at half strength, so the button reads as off. */
.ac-season-toggle:not(.is-playing) canvas { opacity: 0.6; }
.ac-season-label {
  display: block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  opacity: 0;
  transition: max-width 360ms var(--ac-out), opacity 240ms ease, padding 360ms var(--ac-out);
}
.ac-season-toggle:hover .ac-season-label,
.ac-season-toggle:focus-visible .ac-season-label,
.ac-season-toggle.is-open .ac-season-label {
  max-width: 14rem;
  opacity: 1;
  padding: 0 0.8rem 0 0.45rem;
}

/* The occasion, in the label before the action: "Friday the 13th · Shoo
   the crow". The red dot is the wordmark's. */
.ac-season-occasion {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  color: var(--wp--preset--color--pencil);
}
.ac-season-occasion:not(:empty)::after {
  content: "\00B7";
  color: var(--wp--preset--color--red);
  margin: 0 0.45rem;
  font-size: 0.9rem;
}
.ac-season-toggle .ac-season-label { max-width: 0; }
.ac-season-toggle:hover .ac-season-label,
.ac-season-toggle:focus-visible .ac-season-label,
.ac-season-toggle.is-open .ac-season-label { max-width: 22rem; }
@media (max-width: 420px) {
  .ac-season-toggle.is-open .ac-season-label { max-width: calc(100vw - 110px); }
}

/* Pride: the header's rule becomes a thin rainbow, drawn in once. */
.ac-season-pride .ac-header { position: relative; border-bottom-color: transparent; }
.ac-season-pride .ac-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: linear-gradient(90deg, #E40303 0 16.66%, #FF8C00 0 33.33%, #FFED00 0 50%, #008026 0 66.66%, #24408E 0 83.33%, #732982 0);
  transform-origin: left center;
  animation: ac-pride-draw 1.4s var(--ac-out) both;
}
@keyframes ac-pride-draw { from { transform: scaleX(0); } }

@media (prefers-reduced-motion: reduce) {
  .ac-season-toggle, .ac-season-label, .ac-season-toggle canvas { transition: none; }
  .ac-season-pride .ac-header::after { animation: none; }
}

/* =========================================================================
   13. Offers and gift cards (mu-plugins/artychar-offers.php, -giftcards.php)
   ========================================================================= */

/* The offer bar, across the top of every page while an offer is on. Ink,
   like the Send an enquiry button, so it reads as the one thing to act on;
   the title in her wordmark's tracked capitals. */
.ac-offer-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.7rem 3.25rem;
  background-color: var(--wp--preset--color--ink);
  color: var(--wp--preset--color--paper);
  font-size: 0.92rem;
  line-height: 1.45;
  text-align: center;
}
.ac-offer-bar[hidden] { display: none; }
.ac-offer-text { margin: 0; text-wrap: balance; }
.ac-offer-title {
  font-family: var(--wp--preset--font-family--display);
  font-weight: 500;
  font-size: 0.95rem;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 40;
  margin-right: 0.6rem;
}
.ac-offer-detail { margin-right: 0.6rem; }
.ac-offer-link {
  color: var(--wp--preset--color--paper);
  text-decoration-color: rgba(250, 247, 242, 0.5);
  white-space: nowrap;
}
.ac-offer-link:hover { color: var(--wp--preset--color--paper); text-decoration-color: var(--wp--preset--color--paper); }
.ac-offer-close {
  position: absolute;
  right: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--wp--preset--color--paper);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.75;
}
.ac-offer-close:hover { opacity: 1; }
.ac-offer-close:focus-visible, .ac-offer-link:focus-visible { outline: 2px solid var(--wp--preset--color--paper); outline-offset: 2px; }
@media (max-width: 560px) {
  .ac-offer-bar { font-size: 0.86rem; padding: 0.65rem 3rem 0.65rem 1rem; justify-content: flex-start; text-align: left; }
}

/* The footer's gift card line, under the studio's address. */
.ac-footer .ac-footer-gift { margin-top: 0.5rem; }

/* The season's picks on the Flash page (artychar/season-picks): a row of
   her designs that fit, before the binder. Paper tiles like the grid's, a
   hand-ruled line under the row, and each one straight to "Ask about". */
.ac-picks { margin-block: var(--wp--preset--spacing--40) var(--wp--preset--spacing--30); }
.ac-picks-title { margin: 0; }
.ac-picks-note { margin: 0.35rem 0 1.1rem; color: var(--wp--preset--color--ink-soft); font-size: 0.95rem; }
.ac-picks-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(128px, 1fr));
  gap: var(--wp--preset--spacing--30) 1.1rem;
  padding-bottom: var(--wp--preset--spacing--30);
  background: var(--ac-rule) bottom left / 160px 4px repeat-x;
}
.ac-pick { display: flex; flex-direction: column; gap: 0.45rem; text-decoration: none; color: var(--wp--preset--color--ink); }
.ac-pick-art {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 5;
  padding: 0.5rem;
  background-color: var(--wp--preset--color--paper);
  border: 1px solid var(--wp--preset--color--rule);
  overflow: hidden;
}
.ac-pick-art img { width: 100%; height: 100% !important; object-fit: contain; }
.ac-pick-art { transition: border-color 160ms var(--ac-ease); }
.ac-pick:hover .ac-pick-art { border-color: var(--wp--preset--color--pencil); }
.ac-pick-meta { font-size: 0.9rem; line-height: 1.35; }
.ac-pick-no { font-family: var(--wp--preset--font-family--mono); font-weight: 500; }
.ac-pick-name { color: var(--wp--preset--color--ink-soft); }
.ac-pick-ask {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.76rem;
  color: var(--wp--preset--color--pencil);
  border-bottom: 1px solid var(--wp--preset--color--rule);
  align-self: flex-start;
}
.ac-pick:hover .ac-pick-ask, .ac-pick:focus-visible .ac-pick-ask { color: var(--wp--preset--color--red); border-bottom-color: var(--wp--preset--color--red); }
@media (prefers-reduced-motion: reduce) { .ac-pick-art img { transition: none; } }

/* =========================================================================
   20. The finishing pass, 25 November 2026
   David: "any further improvements worth doing to the site so it feels more
   premium and expensive / optimised". Every page was measured first at 1440
   and at 390 (weight, layout shift, what each picture fetched, a picture of
   every screen). The pages were already light and still, so this is the
   short list of things that were actually wrong, not a restyle.
   ========================================================================= */

/* a. The phone menu.
   It was the one screen nobody had designed: WordPress's own overlay, white
   where the site is paper, six small links pushed to the right, the wordmark
   gone and a black box round "About" (WordPress moves focus to the first
   link as the menu opens, and the browser rings it). Most of her visitors
   come from Instagram on a phone, and this is the screen they steer by.
   Now it is the site's own page: paper, the wordmark where it was, the X
   where the hamburger was, and the six pages in the display face, one to a
   ruled line, the page you are on in the italic. No new colour, no new font. */
/* (Core's own white is set with the same weight and printed after this
   file, so the block's own class is named as well.) */
.wp-block-navigation.ac-nav .wp-block-navigation__responsive-container.is-menu-open:not(.disable-default-overlay) {
  background-color: var(--wp--preset--color--paper);
  color: var(--wp--preset--color--ink);
}
/* The wordmark, in the header's own setting. It is the site title again, so
   it is drawn rather than said twice: the empty alternative keeps it out of
   a screen reader, which has just been told this is the menu. */
.ac-nav .is-menu-open .wp-block-navigation__responsive-dialog::before {
  content: "Arty Char Tattoos";
  content: "Arty Char Tattoos" / "";
  position: absolute;
  top: 0;
  left: 0;
  height: 44px;
  display: flex;
  align-items: center;
  font-family: var(--wp--preset--font-family--display);
  font-size: var(--ac-wordmark-size, 1.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 40;
}
.ac-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
  padding-top: clamp(5.5rem, 15vh, 8rem);
  align-items: stretch;
}
.ac-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation__container {
  width: 100%;
  align-items: stretch;
  gap: 0;
}
.ac-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
  display: block;
  width: 100%;
}
.ac-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
  display: block;
  width: 100%;
  padding-block: 0.85rem 1rem;
  /* The hand-ruled line under each. On the link: core clears a list item's
     own background in the open menu. */
  background: var(--ac-rule) bottom left / 160px 4px repeat-x;
  text-align: left;
  font-family: var(--wp--preset--font-family--display);
  font-size: clamp(2.1rem, 9.6vw, 2.9rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-variation-settings: "SOFT" 0, "WONK" 1, "opsz" 144;
}
/* The drawn underline belongs to the row of small links on a wide screen. */
.ac-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }
.ac-nav .is-menu-open .current-menu-item > .wp-block-navigation-item__content { font-style: italic; }
/* Keyboard focus in here is an underline on the word, not a box round it:
   the first link takes focus the moment the menu opens, however it was
   opened, and a box there read as a fault. (The parent theme rings :focus
   itself, so a link focused by a tap is cleared by name.) */
.ac-nav .is-menu-open .wp-block-navigation-item__content:focus:not(:focus-visible) { outline: none; }
.ac-nav .is-menu-open .wp-block-navigation-item__content:focus-visible {
  outline: none;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}
@media (max-width: 480px) {
  .ac-nav { --ac-wordmark-size: clamp(0.8rem, 4.2vw, 1.2rem); }
}
@media (prefers-reduced-motion: no-preference) {
  .ac-nav .is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
    animation: ac-menu-in 520ms var(--ac-out) both;
  }
  .ac-nav .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: 40ms; }
  .ac-nav .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: 80ms; }
  .ac-nav .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: 120ms; }
  .ac-nav .is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: 160ms; }
  .ac-nav .is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: 200ms; }
  .ac-nav .is-menu-open .wp-block-navigation-item:nth-child(n+7) { animation-delay: 240ms; }
  @keyframes ac-menu-in {
    from { opacity: 0; transform: translateY(12px); }
  }
}

/* b. Contact: the form and its heading.
   On the reading pages a heading sits in the margin on the same line as the
   block after it. On Contact the block after "Enquiry form" is the hidden
   note that says which flash design was asked about, so the form itself was
   treated as an ordinary paragraph: it started 52px above its heading and
   20px under the introduction. The form takes the heading's row. When the
   note is showing it has that row, and the form follows it. */
@media (min-width: 1000px) {
  .ac-doc .ac-main .entry-content > :is(div, form).forminator-ui {
    margin-top: 4.5rem;
    align-self: baseline;
  }
  .ac-doc .ac-main .entry-content > #ac-design-note:not([hidden]) ~ :is(div, form).forminator-ui {
    margin-top: 1.25rem;
    align-self: auto;
  }
}
/* The form plugin prints an empty holder, then swaps in the form (about
   1,600px of it) once its script has run. On a phone "Other ways" and the
   footer were on screen under the holder and were thrown off it: a layout
   shift of 0.136 where 0.1 is the pass mark. The holder keeps the form's
   room. If the script has not arrived in four seconds the room is given
   back, so the other ways to reach her are never left under a blank screen;
   with scripting off it is never taken. */
@media (scripting: enabled) {
  .ac-page-contact .entry-content > div.forminator-ui[data-forminator-render] {
    min-height: 100rem;
    animation: ac-form-wait 1ms 4s forwards;
  }
  @keyframes ac-form-wait { to { min-height: 0; } }
}

/* c. From one page to the next, the paper stays and the page changes on it,
   where the browser used to blank the window between the two. Chrome, Edge
   and Safari; Firefox goes on as before. Not with reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root),
  ::view-transition-new(root) { animation-duration: 200ms; }
}

/* d. A link standing on its own line was 19 or 20px tall: the footer's, and
   the routes out of a section. Padding on an inline box makes it taller to
   a finger (26px) without moving a line of text. */
.ac-more a,
.ac-footer a { padding-block: 0.2rem; }

/* e. The page for an address that is not there (templates/404.html). It was
   the parent theme's: a stock photograph of a tree and a search box. It is
   the home page's own layout now, with her snail (flash 4). */
@media (min-width: 901px) { .ac-404 .ac-hero { min-height: min(70svh, 44rem); } }
.ac-404 .ac-hero-art img { max-width: min(100%, 34rem); }

/* 21. Online booking, 25 November 2026 (mu-plugins/artychar-books.php, "online
   booking"). The buttons under the books sentence on the Booking page, and
   the line beneath them. Nothing here shows until her calendar is ready and
   she has switched it on. Pencil on paper is 5.40:1. */
.ac-book-online { margin-top: 1.5rem; }
.ac-book-online-note {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--wp--preset--color--pencil);
}

/* 22. The mark on a healed-work tile, 25 November 2026. "ARTY CHAR . TATTOOS"
   used to be baked into the corner of each photograph (content/build-media.py).
   A tile is a 4:5 crop of the middle of the photograph, so the mark was cut
   in half on the square ones, gone on the tall ones, and in a different
   corner on each of the rest; and the photographs Char adds herself never
   had one. It is drawn here now: the same corner of every tile, whole.
   Paper with a soft ink edge, because ink alone vanished on the dark
   photographs (the sun). Only while the body carries ac-mark-on, which
   mu-plugins/artychar-photos.php adds once the option ac_photo_mark is 1:
   switching it on before the clean photographs are in would show two marks.
   The second content line gives it no spoken text; a browser that does not
   know that form keeps the first. */
.ac-mark-on .ac-work-gallery.wp-block-gallery.has-nested-images figure.wp-block-image { position: relative; }
.ac-mark-on .ac-work-gallery.wp-block-gallery.has-nested-images figure.wp-block-image::after {
  content: "Arty Char · Tattoos";
  content: "Arty Char · Tattoos" / "";
  position: absolute;
  left: 6%;
  bottom: 4.5%;
  font-family: var(--wp--preset--font-family--display);
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 9;
  font-size: clamp(0.5rem, 0.3rem + 0.45vw, 0.6875rem);
  line-height: 1;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
  color: rgb(250 247 242 / 0.86);
  text-shadow: 0 0 1px rgb(20 17 15 / 0.6), 0 1px 3px rgb(20 17 15 / 0.38);
  pointer-events: none;
}

/* 23. The enquiry form in three parts, 25 November 2026 (David: "improve /
   elevate the form"). It was eleven questions in one unbroken column, 1,500px
   of it on a desktop. Nothing asked has changed and nothing is asked twice;
   what changed is that it reads as a sheet she would hand you:
     - three numbered parts (mu-plugins/artychar-enquiry.php puts the headings
       in and marks the rows; the numbers are set like her flash numbers), a
       hand-ruled line between them, as between the rows of her price list;
     - the short answers sit two to a line where there is room: name and
       email, where on your body and how big;
     - "Flash or custom?" is two boxes to choose between, not two lines of a
       list. It is the one question that changes what the rest mean;
     - labels are 500, not 600: eleven bold labels were louder than the
       three headings they sit under.
   Without the plugin's markup every rule here either does nothing or still
   holds, so the form is whole whichever arrives first. */
.forminator-ui.forminator-custom-form .forminator-label { font-weight: 500; }

.forminator-ui.forminator-custom-form .ac-form-part {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
  padding-top: 1.75rem;
  background: var(--ac-rule) top left / 160px 4px repeat-x;
}
.forminator-ui.forminator-custom-form .ac-form-part.is-first {
  margin-top: 0;
  padding-top: 0;
  background: none;
}
.forminator-ui.forminator-custom-form .ac-form-part-n {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: var(--wp--preset--color--pencil);
}
.forminator-ui.forminator-custom-form .ac-form-part h3 {
  margin: 0;
  font-family: var(--wp--preset--font-family--display);
  font-weight: 440;
  font-size: 1.2rem;
  line-height: 1.3;
  letter-spacing: -0.008em;
  font-variation-settings: "SOFT" 0, "WONK" 1;
  color: var(--wp--preset--color--ink);
}

/* Two to a line, from 640px of window (the form then has 36rem or more to
   itself); every row takes the whole line unless the plugin marked it a half.
   A media query and not a container query: making the form a container
   takes away its baseline, and its first line shares one with the "Enquiry
   form" heading beside it (section 20b).
   A pair shares four lines of the form's own grid (subgrid): label, help,
   box, error. So the two boxes sit on one line whether or not a question
   has help under its label, and still do when only one of them is wrong.
   The form plugin prints a wrong answer's message above the help on one
   kind of question and below the box on another; here it is always below
   the box. A browser without subgrid stacks each question's parts in the
   order they are written, which is how it was. */
@media (min-width: 640px) {
  form.forminator-ui.forminator-custom-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
  }
  form.forminator-ui.forminator-custom-form > * { grid-column: 1 / -1; }
  @supports (grid-template-rows: subgrid) {
    .forminator-ui.forminator-custom-form .forminator-row.ac-row-half {
      grid-column: auto;
      grid-row: span 4;
      display: grid;
      grid-template-rows: subgrid;
    }
    .forminator-ui.forminator-custom-form .ac-row-half > .forminator-col,
    .forminator-ui.forminator-custom-form .ac-row-half .forminator-field { display: contents; }
    .forminator-ui.forminator-custom-form .ac-row-half .forminator-label { grid-row: 1; }
    .forminator-ui.forminator-custom-form .ac-row-half .forminator-field > div { grid-row: 2; }
    .forminator-ui.forminator-custom-form .ac-row-half .forminator-input { grid-row: 3; }
    .forminator-ui.forminator-custom-form .ac-row-half .forminator-error-message { grid-row: 4; margin-top: 0.3rem; }
  }
}

/* The line that says the form was not sent sat hard against the first heading. */
.forminator-ui.forminator-custom-form .forminator-response-message:not(:empty) { margin-bottom: 1.75rem; }

/* Flash or custom: two boxes. The whole box is the target; the chosen one is
   drawn in ink. One above the other on a phone, where side by side each
   would wrap to three lines. */
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-field {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.6rem 0.75rem;
  align-items: stretch;
}
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-field > :not(.forminator-radio) { grid-column: 1 / -1; }
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-label { margin-bottom: 0; }
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-radio {
  align-items: center;
  min-height: 3.25rem;
  margin: 0;
  padding: 0.7rem 1rem;
  border: 1px solid var(--wp--preset--color--pencil);
  border-radius: 2px;
  background-color: var(--wp--preset--color--white);
  color: var(--wp--preset--color--ink);
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-radio input {
  inset: 0;
  width: 100%;
  height: 100%;
}
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-radio-bullet { margin-top: 0; }
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-radio:hover { border-color: var(--wp--preset--color--ink); }
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-radio:has(input:checked) {
  border-color: var(--wp--preset--color--ink);
  box-shadow: inset 0 0 0 1px var(--wp--preset--color--ink);
}
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-radio:has(input:focus-visible) {
  outline: 2px solid var(--wp--preset--color--ink);
  outline-offset: 2px;
}
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-radio:has(input:focus-visible) .forminator-radio-bullet { outline: none; }
.forminator-ui.forminator-custom-form .forminator-field-radio .forminator-has_error .forminator-radio,
.forminator-ui.forminator-custom-form .forminator-field-radio.forminator-has_error .forminator-radio { border-color: var(--wp--preset--color--red); }
@media (min-width: 560px) {
  .forminator-ui.forminator-custom-form .forminator-field-radio .forminator-field { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .forminator-ui.forminator-custom-form .forminator-field-radio .forminator-radio { transition: none; }
}
