/* kee-late.css: shared rules that must come after the page rules (they used to load after them). Temporary: folds into kee.css and the page files when text sizes are made consistent. Merged 13 Nov 2026 from the files named in each section comment. */
/* ===== from tokens.css ===== */
/* ============================================================
   Kee tokens
   Replaces type-scale.css, 22 September 2026.
   These are the values every page renders today, resolved and
   consolidated after the token refactor. Real design tokens,
   not an override layer: change a value here and it changes
   everywhere, at every width, with nothing left downstream to
   fight it for specificity.
   ============================================================ */

:root{
  /* --- the seven tiers --- */   /* page titles */  /* homepage hero, desktop only, its own tier */   /* section heads */   /* sub-heads, card titles */

  /* --- homepage-only tiers, 22 September fix ---
     --t-h2/--t-h3 above are already wired into secondary-pages.css
     at their existing 28-46px values, so they can't be repointed to
     match the homepage without changing those pages too. These three
     carry the homepage's own settled sizes (see typography audit,
     22 September) so its headings have a real single source too. */  /* homepage: offer card, service families */  /* homepage: experience, enquiry, closing panel */ /* homepage: summary grid, service family cards */  /* one opening paragraph per page */ /* H1 tier 1: homepage and email page */  /* H1 tier 2: about, contact, privacy, terms, thanks */
  --lh-h1: 1.04;
  --ls-h1: -.055em; /* opening lead beside every page H1: Work Sans 500 */
  --lh-page-lead: 1.4;
  --ls-page-lead: -.015em;   /* everything else you read */                       /* captions, labels, footer */                       /* small uppercase tags */

  /* --- matching line heights --- */
  --lh-display: 1.04;
  --lh-h2:      1.14;
  --lh-h3:      1.25;
  --lh-intro:   1.5;
  --lh-body:    1.62;
}

