/* Gian Luca Cardarelli — the compass is the page: four directions on one screen, the needle takes the shortest turn, a bearing readout ticks, a direction opens as a panel from its own side (reference: CodeFronts compass rose navigation) */
:root { --navy: #12233F; --navy2: #0B1730; --navy3: #1C3358; --gold: #C9A227; --gold2: #E3C766; --ivory: #F4F0E6; --ink: #14203A; --muted: #5C6478; --line: #D5CEBD; --on-dark: rgba(244,240,230,.72);
  --display: 'Cormorant Garamond', Georgia, serif; --body: 'Karla', system-ui, sans-serif; --ease: cubic-bezier(.16, 1, .3, 1); }
* { box-sizing: border-box; } html, body { height: 100%; }
body { margin: 0; background: var(--navy); color: var(--ivory); font-family: var(--body); font-size: 16px; line-height: 1.5; overflow: hidden; }
a { color: inherit; } button { font: inherit; } [hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--navy); }

.rose { height: 100vh; height: 100dvh; display: grid; grid-template-columns: 1fr minmax(320px, 1.3fr) 1fr; grid-template-rows: 1fr minmax(260px, 1.3fr) 1fr; position: relative; }
.rose::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 50%, rgba(201,162,39,.14), transparent 55%); pointer-events: none; }
.cell { padding: 22px 26px; display: grid; position: relative; }
.k { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; font-weight: 700; color: var(--gold); }
.nw { align-content: start; } .nw b { font-family: var(--display); font-weight: 600; font-size: 24px; line-height: 1; display: block; } .nw small { display: block; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark); margin-top: 6px; }
.ne { align-content: start; justify-items: end; gap: 10px; } .lang { display: inline-flex; border: 1px solid rgba(244,240,230,.4); } .lang button { background: transparent; border: 0; color: var(--ivory); font: 700 11px var(--body); letter-spacing: .1em; padding: 6px 10px; cursor: pointer; } .lang button.is-on { background: var(--gold); color: var(--navy); }
.sw { align-content: end; } .sw button { background: transparent; border: 1px solid rgba(244,240,230,.4); color: var(--ivory); font: 700 11px var(--body); letter-spacing: .14em; text-transform: uppercase; padding: 8px 12px; cursor: pointer; } .sw button:hover { border-color: var(--gold); color: var(--gold2); }
.se { align-content: end; justify-items: end; } .bearing { font-family: var(--display); font-weight: 500; font-size: 44px; line-height: 1; color: var(--gold2); font-variant-numeric: tabular-nums; } .bearing small { font-family: var(--body); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); display: block; margin-top: 4px; }

/* direction cells */
.dir { display: grid; align-content: center; justify-items: center; text-align: center; gap: 4px; cursor: pointer; border: 0; background: transparent; color: inherit; transition: background .35s; } .dir:hover, .dir.is-on { background: rgba(201,162,39,.08); }
.dir .L { font-family: var(--display); font-weight: 600; font-size: clamp(44px, 6vw, 84px); line-height: 1; color: var(--ivory); transition: color .3s, transform .5s var(--ease); } .dir:hover .L, .dir.is-on .L { color: var(--gold2); transform: translateY(-4px); }
.dir .lbl { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 700; color: var(--gold); } .dir .t { font-family: var(--display); font-size: clamp(18px, 1.8vw, 24px); line-height: 1.15; max-width: 22ch; } .dir .pr { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark); }
.dir.w { grid-column: 1; grid-row: 2; } .dir.e { grid-column: 3; grid-row: 2; } .dir.n { grid-column: 2; grid-row: 1; } .dir.s { grid-column: 2; grid-row: 3; }
.dir.w, .dir.e { justify-items: center; }

/* center */
.center { grid-column: 2; grid-row: 2; display: grid; place-items: center; position: relative; }
.center svg { width: min(100%, 340px); aspect-ratio: 1; overflow: visible; }
.needle { transform-origin: 50% 50%; transition: transform 1.1s cubic-bezier(.2, 1.4, .3, 1); } html.static .needle { transition: none; }
.center .name { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); text-align: center; white-space: nowrap; } .center .name a { font-family: var(--display); font-weight: 600; font-size: clamp(26px, 3vw, 40px); text-decoration: none; color: var(--gold2); line-height: 1; } .center .name small { display: block; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--on-dark); margin-top: 4px; }

