:root {
  --ink: #1c1713;
  --cream: #e7d9c1;
  --paper: #f1e7d6;
  --orange: #d1442d;
  --green: #6a9e5d;
  --radius: 30px;
  --ui-font: "M PLUS Rounded 1c", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--cream); scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100%;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--ui-font);
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0;
}
a { color: inherit; }
.sd-stage { width: 100%; }

/* Cards occupy 80% of the viewport: 10% margin per side. */
.sd-shell {
  width: 80vw;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 0 56px;
}
.sd-nav {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding: 8px 4px 36px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .015em;
}
.sd-nav-brand { font-size: 162px; line-height: .80; letter-spacing: -.065em; font-weight: 900; color: var(--ink); }
.sd-brand-sono { color: var(--ink); }
.sd-brand-dgtl { color: var(--orange); }
.sd-nav-links { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; justify-content: flex-end; }
.sd-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 0 14px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  background: transparent;
}
.sd-pill.is-active { background: var(--ink); color: var(--cream); }
.sd-hub-pill img { width: 16px; height: 16px; object-fit: contain; display: block; }

.sd-hero,
.sd-card,
.sd-contact { border-radius: var(--radius); overflow: hidden; }

.sd-hero {
  min-height: 520px;
  padding: 30px;
  background: var(--ink);
  color: var(--cream);
  display: grid;
  grid-template-rows: auto auto auto;
  gap: 0;
}
.sd-hero-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: start;
}
.sd-eyebrow,
.sd-hero-meta {
  margin: 0;
  font-size: 14px;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: .01em;
}
.sd-name,
.sd-role { display: block; }
.sd-role { margin-top: 4px; }
.sd-role-short { display: none; }
.sd-hero-meta { text-align: right; }
.sd-hero h1 {
  margin: 32px 0;
  max-width: 940px;
  font-size: clamp(62px, 8.4vw, 116px);
  line-height: .84;
  letter-spacing: -.05em;
  font-weight: 800;
}
.sd-hero h1 span { display: block; white-space: nowrap; }
.sd-hero-copy {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: clamp(25px, 2.35vw, 30px);
  line-height: 1.32;
  text-align: left;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.sd-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; margin-top: 16px; }
.sd-card { padding: 30px; background: var(--paper); }
.sd-card h2 { margin: 0 0 20px; font-size: clamp(38px, 4.5vw, 62px); line-height: .92; letter-spacing: -.04em; }
.sd-card h3 { margin: 0 0 9px; font-size: 25px; line-height: 1.02; letter-spacing: -.015em; font-weight: 900; }
.sd-card p { margin: 0; font-size: 18px; line-height: 1.48; text-align: left; letter-spacing: 0; }

.sd-principle { grid-column: span 12; background: var(--orange); color: var(--cream); padding: 34px; }
.sd-principle blockquote {
  margin: 0;
  max-width: 1040px;
  font-size: clamp(34px, 4.35vw, 60px);
  line-height: 1.14;
  letter-spacing: 0;
  font-weight: 700;
}
.sd-principle blockquote span { display: block; }
.sd-principle blockquote span + span { margin-top: .30em; }
.sd-principle em { font-style: italic; font-size: inherit; font-weight: inherit; }

.sd-capabilities { grid-column: span 12; }
.sd-profile { grid-column: span 12; background: var(--green); color: #f4ead9; }
.sd-cap-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; border-top: 2px solid var(--ink); }
.sd-cap-item { padding: 17px 0 16px; border-bottom: 2px solid var(--ink); }
.sd-cap-item p { font-size: 16.5px; font-weight: 500; opacity: .96; }
.sd-profile p { font-weight: 500; }
.sd-tags { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.sd-tag { border: 1.5px solid currentColor; border-radius: 999px; padding: 8px 11px; font-size: 13px; font-weight: 800; letter-spacing: 0; }

.sd-contact {
  margin-top: 16px;
  padding: 34px;
  min-height: 320px;
  background: var(--orange);
  color: var(--cream);
  display: grid;
  grid-template-columns: minmax(0, 2fr) 250px;
  gap: 36px;
  align-items: center;
}
.sd-contact h2 {
  margin: 0;
  max-width: 100%;
  font-size: clamp(56px, 7vw, 96px);
  line-height: .84;
  letter-spacing: -.045em;
}
.sd-contact-actions {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
  justify-content: center;
  min-width: 0;
}
.sd-contact-actions a {
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--cream);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .01em;
}
.sd-contact-hub {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  gap: 0 !important;
  text-align: center !important;
  padding-inline: 18px !important;
}
.sd-hub-content {
  position: static;
  transform: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
}
.sd-hub-content > span { display: block; line-height: 1; }
.sd-contact-hub img { width: 30px; height: 30px; object-fit: contain; display: block; flex: 0 0 auto; }
.sd-landscape-break { display: none; }