/* Highlights on the prose pages. Lime only. */
.page-prose mark,
.page-hero-title mark{ background:#CBE65A; color:#111110; padding:0 .08em .04em; }

/* ============================================================
   PAGE WIDTH CAP
   Past about 1600px the type has stopped growing but the layout
   keeps spreading, so columns drift and the margins swell. Cap
   the page and centre it; a wide monitor then sees the site as a
   1600px screen does.
   ============================================================ */

html{ background:#F3F6F5; }

body{
  max-width: 1600px;
  margin-inline: auto;
}

/* Full-bleed bands were measured against the viewport. Inside a
   capped body they measure against the page instead. */
.page-enquiry,
.enquiry{
  margin-inline: 0;
  width: 100%;
  max-width: 100%;
}

/* ============================================================
   DRAG TO BROWSE
   The service family track can be dragged as well as stepped with
   the arrows. Snapping is suspended mid-drag so the cards follow
   the hand, and text selection is held off so a drag does not
   highlight copy.
   ============================================================ */

.service-family-track{
  cursor: grab;
}

.service-family-track.is-dragging{
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

@media (hover: none){
  .service-family-track{ cursor: auto; }
}

/* ============================================================
   SERVICES CLOSING BAR
   The paragraph above this link was removed in the copy pass, so
   the bar now carries one link. Tighten the space around it
   rather than adding words to fill it.
   ============================================================ */

.service-next{
  margin-top: 18px;
}

.service-families{
  padding-bottom: 40px;
}

/* ============================================================
   SERVICE CARD LABELS
   The label was a block, so a second line ran back under the
   number badge and read as a broken line. Number and label are
   two columns, and the label wraps inside its own column.
   ============================================================ */

body .service-family-card > span{
  display: flex;
  align-items: baseline;
  gap: 7px;
  font-size: 12px;
  line-height: 1.45;
  min-height: 0;
  max-width: none;
}

body .service-family-number{
  flex: none;
  margin-right: 0;
}

/* ============================================================
   ONE LEFT EDGE
   Measured at 1600: every section started its text at the page
   gutter except the aqua enquiry band and the dark close, which
   sat 60px further in because their colour block is inset and
   then padded again. These two bands run full width and take
   the gutter as their padding, which is how the same bands
   already work on the secondary pages.
   ============================================================ */

.home-enquiry,
.auto-home-close{
  margin-inline: 0;
  width: 100%;
  max-width: 100%;
  padding-inline: var(--gutter);
}

.studio.home-enquiry,
.studio.auto-home-close{
  margin-left: 0;
  margin-right: 0;
}

/* ============================================================
   FAQ ACCORDION
   23 September 2026. The plus-and-circle accordion from
   how-buyers-find-you-now.html, rebuilt on this token layer so
   any page here can use it. Native <details>/<summary>, so it
   opens with a keyboard and a screen reader with no script, and
   every answer stays in the page source for search engines and
   AI assistants. Teal #14B8C8 is the ring only, with a dark
   plus and minus; the ring stays white when open and the
   question text stays dark in both states.
   ============================================================ */

.faq-list{
  max-width: none;
  border-bottom: 1px solid rgba(17,17,16,.14);
}

.faq-item{
  border-top: 1px solid rgba(17,17,16,.14);
}

.faq-question{
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  font-family: Syne, Work, Arial, sans-serif;   /* as the original homepage FAQ */
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -.02em;
  color: #111110;
  cursor: pointer;
}

.faq-question::-webkit-details-marker{ display: none; }
.faq-question::marker{ content: ""; }

.faq-question::after{
  content: "";
  flex: none;
  width: 34px;
  height: 34px;
  border: 1px solid #14B8C8;
  border-radius: 50%;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 1.5v9M1.5 6h9' stroke='%23111110' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
}

/* Open: the ring stays white, the plus becomes a minus. */
.faq-item[open] > .faq-question::after{
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M1.5 6h9' stroke='%23111110' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
}

.faq-question:focus-visible{
  outline: 2px solid #111110;
  outline-offset: 4px;
  border-radius: 2px;
}

.faq-answer{
  padding: 0 58px 26px 0;
  color: #3D3F3A;
}

.faq-answer p + p{ margin-top: 12px; }

@media (prefers-reduced-motion: no-preference){
  .faq-item[open] > .faq-answer{ animation: faq-in .24s ease both; }
  @keyframes faq-in{ from{ opacity: 0; transform: translateY(-4px); } to{ opacity: 1; transform: none; } }
}

@media (max-width: 760px){
  .faq-question{ padding: 20px 0; gap: 18px; }
  .faq-question::after{ width: 30px; height: 30px; }
  .faq-answer{ padding-right: 0; }
}

/* ============================================================
   EMPHASIS: HAND-DRAWN UNDERLINE
   23 September 2026. One shared class so every page draws the
   same brush stroke. Works on a single word or a phrase that
   wraps: each line gets its own stroke. Colour follows the
   background it sits on:
     pale (white, stone)  lime   .hand-underline
     teal band            muted white  .hand-underline--white
     black                lime   .hand-underline
   ============================================================ */

.hand-underline{
  --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M2 8.6c48-4.6 96 2.4 146-1 50-3.4 102 3 150-.8-2 4.2-4 6.4-6 7.4-46 3.4-96-2.6-144 .6-50 3.4-98-3-144 .8-1-1.8-1.6-4.2-2-7z' fill='%23cbe65a'/%3E%3C/svg%3E");
  background: var(--stroke) left 100% / 100% .17em no-repeat;
  padding-bottom: .08em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  color: inherit;
}

.hand-underline--white{
  --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M2 8.6c48-4.6 96 2.4 146-1 50-3.4 102 3 150-.8-2 4.2-4 6.4-6 7.4-46 3.4-96-2.6-144 .6-50 3.4-98-3-144 .8-1-1.8-1.6-4.2-2-7z' fill='%23f4f3ec'/%3E%3C/svg%3E");   /* slightly muted white */
}

/* On the lime band the stroke is ink. */
.hand-underline--ink{
  --stroke: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M2 8.6c48-4.6 96 2.4 146-1 50-3.4 102 3 150-.8-2 4.2-4 6.4-6 7.4-46 3.4-96-2.6-144 .6-50 3.4-98-3-144 .8-1-1.8-1.6-4.2-2-7z' fill='%23111110'/%3E%3C/svg%3E");
}

/* 24 September 2026, second pass: back to the tighter stroke. Flat,
   about .17em deep, close under the letters, with only a slight taper.
   (The looser, deeper sweep tried earlier the same day read as too casual.) */
h1 .hand-underline,
h2 .hand-underline,
h3 .hand-underline{ background-position: left 88%; background-size: 100% .17em; padding-bottom: 0; }

/* In running copy the stroke sits a touch lower and slightly deeper. */
p .hand-underline{ background-size: 100% .2em; padding-bottom: .12em; }

/* Heading underlines draw once, left to right, as they come into view.
   kee-motion.js adds .draw-ready only when motion is allowed, so without
   the script, or with reduced motion, the stroke simply shows in full. */
html.draw-ready h1 .hand-underline,
html.draw-ready h2 .hand-underline,
html.draw-ready h3 .hand-underline{ background-size: 0% .17em; transition: background-size 700ms cubic-bezier(.22,.61,.36,1) 120ms; }
html.draw-ready h1 .hand-underline.is-drawn,
html.draw-ready h2 .hand-underline.is-drawn,
html.draw-ready h3 .hand-underline.is-drawn{ background-size: 100% .17em; }

/* ============================================================
   ARROWS
   24 September 2026. Button arrows make one full turn as the button
   comes into view (kee-motion.js), and again on hover or keyboard
   focus. Each page's own hover rules call this same animation.
   ============================================================ */
@keyframes kee-arrow-turn{ from{ transform: rotate(0deg); } to{ transform: rotate(360deg); } }
html.draw-ready .arrow-turn{ display: inline-block; animation: kee-arrow-turn 640ms cubic-bezier(.4,0,.2,1) 200ms both !important; }
@media (prefers-reduced-motion: reduce){
  :is(a,button)>span[aria-hidden="true"],
  :is(a,button) .arrow,
  :is(a,button) .arrow-glyph,
  .service-family-card a>b,
  .thanks-list-action b{ animation: none !important; }
}

/* ============================================================
   BUTTON TEXT
   23 September 2026. Button labels were 13 to 17px depending on
   page and width. One size now, readable at every width.
   ============================================================ */

body .cta,
body .offer-package .cta,
body .offer-button,
body .enquiry-action,
body .service-shared-action{
  font-size: var(--s-action);
  font-weight: 500;
}

body .header nav .header-contact{ font-size: var(--s-action); }

/* ============================================================
   EMPHASIS: TEAL WORD
   23 September 2026. The optional second device, headings only.
   Pale backgrounds take #0E97A6 (3.5:1 on white, large text).
   Black backgrounds take the brand teal #14B8C8 (7.85:1).
   Never used on the teal band, where no teal reads as text.
   ============================================================ */

.teal-word{ color: #0E97A6; }

.service-overview .teal-word,
.services-dark .teal-word,
.auto-home-close .teal-word{ color: #14B8C8; }

/* ============================================================
   PHONE MARGINS
   23 September 2026. The side margin on phones was 22px. Now 16px
   at 390 wide and below, in line with BBC and similar reading
   sites, so text and cards use more of the screen. Larger screens
   are unchanged.
   ============================================================ */

:root{ --gutter: clamp(16px, 4.4vw, 84px); }

/* ============================================================
   MENU
   24 September 2026. One menu on every shared page: What we do,
   Email campaigns, About Kee, then the page's own button. On
   phones there is room for two links and the button, so every
   page shows What we do and About Kee, as the secondary pages
   already did. The homepage used to swap in Email campaigns here.
   ============================================================ */

@media (max-width: 760px){
  .header nav a:first-child{ display: inline; }
  .header nav a:nth-child(2){ display: none; }
}

@media (max-width: 480px){
  .header nav{ gap: 11px; }
}

/* ============================================================
   BREATHING ROOM AT THE END OF PAGES
   24 September 2026. The last call to action on a page always
   has clear space below it, and nothing sits under the cookie
   notice while it is showing.
   ============================================================ */
#enquiry.enquiry{ padding-bottom: clamp(32px, 3vw, 48px); }
#enquiry.home-enquiry,
#enquiry.page-enquiry{ padding-bottom: clamp(76px, 7.6vw, 112px); }

/* While the cookie notice is open, the page gains enough extra
   space at the bottom to scroll everything clear of it. */
body:has(#cookie-banner.is-visible){ padding-bottom: 184px; }
@media (min-width: 900px){ body:has(#cookie-banner.is-visible){ padding-bottom: 104px; } }

/* ============================================================
   NUMBERED CIRCLES
   25 September 2026. Kee's numbered marker is a lime circle with
   the number in ink, chosen by Michele over the small square chips.
   Used for Contact's next steps and About's six chapters. The
   homepage service families keep their own accent colour, in the
   same circle.
   ============================================================ */

.kee-num,
body .about-chapters .prose-num,
body .range-number,
body .service-family-number{
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background: var(--kee-lime, #CBE65A);
  color: #111110;
  font: 500 var(--s-small)/1 Work, Arial, sans-serif;
  letter-spacing: .02em;
  font-variant-numeric: tabular-nums;
}
/* About's chapter numbers and the email page's campaign range numbers
   sit on their own line above the title. */
body .about-chapters .prose-num,
body .range-number{ display: grid; }
body .service-family-number{
  width: 26px;
  height: 26px;
  margin-right: 4px;
  background: var(--service-accent, var(--kee-lime, #CBE65A));
  align-self: center;
}

/* ============================================================
   FOOTER LINKS
   25 September 2026, from the SEO and accessibility audit. Privacy,
   Terms and Company details were told apart from the footer text by
   colour alone. They now carry a thin underline everywhere.
   ============================================================ */

.legal-footer p a{
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.legal-footer p a:hover{ text-decoration-thickness: 2px; }


/* ============================================================
   ROOM ABOVE THE STUDIO CLOSE
   25 September 2026. Where a white section runs into the black
   Studio block, it leaves the same clear space on every page:
   about 120px on desktop, 80px on phones, measured from the last
   line of content to the black edge.
   ============================================================ */

body .home-summary{ padding-bottom: 120px; }
body .home-experience{ padding-bottom: 109px; }
body .page-close{ padding-bottom: 116px; }
body .thanks-next{ padding-bottom: 120px; }
body .thanks-next.notfound-next{ padding-bottom: 93px; }
@media (max-width: 760px){
  body .home-summary{ padding-bottom: 80px; }
  body .home-experience{ padding-bottom: 69px; }
  body .page-close{ padding-bottom: 47px; }
  body .thanks-next{ padding-bottom: 80px; }
  body .thanks-next.notfound-next{ padding-bottom: 57px; }
}

/* 1 Oct 2026: the email link in the shared Studio close reads as a link on every page. */
.studio-footer-panel .studio-copy p a{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.55)}
.studio-footer-panel .studio-copy p a:is(:hover,:focus-visible){text-decoration-color:currentColor}

/* 1 Oct 2026: the Studio close headline uses the site's heading style.
   Syne 700, lime hand-drawn underline on the reader's word, brand teal
   on the closing words (black background rules). No serif italic. */
.studio-footer-panel .studio-heading h2{font:700 var(--s-large)/1.08 Syne,Arial,sans-serif;letter-spacing:-.05em}
.studio-footer-panel .studio-heading h2 .teal-word{color:#14B8C8}

/* Studio close, tone-on-tone (1 Oct 2026): charcoal panel, rich-black word cropped by the panel edge. */
.studio-footer-panel{background:#232322;padding-bottom:0;overflow:hidden}
.studio-footer-panel .studio-word-mask{display:block;grid-column:1/-1;justify-self:stretch;width:100%;margin:clamp(40px,6vw,96px) 0 0;overflow:hidden;height:calc(var(--sw,24vw)*.56);pointer-events:none;user-select:none}
.studio-footer-panel .studio-word{display:block;color:#0B0B0A;line-height:.8;letter-spacing:-.075em;white-space:nowrap;text-align:left;transform:none}
.studio-footer-panel{--sw:calc((100vw - 2*var(--gutter))*.3)}
.home-enquiry .studio-heading h2 em{font:inherit;letter-spacing:inherit}
.home-enquiry .studio-heading h2 .hand-underline{font:inherit}
@media (max-width:760px){.studio-footer-panel .studio-word-mask{margin-top:44px}}
@media (max-width:760px){.studio-footer-panel .studio-word-mask{height:calc(var(--sw,24vw)*.64)}}
.home-enquiry .studio-heading h2{font:700 clamp(36px,3.8vw,56px)/1.1 Syne,Arial,sans-serif;letter-spacing:-.05em}
/* Studio word sized from its own container so it fits at any screen width. */
.studio-footer-panel .studio-word-mask{container-type:inline-size;height:auto;aspect-ratio:100/16.8}
@media (max-width:760px){.studio-footer-panel .studio-word-mask{height:auto;aspect-ratio:100/19.2}}
/* Studio close: copy block sits on the right margin on desktop and tablet. */
@media (min-width:761px){.studio-footer-panel .studio-copy{justify-self:end;width:min(100%,350px)}.studio-footer-panel .studio-copy>a{max-width:none}}
/* Studio word: S starts on the left margin and the o ends on the right margin; the full stop is cropped off. */
.studio-footer-panel .studio-word-mask{aspect-ratio:100/18.1}
.studio-footer-panel .studio-word{font-size:32.4cqw;margin-left:-.043em}
@media (max-width:760px){.studio-footer-panel .studio-word-mask{aspect-ratio:100/20.7}}

/* =====================================================================
   Kee type scale (1 Oct 2026). One size per job. Change sizes here only.
   Section: prominent sections. Quiet: secondary sections.
   Form: headings beside forms and on utility pages. Studio close keeps its own size.
   ===================================================================== */
:root{
}

/* Section headings, prominent */
html body .featured-offer h2,
html body .service-overview h2:not(.visually-hidden),
html body .about-services h2,
html body .about-email-feature h2,
html body #case-title,
html body #services-title,
html body #experience-title,
html body section.enquiry #enquiry-title{font:700 var(--s-large)/1.06 Syne,Arial,sans-serif;letter-spacing:-.05em}

/* Section headings, quiet */
html body .home-experience h2,
html body .about-section-head,
html body .home-enquiry .studio-heading h2,
html body #contribution-title,
html body #range-title,
html body #fresh-look-title,
html body #newsletter-title,
html body #offer-title,
html body #questions-title{font:700 var(--s-section)/1.08 Syne,Arial,sans-serif;letter-spacing:-.05em}

/* Card headings */
html body .service-family-card h3,
html body .summary-grid h3,
html body .services .service-card h3.service-headline{font:700 var(--s-card-lg)/1.1 Syne,Arial,sans-serif;letter-spacing:-.045em}
html body .services .service-card .service-label{font:500 16px/1.3 Work,Arial,sans-serif;margin:0 0 20px}

/* Small card headings and FAQ questions */
html body .campaign-range h3,
html body .faq-question{font-family:Syne,Arial,sans-serif;font-weight:700;font-size:var(--s-card);line-height:1.2;letter-spacing:-.03em}

/* Body drift on the email page */
html body .email-case p:not(.email-case-lead),
html body .campaign-range p:not(.copy-lead):not(.range-count),
html body .fresh-look p:not(.copy-lead),
html body .where-start p{font-size:var(--s-body)}

/* Small text: nothing below 13px */
html body .eyebrow:not(#_){font-size:var(--s-small)}
html body .page-hero-rail,
html body .yearline{font-size:var(--s-hint)}
@media (max-width:760px){html body .hero-note{font-size:var(--s-hint)}}
html body .page-hero dt{font-size:var(--s-small)}
.copy-lead,.page-hero-lead,.email-case-lead{text-wrap:pretty}

/* ===== from site-menu.css ===== */
/* Shared header menu, 24 September 2026 (second design).
   Header: the black contact button stays, with a round dot control beside
   it (no word; the button is labelled "Menu" for screen readers).
   Panel: a full-screen stone sheet that mirrors the header, so the close
   circle sits exactly where the dots were. Links run as editorial rows on
   hairlines, in Syne at heading scale. The page you are on, and the row
   under the pointer or keyboard, takes the site's hand-drawn lime stroke.
   Loaded after tokens.css. */

.header-actions{
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-actions .header-contact{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  padding: 12px 18px;
  border-radius: var(--kee-soft-radius, 6px);
  background: #111110;
  color: #FFFFFF;
  white-space: nowrap;
  text-decoration: none;
}
.header-actions .header-contact:hover,
.header-actions .header-contact:focus-visible{ background: #14B8C8; color: #111110; text-decoration: none; }
.header-actions .header-contact:focus-visible{ outline: 2px solid #111110; outline-offset: 3px; }
.header-actions .header-contact > span{ font-size: var(--s-action); line-height: 1; display: inline-block; }
:is(a,button):not([aria-expanded],[role="tab"],:disabled,.svc-tile):is(:hover, :focus-visible) > :is(span,b)[aria-hidden="true"]:not(.about-rating-stars){ animation: kee-arrow-turn 560ms cubic-bezier(.4,0,.2,1); }
a:has(> :is(span,b)[aria-hidden="true"]):is(:hover, :focus-visible){ text-decoration: none; }

/* The round control: open (two stacked dots, 25 Sep 2026) and close (a cross) share one size
   and one position, so opening the menu reads as the same object turning. */
.menu-toggle,
.site-menu__close{
  position: relative;
  flex: none;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  transition: background .2s ease, box-shadow .2s ease, transform .35s cubic-bezier(.22,.61,.36,1);
}
.menu-toggle{ background: #FFFFFF; box-shadow: inset 0 0 0 1px #11111040; }
.menu-toggle__dot{
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -7.5px 0 0 -3px;
  border-radius: 50%;
  background: #111110;
  box-shadow: 0 9px 0 #111110;
  transition: background .2s ease, box-shadow .2s ease;
}
.menu-toggle:hover,
.menu-toggle:focus-visible{ background: #111110; box-shadow: inset 0 0 0 1px #111110; }
.menu-toggle:hover .menu-toggle__dot,
.menu-toggle:focus-visible .menu-toggle__dot{ background: #FFFFFF; box-shadow: 0 9px 0 #FFFFFF; }
.menu-toggle:focus-visible,
.site-menu__close:focus-visible{ outline: 2px solid #111110; outline-offset: 3px; }

.site-menu__close{ background: #111110; }
.site-menu__close::before,
.site-menu__close::after{
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
  margin: -.75px 0 0 -9px;
  background: #FFFFFF;
  border-radius: 1px;
  transform: rotate(45deg);
}
.site-menu__close::after{ transform: rotate(-45deg); }
.site-menu__close:hover{ transform: rotate(90deg); }

/* The sheet */
body.site-menu-open{ overflow: hidden; }
dialog.site-menu{
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: auto;
  background: var(--kee-stone, #F3F6F5);
  color: #111110;
}
dialog.site-menu::backdrop{ background: transparent; }
dialog.site-menu[open]{ animation: site-menu-in 240ms ease both; }
@keyframes site-menu-in{ from{ opacity: 0; } to{ opacity: 1; } }

.site-menu__inner{
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gutter, 24px) clamp(24px, 4vh, 44px);
}
/* Mirrors .header: same height, same hairline, same logo and label. */
.site-menu__bar{
  display: flex;
  align-items: center;
  min-height: 96px;
  border-bottom: 1px solid #D8D8D2;
}
.site-menu__logo{ display: block; width: 98px; height: auto; }
.site-menu__studio{ margin: 0 0 0 36px; font-size: var(--s-hint); color: #111110; }
.site-menu__bar .site-menu__close{ margin-left: auto; }

.site-menu nav{ margin-top: clamp(16px, 4vh, 44px); }
.site-menu__list{ list-style: none; margin: 0; padding: 0; }
.site-menu__list li{ border-bottom: 1px solid #11111024; }
.site-menu__list a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(10px, 2.1vh, 22px) 0;
  color: #111110;
  text-decoration: none;
}
.site-menu__word{
  font: 700 min(var(--s-large), 8.2vh)/1.08 Syne, Work, Arial, sans-serif;
  letter-spacing: -.05em;
  padding-bottom: .02em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 16' preserveAspectRatio='none'%3E%3Cpath d='M2 8.6c48-4.6 96 2.4 146-1 50-3.4 102 3 150-.8-2 4.2-4 6.4-6 7.4-46 3.4-96-2.6-144 .6-50 3.4-98-3-144 .8-1-1.8-1.6-4.2-2-7z' fill='%23cbe65a'/%3E%3C/svg%3E") left 92% / 0% .16em no-repeat;
  transition: background-size 520ms cubic-bezier(.22,.61,.36,1);
}
.site-menu__list a:hover .site-menu__word,
.site-menu__list a:focus-visible .site-menu__word,
.site-menu__list a[aria-current="page"] .site-menu__word{ background-size: 100% .16em; }
.site-menu__arrow{
  flex: none;
  display: inline-block;
  font-size: var(--s-card-lg);
  line-height: 1;
  opacity: .35;
  transition: opacity .2s ease;
}
.site-menu__list a:is(:hover, :focus-visible) .site-menu__arrow{ opacity: 1; animation: kee-arrow-turn 560ms cubic-bezier(.4,0,.2,1); }
.site-menu__list a:focus-visible{ outline: 2px solid #111110; outline-offset: 4px; }

/* Rows arrive one after another when the sheet opens. */
dialog.site-menu[open] .site-menu__list li{ animation: site-menu-row 460ms cubic-bezier(.22,.61,.36,1) both; animation-delay: calc(60ms + var(--i, 0) * 45ms); }
@keyframes site-menu-row{ from{ opacity: 0; transform: translateY(14px); } to{ opacity: 1; transform: none; } }

.site-menu__foot{
  margin-top: auto;
  padding-top: clamp(28px, 5vh, 56px);
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px 32px;
  font-size: var(--s-hint);
  line-height: 1.5;
  color: #3F3E3B;
}
.site-menu__foot p{ margin: 0; }
.site-menu__foot a{ color: #111110; text-decoration: none; border-bottom: 1px solid #11111060; padding-bottom: 3px; }
.site-menu__foot a:hover{ border-color: #111110; }
.site-menu__foot a:focus-visible{ outline: 2px solid #111110; outline-offset: 4px; }

@media (prefers-reduced-motion: reduce){
  dialog.site-menu[open],
  dialog.site-menu[open] .site-menu__list li{ animation: none; }
  .site-menu__word, .menu-toggle, .site-menu__close, .menu-toggle__dot{ transition: none; }
  .site-menu__close:hover{ transform: none; }
  .header-actions .header-contact > span{ animation: none !important; }
}

@media (max-width: 760px){
  .site-menu__bar{ min-height: 88px; }
  .site-menu__logo{ width: 80px; }
  .site-menu__studio{ display: none; }
}
/* Narrow screens: contact button and circle stay on one row with the logo. */
@media (max-width: 440px){
  .site-menu__word{ font-size: var(--s-section); }
}
@media (max-width: 480px){
  .header-actions{ gap: 10px; }
  .header-actions .header-contact{ gap: 8px; min-height: 44px; padding: 10px 12px; font-size: var(--s-action); }
  .menu-toggle, .site-menu__close{ width: 44px; height: 44px; }
}
@media (max-width: 360px){
  .header-actions .header-contact{ padding: 10px; }
  .header-actions .header-contact > span{ display: none; }
}

.legal-footer a[href$="#company-details"]{ white-space: nowrap; }

/* Footer social icons (LinkedIn, Instagram, Facebook) */
.footer-social{display:flex;gap:10px;list-style:none;margin:0;padding:0;grid-column:3;grid-row:1;justify-self:end;align-self:center}
.footer-social li{margin:0}
.footer-social a{display:inline-grid;place-items:center;width:40px;height:40px;border:1.5px solid #232322;border-radius:50%;color:#111110;text-decoration:none;transition:background-color .2s ease,border-color .2s ease}
.footer-social a:hover{background:#14B8C8;border-color:#14B8C8;color:#111110}
.legal-footer .footer-social a:focus-visible{outline:2px solid #111110;outline-offset:3px}
.footer-social svg{display:block}
@media (max-width:760px){
  .legal-footer .footer-social{grid-column:1/-1;grid-row:auto;justify-self:start;order:10;margin-top:4px}
}
@media (prefers-reduced-motion:reduce){.footer-social a{transition:none}}

/* ===== from kee-forms.css ===== */
/* Shared form design, 25 September 2026.

   One treatment for every enquiry form: About, Contact, home, the email
   page and the Email Michele pop-up. Supersedes the italic in-box labels
   (secondary-pages.css, 24 September) and the per-page field styles in
   homepage-focused.css, auto-studio-adaptation.css,
   email-page-reconciliation.css and michele-modal.css.

   Labels sit above each field in Work Sans, sentence case, and stay
   visible once the field is filled. Fields are white with a restrained
   border and the site's 6px radius. Text inside fields is 16px so phones
   do not zoom on focus. Name and email share a row only when the form
   itself is wide enough (a container query, so the pop-up and phones
   always stack). Errors, sending and sent states are set by kee-forms.js
   and the page's own submit handler.

   Loaded last on each page so these rules settle the form controls
   without touching the surrounding section design. */

form.kee-form{
  display: grid;
  gap: 22px;
  container-type: inline-size;
  font-family: Work, Arial, sans-serif;
}
form.kee-form [hidden]{ display: none !important; }

/* Field groups */
form.kee-form .kee-field-row{ display: grid; gap: 22px; align-items: start; }
@container (min-width: 520px){
  form.kee-form .kee-field-row{ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
}
form.kee-form .kee-field{ display: grid; gap: 8px; align-content: start; margin: 0; min-width: 0; }

/* Labels */
form.kee-form .kee-field label{
  display: block;
  margin: 0;
  padding: 0;
  background: none;
  border: 0;
  font: normal 500 var(--s-action)/1.4 Work, Arial, sans-serif;
  letter-spacing: 0;
  color: #111110;
  cursor: default;
}
form.kee-form .kee-optional{ font-weight: 400; color: #111110; }
form.kee-form .kee-field-hint{
  margin: -2px 0 2px;
  font: 400 var(--s-hint)/1.5 Work, Arial, sans-serif;
  color: #111110;
}

/* Fields */
form.kee-form .kee-field :is(input, textarea, select){
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 52px;
  margin: 0;
  padding: 13px 14px;
  font: normal 400 16px/1.5 Work, Arial, sans-serif;
  letter-spacing: 0;
  color: #111110;
  background: #FFFFFF;
  border: 1px solid #4F504A;
  border-radius: var(--kee-soft-radius, 6px);
  box-shadow: none;
  outline: 0;
  color-scheme: light;
  transition: border-color .15s ease, box-shadow .15s ease;
}
form.kee-form .kee-field textarea{ min-height: 132px; resize: vertical; }
form.kee-form .kee-field :is(input, textarea)::placeholder{ color: #62635A; font-style: normal; opacity: 1; }
form.kee-form .kee-field select{
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  cursor: pointer;
  background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111110' stroke-width='1.5'/%3E%3C/svg%3E") right 16px center / 12px 8px no-repeat;
}
form.kee-form .kee-field :is(input, textarea, select):hover{ border-color: #111110; }
form.kee-form .kee-field :is(input, textarea, select):focus{
  border-color: #111110;
  box-shadow: 0 0 0 1px #111110;
  outline: 2px solid #111110;
  outline-offset: 3px;
}

/* Error state: a thicker dark red edge, and a message in ink beside a
   red marker, so it reads on the teal bands as well as on stone. */
form.kee-form .kee-field :is(input, textarea, select)[aria-invalid="true"]{
  border-color: #A1221B;
  box-shadow: 0 0 0 1px #A1221B;
}
form.kee-form .kee-field :is(input, textarea, select)[aria-invalid="true"]:focus{
  box-shadow: 0 0 0 1px #A1221B;
  outline-color: #111110;
}
form.kee-form .kee-field-error{
  display: flex;
  gap: 8px;
  align-items: flex-start;
  margin: 0;
  font: 500 14px/1.45 Work, Arial, sans-serif;
  color: #111110;
}
form.kee-form .kee-field-error::before,
form.kee-form .form-status[data-state="error"]::before{
  content: "!";
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border-radius: 50%;
  background: #A1221B;
  color: #FFFFFF;
  font: 700 12px/18px Work, Arial, sans-serif;
  text-align: center;
}

/* Privacy line */
form.kee-form .form-help{
  margin: 0;
  font: 400 14px/1.55 Work, Arial, sans-serif;
  color: #111110;
}
form.kee-form .form-help a{ color: #111110; text-decoration: none; border-bottom: 1px solid currentColor; }
form.kee-form .form-help a:hover{ border-bottom-width: 2px; }
form.kee-form .form-help a:focus-visible{ outline: 2px solid #111110; outline-offset: 3px; border-radius: 2px; }

/* The one button treatment: ink, white label left, arrow right. */
form.kee-form .kee-form-submit{
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  justify-self: start;
  width: 100%;
  max-width: 520px;
  min-height: 60px;
  margin: 0;
  padding: 16px 24px;
  font: 500 var(--s-action)/1.3 Work, Arial, sans-serif;
  letter-spacing: -.005em;
  text-align: left;
  color: #FFFFFF;
  background: #111110;
  border: 0;
  border-radius: var(--kee-soft-radius, 6px);
  box-shadow: none;
  cursor: pointer;
  transition: background-color .15s ease;
}
form.kee-form .kee-form-submit:hover:not(:disabled){ background: #33332F; box-shadow: none; }
form.kee-form .kee-form-submit:focus-visible{ outline: 2px solid #111110; outline-offset: 4px; }
form.kee-form .kee-form-submit:disabled{ cursor: progress; opacity: .72; }
form.kee-form .kee-form-submit > span[aria-hidden="true"]{ flex: none; }

/* Status line under the button: sending, sent, or could not send. */
form.kee-form .form-status{
  margin: 0;
  font: 500 var(--s-hint)/1.5 Work, Arial, sans-serif;
  color: #111110;
}
form.kee-form .form-status:empty{ display: none; }
form.kee-form .form-status[data-state="error"]{ display: flex; gap: 8px; align-items: flex-start; }
form.kee-form .form-status[data-state="sending"]::before{
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  vertical-align: -2px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: kee-form-spin .8s linear infinite;
}
form.kee-form .form-status[data-state="sent"]::before{ content: "✓"; margin-right: 8px; font-weight: 700; }
@keyframes kee-form-spin{ to{ transform: rotate(360deg); } }

/* Email page: the button and "Prefer email?" link share a row. */
form.kee-form .enquiry-actions{ display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin: 0; }
form.kee-form .enquiry-actions .kee-form-submit{ flex: 0 1 520px; }

/* Email Michele pop-up: always one column, button runs the full width. */
#michele-modal form.kee-form .kee-field-row{ grid-template-columns: 1fr; gap: 22px; }
#michele-modal form.kee-form .kee-form-submit{ max-width: none; }
#michele-modal form.kee-form{ margin-top: 28px; gap: 20px; }

@media (prefers-reduced-motion: reduce){
  form.kee-form .kee-field :is(input, textarea, select),
  form.kee-form .kee-form-submit{ transition: none; }
  form.kee-form .form-status[data-state="sending"]::before{ animation: none; border-right-color: currentColor; opacity: .5; }
}

/* ===== from faq-page.css ===== */
/* FAQ block for home, About and Contact. Same layout as the email page "Working with Kee" block. 11 Nov 2026. */
.faq-section{background:#FFFFFF;padding-block:clamp(60px,7.4vw,104px)}
.faq-section-inner{display:grid;grid-template-columns:1fr 1fr;gap:clamp(32px,5vw,96px);align-items:start}
.faq-section .eyebrow{display:block;margin-bottom:22px}
.faq-section h2{font-size:var(--s-section);line-height:1.06;letter-spacing:-.04em;max-width:17ch}
.faq-section .faq-list{font-size:var(--s-body);line-height:1.55}
@media(max-width:1000px){
  .faq-section-inner{grid-template-columns:1fr;gap:26px}
  .faq-section h2{max-width:22ch}
}

.faq-section h2{font-family:'Syne',Arial,sans-serif;font-weight:700;letter-spacing:-.05em;text-wrap:balance}

/* ===== from header-links.css ===== */
.header .header-actions .header-links{display:none}
@media(min-width:901px){
.header .header-actions{align-items:center}
.header .header-actions .header-links{display:flex;align-items:center;gap:28px;margin-right:24px}
.header .header-actions .header-links a{color:#111110;font-family:Work,'Work Sans',system-ui,sans-serif;font-size:var(--s-action);line-height:1.2;white-space:nowrap;text-decoration:none;padding:10px 2px;background-image:linear-gradient(currentColor,currentColor);background-size:0 1px;background-position:0 calc(100% - 6px);background-repeat:no-repeat;transition:background-size 180ms ease}
.header .header-actions .header-links a:is(:hover,:focus-visible){background-size:100% 1px}
.header .header-actions .header-links a:focus-visible{outline:2px solid #111110;outline-offset:3px}
}

/* ---- Folded in from text-floor.css, 13 Nov 2026 (all !important, so position does not change which rule wins) ---- */
/* Text floor, 13 Nov 2026. Agreed by Michele: nothing under 14px; lists, links and
   form labels 16px or more; body and card text 18px desktop and 17px phone (already met).
   One file so the floor can be read, changed or removed in one place.
   Each rule says which size it replaces. Footer grey darkened (5.6 to about 7.3 contrast);
   the form hints sit on dark and already pass, so their colour is unchanged. */

/* 11px and 12px labels on the Home and About service cards, and the ticker pause button -> 14 */
html body .service-family-card > span,
html body .service-family-card .service-family-number,
html body #ticker-toggle{font-size:var(--s-small)!important}

/* 13px chips in the Home hero ("Email campaign") -> 14 */
html body .offer-types a span{font-size:var(--s-small)!important}

/* Eyebrows were 13px on phones -> 14 */
@media(max-width:760px){html body .eyebrow{font-size:var(--s-small)!important}}

/* Form labels and "(optional)": one size on every form, 17 (scale 8) */
html body .kee-form label,
html body .kee-form .kee-optional,
html body .cx-form label,
html body .cx-form .kee-optional{font-size:var(--s-action)!important}

/* Chips and short lists 15px -> 16 */
html body .pick-chips li,
html body .ways-points span{font-size:var(--s-hint)!important}

/* Links and small buttons 14 or 15px -> 16 */
html body .contact-rating,
html body .contact-rating a,
html body .contact-rating strong,
html body .about-rating span,
html body .about-hero-services a,
html body .about-review-source,
html body .about-quote-role,
html body .about-quote-email-trigger,
html body .rv-pause,
html body .copy-label,
html body .secondary-link.hero-brief,
html body .secondary-link.hero-brief span,
html body .at-source,
html body .at-source span,
html body .cookie-banner__text{font-size:var(--s-hint)!important}
/* Menu Contact link and cookie buttons: scale 8 */
html body .header-contact,
html body .cookie-banner__btn{font-size:var(--s-action)!important}

/* Footer: company line 13px -> 14, grey darkened */
html body .footer-company,
html body .footer-company .nowrap{font-size:var(--s-small)!important}
html body .legal-footer p,
html body .legal-footer a,
html body .legal-footer .footer-cookie-link{color:#4F514A!important}

/* Small hints that were 13px on phones (Home ticker hint, About swipe hint) -> 14 */
html body .ticker-hint,
html body .service-browse p,
html body .hint-touch,
html body .hint-pointer{font-size:var(--s-small)!important}

/* Last 15px links on About -> 16 */
html body .about-rating a{font-size:var(--s-hint)!important}
html body .page-link{font-size:var(--s-action)!important}


/* Ringed arrows: one style for every action, set 14 Nov 2026 */
:is(.header-contact,.enquiry-action,.cx-button,.ways-tabs button)>span[aria-hidden]{display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;line-height:1;box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 45%,transparent)}
.site-menu__arrow{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:50%;box-shadow:inset 0 0 0 1px #11111040}
.site-menu__list a:is(:hover,:focus-visible) .site-menu__arrow{box-shadow:inset 0 0 0 1px #111110}
.studio-copy a>span[aria-hidden]{display:inline-grid;place-items:center;width:34px;height:34px;font-size:17px;line-height:1;border-radius:50%;box-shadow:inset 0 0 0 1px rgba(255,255,255,.45);margin-left:10px}
.ways-tabs button{display:inline-flex;align-items:center;justify-content:space-between;gap:28px;padding:14px 16px 14px 26px}

/* Shared second action, rings and rating: one style on every page, set 14 Nov 2026 */
.kee-actions{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.kee-second{display:inline-flex;align-items:center;gap:16px;color:inherit;font-size:var(--s-action);font-weight:400;text-decoration:none;padding:6px 0;margin-top:10px}
.kee-second__label{border-bottom:1px solid color-mix(in srgb,currentColor 38%,transparent);padding:8px 0 7px}
.kee-second:is(:hover,:focus-visible) .kee-second__label{border-bottom-color:currentColor}
.kee-second:focus-visible{outline:2px solid currentColor;outline-offset:6px}
.kee-ring{display:grid;place-items:center;flex:none;width:34px;height:34px;border-radius:50%;box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 25%,transparent);line-height:1}
.kee-ring>span{display:inline-block}
.kee-second:is(:hover,:focus-visible) .kee-ring>span{animation:kee-arrow-turn 560ms cubic-bezier(.4,0,.2,1)}
@media(prefers-reduced-motion:reduce){.kee-ring>span{animation:none!important}}
:is(.hero-button,.offer-button,.offer-secondary,.lead-ask,.cta,.secondary-link,.fresh-look-link,.text-action,.text-link,.page-link,.cx-link,.page-enquiry-action,.service-family-card>a,.service-shared-action,.about-quote-email-trigger)>:is(span,b)[aria-hidden]:not(.kee-ring){display:inline-grid;place-items:center;flex:none;width:30px;height:30px;border-radius:50%;line-height:1;box-shadow:inset 0 0 0 1px color-mix(in srgb,currentColor 45%,transparent)}
html body p.kee-rating,html body p.kee-rating a{font-size:var(--s-action)!important}
html body p.kee-rating a{display:inline-flex;align-items:center;flex-wrap:wrap;gap:6px 10px;text-decoration:none;border-bottom:0;padding-bottom:0}
html body .kee-rating__stars{color:#FFBF00;letter-spacing:.06em;font-size:var(--s-intro)}
html body .home-trust-grid .trust-stars{color:#FFBF00}
html body .kee-rating__text{border-bottom:1px solid color-mix(in srgb,currentColor 38%,transparent);padding:8px 0 7px}
html body .kee-rating__text strong{font-weight:600;color:inherit}
html body a:is(:hover,:focus-visible) .kee-rating__text{border-bottom-color:currentColor}
html body .kee-rating__count{font-style:italic;color:color-mix(in srgb,currentColor 62%,transparent)}
:is(.text-link,.page-link,.secondary-link,.text-action,.fresh-look-link,.offer-secondary,.cx-link,.about-quote-email-trigger):has(>.kee-second__label){display:inline-flex;align-items:center;gap:16px;border-bottom:0!important;text-decoration:none!important;padding-bottom:0;background-image:none}
html body p.kee-rating .kee-rating__stars{font-size:var(--s-intro)!important}
html body p.kee-rating :is(.kee-rating__text,.kee-rating__count,strong){font-size:var(--s-action)!important}
html body .home-trust-grid .kee-rating__text{display:inline-block}
html body .service-family-intro a{color:inherit;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 55%,transparent)}
html body .service-family-intro a:is(:hover,:focus-visible){text-decoration-color:currentColor}
html body .service-shared-action>span[aria-hidden]{background:none;color:inherit;width:34px;height:34px;font-size:inherit}
/* Text link with a label: only the arrow is indented and turns on hover. The label stays flush and still. */
html body .text-link>.kee-second__label{margin-left:0}
html body .text-link:is(:hover,:focus-visible)>.kee-second__label{animation:none;transform:none}
/* Hero lead sentence on Home and Services: one sentence, set smaller than the old two-line slogan. */
html body .home-hero .hero-bottom--lead>p.hero-line{font-size:clamp(26px,2.7vw,40px);line-height:1.18;max-width:20em}
