/* rausr service pages share the site's header, wiki, slider and kitchen vocabulary. */
.svc {
  --svc-purple: #6848ff;
  --svc-mint: #d4ffce;
  --svc-footer-green: #4ee6e2;
  --svc-ink: #34313f;
  --svc-body: #4e4a58;
  --svc-line: #dbd9e5;
  font-family: Satoshi, sans-serif;
  color: var(--svc-ink);
}
@supports (color: color(display-p3 0 0 0)) {
  .svc { --svc-purple: color(display-p3 .4078 .2824 1); --svc-mint: color(display-p3 .831 1 .807); --svc-footer-green: color(display-p3 .305 .901 .886); }
}
.svc *, .svc *::before, .svc *::after { box-sizing: border-box; }
.svc .svc-wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.svc [id] { scroll-margin-top: 2rem; }
.svc a:focus-visible, .svc button:focus-visible, .svc summary:focus-visible { outline: 3px solid var(--svc-purple); outline-offset: 4px; }
.svc .header-service h1 { font: 500 2.5rem/1.18 Inter, sans-serif !important; letter-spacing: 0; text-align: left !important; }
.svc .header-service .header-content p { color: var(--svc-mint) !important; font: 400 1rem/1.65 Inter, sans-serif; max-width: 620px; }
.svc .header-service .svc-header__cta { margin-top: .85rem; font: 500 1rem/1.3 Satoshi, sans-serif; }
.svc .header-service .svc-header__cta:focus-visible { outline-color: var(--svc-mint); }
.svc .header-service .header-illustration { flex: 0 0 auto; }
.svc .svc-breadcrumbs { margin: 1rem auto 2rem; }
.svc .svc-breadcrumbs .tag-list { align-items: center; }
.svc .svc-breadcrumbs .tag-link.active { color: #fff; }

/* Two-part routes echo the home page's List All cards. */
.svc-category-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin: 0 auto clamp(3rem, 7vw, 5rem); }
.svc-category-nav__item {
  --route-bg: #6848ff;
  --route-soft: #eae4ff;
  --route-light-x: 20%;
  --route-light-y: 12%;
  --route-shade-x: 88%;
  min-width: 0;
  min-height: 172px;
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--route-soft);
  color: #fff !important;
  font: 500 clamp(1.05rem, 1.5vw, 1.4rem)/1.2 Satoshi, sans-serif;
  text-decoration: none !important;
  overflow: hidden;
}
.svc-category-nav__item--all { --route-bg: #5636de; --route-soft: #ddd3ff; }
.svc-category-nav__item--event-design { --route-bg: #6848ff; --route-soft: #e6e0ff; --route-light-x: 78%; --route-light-y: 12%; --route-shade-x: 14%; }
.svc-category-nav__item--product-design { --route-bg: #7857df; --route-soft: #ece5ff; --route-light-x: 18%; --route-light-y: 84%; --route-shade-x: 86%; }
.svc-category-nav__item--digital-graphic-design { --route-bg: #8053c5; --route-soft: #f0e8ff; --route-light-x: 82%; --route-light-y: 76%; --route-shade-x: 16%; }
.svc-category-nav__item > span:first-child {
  display: flex; align-items: center; flex: 1; min-height: 116px; padding: 1.2rem 1.4rem; border-radius: 12px;
  background: radial-gradient(ellipse 90% 85% at var(--route-light-x) var(--route-light-y), rgba(255, 255, 255, .17), transparent 72%), radial-gradient(ellipse 80% 75% at var(--route-shade-x) 100%, rgba(38, 19, 92, .12), transparent 78%), var(--route-bg);
  color: #fff !important;
  transition: transform 800ms cubic-bezier(.22, 1, .36, 1), color 300ms ease;
}
.svc-category-nav__item > span:last-child {
  display: grid; place-items: center; min-height: 56px; color: var(--route-bg); font-size: 1.8rem; line-height: 1;
  background-color: var(--route-soft);
  background-image: radial-gradient(ellipse 90% 100% at var(--route-light-x) 0, rgba(255, 255, 255, .58), transparent 85%), radial-gradient(circle, rgba(104, 72, 255, .16) 1px, transparent 1px);
  background-size: 100% 100%, 20px 20px;
}
.svc-category-nav__item:is(:hover, :focus-visible, [aria-current]) > span:first-child { color: var(--svc-mint) !important; transform: translateY(.625rem); }
.svc-category-nav__item[aria-current] { outline: 3px solid var(--svc-footer-green); outline-offset: 3px; }

/* The service index uses the wiki's domain cards and topic capsules. */
.svc-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; margin-top: 2.25rem; }
.svc .svc-category-card { --domain-accent: var(--svc-purple); min-width: 0; }
.svc .svc-category-card--event-design { --domain-accent: #6848ff; }
.svc .svc-category-card--product-design { --domain-accent: #7857df; }
.svc .svc-category-card--digital-graphic-design { --domain-accent: #8053c5; }
@supports (color: color(display-p3 0 0 0)) {
  .svc .svc-category-card--event-design { --domain-accent: color(display-p3 .408 .282 1); }
  .svc .svc-category-card--product-design { --domain-accent: color(display-p3 .47 .34 .87); }
  .svc .svc-category-card--digital-graphic-design { --domain-accent: color(display-p3 .5 .32 .77); }
}
.svc .svc-category-card { background: linear-gradient(155deg, #fff 0%, #f8f5ff 52%, #efe9ff 100%); box-shadow: 0 10px 30px rgba(79, 52, 154, .06); }
.svc .svc-category-card .wiki-domain__heading { grid-template-areas: "copy arrow"; grid-template-columns: minmax(0, 1fr) auto; }
.svc .svc-category-card .wiki-domain__heading > span:first-child { grid-area: copy; }
.svc .svc-category-card .wiki-domain__arrow { grid-area: arrow; }
.svc .svc-category-card h3 { font: 500 clamp(1.35rem, 2vw, 1.75rem)/1.2 Inter, sans-serif !important; text-align: left !important; color: var(--domain-accent); }
.svc .svc-category-card .wiki-domain__heading p { color: var(--svc-body) !important; font: 400 .98rem/1.65 Inter, sans-serif !important; }
.svc .svc-category-card .wiki-capsules { margin: 2rem 0 2.5rem; gap: .6rem; }
.svc .svc-category-card .wiki-capsule { min-height: 0; padding: .85rem 1.5rem; border: 1px solid #d9cff7; background: #fff; color: #4e3da1; font: 500 1rem/1.2 Satoshi, sans-serif; transition: background-color 220ms ease, border-color 220ms ease, color 220ms ease; }
.svc .svc-category-card .wiki-capsule:is(:hover, :focus-visible) { background: var(--domain-accent); color: #fff !important; }
.svc .svc-category-card .wiki-domain__footer { margin-top: auto; }
.svc .svc-category-card a:focus-visible { outline-color: var(--domain-accent); }

.svc-section { margin: 0 0 clamp(4rem, 8vw, 6.25rem); }
.svc .svc-eyebrow { color: var(--svc-purple) !important; font: 400 .875rem/1.25 Satoshi, sans-serif !important; letter-spacing: 2px !important; text-transform: uppercase; margin: 0 0 .65rem; text-align: center !important; }
.svc .svc-answer .svc-eyebrow { text-align: left !important; }
.svc .svc-intro { --domain-accent: var(--svc-purple); max-width: 780px; margin: 0 auto clamp(5.5rem, 8vw, 7rem); text-align: center; }
.svc .svc-intro h2, .svc .svc-section > h2, .svc .svc-sisters > h2 { margin: 0 0 1.25rem; color: var(--svc-ink) !important; font: 500 clamp(1.9rem, 4vw, 3.3rem)/1.12 Satoshi, sans-serif !important; letter-spacing: -.04em; text-align: left !important; }
.svc #service-topics > h2, .svc .svc-sisters > h2 { margin: 0 0 1.25rem; font: 500 2rem/1.2 Inter, sans-serif !important; letter-spacing: normal; text-align: center !important; }
.svc #service-topics > .svc-section__lede { margin: 0 auto; text-align: center !important; }
.svc .svc-section__lede { max-width: 780px; color: var(--svc-body); font: 400 1.125rem/1.65 Inter, sans-serif !important; }
.svc .svc-intro p { max-width: 780px; color: var(--svc-body); font: 400 1.125rem/1.65 Inter, sans-serif !important; }
.svc .svc-intro.wiki-prose h2 { margin-top: 0; font: 500 2rem/1.2 Inter, sans-serif !important; text-align: center !important; }
.svc .svc-intro.wiki-prose h2::before { left: 50%; transform: translateX(-50%); }
.svc .svc-intro p { margin-right: auto; margin-left: auto; text-align: left !important; }

/* Topic cards borrow the wiki guide's dotted surface and hierarchy. */
.svc-topic-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.svc .svc-topic-card { --domain-accent: var(--svc-purple); min-width: 0; min-height: 260px; padding: 0; border: 1px solid #d7cbf6; background: radial-gradient(ellipse at 100% 0, rgba(176, 153, 255, .22), transparent 64%), #f1edff; box-shadow: none; transition: border-color 280ms ease, background-color 280ms ease; }
.svc .svc-topic-card:is(:hover, :focus-within) { border-color: #7955ed; background-color: #e6dcff; box-shadow: none; }
.svc .svc-topic-card__link { display: flex; flex: 1; flex-direction: column; width: 100%; min-width: 0; padding: 1.6rem; border-radius: inherit; color: var(--svc-ink) !important; text-decoration: none !important; }
.svc .svc-topic-card h3 { margin: 0 0 1.1rem; color: var(--svc-purple) !important; font: 600 clamp(1.25rem, 2vw, 1.6rem)/1.2 Satoshi, sans-serif !important; text-align: left !important; transition: color 220ms ease; }
.svc .svc-topic-card__link:is(:hover, :focus-visible) h3 { color: #4a2bbb !important; }
.svc .svc-topic-card .svc-topic-card__question { color: var(--svc-ink); font: 500 1rem/1.5 Inter, sans-serif !important; margin: 0 0 .65rem; }
.svc .svc-topic-card p { color: var(--svc-body); font: 400 .9rem/1.6 Inter, sans-serif !important; margin: 0 0 1rem; }
.svc .svc-topic-card .svc-text-link { display: inline-flex; align-items: center; align-self: flex-start; gap: .45rem; margin-top: auto; padding-top: .5rem; color: var(--svc-purple) !important; font: 500 14px/1.2 Satoshi, sans-serif; text-transform: uppercase; }
.svc .svc-topic-card .svc-text-link span { display: inline-block; transition: transform 280ms cubic-bezier(.22, 1, .36, 1); }
.svc .svc-topic-card__link:is(:hover, :focus-visible) .svc-text-link span { transform: translateX(4px); }

/* Service topics reuse the wiki article's right rail, answer panel and prose. */
.svc-article-layout { --domain-accent: var(--svc-purple); display: grid; width: 100%; grid-template-columns: minmax(0, 760px) minmax(260px, 380px); grid-template-areas: "article sidebar"; align-items: stretch; justify-content: space-between; gap: clamp(2rem, 4vw, 4rem); margin: 0 0 5rem; }
.svc-article-layout .svc-article { grid-area: article; width: 100%; }
.svc-article-layout .svc-sidebar { grid-area: sidebar; width: 100%; min-width: 0; }
.svc .svc-article .wiki-prose p { font-size: 1.125rem !important; line-height: 1.65 !important; }
.svc .svc-answer h2 { margin: 0 0 .85rem; color: var(--svc-ink) !important; font: 500 clamp(1.35rem, 2.4vw, 1.65rem)/1.3 Inter, sans-serif !important; text-align: left !important; }
.svc .svc-answer h2::before { content: none; }
.svc .svc-answer .svc-eyebrow { color: var(--svc-purple) !important; }

/* Related reading uses the same stacked card stage as wiki guides. */
.svc .svc-archive { --domain-accent: var(--svc-purple); margin: 0 0 5rem; padding: 2rem 0 2.5rem; }
.svc .svc-archive .wiki-section-heading h2 { text-align: center !important; }
/* Match the article sidebar's featured card (80% of its padded column). */
.svc .svc-archive .wiki-related__grid { display: grid; grid-template-columns: repeat(3, clamp(261px, calc(25.6vw - 93px), 352px)); justify-content: center; width: 100%; gap: 2.5rem; margin: 0 auto; }
.svc .svc-archive .wiki-related__grid > .card1 { display: flex; flex-direction: column; width: auto !important; min-width: 0; transition: transform .3s ease; }
.svc .svc-archive .wiki-related__grid > .card1:focus-within { transform: translateY(-5px); }
.svc .svc-archive .card1-bottom { display: flex; flex: 1; flex-direction: column; min-height: 190px; }
.svc .svc-archive .card1-cta { display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; margin-top: auto; padding-top: 1rem; }
.svc .svc-archive .svc-archive__arrow { display: inline-block; transition: transform 280ms cubic-bezier(.22, 1, .36, 1); }
.svc .svc-archive .card1-cta:is(:hover, :focus-visible) .svc-archive__arrow { transform: translateX(6px); }
.svc .svc-archive .svc-archive__note { margin: 0 0 .65rem; color: inherit; font: 400 .82rem/1.45 Inter, sans-serif !important; }
.svc .svc-archive .card1--wiki .card1-bottom { background: #f0ecff; }
.svc .svc-archive .card1--wiki :is(.card1-category, .card1-cta, .card1-bottom h3 a) { color: var(--svc-purple) !important; }
.svc .svc-archive .card1--wiki :is(.card1-cta, .card1-bottom h3 a) { transition: color 220ms ease; }
.svc .svc-archive .card1--wiki :is(.card1-cta, .card1-bottom h3 a):is(:hover, :focus-visible) { color: #392381 !important; }

/* Reused kitchen questions and process slider retain their original animations. */
.svc.service-page .service-kitchen { margin: clamp(3.5rem, calc(4vw + 1rem), 4.5rem) 0 5rem; padding: 0; }
.svc .service-kitchen h2 { margin: 0 0 2.25rem; color: var(--svc-ink) !important; font: 500 2rem/1.2 Inter, sans-serif !important; text-align: center !important; }
.svc .service-kitchen > .svc-eyebrow { text-align: center !important; }
.svc .about-kitchen-card__head h3 { font: 600 clamp(1.1rem, 2vw, 1.5rem)/1.25 Inter, sans-serif !important; text-align: left !important; }
.svc .service-slider--process .service-slider__card-heading { line-height: 1.2 !important; margin-bottom: .9rem !important; }
.svc .service-slider--process .service-slider__card-subheading { line-height: 1.3 !important; }
.svc.service-page .service-slider--process .service-slider__lede { font-family: Inter, sans-serif !important; font-size: 1.125rem !important; font-weight: 400 !important; line-height: 1.65 !important; }

.svc .svc-sisters.wiki-domain-nav { --domain-accent: var(--svc-purple); --domain-on-accent: #fff; width: 100%; margin: clamp(3rem, 7vw, 6rem) auto 0; padding: 3rem 0 0; }
.svc .svc-sisters .wiki-domain-nav__inner { width: 100%; }
.svc .svc-sisters .wiki-eyebrow { color: var(--svc-purple); }
.svc .svc-pagination.article-navigation { gap: clamp(1rem, 5vw, 7rem); margin: clamp(3rem, 5vw, 5rem) auto clamp(4rem, 7vw, 6rem); padding: 0; }
.svc .svc-pagination .article-nav-button { transition: background-color 220ms ease, color 220ms ease; }
.svc .svc-pagination .article-nav-button:is(:hover, :focus-visible) { background-color: #f6ff3e; color: #4a2bbb !important; }

/* The site-wide chef CTA carries the service enquiry context and colors. */
.contact-form select { width: 100%; min-height: 48px; padding: .75rem; border: 1px solid #dbd9e5; border-radius: 8px; background: #fff; color: #43414c; font: inherit; }
#contact-form { scroll-margin-top: 2rem; }

@media (max-width: 1100px) {
  .svc-category-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-category-card:last-child { grid-column: 1 / -1; }
  .svc .svc-archive .wiki-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 620px; gap: 2rem; }
  .svc-article-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 2rem; }
}
@media (max-width: 800px) {
  .svc-article-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "sidebar" "article"; gap: 2rem; }
  .svc-article-layout .wiki-article-sidebar__inner { position: static; }
}
@media (max-width: 700px) {
  .svc .svc-wrap { width: calc(100% - 36px); }
  .svc [id], #contact-form { scroll-margin-top: 165px; }
  .svc .header-service h1 { font-size: 2.1rem !important; }
  .svc .header-service .header-illustration { max-width: 180px; }
  .svc .svc-breadcrumbs { margin-bottom: 1.5rem; }
  .svc-category-nav { gap: .65rem; margin-bottom: 3rem; }
  .svc-category-nav__item { min-height: 140px; font-size: 1rem; }
  .svc-category-nav__item > span:first-child { min-height: 96px; padding: 1rem; }
  .svc-category-nav__item > span:last-child { min-height: 44px; }
  .svc-category-grid, .svc-topic-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  .svc-category-card:last-child { grid-column: auto; }
  .svc-section { margin-bottom: 3.5rem; }
  .svc .svc-intro { margin-bottom: 4.5rem; }
  .svc .svc-archive { margin-bottom: 3rem; }
  .svc .svc-archive .wiki-related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; gap: .75rem; }
  .svc .svc-archive .card1-bottom { min-height: 160px; padding: .9rem; }
  .svc .svc-archive .svc-archive__note { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
  .svc.service-page .service-kitchen { margin-top: 3.5rem; }
  .svc .about-kitchen-card.is-collapsed { width: 100%; }
  .svc .svc-pagination.article-navigation { flex-direction: column; flex-wrap: nowrap; gap: 1rem; }
  .svc .svc-pagination .article-nav-button { width: min(100%, 420px); min-width: 0; margin: 0; padding: 1.5rem 2rem; }
}
@media (max-width: 420px) {
  .svc-category-nav__item { font-size: .9rem; }
  .svc-category-nav__item > span:last-child { font-size: 1.5rem; }
}
