@font-face {
  font-family: "Schibsted Grotesk";
  src: url("../fonts/schibsted-grotesk.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f8ef;
  --surface: #fcfdf7;
  --tint: #ebf0e4;
  --ink: #172b21;
  --muted: #48594d;
  --line: #ced9ca;
  --dark: #132e24;
  --dark-text: #f6fbef;
  --dark-muted: #cbdbcf;
  --action: #194936;
  --action-hover: #0e3827;
  --lime: #dceda5;
  --lime-hover: #ebf5c7;
  --accent-ink: #215c3f;
  --focus: #1b684c;
  --glass-edge: rgb(198 229 194 / 33%);
  --glass-light: linear-gradient(145deg, rgb(255 255 251 / 92%), rgb(249 253 238 / 57%));
  --glass-dark: linear-gradient(140deg, rgb(175 219 167 / 19%), rgb(136 181 144 / 7%));
  --shadow-light: 0 12px 32px rgb(34 81 53 / 9%);
  --gutter: clamp(18px, 5.3vw, 80px);
  --header-offset: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 108px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.6 "Schibsted Grotesk", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { font-weight: 690; line-height: 1.05; letter-spacing: -.05em; }
h2 { font-size: clamp(2.18rem, 4.5vw, 4.2rem); }
h3 { font-size: clamp(1.24rem, 2vw, 1.63rem); line-height: 1.15; letter-spacing: -.035em; }
a { color: inherit; text-underline-offset: .24em; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { display: block; width: 100%; height: auto; }
svg { flex-shrink: 0; vertical-align: middle; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.on-dark .form :focus-visible { outline-color: var(--focus); }
.on-dark .form .btn:not(.btn--ghost) { background: var(--action); color: #f8fff3; }
.on-dark .form .btn:not(.btn--ghost):hover { background: var(--action-hover); }
#main:focus { outline: none; }

.wrap { width: min(100% - var(--gutter) * 2, 1280px); margin-inline: auto; }
.section { padding-block: clamp(62px, 7vw, 114px); }
.section--tight { padding-block: clamp(44px, 5vw, 75px); }
.section--tint { background: radial-gradient(ellipse at 90% 10%, #e2ead4, transparent 60%), var(--tint); }
.section-head { max-width: 770px; margin-bottom: clamp(24px, 3.3vw, 48px); }
.section-head p:not(.label) { max-width: 62ch; margin-top: 1rem; color: var(--muted); }
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; align-items: end; }
.section-head--split p:not(.label) { max-width: 43ch; margin: 0 0 .35rem; }
.label {
  color: var(--accent-ink);
  font-size: .73rem;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: .135em;
  line-height: 1.4;
  margin-bottom: .85rem;
}
.accent { font-style: normal; color: var(--accent-ink); }
.on-dark { background: var(--dark); color: var(--dark-text); }
.on-dark .label, .on-dark .accent { color: var(--lime); }
.on-dark .section-head p:not(.label) { color: var(--dark-muted); }

.btn {
  min-height: 49px;
  display: inline-flex;
  gap: .7rem;
  justify-content: center;
  align-items: center;
  padding: .69rem 1.23rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--action);
  color: #f8fff3;
  font-weight: 750;
  font-size: .92rem;
  line-height: 1.25;
  text-align: center;
  text-decoration: none;
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.btn:hover { background: var(--action-hover); box-shadow: 0 5px 18px rgb(21 77 50 / 20%); }
.btn--small { min-height: 42px; padding-inline: .9rem; font-size: .84rem; }
.btn--ghost { background: rgb(252 255 245 / 55%); border-color: #829983; color: var(--ink); }
.btn--ghost:hover { background: #fbfff5; border-color: #55785e; box-shadow: none; }
.on-dark .btn:not(.btn--ghost) { background: var(--lime); color: #183526; }
.on-dark .btn:not(.btn--ghost):hover { background: var(--lime-hover); }
.on-dark .btn--ghost { background: rgb(186 219 169 / 11%); border-color: #9cb29a; color: var(--dark-text); }
.on-dark .btn--ghost:hover { background: rgb(186 225 164 / 23%); border-color: #b6d0aa; }
.link-arrow { display: inline-flex; align-items: center; gap: .52em; color: var(--accent-ink); font-weight: 700; }
.sr-only, .skip-link:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip-link { position: fixed; z-index: 30; top: 12px; left: 12px; background: var(--surface); color: var(--ink); padding: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-block: 12px 0;
  pointer-events: none;
}
.site-header :focus-visible { outline-color: var(--focus); }
.header__inner, .page-simple .site-header .wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 64px;
  padding: 7px 12px;
  border: 1px solid rgb(255 255 252 / 88%);
  border-radius: 19px;
  background: #f1f6e9;
  color: var(--ink);
  box-shadow: 0 9px 32px rgb(39 75 48 / 13%), inset 0 1px 0 rgb(255 255 255 / 80%);
  pointer-events: auto;
}
@supports (backdrop-filter: blur(12px)) {
  .header__inner, .page-simple .site-header .wrap {
    background: rgb(249 252 240 / 77%);
    backdrop-filter: blur(18px) saturate(142%);
  }
}
.brand { display: inline-flex; align-items: center; gap: .65rem; flex-shrink: 0; text-decoration: none; }
.brand img { width: 43px; height: 43px; padding: 3px; border-radius: 10px; background: rgb(255 255 255 / 57%); object-fit: contain; }
.brand__text { display: grid; gap: .2rem; line-height: 1.1; }
.brand__name { font-weight: 780; letter-spacing: -.04em; font-size: 1.12rem; }
.brand__small { color: var(--muted); font-size: .63rem; text-transform: uppercase; letter-spacing: .12em; }
.nav ul, .mobile-nav ul { display: flex; gap: clamp(1rem, 2.2vw, 2.25rem); margin: 0; padding: 0; list-style: none; }
.nav a, .mobile-nav a { display: block; padding-block: .65rem; font-size: .9rem; font-weight: 650; text-decoration: none; }
.nav a:hover, .mobile-nav a:hover { color: var(--accent-ink); text-decoration: underline; }
.nav a[aria-current="location"], .mobile-nav a[aria-current="location"] {
  color: var(--accent-ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .5em;
}
.site-header .brand__small { color: var(--muted); }
.page-simple .site-header + main { margin-top: 12px; }
.header__actions, .nav__phone { display: flex; align-items: center; gap: 1.1rem; }
.nav__phone { gap: .38rem; font-size: .88rem; font-weight: 730; white-space: nowrap; text-decoration: none; }
.nav__phone:hover { text-decoration: underline; }
.mobile-nav { display: none; }
.mobile-nav summary {
  display: flex; align-items: center; gap: .48rem; min-height: 44px;
  padding: 0 .66rem; border: 1px solid #9daf9b; border-radius: 999px;
  background: rgb(255 255 255 / 49%); font-size: .88rem; font-weight: 700; cursor: pointer; list-style: none;
}
summary::-webkit-details-marker { display: none; }
.menu-icon { width: 16px; height: 10px; border-block: 1.5px solid currentColor; }
.mobile-nav[open] .menu-icon { height: 0; border-top: 0; }
.mobile-nav__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px);
  padding: 8px 16px 12px; background: #f5f9ed; border: 1px solid var(--line); border-radius: 15px;
  box-shadow: 0 14px 36px rgb(27 68 43 / 20%);
}
.mobile-nav__panel ul { display: block; }
.mobile-nav__panel li + li { border-top: 1px solid var(--line); }
.mobile-nav__panel a { padding-block: .8rem; }
.mobile-bar { display: none; }

.hero__ctas { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.5rem; }
.needs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.need {
  display: flex; flex-direction: column; align-items: start; min-width: 0;
  padding: clamp(18px, 2.25vw, 32px);
  border: 1px solid #c8d7c4; background: var(--glass-light); border-radius: 20px;
  box-shadow: var(--shadow-light), inset 0 1px 0 #fff;
  text-decoration: none; transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.need:hover { border-color: #769d78; background: #fbfff5; box-shadow: 0 15px 36px rgb(39 94 53 / 14%); }
.need__icon {
  display: grid; width: 48px; height: 48px; place-items: center; margin-bottom: 1rem;
  border: 1px solid #c5d9c0; border-radius: 13px;
  background: linear-gradient(150deg, #f2fbed, #d3e9cd); color: var(--accent-ink);
}
.need:nth-child(3n + 2) .need__icon { background: linear-gradient(150deg, #f8faee, #e8efca); border-color: #d8deb5; color: #465b2b; }
.need:nth-child(3n) .need__icon { background: linear-gradient(150deg, #f2faf5, #d1e8df); border-color: #c4dbce; color: #255a48; }
.need p { color: var(--muted); line-height: 1.5; margin: .6rem 0 1.15rem; }
.need__go { margin-top: auto; color: var(--accent-ink); font-size: .875rem; font-weight: 730; display: flex; align-items: center; gap: .45rem; }
.need:hover .need__go, .need:focus-visible .need__go { text-decoration: underline; }
.service-help { margin-top: 1.45rem; color: var(--muted); }
.service-help a { color: var(--accent-ink); font-weight: 730; }
.service-help svg { margin-left: .2rem; }
#servizi {
  padding-top: clamp(54px, 5.4vw, 82px);
  background:
    radial-gradient(ellipse at 10% 23%, rgb(205 229 198 / 56%), transparent 51%),
    radial-gradient(ellipse at 94% 81%, rgb(226 237 182 / 52%), transparent 57%),
    var(--paper);
}
.audience { margin-top: 2rem; padding-block: 1.3rem; border-block: 1px solid var(--line); }
.audience h3 { font-size: 1.15rem; }
.audience ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .6rem 1.3rem; list-style: none; padding: 0; margin: .7rem 0 0; }
.audience li span { display: block; color: var(--muted); font-size: .92rem; }

.cases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); }
.case, .rel { overflow: hidden; border: 1px solid var(--line); border-radius: 19px; background: var(--glass-light); box-shadow: var(--shadow-light); }
.case { display: flex; flex-direction: column; }
.case__fig, .rel__img, .svc-hero__img, .compare-fallback { position: relative; }
.case__fig img { aspect-ratio: 3/2; object-fit: cover; }
.case__type { position: absolute; top: 12px; left: 12px; padding: .3rem .66rem; border-radius: 999px; background: #f3f8ea; color: var(--ink); font-size: .72rem; font-weight: 730; }
.case__fig figcaption, .rel__img figcaption, .svc-hero__img figcaption, .compare-fallback figcaption {
  position: absolute; right: 10px; bottom: 10px; padding: .28em .65em;
  border-radius: 999px; background: #1a392b; color: var(--dark-text); font-size: .72rem;
}
.case__body { display: flex; flex: 1; flex-direction: column; align-items: start; padding: clamp(16px, 2.2vw, 28px); }
.case__where, .rel__where { color: var(--accent-ink); margin-block: .65rem 1.1rem; font-size: .86rem; }
.case__body dl { display: grid; gap: .65rem; margin-bottom: 1.15rem; color: var(--muted); font-size: .9rem; line-height: 1.5; }
.case__body dt { color: var(--ink); font-weight: 720; }
.case__link { font-size: .87rem; margin-top: auto; }
.case__body h4 { font-size: clamp(1.12rem, 1.7vw, 1.43rem); line-height: 1.2; letter-spacing: -.03em; }
.case-heading { margin: clamp(42px, 6vw, 82px) 0 22px; }
.case-heading p { color: var(--muted); margin-top: .55rem; }

#lavori { padding-top: clamp(52px, 6vw, 84px); }
.portfolio-alternatives { padding: .55rem .4rem 0; font-size: .9rem; }
.portfolio-alternatives summary { cursor: pointer; color: var(--accent-ink); font-weight: 700; }
.portfolio-alternatives ul { margin: .45em 0 .6em; padding-left: 1.25rem; }

html:has(.portfolio-viewer[open]) { overflow: hidden; }
.portfolio-viewer {
  width: min(100% - 30px, 1080px);
  max-height: calc(100dvh - 26px);
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 23px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 36px 110px rgb(11 32 21 / 45%);
}
.portfolio-viewer::backdrop { background: rgb(9 28 19 / 75%); backdrop-filter: blur(5px); }
.portfolio-viewer__inner { padding: clamp(12px, 2vw, 22px); }
.portfolio-viewer__header { display: flex; align-items: center; justify-content: space-between; gap: .65rem; margin-bottom: .85rem; }
.portfolio-viewer__header h2 { font-size: clamp(1.3rem, 3vw, 2.12rem); }
.portfolio-viewer__header .label { margin-bottom: .31rem; }
.portfolio-viewer__frame {
  overflow: hidden;
  height: min(58dvh, 610px);
  border-radius: 13px;
  background: #142b20;
  touch-action: pan-y pinch-zoom;
}
.portfolio-viewer__frame img { width: 100%; height: 100%; object-fit: contain; }
.portfolio-viewer__caption { min-height: 2.95em; margin-top: .64rem; color: var(--muted); font-size: .87rem; line-height: 1.4; }
.portfolio-viewer__controls { display: flex; align-items: center; justify-content: space-between; gap: .35rem; }
.viewer-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  min-width: 44px;
  min-height: 44px;
  padding: .33rem .65rem;
  border: 1px solid #8da38a;
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: .88rem;
  font-weight: 720;
}
.viewer-button:hover { background: var(--tint); }
.viewer-previous, .viewer-next { font-size: 1.35rem; line-height: 1; }
.portfolio-viewer__thumbs { display: flex; align-items: center; justify-content: center; gap: clamp(4px, 1vw, 10px); }
.portfolio-viewer__thumbs button {
  width: clamp(34px, 10vw, 76px);
  height: clamp(42px, 12vw, 58px);
  overflow: hidden;
  padding: 2px;
  border: 2px solid transparent;
  border-radius: 8px;
  background: var(--tint);
}
.portfolio-viewer__thumbs button[aria-pressed="true"] { border-color: var(--action); }
.portfolio-viewer__thumbs img { height: 100%; object-fit: cover; border-radius: 4px; }

.story-sec {
  background: radial-gradient(ellipse at 85% 9%, #385439, transparent 63%),
    radial-gradient(ellipse at 6% 100%, #17513d, transparent 59%), var(--dark);
}
.story__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.2vw, 18px); list-style: none; padding: 0; margin: 0; }
.story__step {
  min-width: 0; padding: clamp(13px, 1.55vw, 23px); border: 1px solid var(--glass-edge); border-radius: 18px;
  background: var(--glass-dark); box-shadow: inset 0 1px 0 rgb(244 250 255 / 12%);
}
.story__n {
  display: inline-grid; place-items: center; width: 36px; height: 35px; margin-bottom: .78rem;
  color: #e7f2cc; border: 1px solid rgb(195 224 168 / 28%); border-radius: 10px;
  background: rgb(158 209 142 / 15%); font-size: .81rem; font-weight: 740;
}
.story__step h3 { font-size: 1.15rem; margin-bottom: .45rem; }
.story__step p, .method__foot p { color: var(--dark-muted); font-size: .92rem; }
.method__foot { display: flex; gap: 1.2rem; justify-content: space-between; align-items: center; border-top: 1px solid var(--glass-edge); margin-top: 2.5rem; padding-top: 1.35rem; }
.method__foot strong { color: var(--dark-text); }

.founder { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: clamp(24px, 6vw, 84px); align-items: center; }
.founder__portrait img { max-height: 540px; object-fit: cover; object-position: center 30%; border-radius: 23px; box-shadow: var(--shadow-light); }
.founder__body p { color: var(--muted); margin-top: .75rem; max-width: 59ch; }
.founder__name { font-size: clamp(1.65rem, 3.5vw, 3rem); }
.founder__body p.founder__role, .person__role { color: var(--accent-ink); font-weight: 700; margin-top: .45rem; }
.founder__body p.founder__cred, .person__cred { color: var(--ink); font-weight: 730; }
.founder__body .btn, .tech__grid .btn { margin-top: 1.3rem; }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: clamp(22px, 4vw, 54px); }
.person, .network { border: 1px solid var(--line); border-radius: 18px; background: var(--glass-light); padding: clamp(16px, 3vw, 34px); box-shadow: var(--shadow-light); }
.person p, .network p:not(.label) { margin-top: .6rem; }
.tech { background: radial-gradient(ellipse at 92% 70%, #305b41, transparent 65%), var(--dark); }
.tech__grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: clamp(22px, 5vw, 80px); align-items: center; }
.tech__grid p:not(.label) { color: var(--dark-muted); margin-top: 1rem; max-width: 48ch; }
.tech__image { position: relative; overflow: hidden; border: 1px solid var(--glass-edge); border-radius: 22px; }
.tech__image img { aspect-ratio: 8/5; object-fit: cover; }
.tech__image figcaption {
  position: absolute; bottom: 10px; right: 10px; padding: .28em .65em;
  border-radius: 999px; background: #1a392b; color: var(--dark-text); font-size: .73rem;
}

.faq-grid, .svc-two { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(20px, 5vw, 76px); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.02rem; list-style: none; font-weight: 720; line-height: 1.36; }
.faq summary::after { content: "+"; color: var(--accent-ink); font-size: 1.25rem; line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq__a { color: var(--muted); padding-bottom: 1rem; }

.contact { background: radial-gradient(ellipse at 88% 16%, #3b5c3d, transparent 62%), radial-gradient(ellipse at 16% 84%, #1e4c36, transparent 68%), var(--dark); }
.contact__grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(28px, 7.5vw, 108px); align-items: start; }
.contact__lead { color: var(--dark-muted); margin-top: 1.15rem; max-width: 45ch; }
.contact__note { color: var(--dark-muted); margin-top: .7rem; font-size: .91rem; max-width: 45ch; }
.coords { display: grid; margin-top: 1.7rem; overflow-wrap: anywhere; }
.coords__row { display: grid; grid-template-columns: minmax(56px, .28fr) 1fr; gap: 10px; border-top: 1px solid var(--glass-edge); padding: .72rem 0; }
.coords__row dt { font-weight: 710; }
.coords__row dd { color: var(--dark-muted); }
.coords a:hover { color: var(--lime); }
.form {
  background: #f4f8ec;
  border: 1px solid rgb(228 243 218 / 77%);
  border-radius: 24px; padding: clamp(18px, 3vw, 38px); color: var(--ink);
  box-shadow: 0 24px 80px rgb(8 29 18 / 24%), inset 0 1px 0 #fff;
}
.form__head { margin-bottom: 1.1rem; }
.form__head p { color: var(--muted); margin-top: .35rem; font-size: .93rem; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.field--full { grid-column: 1/-1; }
.field label { display: block; font-weight: 720; font-size: .88rem; line-height: 1.3; margin-bottom: .35rem; }
.field small { font-size: .75rem; font-weight: 500; color: var(--muted); }
.field input, .field textarea, .field select {
  display: block; width: 100%; min-height: 45px; border: 1px solid #758c76;
  border-radius: 9px; background: #fdfef9; color: var(--ink); padding: .58rem .72rem;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder, .field textarea::placeholder { color: #52654f; opacity: 1; }
.field select { padding-right: .25rem; }
.consent { display: flex; align-items: center; gap: .6rem; min-height: 44px; margin-top: .7rem; font-size: .9rem; cursor: pointer; }
.consent input { width: 17px; height: 17px; margin: 0; flex: none; accent-color: var(--accent-ink); }
.consent a, .form__done a, .form__status a { color: var(--accent-ink); font-weight: 700; }
.field__error { color: #8c3024; font-size: .83rem; margin-top: .2rem; }
.field__error:empty { display: none; }
[aria-invalid="true"] { border-color: #a43729 !important; }
.form button[type="submit"] { margin-top: .7rem; }
.form button[disabled] { cursor: wait; opacity: .65; }
.form__status { background: var(--tint); border-left: 3px solid var(--accent-ink); padding: .7rem .85rem; margin-top: .4rem; font-size: .9rem; }
.form__done p { margin-block: .55rem .8rem; }
.hp { position: absolute; overflow: hidden; clip-path: inset(50%); width: 1px; height: 1px; }

.site-footer { background: #10291f; color: var(--dark-text); padding-block: clamp(32px, 5vw, 66px) 24px; }
.footer__grid { display: grid; grid-template-columns: 1.08fr 1fr .65fr 1fr; gap: 1.35rem; overflow-wrap: anywhere; }
.footer__grid h2 { font-size: 1.05rem; letter-spacing: -.025em; }
.footer-logo { display: inline-block; margin-bottom: .9rem; }
.footer-logo img { max-width: 88px; border-radius: 3px; background: var(--paper); }
.footer__grid p, .footer__grid ul { color: var(--dark-muted); font-size: .87rem; }
.footer__grid ul { padding: 0; margin: .45rem 0 0; list-style: none; }
.footer__grid li { margin-bottom: .35rem; }
.footer__grid a { text-decoration: none; }
.footer__grid a:hover { text-decoration: underline; }
.footer__legal { margin-top: 1.55rem; border-top: 1px solid var(--glass-edge); padding-top: 1rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; color: var(--dark-muted); font-size: .77rem; }

.svc-hero { background: radial-gradient(ellipse at 18% 20%, #f8fbef, transparent 62%), linear-gradient(120deg, #e7efdf, #dce8d3); border-bottom: 1px solid var(--line); }
.svc-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(24px, 5vw, 74px); align-items: center; padding-block: clamp(36px, 5.3vw, 73px); }
.crumbs { display: flex; flex-wrap: wrap; gap: .38rem; font-size: .82rem; color: var(--muted); margin-bottom: 1.1rem; }
.svc-hero h1 { font-size: clamp(2.15rem, 3.95vw, 3.95rem); }
.svc-hero__lead { color: var(--muted); max-width: 58ch; }
.svc-hero__lead p { margin-top: .85rem; }
.svc-hero__img img, .compare-fallback img { aspect-ratio: 4/3; object-fit: cover; }
.svc-hero__img, .compare-fallback { overflow: hidden; border: 1px solid var(--line); border-radius: 23px; box-shadow: var(--shadow-light); }
.service-index { display: flex; flex-wrap: wrap; column-gap: 1.35rem; border-bottom: 1px solid var(--line); }
.service-index a { display: flex; align-items: center; min-height: 44px; font-size: .86rem; color: var(--accent-ink); font-weight: 720; }
.svc-h2 { font-size: clamp(1.95rem, 3.6vw, 3.1rem); }
.svc-h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }
.prose { color: var(--muted); }
.prose p + p, .prose ul + p { margin-top: .75rem; }
.prose h2 { color: var(--ink); }
.when, .docs, .outputs { padding: 0; margin: 0; list-style: none; }
.when li { border-top: 1px solid var(--line); padding: .75rem 0 .75rem 1.25rem; position: relative; }
.when li:last-child { border-bottom: 1px solid var(--line); }
.when li::before, .docs li::before, .outputs li::before { content: ""; display: inline-block; width: 5px; height: 5px; background: var(--accent-ink); margin: 0 .65rem .2rem 0; }
.when li::before { position: absolute; top: 1.4rem; left: 0; }
.psteps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.psteps--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.psteps li { padding: 1rem 0; border-top: 2px solid #8daf85; }
.psteps h3 { font-size: 1.13rem; }
.psteps p { margin-top: .4rem; color: var(--muted); font-size: .92rem; }
.duo { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.duo__card { border: 1px solid var(--line); border-radius: 17px; background: var(--glass-light); padding: clamp(18px, 3vw, 34px); box-shadow: var(--shadow-light); }
.duo__card--green { background: linear-gradient(145deg, #f5fbef, #dcecd4); }
.duo__card ul, .duo__card p:not(.label) { margin-top: .8rem; }
.duo__card li + li { margin-top: .32rem; }
.honest { color: var(--muted); font-size: .93rem; margin-top: 1rem; max-width: 86ch; }
.rel { display: grid; grid-template-columns: .85fr 1.15fr; align-items: stretch; }
.rel__body { align-self: center; padding: clamp(18px, 3vw, 34px); }
.rel__body h2 { font-size: clamp(1.45rem, 3vw, 2.55rem); margin-bottom: .65rem; }
.rel__img img { height: 100%; object-fit: cover; }
.twin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem 1.15rem; padding: 0; margin: 1.1rem 0 0; }
.twin dt { font-weight: 730; }
.twin dd { color: var(--muted); }
.others { display: flex; flex-wrap: wrap; gap: .75rem 1rem; margin-top: .65rem; color: var(--accent-ink); }

.compare { isolation: isolate; position: relative; aspect-ratio: 3/2; background: #fff; border: 1px solid var(--line); border-radius: 17px; overflow: clip; }
.compare__cad, .compare__pts, .compare__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
.compare__range { z-index: 3; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare:focus-within { outline: 3px solid var(--focus); outline-offset: 3px; }
.compare__divider { pointer-events: none; position: absolute; z-index: 1; inset: 0 auto 0 clamp(0px, var(--pos), 100%); width: 1px; background: var(--accent-ink); }
.compare__handle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: var(--dark); color: #fff; border: 1px solid #fff; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; }
.compare__handle svg { width: 20px; }
.compare__tag, .compare__note { position: absolute; top: 8px; z-index: 2; background: var(--dark); color: var(--dark-text); padding: .22rem .4rem; font-size: clamp(.62rem, 1vw, .75rem); }
.compare__tag--l { left: 8px; }
.compare__tag--r, .compare__note { right: 8px; }
.compare__note { top: auto; bottom: 8px; }
.cmp-toggle { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .65rem; }
.cmp-toggle button { min-height: 44px; border: 1px solid #809984; border-radius: 10px; color: var(--ink); background: var(--surface); padding: .4rem .65rem; font-size: .84rem; }
.cmp-toggle button[aria-pressed="true"] { color: var(--dark-text); background: var(--dark); border-color: var(--dark); }
.compare-caption { font-size: .86rem; color: var(--muted); margin-top: .55rem; }

.center-page { display: grid; place-items: center; min-height: 85svh; text-align: center; padding: 44px var(--gutter); }
.center-page h1, .page-hero h1 { font-size: clamp(2.2rem, 6vw, 4.65rem); }
.center-page p:not(.big-code) { max-width: 55ch; margin: 1rem auto 1.5rem; color: var(--muted); }
.center-page .big-code { color: var(--accent-ink); font-size: .95rem; font-weight: 740; margin-bottom: .6rem; }
.request-errors { text-align: left; max-width: 54ch; margin-inline: auto; padding-inline-start: 1.25rem; }
.request-actions { justify-content: center; }
.page-hero { background: var(--tint); padding-block: clamp(35px, 5vw, 72px); }
.page-simple .prose { max-width: 760px; padding-block: 38px 65px; }
.page-simple .prose h2 { font-size: 1.38rem; margin-block: 1.7rem .45rem; }
.privacy-date { font-size: .86rem; margin-top: 1.8rem !important; }

@media (hover: hover) {
  .need:hover { transform: translateY(-3px); }
}
@media (max-width: 730px) {
  .portfolio-viewer__frame { height: clamp(170px, 62vw, 395px); }
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.no-js):has(.home-page) { scroll-behavior: smooth; }
  .in-view { animation: rise-into-view .5s cubic-bezier(.2,.75,.2,1) backwards; }
  .in-view:is(.need, .portfolio-project, .story__step):nth-child(2n) { animation-delay: 55ms; }
  .need__go svg { transition: transform .42s cubic-bezier(.2,.75,.2,1); }
  @media (hover: hover) {
    .need:hover .need__go svg { transform: translateX(4px); }
  }
}
@keyframes rise-into-view {
  from { opacity: .56; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@media (max-width: 1060px) {
  .header__actions .nav__phone { display: none; }
  .psteps--5, .story__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  :root { --header-offset: 63px; }
  html { scroll-padding-top: 84px; }
  .site-header { padding-top: 8px; }
  .header__inner, .page-simple .site-header .wrap { min-height: 55px; padding: 4px 7px; border-radius: 15px; }
  .brand { gap: .5rem; }
  .brand img { width: 37px; height: 37px; border-radius: 9px; }
  .brand__name { font-size: 1rem; }
  .nav, .header__actions { display: none; }
  .mobile-nav { display: block; }
  .no-js .site-header:has(.mobile-nav[open]) { position: relative; }
}
@media (max-width: 760px) {
  html { scroll-padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  body:has(.mobile-bar) { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .mobile-bar {
    display: grid; grid-template-columns: .8fr 1.2fr; gap: 7px; position: fixed; z-index: 8;
    inset: auto var(--gutter) calc(7px + env(safe-area-inset-bottom)); padding: 5px;
    background: #f4faeb; background: rgb(248 252 242 / 91%); backdrop-filter: blur(14px);
    border: 1px solid #fafff3; border-radius: 15px; box-shadow: 0 7px 26px rgb(25 65 40 / 21%);
  }
  .mobile-bar a {
    display: flex; justify-content: center; align-items: center; gap: .45rem; min-height: 44px;
    border: 1px solid #8ba189; border-radius: 10px; color: var(--ink); font-size: .88rem; font-weight: 740; text-decoration: none;
  }
  .mobile-bar a:last-child { background: var(--action); color: #f8fff3; border-color: var(--action); }
  .mobile-bar svg { width: 18px; height: 18px; }
  .form-in-view .mobile-bar { visibility: hidden; }
  .hero__ctas { margin-top: 1.07rem; }
  .svc-hero__grid, .tech__grid, .contact__grid, .faq-grid, .svc-two { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; gap: .85rem; }
  .section-head--split p:not(.label) { margin: 0; }
  .cases { grid-template-columns: 1fr; max-width: 530px; }
  .needs { grid-template-columns: 1fr 1fr; }
  .founder { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .needs, .people, .founder, .duo, .rel, .audience ul, .story__steps { grid-template-columns: 1fr; }
  .founder__portrait img { max-height: 390px; }
  .psteps, .psteps--5 { grid-template-columns: 1fr 1fr; }
  .method__foot { flex-direction: column; align-items: flex-start; }
  .fields { grid-template-columns: 1fr; }
  .form button[type="submit"] { width: 100%; }
  .footer__grid > :first-child, .footer__grid > :last-child { grid-column: 1/-1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
  .need:hover { transform: none; }
}
