/* Hallmark v2.0.0 · Industrial Graphite · Cosma Studio brand · homepage only · signature: branding materials integrated into an angled graphite surface · hero: asymmetric photographic stage · genre: editorial */
/* Pre-emit critique: P4 H5 E4 S4 R4 V4 · replace equal service tiles and repeated logo imagery with a lead service and real demo captures. */
/* Brief overrides: orange heading words, photographic services and three numbered method steps are explicitly requested. Shared pages keep their existing system. */
:root {
  --ig-base: #0b0b0d;
  --ig-carbon: #151619;
  --ig-graphite: #222428;
  --ig-gunmetal: #34383d;
  --ig-paper: #f4f4f3;
  --ig-muted: #b7bbc1;
  --ig-soft: #8e949c;
  --ig-orange: #ff6a00;
  --ig-orange-hover: #ff8a36;
  --ig-orange-dim: #ff6a001a;
  --ig-orange-light: #ff6a004d;
  --ig-shadow: #00000066;
  --ig-clear: transparent;
  --ig-mask: #000;
  --ig-rule: #34383d;
}
body[data-design='industrial-graphite'] {
  --bg: var(--ig-base);
  --bg-soft: var(--ig-carbon);
  --text: var(--ig-paper);
  --text-muted: var(--ig-muted);
  --color-rule-dark: var(--ig-rule);
  --accent-strong: var(--ig-orange);
  --color-focus: var(--ig-orange);
  --header-height: 82px;
  color: var(--ig-paper);
  background: var(--ig-base);
  font-size: 16px;
  line-height: 1.65;
}
body[data-design='industrial-graphite'] :is(a, button):focus-visible { outline: 2px solid var(--ig-orange); outline-offset: 5px; }
.ig-service:active, .ig-work:active { transform: translateY(1px); }
body[data-design='industrial-graphite'] .site-header { min-height: 82px; padding-block: 8px; background: var(--ig-base); border-color: var(--ig-gunmetal); }
body[data-design='industrial-graphite'] .site-header .brand { flex-basis: 148px; width: 148px; }
body[data-design='industrial-graphite'] .site-header .brand-logo { width: 148px; }
body[data-design='industrial-graphite'] .site-nav > a,
body[data-design='industrial-graphite'] .nav-dropdown-toggle { font-size: .9375rem; }
body[data-design='industrial-graphite'] .header-cta { font-size: .8125rem; padding: 12px 20px; }
body[data-design='industrial-graphite'] .button { font-size: .9375rem; padding: 14px 24px; min-height: 52px; }
body[data-design='industrial-graphite'] .button-primary { color: var(--ig-base); border-color: var(--ig-orange); background: var(--ig-orange); }
body[data-design='industrial-graphite'] .button-primary:hover { background: var(--ig-orange-hover); border-color: var(--ig-orange-hover); }
body[data-design='industrial-graphite'] .button-secondary { border-color: var(--ig-soft); color: var(--ig-paper); }
body[data-design='industrial-graphite'] .button-secondary:hover { background: var(--ig-graphite); border-color: var(--ig-paper); color: var(--ig-paper); }
.ig-container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.ig-accent { color: var(--ig-orange); }
.ig-section-title { margin: 0; font-size: clamp(2.75rem, 4.4vw, 4.75rem); line-height: 1.05; letter-spacing: -.04em; font-weight: 700; }
/* Hero allineata alle pagine servizi: testo e fotografia in due colonne distinte. */
.ig-hero { position: relative; isolation: isolate; background: var(--ig-base); overflow: clip; }
.ig-hero::before { content: ''; position: absolute; z-index: -1; top: 0; bottom: 0; right: -6%; width: 39%; transform: skewX(-23deg); background: linear-gradient(115deg, var(--ig-base), var(--ig-carbon)); border-left: 1px solid var(--ig-gunmetal); }
.ig-hero-inner { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(28px, 4vw, 64px); padding-block: clamp(48px, 6vw, 88px); }
.ig-hero-copy { min-width: 0; }
.ig-hero h1 { margin: 0; max-width: 17ch; font-size: clamp(2.75rem, 4.7vw, 5rem); line-height: 1.04; letter-spacing: -.04em; }
.ig-hero-intro { max-width: 48ch; margin: 24px 0 0; color: var(--ig-muted); font-size: 1.0625rem; line-height: 1.75; }
.ig-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.ig-hero-visual { position: relative; min-width: 0; margin: 0; }
.ig-hero-visual > picture { overflow: hidden; border-radius: 12px; box-shadow: 0 20px 36px var(--ig-shadow); }
.ig-hero-visual img { display: block; width: 100%; height: auto; }
.ig-hero-seam { display: none; }
.ig-hero-caption { margin: 12px 0 0; font-size: .875rem; color: var(--ig-muted); text-align: right; }
.ig-strengths { background: var(--ig-graphite); border-block: 1px solid var(--ig-gunmetal); }
.ig-strengths ul { margin-block: 0; padding-block: 28px; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ig-strengths li { display: flex; align-items: center; gap: 20px; padding-inline: 28px; border-right: 1px solid var(--ig-gunmetal); }
.ig-strengths li:first-child { padding-left: 0; }
.ig-strengths li:last-child { border: 0; padding-right: 0; }
.ig-strengths .line-icon { color: var(--ig-orange); width: 32px; height: 32px; flex-shrink: 0; transition: transform 220ms var(--ease-out); }
.ig-strengths li:hover .line-icon { transform: translateY(-3px); }
.ig-strengths strong { display: block; font-size: 1rem; line-height: 1.4; }
.ig-strengths p { margin: 4px 0 0; font-size: .875rem; color: var(--ig-muted); }
.ig-services { padding-block: 88px; background: var(--ig-carbon); }
.ig-services-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 2.2fr); gap: 48px; align-items: start; }
.ig-services-heading { padding-top: 8px; }
.ig-services-heading .ig-section-title { font-size: clamp(2.75rem, 4vw, 3.75rem); }
.ig-services-heading > p:last-child { max-width: 28ch; margin: 28px 0 0; font-size: 1rem; color: var(--ig-muted); }
.ig-services-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); grid-template-rows: repeat(3, minmax(150px, 1fr)); gap: 16px; }
.ig-service { position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; min-width: 0; min-height: 150px; padding: 24px 24px 24px 112px; overflow: clip; border: 1px solid var(--ig-gunmetal); border-radius: 12px; background: var(--ig-graphite); color: var(--ig-paper); transition: border-color 220ms, box-shadow 220ms; }
.ig-service > img { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; transition: transform 680ms var(--ease-out); }
.ig-service::after { content: ''; position: absolute; z-index: -2; inset: 0; background: linear-gradient(90deg, var(--ig-clear), var(--ig-carbon) 30%, var(--ig-carbon)); }
.ig-service > .line-icon { position: absolute; left: 24px; bottom: 24px; width: 28px; height: 28px; color: var(--ig-orange); }
.ig-service .ig-service-arrow { position: absolute; display: grid; place-items: center; right: 16px; top: 16px; width: 32px; height: 32px; color: var(--ig-paper); }
.ig-service h3 { margin: 0 0 8px; max-width: 16ch; font-size: 1.375rem; line-height: 1.14; letter-spacing: -.025em; }
.ig-service p { margin: 0; max-width: 24ch; font-size: .9375rem; line-height: 1.5; color: var(--ig-muted); }
.ig-service--featured { grid-row: 1 / 4; justify-content: flex-end; padding: 32px; min-height: 482px; }
.ig-service--featured::after { background: linear-gradient(180deg, var(--ig-clear), var(--ig-clear) 26%, var(--ig-carbon) 92%); }
.ig-service--featured > .line-icon { position: static; width: 36px; height: 36px; margin-bottom: 16px; }
.ig-service--featured h3 { font-size: 2rem; }
.ig-service--featured > img { object-position: 43% center; }
.ig-service--featured p { max-width: 28ch; font-size: 1rem; }
.ig-service:hover { border-color: var(--ig-orange); box-shadow: 0 12px 28px var(--ig-shadow); }
.ig-service:hover > img { transform: scale(1.035); }
.ig-service:hover .arrow-icon { transform: translateX(4px); }
.ig-portfolio { padding-block: 88px; background: var(--ig-base); }
.ig-portfolio-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 36px; }
.ig-work-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr) minmax(0, .75fr); grid-template-rows: 286px 250px; gap: 20px; }
.ig-work { position: relative; display: flex; flex-direction: column; min-width: 0; overflow: clip; border-radius: 12px; background: var(--ig-carbon); border: 1px solid var(--ig-gunmetal); transition: border-color 220ms; }
.ig-work:hover { border-color: var(--ig-orange); }
.ig-work-media { position: relative; flex: 1; min-height: 0; overflow: clip; background: var(--ig-graphite); }
.ig-work-media img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform 680ms var(--ease-out); }
.ig-work:hover img { transform: scale(1.025); }
.ig-work-copy { position: relative; padding: 20px 24px; }
.ig-work-copy p { margin: 0 0 8px; color: var(--ig-muted); font-size: .875rem; line-height: 1.4; }
.ig-work-copy h3 { margin: 0; padding-right: 32px; font-size: 1.25rem; letter-spacing: -.025em; line-height: 1.2; }
.ig-work-copy .arrow-icon { position: absolute; right: 20px; bottom: 22px; color: var(--ig-orange); }
.ig-work--featured { grid-row: 1 / 3; }
.ig-work--featured .ig-work-media { padding: 28px; display: grid; align-items: center; background: linear-gradient(145deg, var(--ig-graphite), var(--ig-carbon)); }
.ig-work--featured img { object-fit: contain; height: auto; box-shadow: 0 20px 32px var(--ig-shadow); transform: rotate(-3deg); }
.ig-work--featured:hover img { transform: rotate(-2deg) scale(1.025); }
.ig-work--featured .ig-work-copy h3 { font-size: 1.75rem; }
.ig-work--secondary { grid-column: 2 / 4; }
.ig-work--secondary .ig-work-media { position: relative; padding: 0; display: block; }
.ig-work--secondary img { position: absolute; inset: 16px; width: calc(100% - 32px); height: calc(100% - 32px); object-fit: contain; object-position: center; }
.ig-work--small .ig-work-copy { padding: 16px 20px; }
.ig-work--small .ig-work-copy h3 { font-size: 1.125rem; }
.ig-work--small .ig-work-copy p { font-size: .8125rem; }
.ig-portfolio-note { margin: 24px 0 0; max-width: 80ch; color: var(--ig-muted); font-size: .875rem; }
.ig-method { position: relative; isolation: isolate; padding-block: 68px; background: var(--ig-graphite); border-block: 1px solid var(--ig-gunmetal); overflow: clip; }
.ig-method::after { content: ''; position: absolute; z-index: -1; right: 10%; top: -30%; height: 160%; width: 26%; background: var(--ig-carbon); transform: skewX(-24deg); opacity: .45; border-inline: 1px solid var(--ig-gunmetal); }
.ig-method-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.3fr); align-items: center; gap: 64px; }
.ig-method .ig-section-title { font-size: clamp(2.75rem, 3.5vw, 3.5rem); }
.ig-method ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin: 0; padding: 0; list-style: none; }
.ig-method li { position: relative; padding-top: 24px; border-top: 1px solid var(--ig-gunmetal); }
.ig-method li::before { content: ''; position: absolute; top: -1px; left: 0; width: 36px; height: 1px; background: var(--ig-orange); }
.ig-method-number { color: var(--ig-orange); font: 700 2rem/1 var(--font-display); font-variant-numeric: tabular-nums; }
.ig-method h3 { margin: 20px 0 12px; font-size: 1.5rem; line-height: 1.15; letter-spacing: -.025em; }
.ig-method li p { margin: 0; font-size: .9375rem; line-height: 1.6; color: var(--ig-muted); }
body[data-design='industrial-graphite'] .contact-footer-section { background: var(--ig-carbon); color: var(--ig-paper); padding: 0; }
body[data-design='industrial-graphite'] .contact-footer-section::before { display: none; }
.ig-cta { position: relative; isolation: isolate; overflow: clip; padding-block: 64px; border-bottom: 1px solid var(--ig-gunmetal); }
.ig-cta::before { content: ''; position: absolute; z-index: -1; inset: 0 0 0 60%; background: linear-gradient(125deg, var(--ig-carbon), var(--ig-orange-dim) 72%, var(--ig-orange-light)); clip-path: polygon(36% 0, 100% 0, 100% 100%, 0 100%); }
.ig-cta::after { content: ''; position: absolute; right: 12%; top: -35%; width: 1px; height: 170%; transform: rotate(32deg); background: var(--ig-orange); opacity: .65; }
.ig-cta-inner { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.ig-cta h2 { margin: 0; max-width: 13ch; font-size: clamp(2.5rem, 3.6vw, 3.5rem); line-height: 1.06; letter-spacing: -.04em; }
.ig-cta p { max-width: 35ch; margin: 0; font-size: 1.0625rem; color: var(--ig-muted); }
.ig-cta .button { position: relative; z-index: 1; }
body[data-design='industrial-graphite'] .site-footer { background: var(--ig-base); font-size: .875rem; }
body[data-design='industrial-graphite'] .footer-contact a { font-size: 1rem; }
body[data-design='industrial-graphite'] .footer-nav { gap: 16px 28px; }
body[data-design='industrial-graphite'] .footer-nav a { min-height: 44px; }
body[data-design='industrial-graphite'] .footer-bottom { font-size: .8125rem; }
body[data-design='industrial-graphite'] .consent-settings { font-size: .875rem; }
@media (prefers-reduced-motion: no-preference) {
  .ig-hero-copy { animation: ig-hero-enter 800ms var(--ease-out) both; }
  @keyframes ig-hero-enter { from { opacity: .75; transform: translateY(24px); } to { opacity: 1; transform: none; } }
}
@media (max-width: 1199px) {
  body[data-design='industrial-graphite'] .site-header { gap: 16px; }
  body[data-design='industrial-graphite'] .site-nav > a,
  body[data-design='industrial-graphite'] .nav-dropdown-toggle { font-size: .875rem; padding-inline: 8px; }
  body[data-design='industrial-graphite'] .site-header .brand { width: 132px; flex-basis: 132px; }
  body[data-design='industrial-graphite'] .site-header .brand-logo { width: 132px; }
  body[data-design='industrial-graphite'] .header-cta { font-size: .75rem; padding-inline: 16px; }
  .ig-strengths li { padding-inline: 20px; gap: 12px; }
  .ig-strengths strong { font-size: .9375rem; }
  .ig-strengths p { font-size: .8125rem; }
  .ig-services-layout { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .ig-services-heading { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 12px 48px; }
  .ig-services-heading > p:last-child { margin: 0; align-self: end; max-width: 36ch; }
  .ig-services-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .ig-service { padding-left: 140px; }
  .ig-service--featured { padding: 32px; }
  .ig-work-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-rows: 290px 250px; }
  .ig-work--featured { grid-row: 1 / 3; }
  .ig-work--secondary { grid-column: 2; }
  .ig-work--small { grid-row: 3; min-height: 280px; }
  .ig-method-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .ig-method ol { gap: 40px; }
  .ig-cta-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 40px; }
  .ig-cta .button { grid-column: 2; justify-self: start; }
}
@media (max-width: 820px), (max-height: 500px) and (orientation: landscape) {
  body[data-design='industrial-graphite'] .site-header { min-height: 76px; }
  body[data-design='industrial-graphite'] .site-header .brand,
  body[data-design='industrial-graphite'] .site-header .brand-logo { width: 132px; }
  body[data-design='industrial-graphite'] .site-nav > a,
  body[data-design='industrial-graphite'] .nav-dropdown-toggle { padding: 14px 0; font-size: 1rem; }
  .ig-hero-inner { grid-template-columns: minmax(0, 1fr); }
  .ig-hero h1 { max-width: 19ch; font-size: clamp(2.5rem, 7.5vw, 4.3rem); }
  .ig-hero::before { width: 32%; opacity: .65; }
  .ig-strengths ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 0; }
  .ig-strengths li, .ig-strengths li:last-child { padding-inline: 24px; }
  .ig-strengths li:nth-child(odd) { padding-left: 0; }
  .ig-strengths li:nth-child(even) { border: 0; padding-right: 0; }
  .ig-services, .ig-portfolio { padding-block: 56px; }
  .ig-services-heading { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ig-services-heading .ig-section-title { max-width: 18ch; }
  .ig-services-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
  .ig-service { padding-left: 80px; padding-right: 16px; }
  .ig-service--featured { padding: 24px; }
  .ig-service > .line-icon { left: 16px; }
  .ig-service h3 { font-size: 1.25rem; }
  .ig-service p { font-size: .875rem; }
  .ig-service--featured h3 { font-size: 1.75rem; }
  .ig-service--featured p { font-size: 1rem; }
  .ig-portfolio-heading { align-items: start; flex-direction: column; gap: 24px; }
  .ig-work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: 440px 320px; }
  .ig-work--featured { grid-column: 1; grid-row: 1; }
  .ig-work--secondary { grid-column: 2; grid-row: 1; }
  .ig-work--small { grid-row: 2; min-height: 0; }
  .ig-work--featured .ig-work-media { padding: 16px; }
  .ig-work--featured .ig-work-copy h3 { font-size: 1.375rem; }
  .ig-work--secondary img { object-position: center 64%; }
  .ig-work-copy { padding: 20px; }
  .ig-work-copy h3 { font-size: 1.375rem; }
  .ig-method { padding-block: 56px; }
  .ig-method ol { gap: 28px; }
  .ig-cta-inner { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ig-cta .button { grid-column: 1; }
}
@media (max-width: 560px) {
  .ig-hero-inner { padding-block: 44px; }
  .ig-hero h1 { font-size: clamp(2.35rem, 10vw, 3.4rem); }
  .ig-hero-intro { font-size: 1rem; }
}
@media (max-width: 559px) {
  .ig-section-title { font-size: clamp(2.625rem, 10.5vw, 3.5rem); }
  .ig-hero-actions { margin-top: 28px; }
  .ig-hero-actions .button { justify-content: space-between; width: 100%; }
  .ig-hero-caption { font-size: .8125rem; text-align: left; }
  .ig-strengths ul { gap: 24px 16px; }
  .ig-strengths li, .ig-strengths li:last-child { padding: 0; border: 0; flex-direction: column; align-items: start; gap: 12px; }
  .ig-strengths strong { font-size: .9375rem; }
  .ig-strengths p { font-size: .875rem; }
  .ig-services-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 16px; }
  .ig-service.ig-service--featured { grid-row: auto; min-height: 360px; padding: 24px; }
  .ig-service { min-height: 152px; padding-left: 112px; padding-right: 32px; }
  .ig-service--featured { padding-left: 24px; }
  .ig-service h3 { font-size: 1.375rem; }
  .ig-service p { font-size: .9375rem; }
  .ig-service--featured h3 { font-size: 1.875rem; }
  .ig-services-heading .ig-section-title { font-size: 2.75rem; }
  .ig-work-grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; gap: 24px; }
  .ig-work--featured, .ig-work--secondary, .ig-work--small { grid-column: 1; grid-row: auto; }
  .ig-work-media { flex: none; height: 220px; }
  .ig-work--featured .ig-work-media { height: 300px; padding: 20px; }
  .ig-work--secondary .ig-work-media { height: 240px; }
  .ig-work--secondary img { object-position: center; }
  .ig-work-copy h3, .ig-work--featured .ig-work-copy h3 { font-size: 1.5rem; }
  .ig-work--small .ig-work-copy h3 { font-size: 1.375rem; }
  .ig-work--small .ig-work-copy p { font-size: .875rem; }
  .ig-method-layout { gap: 32px; }
  .ig-method ol { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .ig-method li { padding: 24px 0 0 64px; }
  .ig-method-number { position: absolute; left: 0; top: 24px; }
  .ig-method h3 { margin: 0 0 12px; }
  .ig-method li p { font-size: 1rem; }
  .ig-cta { padding-block: 48px; }
  .ig-cta .button { width: 100%; justify-content: space-between; }
  body[data-design='industrial-graphite'] .footer-bottom { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ig-hero-copy, .ig-hero-visual img, .ig-strengths .line-icon, .ig-service img, .ig-work img, .ig-work--featured img { animation: none; transition: none; transform: none; }
}
.ig-work-grid--sites { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; gap: 24px; }
.ig-work-grid--sites .ig-work { grid-column: auto; grid-row: auto; }
.ig-work-grid--sites .ig-work-media { flex: none; position: relative; display: block; height: auto; aspect-ratio: 8 / 5; padding: 20px; background: var(--ig-graphite); }
.ig-work-grid--sites .ig-work-media img { position: static; inset: auto; width: 100%; height: 100%; object-fit: contain; transform: none; box-shadow: none; }
.ig-work-grid--sites .ig-work-copy h3 { font-size: 1.5rem; }
.ig-work-grid--sites .ig-work:hover img { transform: scale(1.015); }
@media (max-width: 559px) { .ig-work-grid--sites { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .ig-work-grid--sites .ig-work:hover img { transform: none; } }
