/* ==========================================================================
   Cloud110 — design system
   "Ivory and Ember"

   Warm ivory pages, ink type and one ember accent taken from the Cloud110
   logo. The header and every page hero sit on one band, "Amber dusk": warm
   black fading to deep amber. Schibsted
   Grotesk for everything, Instrument Serif italic for emphasis and numerals.
   Hairline structure instead of boxed cards, Phosphor icons.

   Contents
   0.  Fonts
   1.  Tokens
   2.  Reset and base
   3.  Text styles
   4.  Layout
   5.  Header and navigation
   6.  Buttons and links
   7.  Heroes
   8.  Sections and content
   9.  Services
   10. Process, plans, FAQ, tables
   11. Contact and forms
   12. Software products
   13. Photography, scenes, video
   14. Tagline reveal
   15. Call to action and footer
   16. Blog
   17. Motion, accessibility, print
   ========================================================================== */

/* ==========================================================================
   0. FONTS
   Schibsted Grotesk and Instrument Serif (SIL Open Font Licence; see
   assets/fonts/OFL-*.txt), self-hosted: the Content Security Policy allows
   fonts from this origin only. One variable file covers every weight.
   ========================================================================== */
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk-variable.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Serif";
  src: url("../fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   1. TOKENS
   ========================================================================== */
:root {
  /* Palette ---------------------------------------------------------------
     Warm neutrals and one ember accent from the logo. Every text pairing is
     WCAG AA on the backgrounds it is used on (ember text on ivory 5.4:1, on
     sand 4.9:1; ink on the ember fill 5.4:1). White text is never set on
     ember: it would be 3.1:1. */
  --ink:          #151515;   /* headings                                   */
  --graphite:     #2A2724;   /* body text                                  */
  --stone:        #45423F;   /* secondary text                             */
  --ash:          #6B6762;   /* captions, metadata (4.8:1 on sand)         */
  --line:         #E5E0D8;   /* hairlines                                  */
  --line-strong:  #CBC3B6;   /* emphasised rules                           */
  --control:      #8A847C;   /* form control borders (3:1 for components)  */
  --paper:        #FAF8F5;   /* page: ivory                                */
  --sand:         #F1EDE7;   /* alternate sections                         */
  --white:        #FFFFFF;   /* raised surfaces, inputs                    */

  --ember:        #E8620F;   /* button fills and marks, always with ink text */
  --ember-hover:  #F58A44;
  --ember-text:   #B4400F;   /* links, labels, numerals on light            */
  --ember-deep:   #8F330A;   /* link hover                                  */
  --ember-tint:   #FDEBDD;   /* tags, selected states                       */
  --flame:        #FF8A3D;   /* ember on dark surfaces                      */
  --amber:        #FDA651;

  --eucalypt:     #1A7A43;   /* confirmation, included items               */
  --ochre:        #9A4F1F;   /* notices that need attention                */
  --ochre-tint:   #F6E9DE;

  /* Dark sections and footer: warm near-black, never pure black */
  --ink-surface:  #1C1814;
  --ink-raised:   #26211C;
  --on-ink:       #F7F5F2;
  --on-ink-2:     #C9C5BF;
  --on-ink-muted: #A39E97;
  --line-on-ink:  rgba(247, 245, 242, 0.14);

  /* The band behind the header and every page hero: "Amber dusk", a
     vertical fade from warm black to deep amber (approved 9 Nov 2026).
     Text on it: bone 15:1 at the top, 9:1 at the amber end. */
  --band-bg:      linear-gradient(180deg, #15110D 0%, #1C1610 38%, #2E2113 72%, #45301A 100%);
  --band-top:     #15110D;   /* solid colour for the sticky header          */
  --band-ink:     #F7F5F2;
  --band-ink-2:   #D6D0C8;
  --band-em:      #FFA24D;   /* the italic line                             */
  --band-mark:    #FF8A3D;
  --band-line:    rgba(247, 245, 242, 0.12);
  --band-btn:     #F26B1D;   /* with ink text, 6.5:1                        */
  --band-btn-hover: #FF8A3D;
  --band-outline: #F7F5F2;
  --band-hover:   rgba(247, 245, 242, 0.08);
  --band-panel:   #18130F;   /* mobile menu panel                           */

  /* Semantic aliases kept for components and inline styles */
  --color-bg: var(--paper);
  --color-surface: var(--white);
  --color-text: var(--graphite);
  --color-text-secondary: var(--stone);
  --color-text-muted: var(--ash);
  --color-border: var(--line);
  --color-primary: var(--ember-text);
  --color-focus: var(--ember-text);
  --color-success: var(--eucalypt);
  --color-text-on-ink-muted: var(--on-ink-muted);


  /* Older token names still referenced by inline styles in page sources */
  --space-3: var(--s-100);
  --space-6: var(--s-300);
  --space-10: var(--s-500);
  --accent-700: var(--ochre);
  --slate-50: var(--paper);

  /* Type -------------------------------------------------------------------
     One family. Sizes are the Tailwind scale only. */
  --font-body: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: var(--font-body);
  --font-serif: "Instrument Serif", Georgia, "Times New Roman", serif;   /* italic only */
  --font-mono: var(--font-body);      /* figures use tabular numerals, not a mono face */

  --text-xs: 0.75rem;   --lh-xs: 1rem;        /* 12 / 16 */
  --text-sm: 0.875rem;  --lh-sm: 1.25rem;     /* 14 / 20 */
  --text-base: 1rem;    --lh-base: 1.5rem;    /* 16 / 24 */
  --text-lg: 1.125rem;  --lh-lg: 1.75rem;     /* 18 / 28 */
  --text-xl: 1.25rem;   --lh-xl: 1.75rem;     /* 20 / 28 */
  --text-2xl: 1.5rem;   --lh-2xl: 2rem;       /* 24 / 32 */
  --text-3xl: 1.875rem; --lh-3xl: 2.25rem;    /* 30 / 36 */
  --text-4xl: 2.25rem;  --lh-4xl: 2.5rem;     /* 36 / 40 */
  --text-5xl: 3rem;     --lh-5xl: 1;          /* 48 / 48 */
  --text-6xl: 3.75rem;  --lh-6xl: 1;          /* 60 / 60 */

  /* Spacing: the only values used anywhere */
  --s-0: 0;
  --s-25: 2px;
  --s-50: 4px;
  --s-75: 8px;
  --s-100: 12px;
  --s-200: 16px;
  --s-300: 24px;
  --s-400: 32px;
  --s-500: 40px;
  --s-600: 48px;
  --s-700: 64px;
  --s-800: 80px;
  --s-900: 96px;

  /* Radius: Tailwind values. Cards 8, panels 12, controls 6. */
  --r-sm: 2px;
  --r: 4px;
  --r-md: 6px;
  --r-lg: 8px;
  --r-xl: 12px;
  --r-2xl: 16px;
  --r-full: 9999px;

  /* Layout */
  --container: 1312px;
  --container-narrow: 760px;
  --gutter: var(--s-300);
  --section-y: var(--s-700);   /* 64px: two sections meet with 128px between them */
  --header-h: 76px;     /* height of the header bar */
  --header-top: 0px;

  /* Motion: weighted, decelerating. Transform and opacity only. */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 500ms;
  --dur-fade: 300ms;
  --dur-reveal: 700ms;

  /* The floating bar and menus are the only raised elements */
  --shadow-float: 0 1px 2px rgba(21, 18, 14, 0.06), 0 12px 32px rgba(21, 18, 14, 0.12);
}

@media (max-width: 767px) {
  :root { --gutter: var(--s-200); --section-y: var(--s-600); }
}

/* ==========================================================================
   2. RESET AND BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--header-top) * 2);
}

body {
  margin: 0;
  min-height: 100svh;               /* short pages: the footer still meets the bottom edge */
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--graphite);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul[class], ol[class] { list-style: none; padding: 0; }
img, picture, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: var(--ember-text); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ember-deep); }
strong, b { font-weight: 600; }
em, i { font-style: italic; }
h1 em, h2 em { font-family: var(--font-serif); font-weight: 400; letter-spacing: -0.01em; }
small { font-size: var(--text-xs); line-height: var(--lh-xs); }
hr { border: 0; height: 1px; background: var(--line); margin: var(--s-600) 0; }
::selection { background: var(--ember-tint); color: var(--ink); }

p, li, dd, figcaption, td { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }

.icon { width: 1em; height: 1em; flex: none; }

/* ==========================================================================
   3. TEXT STYLES
   Every piece of text uses one of these named styles. Elements map onto them
   below, so the generated markup does not need a class on every tag.
   Heading 1–6, Title 1–5, Body 1–7, Button, Caption 1–5.
   Body 7 (18/28 regular) is added for introductory paragraphs.
   ========================================================================== */
.heading-1 { font-size: var(--text-6xl); line-height: var(--lh-6xl); font-weight: 600; letter-spacing: -0.035em; }
.heading-2 { font-size: var(--text-5xl); line-height: var(--lh-5xl); font-weight: 600; letter-spacing: -0.03em; }
.heading-3 { font-size: var(--text-4xl); line-height: var(--lh-4xl); font-weight: 600; letter-spacing: -0.025em; }
.heading-4 { font-size: var(--text-3xl); line-height: var(--lh-3xl); font-weight: 600; letter-spacing: -0.02em; }
.heading-5 { font-size: var(--text-2xl); line-height: var(--lh-2xl); font-weight: 600; letter-spacing: -0.015em; }
.heading-6 { font-size: var(--text-xl); line-height: var(--lh-xl); font-weight: 600; letter-spacing: -0.01em; }
.title-1 { font-size: var(--text-xl); line-height: var(--lh-xl); font-weight: 500; }
.title-2 { font-size: var(--text-lg); line-height: var(--lh-lg); font-weight: 500; }
.title-3 { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 500; }
.title-4 { font-size: var(--text-sm); line-height: var(--lh-sm); font-weight: 500; }
.title-5 { font-size: var(--text-xs); line-height: var(--lh-xs); font-weight: 500; }
.body-1 { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 600; }
.body-2 { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 500; }
.body-3 { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 400; }
.body-4 { font-size: var(--text-sm); line-height: var(--lh-sm); font-weight: 600; }
.body-5 { font-size: var(--text-sm); line-height: var(--lh-sm); font-weight: 500; }
.body-6 { font-size: var(--text-sm); line-height: var(--lh-sm); font-weight: 400; }
.body-7 { font-size: var(--text-lg); line-height: var(--lh-lg); font-weight: 400; }
.caption-1 { font-size: var(--text-sm); line-height: var(--lh-sm); font-weight: 500; }
.caption-2 { font-size: var(--text-sm); line-height: var(--lh-sm); font-weight: 400; }
.caption-3 { font-size: var(--text-xs); line-height: var(--lh-xs); font-weight: 600; }
.caption-4 { font-size: var(--text-xs); line-height: var(--lh-xs); font-weight: 500; }
.caption-5 { font-size: var(--text-xs); line-height: var(--lh-xs); font-weight: 400; }

/* Element mapping ------------------------------------------------------- */
h1, h2, h3, h4 { color: var(--ink); font-family: var(--font-display); }

