/* SINATRO IT 1.7: graphite / amber, native CSS. Content 0, header 10, skip 20. */
:root {
  --s-font: 'Manrope', 'Segoe UI', sans-serif;
  --s-muted: #adb4be;
  --s-ease-out: cubic-bezier(.22, 1, .36, 1);
}
body { font-family: var(--s-font); }
h1, h2, h3 { font-weight: 550; }
.s-section { padding-block: clamp(72px, 7.4vw, 112px); }
.s-section-lead { max-width: 46ch; }
.s-hero-lead { max-width: 36ch; font-size: clamp(16px, 1.45vw, 19px); }
.s-hero h1 { font-weight: 600; letter-spacing: -.055em; }
.s-service { border-radius: 16px; padding: 36px; }
.s-service-type { font-size: 13px; }
.s-service-description { font-size: 15px; line-height: 1.7; max-width: 45ch; }
.s-service-tags { color: var(--s-muted); font-size: 12px; }
.s-service-link { width: 46px; height: 46px; }
.s-service-number, .s-stage-number { font-variant-numeric: tabular-nums; }
.s-partners-notice { max-width: 68ch; font-size: 13px; line-height: 1.65; }
.s-partner-card { background: #12181e; box-shadow: none; border-color: #293039; }
.s-partner-card:nth-child(n) { background: #12181e; }
.s-partner-story p { font-size: 14px; }
.s-partner-meta p, .s-partner-meta .s-partner-demo { font-size: 12px; }
.s-partner-profile { display: flex; flex-direction: column; padding-bottom: 20px; }
.s-partner-identity { align-items: flex-start; margin-bottom: 18px; }
.s-partner-company { min-width: 0; }
.s-partner-company h3 { font-size: clamp(18px, 1.65vw, 22px); line-height: 1.4; }
.s-partner-sector { font-size: 12px; line-height: 1.5; margin-top: 6px; }
.s-partner-description { font-size: 14px; line-height: 1.7; color: var(--s-muted); margin-bottom: 14px; }
.s-partner-registry { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px; margin-top: auto; }
.s-partner-inn { font-size: 12px; color: var(--s-muted); font-variant-numeric: tabular-nums; }
.s-partner-website { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--s-accent); font-size: 13px; text-decoration: underline; text-decoration-color: #ffb85e55; text-underline-offset: 4px; }
.s-partner-website .tableads-icon { width: 16px; height: 16px; }
.s-partner-website:hover { color: #ffdbab; text-decoration-color: currentColor; }
.s-partner-case { display: flex; flex: 1; flex-direction: column; padding-top: 22px; border-top: 1px solid var(--s-line); }
.s-partner-case-label { color: var(--s-accent); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.s-partner-case .s-partner-title { font-size: 23px; line-height: 1.35; font-weight: 550; margin: 0 0 20px; }
.s-partner-focus { color: var(--s-muted); font-size: 12px; line-height: 1.6; margin-top: 22px; }
@supports (grid-template-rows: subgrid) {
  .s-partner-card { display: grid; grid-template-rows: subgrid; grid-row: span 2; row-gap: 0; }
}
.s-brief-form { border-radius: 18px; }
.s-form-note { font-size: 12px; line-height: 1.65; }
.s-field textarea::placeholder { color: #a2adba; opacity: 1; }
.s-submit, .s-button > a { border-radius: 9px; box-shadow: none; }
.s-submit::after, .s-button > a::after { animation: none; }

/* The inset rail remains visible at every width, including intermediate tablets. */
.s-header {
  padding-block: 14px 0;
  background: transparent;
  border: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.s-header::after { display: none; }
.s-header-inner {
  position: relative;
  height: 72px;
  padding: 10px 12px 10px 20px;
  gap: 18px;
  border: 1px solid #ffffff1c;
  border-radius: 14px;
  background: #11171ef2;
  box-shadow: 0 8px 32px #05090d25, inset 0 1px #ffffff05;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.s-header .s-brand { font-size: 15px; letter-spacing: .065em; gap: 10px; }
.s-header .s-brand-mark { height: 32px; width: 32px; font-size: 25px; }
.s-nav { gap: 2px; align-items: center; font-size: 12px; }
.s-nav a { display: flex; align-items: center; min-height: 44px; padding: 10px 11px; white-space: nowrap; border-radius: 7px; }
.s-nav a::before { inset: 0; background: #ffffff07; border-radius: 7px; }
.s-nav a::after { inset: auto 11px 5px; height: 2px; background: var(--s-accent); }
.s-nav a[aria-current] { background: #ffb85e0c; }
.s-header-contact { display: inline-flex; justify-content: center; gap: 12px; flex: none; margin: 0; min-height: 46px; padding: 12px 17px; border-radius: 8px; background: var(--s-accent); color: #171b20; font-size: 12px; font-weight: 750; white-space: nowrap; }
.s-header-contact:is(:hover, :focus-visible, [aria-current]) { background: #ffd091; color: #171b20; }
.s-header-contact .tableads-icon { display: inline-block; width: 18px; height: 18px; color: currentColor; }
.tableads-arrow-up-right { mask-image: url('../icons/arrow-up-right.svg'); -webkit-mask-image: url('../icons/arrow-up-right.svg'); }
.tableads-arrow-up { mask-image: url('../icons/arrow-up.svg'); -webkit-mask-image: url('../icons/arrow-up.svg'); }
.tableads-menu-icon { mask-image: url('../icons/list.svg'); -webkit-mask-image: url('../icons/list.svg'); }
.tableads-close-icon { mask-image: url('../icons/x.svg'); -webkit-mask-image: url('../icons/x.svg'); }
.s-nav .s-nav-mobile-contact, .s-menu { display: none; }
.s-menu { align-items: center; justify-content: center; gap: 10px; color: var(--s-text); background: #ffffff07; min-height: 44px; padding: 10px 12px; border: 1px solid #ffffff24; border-radius: 8px; font-size: 12px; }
.tableads-menu-state { position: relative; width: 20px; height: 20px; }
.tableads-menu-state .tableads-icon { position: absolute; inset: 0; }
.tableads-close-icon { opacity: 0; transform: rotate(-60deg) scale(.7); }
.s-menu[aria-expanded='true'] .tableads-menu-icon { opacity: 0; transform: rotate(60deg) scale(.7); }
.s-menu[aria-expanded='true'] .tableads-close-icon { opacity: 1; transform: none; }

/* Footer: invitation, navigation, wordmark, and a single quiet utility row. */
.s-footer.s-footer-modern { display: block; padding: 0; margin-top: 24px; border-top: 1px solid #ffffff1a; background: #11171d; overflow: clip; }
.s-footer-invitation { display: flex; align-items: center; justify-content: space-between; gap: 48px; padding-block: 66px 48px; border-bottom: 1px solid var(--s-line); }
.s-footer-invitation h2 { font-size: clamp(28px, 3vw, 43px); line-height: 1.22; letter-spacing: -.045em; }
.s-footer-invitation h2 span { color: var(--s-muted); }
.s-footer-start { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; flex: none; font-size: 15px; font-weight: 650; }
.s-footer-start .tableads-icon { width: 52px; height: 52px; padding: 15px; color: #141b21; background: none; mask: none; -webkit-mask: none; position: relative; border-radius: 50%; background-color: var(--s-accent); }
.s-footer-start .tableads-icon::after { content: ''; position: absolute; inset: 14px; background: currentColor; mask: url('../icons/arrow-up-right.svg') center / contain no-repeat; -webkit-mask: url('../icons/arrow-up-right.svg') center / contain no-repeat; }
.s-footer-grid { display: grid; grid-template-columns: 1.45fr .85fr 1fr 1.1fr; gap: 42px; padding-block: 48px 32px; }
.s-footer-modern .s-brand { font-size: 16px; letter-spacing: .065em; }
.s-footer-modern .s-brand-mark { width: 32px; height: 32px; font-size: 25px; }
.s-footer-modern p { font-size: 14px; color: var(--s-muted); line-height: 1.8; }
.s-footer-intro p { margin-block: 22px 18px; }
.s-footer-stack-link { display: inline-flex; align-items: center; min-height: 44px; gap: 12px; font-size: 13px; color: var(--s-accent); }
.s-footer-grid h3 { margin: 3px 0 18px; font-size: 13px; font-weight: 650; letter-spacing: .01em; color: var(--s-muted); }
.s-footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.s-footer-links a { display: inline-flex; align-items: center; min-height: 38px; font-size: 14px; }
.s-footer-next p { max-width: 28ch; font-size: 13px; }
.s-footer-next > a { display: flex; width: fit-content; align-items: center; gap: 12px; min-height: 44px; font-size: 13px; margin-top: 14px; }
.s-footer-next .s-back-top { color: var(--s-muted); margin-top: 10px; }
.s-footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--s-line); padding-block: 24px 28px; }
.s-footer-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 4px 20px; }
.s-footer-meta .s-sitemap-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--s-muted); font-size: 12px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--s-line); }
.s-footer-meta .s-sitemap-link:hover, .s-footer-meta .s-sitemap-link[aria-current="page"] { color: var(--s-accent); text-decoration-color: currentColor; }
.s-footer-modern .s-company-details { display: flex; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 6px 20px; padding: 0; border: 0; border-radius: 0; background: none; font-size: 11px; line-height: 1.7; }
.s-footer-modern .s-company-details-heading { color: var(--s-muted); }
.s-footer-modern .s-company-details small { font-size: 11px; color: var(--s-muted); }
.s-footer-modern .s-build-info { padding: 0; border: 0; background: none; border-radius: 0; color: var(--s-muted); font-size: 11px; line-height: 1.7; white-space: nowrap; font-variant-numeric: tabular-nums; }
.s-footer-modern .s-company-details, .s-footer-modern .s-company-details small, .s-footer-modern .s-build-info { font-size: 12px; }

@media (min-width: 981px) and (max-width: 1100px) {
  .s-hero h1 { font-size: clamp(40px, 4.5vw, 49px); }
  .s-hero-art { width: 530px; }
}
@media (min-width: 761px) and (max-width: 980px) {
  .s-hero, .s-hero:has(.s-gallery-with-terminal) { display: flex; flex-direction: column; min-height: 0; padding-block: 52px 0; }
  .s-hero-copy { width: 100%; max-width: 100%; }
  .s-hero h1 { font-size: clamp(38px, 5.2vw, 50px); }
  .s-hero-lead { max-width: 42ch; }
  .s-hero-art { position: relative; inset: auto; width: min(650px, 100%); align-self: center; margin-top: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  .s-header-inner { animation: s-rail-enter 650ms var(--s-ease-out) both; }
  .s-header .s-brand-mark, .s-header-contact, .s-footer-start .tableads-icon, .s-footer-links a, .tableads-menu-state .tableads-icon { transition: transform 280ms var(--s-ease-out), opacity 180ms, background-color 180ms, color 180ms; }
  .s-header-contact .tableads-icon, .s-footer-next .tableads-icon, .s-footer-stack-link .tableads-icon { transition: transform 280ms var(--s-ease-out); }
  .s-header .s-brand:is(:hover, :focus-visible) .s-brand-mark { transform: rotate(-7deg); }
  .s-header-contact:is(:hover, :focus-visible) .tableads-icon, .s-footer-next a:is(:hover, :focus-visible) .tableads-arrow-up-right { transform: translate(2px, -2px); }
  .s-footer-start:is(:hover, :focus-visible) .tableads-icon { transform: rotate(45deg); }
  .s-footer-links a:is(:hover, :focus-visible) { transform: translateX(4px); }
  .s-footer-stack-link:is(:hover, :focus-visible) .tableads-icon { transform: translateX(4px); }
  .s-header-contact:active, .s-footer-start:active { transform: translateY(1px); }
  @supports (animation-timeline: scroll()) {
    .s-header-inner { animation: s-rail-scroll linear both; animation-timeline: scroll(); animation-range: 0px 180px; }
  }
  @keyframes s-rail-enter { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }
  @keyframes s-rail-scroll { from { box-shadow: 0 8px 32px #05090d25; } to { box-shadow: 0 12px 36px #05090d99; border-color: #ffb85e35; } }
}
@media (max-width: 1200px) and (min-width: 1081px) {
  .s-header-inner { width: calc(100% - 40px); gap: 8px; padding-left: 14px; }
  .s-nav a { padding-inline: 8px; }
  .s-header-contact { padding-inline: 12px; gap: 8px; }
}
@media (max-width: 1080px) {
  .s-header-inner { height: 68px; }
  .s-header .s-brand { margin-right: auto; }
  .s-header-contact { display: flex; margin: 0; }
  .s-menu { display: inline-flex; }
  .s-header .s-nav { position: absolute; inset: calc(100% + 8px) 0 auto; display: flex; flex-direction: column; align-items: stretch; gap: 3px; padding: 18px; max-height: calc(100dvh - 110px - var(--s-header-offset, 0px)); overflow: auto; background: #151d25; border: 1px solid #ffffff24; border-radius: 14px; box-shadow: 0 24px 50px #05090d88; opacity: 1; transform: none; }
  .s-nav a { padding: 11px 16px; min-height: 48px; font-size: 16px; }
  .s-nav a::after { display: none; }
  .s-nav a::before { inset: 0; }
  .s-nav .s-nav-mobile-contact { display: flex; justify-content: space-between; background: var(--s-accent); color: #151b21; font-weight: 650; margin-top: 12px; }
  .s-has-js .s-header .s-nav { visibility: hidden; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity 180ms, transform 240ms var(--s-ease-out), visibility 180ms; }
  .s-has-js .s-header .s-nav.s-open { visibility: visible; opacity: 1; transform: none; pointer-events: auto; transition: opacity 180ms, transform 240ms var(--s-ease-out); }
  html:not(.s-has-js) .s-header:not(.s-nav-ready) .s-menu { display: none; }
  html:not(.s-has-js) .s-header:not(.s-nav-ready), html:not(.s-has-js) .wp-site-blocks > .wp-block-template-part:has(.s-header:not(.s-nav-ready)) { position: relative; top: auto; }
  html:not(.s-has-js) .s-header:not(.s-nav-ready) .s-header-inner { height: auto; flex-wrap: wrap; }
  html:not(.s-has-js) .s-header:not(.s-nav-ready) .s-nav { position: static; flex-basis: 100%; box-shadow: none; max-height: none; }
  .s-footer-grid { grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
  .s-footer-next { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 28px; align-items: center; padding-top: 24px; border-top: 1px solid var(--s-line); }
  .s-footer-next h3 { margin: 0; grid-row: 1; }
  .s-footer-next p { grid-row: 2; max-width: 42ch; }
  .s-footer-next > a { grid-column: 2; justify-self: end; margin: 0; }
  .s-footer-invitation { gap: 24px; }
  .s-footer-bottom { align-items: flex-start; }
  .s-footer-modern .s-company-details { flex-direction: column; align-items: flex-start; gap: 4px; }
}
@media (max-width: 760px) {
  .s-header { padding-top: 8px; }
  .s-header-inner { width: calc(100% - 24px); height: 64px; padding: 8px 10px 8px 14px; gap: 8px; border-radius: 12px; }
  .s-header .s-brand { font-size: 13px; gap: 8px; letter-spacing: .04em; }
  .s-header .s-brand-mark { width: 30px; height: 30px; }
  .s-header .s-header-contact { display: none; }
  .s-menu { font-size: 12px; padding-inline: 10px; }
  .s-service { padding: 26px; }
  .s-hero h1 { font-size: clamp(28px, 7vw, 50px); }
  .s-footer.s-footer-modern { margin-top: 8px; }
  .s-footer-invitation { flex-direction: column; align-items: flex-start; padding-block: 42px 32px; gap: 26px; }
  .s-footer-invitation h2 { font-size: clamp(26px, 6.2vw, 40px); }
  .s-footer-start { font-size: 14px; }
  .s-footer-start .tableads-icon { width: 44px; height: 44px; }
  .s-footer-start .tableads-icon::after { inset: 11px; }
  .s-footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; padding-block: 32px; }
  .s-footer-intro { grid-column: 1 / -1; }
  .s-footer-intro p { margin-block: 16px 6px; }
  .s-footer-grid h3 { margin-bottom: 10px; }
  .s-footer-links a { min-height: 44px; font-size: 13px; }
  .s-footer-next { display: block; }
  .s-footer-next p { max-width: 45ch; }
  .s-footer-next > a { margin-top: 10px; }
  .s-footer-next .s-back-top { margin-top: 4px; }
  .s-footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; padding-block: 22px 28px; }
  .s-footer-meta { justify-content: flex-start; column-gap: 16px; }
  .s-footer-modern .s-build-info { text-align: left; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .s-has-js .s-header .s-nav, .s-header-inner, .s-footer * { transition: none; animation: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .s-header-inner { background: #11171e; backdrop-filter: none; -webkit-backdrop-filter: none; }
}
@media (forced-colors: active) {
  .s-header-inner, .s-header .s-nav, .s-footer.s-footer-modern { background: Canvas; color: CanvasText; border-color: CanvasText; }
  .s-header-contact, .s-nav .s-nav-mobile-contact { background: ButtonFace; color: ButtonText; border: 1px solid ButtonText; }
  .s-footer-start .tableads-icon { background: ButtonFace; color: ButtonText; border: 1px solid ButtonText; }
}

/* 1.8: clarify small text and keep the next action easy to find. */
.s-stage > p:not(.s-stage-number) { font-size: 14px; line-height: 1.65; }
.s-stage > .s-stage-result { color: #d2d4d6; }
.s-stack-catalog-title, .s-stack-catalog-tags li, .s-stack-catalog-logos li, .s-stack-tags p { font-size: 12px; }
.s-stack-catalog-tags li { padding: 6px 9px; line-height: 1.5; }
.s-stack-row p { font-size: 15px; }
.s-stack-node > p:last-child { font-size: 14px; line-height: 1.65; }
.s-stack-flow-note, .s-stack-annotation, .s-stack-closing-copy .s-stack-footnote { font-size: 13px; line-height: 1.7; }
.s-stack-overview-copy .s-stack-jump { justify-content: flex-start; gap: 10px; margin-top: 24px; }
.s-stack-jump a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 14px; font-size: 13px; }
.s-stack-intro { display: block; margin-top: 30px; }
.s-stack-intro > p { max-width: 66ch; }

/* The factual consultation logo keeps a visible text label beside it. */
.s-choice-consultation { flex: 0 1 auto; }
.s-choice-consultation > span { gap: 8px; }
.s-choice-consultation > span > .s-choice-label { display: inline; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; font: inherit; }

@media (max-width: 760px) {
  .s-brief-form legend, .s-brief-form .s-field { font-size: 14px; }
  .s-choice > span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 12px; font-size: 13px; line-height: 1.5; }
  .s-brief-form .s-field textarea, .s-brief-form .s-field select, .s-brief-form .s-select-trigger { font-size: 16px; }
  .s-brief-form .s-select-option { min-height: 44px; font-size: 15px; }
  .s-stack-row p { font-size: 14px; }
}
