/* iWebMedia shared styles. All components start with their small-screen layout. */
:root {
  color-scheme: light;
  --ink: #101a2c;
  --muted: #455366;
  --blue: #1849cc;
  --violet: #5425bd;
  --brand-gradient: linear-gradient(110deg, var(--blue), var(--violet));
  --blue-dark: #19349b;
  --ice: #eff3ff;
  --paper: #f9faff;
  --warm: #f7f7fc;
  --line: #d4dce6;
  --white: #fff;
  --ring: #30278b;
  --wrap: 78rem;
  --gutter: clamp(1.1rem, 4.7vw, 4.75rem);
  --radius: 1.35rem;
  --section: clamp(3.5rem, 6.7vw, 6.25rem);
  --ui: Inter, "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --display: "Instrument Serif", "STIX Two Text", Georgia, "Times New Roman", serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 1rem/1.62 var(--ui); }
img { display: block; max-width: 100%; height: auto; }
figure, h1, h2, h3, p, ul, ol { margin: 0; }
h1, h2, h3 { font-weight: 650; line-height: 1.08; letter-spacing: -.046em; overflow-wrap: anywhere; }
h1 { font-size: clamp(2.7rem, 6.1vw, 5.55rem); }
h2 { font-size: clamp(2.05rem, 4.15vw, 3.8rem); max-width: 22ch; }
h3 { font-size: clamp(1.35rem, 2vw, 1.68rem); letter-spacing: -.032em; line-height: 1.19; }
h1 em { color: var(--blue); font-family: var(--display); font-weight: 400; letter-spacing: -.057em; }
p, ul, ol { overflow-wrap: anywhere; }
a { overflow-wrap: anywhere; color: var(--blue-dark); text-underline-offset: .22em; display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; max-width: 100%; }
a:hover { color: var(--blue); }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button, input, select, textarea, summary { min-height: 44px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ring); outline-offset: 3px; box-shadow: 0 0 0 3px white;
}
[hidden] { display: none !important; }
main:focus { outline: none; }
:target { scroll-margin-block-start: 1.35rem; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--section); }
.tinted { background: var(--ice); }
.warm { background: var(--warm); }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; min-width: 0; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: absolute; inset: .5rem auto auto .5rem; z-index: 10; padding: .5rem 1rem; background: white; border: 2px solid var(--blue); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 .75rem; min-height: 4.35rem; }
.brand { min-height: 48px; text-decoration: none; flex: 0 1 auto; }
/* Size the complete ribbon lockup without stretching its wordmark or tagline. */
.header-inner .brand { width: min(15rem, calc(100% - 7rem)); }
.footer-brand .brand { width: min(100%, 18rem); }
.wordmark { width: 100%; height: auto; }
.menu-button { align-items: center; gap: .55rem; color: var(--ink); font-weight: 650; display: inline-flex; padding: .3rem .8rem; border: 1px solid #74859c; border-radius: .65rem; background: white; }
.bars { display: grid; align-content: center; gap: 4px; width: 18px; height: 20px; }
.bars i { display: block; height: 2px; width: 18px; background: currentColor; }
.menu-button[aria-expanded="true"] .bars i:first-child { transform: translateY(6px) rotate(45deg); }
.menu-button[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.menu-button[aria-expanded="true"] .bars i:last-child { transform: translateY(-6px) rotate(-45deg); }
.primary-nav { width: 100%; display: grid; gap: .15rem; padding: .4rem 0 1.1rem; }
.nav-ready .primary-nav { display: none; }
.nav-ready.menu-open .primary-nav { display: grid; }
.primary-nav > a:not(.button) { padding-inline: .65rem; text-decoration: none; color: var(--muted); font-weight: 550; border-radius: .3rem; }
.primary-nav > a:not(.button):hover, .primary-nav > a[aria-current="page"] { color: var(--blue-dark); text-decoration: underline; text-underline-offset: .42em; }
.primary-nav .button { justify-self: start; }
.button, .text-link { gap: .62rem; text-decoration: none; font-weight: 650; }
.button { justify-content: center; min-height: 50px; padding: .72rem 1.18rem; color: white; background: var(--blue); border: 1px solid var(--blue); border-radius: .75rem; line-height: 1.35; text-align: center; }
.button:hover { color: white; background: var(--blue-dark); border-color: var(--blue-dark); }
.button-outline { background: transparent; border-color: #74859c; color: var(--ink); }
.button-outline:hover { background: var(--ice); border-color: var(--blue); color: var(--blue-dark); }
.button-white { color: var(--blue-dark); background: white; border-color: white; }
.button-white:hover { color: var(--blue-dark); background: var(--ice); border-color: var(--ice); }
.text-link { color: var(--blue-dark); }
.text-link:hover, .email-link:hover { text-decoration: underline; }
.arrow { font-family: Arial, sans-serif; font-size: 1.17em; font-weight: 400; line-height: 1; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: .72rem; align-items: center; margin-top: 1.5rem; }
.home-hero { display: grid; grid-template-columns: minmax(0,1fr); align-items: center; gap: 2rem; padding-block: clamp(2.55rem, 5.1vw, 5.15rem) clamp(2.75rem, 5.5vw, 5.6rem); }
.location { font-size: 1rem; font-weight: 600; color: var(--blue-dark); line-height: 1.4; }
.hero-copy h1 { margin-top: 1.15rem; font-size: clamp(2.78rem, 7.7vw, 6rem); letter-spacing: -.07em; line-height: .99; }
.hero-copy h1 em { display: block; line-height: 1.07; }
@media screen and (forced-colors: none) {
  @supports ((background-clip: text) or (-webkit-background-clip: text)) {
    .hero-copy h1 em {
      width: fit-content;
      max-width: 100%;
      background-image: var(--brand-gradient);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
    }
  }
}
.hero-break { display: none; }
.hero-lede { max-width: 41ch; margin-top: 1.15rem; color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.25rem); line-height: 1.52; }
.hero-price { text-decoration: none; margin-top: .55rem; font-size: 1rem; gap: .28rem; color: var(--muted); }
.hero-price:hover { text-decoration: underline; }
.hero-price strong { color: var(--ink); }
.blue-line { width: 1.55rem; height: 2px; background: var(--blue); margin-right: .35rem; }
.hero-art { align-self: center; background: white; border: 1px solid #d1dbea; border-radius: var(--radius); overflow: hidden; min-width: 0; }
.hero-art img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; }
.hero-art figcaption { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 .6rem; padding: .55rem .9rem; font-size: 1rem; color: var(--muted); }
.hero-art figcaption > span:first-child { display: inline-flex; align-items: center; gap: .5rem; color: var(--ink); font-weight: 600; }
.mini-corners { height: 13px; width: 17px; border: 1.5px solid var(--blue); border-radius: 2px; position: relative; }
.mini-corners::after { content: ''; position: absolute; right: -4px; bottom: -3px; width: 6px; height: 9px; border: 1px solid var(--blue); background: white; border-radius: 1px; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: .45rem 1.7rem; margin-bottom: clamp(1.35rem, 3vw, 2.5rem); }
.section-head h2 { margin-right: auto; }
.section-desc { max-width: 64ch; color: var(--muted); margin: -.55rem 0 1.55rem; font-size: 1.07rem; }
.services-grid, .projects-grid, .teaser-grid, .price-grid, .detail-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
.service-card, .service-detail { display: flex; flex-direction: column; align-items: start; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); background: white; padding: clamp(1.25rem, 2.45vw, 2.25rem); }
.spot-icon { display: grid; place-items: center; width: 3.1rem; height: 3.1rem; flex: none; background: #e9efff; border-radius: .78rem; margin-bottom: 1.25rem; }
.spot-icon::before { content: ''; width: 32px; height: 32px; background: url('/assets/service-icons.webp') 0 0 / 256px 32px no-repeat; }
.icon-bag::before { background-position-x: -32px; }
.icon-shield::before { background-position-x: -64px; }
.icon-search::before { background-position-x: -96px; }
.icon-chat::before { background-position-x: -128px; }
.icon-speed::before { background-position-x: -160px; }
.icon-write::before { background-position-x: -192px; }
.icon-mail::before { background-position-x: -224px; }
.service-card p, .service-detail p, .price-teaser > p:not(.amount), .project-text > p:last-of-type, .price-card > p:not(.price-line) { color: var(--muted); margin-top: .7rem; }
.service-card .text-link, .service-detail .text-link, .price-teaser .text-link { margin-top: auto; padding-top: .8rem; }
.service-card { min-height: 15rem; }
.process, .faq-layout, .care-layout, .editorial, .case-layout, .contact-layout, .legal-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 2rem; }
.process-intro p, .faq-layout > div:first-child > p { max-width: 38ch; color: var(--muted); margin-top: 1rem; }
.steps { list-style: none; padding: 0; }
.steps li { border-top: 1px solid var(--line); padding: 1.3rem 0; display: grid; grid-template-columns: 2.7rem minmax(0,1fr); gap: 1.1rem; }
.step-number { color: var(--blue-dark); display: grid; place-items: center; width: 2.7rem; height: 2.7rem; border-radius: 50%; border: 1px solid #bccbec; font-weight: 650; font-variant-numeric: tabular-nums; }
.steps li:last-child, .faq-list details:last-child { border-bottom: 1px solid var(--line); }
.steps li p { color: var(--muted); max-width: 58ch; margin-top: .4rem; }
.project-card { background: white; border-radius: var(--radius); border: 1px solid var(--line); min-width: 0; }
.project-link { display: flex; flex-direction: column; align-items: stretch; position: relative; height: 100%; width: 100%; color: var(--ink); border-radius: inherit; text-decoration: none; }
.project-link:hover { color: var(--ink); border-color: var(--blue); }
.project-link:hover .card-action { text-decoration: underline; }
.project-image { aspect-ratio: 8/5; overflow: hidden; border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0; background: var(--ice); }
/* Each company supplies its own logo artwork. Contain preserves the whole mark. */
.logo-field { display: grid; grid-template: minmax(0,1fr) / minmax(0,1fr); place-items: center; background: #fff; }
.project-image.logo-field { width: 100%; flex: none; aspect-ratio: 1.9; border-bottom: 1px solid var(--line); }
.logo-field img { display: block; width: 78%; height: 72%; min-width: 0; min-height: 0; object-fit: contain; }
.logo-field.logo-kettlejobs { background: #fd6e46; }
.logo-kettlejobs img { height: 75%; }
.logo-uk-ai-labs img { height: 64%; }
.case-logo { width: min(100%, 12rem); aspect-ratio: 2 / 1; overflow: hidden; border: 1px solid var(--line); border-radius: .85rem; margin-bottom: 1.25rem; }
.case-logo.logo-kettlejobs { border-color: #ec704f; }
.project-text { padding: 1.3rem; flex-grow: 1; display: flex; flex-direction: column; }
.project-kind { color: var(--muted); font-weight: 550; font-size: 1rem; }
.project-kind span { margin-inline: .28rem; color: #758298; }
.title-row { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-top: .5rem; }
.card-action { color: var(--blue-dark); font-weight: 650; margin-top: auto; padding-top: 1rem; }
.price-teaser, .price-card { min-width: 0; padding: clamp(1.3rem, 2.7vw, 2.2rem); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; align-items: start; }
.amount { font-size: clamp(2.55rem, 4.8vw, 3.8rem); line-height: 1.1; margin-top: .65rem; letter-spacing: -.06em; font-weight: 650; }
.after-list, .pricing-note { color: var(--muted); margin-top: 1.3rem; }
.after-list .text-link { margin-inline-start: .2rem; }
.faq-section { background: var(--paper); border-block: 1px solid #e7eae7; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; gap: 1.2rem; display: flex; align-items: center; justify-content: space-between; padding: 1.1rem 0; list-style: none; font-size: 1.12rem; font-weight: 650; line-height: 1.45; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-toggle { flex: none; }
.faq-toggle::before { content: '+'; width: 1.8rem; height: 1.8rem; flex: none; border-radius: 50%; background: #e6edfc; color: var(--blue-dark); display: grid; place-items: center; font: 500 1.4rem/1 var(--ui); }
.faq-list details[open] .faq-toggle::before { content: '−'; }
.faq-answer { padding: 0 2.1rem 1.25rem 0; color: var(--muted); }
.cta-wrap { padding-block: var(--section); }
.cta-panel { position: relative; isolation: isolate; border-radius: calc(var(--radius) + .2rem); background-color: var(--blue); background-image: var(--brand-gradient); color: #fff; padding: clamp(1.5rem, 4.7vw, 4.25rem); display: flex; gap: 1.5rem; flex-wrap: wrap; align-items: center; justify-content: space-between; }
.cta-panel h2 { max-width: 18ch; }
.cta-panel p { color: #f0f4ff; max-width: 54ch; margin-top: .82rem; }
.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, var(--paper), #f0f3fb);
  padding: clamp(2.4rem, 4.5vw, 3.75rem) 0 1.5rem;
}
.footer-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.85rem clamp(1rem, 4vw, 3.25rem);
  align-items: start;
}
.footer-brand { grid-column: 1/-1; min-width: 0; }
.footer-brand p { max-width: 32ch; color: var(--muted); margin-top: .65rem; }
.email-link { font-weight: 650; overflow-wrap: anywhere; text-decoration: underline; }
.footer-main nav { display: flex; flex-direction: column; align-items: start; min-width: 0; }
.foot-title { font-weight: 700; color: var(--ink); }
.footer-main .foot-title {
  margin-bottom: .3rem;
  color: var(--blue-dark);
  font-size: .875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.footer-main nav > a {
  color: var(--muted);
  text-decoration: none;
  line-height: 1.35;
  font-weight: 500;
}
.footer-main nav > a:hover { color: var(--blue); text-decoration: underline; }
.registered {
  border-top: 1px solid var(--line);
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
  padding-top: 1rem;
  display: grid;
  gap: .65rem;
  color: var(--muted);
  font-size: .875rem;
  line-height: 1.55;
}
.registered p:first-child { max-width: 83ch; }
@media (max-width: 599px) {
  .registered { padding-right: 68px; }
}
.inner-intro { padding: 1.15rem 0 clamp(2.8rem, 5.7vw, 5.1rem); background: var(--paper); border-bottom: 1px solid var(--line); }
.inner-intro h1 { max-width: 17ch; margin-top: clamp(1.1rem, 2.5vw, 2.35rem); }
.crumbs { display: flex; gap: .55rem; align-items: center; flex-wrap: wrap; color: var(--muted); }
.crumbs a { color: var(--muted); }
.lede, .large-copy { font-size: clamp(1.1rem, 1.75vw, 1.4rem); line-height: 1.55; max-width: 59ch; }
.inner-intro .lede, .utility .lede { color: var(--muted); margin-top: 1.15rem; }
.service-detail p.service-lead { color: var(--ink); font-weight: 650; margin-top: .65rem; }
.service-detail .text-link { margin-top: 1rem; }
.price-card .price-line { margin-block: 1rem .35rem; display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; line-height: 1; }
.price-line strong, .care-price strong { font-size: clamp(3rem, 4.65vw, 4.15rem); line-height: 1.05; letter-spacing: -.065em; }
.price-line span, .care-price span { color: var(--muted); }
.price-feature { background: #f1f5ff; border-color: #7c9ada; }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: 1.75rem; margin-top: .52rem; color: var(--muted); }
.checklist li::before { content: ''; position: absolute; top: .52rem; left: .12rem; width: .65rem; height: .38rem; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue); transform: rotate(-45deg); }
.price-card .checklist { padding: 1.1rem 0 1.6rem; margin-top: 1rem; width: 100%; border-top: 1px solid var(--line); }
.package-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; max-width: 100%; }
.package-actions .button { min-height: 50px; padding-inline: .75rem; }
.price-card .package-actions { margin-top: auto; }
.price-teaser .package-actions { margin-top: .6rem; }
.price-frequency { font-size: 1rem; letter-spacing: normal; font-weight: 400; color: var(--muted); }
.price-card > .upgrade-note { margin: 0 0 1.1rem; }
.payment-note { margin-top: 1rem; color: var(--muted); font-size: 1rem; }
.payment-note a { font-weight: 550; }
.pricing-note { max-width: 76ch; }
.care-layout .lede { margin-top: .9rem; color: var(--muted); }
.care-price { margin: 1.45rem 0 1rem; }
.care-list, .add-ons, .editorial-list { list-style: none; padding: 0; }
.care-list li, .add-ons li { padding: 1.25rem 0; border-top: 1px solid #bfccdd; }
.care-list li:last-child, .add-ons li:last-child { border-bottom: 1px solid #bfccdd; }
.care-list strong, .care-list span, .addon-end span { display: block; }
.care-list strong { font-size: 1.15rem; }
.care-list span, .add-ons p { margin-top: .35rem; color: var(--muted); }
.add-ons li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: .5rem 1rem; align-items: start; }
.add-ons .package-actions { grid-column: 1 / -1; }
.addon-end { text-align: right; }
.addon-amount { color: var(--blue-dark); font-weight: 700; font-size: 1.5rem; line-height: 1.3; }
.case-detail { border-top: 1px solid var(--line); padding-block: clamp(2.5rem, 4.7vw, 4.25rem); }
.case-side h2 { margin: .5rem 0 1.2rem; }
.case-story h3 { font-size: 1.34rem; margin-block: 1.5rem .55rem; }
.case-story h3:first-child { margin-top: 0; }
.case-story p, .editorial > div:last-child > p:not(.large-copy) { color: var(--muted); }
.editorial > div:last-child > :not(:first-child), .editorial-list li + li { margin-top: 1rem; }
.contact-aside { display: grid; gap: 1.1rem; align-content: start; }
.contact-aside h2, .quote-form h2 { font-size: clamp(1.55rem, 2.7vw, 2.2rem); }
.aside-block, .quote-form { border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(1.15rem, 3vw, 2.5rem); min-width: 0; }
.aside-block:first-child { background: var(--ice); }
.aside-block > p, .quote-form > p { margin-top: .6rem; color: var(--muted); }
.aside-block > a { margin-top: .3rem; }
.fields-pair { display: grid; gap: 0 1rem; }
.field { display: flex; flex-direction: column; margin-top: 1.15rem; gap: .35rem; min-width: 0; }
label { font-weight: 650; }
.optional, .hint { font-weight: 400; color: var(--muted); }
input, select, textarea { width: 100%; min-width: 0; background: var(--white); color: var(--ink); padding: .7rem .8rem; border: 1px solid #7989a0; border-radius: .5rem; }
textarea { resize: vertical; min-height: 8rem; }
.quote-form p.form-privacy { margin-top: 1.2rem; }
.quote-form .button { margin-top: .85rem; }
.form-feedback { border-left: 4px solid var(--blue); padding: .85rem 1rem; background: var(--ice); margin-top: 1rem; }
.form-feedback ul { padding-left: 1.2rem; }
.form-feedback h3 { font-size: 1.2rem; }
.field [aria-invalid="true"] { border: 2px solid var(--blue-dark); }
.legal-layout { padding-block: var(--section); }
.legal-aside nav { border: 1px solid var(--line); background: var(--paper); border-radius: 1rem; padding: 1rem 1.2rem; }
.legal-aside ul { list-style: none; padding: .4rem 0 0; }
.legal-aside a { line-height: 1.35; }
.updated { margin-top: .7rem; color: var(--muted); }
.legal-body { max-width: 69ch; min-width: 0; }
.legal-body section + section { margin-top: 2.6rem; }
.legal-body h2 { max-width: none; font-size: clamp(1.65rem, 2.8vw, 2.2rem); }
.legal-body p, .legal-body ul { margin-top: .75rem; color: var(--muted); }
.legal-body ul { padding-inline-start: 1.3rem; }
.legal-body li + li { margin-top: .65rem; }
.legal-body a, .form-privacy a, .utility a:not(.button) { overflow-wrap: anywhere; line-height: 1.4; }
.utility { min-height: 48vh; }
.utility h1 { margin-top: .6rem; max-width: 15ch; }
.utility .lede { max-width: 53ch; }
/* Give phones a single-column navigation and a visible route back to it on long pages. */
@media (max-width: 59.999rem) {
  .menu-button, .primary-nav > a { min-height: 48px; }
  .primary-nav .nav-button { justify-self: stretch; }
  .nav-ready.menu-open .primary-nav { max-height: calc(100vh - 5rem); max-height: calc(100dvh - 5rem); overflow-y: auto; overscroll-behavior-y: contain; }
}
@media (max-width: 59.999rem) and (min-height: 30rem) {
  .site-header.nav-ready { position: sticky; top: 0; z-index: 4; }
  :target, :focus-visible { scroll-margin-block-start: 5.5rem; }
}
@media (max-width: 30rem) {
  .actions { display: grid; grid-template-columns: minmax(0, 1fr); }
  .button .arrow, .text-link .arrow { display: none; }
  .hero-price { flex-wrap: wrap; }
  .title-row > h3, .case-side, .hero-copy { min-width: 0; }
  .add-ons li > div:first-child { grid-column: 1 / -1; }
  .addon-end { text-align: start; }
  .package-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: 100%; }
  .package-actions .button { width: 100%; min-height: 52px; }
  .add-ons li { grid-template-columns: minmax(0,1fr); }
  .actions .button, .quote-form button[type="submit"], .cta-panel .button { width: 100%; min-height: 52px; }
  .site-header .menu-button { min-width: 48px; }
  .fields-pair { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 24rem) {
  .header-inner .brand { width: min(14.15rem, calc(100% - 3.9rem)); }
  .menu-button { position: relative; flex: 0 0 48px; min-height: 48px; justify-content: center; padding-inline: 0; gap: 0; }
  .menu-button > span:last-child { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
}
@media (max-width: 22rem) {
  .actions .button { width: 100%; }
  .hero-art figcaption { padding: .55rem .7rem; }
  .quote-form { padding-inline: .95rem; }
}
@media (max-width: 19rem) {
  .footer-main { grid-template-columns: minmax(0,1fr); }
}
@media (min-width: 38rem) {
  .fields-pair, .detail-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .footer-main { grid-template-columns: minmax(0,1.7fr) minmax(0,1fr) minmax(0,1fr); }
  .footer-brand { grid-column: auto; }
  .add-ons li { grid-template-columns: minmax(0,1fr) minmax(5rem, auto) auto; align-items: center; gap: 1rem; }
  .add-ons .package-actions { grid-column: auto; justify-self: end; }
}
@media (min-width: 60rem) {
  .header-inner .brand { width: clamp(10rem, calc(28vw - 4rem), 17rem); }
  .header-inner { min-height: 5rem; flex-wrap: nowrap; }
  .site-header .menu-button { display: none; }
  .primary-nav, .nav-ready .primary-nav, .nav-ready.menu-open .primary-nav { display: flex; align-items: center; width: auto; gap: clamp(.35rem, 1.5vw, 1.6rem); padding: 0; }
  .primary-nav > a:not(.button) { padding-inline: .1rem; }
  .nav-button { margin-inline-start: .5rem; }
  .services-grid, .projects-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .teaser-grid, .price-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .process, .faq-layout, .care-layout, .editorial, .case-layout { grid-template-columns: minmax(0,.85fr) minmax(0,1.15fr); gap: clamp(2.4rem, 7vw, 7rem); }
  .contact-layout { grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); align-items: start; gap: clamp(1.5rem, 4vw, 4rem); }
  .legal-layout { grid-template-columns: minmax(0,.65fr) minmax(0,1.55fr); align-items: start; gap: clamp(2rem, 6vw, 6rem); }
  .registered { grid-template-columns: minmax(0,1fr) auto; gap: 2rem; align-items: end; }
  .service-card { min-height: 17rem; }
}
@media (min-width: 60rem) {
  .home-hero { grid-template-columns: minmax(0,1fr) minmax(0,1.03fr); gap: clamp(1.8rem, 4.4vw, 4.8rem); }
  .hero-break { display: initial; }
  .hero-copy h1 { font-size: clamp(3.25rem, 5.85vw, 5.65rem); }
  .hero-art figcaption { padding: .68rem 1.1rem; }
}
@media (min-width: 72rem) {
  .detail-grid { gap: 1.4rem; }
  .services-grid, .projects-grid, .teaser-grid, .price-grid { gap: 1.25rem; }
}
@media (min-width: 78rem) {
  .teaser-grid, .price-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .price-card, .price-teaser { padding-inline: 1.1rem; }
}
.app-features { align-self: start; }
.app-features li:first-child { margin-top: 0; }
.app-grid { display: grid; grid-template-columns: minmax(0,1fr); gap: 1rem; }
.app-card, .scoping-card { min-width: 0; padding: clamp(1.25rem,2.7vw,2.2rem); border: 1px solid var(--line); border-radius: var(--radius); background: white; }
.app-card { display: flex; flex-direction: column; align-items: start; gap: .85rem; }
.app-price { font-size: clamp(1.75rem,3.6vw,2.8rem); font-weight: 650; line-height: 1.15; letter-spacing: -.045em; }
.app-price span { font-size: 1rem; font-weight: 500; letter-spacing: normal; color: var(--muted); }
.app-card .checklist { margin: .1rem 0 .5rem; }
.app-card > .button { margin-top: auto; }
.scoping-card { margin-top: 1rem; background: #f2f4ff; border-color: #8296cf; }
.scoping-card p { margin-top: .85rem; max-width: 65ch; }
.scoping-card .package-actions { margin-top: 1.25rem; }
.app-steps { margin: 0; padding-left: 1.7rem; }
.app-steps li { padding: .7rem 0 .7rem .3rem; border-bottom: 1px solid var(--line); }
.app-steps li::marker { color: var(--blue-dark); font-weight: 650; }
.app-steps li:first-child { padding-top: 0; }
.app-questions > div { padding-block: 1.2rem; border-top: 1px solid var(--line); }
.app-questions h3 { font-size: 1.2rem; line-height: 1.35; }
.app-questions p { margin-top: .5rem; color: var(--muted); max-width: 68ch; }
.app-summary { list-style: none; padding: 0; }
.app-summary li { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.app-summary li:first-child { padding-top: 0; }
.app-summary span { color: var(--muted); }
.app-cta > div { min-width: 0; }
.app-cta p a, .app-cta p a:hover { color: white; }
@media (max-width: 30rem) {
  .app-card .button, .app-cta > div { width: 100%; }
  .app-card .button { min-height: 52px; }
}
@media (min-width: 60rem) {
  .app-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .scoping-card { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
  .scoping-card .package-actions { flex-shrink: 0; margin-top: 0; }
}
@media (prefers-reduced-motion: no-preference) {
  .button, .project-link, .card-action { transition: background-color .15s, color .15s; }
}
@media print {
  body { color: #111; }
  .site-header, .site-footer, .cta-wrap, .skip-link, .legal-aside, .menu-button { display: none; }
  .wrap { width: 100%; }
  .section, .inner-intro, .legal-layout { padding: 1rem 0; }
  .legal-layout, .editorial, .case-layout { display: block; }
  .site-header a, .button { color: #111; }
  h2, h3 { break-after: avoid; }
}