h1 { font-size: var(--text-5xl); line-height: var(--lh-5xl); font-weight: 600; letter-spacing: -0.03em; }          /* Heading 2 */
h2 { font-size: var(--text-4xl); line-height: var(--lh-4xl); font-weight: 600; letter-spacing: -0.025em; }         /* Heading 3 */
h3 { font-size: var(--text-xl); line-height: var(--lh-xl); font-weight: 600; letter-spacing: -0.01em; }            /* Heading 6 */
h4 { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 600; }                                  /* Body 1 */

@media (max-width: 767px) {
  h1 { font-size: var(--text-4xl); line-height: var(--lh-4xl); letter-spacing: -0.025em; }                         /* Heading 3 */
  h2 { font-size: var(--text-3xl); line-height: var(--lh-3xl); letter-spacing: -0.02em; }                          /* Heading 4 */
}

/* Labels above headings: Caption 3, with a small ember square as the one
   recurring brand detail (no rules, no monospace). */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  margin-bottom: var(--s-200);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}
.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--ember-text);
  flex: none;
}
.eyebrow--plain::before { display: none; }

.lede {                                   /* Body 7 */
  font-size: var(--text-lg);
  line-height: var(--lh-lg);
  color: var(--stone);
  max-width: 64ch;
}

.prose { max-width: 68ch; color: var(--graphite); }
.prose > * + * { margin-top: var(--s-200); }
.prose h2 { margin-top: var(--s-600); font-size: var(--text-2xl); line-height: var(--lh-2xl); }   /* Heading 5 */
.prose h3 { margin-top: var(--s-400); }
.prose ul, .prose ol { padding-left: var(--s-300); }
.prose li + li { margin-top: var(--s-75); }
.prose .link-arrow { margin-top: var(--s-300); }

.text-sm { font-size: var(--text-sm); line-height: var(--lh-sm); }
.text-muted { color: var(--ash); }
.text-secondary { color: var(--stone); }

/* ==========================================================================
   4. LAYOUT
   ========================================================================== */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(var(--container-narrow) + var(--gutter) * 2); }

.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: var(--s-600); }
.section--subtle, .section--wash, .section--brand { background: var(--sand); }
.section--ink {
  background: var(--ink-surface);
  color: var(--on-ink-2);
}
.section--ink h2, .section--ink h3 { color: var(--on-ink); }
.section--ink .eyebrow { color: var(--on-ink-muted); }
.section--ink .eyebrow::before { background: var(--flame); }
.section--ink .lede { color: var(--on-ink-2); }
.section--ink a:not(.btn) { color: var(--flame); }

/* Consecutive sections on the same surface share one hairline rather than a
   doubled gap of colour */
.section:not(.section--subtle):not(.section--wash):not(.section--brand):not(.section--ink)
  + .section:not(.section--subtle):not(.section--wash):not(.section--brand):not(.section--ink):not(.section--video):not(.tagline) {
  border-top: 1px solid var(--line);
}

/* Section heading: an editorial two-column head on wide screens, label and
   heading on the left, introduction on the right. */
.section-head { margin-bottom: var(--s-500); max-width: 1000px; }
.section-head h2 { max-width: 22ch; }
.section-head .lede { margin-top: var(--s-200); }
@media (min-width: 1024px) {
  .section-head:has(.lede):not(.section-head--center) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: var(--s-700);
    max-width: none;
    align-items: end;
  }
  .section-head:has(.lede):not(.section-head--center) .eyebrow { grid-column: 1; grid-row: 1; justify-self: start; }
  .section-head:has(.lede):not(.section-head--center) h2 { grid-column: 1; grid-row: 2; }
  .section-head:has(.lede):not(.section-head--center) .lede { grid-column: 2; grid-row: 2; margin-top: 0; }
}
.section-head--center { text-align: center; margin-inline: auto; max-width: 760px; }
.section-head--center h2 { margin-inline: auto; }
.section-head--center .lede { margin-inline: auto; }
.container--narrow .section-head { margin-bottom: var(--s-500); }

/* Grids: hairline structure. Cells are separated by 1px lines drawn by the
   grid's own background showing through a 1px gap, so every cell is fully
   ruled and no item carries a one-sided border. */
.grid { display: grid; gap: var(--s-300); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
@media (min-width: 768px) {
  .grid--2-fixed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .grid--3-fixed { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid--4-fixed { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 640px) and (max-width: 1023px) {
  .grid--3-fixed, .grid--4-fixed { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 768px) {
  .grid--3-fixed:has(> :nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); }   /* exactly three: keep one row */
}

/* Hairline grids. Each cell draws its own 1px rule (a spread shadow that
   fills the 1px gap), so an incomplete last row simply shows an empty ruled
   slot instead of a block of line colour. */
.grid:has(> .card), .grid:has(> .usecase), .grid:has(> .promise),
.svc-list, .extend, .values-row {
  gap: 1px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.card, .usecase, .promise, .svc-item, .extend__item, .values-row li { box-shadow: 0 0 0 1px var(--line); }
.section--ink .card, .section--ink .promise { box-shadow: 0 0 0 1px var(--line-on-ink); }

/* Split: text beside a figure or list */
.split { display: grid; gap: var(--s-600); align-items: center; }
@media (min-width: 1024px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-800); }
  .split--aside { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; }
  .split--start { align-items: start; }
  .split--sticky-aside > :first-child { position: sticky; top: calc(var(--header-h) + var(--header-top) * 2 + var(--s-300)); }
  .split--sticky-aside:has(> .anchor-nav) { grid-template-columns: 224px minmax(0, 1fr); gap: var(--s-700); }
}

.stack { display: grid; gap: var(--s-300); }
.stack--lg { gap: var(--s-600); }

/* Spacing utilities, mapped onto the spacing set */
.mt-2 { margin-top: var(--s-75); }
.mt-3 { margin-top: var(--s-100); }
.mt-4 { margin-top: var(--s-200); }
.mt-5 { margin-top: var(--s-300); }
.mt-6 { margin-top: var(--s-300); }
.mt-8 { margin-top: var(--s-400); }
.mt-10 { margin-top: var(--s-500); }
.mt-12 { margin-top: var(--s-600); }
.mb-4 { margin-bottom: var(--s-200); }
.mb-5 { margin-bottom: var(--s-300); }
.mb-6 { margin-bottom: var(--s-300); }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ==========================================================================
   5. HEADER AND NAVIGATION
   A compact bar that floats off the top edge, centred and sized to its
   content, over a background blur. The blur sits on a pseudo-element: a
   backdrop-filter on the bar itself would make it the containing block for
   the fixed mobile menu inside it.
   ========================================================================== */
.skip-link {
  position: fixed;
  left: var(--s-200);
  top: var(--s-200);
  z-index: 300;
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--paper);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-200%);
  transition: transform var(--dur) var(--ease);
}
.skip-link:focus-visible { transform: none; color: var(--paper); }

main { display: block; flex: 1 0 auto; }

/* A full-width bar on the band colour. It sticks to the top; once the page
   scrolls it gains a hairline shadow so it separates from the content. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--band-top);
  color: var(--band-ink);
  border-bottom: 1px solid var(--band-line);
  transition: box-shadow var(--dur-fade) var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2), 0 8px 24px rgba(0, 0, 0, 0.18); }

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-400);
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  height: var(--header-h);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.site-header__inner .nav { margin-left: auto; }

/* Logo ---------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  flex: none;
  color: var(--band-ink);
  text-decoration: none;
}
.logo:hover { color: var(--band-ink); }
.logo__svg { display: block; width: auto; height: 30px; overflow: visible; }
.logo__tag {                         /* read by screen readers; shown in the footer */
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
.logo--on-ink, .logo--on-ink:hover { color: var(--on-ink); }
.logo--on-ink .logo__svg { height: 40px; }

/* Links --------------------------------------------------------------- */
.nav__list { display: flex; align-items: center; gap: var(--s-50); }
.nav__item { position: relative; }
@media (min-width: 1024px) {
  .nav__item[data-mega-item] { position: static; }   /* the menu centres under the whole bar */
}

.nav__link {                        /* Title 4 */
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: var(--s-50);
  padding: var(--s-75) var(--s-100);
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--band-ink-2);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 500;
  text-decoration: none;
  transition: color var(--dur-fade) var(--ease), background-color var(--dur-fade) var(--ease);
}
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--band-ink); background: var(--band-hover); }
.nav__link[aria-current="page"] { color: var(--band-ink); }
.nav__link[aria-current="page"]::after {          /* the current page */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 4px;
  height: 4px;
  background: var(--band-mark);
  transform: translateX(-50%);
}
.nav__chev { width: 14px; height: 14px; transition: transform var(--dur) var(--ease); }
.nav__link[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }

/* Services menu ------------------------------------------------------- */
.mega {
  position: absolute;
  top: calc(100% + var(--s-200));
  left: 50%;
  width: min(720px, calc(100vw - var(--gutter) * 2));
  padding: var(--s-75);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  box-shadow: var(--shadow-float);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity var(--dur-fade) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur-fade);
}
.nav__item[data-open="true"] .mega {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
  transition: opacity var(--dur-fade) var(--ease), transform var(--dur) var(--ease), visibility 0s;
}
.mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-50); }
.mega__card {
  display: block;
  padding: var(--s-200);
  border-radius: var(--r);           /* 12 outer − 8 inset */
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur-fade) var(--ease);
}
.mega__card:hover, .mega__card[aria-current="page"] { background: var(--paper); color: inherit; }
.mega__card-top { display: flex; align-items: baseline; gap: var(--s-75); }
.mega__num { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: var(--text-lg); line-height: 1; color: var(--ember-text); }
.mega__title { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 500; color: var(--ink); }   /* Title 3 */
.mega__desc { display: block; margin-top: var(--s-50); font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--stone); }
.mega__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-100);
  margin-top: var(--s-50);
  padding: var(--s-100) var(--s-200);
  border-radius: var(--r);
  background: var(--paper);
}
.mega__foot-text { font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--stone); }
.mega__foot .link-arrow { font-size: var(--text-sm); line-height: var(--lh-sm); }

/* Actions -------------------------------------------------------------- */
.header__actions { display: flex; align-items: center; gap: var(--s-75); flex: none; }
.header__actions .btn { font-size: var(--text-sm); line-height: var(--lh-sm); }   /* Button-sm */

