/* Shared base: used by the public site and the content editor. */
:root {
  color-scheme: light;
  --ink: #322821;
  --muted: #66574e;
  --accent: #aa4b34;
  --accent-dark: #873721;
  --paper: #fffdf9;
  --cream: #fbf4eb;
  --wash: #f8ebdf;
  --line: #e9dbcf;
  --white: #fff;
  --font: 'IBM Plex Sans Arabic', 'Geeza Pro', Tahoma, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font: 400 1rem/1.65 var(--font); background: var(--paper); color: var(--ink); }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.22; font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.5vw, 3.2rem); letter-spacing: -.035em; }
h3 { font-size: 1.4rem; }
p { color: var(--muted); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
.shell { width: min(1280px, calc(100% - 128px)); margin-inline: auto; }
.skip { position: fixed; top: .75rem; inset-inline-start: 1rem; z-index: 60; padding: .6rem 1rem; color: white; background: var(--ink); transform: translateY(-160%); }
.skip:focus { transform: none; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.brand { display: inline-flex; align-items: center; gap: .65rem; flex: 0 0 auto; width: fit-content; }
.brand-mark { width: 34px; height: 34px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 2px; direction: ltr; transform: rotate(-12deg); color: var(--accent); }
.brand-mark i { background: currentColor; border-radius: 90% 90% 16% 90%; }
.brand-mark i:nth-child(2) { transform: rotate(90deg); opacity: .8; }
.brand-mark i:nth-child(3) { transform: rotate(-90deg); opacity: .8; }
.brand-mark i:nth-child(4) { transform: rotate(180deg); }
.brand-name { display: grid; }
.brand-name strong { font-size: 1.55rem; line-height: 1.18; letter-spacing: -.06em; }
.brand-name small { font-size: .55rem; font-weight: 700; letter-spacing: .16em; text-align: right; margin-top: .23rem; color: var(--accent); }
.button { display: inline-flex; min-height: 50px; padding: .68rem 1.33rem; border: 2px solid transparent; border-radius: 6px; align-items: center; justify-content: center; gap: .5rem; font-weight: 700; font-size: .98rem; line-height: 1.35; text-align: center; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.button.primary { background: var(--accent); color: #fff; }
.button.primary:hover { background: var(--accent-dark); }
.button.outline { border-color: var(--accent); color: var(--accent-dark); background: transparent; }
.button.outline:hover { background: var(--accent); color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--accent-dark); font-weight: 700; }
.text-link:hover { text-decoration: underline; text-underline-offset: .25em; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
label { display: grid; gap: .4rem; font-weight: 600; }
input:not([type="checkbox"]), textarea, select { width: 100%; border: 1px solid #cfbeb0; background: var(--white); color: var(--ink); border-radius: 6px; min-height: 45px; padding: .6rem .74rem; }
select { appearance: none; padding-inline-end: 2rem; background-image: linear-gradient(45deg,transparent 50%,var(--muted) 50%),linear-gradient(135deg,var(--muted) 50%,transparent 50%); background-position: left 12px center,left 17px center; background-size: 5px 5px; background-repeat: no-repeat; }
textarea { resize: vertical; }
.notice { padding: .68rem .8rem; background: #f9e7e1; border: 1px solid #d8ada2; border-radius: 8px; color: #733323; margin-block-end: .6rem; }
.notice.success { color: #285538; background: #e9f1e5; border-color: #bbceba; }
.trap { position: absolute; inset-inline-start: -10000px; max-width: 1px; }

/* Public site, matching the colours and shapes of zatshalabi.com. */
.site-body {
  --bg: #fdf7f2;
  --fg: #0a0a0a;
  --primary: #c3612c;
  --primary-dark: #a54f22;
  --secondary: #e7a636;
  --teal: #2d7c7c;
  --sand: #f0e8db;
  --sand-text: #7b6656;
  --border: #e6d6c7;
  --ink: var(--fg);
  --muted: var(--sand-text);
  --accent: var(--primary);
  --accent-dark: var(--primary-dark);
  --paper: var(--bg);
  --cream: var(--sand);
  --line: var(--border);
  --shadow-sm: 0 1px 3px #0000001a, 0 1px 2px -1px #0000001a;
  --shadow-md: 0 1px 3px #0000001a, 0 2px 4px -1px #0000001a;
  --shadow-lg: 0 10px 25px -5px #0000001f, 0 4px 6px -2px #0000000d;
  --shadow-xl: 0 20px 35px -10px #00000033;
  --site-header-height: 81px;
  --font: 'Cairo', -apple-system, BlinkMacSystemFont, 'Geeza Pro', sans-serif;
  background: var(--bg);
  line-height: 1.6;
}
.site-body h1, .site-body h2, .site-body h3 { color: var(--fg); font-weight: 900; letter-spacing: normal; }
.site-body h2 { font-size: clamp(1.875rem, 3.2vw, 2.5rem); line-height: 1.25; }
.site-body h3 { font-size: 1.25rem; line-height: 1.4; }
.site-body ::selection { background: #c3612c33; }
.icon { width: 1.5rem; height: 1.5rem; flex: 0 0 auto; }
.icon.arrow { width: 1.1rem; height: 1.1rem; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--border); background: #fdf7f2cc; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.header-inner { display: flex; min-height: calc(var(--site-header-height) - 1px); align-items: center; justify-content: space-between; gap: 24px; }
.header-logo img { width: 134px; height: 48px; object-fit: contain; object-position: right center; }
.desktop-nav { display: flex; align-items: center; gap: 2rem; }
.desktop-nav > a { position: relative; font-size: .875rem; font-weight: 600; color: var(--fg); padding-block: 1.2rem; transition: color .2s; }
.desktop-nav > a::after { content: ''; position: absolute; right: 0; bottom: .95rem; height: 2px; width: 0; background: var(--primary); transition: width .3s; }
.desktop-nav > a:hover, .desktop-nav [aria-current] { color: var(--primary); }
.desktop-nav > a:hover::after, .desktop-nav [aria-current]::after { width: 100%; }
.mobile-nav { display: none; }

/* Buttons */
.site-body .button { min-height: 52px; padding: .875rem 1.75rem; border-radius: 999px; font-size: 1rem; }
.site-body .button.primary { background: var(--primary); box-shadow: var(--shadow-lg); }
.site-body .button.primary:hover { background: #c3612ce6; box-shadow: var(--shadow-xl); transform: translateY(-2px); }
.site-body .button.outline { border-color: var(--primary); color: var(--primary); }
.site-body .button.outline:hover { background: var(--primary); color: #fff; }
.site-body .button.outline.quiet { border-color: var(--border); color: var(--fg); }
.site-body .button.outline.quiet:hover { background: transparent; border-color: var(--primary); color: var(--primary); }
.site-body .button.light { background: var(--bg); color: var(--fg); box-shadow: var(--shadow-lg); }
.site-body .button.light:hover { background: var(--sand); transform: translateY(-2px); }
.site-body .button.large { min-height: 60px; padding-inline: 2.5rem; font-size: 1.125rem; }
.site-body .button.small, .site-body .header-cta { min-height: 42px; padding: .6rem 1.25rem; font-size: .875rem; box-shadow: var(--shadow-sm); }
.site-body .button.small:hover, .site-body .header-cta:hover { transform: none; box-shadow: var(--shadow-md); }
.actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-block-start: 2rem; }
.centered .actions { justify-content: center; }

/* Labels and section headings */
.eyebrow { display: inline-block; color: var(--primary); font-size: .875rem; font-weight: 700; }
.eyebrow.pill { padding: .375rem 1rem; border-radius: 999px; background: #c3612c1a; }
.section { padding-block: 6rem; }
.site-body main [id] { scroll-margin-block-start: var(--site-header-height); }
.section-intro h2 { margin-block-start: .5rem; }
.section-intro p { margin-block-start: 1rem; max-width: 40rem; font-size: 1.125rem; }
.centered { text-align: center; }
.centered .section-intro p, .centered > p { margin-inline: auto; }
.narrow { max-width: 48rem; }
.centered.narrow { display: flex; flex-direction: column; align-items: center; }
.centered.narrow > h2 { margin-block: 1.25rem 1rem; }
.centered.narrow > p { font-size: 1.125rem; margin-block-end: 2rem; }
.centered.narrow > .actions { margin-block-start: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 1.25rem; margin-block-end: 2rem; }
.list-title { margin-block-end: 2.5rem; }

/* Bands */
.band-muted { background: var(--sand); }
.band-accent { background: var(--teal); color: #fff; }
.band-primary { background: var(--primary); color: #fff; }
.band-accent h2, .band-primary h2, .band-accent p, .band-primary p { color: #fff; }
.band-accent p, .band-primary p { opacity: .85; }
.cta-band, .page-hero, .hero { position: relative; overflow: hidden; isolation: isolate; }
.blob { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero .blob-a, .page-hero .blob-a { top: -80px; left: -80px; width: 400px; height: 400px; background: var(--primary); opacity: .2; }
.hero .blob-b, .page-hero .blob-b { bottom: -60px; right: -60px; width: 300px; height: 300px; background: var(--secondary); opacity: .15; }
.hero .blob-c { top: 50%; left: 33%; width: 200px; height: 200px; background: var(--teal); opacity: .1; }
.cta-band .blob-a { left: -100px; top: 50%; width: 500px; height: 500px; transform: translateY(-50%); background: var(--primary); opacity: .15; }

/* Home hero */
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; align-items: center; min-height: calc(90svh - var(--site-header-height)); padding-block: 4rem; }
.hero-inner.hero-text-only { grid-template-columns: minmax(0, 1fr); }
.hero-copy { min-width: 0; }
.hero h1 { margin-block: 1.5rem; font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1.1; overflow-wrap: anywhere; }
.hero h1 span { display: block; color: var(--primary); }
.hero-copy > p { max-width: 34rem; font-size: 1.2rem; line-height: 1.75; }
.hero-visual { position: relative; justify-self: center; width: min(100%, 24rem); aspect-ratio: 1; }
.ring { position: absolute; z-index: -1; }
.ring-a { inset: -20px; border-radius: 60% 40% 55% 45% / 45% 55% 40% 60%; background: var(--primary); opacity: .3; }
.ring-b { inset: -10px; border-radius: 55% 45% 60% 40% / 40% 60% 45% 55%; background: var(--secondary); opacity: .2; }
.hero-image { width: 100%; height: 100%; overflow: hidden; border: 4px solid var(--bg); border-radius: 50%; box-shadow: 0 25px 50px -12px #00000040; }
.hero-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }

/* Inner page heroes */
.page-hero { padding-block: clamp(5rem, 8vw, 7rem); }
.page-hero-inner { max-width: 48rem; text-align: center; display: flex; flex-direction: column; align-items: center; }
.page-hero h1 { margin-block: 1.25rem 1.25rem; font-size: clamp(2.5rem, 5vw, 3.75rem); line-height: 1.15; overflow-wrap: anywhere; }
.page-hero-inner > p { font-size: 1.2rem; line-height: 1.75; }
.page-hero-inner .actions { justify-content: center; }
.about-hero .split { text-align: start; }
.about-hero h1 { margin-block: 1.25rem .5rem; }
.subtitle { color: var(--primary); font-size: 1.25rem; font-weight: 700; margin-block-end: 1.5rem; }
.portrait { justify-self: center; width: min(100%, 20rem); aspect-ratio: 5 / 6; overflow: hidden; border: 4px solid var(--bg); border-radius: 1.5rem; box-shadow: 0 25px 50px -12px #00000040; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }

/* Layout helpers */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; align-items: center; }
.split.top { align-items: start; gap: 3.5rem; }
.split > div > h2 { margin-block: .5rem 1.5rem; }
.three-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; margin-block-start: 3rem; }
.list-title + .three-columns { margin-block-start: 0; }
.card { background: var(--bg); border-radius: 1.5rem; padding: 2rem; box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.card:hover { box-shadow: var(--shadow-md); }
.card h3 { margin-block: 1rem .5rem; }
.prose p { margin-block-end: 1rem; font-size: 1.125rem; line-height: 1.8; overflow-wrap: anywhere; }

/* Icons in rounded boxes */
.icon-box { display: inline-grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 1rem; background: #ffffff33; }
.icon-box.soft { width: 3rem; height: 3rem; }
.icon-box.soft.tone-primary { background: #c3612c1a; color: var(--primary); }
.icon-box.soft.tone-accent { background: #2d7c7c1a; color: var(--teal); }
.icon-box.soft.tone-secondary { background: #e7a63633; color: var(--fg); }

/* Home: about band and stats */
.about-copy h2 { margin-block: .5rem 1.5rem; }
.about-copy .text-link { margin-block-start: .5rem; }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.stats > div { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 1.5rem; border-radius: 1rem; background: var(--bg); box-shadow: var(--shadow-sm); text-align: center; }
.stats dd { color: var(--primary); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.1; font-weight: 900; }
.stats dt { color: var(--sand-text); font-size: .875rem; font-weight: 600; }

/* Home: service cards */
.service-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-block-start: 3.5rem; }
.service-card { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: 1.5rem; box-shadow: var(--shadow-md); transition: box-shadow .3s; }
.service-card:hover { box-shadow: var(--shadow-xl); }
.service-card h3 { font-size: 1.5rem; }
.service-card .more { display: inline-flex; align-items: center; gap: .4rem; margin-block-start: auto; font-weight: 700; }
.service-card:hover .more .arrow { transform: translateX(-4px); }
.more .arrow { transition: transform .2s; }
.tone-primary { background: var(--primary); color: #fff; }
.tone-accent { background: var(--teal); color: #fff; }
.tone-secondary { background: var(--secondary); color: var(--fg); }
.tone-muted { background: var(--sand); color: var(--fg); }
.tone-dark { background: var(--fg); color: var(--bg); }
.tone-primary h2, .tone-primary h3, .tone-primary p, .tone-accent h2, .tone-accent h3, .tone-accent p, .tone-dark h2, .tone-dark h3, .tone-dark p { color: inherit; }
.tone-primary p, .tone-accent p, .tone-dark p { opacity: .9; }
.tone-secondary p, .tone-muted p { color: #3d342d; }
.tone-muted .icon-box { background: #c3612c1a; color: var(--primary); }

/* Home: positive discipline skills */
.band-accent .section-intro p { margin-inline: auto; }
.skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; max-width: 56rem; margin: 3.5rem auto 3rem; padding: 0; list-style: none; }
.skills li { display: flex; flex-direction: column; align-items: center; gap: .75rem; padding: 1.5rem; border-radius: 1rem; background: #ffffff1a; box-shadow: var(--shadow-sm); font-size: 1.1rem; font-weight: 700; }
.skills li:nth-child(3n + 2) { background: #ffffff26; }
.skills li:nth-child(3n) { background: #ffffff0d; }
.skill-symbol { font-size: 2.25rem; line-height: 1; }
.skill-symbol:empty { display: none; }

/* Home: testimonials */
.quotes figure { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: 1.5rem; background: var(--sand); box-shadow: var(--shadow-sm); text-align: start; transition: box-shadow .3s; }
.quotes figure:hover { box-shadow: var(--shadow-md); }
.quote-mark { color: var(--primary); font-size: 4rem; font-weight: 900; line-height: .7; opacity: .4; }
.quotes blockquote { flex: 1; margin: 0; color: var(--fg); font-size: 1.05rem; line-height: 1.8; }
.quotes figcaption { display: grid; padding-block-start: 1rem; border-top: 1px solid var(--border); }
.quotes figcaption small { color: var(--sand-text); }

/* About */
.checklist { display: grid; gap: .75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.checklist li { display: flex; align-items: flex-start; gap: .75rem; color: var(--fg); }
.checklist .icon { width: 1.25rem; height: 1.25rem; margin-block-start: .2rem; color: var(--primary); }
.checklist.pills li { padding: 1rem 1.25rem; border-radius: 1rem; background: var(--sand); font-weight: 600; }
.timeline { position: relative; display: grid; gap: 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; }
.timeline::before { content: ''; position: absolute; top: 1rem; bottom: 1rem; right: 1.75rem; width: 2px; background: var(--border); }
.timeline li { position: relative; display: flex; align-items: center; gap: 1.25rem; }
.year { display: grid; place-items: center; flex: 0 0 3.5rem; height: 3.5rem; border-radius: 50%; font-size: .75rem; font-weight: 900; box-shadow: var(--shadow-sm); z-index: 1; }
.timeline p { color: var(--fg); font-weight: 600; }
.mission { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; padding-block: 5rem; }
.mission > div { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: 1.5rem; background: #ffffff1a; }
.mission .eyebrow { color: #fff; opacity: .8; font-size: 1rem; }
.mission p { font-size: clamp(1.15rem, 1.8vw, 1.35rem); font-weight: 700; line-height: 1.8; opacity: 1; }

/* Services */
.service-rows { display: grid; gap: 2rem; }
.service-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; overflow: hidden; border-radius: 1.5rem; background: var(--bg); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.service-row:hover { box-shadow: var(--shadow-lg); }
.service-row.reverse .service-panel { order: 2; }
.service-panel { display: flex; flex-direction: column; justify-content: center; gap: 1.25rem; min-height: 280px; padding: 2.5rem; }
.service-panel .tagline { font-size: .875rem; font-weight: 700; opacity: .85; margin-block-end: -.75rem; }
.service-panel h2 { font-size: clamp(1.6rem, 2.5vw, 1.875rem); }
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tags span { padding: .25rem .75rem; border-radius: 999px; background: #ffffff33; font-size: .75rem; font-weight: 600; }
.tone-muted .tags span, .tone-secondary .tags span { background: #0a0a0a12; }
.service-detail { display: flex; flex-direction: column; justify-content: center; padding: 2.5rem; }
.service-detail .checklist { margin-block-end: 2rem; }
.wide-photo { overflow: hidden; border-radius: 1.5rem; box-shadow: var(--shadow-xl); aspect-ratio: 16 / 9; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }
.faq { display: grid; gap: 1rem; max-width: 56rem; }
.faq .centered { margin-block-end: 2rem; }
.faq .card { border-radius: 1rem; padding: 1.5rem; }
.faq .card h3 { margin-block: 0 .5rem; font-size: 1.125rem; }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(240px, 1fr); gap: 2rem; align-items: start; }
.detail-grid .card h2 { font-size: 1.6rem; margin-block: 1rem; }
.detail-grid .card h2:first-child { margin-block-start: 0; }
.detail-aside { position: sticky; top: calc(var(--site-header-height) + 1.5rem); border-radius: 1.5rem; min-height: 0; }
.article-image { width: 100%; max-height: 440px; object-fit: cover; border-radius: 1rem; margin-block-end: 1.5rem; }

/* Blog */
.filter-bar { position: sticky; top: var(--site-header-height); z-index: 30; background: var(--bg); border-bottom: 1px solid var(--border); }
.filters { display: flex; gap: .5rem; overflow-x: auto; padding-block: 1rem; scrollbar-width: none; }
.filter { flex: 0 0 auto; padding: .375rem 1rem; border-radius: 999px; background: var(--sand); color: var(--sand-text); font-size: .875rem; font-weight: 600; transition: background-color .2s, color .2s; }
.filter:hover { background: #c3612c1a; color: var(--primary); }
.filter.active { background: var(--primary); color: #fff; }
.featured-wrap { padding-block: 4rem; }
.featured { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-block-start: 1.5rem; overflow: hidden; border-radius: 1.5rem; background: var(--sand); box-shadow: var(--shadow-md); transition: box-shadow .3s; }
.featured:hover { box-shadow: var(--shadow-xl); }
.featured-image { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.featured > div { display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: 2.5rem; }
.featured h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; color: var(--sand-text); font-size: .8rem; font-weight: 600; }
.tag { padding: .25rem .75rem; border-radius: 999px; background: #c3612c1a; color: var(--primary); font-size: .75rem; font-weight: 700; }
.post-card { display: flex; flex-direction: column; overflow: hidden; border-radius: 1.5rem; background: var(--bg); color: var(--fg); box-shadow: var(--shadow-sm); transition: box-shadow .3s; }
.post-card:hover { box-shadow: var(--shadow-lg); }
.post-strip { display: block; height: .5rem; }
.post-card.tone-primary .post-strip { background: #c3612c1a; }
.post-card.tone-accent .post-strip { background: #2d7c7c1a; }
.post-card.tone-secondary .post-strip { background: #e7a63626; }
.post-card.tone-muted .post-strip { background: var(--sand); }
.post-card .tag { background: var(--bg); border: 1px solid var(--border); }
.post-card.tone-accent .tag { color: var(--teal); }
.post-card.tone-secondary .tag { color: var(--fg); }
.post-card-body { display: flex; flex-direction: column; gap: .75rem; flex: 1; padding: 1.5rem; }
.post-card h3 { font-size: 1.125rem; }
.post-card h3 a:hover { color: var(--primary); }
.post-card p { font-size: .95rem; color: var(--sand-text); }
.post-foot { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-block-start: auto; padding-block-start: .75rem; border-top: 1px solid var(--border); font-size: .8rem; color: var(--sand-text); }
.post-foot .more { display: inline-flex; align-items: center; gap: .3rem; color: var(--primary); font-weight: 700; }
.article { max-width: 50rem; }
.article .post-meta { margin-block-end: 1.5rem; }
#newsletter .icon-box { margin-block-end: .5rem; }
.newsletter-form { width: min(100%, 28rem); }
.newsletter-form > div:not(.notice) { display: flex; gap: .75rem; }
.newsletter-form input { border-radius: 999px; padding-inline: 1.25rem; border-color: var(--border); }
.newsletter-form .button { flex: 0 0 auto; min-height: 48px; padding-inline: 1.5rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 2rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.info-card { display: flex; align-items: flex-start; gap: 1rem; padding: 1.25rem; border-radius: 1rem; background: var(--bg); box-shadow: var(--shadow-sm); }
.info-card.column { flex-direction: column; }
.info-card .icon-box.soft { width: 2.75rem; height: 2.75rem; border-radius: .75rem; flex: 0 0 auto; }
.info-card p:first-child { color: var(--fg); font-weight: 700; }
.info-card a { color: var(--primary); font-weight: 600; }
.tone-primary-card { background: var(--primary); }
.tone-primary-card p, .tone-primary-card .checklist li, .tone-primary-card .checklist .icon { color: #fff; }
.tone-primary-card .checklist { margin: 0; gap: .5rem; }
.contact-form { display: grid; gap: 1.25rem; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 1.5rem; background: var(--bg); box-shadow: var(--shadow-sm); }
.contact-form h2 { font-size: 1.5rem; }
.site-body label { font-size: .9rem; }
.site-body input:not([type="checkbox"]), .site-body textarea, .site-body select { min-height: 48px; border: 1px solid var(--border); border-radius: .75rem; background: var(--bg); padding: .75rem 1rem; transition: border-color .2s, box-shadow .2s; }
.site-body input:focus, .site-body textarea:focus, .site-body select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px #c3612c33; }
.required { color: var(--primary); }
.consent { display: flex; gap: .5rem; align-items: start; font-size: .875rem; font-weight: 400; color: var(--sand-text); }
.consent input { accent-color: var(--primary); margin-top: .3rem; }
.consent a { color: var(--primary); text-decoration: underline; }
.contact-form .button { justify-self: start; }
.steps { padding: 0; list-style: none; }
.steps li { display: flex; flex-direction: column; gap: 1rem; padding: 2rem; border-radius: 1.5rem; box-shadow: var(--shadow-md); transition: box-shadow .3s; }
.steps li:hover { box-shadow: var(--shadow-xl); }
.steps h3 { color: inherit; }
.steps p { color: inherit; opacity: .9; }
.steps .tone-secondary p { opacity: 1; }
.step-number { font-size: 3rem; font-weight: 900; line-height: 1; opacity: .35; }

/* Footer */
.footer { background: var(--fg); color: var(--bg); }
.footer-main { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; padding-block: 4rem 0; }
.footer-logo img { width: 134px; height: 48px; object-fit: contain; object-position: right center; filter: brightness(0) invert(1); }
.footer p { max-width: 23rem; margin-block: 1rem; color: #fdf7f2b3; font-size: .9rem; }
.site-body .footer h2 { color: var(--bg); font-size: 1.125rem; line-height: 1.4; margin-block-end: 1rem; }
.footer nav { display: flex; flex-direction: column; gap: .5rem; }
.footer-main a:not(.brand):not(.button) { display: block; width: fit-content; color: #fdf7f2b3; font-size: .9rem; transition: color .2s; }
.footer-main a:not(.brand):not(.button):hover { color: var(--primary); }
.footer-main .button { margin-block-start: 1rem; }
.socials { display: flex; flex-wrap: wrap; gap: .6rem; }
.socials a { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: #fdf7f21a; color: var(--bg); transition: background-color .2s; }
.socials a:hover { background: var(--primary); }
.socials .icon { width: 1rem; height: 1rem; }
.socials.square a { border-radius: .75rem; width: 2.5rem; height: 2.5rem; background: var(--sand); color: var(--fg); }
.socials.square a:hover { background: var(--primary); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-block-start: 2.5rem; padding-block: 1.5rem; border-top: 1px solid #fdf7f233; color: #fdf7f280; font-size: .75rem; }
.footer-bottom div { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-bottom a:hover { color: var(--bg); }

/* Responsive */
@media (max-width: 1100px) {
  .shell { width: calc(100% - 64px); }
  .three-columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .split, .service-row, .featured, .mission, .detail-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .service-row.reverse .service-panel { order: 0; }
  .footer-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-main > :first-child { grid-column: 1 / -1; }
  .detail-aside { position: static; }
  .featured-image { min-height: 240px; max-height: 320px; }
}
@media (max-width: 767px) {
  .shell { width: calc(100% - 32px); }
  .section { padding-block: 4rem; }
  .desktop-nav, .header-cta { display: none; }
  .mobile-nav { display: block; }
  .mobile-nav summary { display: grid; align-content: center; gap: 4px; width: 44px; height: 44px; cursor: pointer; border-radius: .5rem; list-style: none; }
  .mobile-nav summary:hover, .mobile-nav[open] summary { background: var(--sand); }
  .mobile-nav summary::-webkit-details-marker { display: none; }
  .mobile-nav summary span { width: 18px; height: 2px; background: var(--fg); margin-inline: auto; }
  .mobile-nav nav { position: absolute; top: 100%; inset-inline: 0; display: grid; max-height: calc(100dvh - var(--site-header-height)); overflow: auto; padding: .6rem 1.25rem 1rem; background: var(--bg); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg); }
  .mobile-nav nav a:not(.button) { display: flex; min-height: 44px; align-items: center; padding: .45rem .35rem; font-weight: 600; }
  .mobile-nav nav [aria-current] { color: var(--primary); }
  .mobile-nav nav .button { justify-self: start; margin-block-start: .4rem; }
  .hero-inner { grid-template-columns: minmax(0, 1fr); min-height: auto; gap: 4rem; padding-block: 3rem 4rem; }
  .hero-visual { width: min(100% - 40px, 18rem); }
  .site-body .button { min-height: 52px; }
  .service-cards, .three-columns, .field-grid { grid-template-columns: minmax(0, 1fr); }
  .service-card, .service-panel, .service-detail, .card, .featured > div { padding: 1.5rem; }
  .service-panel { min-height: 0; }
  .stats > div { padding: 1rem .5rem; }
  .mission { padding-block: 4rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom div { justify-content: center; }
}
@media (max-width: 480px) {
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-main { grid-template-columns: minmax(0, 1fr); }
  .newsletter-form > div:not(.notice) { flex-direction: column; }
  .actions .button { flex: 1 1 100%; }
}
/* Motion, matching the live site: floating background circles, scroll reveals and hover lifts. */
@keyframes float-a { 50% { scale: 1.08; rotate: 10deg; } }
@keyframes float-b { 50% { scale: 1.12; rotate: -8deg; } }
@keyframes float-c { 50% { scale: 1.15; } }
@keyframes reveal-up { from { opacity: 0; transform: translateY(40px); } }
@keyframes reveal-scale { from { opacity: 0; transform: scale(.95); } }
@keyframes reveal-side { from { opacity: 0; transform: translateX(-50px); } }
.blob-a { animation: float-a 8s ease-in-out infinite; }
.blob-b { animation: float-b 10s ease-in-out 2s infinite; }
.blob-c { animation: float-c 7s ease-in-out 1s infinite; }
.motion :is(.reveal, .reveal-scale, .reveal-side, .stagger-up > *, .stagger-scale > *):not(.is-visible) { opacity: 0; }
.motion .is-visible { animation: reveal-up .6s ease-out var(--reveal-delay, 0ms) backwards; }
.motion :is(.reveal-scale, .stagger-scale > *).is-visible { animation-name: reveal-scale; animation-duration: .5s; }
.motion .reveal-side.is-visible { animation: reveal-side .8s ease-out .3s backwards; }
.service-card, .steps li, .card, .quotes figure, .post-card, .skills li { transition: box-shadow .3s, transform .2s; }
.service-card:hover, .steps li:hover { transform: translateY(-5px); }
.card:hover, .quotes figure:hover, .post-card:hover { transform: translateY(-4px); }
.skills li:hover { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
