/* Projects, complete page. Site fonts/tokens remain in base.html and codlab-dark/wow.
   All rules are scoped. Only sections own vertical spacing; containers add none.
   The theme uses a 20px rem and !important heading sizes on mobile. */
.projects-page { color: #343f52; background: #f6f7f9; }
.projects-page section > .container { padding-block: 0 !important; }
.projects-page .container { max-width: 1220px; }
.projects-page h1, .projects-page h2, .projects-page h3 { margin: 0; }
.projects-page p { margin: 0; }
.projects-page a:focus-visible { outline: 3px solid #a85211; outline-offset: 5px; }
.projects-page [id] { scroll-margin-top: 100px; }
.projects-page .projects-anchor { display: block; height: 0; }
.projects-hero { padding-block: var(--spazio-hero-su) var(--spazio-hero-giu); background: #14181f; color: #fff; }
.projects-hero-grid { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 64px; }
.projects-page .projects-kicker { font-family: var(--wow-mono); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; color: #a85211; line-height: 1.5; margin-bottom: 14px; }
.projects-hero .projects-kicker { color: #ffb877; }
.projects-page .projects-hero h1 { font-family: var(--wow-serif); font-size: clamp(36px, 4vw, 58px) !important; font-weight: 400; line-height: 1.08 !important; letter-spacing: -.02em; color: #fff; hyphens: none; overflow-wrap: normal; }
.projects-hero h1 em { color: #94d0df; font-weight: 400; }
.projects-intro > p { font-size: 18px; line-height: 1.65; color: #e2e5ea; }
.projects-intro .projects-intro-note { margin-top: 16px; font-size: 15px; color: #bcc4cf; }
.projects-jump { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 48px; }
.projects-jump a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0 0; border-top: 1px solid #505965; font-size: 15px; color: #fff; }
.projects-jump a span { color: #94d0df; }
.projects-jump a:hover { color: #ffb877; }
.projects-jump a:focus-visible { outline-color: #ffb877; }
.projects-products { padding-block: 0; }
.product-field { padding-block: var(--spazio-sezione); border-bottom: 1px solid #d9dfe6; }
.product-field-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 8px 36px; margin-bottom: 24px; }
.product-field-head .projects-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.projects-page .product-field-head h2 { font-family: var(--wow-serif); font-size: 38px !important; font-weight: 400; line-height: 1.15 !important; color: #14181f; }
.product-field-head > p:last-child { max-width: 50ch; font-size: 16px; line-height: 1.6; }
.product-grid { display: grid; gap: 20px; }
.product-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.product-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { position: relative; display: flex; flex-direction: column; padding: 28px; background: #fff; border: 1px solid #d9dfe6; border-radius: 16px; }
.product-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.projects-page .product-icon { display: block; flex: none; width: 56px !important; height: 56px !important; margin: 0 !important; object-fit: contain; }
.projects-page .product-status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--wow-mono); font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .06em; padding: 5px 9px; border-radius: 6px; }
.product-status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.product-status--live { background: #eaf6ef; color: #21613e; }
.product-status--soon { background: #edf0f4; color: #475569; }
.product-status--soon::before { background: transparent; border: 1px solid currentColor; }
.projects-page .product-card h3 { font-family: var(--cl-font-sans); color: #14181f; font-size: 25px !important; line-height: 1.25 !important; font-weight: 700; letter-spacing: -.025em; margin-bottom: 12px; }
.product-claim { font-size: 16px; line-height: 1.65; }
.product-facts { display: flex; flex-direction: column; gap: 5px; padding: 0; margin: 18px 0 0; list-style: none; font-size: 14px; line-height: 1.55; }
.product-facts li { position: relative; padding-left: 16px; }
.product-facts li::before { content: ''; position: absolute; top: .6em; left: 0; width: 5px; height: 5px; border-radius: 50%; background: #2c7a99; }
.projects-page .product-note { font-size: 13px; line-height: 1.6; color: #536071; margin-top: 16px; padding-top: 14px; border-top: 1px solid #e3e7ee; }
.product-bottom { margin-top: auto; padding-top: 24px; }
.projects-page .product-provider { font-size: 12px; line-height: 1.5; color: #536071; margin-bottom: 10px; }
.product-link { display: inline-block; font-size: 15px; line-height: 1.5; font-weight: 600; color: #a85211; text-decoration: underline; text-underline-offset: 4px; }
.product-link:hover { color: #783b0c; }
.projects-page .product-unavailable { font-size: 14px; color: #536071; }
.product-field--one .product-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 0 56px; }
.product-field--one .product-top { grid-column: 1; }
.product-field--one h3, .product-field--one .product-claim { grid-column: 1; }
.product-field--one .product-facts { grid-column: 2; grid-row: 1 / 3; align-self: center; margin: 0; }
.product-field--one .product-bottom { grid-column: 2; grid-row: 3; padding-top: 12px; align-self: end; }
.projects-page .projects-checked { font-size: 12px; line-height: 1.6; color: #536071; margin-top: 18px; }
.projects-clients { background: #fff; padding-block: var(--spazio-sezione); }
.projects-section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: end; margin-bottom: 30px; }
.projects-page .projects-section-head h2 { font-family: var(--wow-serif); font-size: 38px !important; font-weight: 400; line-height: 1.15 !important; color: #14181f; }
.projects-section-head > p { font-size: 16px; line-height: 1.65; max-width: 50ch; }
.projects-client-list article { display: grid; grid-template-columns: .7fr 1fr 1.5fr; gap: 30px; padding-block: 22px; border-top: 1px solid #d9dfe6; align-items: baseline; }
.projects-page .projects-client-tag { font-family: var(--wow-mono); text-transform: uppercase; font-size: 10px; letter-spacing: .08em; line-height: 1.65; color: #536071; }
.projects-page .projects-client-list h3 { font-family: var(--cl-font-sans); font-size: 18px !important; line-height: 1.45 !important; font-weight: 600; color: #14181f; }
.projects-client-list article > p:last-child { font-size: 14px; line-height: 1.65; }
.projects-contact { background: #e9edf2; padding-block: var(--spazio-sezione); }
.projects-contact > .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; }
.projects-page .projects-contact h2 { font-family: var(--wow-serif); font-size: 34px !important; font-weight: 400; line-height: 1.2 !important; color: #14181f; }
.projects-contact h2 + p { font-size: 16px; line-height: 1.65; margin-top: 12px; max-width: 58ch; }
.projects-button { display: inline-flex; flex-shrink: 0; align-items: center; padding: 14px 22px; border-radius: 50rem; background: #14181f; color: #fff; font-size: 15px; font-weight: 600; line-height: 1.5; }
.projects-button:hover { background: #343f52; color: #fff; }
@media (max-width: 991px) {
  .projects-hero-grid { gap: 32px; grid-template-columns: 1fr; }
  .projects-intro { max-width: 64ch; }
  .product-grid--three { grid-template-columns: 1fr; }
  .projects-client-list article { grid-template-columns: .6fr 1fr; }
  .projects-client-list article > p:last-child { grid-column: 2; }
}
@media (max-width: 767px) {
  .projects-hero-grid { gap: 22px; }
  .projects-intro > p { font-size: 16px; }
  .projects-intro .projects-intro-note { font-size: 14px; margin-top: 12px; }
  .projects-jump { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 28px; }
  .projects-jump a { font-size: 13px; padding-top: 10px; }
  .product-field-head, .projects-section-head { grid-template-columns: 1fr; gap: 10px; margin-bottom: 20px; }
  .projects-page .product-field-head h2, .projects-page .projects-section-head h2 { font-size: 32px !important; }
  .product-field-head > p:last-child, .projects-section-head > p { font-size: 15px; }
  .product-grid--two { grid-template-columns: 1fr; }
  .product-card { padding: 22px; }
  .product-top { margin-bottom: 16px; }
  .product-field--one .product-card { display: flex; gap: 0; }
  .product-field--one .product-facts { margin-top: 18px; align-self: stretch; }
  .product-field--one .product-bottom { align-self: stretch; padding-top: 24px; }
  .projects-client-list article { display: flex; flex-direction: column; gap: 8px; padding-block: 20px; }
  .projects-contact > .container { flex-direction: column; align-items: flex-start; gap: 22px; }
  .projects-page .projects-contact h2 { font-size: 30px !important; }
  .projects-contact h2 + p { font-size: 15px; }
}