.nav-toggle {
  display: none;
  position: relative;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--r-md);
  background: transparent;
  color: var(--band-ink);
}
.nav-toggle:hover { background: var(--band-hover); }
.nav-toggle__bars, .nav-toggle__bars span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 1.5px;
}
.nav-toggle__bars { transform: translate(-50%, -50%); height: 10px; }
.nav-toggle__bars span {
  left: 0;
  background: currentColor;
  border-radius: var(--r-full);
  transition: transform var(--dur) var(--ease);
}
.nav-toggle__bars span:first-child { top: 0; }
.nav-toggle__bars span:last-child { top: auto; bottom: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:first-child { transform: translateY(4.25px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:last-child { transform: translateY(-4.25px) rotate(-45deg); }

.nav__cta-mobile { display: none; }

/* Below desktop: the bar spans the width, and the menu opens as a full-height
   panel whose links arrive one after another. */
@media (max-width: 1023px) {
  .site-header__inner { width: 100%; justify-content: space-between; gap: var(--s-200); }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    margin-left: 0;
    overflow-y: auto;
    padding: var(--s-400) var(--gutter) var(--s-700);
    background: var(--band-panel);
    color: var(--band-ink);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-fade) var(--ease), visibility 0s linear var(--dur-fade);
  }
  .nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    transition: opacity var(--dur-fade) var(--ease), visibility 0s;
  }

  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item, .nav__cta-mobile {
    opacity: 0;
    transform: translateY(var(--s-300));
    transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  }
  .nav__item + .nav__item { border-top: 1px solid var(--band-line); }
  .nav[data-open="true"] .nav__item,
  .nav[data-open="true"] .nav__cta-mobile { opacity: 1; transform: none; }
  .nav[data-open="true"] .nav__item:nth-child(2) { transition-delay: 60ms; }
  .nav[data-open="true"] .nav__item:nth-child(3) { transition-delay: 120ms; }
  .nav[data-open="true"] .nav__item:nth-child(4) { transition-delay: 180ms; }
  .nav[data-open="true"] .nav__item:nth-child(5) { transition-delay: 240ms; }
  .nav[data-open="true"] .nav__cta-mobile { transition-delay: 300ms; }

  .nav__link {                          /* Heading 5 */
    width: 100%;
    justify-content: space-between;
    padding: var(--s-200) 0;
    border-radius: 0;
    color: var(--band-ink);
    font-size: var(--text-2xl);
    line-height: var(--lh-2xl);
    font-weight: 600;
    letter-spacing: -0.015em;
  }
  .nav__link:hover, .nav__link[aria-expanded="true"] { background: transparent; }
  .nav__link[aria-current="page"]::after { left: auto; right: 0; bottom: 50%; transform: translateY(50%); width: 6px; height: 6px; }
  .nav__chev { width: 20px; height: 20px; }

  .mega {
    position: static;
    display: none;
    width: 100%;
    padding: 0 0 var(--s-200);
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
    transition: none;
  }
  .nav__item[data-open="true"] .mega { display: block; transform: none; }
  .mega__grid { grid-template-columns: 1fr; gap: 0; }
  .mega__card { padding: var(--s-100) 0; border-radius: 0; }
  .mega__card:hover { background: transparent; }
  .mega__desc { display: none; }
  .mega__title { font-size: var(--text-lg); line-height: var(--lh-lg); color: var(--band-ink-2); }
  .mega__num { color: var(--band-mark); }
  .mega__foot .link-arrow { color: var(--flame); }
  .mega__foot { padding: var(--s-100) 0 0; background: transparent; }
  .mega__foot-text { display: none; }

  .nav__cta-mobile { display: block; margin-top: var(--s-400); }
  .nav__cta-mobile .btn--primary { background: var(--band-btn); color: var(--ink); }
  body:has(.nav[data-open="true"]) { overflow: hidden; }
}

/* ==========================================================================
   6. BUTTONS AND LINKS
   Pill buttons. The main button is ember with ink text (never white on
   ember); the second button is an outline in the surrounding text colour.
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  min-height: 44px;
  padding: 10px 20px;
  border: 1.5px solid transparent;
  border-radius: var(--r-full);
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--dur-fade) var(--ease), border-color var(--dur-fade) var(--ease),
              color var(--dur-fade) var(--ease), transform var(--dur) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--lg { min-height: 52px; padding: 12px 24px; }
.btn--sm { min-height: 40px; padding: 8px 18px; font-size: var(--text-sm); line-height: var(--lh-sm); }
.btn--block { width: 100%; }

.btn--primary { background: var(--ember); color: var(--ink); }
.btn--primary:hover { background: var(--ember-hover); color: var(--ink); }

.btn--outline, .btn--outline-ink {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn--outline:hover, .btn--outline-ink:hover { background: rgba(21, 18, 14, 0.06); border-color: var(--ink); color: var(--ink); }

/* On the band (header and heroes) */
.site-header .btn--primary, .hero .btn--primary { background: var(--band-btn); color: var(--ink); }
.site-header .btn--primary:hover, .hero .btn--primary:hover { background: var(--band-btn-hover); color: var(--ink); }
.hero .btn--outline, .hero .btn--outline-ink { border-color: var(--band-outline); color: var(--band-outline); }
.hero .btn--outline:hover, .hero .btn--outline-ink:hover { background: var(--band-hover); color: var(--band-outline); }

/* On dark sections */
.btn--on-ink { background: var(--ink); color: var(--on-ink); }
.btn--on-ink:hover { background: #2A2520; color: var(--on-ink); }
.section--ink .btn--outline-ink, .section--ink .btn--outline, .plan--ink .btn--outline {
  border-color: rgba(247, 245, 242, 0.5);
  color: var(--on-ink);
}
.section--ink .btn--outline-ink:hover, .section--ink .btn--outline:hover, .plan--ink .btn--outline:hover {
  border-color: var(--on-ink);
  background: rgba(247, 245, 242, 0.08);
  color: var(--on-ink);
}
.section--ink .btn--primary, .plan--ink .btn--primary { background: #F26B1D; color: var(--ink); }
.section--ink .btn--primary:hover, .plan--ink .btn--primary:hover { background: var(--flame); }

.btn__arrow, .btn .icon { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.btn--lg .btn__arrow { width: 18px; height: 18px; }
.btn:hover .btn__arrow { transform: translateX(4px); }

.link-arrow {                               /* Body 1 */
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  color: var(--ember-text);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 600;
  text-decoration: none;
}
.link-arrow svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur) var(--ease); }
.link-arrow:hover { color: var(--ember-deep); text-decoration: underline; }
.link-arrow:hover svg { transform: translateX(4px); }
.section--ink .link-arrow { color: var(--flame); }
.cta-band .link-arrow { color: var(--ember-text); }

/* ==========================================================================
   7. HEROES
   Every hero sits on the Amber dusk band that starts in the header: label,
   heading (any <em> is set in the serif italic, in amber), introduction,
   actions, and a figure beside it where the page has one.
   ========================================================================== */
.hero {
  position: relative;
  padding-block: var(--s-700);
  background: var(--band-bg);
  color: var(--band-ink-2);
}
.hero__inner { position: relative; }
.hero__content { max-width: 720px; }

.hero h1 {
  font-size: var(--text-5xl);                 /* Heading 2 */
  line-height: var(--lh-5xl);
  max-width: 760px;
  color: var(--band-ink);
}
.hero h1 em { color: var(--band-em); font-size: 1.06em; }
.hero .eyebrow { color: var(--band-ink-2); }
.hero .eyebrow::before { background: var(--band-mark); }
.hero p, .hero li { color: var(--band-ink-2); }
.hero h2, .hero h3, .hero strong { color: var(--band-ink); }
.hero a:not(.btn) { color: var(--band-em); }

/* Product pages: the parent brand under the product name ("Powered by Cloud110"). */
.hero__byline {                               /* Caption 1 */
  margin-top: var(--s-100);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--band-ink-2);
}
.hero__byline + .hero__lede { margin-top: var(--s-200); }

.hero__lede {                                 /* Body 7 */
  margin-top: var(--s-300);
  max-width: 680px;
  font-size: var(--text-lg);
  line-height: var(--lh-lg);
  color: var(--band-ink-2);
}
.hero__definition, .hero__note {               /* Caption 2 */
  margin-top: var(--s-200);
  max-width: 680px;
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--band-ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-400); }

.breadcrumb { margin-bottom: var(--s-400); }
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s-75); list-style: none; padding: 0; margin: 0; }
.breadcrumb li {                               /* Caption 2 */
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--band-ink-2);
}
.breadcrumb li + li::before { content: "/"; color: rgba(247, 245, 242, 0.35); }
.hero .breadcrumb a { color: var(--band-ink-2); text-decoration: none; }
.hero .breadcrumb a:hover { color: var(--band-ink); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--band-ink); }

/* Figure beside the copy */
.hero__layout { display: grid; gap: var(--s-600); align-items: center; }
.hero__product { min-width: 0; }
.hero__product img, .hero .photo img { border-radius: var(--r-lg); }
@media (min-width: 1024px) {
  .hero__layout--media { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-800); }
}

/* Homepage hero: the approved "four rooms" composition. A large headline on
   the left, the introduction and actions aligned to its foot on the right,
   then the four divisions as photographs. */
/* Homepage hero (11 Nov 2026): introduction on the left, the four divisions
   as a 2x2 grid of near-square photo cards on the right. Sized so the hero
   and "What Cloud110 does" share the first screen at 1440x900 and above. */
