/* Author iteration: source silhouettes, real content, explicit usable states. */
.hero { min-height: 0; padding-bottom: 88px; }
.hero__lead { font-size: max(16px, calc(18 * var(--m))); line-height: 1.55; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 28px; }
.action { display: inline-flex; align-items: center; justify-content: space-between; gap: 18px; padding: 16px 22px; min-height: 48px; border: 2px solid var(--c-dark); border-radius: 99px; text-decoration: none; font-family: var(--font-display); font-size: 13px; font-weight: 500; line-height: 1.45; }
.action--primary { background: var(--c-pear); color: var(--c-dark); border-color: var(--c-pear); }
.action--secondary { color: var(--c-dark); background: transparent; }
.action:hover { border-color: var(--c-dark); background: var(--c-dark); color: var(--c-white); }
.action:focus-visible { outline: 3px solid var(--c-indigo); outline-offset: 5px; }
.tagline { font-size: clamp(19px, 6vw, 28px); }
.tagline__word { padding: .04em .12em; border-radius: .16em; }
.tagline__word:nth-child(1), .tagline__word:nth-child(4) { --term-accent: var(--c-tomato); --term-ink: var(--c-dark); }
.tagline__word:nth-child(2), .tagline__word:nth-child(5) { --term-accent: var(--c-indigo); --term-ink: var(--c-white); }
.tagline__word:nth-child(3) { --term-accent: var(--c-pear); --term-ink: var(--c-dark); }
.tagline .tagline__word.is-active { background: var(--term-accent); color: var(--term-ink); }
.tagline.is-final .tagline__word.is-active { background: transparent; color: var(--c-dark); }
.tagline__word, .tagline__dot { transition: none; }
.tagline.is-elided .tagline__window { padding-left: 0; }
.tagline:not(.is-final) .tagline__dot { visibility: hidden; }
.eyebrow { color: var(--c-dark); }
.svc__title { font-size: max(14px, calc(14 * var(--m))); }
.svc__need { font-size: max(12px, calc(13 * var(--m))); font-family: var(--font-text); line-height: 1.45; font-weight: 500; color: inherit; }
.svc__detail { font-size: max(15px, calc(14 * var(--m))); }
.svc__toggle { min-height: 44px; }
.svc--1 { --svc-open-fg: var(--c-dark); }
.svc[data-state="closed"]:hover { color: var(--c-dark); }
.svc[data-state="closed"]:hover .svc__sign { color: var(--c-indigo); }
.svc__head { gap: 12px; }
.services { margin-top: 100px; }
.services__hint { margin: 28px 32px 0; max-width: 42rem; font-size: 16px; line-height: 1.5; }
.svc-word { color: var(--c-blue-b70); }
.svc-word:active { color: var(--c-indigo); }
.carousel__dots { gap: 20px; }
.carousel__dot { border-color: var(--c-dark); }
.carousel__dot.is-active { background: var(--c-dark); }
.carousel__dot > .hit-area { inset: -12px; }
html.service-open { overflow: hidden; }
.service-dialog { width: min(760px, calc(100vw - 32px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 40px 100px 40px 40px; background: var(--c-cream); color: var(--c-dark); overflow-y: auto; }
.service-dialog::backdrop { background: rgb(20 20 26 / .5); }
.service-dialog__inner { padding: clamp(26px, 5vw, 60px); }
.service-dialog__close { position: absolute; right: 32px; top: 32px; min-width: 44px; min-height: 44px; border: 1px solid currentColor; border-radius: 50%; font-size: 32px; line-height: 1; }
.service-dialog__eyebrow { padding-right: 40px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 22px; }
.service-dialog h2 { font-family: var(--font-display); font-size: clamp(28px, 5vw, 46px); line-height: 1.2; padding-right: 15px; margin-bottom: 20px; }
.service-dialog__need { font-weight: 600; font-size: 18px; margin-bottom: 14px; }
.service-dialog__text { font-size: clamp(17px, 2vw, 21px); line-height: 1.6; }
.service-dialog__contact { margin-top: 32px; }
.service-dialog[data-theme="indigo"] { background: var(--c-indigo); color: var(--c-white); }
.service-dialog[data-theme="coral"] { background: var(--c-coral); }
.service-dialog[data-theme="pear"] { background: var(--c-pear); }
.service-dialog[data-theme="pear"] .action--primary { background: var(--c-dark); color: var(--c-white); border-color: var(--c-dark); }
.service-dialog[data-theme="indigo"] :focus-visible { outline-color: var(--c-white); }
.service-dialog__close:hover { background: var(--c-dark); color: var(--c-white); }
.contact-track { height: auto; padding-top: 0; }
.contact { position: relative; top: auto; height: auto; min-height: 0; padding-top: 100px; padding-bottom: 100px; }
.contact-track__spacer { display: none; }
.contact__title { scroll-margin-top: 30px; }
.contact-context { margin-top: 24px; padding: 18px 20px; border-radius: 24px; background: var(--c-pear); color: var(--c-dark); font-size: 16px; line-height: 1.5; }
.contact-context button { display: flex; align-items: center; gap: 12px; min-height: 44px; margin-top: 8px; text-decoration: underline; font-size: 14px; }
.contact-context button span { font-size: 26px; }
.field__label, .field--message .field__label { font-size: max(12px, calc(14 * var(--m))); }
.field__control { font-size: max(16px, calc(18 * var(--m))); }
.field__control:focus-visible { outline: 3px solid var(--c-indigo); outline-offset: 3px; }
.contact-form__status { font-size: max(12px, calc(12 * var(--m))); line-height: 1.5; }
.footer__legal, .footer__credit, .footer__copy, .footer__year { color: var(--c-cream); }
@media (max-width: 1023.98px) {
  .hero__actions .action { width: 100%; padding: 14px 18px; font-size: 12px; }
  .hero__numbers { z-index: 2; position: relative; }
  .bento { grid-template-rows: max(250px, calc(240 * var(--m))) calc(283 * var(--m)) max(310px, calc(248 * var(--m))) calc(308 * var(--m)); }
  .svc__head { gap: 10px; }
  .svc[data-state="opened"] { position: relative; min-height: 100%; padding: 24px; }
  .svc--2[data-state="opened"] { transform: translateX(calc(-50% - 4 * var(--m))); }
  .svc[data-state="opened"] .svc__title { font-size: 20px; }
  .svc[data-state="opened"] .svc__need { font-size: 14px; }
  .svc[data-state="opened"] .svc__contact { margin-top: 10px; }
}
@media (min-width: 1024px) {
  .hero { padding-bottom: 110px; }
  .hero__lead { font-size: clamp(22px, 1.9vw, 32px); max-width: 980px; }
  .hero__actions { margin-top: 32px; }
  .action { font-size: 16px; padding: 18px 28px; }
  .tagline { font-size: calc(60 * var(--u)); }
  .svc__title { font-size: calc(36 * var(--u)); }
  .svc__need { font-size: max(16px, calc(21 * var(--u))); }
  .svc__detail { font-size: max(18px, calc(24 * var(--u))); }
  .svc--1[data-state="opened"] .svc__title, .svc--2[data-state="opened"] .svc__title { grid-column: 1; grid-row: 1; }
  .svc--1[data-state="opened"] .svc__need, .svc--2[data-state="opened"] .svc__need { grid-column: 1; grid-row: 2; }
  .svc--1[data-state="opened"] .svc__detail, .svc--2[data-state="opened"] .svc__detail { grid-column: 2; grid-row: 1 / span 2; }
  .svc--1[data-state="opened"] .svc__contact, .svc--2[data-state="opened"] .svc__contact { grid-column: 2; grid-row: 3; }
  .services { margin-top: 160px; }
  .services__hint { margin-left: calc(291 * var(--u)); font-size: 20px; }
  .field__label, .field--message .field__label { font-size: max(14px, calc(24 * var(--u))); }
  .field__control { font-size: max(18px, calc(32 * var(--u))); }
  .contact-form__status { font-size: max(14px, calc(20 * var(--u))); }
}
/* Normal flow at the page end: the complete context and status stay above the footer. */
.site-footer { margin-top: 0; }
@media (max-width: 1023.98px) {
  .hero__numbers { position: static; }
  /* Keep every note trigger clear of both lines of the heading. */
  .hero__numbers .num--1 { left: calc(54 * var(--m)); top: calc(12 * var(--m)); }
  .hero__numbers .num--2 { left: calc(174 * var(--m)); top: calc(28 * var(--m)); }
  .hero__numbers .num--3 { left: calc(282 * var(--m)); top: calc(4 * var(--m)); }
  .bento { grid-template-rows: minmax(250px, auto) calc(283 * var(--m)) minmax(310px, auto) calc(308 * var(--m)); }
  .bento__cell--svc1 { min-height: 250px; }
  .bento__cell--svc2, .bento__cell--svc3 { min-height: 302px; }
}

/* White footer variant: original SVG bytes and alpha geometry remain intact. */
.footer__logo { filter: brightness(0) invert(1); }
/* Small-screen animated words also need ordinary-text contrast on Tomate. */
.tagline__word:nth-child(1), .tagline__word:nth-child(4) { --term-ink: var(--c-deep-black); }
.num--2 { --num-digit: var(--c-dark); }
.num--3, .num--3[aria-expanded="true"] { --num-digit: var(--c-dark); --num-click-digit: var(--c-dark); }
.tag--3 { --tag-fg: var(--c-dark); }
.hero > .tag { position: relative; left: auto; top: auto; max-width: 100%; margin-top: 28px; --tag-rot: 0deg; }
.btn-contact, .lang__btn--header { color: var(--c-dark); }
@media (max-width: 1023.98px) {
  .tag__text { font-size: max(14px, calc(14 * var(--m))); }
  .hero > .tag { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .tagline__track { transition: none; }
}