.sd-footer {
  padding: 28px 6px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
}

@media (pointer: coarse) and (orientation: portrait) {
  .sd-shell { width: 80vw; max-width: 80vw; padding-top: 10px; }
  .sd-nav { flex-direction: column; align-items: stretch; gap: 21px; font-size: 12px; padding-bottom: 18px; }
  .sd-nav-brand { order: 2; font-size: 60px; line-height: .84; letter-spacing: -.055em; font-weight: 900; }
  .sd-nav-links { order: 1; width: 100%; gap: 6px; justify-content: flex-end; align-self: flex-end; }
  .sd-pill { min-height: 36px; padding: 0 11px; }
  .sd-hub-pill img { width: 14px; height: 14px; }

  .sd-hero { min-height: 0; padding: 22px; }
  .sd-hero-top { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; }
  .sd-eyebrow,
  .sd-hero-meta { font-size: 12px; line-height: 1.16; }
  .sd-role-full { display: none; }
  .sd-role-short { display: block; }
  .sd-hero-meta { text-align: right; }
  .sd-hero h1 { margin: 52px 0; max-width: 100%; font-size: clamp(31px, 9.6vw, 47px); }
  .sd-hero h1 span { white-space: nowrap; }
  .sd-hero-copy { font-size: 17px; line-height: 1.36; width: 100%; }

  .sd-grid { gap: 11px; margin-top: 11px; }
  .sd-card { padding: 22px; }
  .sd-principle,
  .sd-capabilities,
  .sd-profile { grid-column: span 12; }
  .sd-principle blockquote { font-size: clamp(29px, 8vw, 44px); line-height: 1.16; }
  .sd-cap-list { grid-template-columns: 1fr; }
  .sd-card h2 { font-size: clamp(34px, 10vw, 49px); }
  .sd-card h3 { font-size: 23px; font-weight: 900; }
  .sd-card p { font-size: 17px; }
  .sd-cap-item p { font-size: 16px; }
  .sd-tag { font-size: 12.5px; }

  .sd-contact {
    margin-top: 11px;
    padding: 23px;
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    align-items: start;
  }
  .sd-contact h2 {
    margin: 0;
    max-width: none;
    font-size: clamp(36px, 10.3vw, 52px);
    line-height: .90;
    overflow-wrap: normal;
    word-break: normal;
  }
  .sd-contact-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    width: 100%;
  }
  .sd-contact-actions a { min-height: 54px; font-size: 12px; }
    .sd-contact-hub img { width: 27px; height: 27px; }
  .sd-footer { flex-direction: column; gap: 8px; }
}

@media (pointer: coarse) and (orientation: landscape) {
  /* Keep the same 80% card ratio while reducing vertical density. */
  .sd-shell { width: 80vw; max-width: 80vw; padding: 4px 0 18px; }
  .sd-nav { padding: 3px 2px 14px; font-size: 10.5px; }
  .sd-nav-brand { font-size: 82px; line-height: .80; letter-spacing: -.06em; font-weight: 900; }
  .sd-pill { min-height: 31px; padding: 0 9px; }
  .sd-hub-pill img { width: 13px; height: 13px; }

  .sd-hero { min-height: 0; padding: 15px 18px; }
  .sd-hero-top { grid-template-columns: 1fr auto; gap: 16px; }
  .sd-eyebrow,
  .sd-hero-meta { font-size: 14px; line-height: 1.16; }
  .sd-role-full { display: block; }
  .sd-role-short { display: none; }
  .sd-hero h1 { margin: 22px 0; font-size: clamp(36px, 5.6vw, 58px); max-width: 760px; }
  .sd-hero-copy { font-size: 18px; line-height: 1.28; }

  .sd-grid { gap: 8px; margin-top: 8px; }
  .sd-card { padding: 15px; }
  .sd-card h2 { font-size: clamp(27px, 3.5vw, 40px); margin-bottom: 11px; }
  .sd-card h3 { font-size: 19px; font-weight: 900; }
  .sd-card p { font-size: 13.5px; line-height: 1.32; }
  .sd-principle { grid-column: span 12; padding: 16px; }
  .sd-principle blockquote { font-size: clamp(23px, 3.6vw, 36px); line-height: 1.10; }
  .sd-capabilities { grid-column: span 12; }
  .sd-profile { grid-column: span 12; }
  .sd-cap-list { gap: 0 14px; }
  .sd-cap-item { padding: 9px 0; }
  .sd-cap-item p { font-size: 13.5px; }
  .sd-tags { gap: 6px; margin-top: 14px; }
  .sd-tag { font-size: 10px; padding: 6px 8px; }

  .sd-contact {
    margin-top: 8px;
    padding: 17px;
    min-height: 200px;
    grid-template-columns: minmax(0, 2fr) 220px;
    gap: 24px;
    align-items: center;
  }
  .sd-contact h2 { font-size: clamp(48px, 6vw, 70px); line-height: .86; }
  .sd-contact-actions { display: flex; flex-direction: column; gap: 16px; }
  .sd-contact-actions a { min-height: 36px; font-size: 10.5px; }
    .sd-contact-hub img { width: 24px; height: 24px; }
  .sd-landscape-break { display: inline; }
  .sd-footer { padding-top: 16px; font-size: 10px; }
}