.hero--home { padding-block: var(--s-500) var(--s-600); }
.hero--home .hero__content { max-width: none; }
.hero--home h1 {
  font-size: clamp(2.5rem, 4.3vw, 4.5rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  max-width: none;
}
.hero--home h1 em { font-size: 1.08em; letter-spacing: -0.02em; white-space: nowrap; }
.hero--home .eyebrow { margin-bottom: var(--s-300); }
.hero--home .hero__lede { margin-top: var(--s-300); max-width: 34rem; }
.hero--home .hero__actions { margin-top: var(--s-400); }
.hero__layout--home { gap: var(--s-500); }
@media (min-width: 1024px) {
  .hero__layout--home { grid-template-columns: minmax(0, 1fr) clamp(400px, 34vw, 540px); gap: var(--s-700); align-items: center; }
}

/* Four rooms ---------------------------------------------------------- */
.rooms { min-width: 0; }
.rooms__list {
  display: flex;
  gap: 3px;
  height: clamp(260px, 31vh, 360px);   /* was 480px */
  margin: 0;
  padding: 0;
  list-style: none;
}
.room {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  transition: flex-grow 700ms var(--ease);
}
.room.is-open { flex-grow: 2.1; }
.rooms__list:hover .room.is-open:not(:hover),
.rooms__list:focus-within .room.is-open:not(:focus-within) { flex-grow: 1; }
.rooms__list .room:hover, .rooms__list .room:focus-within { flex-grow: 2.1; }

.room__link { position: absolute; inset: 0; display: block; color: #FFFFFF; text-decoration: none; }
.room__link:hover,
.hero .rooms a.room__link, .hero .rooms a.room__link:hover { color: #FFFFFF; }   /* beats .hero a:not(.btn), which colours band links amber */
.room__link:focus-visible { outline: 3px solid var(--amber); outline-offset: -6px; }
.room__media, .room__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.room__media img {
  object-fit: cover;
  filter: grayscale(1) contrast(1.06) brightness(1.02);
  transition: filter 700ms var(--ease), transform 1200ms var(--ease);
}
.room:nth-child(1) .room__media img { object-position: 36% 50%; }
.room:nth-child(2) .room__media img { object-position: 58% 50%; }
.room:nth-child(3) .room__media img { object-position: 52% 100%; transform-origin: 52% 100%; }
.room:nth-child(4) .room__media img { object-position: 50% 40%; }
.room__link::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(21, 17, 13, 0) 45%, rgba(21, 17, 13, 0.86) 100%);
  pointer-events: none;
}
.room__num {
  position: absolute;
  top: var(--s-300);
  left: var(--s-300);
  z-index: 1;
  font: italic 400 1.875rem/1 var(--font-serif);
  transition: color var(--dur-fade) var(--ease);
}
.room__body {
  position: absolute;
  left: var(--s-300);
  right: var(--s-300);
  bottom: var(--s-300);
  z-index: 1;
  display: grid;
  gap: var(--s-75);
}
.room__title { font-size: var(--text-2xl); line-height: var(--lh-2xl); font-weight: 600; letter-spacing: -0.02em; }
.room__desc {
  max-width: 34ch;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: var(--text-base);
  line-height: var(--lh-base);
  color: rgba(255, 255, 255, 0.86);
  transition: opacity 500ms var(--ease), max-height 600ms var(--ease);
}
.room__go {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  transition: opacity 500ms var(--ease);
}
.room__go .icon { width: 16px; height: 16px; color: var(--amber); }

.room.is-open:not(.rooms__list:hover .room):not(.rooms__list:focus-within .room) .room__media img,
.rooms__list .room:hover .room__media img,
.rooms__list .room:focus-within .room__media img { filter: none; }
.room.is-open:not(.rooms__list:hover .room):not(.rooms__list:focus-within .room) :is(.room__desc, .room__go),
.rooms__list .room:hover :is(.room__desc, .room__go),
.rooms__list .room:focus-within :is(.room__desc, .room__go) { max-height: 80px; opacity: 1; }
.room.is-open:not(.rooms__list:hover .room):not(.rooms__list:focus-within .room) .room__num,
.rooms__list .room:hover .room__num,
.rooms__list .room:focus-within .room__num { color: var(--amber); }

.rooms__progress { display: none; }

/* Phones and portrait tablets: the rooms become swipeable cards. Below
   1024px the expanding strip leaves the narrow rooms too thin for their
   titles ("Development" clipped at 768px). */
@media (max-width: 1023px) {
  .rooms .rooms__list {   /* .rooms raises it above the ul[class] reset, which zeroed the side padding */
    margin-inline: calc(var(--gutter) * -1);   /* full-bleed scroller inside the hero container */
    height: 340px;
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .rooms__list::-webkit-scrollbar { display: none; }
  .room, .room.is-open, .rooms__list .room:hover, .rooms__list .room:focus-within { flex: 0 0 80vw; }
  .room { border-radius: var(--r-lg); scroll-snap-align: start; }
  .room .room__media img { filter: none; }
  .room :is(.room__desc, .room__go) { max-height: 80px !important; opacity: 1 !important; }
  .rooms__progress {
    display: flex;
    align-items: center;
    gap: var(--s-200);
    padding: var(--s-200) var(--gutter) 0;
    font-size: var(--text-sm);
    line-height: var(--lh-sm);
    color: var(--band-ink-2);
  }
  .rooms__progress { padding-inline: 0; }
  .rooms__progress b { font: italic 400 1.125rem/1 var(--font-serif); color: var(--band-em); }
  .rooms__bar { position: relative; flex: 1; height: 2px; background: var(--band-line); }
  .rooms__bar span { position: absolute; inset: 0 auto 0 0; width: 25%; background: var(--band-mark); transition: width var(--dur-fade) var(--ease); }
}
/* Desktop: a 2x2 grid of near-square cards beside the introduction. */
@media (min-width: 1024px) {
  .rooms .rooms__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s-200);
    height: auto;
  }
  .room {
    aspect-ratio: 1 / 0.86;
    border-radius: var(--r-xl);
    box-shadow: 0 0 0 1px rgba(247, 245, 242, 0.08), 0 14px 28px -16px rgba(0, 0, 0, 0.65);
    isolation: isolate;
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  }
  .room__link { border-radius: inherit; }
  .room__media img {
    filter: saturate(0.85) brightness(0.96);
    transform: scale(1.001);
  }
  .room__link::after {
    /* top wash keeps the number legible on busy photos; bottom carries the title */
    background: linear-gradient(180deg, rgba(21, 17, 13, 0.55) 0%, rgba(21, 17, 13, 0) 26%, rgba(21, 17, 13, 0) 40%, rgba(21, 17, 13, 0.92) 100%);
  }
  .room__num { top: var(--s-200); left: var(--s-300); font-size: 1.375rem; color: rgba(255, 255, 255, 0.8); }
  .room__body { bottom: var(--s-300); gap: var(--s-50); }
  .room__title { font-size: var(--text-lg); line-height: var(--lh-lg); }
  .room__desc { display: none; font-size: var(--text-sm); line-height: var(--lh-sm); max-width: 30ch; color: rgba(255, 255, 255, 0.82); }
  .room__go { margin-top: var(--s-25); max-height: 0; opacity: 0; transition: opacity var(--dur-fade) var(--ease), max-height var(--dur) var(--ease); }

  .rooms__list .room:hover, .rooms__list .room:focus-within {
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(255, 162, 77, 0.4), 0 18px 32px -16px rgba(0, 0, 0, 0.75);
  }
  .rooms__list .room:hover .room__media img,
  .rooms__list .room:focus-within .room__media img { filter: none; transform: scale(1.045); }
  /* Digital Marketing photo: zoomed from its base so the top icon row clears the card number */
  .room:nth-child(3) .room__media img { transform: scale(1.16); }
  .rooms__list .room:nth-child(3):hover .room__media img,
  .rooms__list .room:nth-child(3):focus-within .room__media img { transform: scale(1.2); }
  .rooms__list .room:hover .room__go,
  .rooms__list .room:focus-within .room__go { max-height: 24px; opacity: 1; }
  .rooms__list .room:hover .room__desc,
  .rooms__list .room:focus-within .room__desc { max-height: 0; opacity: 0; }
  .rooms__list .room:hover .room__num,
  .rooms__list .room:focus-within .room__num { color: var(--amber); }
}
/* Wide screens: the one-line description slides in on hover or focus;
   below 1280px the cards are too small to carry it. */
@media (min-width: 1280px) {
  .room__desc { display: block; max-height: 0; opacity: 0; overflow: hidden; transition: opacity var(--dur-fade) var(--ease), max-height var(--dur) var(--ease); }
  .rooms__list .room:hover .room__desc,
  .rooms__list .room:focus-within .room__desc { max-height: 60px; opacity: 1; }
}
@media (min-width: 1024px) and (prefers-reduced-motion: reduce) {
  .room, .room__media img { transition: none; }
  .rooms__list .room:hover, .rooms__list .room:focus-within { transform: none; }
  .rooms__list .room:hover .room__media img { transform: none; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .rooms .rooms__list { height: 300px; }
  .room, .room.is-open, .rooms__list .room:hover, .rooms__list .room:focus-within { flex: 0 0 44vw; }
}

@media (max-width: 767px) {
  .hero { padding-block: var(--s-500) var(--s-600); }
  .hero--home { padding-block: var(--s-500) var(--s-600); }
  .hero h1 { font-size: var(--text-4xl); line-height: var(--lh-4xl); letter-spacing: -0.025em; }  /* Heading 3 */
  .hero--home h1 { font-size: 2.625rem; line-height: 1; letter-spacing: -0.04em; }   /* was 3.25rem */
  .hero--home h1 em { white-space: normal; }
  .hero__actions .btn { width: 100%; }
  .breadcrumb { margin-bottom: var(--s-300); }
}

/* ==========================================================================
   8. SECTIONS AND CONTENT
   ========================================================================== */

/* Cards: cells of a hairline grid, not floating boxes ------------------ */
.card {
  display: flex;
  flex-direction: column;
  gap: var(--s-100);
  padding: var(--s-400);
  background: var(--paper);
  min-width: 0;
}
.section--subtle .card, .section--wash .card, .section--brand .card { background: var(--sand); }
.card__title { font-size: var(--text-xl); line-height: var(--lh-xl); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }  /* Heading 6 */
.card__body { color: var(--stone); }
.card__foot { margin-top: auto; padding-top: var(--s-200); }
.section--ink .grid:has(> .card), .section--ink .grid:has(> .promise) { border-color: var(--line-on-ink); }
.section--ink .card, .section--ink .promise { background: var(--ink-surface); }
.section--ink .card__title, .section--ink .promise__title { color: var(--on-ink); }
.section--ink .card__body, .section--ink .promise__body { color: var(--on-ink-2); }
.card--ink { background: var(--ink-surface) !important; color: var(--on-ink-2); }
.card--ink .card__title { color: var(--on-ink); }
.card--ink .card__body { color: var(--on-ink-2); }
.card--ink a:not(.btn) { color: var(--flame); }

/* "Problems we solve": a quotation as the title, set a step larger */
.card--div { padding: var(--s-500); gap: var(--s-200); }
.card--div .card__title { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: var(--text-3xl); line-height: 1.12; letter-spacing: -0.005em; max-width: 24ch; }
.card--div:hover .link-arrow svg { transform: translateX(4px); }

/* Homepage divisions: an index of four rows ------------------------------ */
#divisions .grid:has(> .division) {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line-strong);
}
.division {
  display: grid;
  grid-template-columns: var(--s-600) minmax(0, 4fr) minmax(0, 5fr) minmax(0, 3fr) var(--s-500);
  grid-template-areas: "num title desc tags cta";
  align-items: start;
  column-gap: var(--s-400);
  padding: var(--s-400) 0;
  background: var(--sand);
  color: inherit;
  text-decoration: none;
  transition: background-color var(--dur-fade) var(--ease);
}
.division:hover { background: #EAE4DB; color: inherit; }
.division:hover .division__title { color: var(--ember-text); }
.division__num { grid-area: num; font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 2.75rem; line-height: 1; color: var(--ember-text); padding-left: var(--s-200); }
.division__icon { display: none; }
.division__title { grid-area: title; font-size: var(--text-2xl); line-height: var(--lh-2xl); letter-spacing: -0.015em; }   /* Heading 5 */
.division__desc { grid-area: desc; color: var(--stone); }
.division__list { grid-area: tags; display: flex; flex-wrap: wrap; gap: var(--s-75); align-content: start; }
.division__tag {                                                                             /* Caption 4 */
  padding: var(--s-25) var(--s-100);
  border-radius: var(--r-full);
  background: var(--ember-tint);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 500;
  color: var(--ember-text);
}
.division__cta { grid-area: cta; justify-self: end; padding-right: var(--s-200); }
.division__cta .link-arrow {               /* the arrow alone; the name is read from the row's title */
  font-size: 0;
  line-height: 0;
  width: var(--s-500);
  height: var(--s-500);
  justify-content: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-full);
  color: var(--ink);
  transition: background-color var(--dur-fade) var(--ease), border-color var(--dur-fade) var(--ease), color var(--dur-fade) var(--ease);
}
.division__cta .link-arrow svg { width: 18px; height: 18px; }
.division:hover .division__cta .link-arrow { background: var(--ember); border-color: var(--ember); color: var(--ink); text-decoration: none; }
.division:hover .division__cta .link-arrow svg { transform: translateX(2px); }
@media (max-width: 1023px) {
  .division {
    grid-template-columns: var(--s-500) minmax(0, 1fr) auto;
    grid-template-areas: "num title cta" ". desc desc" ". tags tags";
    row-gap: var(--s-100);
  }
}
@media (max-width: 767px) {
  .division { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "num cta" "title title" "desc desc" "tags tags"; padding: var(--s-300) var(--s-200); }
  .division__num, .division__cta { padding: 0; }
  .division__title { font-size: var(--text-xl); line-height: var(--lh-xl); }
}

