@font-face {
  font-family: "Noto Sans Display";
  src: url("assets/fonts/noto-sans-display-regular.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Display";
  src: url("assets/fonts/noto-sans-display-bold.woff") format("woff");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Display";
  src: url("assets/fonts/noto-sans-display-italic.woff") format("woff");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Noto Sans Display";
  src: url("assets/fonts/noto-sans-display-bolditalic.woff") format("woff");
  font-style: italic;
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #fffdf9;
  --navy: #142941;
  --body: #3b4958;
  --accent: #9b390d;
  --accent-light: #f3ad6e;
  --line: #dcd6cf;
  --text: "Noto Sans Display", system-ui, "Segoe UI", sans-serif;
  --tsn-mark: Georgia, "Times New Roman", serif;
  --bet-mark: system-ui, "Segoe UI", sans-serif;
  --width: 1160px;
  font-family: var(--text);
  color: var(--navy);
  background: var(--paper);
  scroll-behavior: smooth;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; }
button { font: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h1, h2 { font-family: var(--text); font-weight: 700; }
h2 { font-size: clamp(2.3rem, 4.4vw, 3.85rem); letter-spacing: -.044em; line-height: 1.03; }
:focus-visible { outline: 3px solid #1c6399; outline-offset: 5px; }
.wrap { width: min(var(--width), calc(100% - 96px)); margin-inline: auto; }
section[id] { scroll-margin-top: 25px; }
.skip { position: fixed; z-index: 5; top: 8px; left: 8px; padding: 12px; background: white; transform: translateY(-150%); }
.skip:focus { transform: translateY(0); }

.site-header { position: relative; z-index: 1; border-bottom: 1px solid #e7e0d8; background: var(--paper); }
.header-inner { display: flex; justify-content: space-between; align-items: center; min-height: 83px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; text-decoration: none; }
.brand img { object-fit: contain; }
.brand span { display: grid; gap: 4px; border-left: 1px solid #c9c5bd; padding-left: 12px; }
.brand strong { font: 700 clamp(1.2rem, 2.1vw, 1.65rem)/1 var(--text); letter-spacing: -.035em; }
.brand small { font-size: .65rem; font-weight: 650; letter-spacing: .15em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }
nav a { font-size: .88rem; font-weight: 640; text-decoration: none; white-space: nowrap; }
nav a:hover, nav a[aria-current="page"] { color: var(--accent); }
.nav-contact { border: 1px solid #c9bdb0; border-radius: 99px; padding: 9px 14px; }
.nav-contact span { margin-left: 8px; }
.menu-toggle { display: none; }

.hero { isolation: isolate; position: relative; overflow: hidden; background: #fcfaf6; }
.hero-art {
  z-index: -1;
  position: absolute;
  inset: 0 0 0 37%;
  background: transparent;
  mask-image: linear-gradient(90deg, transparent, black 27%);
  filter: saturate(1.23) contrast(1.055);
}
.hero-inner { display: flex; align-items: center; min-height: 455px; padding-block: 61px 66px; }
.hero-copy { width: min(610px, 100%); }
.hero h1 { font-size: clamp(3.05rem, 6.9vw, 6.15rem); letter-spacing: -.062em; line-height: .99; font-weight: 700; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero p { margin-top: 26px; max-width: 380px; color: var(--body); font-size: clamp(1.01rem, 1.72vw, 1.15rem); line-height: 1.55; }
.button { display: inline-flex; gap: 16px; align-items: center; justify-content: center; min-height: 46px; padding: 11px 17px; border: 1px solid transparent; border-radius: 99px; color: #fffdf9; background: var(--navy); font-size: .88rem; font-weight: 660; text-decoration: none; transition: background-color .18s; }
.button:hover { background: #254761; }
.hero .button { margin-top: 23px; }

.section { padding-block: 69px; }
.projects { padding-top: 40px; padding-bottom: 61px; }
.section-title { display: flex; align-items: center; justify-content: center; gap: clamp(13px, 3vw, 32px); margin-bottom: 27px; text-align: center; font-size: clamp(2.05rem, 3.8vw, 3.4rem); }
.section-title::before, .section-title::after { content: ""; width: min(11vw, 99px); height: 1px; background: #c8a489; }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.project { position: relative; isolation: isolate; overflow: hidden; border: 1px solid #cbd6e0; border-radius: 18px; padding: clamp(23px, 3.2vw, 37px); min-height: 247px; display: flex; }
.project-tsn { background: #e1ecf6; border-top: 4px solid #236087; }
.project-bet { background: #f6e3d1; border-color: #e7cfba; border-top: 4px solid var(--accent); }
.project-content { z-index: 1; display: flex; flex: 1; flex-direction: column; position: relative; }
.project-name { display: flex; align-items: center; gap: 11px; min-height: 55px; }
.project-name svg { flex-shrink: 0; color: #185887; stroke: currentColor; stroke-width: 2; }
.project-name h3 { font: 600 clamp(1.7rem, 3.5vw, 2.85rem)/1 var(--tsn-mark); letter-spacing: -.055em; }
.project-name h3.bet-name { font: italic 750 clamp(2.4rem, 4.5vw, 3.55rem)/1 var(--bet-mark); letter-spacing: -.065em; }
.bet-name::after { content: ""; position: absolute; width: 36px; height: 3px; top: 55px; left: 4px; border-radius: 50%; background: var(--accent); transform: rotate(-8deg); }
.project-content > p { color: #23384d; max-width: 310px; margin-top: 14px; line-height: 1.47; min-height: 48px; }
.project-content > .project-note { margin-top: 9px; min-height: 0; font-size: .9rem; }
.project-content > .project-listing { max-width: none; }
.keep-together { white-space: nowrap; }
.tsn-art, .bet-art { position: absolute; width: 52%; inset: 0 0 0 auto; pointer-events: none; }
.tsn-art { background: repeating-radial-gradient(circle at 98% 54%, #426b8e 0 17px, #6a8eab 17px 36px, #98b0c7 36px 54px, #c3d3e1 54px 73px); opacity: .84; mask-image: linear-gradient(90deg, transparent, black 71%); }
.bet-art { background: url("data:image/webp;base64,UklGRi4PAABXRUJQVlA4ICIPAAAQZACdASrVANUAPjEWiEOiIRIVOOUcQAMEs7cHGDSeqAdZqbJ2kjNzpVUQODxhUnnx30JYk+kxueol9oruf/D/5fzFv6B/ieYK5vwK9HtmJHYv8fyf/TfsGfrcNG2/qUDylerkBXLwlAH8FRbKI2T78h74GlS+aRiRXUNFixcIubS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cTQAzQ1NkqIZyucPitD3KsqeLNwjsN5y9vqqZQdXdnU2r+lN1yJqb6UVEhd/F45tXcHRbiVNSLX4O/y6BHSUndkXyf4u2STaxsOaBYjrN3VI+riufdeDbBSepGllyv/QWUJCXNhDi8HWLTwDKp8B85506RzNyrEEPk0SOryapyrT/bq+MDOIQztJ9fI9y25QLnPSxniYgGizao918UlaVt0zt3FOvBfMqwXkCRxN35fMwPnx3zHN0HqF05SaAQstt+4sflsaLnDErnoM1F/mlN8nDYxaij+j2Zwlbigy+LIaM41KB/tjpBJqvXTjS+X1uJ1WlTcIIgZUUx4nBgy8B/mBi8i7l++XbX1gLcCA8vXS+hzSwwFzntsxJ4ic23/MTItDBwGhO3DNQCf0phC2xBDzH7y+NCIUL8USBRlGF9TPXQhXohTbSc2IZOt3noPqljxBpCA7EeDfUNQc/8MZz/iIlqbGyQmKdudXWhXlcxhzrxk5LEaTQejo2X47ZJl6ypUvrViZ5xLZCRRZZyaGq/kBy9ipcM/kmW0icsu7gcUWRszjlJhQkCPtoxgeGdDwYvTl8M3LHF15EDEmWbInkfY/PsdhK6EjHNvuttpQL7TivRBXH11vvEhBeEJ1QeL9gOwA+fksIE5EN/Kse+9eDnXnJ0rhb1Hv6gHthNGFDr0gZP7DOoAAAA") center / cover no-repeat; mask-image: linear-gradient(90deg, transparent, black 73%); opacity: .93; }
.project-link { display: flex; align-items: center; gap: 11px; width: fit-content; min-height: 44px; margin-top: auto; padding: 14px 5px 0 0; font-size: .93rem; font-weight: 680; text-decoration: none; }
.project-link span { display: grid; place-items: center; width: 29px; height: 29px; border: 1px solid currentColor; border-radius: 50%; }
.project-link:hover { text-decoration: underline; text-underline-offset: .2em; }

.custom { background: #152c44; color: #fff9ef; }
.custom-layout { display: grid; grid-template-columns: minmax(230px, .9fr) minmax(0, 1.5fr); gap: clamp(27px, 6vw, 85px); align-items: center; }
.custom-intro p { max-width: 350px; margin-top: 14px; color: #e0e8ef; line-height: 1.55; }
.text-link { display: inline-flex; gap: 10px; margin-top: 17px; font-size: .92rem; font-weight: 650; text-underline-offset: .2em; }
.text-link span { color: var(--accent-light); }
.applications { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
.applications > div { border-left: 1px solid #74869a; padding-left: clamp(13px, 2vw, 25px); }
.applications svg { color: var(--accent-light); stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 7px; }
.applications h3 { font-size: .99rem; line-height: 1.3; font-weight: 700; }
.applications p { color: #dce6ed; margin-top: 6px; font-size: .87rem; line-height: 1.46; }

.history { background: #f1e6d7; border-bottom: 1px solid #ded0bd; }
.history-inner { display: flex; justify-content: center; align-items: center; gap: clamp(20px, 5vw, 68px); min-height: 182px; padding-block: 24px; }
.history-inner img { width: clamp(65px, 10vw, 110px); height: auto; flex-shrink: 0; }
.history-inner h2 { font-style: italic; }
.history-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 14px; min-height: 36px; color: var(--accent); font-weight: 680; text-underline-offset: .2em; }
.history-link:hover { color: var(--navy); }
.story-article { padding-block: clamp(48px, 9vw, 112px); }
.story-back { display: inline-flex; align-items: center; gap: 9px; color: var(--accent); font-size: .93rem; font-weight: 650; text-underline-offset: .2em; }
.story-article h1 { margin-block: 24px; font-size: clamp(2.65rem, 6.7vw, 5.4rem); letter-spacing: -.056em; line-height: 1; }
.history-copy { max-width: 680px; color: var(--body); font-size: 1.06rem; line-height: 1.65; }
.history-copy p + p { margin-top: 15px; }
.contact { background: #fcf9f4; }
.contact-inner { display: flex; justify-content: space-between; align-items: center; gap: 23px; }
.contact p { color: var(--body); margin-top: 12px; line-height: 1.56; }
.contact .button { white-space: nowrap; }
.footer-inner { padding-block: 23px; display: flex; justify-content: space-between; gap: 12px; align-items: center; font-size: .82rem; color: var(--body); }
footer { border-top: 1px solid #e9e0d6; }
footer a { text-underline-offset: .2em; }

@media (max-width: 820px) {
  .wrap { width: calc(100% - 52px); }
  .header-inner { flex-wrap: wrap; gap: 10px; padding-block: 12px; min-height: 69px; }
  .menu-toggle:not([hidden]) { display: block; color: var(--navy); min-height: 42px; padding: 7px 14px; border: 1px solid #bbac9b; border-radius: 99px; background: transparent; }
  .menu-toggle[aria-expanded="false"] + nav { display: none; }
  nav { gap: 13px 20px; flex-wrap: wrap; flex: 0 0 100%; padding-top: 6px; }
  .hero-inner { min-height: 405px; }
  .custom-layout { grid-template-columns: 1fr; }
  .project-content > .project-listing { font-size: .93rem; }
}
@media (max-width: 675px) {
  .cards { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 585px) {
  .wrap { width: calc(100% - 36px); }
  .brand { gap: 8px; }
  .brand span { padding-left: 8px; }
  .brand img { width: 35px; height: 35px; }
  .hero-inner { min-height: 440px; align-items: flex-start; padding-top: 47px; padding-bottom: 155px; }
  .hero h1 { font-size: clamp(2.35rem, 10.7vw, 3.85rem); }
  .hero-art { inset: 40% 0 0 0; background-position: center 54%; mask-image: linear-gradient(180deg, transparent, #0002 24%, #000 83%); }
  .hero p { margin-top: 17px; max-width: 300px; }
  .hero .button { margin-top: 17px; }
  .section { padding-block: 42px; }
  .projects { padding-top: 32px; }
  .project { min-height: 216px; }
  .tsn-art { opacity: .62; }
  .bet-name::after { top: 48px; }
  .applications { grid-template-columns: 1fr; gap: 17px; }
  .applications > div { display: grid; grid-template-columns: 32px 1fr; column-gap: 10px; align-items: center; }
  .applications svg { grid-row: span 2; margin-bottom: 0; }
  .applications p { margin-top: 3px; }
  .history-inner { min-height: 140px; }
  .history-inner h2 { font-size: clamp(1.9rem, 7.2vw, 2.5rem); }
  .contact-inner, .footer-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 370px) {
  .menu-toggle:not([hidden]) { padding-inline: 10px; font-size: .88rem; }
  .project { padding-inline: 17px; }
  .project-content > .project-listing { font-size: .87rem; }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; }
}

.past-work { margin-block: 47px 34px; }
.past-work h2 { margin-bottom: 24px; font-size: clamp(2rem, 4.2vw, 3.2rem); }
.work-table { width: 100%; border-collapse: collapse; font-size: .94rem; line-height: 1.48; }
.work-table th, .work-table td { padding: 14px 18px; text-align: left; vertical-align: top; }
.work-table thead th { color: #fffdf9; background: var(--navy); font-weight: 650; }
.work-table thead th:first-child { width: 29%; }
.work-table thead th:nth-child(2) { width: 24%; }
.work-table tbody tr { border-bottom: 1px solid #ded6ce; }
.work-table tbody tr:nth-child(even) { background: #f6eee5; }
.work-table tbody th { font-weight: 720; }
.work-table tbody th span { display: block; margin-top: 3px; color: var(--body); font-size: .88rem; font-weight: 450; }
.work-logos { display: flex; flex-wrap: wrap; gap: 6px; }
.work-logos img { width: 75px; height: 48px; padding: 4px; object-fit: contain; background: #fff; border: 1px solid #e3dbd1; border-radius: 5px; }
.work-description { color: var(--body); }

@media (max-width: 660px) {
  .past-work { margin-top: 34px; }
  .work-table, .work-table tbody { display: block; }
  .work-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .work-table tbody tr { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 13px 11px 15px; }
  .work-table tbody th, .work-table td { padding: 0; }
  .work-logo-cell:empty { display: none; }
}

.product-page-tsn { --product-tint: #e3eef7; --product-accent: #245d83; }
.product-page-bet { --product-tint: #f7eadc; --product-accent: #9b390d; }
.product-hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 3px solid var(--product-accent); background: var(--product-tint); }
.product-hero-inner { padding-block: clamp(38px, 6.4vw, 85px); }
.product-hero h1 { margin-top: 27px; font-size: clamp(3.35rem, 9.5vw, 7rem); font-weight: 600; letter-spacing: -.068em; line-height: .94; }
.product-page-tsn .product-hero h1 { font-family: var(--tsn-mark); }
.product-page-bet .product-hero h1 { font-family: var(--bet-mark); font-weight: 750; font-style: italic; }
.product-line { font-family: var(--text); font-size: clamp(1.6rem, 3.5vw, 2.8rem); line-height: 1.12; margin-top: 12px; }
.product-intro { max-width: 450px; color: var(--body); margin-top: 16px; line-height: 1.62; font-size: 1.04rem; }
.product-hero .button { margin-top: 24px; }
.product-hero .story-back { color: var(--product-accent); }
.product-hero .tsn-art, .product-hero .bet-art { width: min(52%, 750px); z-index: -1; }
.product-hero .tsn-art { background-size: 100% 100%; }
.product-hero .bet-art { background-position: 60% 48%; }
.product-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 19px; margin-top: 28px; }
.product-features article { border: 1px solid var(--line); border-top: 3px solid var(--product-accent); background: #fff; border-radius: 9px; padding: clamp(16px, 2.5vw, 30px); }
.product-features h3 { font-size: 1.1rem; line-height: 1.31; }
.product-features p { color: var(--body); margin-top: 9px; line-height: 1.58; }
.product-aside { background: #152c44; color: #fff9ef; padding-block: clamp(28px, 5vw, 56px); }
.product-aside-inner { display: grid; grid-template-columns: .85fr 1fr; gap: 28px; align-items: center; }
.product-aside h2 { font-size: clamp(2.05rem, 3.5vw, 3.2rem); }
.product-aside p { color: #e0e8ef; line-height: 1.6; }
.gare-aside .product-aside-inner { align-items: start; }
.gare-targets { position: relative; isolation: isolate; width: 214px; height: 151px; margin-top: 23px; }
.gare-target {
  position: absolute;
  aspect-ratio: 1;
  border: 1px solid #aac5da;
  border-radius: 50%;
  background: repeating-radial-gradient(circle, #1c354e 0 8%, #a1bace 8.3% 9.2%, #1c354e 9.6% 16.2%);
}
.gare-target::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  width: 9%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--accent-light);
  box-shadow: 0 0 0 3px #f3ad6e24;
}
.gare-target-back { width: 100px; top: 5px; left: 105px; opacity: .56; }
.gare-target-front { width: 138px; bottom: 0; left: 0; box-shadow: 8px 9px 18px #0e223966; }

@media (max-width: 675px) {
  .gare-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
  .gare-targets { width: 127px; height: 76px; margin-top: 0; }
  .gare-target-front { width: 74px; }
  .gare-target-back { width: 57px; top: 1px; left: 60px; }
}

@media (max-width: 370px) {
  .gare-targets { width: 107px; }
  .gare-target-back { left: 50px; }
}
.product-aside-copy p + p { margin-top: 13px; }

@media (max-width: 675px) {
  .product-features, .product-aside-inner { grid-template-columns: 1fr; gap: 15px; }
  .product-hero .tsn-art, .product-hero .bet-art { opacity: .31; }
}

.bet-overview h2 { max-width: 1000px; font-size: clamp(2.1rem, 4.5vw, 3.75rem); line-height: 1.05; }
.bet-idea-lead { display: flex; align-items: center; gap: 12px; margin-bottom: 13px; color: var(--accent); font: 670 clamp(.95rem, 2vw, 1.12rem)/1.3 var(--text); letter-spacing: 0; }
.bet-idea-lead::before { content: ""; flex: 0 0 24px; height: 2px; background: currentColor; }
.bet-idea-statement { display: block; }
.bet-idea-statement > span { display: inline-block; }
.bet-idea-statement em { color: var(--accent); }
.bet-lead { color: var(--body); margin-top: 19px; max-width: 680px; line-height: 1.6; }
.bet-principles {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.07fr);
  grid-template-areas: "dati ambiente" "decisioni ambiente";
  gap: 15px;
  margin-top: 32px;
}
.bet-principles article {
  padding: clamp(21px, 3vw, 38px);
  border: 1px solid #e1d5c9;
  border-radius: 13px;
  background: #fff;
}
.bet-principles article:nth-child(1) { grid-area: dati; }
.bet-principles article:nth-child(2) { grid-area: decisioni; }
.bet-principles article:nth-child(3) { grid-area: ambiente; background: #f4e7da; }
.bet-icon { color: var(--product-accent); stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; display: block; }
.bet-principles .bet-icon {
  box-sizing: content-box;
  padding: 8px;
  background: #f6eadd;
  border-radius: 10px;
  margin-bottom: 14px;
}
.bet-principles article:nth-child(3) .bet-icon { background: #fff9f1; }
.bet-principles h3 {
  font: 600 clamp(1.55rem, 2.7vw, 2.12rem)/1.12 var(--text);
  letter-spacing: -.035em;
  margin-bottom: 10px;
}
.bet-principles p { color: var(--body); max-width: 58ch; line-height: 1.65; }
.bet-principles p + p { margin-top: 13px; }

.bet-functions { background: #f7f1e9; border-top: 1px solid #e9dfd4; }
.bet-functions .product-features { gap: clamp(17px, 3vw, 36px); }
.bet-functions .product-features article {
  background: transparent;
  border: 0;
  border-top: 1px solid #c8aa94;
  border-radius: 0;
  padding: 20px 0 0;
}
.bet-functions .bet-icon { margin-bottom: 12px; }
.bet-functions .product-features h3 { font: 600 clamp(1.4rem, 2.3vw, 1.77rem)/1.12 var(--text); letter-spacing: -.03em; }

.bet-signature {
  background: radial-gradient(ellipse at top right, #324b66 0%, transparent 58%), var(--navy);
  color: #fff9ef;
  padding-block: clamp(33px, 6vw, 77px);
}
.bet-closing { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; max-width: 1010px; }
.bet-closing-mark { font: italic 750 clamp(2.65rem, 6.5vw, 5.2rem)/.94 var(--bet-mark); letter-spacing: -.07em; color: #fff9ef; }
.bet-closing-phrase {
  display: block;
  margin-left: clamp(20px, 4vw, 46px);
  padding-left: clamp(20px, 4vw, 46px);
  border-left: 1px solid #b8815b;
  font: 500 clamp(1.64rem, 3.75vw, 3.25rem)/1.1 var(--text);
  letter-spacing: -.034em;
  text-wrap: balance;
}
.bet-closing-phrase strong { display: block; color: #ffbb87; font-weight: 600; }

@media (max-width: 675px) {
  .bet-overview h2 { font-size: clamp(1.75rem, 8.5vw, 2.5rem); }
  .bet-principles { grid-template-columns: minmax(0, 1fr); grid-template-areas: "dati" "decisioni" "ambiente"; }
  .bet-closing { grid-template-columns: 1fr; gap: 18px; }
  .bet-closing-phrase { margin-left: 0; padding-left: 14px; }
}
