/* UNICOPROM Italia and Shop use the same typography, warm neutrals and orange actions. */

@font-face { font-family: "Big Shoulders Display"; font-weight: 100 900; font-display: swap; src: url(assets/fonts/bigshoulders-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Big Shoulders Display"; font-weight: 100 900; font-display: swap; src: url(assets/fonts/bigshoulders-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; font-weight: 400 700; font-display: swap; src: url(assets/fonts/onest-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Onest"; font-weight: 400 700; font-display: swap; src: url(assets/fonts/onest-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --black: #000;
  --panel: #111;
  --bone: #edeae3;
  --paper: #f6f5f1;
  --tinted: #eeebe3;
  --ink: #211e1b;
  --muted: #5c544e;
  --line: #d6cec3;
  --line-strong: #897c70;
  --orange: #ff5a36;
  --action-hover: #ee4e2b;
  --link: #92301b;
  --display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --text: "Onest", system-ui, sans-serif;
  --gut: clamp(16px, 4vw, 64px);
  --max: 1280px;
  --head: 72px;
  --section: clamp(48px, 7vw, 100px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--head); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.6 var(--text); }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
::selection { background: var(--bone); color: var(--black); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--bone); color: var(--black); }
.skip-link:focus { top: 12px; }

.display { font: 700 clamp(2rem, 4.6vw, 4.25rem)/1.02 var(--text); letter-spacing: -.055em; text-wrap: balance; }
.lead { font-size: clamp(17px, .4vw + 15px, 20px); line-height: 1.55; max-width: 56ch; }
.text-link { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; font-weight: 500; }
.text-link:hover { text-decoration-color: currentColor; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 21px; border: 1px solid var(--orange); border-radius: 7px; background: var(--orange); color: var(--black); font: 650 16px/1.2 var(--text); text-decoration: none; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.button:hover { background: var(--action-hover); border-color: var(--action-hover); }
.button--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.button--ghost:hover { background: var(--tinted); border-color: var(--ink); }
.button--small { min-height: 44px; padding: 0 18px; font-size: 15px; }

/* ---------------------------------------------------------------- header */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--head); display: flex; align-items: center; gap: clamp(12px, 2vw, 32px); padding-inline: max(var(--gut), calc((100% - var(--max)) / 2)); background: var(--paper); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; min-height: 44px; gap: 9px; text-decoration: none; }
.brand img, .footer-logo img { filter: brightness(0); }
.brand img { width: auto; height: 40px; }
.brand span { border-left: 1px solid var(--line); padding-left: 9px; font: 650 14px/1 var(--text); }
.desktop-nav { display: flex; gap: 28px; margin-left: auto; }
.desktop-nav a, .lang-link { display: inline-flex; min-height: 44px; align-items: center; font: 600 15px/1.2 var(--text); text-decoration: none; color: var(--ink); }
.lang-link { min-width: 44px; justify-content: center; }
.desktop-nav a:hover, .lang-link:hover { text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 20px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 2px; background: transparent; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--ink); transition: transform .2s ease; }
.menu-toggle span:first-child { top: 17px; } .menu-toggle span:last-child { top: 25px; }
.menu-open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-nav { display: none; }
@media (max-width: 1023px) {
  .desktop-nav { display: none; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: block; }
  .mobile-nav { position: absolute; inset: 100% 0 auto; z-index: 49; display: grid; align-content: start; padding: 8px var(--gut) 16px; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 20px #211e1b12; max-height: calc(100dvh - var(--head)); overflow-y: auto; opacity: 0; visibility: hidden; transition: opacity .16s ease, visibility .16s; }
  .menu-open .mobile-nav { opacity: 1; visibility: visible; transform: none; }
  .mobile-nav > a, .mobile-nav__foot a { display: flex; align-items: center; min-height: 44px; font: 650 16px/1.2 var(--text); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav__foot { color: var(--muted); }
}
@media (max-width: 639px) {
  :root { --head: 64px; }
  .brand img { height: 34px; }
  .header-actions { gap: 6px; }
}

/* ---------------------------------------------------------------- hero */
.hero { padding-block: clamp(32px, 5.25vw, 80px); background: #ff6547; color: #220f09; }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); align-items: center; gap: clamp(26px, 5vw, 74px); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.hero h1 { font: 700 clamp(3.25rem, 7.2vw, 7rem)/.94 var(--text); letter-spacing: -.074em; }
.hero-copy { margin-top: clamp(18px, 2.4vw, 32px); max-width: 40ch; font-size: clamp(17px, .75vw + 13px, 22px); line-height: 1.42; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero .button { background: #220f09; color: #fff6ef; border-color: #220f09; }
.hero .button:hover { background: #472117; border-color: #472117; }
.hero .button--ghost { background: transparent; color: #220f09; }
.hero .button--ghost:hover { background: #ff896f; }
.hero :focus-visible { outline-color: #220f09; }
.hero-gallery { position: relative; padding-inline-end: 8%; }
.hero-gallery__main { width: 100%; height: auto; aspect-ratio: 1.08; object-fit: cover; object-position: center 39%; border-radius: 12px; }
.hero-gallery__detail { position: absolute; bottom: clamp(10px, 2.5vw, 30px); right: 0; width: 31%; padding: 5px; background: #fff6ef; border-radius: 8px; box-shadow: 0 7px 20px #37140d40; }
.hero-gallery__detail img { width: 100%; height: auto; aspect-ratio: 1.14; object-fit: cover; object-position: 48% 48%; border-radius: 4px; }
.hero-gallery__detail figcaption { padding: 6px; font-size: .75rem; line-height: 1.2; }
@media (max-width: 770px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 4.75rem); }
  .hero-actions .button { padding-inline: 13px; min-height: 46px; font-size: .92rem; }
  .hero-gallery__main { aspect-ratio: 1.42; }
  .hero-gallery__detail { width: 33%; }
  .hero-gallery__detail figcaption { font-size: .7rem; }
}

/* ---------------------------------------------------------------- sections */
main > section:not(.hero) { padding-block: var(--section); border-top: 1px solid var(--line); }
main > section.portfolio-band { padding-block: clamp(26px, 4vw, 54px); background: #fffdfa; }
.portfolio-band h2 { margin-bottom: 18px; font-size: clamp(1.1rem, 2vw, 1.45rem); }
.portfolio-band__marks { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; padding: 0; list-style: none; }
.portfolio-band__marks li { display: grid; grid-template-rows: 57px auto; justify-items: center; align-items: center; gap: 5px; min-width: 0; padding: 6px; border-top: 1px solid var(--line); text-align: center; }
.portfolio-band__marks img { max-width: 100%; width: auto; height: 100%; max-height: 50px; object-fit: contain; }
.portfolio-band__marks .portfolio-band__cyber { filter: brightness(0); width: 100%; max-width: 145px; height: 38px; }
.portfolio-band__marks .portfolio-band__mk { width: 95px; height: 57px; object-fit: cover; object-position: center 42%; max-height: none; }
.portfolio-band__marks strong { font: 700 clamp(1.25rem, 2.25vw, 2rem)/1 var(--text); letter-spacing: -.035em; }
.portfolio-band__marks span { font-size: .81rem; color: var(--muted); }
@media (max-width: 670px) { .portfolio-band__marks { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 360px) { .portfolio-band__marks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.work__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 28px; margin-bottom: 24px; }
.work__head .lead { max-width: 38ch; color: var(--muted); }
.work__strip, .solution-cards { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.work__strip li, .solution-cards li { min-width: 0; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fffdfa; }
.work__strip img, .solution-cards img { width: 100%; height: auto; aspect-ratio: 1.16; object-fit: cover; }
.merch-item__body, .solution-card__body { padding: clamp(10px, 1.4vw, 20px); }
.merch-item__body h3, .solution-card__body h3 { font: 700 clamp(1rem, 1.45vw, 1.35rem)/1.2 var(--text); letter-spacing: -.03em; }
.merch-item__body p, .solution-card__body p { color: var(--muted); font-size: .9rem; margin-top: 5px; }
.merch-item__body a, .solution-card__body a { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; color: var(--link); font-weight: 650; }
.merch-item__body a:focus-visible, .solution-card__body a:focus-visible { outline-offset: -2px; }
.merch-filters:not([hidden]) { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; }
.merch-filters button { min-height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: transparent; color: var(--ink); font: 600 .93rem/1.15 var(--text); cursor: pointer; }
.merch-filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.merch-filters button:hover:not([aria-pressed="true"]) { background: var(--tinted); }
.filter-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.solutions { background: #eee8df; }
.solution-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 24px; }
.solution-cards img { aspect-ratio: 1.65; }
.solution-card__body h3 { font-size: clamp(1.25rem, 2vw, 1.8rem); }
.solution-card__body p { margin: 8px 0 4px; font-size: 1rem; }
@media (max-width: 880px) {
  .work__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .solution-cards { grid-template-columns: 1fr; }
  .solution-cards li { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1fr); align-items: center; }
  .solution-cards img { height: 100%; aspect-ratio: 1; object-fit: cover; }
}
@media (max-width: 470px) {
  .solution-cards li { display: block; }
  .solution-cards img { height: auto; aspect-ratio: 1.65; }
}

.collections-bridge { background: var(--tinted); }
.collections-bridge__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: 20px clamp(24px, 6vw, 80px); align-items: start; }
.collections-bridge__copy { grid-row: 2; display: grid; gap: 18px; justify-items: start; align-self: start; }
.collections-bridge__image { grid-column: 2; grid-row: 1 / span 2; }
.collections-bridge__image img { width: 100%; aspect-ratio: 1.45; height: auto; object-fit: cover; object-position: 50% 35%; }
.collections-bridge__image figcaption { margin-top: 10px; color: #50504d; font-size: 13px; }
@media (max-width: 767px) {
  .collections-bridge__grid { grid-template-columns: 1fr; }
  .collections-bridge__copy, .collections-bridge__image { grid-area: auto; }
}

.method .display { max-width: 17ch; }
.steps { list-style: none; padding: 0; margin-top: clamp(22px, 4vw, 44px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 24px); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: 8px; align-content: start; padding: clamp(14px, 2vw, 26px); background: #fffdfa; border: 1px solid var(--line); border-radius: 10px; }
.steps li::before { content: counter(step, decimal-leading-zero); color: var(--link); font: 650 14px/1.3 var(--text); font-variant-numeric: tabular-nums; }
.steps h3 { font: 700 clamp(1.1rem, 1.6vw, 1.4rem)/1.15 var(--text); letter-spacing: -.025em; }
.steps p { line-height: 1.45; }
.steps small { color: var(--muted); font-size: 14px; }
.techniques { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 72ch; color: var(--muted); }
.techniques strong { color: var(--ink); font-weight: 600; }

.faq__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: start; }
.faq__grid > div:first-child { display: grid; gap: 28px; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font: 650 clamp(1rem, 1.6vw, 1.25rem)/1.35 var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 28px/1 var(--text); color: var(--muted); transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 30px 20px 0; max-width: 58ch; color: var(--muted); }

/* ---------------------------------------------------------------- contact + form */
.contact__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px 80px; align-items: start; }
.contact__intro { display: grid; gap: clamp(14px, 2vw, 22px); }
.contact__direct { color: var(--muted); }
.contact__direct a { color: var(--link); font-weight: 600; }
.brief-form { display: grid; gap: 18px; padding: clamp(14px, 3vw, 36px); background: #fffdfa; border: 1px solid var(--line); border-radius: 12px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.brief-form label { display: grid; gap: 8px; font-size: 14px; color: var(--muted); }
.brief-form :is(input:not([type="checkbox"]), select, textarea) { width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 6px; background: var(--paper); color: var(--ink); font: 400 16px/1.4 var(--text); }
.brief-form textarea { min-height: 140px; resize: vertical; }
.brief-form :is(input, select, textarea):focus { outline: 2px solid var(--link); outline-offset: 0; border-color: transparent; }
.brief-form ::placeholder { color: #6b625a; }
.form-trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.consent { grid-template-columns: 22px 1fr !important; align-items: start; color: var(--ink) !important; font-size: 15px !important; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--orange); }
.consent a { color: var(--link); }
.form-submit { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form-status { font-size: 15px; }
.form-status.is-success { color: #285327; }
.form-status.is-error { color: #9b281e; }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line); padding: clamp(36px, 5vw, 72px) 0 32px; background: var(--tinted); }
.footer-cookies { max-width: 38rem; margin-top: 24px; padding: 4px 16px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.footer-cookies summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 12px; min-height: 44px; cursor: pointer; font-weight: 650; list-style: none; }
.footer-cookies summary::-webkit-details-marker { display: none; }
.footer-cookies summary::after { content: "+" / ""; color: var(--link); font-size: 1.2rem; line-height: 1; }
.footer-cookies[open] summary::after { content: "−" / ""; }
.footer-cookies p { color: var(--muted); font-size: .95rem; }
.footer-cookies a { display: inline-flex; align-items: center; min-height: 44px; color: var(--link); text-underline-offset: 3px; }
.policy-header { margin-left: auto; }
.policy-page { padding-block: clamp(28px, 6vw, 76px); }
.policy-page > .lead { margin-top: 16px; color: var(--muted); }
.policy-page__sections { margin-top: 28px; max-width: 49rem; }
.policy-page__sections section { padding-block: 18px; border-top: 1px solid var(--line); }
.policy-page__sections h2 { margin-bottom: 6px; font: 700 1.15rem/1.35 var(--text); }
.policy-page a { color: var(--link); text-underline-offset: 3px; }
.policy-page__links { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 12px; border-top: 1px solid var(--line); }
.policy-page__links a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-top { display: grid; gap: 12px; margin-bottom: 24px; }
.footer-logo img { width: 160px; height: auto; }
.footer-top p { color: var(--muted); }
.footer-links { display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 32px; }
.footer-links div { display: grid; gap: 8px; align-content: start; }
.footer-links h3 { font: 700 15px/1.2 var(--text); margin-bottom: 4px; }
.footer-links address { color: var(--muted); font: inherit; font-size: .9rem; line-height: 1.4; }
.footer-links a { text-decoration: none; overflow-wrap: anywhere; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------------------------------------------------------------- tablet and phone */
@media (max-width: 1023px) {
  .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 639px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work__strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .form-submit .button { width: 100%; }
}
@media (max-width: 360px) { .footer-links { grid-template-columns: 1fr; } }
@media (max-width: 639px) { .header-actions .button--small { display: none; } }

@media (prefers-reduced-motion: no-preference) {
  @keyframes corporate-enter {
    from { opacity: .50; transform: translateY(22px); }
    to { opacity: 1; transform: translateY(0); }
  }
  .hero h1, .hero-copy, .hero-actions { animation: corporate-enter .68s cubic-bezier(.22,.72,.28,1) both; }
  .hero-copy { animation-delay: .10s; }
  .hero-actions { animation-delay: .17s; }
  .hero-gallery { animation: corporate-enter .78s cubic-bezier(.22,.72,.28,1) .08s both; }
  .reveal.is-visible { animation: corporate-enter .64s cubic-bezier(.22,.72,.28,1) both; }
  .work__strip li, .solution-cards li { transition: border-color .22s ease, box-shadow .22s ease; }
  .work__strip li:is(:hover, :focus-within), .solution-cards li:is(:hover, :focus-within) {
    border-color: var(--line-strong);
    box-shadow: 0 9px 24px #211e1b14;
  }
}