/* The four division names, used as a key beside "What Cloud110 does" */
.weave-bg { display: none; }
.weave-key {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-75) var(--s-200);
  margin-top: var(--s-300);
  padding: 0;
  list-style: none;
}
.weave-key span {                                                                           /* Caption 1 */
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  font-weight: 500;
  color: var(--stone);
}
.weave-key span::before { content: ""; width: 6px; height: 6px; background: var(--ink); }
.weave-bg__note { margin-top: var(--s-300); }

/* Values row (About) */
.values-row { display: grid; }
@media (min-width: 768px) { .values-row { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); } }
.values-row li { display: flex; gap: var(--s-100); align-items: flex-start; padding: var(--s-300); background: var(--paper); color: var(--graphite); }
.section--subtle .values-row li { background: var(--sand); }
.values-row svg { width: 20px; height: 20px; flex: none; color: var(--eucalypt); margin-top: var(--s-25); }

/* Promises: three short commitments */
.promise { display: flex; flex-direction: column; gap: var(--s-100); padding: var(--s-400); background: var(--paper); }
.section--subtle .promise, .section--brand .promise { background: var(--sand); }
.promise__icon { display: inline-flex; color: var(--ember-text); margin-bottom: var(--s-75); }
.promise__icon svg { width: 28px; height: 28px; }
.promise__title { font-size: var(--text-xl); line-height: var(--lh-xl); }
.promise__body { color: var(--stone); }

/* Information cards (Contact) */
.infocard {
  padding: var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
.infocard__title { display: flex; align-items: center; gap: var(--s-100); font-size: var(--text-base); line-height: var(--lh-base); }   /* Body 1 */
.infocard__icon { display: inline-flex; color: var(--ember-text); }
.infocard__icon svg { width: 20px; height: 20px; }
.infocard__body { margin-top: var(--s-75); color: var(--stone); }
.infocard__foot { margin-top: var(--s-200); }

/* Callout: a ruled note in sand */
.callout {
  margin-top: var(--s-400);
  padding: var(--s-300);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--sand);
  color: var(--graphite);
}
.section--subtle .callout { background: var(--paper); }
.callout__title { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 600; color: var(--ink); margin-bottom: var(--s-75); }  /* Body 1 */
.callout p + p { margin-top: var(--s-100); }
.callout .link-arrow { margin-top: var(--s-200); }

/* Ticked list */
.checks { display: grid; gap: var(--s-100); padding: 0; list-style: none; }
.checks li { display: flex; gap: var(--s-100); align-items: flex-start; color: var(--graphite); }
.checks svg { width: 20px; height: 20px; flex: none; margin-top: var(--s-25); color: var(--eucalypt); }
.section--ink .checks li { color: var(--on-ink-2); }
.section--ink .checks svg { color: var(--flame); }

/* Badges */
.badge {                                                                                     /* Caption 3 */
  display: inline-flex;
  align-items: center;
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-full);
  border: 1px solid var(--line-strong);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  color: var(--stone);
}
.badge--brand { border-color: var(--ember-text); color: var(--ember-text); background: var(--ember-tint); }

/* Figures for a stat (kept for future use; no figures are published) */
.stat__value { font-size: var(--text-4xl); line-height: var(--lh-4xl); font-weight: 600; color: var(--ink); }
.stat__label { color: var(--stone); }

/* Industries: example solutions in a hairline grid ------------------------ */
.usecase {
  display: flex;
  flex-direction: column;
  gap: var(--s-75);
  padding: var(--s-400);
  background: var(--paper);
  min-width: 0;
}
.section--subtle .usecase { background: var(--sand); }
.usecase__icon { display: inline-flex; color: var(--ember-text); margin-bottom: var(--s-100); }
.usecase__icon svg { width: 28px; height: 28px; }
.usecase__industry {                                                                         /* Caption 3 */
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ash);
}
.usecase__title { font-size: var(--text-xl); line-height: var(--lh-xl); }
.usecase__body { color: var(--stone); }
.usecase__meta {                                                                             /* Caption 4 */
  margin-top: auto;
  padding-top: var(--s-200);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 500;
  color: var(--eucalypt);
}

/* ==========================================================================
   9. SERVICES
   Each group: a number and title, its introduction, then the services as a
   two-column hairline grid. The on-page index stays beside it on desktop.
   ========================================================================== */
.svc-group { scroll-margin-top: calc(var(--header-h) + var(--header-top) * 2 + var(--s-300)); }
.svc-group + .svc-group { margin-top: var(--s-500); padding-top: var(--s-500); border-top: 1px solid var(--line); }
.svc-group__head { display: flex; align-items: baseline; gap: var(--s-200); margin-bottom: var(--s-200); }
.svc-group__num { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: 2.25rem; line-height: 1; color: var(--ember-text); }
.svc-group__title { font-size: var(--text-3xl); line-height: var(--lh-3xl); letter-spacing: -0.02em; }   /* Heading 4 */
.svc-group > .lede { margin-bottom: var(--s-400); }

.svc-list { display: grid; }
@media (min-width: 768px) { .svc-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.svc-item { padding: var(--s-300); background: var(--paper); min-width: 0; }
.section--subtle .svc-item { background: var(--sand); }
.svc-item__name { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 600; color: var(--ink); }   /* Body 1 */
.svc-item__desc { margin-top: var(--s-50); font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--stone); }  /* Body 6 */

.svc-open {
  display: grid;
  gap: var(--s-300);
  align-items: center;
  margin-top: var(--s-400);
  padding: var(--s-400);
  border-radius: var(--r-xl);
  background: var(--ink-surface);
  color: var(--on-ink-2);
}
@media (min-width: 768px) { .svc-open { grid-template-columns: minmax(0, 1fr) auto; } }
.svc-open__title { font-size: var(--text-xl); line-height: var(--lh-xl); font-weight: 600; color: var(--on-ink); }
.svc-open__body { margin-top: var(--s-75); color: var(--on-ink-2); }
.svc-open .btn { background: var(--paper); color: var(--ink); }

/* On-page index */
.anchor-nav { position: sticky; top: calc(var(--header-h) + var(--header-top) * 2 + var(--s-300)); }
.anchor-nav__title {                                                                          /* Caption 3 */
  margin-bottom: var(--s-100);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ash);
}
.anchor-nav__list { display: grid; gap: var(--s-25); }
.anchor-nav__link {                                                                           /* Body 6 */
  display: flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-md);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--stone);
  text-decoration: none;
  transition: background-color var(--dur-fade) var(--ease), color var(--dur-fade) var(--ease);
}
.anchor-nav__link::before { content: ""; width: 6px; height: 6px; background: transparent; flex: none; transition: background-color var(--dur-fade) var(--ease); }
.anchor-nav__link:hover { color: var(--ink); background: rgba(21, 18, 14, 0.05); }
.anchor-nav__link.is-active { color: var(--ink); font-weight: 500; }
.anchor-nav__link.is-active::before { background: var(--ember-text); }
@media (max-width: 1023px) {
  .anchor-nav { position: static; margin-bottom: var(--s-500); }
  .anchor-nav__list { display: flex; flex-wrap: wrap; gap: var(--s-75); }
  .anchor-nav__link { border: 1px solid var(--line-strong); border-radius: var(--r-full); padding: var(--s-50) var(--s-100); }
  .anchor-nav__link::before { display: none; }
}

/* ==========================================================================
   10. PROCESS, PLANS, FAQ, TABLES
   ========================================================================== */

/* Steps: a numbered sequence on a shared rule */
.steps { counter-reset: step; display: grid; gap: var(--s-400); padding: 0; list-style: none; }
.step { counter-increment: step; position: relative; display: grid; align-content: start; gap: var(--s-75); padding-left: var(--s-700); }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: -4px;
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--ember-text);
}
.step__title { font-size: var(--text-xl); line-height: var(--lh-xl); }
.step__body { color: var(--stone); }
.section--ink .step::before { color: var(--flame); }
.section--ink .step__body { color: var(--on-ink-2); }

/* Steps as columns along a timeline */
.steps--cards {
  gap: var(--s-400);
  border-top: 2px solid var(--line);
  position: relative;
}
.steps--cards::before { content: ""; position: absolute; top: -2px; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, var(--ember), var(--amber)); }
.section--ink .steps--cards { border-top-color: var(--line-on-ink); }
.step--card { padding-left: 0; padding-top: var(--s-400); gap: var(--s-100); }
.step--card::before { content: none; }
.step__head { display: flex; align-items: center; justify-content: space-between; }
.step__head::after {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: 2rem;
  line-height: 1;
  color: var(--ember-text);
}
.section--ink .step__head::after { color: var(--flame); }
.step__glyph { display: inline-flex; color: var(--ink); }
.step__glyph svg { width: 28px; height: 28px; }
.step--card .step__title { margin-top: var(--s-75); }

/* Homepage "How we work" on ink: the engagement loop diagram */
.diagram { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.d-node { fill: var(--white); stroke: var(--line-strong); stroke-width: 1; }
.d-node-brand { fill: var(--ink); stroke: var(--ink); }
.d-line, .d-line-brand { fill: none; stroke: var(--stone); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.d-line-brand { stroke: var(--ember-text); }
.d-label { fill: var(--stone); font: 400 12px var(--font-body); }
.d-label-strong { fill: var(--ink); font: 600 14px var(--font-body); }
.d-node-brand + .d-label-strong, g:has(> .d-node-brand) .d-label-strong { fill: var(--paper); }
.section--ink .d-node { fill: var(--ink-raised); stroke: rgba(246, 244, 239, 0.2); }
.section--ink .d-node-brand { fill: var(--paper); stroke: var(--paper); }
.section--ink .d-label-strong { fill: var(--on-ink); }
.section--ink g:has(> .d-node-brand) .d-label-strong { fill: var(--ink); }
.section--ink .d-line { stroke: var(--on-ink-muted); }
.section--ink .d-line-brand { stroke: var(--flame); }
.section--ink .d-label { fill: var(--on-ink-muted); }

/* Support plans -------------------------------------------------------- */
.grid:has(> .plan) { align-items: stretch; }
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  min-width: 0;
}
.plan--tint { background: var(--white); }
.plan--light { background: var(--white); }
.plan--ink { background: var(--ink-surface); border-color: var(--ink-surface); color: var(--on-ink-2); }
.plan--ink .plan__name { color: var(--on-ink); }
.plan__flag {                                                                                /* Caption 3 */
  position: absolute;
  top: var(--s-300);
  right: var(--s-300);
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-full);
  background: var(--flame);
  color: var(--ink);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
}
.plan__badge { display: flex; align-items: center; gap: var(--s-100); margin-bottom: var(--s-300); }
.plan__glyph { display: inline-flex; color: var(--ember-text); }
.plan__glyph svg { width: 28px; height: 28px; }
.plan--ink .plan__glyph { color: var(--flame); }
.plan__meter { display: inline-flex; gap: var(--s-50); }
.plan__bar { width: 16px; height: 4px; border-radius: var(--r-full); background: var(--line); }
.plan__bar.is-on { background: var(--ember-text); }
.plan--ink .plan__bar { background: rgba(246, 244, 239, 0.18); }
.plan--ink .plan__bar.is-on { background: var(--flame); }
.plan__name { font-size: var(--text-2xl); line-height: var(--lh-2xl); letter-spacing: -0.015em; }   /* Heading 5 */
.plan__for { margin-top: var(--s-75); color: var(--stone); }
.plan--ink .plan__for { color: var(--on-ink-2); }
.plan__meta { margin-block: var(--s-300); padding-block: var(--s-200); border-block: 1px solid var(--line); }
.plan--ink .plan__meta { border-color: var(--line-on-ink); }
.plan__metric { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 600; color: var(--ink); }
.plan--ink .plan__metric { color: var(--on-ink); }
.plan__metric-note { margin-top: var(--s-25); font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--ash); }
.plan--ink .plan__metric-note { color: var(--on-ink-muted); }
.plan__features { display: grid; gap: var(--s-100); padding: 0; list-style: none; flex: 1; }
.plan__features li { display: flex; gap: var(--s-100); font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--graphite); }
.plan__features svg { width: 18px; height: 18px; flex: none; color: var(--eucalypt); }
.plan--ink .plan__features li { color: var(--on-ink-2); }
.plan--ink .plan__features svg { color: var(--flame); }
.plan__cta { margin-top: var(--s-400); }