/* panels */
.panel { position: fixed; inset: 0; background: var(--ivory); color: var(--ink); z-index: 20; overflow-y: auto; transition: transform .75s var(--ease); pointer-events: none; }
.panel.n { transform: translateY(-100%); } .panel.s { transform: translateY(100%); } .panel.w { transform: translateX(-100%); } .panel.e { transform: translateX(100%); }
.panel.is-open { transform: none; pointer-events: auto; } html.static .panel { transition: none; }
.panel .in { max-width: 820px; margin: 0 auto; padding: 84px 28px 80px; display: grid; gap: 22px; }
.panel .big { font-family: var(--display); font-weight: 600; font-size: clamp(96px, 16vw, 200px); line-height: .8; color: var(--gold); margin: 0; }
.panel h2 { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5vw, 64px); line-height: 1; margin: 0; letter-spacing: -.01em; }
.panel .lead { font-size: 19px; color: var(--muted); max-width: 34em; margin: 0; }
.panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; } .panel li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 10px; font-size: 16px; } .panel li::before { content: '◆'; color: var(--gold); font-size: 9px; margin-top: 8px; }
.panel .legs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; } .panel .leg { border: 1px solid var(--line); padding: 14px; } .leg b { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; font-weight: 700; } .leg span { font-family: var(--display); font-size: 22px; display: block; } .leg small { color: var(--muted); font-size: 14px; }
.panel .dates { display: grid; gap: 0; border-top: 1px solid var(--ink); } .panel .dates div { display: grid; grid-template-columns: 90px 1fr auto; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; align-items: baseline; } .dates b { font-family: var(--display); font-size: 22px; font-weight: 600; } .dates small { color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.pr { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border-top: 1px solid var(--ink); padding-top: 14px; } .pr b { font-family: var(--display); font-size: 34px; font-weight: 600; } .pr small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.book { display: grid; gap: 10px; max-width: 460px; } .book input { border: 0; border-bottom: 1.5px solid var(--ink); background: transparent; padding: 10px 0; font: 16px var(--body); color: var(--ink); border-radius: 0; } .book input:focus { outline: none; border-color: var(--gold); } .book small { font-size: 12px; color: var(--muted); line-height: 1.5; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: 14px 20px; border: 1.5px solid var(--navy); background: var(--navy); color: var(--ivory); cursor: pointer; transition: background .25s, color .25s; } .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); } .btn--gold { background: var(--gold); border-color: var(--gold); color: var(--navy); } .btn--gold:hover { background: var(--navy); border-color: var(--navy); color: var(--ivory); }
.close { position: fixed; right: 22px; top: 18px; z-index: 30; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--ivory); color: var(--ink); font: 300 26px/1 var(--display); cursor: pointer; } .close:hover { background: var(--ink); color: var(--ivory); }
.panel .fine { font-size: 12px; color: var(--muted); line-height: 1.6; border-top: 1px solid var(--line); padding-top: 14px; } .fine a { color: inherit; }
/* info panel */
.panel.info { transform: scale(.98); opacity: 0; } .panel.info.is-open { transform: none; opacity: 1; }
.who { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; align-items: start; }
.who-img { display: block; width: 160px; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 4px; margin: 5px; filter: saturate(.85); }
@media (max-width: 600px) { .who { grid-template-columns: 1fr; gap: 18px; } .who-img { width: 120px; } }

@media (max-width: 900px) {
  body { overflow: auto; }
  .rose { height: auto; min-height: 100vh; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto auto auto; }
  .nw { grid-column: 1; grid-row: 1; } .ne { grid-column: 2; grid-row: 1; } .center { grid-column: 1 / -1; grid-row: 2; padding: 10px 0 46px; } .center svg { width: min(70vw, 260px); }
  .dir.n { grid-column: 1; grid-row: 3; } .dir.e { grid-column: 2; grid-row: 3; } .dir.s { grid-column: 1; grid-row: 4; } .dir.w { grid-column: 2; grid-row: 4; }
  .dir { padding: 22px 12px; border-top: 1px solid rgba(244,240,230,.15); } .dir:nth-child(even) { border-left: 1px solid rgba(244,240,230,.15); } .dir .L { font-size: 44px; } .dir .t { font-size: 17px; }
  .sw { grid-column: 1; grid-row: 5; } .se { grid-column: 2; grid-row: 5; } .bearing { font-size: 32px; }
  .panel .in { padding: 76px 18px 60px; } .panel .legs { grid-template-columns: 1fr; } .panel .dates div { grid-template-columns: 70px 1fr; } .panel .dates small { grid-column: 2; }
}
.doc { max-width: 46em; margin: 0 auto; padding: 40px 20px; font-size: 15px; color: var(--ink); background: var(--ivory); min-height: 100vh; } .doc h1 { font-family: var(--display); font-size: 36px; margin: 0 0 16px; } .doc h3 { font-family: var(--display); font-size: 22px; margin: 20px 0 6px; } .doc p { color: var(--muted); } body.docpage { overflow: auto; background: var(--ivory); }

/* logo files (sites/_brand/build.py) */
.nwlogo { width: auto; height: auto; max-height: 46px; max-width: 100%; display: block; margin-bottom: 8px; }

/* == 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: gianluca-cardarelli */
.ck { left: 50%; right: auto; bottom: 26px; transform: translateX(-50%); width: 400px; background: var(--ivory); color: var(--ink); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: 4px; padding: 20px 24px 20px; text-align: center; box-shadow: 0 30px 60px -24px rgba(0,0,0,.7); font-family: var(--body); }
.ck .ck-k { font: 700 10.5px/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; } .ck .ck-t b { font: 600 30px/1 var(--display); display: block; margin-bottom: 8px; } .ck .ck-p { font-size: 13.5px; color: var(--muted); }
.ck .b { justify-content: center; margin-top: 14px; } .ck button { border-radius: 0; padding: 11px 16px; font: 700 11.5px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; border: 1.5px solid var(--navy); } .ck .ok { background: var(--navy); color: var(--ivory); } .ck .no { background: transparent; color: var(--navy); } .ck .more { font: 600 italic 16px var(--display); color: var(--ink); border-bottom: 1px solid var(--gold); margin-left: 4px; }

@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; } }