@media (pointer: coarse) and (orientation: portrait) {
  html[lang="it"] .sd-principle blockquote {
    font-size: clamp(27px, 7.25vw, 40px);
  }
  .sd-contact-hub img { width: 27px; height: 27px; }
}

@media (pointer: coarse) and (orientation: landscape) {
  .sd-contact-hub img { width: 24px; height: 24px; }
}

/* Fine-pointer narrow windows: preserve the desktop composition and scale it
   proportionally instead of allowing anchors / columns to collapse. */
html.sd-desktop-scaled .sd-stage {
  position: relative;
  width: 80vw;
  max-width: 80vw;
  margin: 0 auto;
}
html.sd-desktop-scaled .sd-shell {
  position: absolute;
  top: 0;
  left: 0;
  width: 1120px;
  max-width: none;
  margin: 0;
  transform-origin: top left;
}

html.sd-desktop-scaled, html.sd-desktop-scaled body { overflow-x: hidden; }


/* =========================================================
   V0.55.1.11 — SHARED PRIVACY ACCESS
   Core sonoDGTL layout/content remains unchanged.
   ========================================================= */
.sd-footer-legal { display: inline-flex; align-items: baseline; gap: .42em; flex-wrap: wrap; }
.sd-privacy-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 900;
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.sd-privacy-link:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.privacy-overlay[hidden] { display: none !important; }
.privacy-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(28, 23, 19, .62);
  overflow: auto;
}
.privacy-card {
  position: relative;
  width: min(640px, calc(100vw - 40px));
  max-height: min(82svh, 760px);
  overflow: auto;
  padding: 30px 30px 28px;
  border-radius: 28px;
  background: var(--cream);
  color: var(--ink);
}
.privacy-card h2 { margin: 0 46px 6px 0; font-size: 34px; line-height: .95; letter-spacing: -.035em; }
.privacy-intro { margin: 0 46px 22px 0; font-size: 14px; line-height: 1.35; font-weight: 700; }
.privacy-copy { display: grid; border-top: 2px solid var(--ink); }
.privacy-copy section { padding: 15px 0; border-bottom: 1.5px solid rgba(28,23,19,.36); }
.privacy-copy h3 { margin: 0 0 5px; font-size: 11px; line-height: 1.15; font-weight: 900; letter-spacing: .07em; }
.privacy-copy p { margin: 0; font-size: 13px; line-height: 1.45; font-weight: 500; }
.privacy-copy a { font-weight: 800; text-underline-offset: 2px; }
.privacy-copy code { font-family: var(--ui-font), sans-serif; font-size: .95em; font-weight: 700; }
.privacy-updated { margin: 16px 0 0; font-size: 10px; line-height: 1.3; font-weight: 700; letter-spacing: .03em; opacity: .70; }
.privacy-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: 21px;
  line-height: 1;
  cursor: pointer;
}
body.privacy-open { overflow: hidden; }

@media (pointer: coarse) {
  .privacy-card {
    width: min(88vw, 640px);
    max-height: min(82svh, 720px);
    padding: 25px 22px 24px;
    border-radius: 24px;
  }
  .privacy-card h2 { font-size: 30px; }
  .privacy-intro { font-size: 13px; }
  .privacy-copy p { font-size: 12.5px; }
}


/* =========================================================
   V0.55.1.12 — FOOTER + PRIVACY UI POLISH
   No sonoDGTL content/card geometry changes.
   ========================================================= */

/* Three independent footer elements: legal at left, privacy mathematically
   centred, motto at right. */
.sd-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: baseline;
  gap: 24px;
}
.sd-footer-legal {
  display: block;
  justify-self: start;
}
.sd-privacy-link {
  justify-self: center;
}
.sd-footer-motto {
  justify-self: end;
  text-align: right;
}

/* Portrait keeps the footer stacked; PRIVACY is its own centred line and no
   separator is used. */