/* FAQ ------------------------------------------------------------------ */
.faq { border-top: 1px solid var(--line-strong); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item h3 { font-size: inherit; line-height: inherit; }
.faq__q {                                                                                     /* Title 2 */
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-300);
  padding: var(--s-300) 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: var(--text-lg);
  line-height: var(--lh-lg);
  font-weight: 500;
  text-align: left;
  letter-spacing: -0.005em;
}
.faq__q:hover { color: var(--ember-text); }
.faq__icon {
  width: 20px;
  height: 20px;
  flex: none;
  color: var(--stone);
  transition: transform var(--dur) var(--ease), color var(--dur-fade) var(--ease);
}
.faq__q[aria-expanded="true"] .faq__icon { transform: rotate(45deg); color: var(--ink); }
.faq__a { display: none; padding: 0 var(--s-700) var(--s-300) 0; color: var(--stone); }
.faq__a[data-open="true"] { display: block; animation: faq-in var(--dur) var(--ease); }
.faq__a p + p { margin-top: var(--s-100); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (max-width: 767px) { .faq__a { padding-right: 0; } .faq__q { font-size: var(--text-base); line-height: var(--lh-base); } }

/* Tables --------------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--white);
}
table.data, .combine table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); line-height: var(--lh-sm); }
table.data th, table.data td, .combine th, .combine td {
  padding: var(--s-200);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
table.data thead th, .combine thead th {                                                      /* Caption 3 */
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ash);
  background: var(--paper);
}
table.data tbody th, .combine tbody th { font-weight: 600; color: var(--ink); }
table.data td, .combine td { color: var(--stone); }
table.data tbody tr:last-child th, table.data tbody tr:last-child td,
.combine tbody tr:last-child th, .combine tbody tr:last-child td { border-bottom: 0; }
.data--compare thead th { font-size: var(--text-sm); line-height: var(--lh-sm); letter-spacing: 0; text-transform: none; color: var(--ink); }
.data__col-head { display: inline-flex; align-items: center; gap: var(--s-75); font-weight: 600; }
.data__col-glyph { display: inline-flex; color: var(--ember-text); }
.data__col-glyph svg { width: 20px; height: 20px; }
.data__row--note td, .data__row--note th { background: var(--paper); font-size: var(--text-xs); line-height: var(--lh-xs); }
.combine { margin-bottom: var(--s-400); }

/* ==========================================================================
   11. CONTACT AND FORMS
   ========================================================================== */
.formpanel {
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  overflow: hidden;
}
.formpanel__head { padding: var(--s-400) var(--s-400) var(--s-300); border-bottom: 1px solid var(--line); background: var(--paper); }
.formpanel__eyebrow {                                                                        /* Caption 3 */
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--stone);
}
.formpanel__eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--ember-text); }
.formpanel__title { margin-top: var(--s-100); font-size: var(--text-2xl); line-height: var(--lh-2xl); font-weight: 600; color: var(--ink); letter-spacing: -0.015em; }  /* Heading 5 */
.formpanel__note { margin-top: var(--s-75); font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--stone); }
.formpanel .form { padding: var(--s-400); }

.form { display: grid; gap: var(--s-300); }
.field { display: grid; gap: var(--s-75); min-width: 0; border: 0; padding: 0; margin: 0; }
.field-row { display: grid; gap: var(--s-300); }
@media (min-width: 640px) { .field-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field__label { font-size: var(--text-sm); line-height: var(--lh-sm); font-weight: 500; color: var(--ink); }   /* Title 4 */
.field__req { color: var(--ochre); }
.field__hint { font-size: var(--text-xs); line-height: var(--lh-xs); color: var(--ash); }

.input, .select, .textarea {
  width: 100%;
  min-height: 44px;
  padding: var(--s-100) var(--s-100);
  border: 1px solid var(--control);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--ink);
  font-size: var(--text-base);
  line-height: var(--lh-base);
  transition: border-color var(--dur-fade) var(--ease), box-shadow var(--dur-fade) var(--ease);
}
.textarea { min-height: 140px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--ash); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--stone); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ember-text); box-shadow: 0 0 0 3px var(--ember-tint); }
.input:user-invalid, .select:user-invalid, .textarea:user-invalid { border-color: var(--ochre); box-shadow: 0 0 0 3px var(--ochre-tint); }
.select {
  appearance: none;
  padding-right: var(--s-500);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256' fill='%2355524A'%3E%3Cpath d='M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--s-100) center;
  background-size: 16px;
}

.intent-group { display: grid; gap: var(--s-75); }
@media (min-width: 640px) { .intent-group { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.intent {
  position: relative;
  display: grid;
  gap: var(--s-25);
  padding: var(--s-200) var(--s-200) var(--s-200) var(--s-600);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--white);
  cursor: pointer;
  transition: border-color var(--dur-fade) var(--ease), background-color var(--dur-fade) var(--ease);
}
.intent:hover { border-color: var(--stone); }
.intent input {
  position: absolute;
  left: var(--s-200);
  top: var(--s-200);
  width: 18px;
  height: 18px;
  margin: var(--s-25) 0 0;
  accent-color: var(--ink);
}
.intent__name { font-size: var(--text-base); line-height: var(--lh-base); font-weight: 600; color: var(--ink); }   /* Body 1 */
.intent__desc { font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--stone); }
.intent:has(input:checked) { border-color: var(--ink); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ink); }
.intent:has(input:focus-visible) { outline: 2px solid var(--ember-text); outline-offset: 2px; }

.form__note { font-size: var(--text-xs); line-height: var(--lh-xs); color: var(--ash); }
.form-status { display: none; padding: var(--s-200); border-radius: var(--r-lg); font-size: var(--text-sm); line-height: var(--lh-sm); }
.form-status[data-visible="true"] { display: block; }
.form-status[data-state="ok"] { background: #E5EEE8; color: #24473A; border: 1px solid #B9D0C2; }
.form-status[data-state="error"] { background: var(--ochre-tint); color: #6E3714; border: 1px solid #E2C3AA; }

/* ==========================================================================
   12. SOFTWARE PRODUCTS
   Product screenshots framed lightly, so the product is the focus.
   ========================================================================== */
.shot { margin: 0; min-width: 0; }
.shot img { display: block; width: 100%; height: auto; background: var(--white); }
.shot--wide img { border: 1px solid var(--line); border-radius: var(--r-lg); }
.shot--phone { max-width: 250px; }
.shot--phone img { border: 6px solid var(--ink); border-radius: var(--r-2xl); }
.shot figcaption { margin-top: var(--s-100); font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--ash); }   /* Caption 2 */

.shot-stack { position: relative; padding-bottom: var(--s-400); }
.shot-stack .shot--wide { width: 86%; }
.shot-stack .shot--phone { position: absolute; right: 0; bottom: 0; width: 26%; max-width: 190px; }
.shot-stack .shot--phone img { border-width: 5px; border-radius: var(--r-xl); }
.shot-stack figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.shot-pair { display: grid; gap: var(--s-300); align-items: start; }
@media (min-width: 640px) { .shot-pair { grid-template-columns: minmax(0, 1fr) minmax(120px, 0.36fr); } }
.shot-feature { max-width: 880px; margin: var(--s-500) auto 0; }
.shot-solo { max-width: 640px; }

/* SaaS catalogue: the flagship */
.product-card {
  display: grid;
  gap: var(--s-500);
  align-items: center;
  padding: var(--s-500);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
}
@media (min-width: 1024px) { .product-card { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s-700); padding: var(--s-600); } }
@media (max-width: 767px) { .product-card { padding: var(--s-300); } }
.product-card__meta { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-bottom: var(--s-200); }
.product-card__title { font-size: var(--text-3xl); line-height: var(--lh-3xl); letter-spacing: -0.02em; }   /* Heading 4 */
.product-card__title a, .product-tile__title a { color: inherit; text-decoration: none; }
.product-card__title a:hover, .product-tile__title a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.product-card__lede { margin-top: var(--s-100); font-size: var(--text-lg); line-height: var(--lh-lg); color: var(--stone); }
.product-card__facts { display: grid; gap: var(--s-200); margin-top: var(--s-300); padding-top: var(--s-300); border-top: 1px solid var(--line); }
.product-card__facts dt { font-size: var(--text-xs); line-height: var(--lh-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ash); }
.product-card__facts dd { margin: var(--s-25) 0 0; color: var(--graphite); }
.product-card__actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-400); }

.product-tiles { display: grid; gap: var(--s-300); }
@media (min-width: 1024px) { .product-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.product-tile {
  display: flex;
  flex-direction: column;
  padding: var(--s-400);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
  min-width: 0;
}
.product-tile__title { font-size: var(--text-2xl); line-height: var(--lh-2xl); letter-spacing: -0.015em; }   /* Heading 5 */
.product-tile__lede { margin-top: var(--s-75); font-size: var(--text-lg); line-height: var(--lh-lg); color: var(--graphite); }
.product-tile__body { margin-top: var(--s-100); color: var(--stone); }
.product-tile__buy {
  margin-top: var(--s-300);
  padding: var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r);              /* 12 outer, 8 from the tile's inner content */
  background: var(--paper);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--stone);
}
.product-tile__buy strong { color: var(--ink); }
.product-tile .product-card__actions { margin-top: auto; padding-top: var(--s-300); }

