/* Giusti Oreficeria - Orologeria — the page is one flowchart on a sheet of silver paper.
   Amaranto (the colour of Livorno) on argento, ink for the wires. Young Serif asks the questions, Sofia Sans answers. */
:root {
  --paper: #E3E1E6; --paper2: #D6D3DB; --white: #FAF9FB; --ink: #1E1629; --ink2: #554A61;
  --ama: #9A1440; --ama2: #6F0D2D; --blush: #F2D3DA; --mist: #CFC8D8;
  --disp: 'Young Serif', Georgia, 'Times New Roman', serif; --sans: 'Sofia Sans', 'Segoe UI', system-ui, sans-serif; --cond: 'Sofia Sans Condensed', 'Sofia Sans', 'Arial Narrow', sans-serif;
  --ez: cubic-bezier(.16, 1, .3, 1); --ez2: cubic-bezier(.65, 0, .35, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; }
::selection { background: var(--ama); color: #fff; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ama); outline-offset: 3px; }
[hidden] { display: none !important; }

html.js, html.js body { height: 100%; overflow: hidden; }
.app { display: flex; flex-direction: column; height: 100vh; height: 100dvh; }

/* ---------- what floats over the sheet ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 16px 22px 0 18px; pointer-events: none; }
.top > * { pointer-events: auto; }
.brand { display: block; background: var(--paper); padding: 8px 14px 8px 8px; box-shadow: 0 0 0 1.5px rgba(30, 22, 41, .14); }
.brand img { display: block; height: 46px; width: auto; }
.tools { display: flex; align-items: stretch; gap: 8px; }
.tools button { background: var(--paper); border: 2px solid var(--ink); border-radius: 2px; padding: 10px 13px 9px; font: 800 13px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; transition: background .25s var(--ez), color .25s var(--ez); }
.tools button:hover, .tools button[aria-pressed="true"] { background: var(--ink); color: var(--white); }
.lang { display: flex; } .lang button + button { border-left: 0; } .lang button { padding-inline: 10px; }

/* ---------- the sheet ---------- */
.view { flex: 1 1 auto; min-height: 0; overflow: auto; position: relative; cursor: grab; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: var(--ink2) transparent; outline-offset: -3px; }
.view.drag { cursor: grabbing; }
.sizer { position: relative; overflow: hidden; }
.chart { position: absolute; left: 0; top: 0; width: 3640px; height: 3070px; transform-origin: 0 0; user-select: none; -webkit-user-select: none;
  background: radial-gradient(circle, rgba(30, 22, 41, .17) 1.3px, transparent 1.8px) 0 0 / 40px 40px; }
.chart.far { background-image: none; }
.chart::before { content: ''; position: absolute; inset: 22px; border: 1.5px solid rgba(30, 22, 41, .32); pointer-events: none; }
.wires { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
.w { fill: none; stroke: var(--ink); stroke-width: 2.5; }
.w-lit { fill: none; stroke: var(--ama); stroke-width: 7; stroke-linecap: round; stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset .8s var(--ez2) var(--d, 0ms); }
.edge.on .w-lit { stroke-dashoffset: 0; }
.arrow { fill: var(--ink); transition: fill .3s var(--ez2) var(--d, 0ms); }
.edge.on .arrow { fill: var(--ama); transition-delay: calc(var(--d, 0ms) + 600ms); }
.edge { transition: opacity .5s var(--ez); }
.w { transition: stroke .25s var(--ez), stroke-width .25s var(--ez); }
.edge.hint { opacity: 1 !important; } .edge.hint .w { stroke: var(--ama); stroke-width: 4.5; } .edge.hint .arrow { fill: var(--ama); }
.node { position: absolute; transition: opacity .5s var(--ez); }

/* the middle */
.hub { width: 760px; height: 500px; z-index: 2; }
.gem { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gem polygon { fill: var(--ama); }
.gem path { fill: none; stroke: var(--ama2); stroke-width: 1.5; }
.hub-t { position: absolute; inset: 0; margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; font: 400 112px/.95 var(--disp); letter-spacing: -.025em; color: var(--ink); padding-top: 6px; white-space: nowrap; }
.hub-t span { display: block; }
html[lang="en"] .hub-t { font-size: 98px; }
.hub-t.ko { color: var(--white); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

.start { width: 232px; height: 232px; border-radius: 50%; background: var(--white); border: 2.5px solid var(--ama); color: var(--ama); display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 26px; rotate: -7deg; }
.start b { font: 400 29px/1 var(--disp); letter-spacing: -.01em; margin-bottom: 9px; text-wrap: balance; }
.start span { font: 500 14px/1.35 var(--sans); color: var(--ink); text-wrap: balance; }
.note { width: 216px; margin: 0; font: 500 14.5px/1.4 var(--sans); color: var(--ink2); border-left: 3px solid var(--ama); padding: 2px 0 2px 12px; background: var(--paper); }

/* questions: plain text on the sheet, as in a hand-drawn chart */
.q { width: max-content; max-width: 292px; padding: 10px 16px 12px; text-align: center; background: var(--paper); z-index: 2; }
.q-t { margin: 0; font: 400 31px/1.06 var(--disp); letter-spacing: -.012em; text-wrap: balance; transition: color .4s var(--ez); }
.q-h { margin: 7px 0 0; font: 500 15px/1.3 var(--sans); color: var(--ink2); }
.q.cur { box-shadow: 0 0 0 2.5px var(--ama); } .q.cur .q-t { color: var(--ama); }

/* answers: jeweller's tags hung on the wire */
.tag { position: absolute; translate: -50% -50%; z-index: 3; white-space: nowrap; border: 0; border-radius: 0; background: var(--ink); color: var(--white); font: 800 13.5px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; padding: 7px 10px 6px 21px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%); transition: background .25s var(--ez), scale .35s var(--ez), opacity .5s var(--ez); }
.tag::before { content: ''; position: absolute; left: 10px; top: 50%; width: 5px; height: 5px; margin-top: -2.5px; border-radius: 50%; background: var(--paper); }
.tag.arm { font-size: 16px; padding: 9px 13px 8px 24px; } .tag.arm::before { left: 12px; }
.tag:hover { background: var(--ama); scale: 1.08; }
.tag.on { background: var(--ama); }
.tag:focus-visible { outline: 0; background: var(--ama); scale: 1.12; }

/* the path taken stays; the rest steps back */
.chart.has-path .q:not(.on), .chart.has-path .end:not(.on), .chart.has-path .start, .chart.has-path .note { opacity: .3; }
.chart.has-path .edge:not(.on) { opacity: .2; }
.chart.has-path .tag:not(.on):not(.live) { opacity: .34; }
.chart.has-path .tag:hover, .chart.has-path .tag:focus-visible, .chart.has-path .end:not(.on):hover { opacity: 1; }

/* end boxes */
.end { width: 440px; padding: 26px 28px 26px; background: var(--ama); color: #FCF1F4; border-radius: 3px; z-index: 2; }
.end-k { margin: 0 0 13px; font: 800 12.5px/1 var(--cond); letter-spacing: .17em; text-transform: uppercase; color: var(--blush); }
.end-k .dc { margin-left: 6px; letter-spacing: .1em; vertical-align: 0; }
.end-t { margin: 0 0 11px; font: 400 43px/.98 var(--disp); letter-spacing: -.02em; text-wrap: balance; }
.end-l { margin: 0 0 17px; font: 500 17px/1.34 var(--sans); text-wrap: pretty; }
.end-ph { margin: 0 0 17px; } .end-ph img { display: block; width: 100%; max-width: 640px; height: auto; aspect-ratio: 640 / 360; object-fit: cover; }
.end-ph figcaption { margin-top: 7px; font: 500 13.5px/1.3 var(--sans); color: var(--mist); }
.end-f { margin: 0; }
.end-f > div { display: grid; grid-template-columns: 62px minmax(0, 1fr); column-gap: 14px; padding: 8px 0 9px; border-top: 1px solid rgba(255, 255, 255, .3); }
.end-f dt { font: 800 12px/1.75 var(--cond); letter-spacing: .14em; text-transform: uppercase; color: var(--blush); }
.end-f dd { margin: 0; font: 400 15.5px/1.38 var(--sans); }
.dc { display: inline-block; vertical-align: 1px; white-space: nowrap; border: 1px solid currentColor; border-radius: 2px; padding: 2px 5px 1px; font: 700 10.5px/1 var(--cond); letter-spacing: .1em; text-transform: uppercase; }
.end-path { margin: 6px 0 0; padding: 10px 12px; background: rgba(255, 255, 255, .15); font: 500 14px/1.4 var(--sans); }
.end-a { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 16px; }
.ask-open { border: 0; border-radius: 2px; background: var(--white); color: var(--ama); padding: 13px 17px 12px; font: 800 15px/1 var(--sans); transition: background .25s var(--ez), color .25s var(--ez), translate .35s var(--ez); }
.ask-open::after { content: ' →'; }
.ask-open:hover { background: var(--ink); color: var(--white); translate: 3px 0; }
.end-tel { color: inherit; font: 700 16px/1 var(--sans); text-underline-offset: 4px; }
.end :focus-visible { outline-color: var(--white); }
.end.ban { background: var(--ink); color: var(--white); } .end.ban .end-k, .end.ban dt { color: var(--mist); } .end.ban .ask-open { color: var(--ink); } .end.ban .ask-open:hover { background: var(--ama); color: var(--white); }
.end.boh { background: var(--white); color: var(--ink); box-shadow: inset 0 0 0 3px var(--ama); } .end.boh .end-k, .end.boh dt, .end.boh .end-t { color: var(--ama); }
.end.boh .end-f > div { border-top-color: rgba(30, 22, 41, .2); } .end.boh .end-path { background: var(--blush); } .end.boh .ask-open { background: var(--ama); color: var(--white); } .end.boh .ask-open:hover { background: var(--ink); } .end.boh :focus-visible { outline-color: var(--ama); }
.end.cur { outline: 5px solid var(--ama); outline-offset: 8px; }

/* the title block along the bottom of the sheet */
.band { left: 60px; top: 2780px; width: 3520px; height: 236px; border-top: 3px solid var(--ink); padding-top: 26px; display: grid; grid-template-columns: 730px 208px repeat(4, minmax(0, 1fr)); column-gap: 56px; }
.band-n { margin: -14px 0 0 -8px; font: 400 236px/.86 var(--disp); letter-spacing: -.035em; color: var(--ama); }
.band b { display: block; margin-bottom: 10px; font: 800 14px/1 var(--cond); letter-spacing: .17em; text-transform: uppercase; color: var(--ama); }
.band p:not(.band-n) { margin: 0; font: 400 21px/1.36 var(--sans); max-width: 30ch; }
.band strong { font: 400 23px/1.2 var(--disp); }
.band-ph { margin: 0; align-self: start; } .band-ph img { display: block; width: 208px; height: 210px; object-fit: cover; filter: saturate(.92); box-shadow: 0 0 0 1.5px rgba(30, 22, 41, .32); }
.band-cr { display: block; margin-top: 6px; font: 500 15px/1.35 var(--sans); color: var(--ink2); }
.band a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1.5px; } .band a:hover { color: var(--ama); }

/* ---------- the dock: the path in words, and the walker ---------- */
.dock { position: relative; z-index: 30; flex: none; background: var(--ink); color: var(--white); }
.dock-bar { display: flex; align-items: center; gap: 22px; min-height: 58px; padding: 8px 22px; }
.trail { flex: 1 1 0; min-width: 0; display: flex; align-items: baseline; gap: 14px; }
.trail-k { flex: none; font: 800 12.5px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--mist); }
.trail-t { margin: 0; font: 500 16px/1.3 var(--sans); white-space: nowrap; overflow-x: auto; scrollbar-width: none; } .trail-t::-webkit-scrollbar { display: none; }
.trail-t.empty { color: var(--mist); }
.dock-b { display: flex; gap: 8px; flex: none; }
.dock-b button { background: transparent; border: 1.5px solid rgba(250, 249, 251, .55); border-radius: 2px; color: var(--white); padding: 9px 12px 8px; font: 800 13px/1 var(--cond); letter-spacing: .12em; text-transform: uppercase; transition: background .25s var(--ez), color .25s var(--ez), border-color .25s var(--ez); }
.dock-b button:hover:not(:disabled), .dock-b button[aria-pressed="true"] { background: var(--white); color: var(--ink); border-color: var(--white); }
.dock-b button:disabled { opacity: .38; cursor: default; }
.dock :focus-visible { outline-color: var(--blush); }
.legal { flex: none; margin: 0; font: 500 13px/1.3 var(--sans); color: var(--mist); } .legal a { color: inherit; text-underline-offset: 3px; } .legal a:hover { color: var(--white); }

.dock-card { display: none; position: absolute; left: 22px; bottom: calc(100% + 18px); width: 384px; background: var(--white); color: var(--ink); padding: 20px 22px 22px; box-shadow: 0 1px 2px rgba(30, 22, 41, .2), 0 22px 44px -18px rgba(30, 22, 41, .55); }
.dock.walk .dock-card { display: block; }
.dock-k { margin: 0 0 8px; font: 800 12px/1 var(--cond); letter-spacing: .17em; text-transform: uppercase; color: var(--ama); }
.dock-q { margin: 0; font: 400 28px/1.05 var(--disp); letter-spacing: -.012em; text-wrap: balance; }
.dock-h { margin: 6px 0 0; font: 500 15px/1.3 var(--sans); color: var(--ink2); }
.dock-a { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ans { flex: 1 1 40%; min-height: 46px; border: 0; border-radius: 0; background: var(--ink); color: var(--white); padding: 12px 12px 11px 24px; text-align: left; font: 800 15px/1.1 var(--cond); letter-spacing: .12em; text-transform: uppercase; clip-path: polygon(12px 0, 100% 0, 100% 100%, 12px 100%, 0 50%); transition: background .25s var(--ez); }
.ans:hover, .ans:focus-visible { background: var(--ama); outline: 0; }
.dock-info b { display: block; margin: 12px 0 3px; font: 800 12px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.dock-info p { margin: 0; font: 400 16px/1.42 var(--sans); } .dock-info strong { font: 400 19px/1.2 var(--disp); } .dock-info a { color: var(--ama); font-weight: 700; text-underline-offset: 3px; }
.dock-end .dock-k { color: inherit; opacity: .9; }
.dock-end .end-t { font-size: 30px; margin-bottom: 4px; } .dock-end .end-k { display: none; }
.dock-end.lab .end-t, .dock-end.boh .end-t { color: var(--ama); }
.dock-end .end-l, .dock-end .end-f, .dock-end .end-path, .dock-end .end-ph { display: none; }
.dock-info .band-ph { margin: 2px 0 4px; } .dock-info .band-ph img { width: 160px; height: auto; aspect-ratio: 640 / 646; object-fit: cover; box-shadow: 0 0 0 1.5px rgba(30, 22, 41, .32); }
.dock-info .band-cr { margin-top: 4px; font: 500 13px/1.35 var(--sans); color: var(--ink2); }
.dock-end .ask-open { background: var(--ama); color: var(--white); } .dock-end .ask-open:hover { background: var(--ink); }
.dock-end :focus-visible { outline-color: var(--ama); }

/* ---------- the note for the counter ---------- */
.sheet { position: fixed; z-index: 60; top: 0; right: 0; bottom: 0; width: min(476px, 100%); overflow: auto; background: var(--white); color: var(--ink); padding: 30px 32px 34px; border-left: 4px solid var(--ama); box-shadow: -30px 0 60px -30px rgba(30, 22, 41, .5); animation: sheet-in .6s var(--ez) both; }
@keyframes sheet-in { from { transform: translateX(40px); opacity: 0; } }
.sheet-x { position: absolute; top: 14px; right: 16px; width: 42px; height: 42px; border: 2px solid var(--ink); border-radius: 2px; background: transparent; font: 400 26px/1 var(--sans); transition: background .25s var(--ez), color .25s var(--ez); }
.sheet-x:hover { background: var(--ink); color: var(--white); }
.sheet-k { margin: 0 0 10px; font: 800 12.5px/1 var(--cond); letter-spacing: .17em; text-transform: uppercase; color: var(--ama); }
.sheet-h { margin: 0 54px 22px 0; font: 400 34px/1.02 var(--disp); letter-spacing: -.015em; text-wrap: balance; }
.steps { list-style: none; margin: 0 0 26px 7px; padding: 0 0 0 22px; border-left: 4px solid var(--ama); }
.steps li { position: relative; display: flex; align-items: center; flex-wrap: wrap; gap: 4px 10px; padding: 6px 0; font: 400 19px/1.15 var(--disp); }
.steps li::before { content: ''; position: absolute; left: -31px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: var(--ama); rotate: 45deg; }
.steps b { background: var(--ink); color: var(--white); padding: 5px 8px 4px 16px; font: 800 12px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; clip-path: polygon(8px 0, 100% 0, 100% 100%, 8px 100%, 0 50%); }
.steps .st-0 { font-size: 15px; font-family: var(--sans); font-weight: 500; color: var(--ink2); }
.steps .st-end span { background: var(--ama); color: var(--white); padding: 8px 12px 9px; font-size: 22px; }
.steps .st-open { font: 500 15px/1.35 var(--sans); color: var(--ink2); }
.ask label { display: block; margin-bottom: 16px; }
.ask label span, .msg-k { display: block; margin: 0 0 4px; font: 800 12px/1 var(--cond); letter-spacing: .16em; text-transform: uppercase; color: var(--ink2); }
.ask input, .ask textarea { display: block; width: 100%; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); padding: 8px 0 7px; font: 500 17px/1.35 var(--sans); resize: vertical; transition: border-color .25s var(--ez), background .25s var(--ez); }
.ask input::placeholder, .ask textarea::placeholder { color: #7A6F86; opacity: 1; }
.ask input:focus, .ask textarea:focus { outline: 0; border-bottom-color: var(--ama); background: #F3EEF2; }
.msg-k { margin-top: 22px; }
.msg { margin: 0 0 18px; padding: 13px 14px; background: var(--paper); border-left: 3px solid var(--ink); font: 400 14px/1.5 var(--sans); white-space: pre-wrap; overflow-wrap: anywhere; }
.ask-b { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; }
.ask-b .go, .ask-b .call { display: inline-block; border: 2px solid var(--ama); border-radius: 2px; background: var(--ama); color: var(--white); padding: 13px 16px 12px; font: 800 15px/1 var(--sans); text-decoration: none; transition: background .25s var(--ez), border-color .25s var(--ez), color .25s var(--ez); }
.ask-b .call { background: transparent; color: var(--ama); }
.ask-b .go:hover, .ask-b .call:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.ask-b .plain { border: 0; background: transparent; padding: 8px 2px; font: 700 15px/1 var(--sans); text-decoration: underline; text-underline-offset: 4px; }
.ask-s { min-height: 1.4em; margin: 0 0 12px; font: 700 14.5px/1.4 var(--sans); color: var(--ama); }
.sheet-c { margin: 22px 0 0; padding-top: 14px; border-top: 1px solid rgba(30, 22, 41, .25); font: 500 14px/1.45 var(--sans); color: var(--ink2); }

/* ---------- arrival: the sheet draws itself once ---------- */
@keyframes draw { from { stroke-dashoffset: var(--len); } to { stroke-dashoffset: 0; } }
@keyframes pop { from { opacity: 0; scale: .5; } }
@keyframes rise { from { opacity: 0; transform: translateY(46px); } }
@keyframes gem { from { opacity: 0; transform: scale(.62) rotate(-8deg); } }
@keyframes come { from { opacity: 0; } }
.chart.intro .gem { transform-origin: 50% 50%; animation: gem 1.1s var(--ez) both; }
.chart.intro .hub-t span { animation: rise .95s var(--ez) both; animation-delay: .25s; } .chart.intro .hub-t span:nth-child(2) { animation-delay: .37s; } .chart.intro .hub-t span:nth-child(3) { animation-delay: .49s; }
.chart.intro .w { stroke-dasharray: var(--len); animation: draw 1s var(--ez2) both; animation-delay: calc(var(--depth) * 200ms + 800ms); }
.chart.intro .arrow { animation: come .3s var(--ez2) both; animation-delay: calc(var(--depth) * 200ms + 1700ms); }
.chart.intro .tag { animation: pop .55s var(--ez) both; animation-delay: calc(var(--depth) * 200ms + 950ms); }
.chart.intro .q, .chart.intro .end, .chart.intro .start, .chart.intro .note { animation: come .9s var(--ez2) both; animation-delay: 1.1s; }
html.static *, html.static *::before, html.static *::after { transition: none !important; animation: none !important; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; animation: none !important; } }

@media (max-width: 1180px) { .dock-bar { flex-wrap: wrap; gap: 6px 16px; } .trail { flex: 1 1 320px; } .legal { flex: 1 1 100%; } }
/* ---------- phone: the sheet above, the walker below ---------- */
@media (max-width: 760px) {
  .top { padding: 10px 10px 0; }
  .brand { padding: 5px; } .brand img { height: 36px; }
  .tools { gap: 5px; } .tools button { padding: 9px 8px 8px; font-size: 11.5px; letter-spacing: .09em; border-width: 1.5px; } .lang button { padding-inline: 7px; }
  .view { scrollbar-width: none; } .view::-webkit-scrollbar { display: none; }
  .dock-card { position: static; width: auto; box-shadow: none; padding: 16px 16px 14px; max-height: 56vh; max-height: 56dvh; overflow: auto; border-top: 4px solid var(--ama); }
  .dock-q { font-size: 27px; }
  .dock-a { gap: 7px; margin-top: 13px; } .ans { min-height: 48px; }
  .dock-end .end-t { font-size: 31px; margin-bottom: 8px; }
  .dock-end .end-l, .dock-end .end-f { display: block; } .dock-end .end-l { font-size: 16px; margin-bottom: 12px; } .dock-end .end-f > div { border-top-color: rgba(30, 22, 41, .2); padding: 7px 0; } .dock-end dt { color: var(--ama); } .dock-end dd { font-size: 15px; }
  .dock-end .end-a { margin-top: 12px; } .dock-end .end-tel { color: var(--ink); }
  .dock-bar { flex-wrap: wrap; gap: 7px 10px; min-height: 0; padding: 9px 12px 10px; }
  .trail { flex: 1 1 100%; gap: 9px; } .trail-k { font-size: 11px; } .trail-t { font-size: 14px; }
  .dock-b { gap: 6px; } .dock-b button { padding: 8px 8px 7px; font-size: 11.5px; letter-spacing: .09em; }
  .legal { flex: 1 1 100%; font-size: 12px; }
  .sheet { width: 100%; border-left: 0; border-top: 4px solid var(--ama); padding: 22px 18px 28px; }
  .sheet-h { font-size: 29px; }
}
@media (max-width: 480px) { .brand img { height: 34px; } }

/* ---------- without scripts: the same content as a plain list ---------- */
html:not(.js) .top { position: static; padding: 14px; } html:not(.js) .tools, html:not(.js) .dock-card, html:not(.js) .dock-b, html:not(.js) .wires, html:not(.js) .hub-t.ko, html:not(.js) .gem { display: none; }
html:not(.js) .app { height: auto; display: block; } html:not(.js) .view { overflow: visible; cursor: auto; } html:not(.js) .sizer { overflow: visible; }
html:not(.js) .chart { position: static; width: auto; height: auto; padding: 8px 16px 40px; background: none; user-select: auto; -webkit-user-select: auto; } html:not(.js) .chart::before { display: none; }
html:not(.js) .node { position: static; margin: 0 auto 22px; max-width: 520px; width: auto; height: auto; rotate: none; border-radius: 3px; }
html:not(.js) .hub-t { position: static; font-size: clamp(48px, 14vw, 96px); white-space: normal; color: var(--ama); } html:not(.js) .q { text-align: left; padding: 0; }
html:not(.js) .band { display: block; max-width: 520px; border-top: 3px solid var(--ink); } html:not(.js) .band-n { font-size: 96px; margin: 0 0 12px; } html:not(.js) .band div { margin-bottom: 16px; }

/* ---------- the legal pages ---------- */
.docbody { background: var(--paper); }
.dochead { padding: 18px 24px 16px; border-bottom: 3px solid var(--ink); }
.dochead img { display: block; height: 46px; width: auto; }
.doc { max-width: 840px; margin: 0 auto; padding: 34px 22px 90px; font: 400 16px/1.65 var(--sans); }
.doc h1 { margin: 22px 0 12px; font: 400 clamp(34px, 6vw, 52px)/1 var(--disp); letter-spacing: -.02em; color: var(--ama); }
.doc h2 { margin: 2em 0 .45em; font: 400 23px/1.15 var(--disp); }
.doc a { color: var(--ama); text-underline-offset: 3px; }
.doc table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: .92em; background: var(--white); }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 8px 10px; border-bottom: 1px solid rgba(30, 22, 41, .18); }
.doc th { font: 800 12px/1.3 var(--cond); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); border-bottom: 2px solid var(--ink); }
.doc code { font-size: .9em; overflow-wrap: anywhere; }
.doc .ck-page .st { border: 0; border-left: 3px solid var(--ama); border-radius: 0; background: var(--white); }
.doc .ck-page button { border: 2px solid var(--ink); border-radius: 2px; padding: 11px 15px 10px; font: 800 13.5px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; transition: background .25s var(--ez), color .25s var(--ez); } .doc .ck-page button:hover { background: var(--ink); color: var(--white); }
@media (max-width: 600px) { .dochead { padding: 12px 14px; } .dochead img { height: 36px; } .doc { padding: 22px 16px 70px; } }

/* == legal == cookie banner + seller block (generated by sites/_legal/gen.py; the banner look comes from _legal/cookie-styles.css) */
.ck { position: fixed; left: 16px; bottom: 16px; z-index: 9999; max-width: 400px; font-family: inherit; font-size: 14px; line-height: 1.5; letter-spacing: 0; text-transform: none; text-align: left; }
.ck, .ck * { box-sizing: border-box; } .ck .ck-k { display: block; } .ck .ck-t, .ck .ck-p { margin: 0; } .ck .b { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; }
.ck button, .ck a.more { cursor: pointer; text-decoration: none; line-height: 1.2; margin: 0; }
/* banner: giusti-oreficeria-orologeria */
.ck { left: auto; right: 22px; bottom: 82px; width: 376px; max-width: none; background: var(--white); color: var(--ink); padding: 18px 20px 18px; box-shadow: inset 0 0 0 2.5px var(--ama), 0 24px 44px -20px rgba(30, 22, 41, .6); font-family: var(--sans); }
.ck::after { content: ''; position: absolute; left: -6px; top: 30px; width: 13px; height: 13px; background: var(--ama); rotate: 45deg; }
.ck .ck-k { margin-bottom: 8px; font: 800 12px/1 var(--cond); letter-spacing: .17em; text-transform: uppercase; color: var(--ama); }
.ck .ck-t b { display: block; margin-bottom: 7px; font: 400 25px/1.05 var(--disp); letter-spacing: -.012em; }
.ck .ck-p { font-size: 14px; line-height: 1.42; color: var(--ink2); }
.ck .b { gap: 8px; margin-top: 14px; }
.ck button { border: 0; border-radius: 0; background: var(--ink); color: var(--white); padding: 10px 12px 9px 23px; font: 800 14px/1 var(--cond); letter-spacing: .13em; text-transform: uppercase; clip-path: polygon(11px 0, 100% 0, 100% 100%, 11px 100%, 0 50%); }
.ck .ok { background: var(--ama); } .ck button:hover, .ck button:focus-visible { background: var(--ama2); outline: 0; }
.ck .more { margin-left: 6px; font: 700 14px/1 var(--sans); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 600px) { html .ck { top: 62px; bottom: auto; } }
/* seller block: it opens from “Titolare” as a slip of the same paper, above the dock */
footer.seller.panel { bottom: 76px; background: var(--white); color: var(--ink); border-radius: 0; padding: 26px 28px 24px; box-shadow: inset 0 0 0 2.5px var(--ink), 0 30px 60px -24px rgba(30, 22, 41, .6); font-family: var(--sans); font-size: 13.5px; }
footer.seller b { opacity: 1; color: var(--ama); font-family: var(--cond); font-size: 12px; letter-spacing: .16em; } footer.seller strong { font: 400 17px/1.2 var(--disp); }
footer.seller .x { top: 8px; right: 12px; color: var(--ink); }
@media (max-width: 700px) { footer.seller.panel { bottom: 8px; padding: 22px 18px 18px; } }

@media (max-width: 600px) { .ck { left: 10px; right: 10px; bottom: var(--ck-bottom, 10px); width: auto; max-width: none; transform: none; } }
.seller { font-size: 12.5px; line-height: 1.6; color: inherit; padding: 22px 24px 26px; border-top: 1px solid rgba(128,128,128,.35); letter-spacing: 0; text-transform: none; font-family: inherit; }
.seller-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; }
.seller b { display: block; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; margin-bottom: 4px; font-weight: 700; }
.seller a { color: inherit; } .seller address { font-style: normal; } .seller strong { font-weight: 700; }
.seller.panel { display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9998; background: #fff; color: #111; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); max-width: 940px; margin: 0 auto; border-top: 0; padding: 24px 26px 22px; }
.seller.panel:target { display: block; }
.seller .x { position: absolute; top: 6px; right: 12px; text-decoration: none; font-size: 22px; line-height: 1; padding: 6px 8px; }
.ck-page .st { padding: 10px 14px; border: 1px solid rgba(128,128,128,.4); border-radius: 8px; margin: 10px 0 14px; font-weight: 700; } .ck-page .b { display: flex; gap: 8px; flex-wrap: wrap; } .ck-page button { font: inherit; font-weight: 700; padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: pointer; }
@media (max-width: 760px) { table.lgl-t, table.lgl-t tbody, table.lgl-t tr, table.lgl-t td { display: block; width: auto; } table.lgl-t thead { display: none; } table.lgl-t tr { padding: 10px 0; border-bottom: 1px solid rgba(128,128,128,.35); } table.lgl-t td { border: 0 !important; padding: 2px 0 !important; overflow-wrap: anywhere; } table.lgl-t td::before { content: attr(data-l) ": "; font-weight: 700; } }
table.lgl-t code { overflow-wrap: anywhere; }
.lead-note.lead-note { font-size: 12px; line-height: 1.5; margin: 0; letter-spacing: 0; text-transform: none; font-weight: 400; font-style: normal; text-align: left; max-width: 62ch; } .lead-note.lead-note a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 700px) { .seller-in { grid-template-columns: 1fr; } .seller.panel { left: 8px; right: 8px; bottom: 8px; max-height: 80dvh; overflow: auto; } }