@media (pointer: coarse) and (orientation: portrait) {
  .sd-footer {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .sd-footer-legal { align-self: stretch; }
  .sd-privacy-link { align-self: center; }
  .sd-footer-motto { align-self: stretch; text-align: left; }
}

.privacy-overlay,
.privacy-card {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.privacy-overlay::-webkit-scrollbar,
.privacy-card::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

.privacy-copy a {
  display: inline-flex;
  align-items: baseline;
  gap: .24em;
}
.privacy-link-arrow {
  width: .82em;
  height: .82em;
  flex: 0 0 auto;
  display: inline-block;
  transform: translateY(.04em);
}

.privacy-close {
  display: grid;
  place-items: center;
  font-size: 0 !important;
  line-height: 1 !important;
}
.privacy-close::before,
.privacy-close::after {
  content: "";
  grid-area: 1 / 1;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}
.privacy-close::before { transform: rotate(45deg); }
.privacy-close::after  { transform: rotate(-45deg); }

/* =========================================================
   V0.55.1.13 — PRIVACY CLOSE + PORTRAIT FOOTER POLISH
   ========================================================= */

.privacy-close::before,
.privacy-close::after {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  grid-area: auto !important;
  transform-origin: 50% 50% !important;
}
.privacy-close::before {
  transform: translate(-50%, -50%) rotate(45deg) !important;
}
.privacy-close::after {
  transform: translate(-50%, -50%) rotate(-45deg) !important;
}

/* In portrait PRIVACY remains its own line, but follows the left alignment
   of the other footer copy instead of being centred. */
@media (pointer: coarse) and (orientation: portrait) {
  .sd-privacy-link {
    align-self: flex-start !important;
    justify-self: start !important;
  }
}


/* =========================================================
   V1.0.1 — LOCALIZED EMAIL FALLBACK
   Mailto remains the first action; if no local handler takes over, visitors
   can copy recipient, subject and message into their webmail.
   ========================================================= */
.email-fallback[hidden] { display: none !important; }
.email-fallback {
  position: fixed;
  inset: 0;
  z-index: 110;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(28, 23, 19, .62);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.email-fallback::-webkit-scrollbar,
.email-fallback-card::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.email-fallback-card {
  position: relative;
  width: min(640px, calc(100vw - 40px));
  max-height: min(84svh, 760px);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 30px 30px 28px;
  border-radius: 28px;
  background: var(--cream);
  color: var(--ink);
}
.email-fallback-card h2 {
  margin: 0 48px 7px 0;
  font-size: 34px;
  line-height: .95;
  letter-spacing: -.035em;
}
.email-fallback-card > p {
  margin: 0 48px 22px 0;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 700;
}
.email-fallback-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
}
.email-fallback-close::before,
.email-fallback-close::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 15px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transform-origin: 50% 50%;
}
.email-fallback-close::before { transform: translate(-50%, -50%) rotate(45deg); }
.email-fallback-close::after  { transform: translate(-50%, -50%) rotate(-45deg); }
.email-field {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-top: 2px solid var(--ink);
}
.email-field > span {
  font-size: 10.5px;
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: .045em;
}
.email-field code {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-family: var(--ui-font), sans-serif;
  font-size: 13px;
  line-height: 1.38;
  font-weight: 500;
}
.email-field button {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font: inherit;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .02em;
  cursor: pointer;
}
.email-field-body { align-items: start; }
body.email-fallback-open { overflow: hidden; }

@media (pointer: coarse) {
  .email-fallback-card {
    width: min(88vw, 640px);
    max-height: min(84svh, 720px);
    padding: 25px 22px 24px;
    border-radius: 24px;
  }
  .email-fallback-card h2 { font-size: 30px; }
  .email-fallback-card > p { font-size: 13px; }
  .email-field {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 14px 0 16px;
  }
  .email-field > span {
    grid-column: 1;
    grid-row: 1;
    align-self: center;
  }
  .email-field code {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 12.5px;
  }
  .email-field button {
    grid-column: 2;
    grid-row: 1;
    min-height: 32px;
    padding-inline: 11px;
  }
}


/* =========================================================
   V1.0.1 RC2 — NARROW PORTRAIT HERO CONTAINMENT
   The Hero used an implicit Grid column. On narrow Android/WebView portrait
   viewports, the nowrap title could contribute a wider min-content size and
   make the whole Hero track wider than the card, so every Hero child was
   clipped at the right edge. Force one shrinkable column; the JS title fitter
   below only reduces the title when its real rendered width still overflows.
   No other sonoDGTL card geometry is changed.
   ========================================================= */
@media (pointer: coarse) and (orientation: portrait) {
  .sd-hero {
    grid-template-columns: minmax(0, 1fr);
  }
  .sd-hero > *,
  .sd-hero-top,
  .sd-hero-top > *,
  .sd-hero h1,
  .sd-hero-copy {
    min-width: 0;
    max-width: 100%;
  }
}