/* Add-ons and integrations */
.extend { display: grid; }
@media (min-width: 768px) { .extend { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .extend { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.extend__item { display: flex; flex-direction: column; gap: var(--s-75); padding: var(--s-300); background: var(--paper); min-width: 0; }
.section--subtle .extend__item { background: var(--sand); }
.extend__kind { font-size: var(--text-xs); line-height: var(--lh-xs); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ember-text); }   /* Caption 3 */
.extend__title { font-size: var(--text-lg); line-height: var(--lh-lg); }
.extend__body { color: var(--stone); flex: 1; }
.extend__item .link-arrow { align-self: flex-start; margin-top: var(--s-100); }

.addons { display: grid; gap: var(--s-300); }
@media (min-width: 1024px) { .addons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.addon {
  display: grid;
  gap: var(--s-300);
  align-items: start;
  padding: var(--s-300);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
}
@media (min-width: 480px) { .addon--phone { grid-template-columns: minmax(0, 1fr) minmax(110px, 150px); } }
.addon--phone .shot--phone { max-width: 170px; }
.addon__title { font-size: var(--text-lg); line-height: var(--lh-lg); margin-bottom: var(--s-75); }
.addon p { color: var(--stone); }
.addon .extend__kind { margin-bottom: var(--s-75); }
.addon .shot figcaption { font-size: var(--text-xs); line-height: var(--lh-xs); }

/* Variants and tabs. Without script every panel shows; cloud110.js reveals
   the tab row and hides the inactive panels. */
.variant { display: grid; gap: var(--s-500); align-items: start; }
@media (min-width: 1024px) {
  .variant { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s-700); }
  .variant--text { grid-template-columns: minmax(0, 1fr); max-width: 760px; }
}
.variant__title { font-size: var(--text-2xl); line-height: var(--lh-2xl); margin-bottom: var(--s-100); }
.variant__focus { margin: var(--s-200) 0 var(--s-300); font-weight: 500; color: var(--ink); }

.tabs__list {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-50);
  margin-bottom: var(--s-600);
  padding: var(--s-50);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--white);
}
.tabs__list[hidden] { display: none; }
.tabs__tab {                                                                                  /* Title 4 */
  min-height: 40px;
  padding: var(--s-75) var(--s-200);
  border: 0;
  border-radius: var(--r-lg);        /* 12 − 4 */
  background: transparent;
  color: var(--stone);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  font-weight: 500;
  transition: background-color var(--dur-fade) var(--ease), color var(--dur-fade) var(--ease);
}
.tabs__tab:hover { color: var(--ink); background: var(--paper); }
.tabs__tab[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.tabs__panel + .tabs__panel { margin-top: var(--s-600); padding-top: var(--s-600); border-top: 1px solid var(--line); }
.tabs--ready .tabs__panel + .tabs__panel { margin-top: 0; padding-top: 0; border-top: 0; }
.tabs__panel[hidden] { display: none; }
.tabs__panel:not([hidden]) { animation: faq-in var(--dur) var(--ease); }

/* ==========================================================================
   13. PHOTOGRAPHY, SCENES, VIDEO
   ========================================================================== */
.media { position: relative; width: 100%; max-width: 520px; margin-inline: auto; }
.media .photo { display: block; width: 100%; height: auto; border-radius: var(--r-lg); background: var(--sand); }
@media (min-width: 1024px) {
  .hero__product .media { margin-right: 0; }
}
.stack-media { display: grid; gap: var(--s-300); align-content: start; }
.stack-media .media { max-width: none; }

.scene--card { padding: var(--s-200); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); color: var(--graphite); }
.scene__label { display: flex; align-items: center; gap: var(--s-75); margin-bottom: var(--s-100); font-size: var(--text-xs); line-height: var(--lh-xs); font-weight: 600; color: var(--ash); }
.tick { display: inline-block; position: relative; width: 16px; height: 16px; margin-right: var(--s-75); border-radius: var(--r-full); background: var(--eucalypt); vertical-align: -3px; }
.tick::after { content: ""; position: absolute; left: 5px; top: 3px; width: 4px; height: 7px; border: solid var(--white); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Order Board (Cloud110 OrderChess System) */
.board {
  position: relative;
  max-width: 880px;
  margin: var(--s-500) auto 0;
  padding: var(--s-200);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--paper);
}
.section--subtle .board { background: var(--white); }
.board__lanes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-100); min-height: 196px; }
.board__head {
  display: flex;
  align-items: center;
  gap: var(--s-75);
  margin: 0 0 var(--s-100);
  padding: var(--s-75) var(--s-100);
  border: 1px solid var(--line);
  border-radius: var(--r);           /* 12 − 8 */
  background: var(--white);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  font-weight: 600;
  color: var(--ink);
}
.board__head span { width: 8px; height: 8px; border-radius: var(--r-full); background: var(--lane); }
.board__lane--new { --lane: #B98A2E; }
.board__lane--prep { --lane: var(--ochre); }
.board__lane--ready { --lane: var(--eucalypt); }
.board__ticket {
  display: grid;
  gap: var(--s-25);
  padding: var(--s-100);
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--white);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  color: var(--stone);
  box-shadow: inset 0 3px 0 var(--lane, var(--ochre));
}
.board__ticket b { font-variant-numeric: tabular-nums; font-size: var(--text-base); line-height: var(--lh-base); color: var(--ink); }
.board__ticket small { color: var(--ash); margin-bottom: var(--s-50); }
.board__mover { position: absolute; left: var(--s-200); top: calc(var(--s-200) + 46px); width: calc((100% - var(--s-200) * 2 - var(--s-100) * 2) / 3); }
.board__ticket--move { --lane: #B98A2E; }
@media (max-width: 640px) {
  .board__ticket small, .board__ticket i:nth-of-type(2) { display: none; }
  .board__head { font-size: var(--text-xs); line-height: var(--lh-xs); padding: var(--s-50) var(--s-75); }
}
@media (prefers-reduced-motion: no-preference) {
  .scene.is-live [style*="--i"] { animation: seq-in 9s var(--ease) infinite both; animation-delay: calc(var(--i) * 0.28s); }
  .scene.is-live .board__mover { animation: board-move 9s var(--ease) infinite; }
  .scene.is-live .board__ticket--move { animation: board-lane 9s steps(1, end) infinite; }
}
@keyframes seq-in {
  0% { opacity: 0; transform: translateY(6px); }
  10%, 86% { opacity: 1; transform: none; }
  96%, 100% { opacity: 0; transform: none; }
}
@keyframes board-move {
  0% { transform: translateX(0) scale(0.96); opacity: 0; }
  6%, 30% { transform: translateX(0) scale(1); opacity: 1; }
  40%, 62% { transform: translateX(calc(100% + 12px)) translateY(118px); opacity: 1; }
  72%, 92% { transform: translateX(calc(200% + 24px)) translateY(118px); opacity: 1; }
  100% { transform: translateX(calc(200% + 24px)) translateY(118px); opacity: 0; }
}
@keyframes board-lane {
  0% { box-shadow: inset 0 3px 0 #B98A2E; }
  36% { box-shadow: inset 0 3px 0 #9A4F1F; }
  68% { box-shadow: inset 0 3px 0 #3C6A55; }
}

/* Homepage software section */
.featured-product .checks { margin-top: var(--s-300); }
.featured-product__actions { display: flex; flex-wrap: wrap; gap: var(--s-100); margin-top: var(--s-400); }

/* Add-on with a wide screenshot under its text */
.addon--wide { grid-template-columns: 1fr; }

/* Promotional video */
.section--video { padding-top: 0; }
/* Homepage: "What Cloud110 does" sits between the rooms and the video, with
   less air than a standard section so all three reach the first screen. */
.section--weave-band { padding-block: var(--s-500); }
.section--video-after-hero { padding-top: var(--s-700); padding-bottom: 0; }
.video { margin: 0 auto; max-width: 960px; }
.video__frame {
  position: relative;
  aspect-ratio: var(--video-ratio, 16 / 9);
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--ink-surface);
}
.video__player { display: block; width: 100%; height: 100%; object-fit: contain; background: var(--ink-surface); }
.video__player::cue { font-family: var(--font-body); background: rgba(21, 18, 14, 0.84); }
.video__fallback { padding: var(--s-300); color: var(--on-ink); }
.video__fallback a { color: var(--flame); }
.video__frame--tall { display: none; }
.video__transcript { margin-top: var(--s-200); font-size: var(--text-sm); line-height: var(--lh-sm); }
.video__transcript summary {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-weight: 600;
  color: var(--ember-text);
  list-style: none;
  cursor: pointer;
}
.video__transcript summary::-webkit-details-marker { display: none; }
.video__transcript summary::before {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(-45deg);
  transition: transform var(--dur) var(--ease);
}
.video__transcript[open] summary::before { transform: rotate(45deg); }
.video__transcript-body { margin-top: var(--s-100); padding: var(--s-200) var(--s-300); border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); color: var(--stone); max-width: 68ch; }
.video__transcript-body p + p { margin-top: var(--s-75); }
@media (max-width: 599px) {
  .video--pair .video__frame--wide { display: none; }
  .video--pair .video__frame--tall { display: block; width: min(100%, calc(78svh * 9 / 16)); margin-inline: auto; }
}

/* ==========================================================================
   14. TAGLINE REVEAL
   The brand line set large, on its own. Each word moves from a muted tone
   to full ink as it crosses a line two thirds of the way up the screen.
   ========================================================================== */
.tagline { padding-block: var(--s-900); }
.tagline__text {
  max-width: 680px;
  font-size: var(--text-6xl);                 /* Heading 1 */
  line-height: var(--lh-6xl);
  font-weight: 600;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
}
.tagline__word { display: inline-block; transition: color var(--dur-reveal) var(--ease); }
.tagline.is-armed .tagline__word { color: rgba(21, 18, 14, 0.3); }
.tagline.is-armed .tagline__word.is-lit { color: var(--ink); }
@media (max-width: 767px) {
  .tagline { padding-block: var(--s-700); }
  .tagline__text { font-size: var(--text-5xl); line-height: var(--lh-5xl); }  /* Heading 2 */
}

/* ==========================================================================
   15. CALL TO ACTION AND FOOTER
   ========================================================================== */
.cta-band {
  position: relative;
  padding: var(--s-700) var(--s-600);
  border-radius: var(--r-2xl);
  background: #EDE6DC;              /* light warm stone: a calm close, the ember stays in the button */
  border: 1px solid #E0D7CA;
  color: var(--ink);
}
.cta-band__glow { display: none; }
.cta-band__inner { display: grid; gap: var(--s-400); align-items: end; }
@media (min-width: 1024px) { .cta-band__inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--s-700); } }
.cta-band h2 { color: var(--ink); max-width: 20ch; }
.cta-band p { margin-top: var(--s-200); max-width: 60ch; color: var(--stone); }
.cta-band .btn--on-ink { background: var(--ember); color: var(--ink); }
.cta-band .btn--on-ink:hover { background: var(--ember-hover); color: var(--ink); }
.cta-band .btn--outline-ink { border-color: var(--ink); color: var(--ink); }
.cta-band .btn--outline-ink:hover { background: rgba(21, 21, 21, 0.08); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: var(--s-100); }
@media (max-width: 767px) {
  .cta-band { padding: var(--s-500) var(--s-300); border-radius: var(--r-xl); }
  .cta-band__actions .btn { width: 100%; }
}

.site-footer { padding: var(--s-800) 0 var(--s-400); background: var(--ink-surface); color: var(--on-ink-2); }
.footer__top { display: grid; gap: var(--s-500) var(--s-400); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.footer__top > :first-child { grid-column: 1 / -1; max-width: 360px; }
@media (min-width: 1024px) {
  .footer__top { grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); }
  .footer__top > :first-child { grid-column: auto; }
  /* Five link columns when the blog column is present: the brand block takes
     its own row until there is room for all six side by side. */
  .footer__top:has(> :nth-child(6)) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .footer__top:has(> :nth-child(6)) > :first-child { grid-column: 1 / -1; }
}
@media (min-width: 1280px) {
  .footer__top:has(> :nth-child(6)) { grid-template-columns: minmax(0, 1.5fr) repeat(5, minmax(0, 1fr)); }
  .footer__top:has(> :nth-child(6)) > :first-child { grid-column: auto; }
}
.footer__brand-text { margin-top: var(--s-200); font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--on-ink-muted); }
.footer__tagline { margin-top: var(--s-300); font-size: var(--text-lg); line-height: var(--lh-lg); font-weight: 500; color: var(--on-ink); letter-spacing: -0.01em; }   /* Title 2 */
.footer__col-title {                                                                          /* Caption 3 */
  margin-bottom: var(--s-200);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-ink-muted);
}
.footer__links { display: grid; gap: var(--s-100); padding: 0; list-style: none; }
.footer__links a {
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--on-ink-2);
  text-decoration: none;
  transition: color var(--dur-fade) var(--ease);
  overflow-wrap: anywhere;
}
.footer__links a:hover { color: var(--on-ink); text-decoration: underline; }
.site-footer .text-sm { font-size: var(--text-sm); line-height: var(--lh-sm); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-200);
  margin-top: var(--s-700);
  padding-top: var(--s-300);
  border-top: 1px solid var(--line-on-ink);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  color: var(--on-ink-muted);
}
.footer__legal { display: flex; gap: var(--s-300); }
.footer__legal a { color: var(--on-ink-muted); text-decoration: none; }
.footer__legal a:hover { color: var(--on-ink); text-decoration: underline; }

/* Not-found page */
.notfound { padding-block: var(--s-900); }
.notfound__code { font-family: var(--font-mono); font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--ember-text); }

/* ==========================================================================
   16. BLOG
   Listing cards, the article shell (key points, prose, common questions,
   sources) and the "Further reading" row used on service pages. Same
   hairline-and-ivory language as the rest of the site; ember only for
   labels, links and the featured mark.
   ========================================================================== */
.post-grid { display: grid; gap: var(--s-300); grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }

.post {
  display: flex;
  flex-direction: column;
  gap: var(--s-100);
  min-width: 0;
  padding: var(--s-400);
  border-radius: var(--r-lg);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line);
  color: var(--graphite);
  text-decoration: none;
  transition: box-shadow var(--dur-fade) var(--ease);
}
.section--subtle .post { background: var(--paper); }
.post:hover { color: var(--graphite); box-shadow: 0 0 0 1px var(--line-strong), var(--shadow-float); }
.post:hover .post__title { color: var(--ember-text); }
.post:hover .post__more svg { transform: translateX(4px); }
.post:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.post__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-75) var(--s-200); }
.post__title {                                                                               /* Heading 6 */
  font-size: var(--text-xl);
  line-height: var(--lh-xl);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-wrap: balance;
  transition: color var(--dur-fade) var(--ease);
}
.post__excerpt { color: var(--stone); }
.post__date { font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--ash); }
.post__more {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  margin-top: auto;
  padding-top: var(--s-100);
  font-weight: 600;
  color: var(--ember-text);
}
.post__more svg { width: 16px; height: 16px; flex: none; transition: transform var(--dur) var(--ease); }

.pill {                                                                                      /* Caption 3 */
  display: inline-flex;
  align-items: center;
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-full);
  background: var(--ember-tint);
  color: var(--ember-text);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.post--feature { padding: 0; overflow: hidden; display: grid; gap: 0; }
.post__figure {
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: var(--s-500);
  background: var(--band-bg);
  color: var(--band-mark);
}
.post__figure svg { width: min(180px, 50%); height: auto; }
.post__content { display: flex; flex-direction: column; gap: var(--s-200); padding: var(--s-400); min-width: 0; }
.post--feature .post__title { font-size: var(--text-3xl); line-height: var(--lh-3xl); letter-spacing: -0.02em; max-width: 24ch; }
.post--feature .post__excerpt { font-size: var(--text-lg); line-height: var(--lh-lg); max-width: 60ch; }
@media (min-width: 900px) {
  .post--feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .post__figure { min-height: 360px; }
  .post__figure svg { width: min(220px, 60%); }
  .post--feature .post__content { justify-content: center; padding: var(--s-600); }
}

/* Featured images (articles from Nov 2026): 1200 x 630 illustrations that
   double as the social sharing image. */
.post__figure--photo { padding: 0; background: #FAF8F5; overflow: hidden; min-height: 0; }
.post__figure--photo picture { display: block; width: 100%; }
.post__figure--photo img { display: block; width: 100%; height: auto; }
.hero__product .post-figure {
  display: block; width: 100%; height: auto;
  border-radius: var(--r-lg);
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -24px rgba(28, 24, 20, 0.35);
}

.topic { display: flex; flex-direction: column; gap: var(--s-100); padding-top: var(--s-300); border-top: 1px solid var(--line-strong); min-width: 0; }
.topic__title { font-size: var(--text-xl); line-height: var(--lh-xl); }
.topic__body { color: var(--stone); }
.topic__link { margin-top: var(--s-75); }
.topic__count { font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--ash); }

/* Article shell */
.section--article { padding-top: var(--s-600); }
.article-layout { display: grid; gap: var(--s-500); }
.article-layout > * { min-width: 0; }
.article-layout > .anchor-nav { order: -1; margin-bottom: 0; }
@media (min-width: 1024px) {
  .article-layout { grid-template-columns: minmax(0, 1fr) 240px; gap: var(--s-800); align-items: start; }
  .article-layout > .anchor-nav { order: 0; }
}
.article { max-width: 72ch; }
.article__meta {                                                                             /* Body 6 */
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-50) var(--s-200);
  padding-bottom: var(--s-300);
  border-bottom: 1px solid var(--line);
  font-size: var(--text-sm);
  line-height: var(--lh-sm);
  color: var(--ash);
}
.article__meta span:first-child { color: var(--ember-text); font-weight: 600; }

.key-points {
  margin-block: var(--s-400) var(--s-500);
  padding: var(--s-300) var(--s-400);
  border-left: 3px solid var(--ember);
  border-radius: 0 var(--r-lg) var(--r-lg) 0;
  background: var(--sand);
}
.key-points__title {                                                                         /* Caption 3 */
  margin-bottom: var(--s-100);
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ember-text);
}
.key-points ul { display: grid; gap: var(--s-100); padding: 0; list-style: none; }
.key-points li { position: relative; padding-left: var(--s-300); color: var(--graphite); }
.key-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: var(--r-full);
  background: var(--ember);
}

.article .prose { max-width: none; font-size: var(--text-lg); line-height: var(--lh-lg); }
.article .prose h2 { scroll-margin-top: calc(var(--header-h) + var(--s-300)); }
.article .prose h3 { font-size: var(--text-xl); line-height: var(--lh-xl); }
.prose dl { display: grid; gap: var(--s-50); }
.prose dt { margin-top: var(--s-200); font-weight: 600; color: var(--ink); }
.prose dt:first-child { margin-top: 0; }
.prose dd { color: var(--stone); }
.prose .table-wrap { margin-block: var(--s-300); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); line-height: var(--lh-sm); }
.prose th, .prose td { padding: var(--s-200); border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.prose thead th {                                                                            /* Caption 3 */
  font-size: var(--text-xs);
  line-height: var(--lh-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ash);
  background: var(--paper);
}
.prose td { color: var(--stone); }
.prose td strong { color: var(--ink); }
.prose tbody tr:last-child td { border-bottom: 0; }
.prose .callout { font-size: var(--text-base); line-height: var(--lh-base); }
.prose .text-sm { font-size: var(--text-sm); line-height: var(--lh-sm); }

.article-faq { border-top: 1px solid var(--line-strong); }
.article-faq__item { padding-block: var(--s-300); border-bottom: 1px solid var(--line); }
.prose .article-faq__item h3 { margin-top: 0; font-size: var(--text-lg); line-height: var(--lh-lg); }
.article-faq__item p { margin-top: var(--s-75); color: var(--stone); }

.sources { margin-top: var(--s-700); padding-top: var(--s-400); border-top: 1px solid var(--line-strong); }
.sources h2 { font-size: var(--text-xl); line-height: var(--lh-xl); }
.sources ol { display: grid; gap: var(--s-100); margin-top: var(--s-200); padding-left: var(--s-300); font-size: var(--text-sm); line-height: var(--lh-sm); color: var(--stone); }
.sources a { overflow-wrap: anywhere; }

/* "Further reading" row on service pages */
.reading__head { display: flex; flex-direction: column; gap: var(--s-75); margin-bottom: var(--s-400); }
.reading__head h2 { font-size: var(--text-3xl); line-height: var(--lh-3xl); }
.reading__list { list-style: none; padding: 0; border-top: 1px solid var(--line-strong); }
.reading__list li { border-bottom: 1px solid var(--line); }
.reading__link {
  display: grid;
  gap: var(--s-75);
  padding-block: var(--s-300);
  color: var(--graphite);
  text-decoration: none;
}
.reading__title { font-size: var(--text-xl); line-height: var(--lh-xl); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; transition: color var(--dur-fade) var(--ease); }
.reading__excerpt { color: var(--stone); max-width: 70ch; }
.reading__meta { display: inline-flex; align-items: center; gap: var(--s-75); font-size: var(--text-sm); line-height: var(--lh-sm); font-weight: 600; color: var(--ember-text); }
.reading__meta svg { width: 16px; height: 16px; transition: transform var(--dur) var(--ease); }
.reading__link:hover { color: var(--graphite); }
.reading__link:hover .reading__title { color: var(--ember-text); }
.reading__link:hover .reading__meta svg { transform: translateX(4px); }
@media (min-width: 900px) {
  .reading__link { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr) auto; align-items: baseline; gap: var(--s-400); }
}
.reading__all { margin-top: var(--s-300); }

/* ==========================================================================
   17. MOTION, ACCESSIBILITY, PRINT
   ========================================================================== */

/* Scroll reveal: a 32px rise and fade on the base curve, once per element.
   cloud110.js adds data-reveal only when motion is allowed, so without
   script, or with reduced motion, everything is simply visible. */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--s-400));
  transition: opacity var(--dur-reveal) var(--ease), transform var(--dur-reveal) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }

:focus-visible { outline: 2px solid var(--ember-text); outline-offset: 2px; }
.section--ink :focus-visible, .site-footer :focus-visible, .site-header :focus-visible, .hero :focus-visible, .plan--ink :focus-visible, .svc-open :focus-visible { outline-color: var(--flame); }
.faq__q:focus-visible, .nav__link:focus-visible { outline-offset: 0; }
.mega :focus-visible { outline-color: var(--ember-text); }
.cta-band :focus-visible { outline-color: var(--ember-text); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

@media (prefers-contrast: more) {
  :root { --stone: #3F3C35; --ash: #4E4A43; --line: #A39C8D; }
}

/* A long button label with nowrap sets the min-content width of its column,
   which can push a narrow layout wider than the viewport. */
@media (max-width: 439px) { .btn { white-space: normal; text-wrap: balance; } }

@media print {
  .site-header, .site-footer, .nav, .cta-band, .video, .section--video { display: none !important; }
  main { padding-top: 0; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .hero h1 { background: none; color: #000; -webkit-text-fill-color: #000; }
  .section { padding-block: 1rem; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #555; }
}
