/* Teranga Home · aperture */
:root{--tgh-cream:#F5EEE8}
.tgh{--cream:#F5EEE8;--paper:#FFFDF9;--ink:#1C1A17;--muted:#6F655B;--terra:#D9542B;--gold:#F2B33D;--line:#E6DCD0;--head:"Bricolage Grotesque","Helvetica Neue",Arial,sans-serif;font-family:Inter,-apple-system,"Segoe UI",Roboto,sans-serif;color:var(--ink);line-height:1.55;font-size:16px}
.tgh *{box-sizing:border-box}
.tgh ~ .wp-block-cover.tg-hero{display:none!important}
.tgh p{margin:0}
.tgh h1,.tgh h2{color:inherit;text-transform:none}
.tgh .btn{text-decoration:none!important}
.tgh{ scroll-margin-top:48px; position:relative; min-height:clamp(560px,88vh,820px); overflow:hidden; display:flex; align-items:center; }
  .tgh .wrap{ width:100%; max-width:1200px; margin:0 auto; padding:0 28px; position:relative; z-index:5; }
  .tgh .kicker{ color:var(--terra); font-weight:700; letter-spacing:.18em; font-size:12px; text-transform:uppercase; margin:0 0 18px; }
  .tgh h1, .tgh h2{ font-family:var(--head); letter-spacing:-.025em; margin:0; }
  .tgh .btns{ display:flex; gap:12px; flex-wrap:wrap; margin-top:30px; }
  .tgh .btn{ display:inline-flex; align-items:center; gap:8px; border-radius:999px; padding:13px 24px; font-weight:700; font-size:15px; text-decoration:none; border:1.5px solid transparent; }
  .tgh .btn.t{ background:var(--terra); color:#fff; } .tgh .btn.o{ border-color:currentColor; color:inherit; }
  .tgh .divider{ height:10px; background:repeating-linear-gradient(90deg,var(--ink) 0 14px,transparent 14px 22px); opacity:.08; }

  /* 1 · Dizionario */
  .tgh-dict{ background:var(--paper); }
  .tgh-dict .wrap{ max-width:980px; }
  .tgh .dict-word{ font:800 clamp(64px,11vw,150px)/.9 var(--head); letter-spacing:-.04em; display:flex; align-items:baseline; gap:.15em; flex-wrap:wrap; }
  .tgh .dict-word .dot{ color:var(--terra); }
  .tgh .dict-ipa{ font:500 clamp(16px,1.6vw,20px) Inter,sans-serif; color:var(--muted); letter-spacing:0; }
  .tgh .dict-def{ font:400 clamp(20px,2.3vw,30px)/1.35 Georgia,"Times New Roman",serif; margin:22px 0 0; min-height:2.8em; max-width:820px; }
  .tgh .dict-def i{ color:var(--muted); font-size:.75em; }
  .tgh .caret{ display:inline-block; width:2px; height:1em; background:var(--terra); vertical-align:-.15em; margin-left:2px; animation:blink 1s steps(1) infinite; }
  @keyframes blink { 50% { opacity:0; } }
  .tgh .dict-claim{ margin-top:40px; padding-top:28px; border-top:1px solid var(--line); font:700 clamp(24px,3vw,40px)/1.1 var(--head); opacity:0; transform:translateY(12px); transition:1s; }
  .tgh .dict-claim.on{ opacity:1; transform:none; }
  .tgh .dict-claim em{ font-style:normal; color:var(--terra); }
  .tgh-dict .btns{ opacity:0; transition:1s .4s; } .tgh-dict .btns.on{ opacity:1; }
  .tgh .replay{ position:absolute; right:20px; bottom:20px; z-index:20; background:var(--ink); color:#fff; border:0; border-radius:999px; padding:9px 16px; font:600 13px Inter,sans-serif; cursor:pointer; }

  /* 2 · Ti presentiamo */
  .tgh-who{ background:#0E0C0B; color:#fff; }
  .tgh-who .bg{ position:absolute; inset:0; }
  .tgh-who .bg div{ position:absolute; inset:-60px; background-size:cover; background-position:center; filter:blur(40px) saturate(1.2) brightness(.35); opacity:0; transition:opacity 1.6s; }
  .tgh-who .bg div.on{ opacity:1; }
  .tgh-who .wrap{ position:relative; z-index:6; }
  .tgh-who .wrap>div:first-child{ max-width:min(560px,46%); }
  .tgh-who h1{ font-size:clamp(36px,4.8vw,68px); line-height:1.02; }
  .tgh-who .who{ display:block; color:var(--gold); min-height:2.1em; transition:opacity .5s, transform .5s; }
  .tgh-who .who.out{ opacity:0; transform:translateY(10px); }
  .tgh-who p.sub{ color:#E9DFD3; font-size:18px; max-width:480px; margin:22px 0 0; }
  .tgh-who .bars{ display:flex; gap:6px; margin-top:28px; } .tgh-who .bars i{ width:34px; height:3px; background:rgba(255,255,255,.3); border-radius:2px; transition:background .4s; } .tgh-who .bars i.on{ background:var(--gold); }
  /* il volto: pannello a tutta altezza sulla destra, sfumato verso il testo */
  .tgh-who .stage{ position:absolute; top:0; right:0; bottom:0; width:60%; z-index:2; perspective:1400px; overflow:hidden; -webkit-mask-image:linear-gradient(90deg,transparent 0,#000 32%); mask-image:linear-gradient(90deg,transparent 0,#000 32%); }
  .tgh-who .card{ position:absolute; inset:-8%; transform-style:preserve-3d; transition:transform .6s ease-out; }
  .tgh-who .face{ position:absolute; inset:0; overflow:hidden; opacity:0; transition:opacity 1.6s ease, filter 1.6s ease; filter:blur(8px); }
  .tgh-who .face.on{ opacity:1; filter:blur(0); }
  .tgh-who .face img{ position:absolute; inset:-4%; width:108%; height:108%; max-width:none; object-fit:cover; scale:var(--z,1); transition:translate .5s ease-out; will-change:transform; }
  .tgh-who .face.on img{ animation:tghPush 10s ease-out forwards; }
  @keyframes tghPush{ from{ scale:calc(var(--z,1) * 1.1); } to{ scale:var(--z,1); } }
  .tgh-who .gloss{ position:absolute; inset:0; pointer-events:none; background:radial-gradient(ellipse at 60% 45%, transparent 35%, rgba(14,12,11,.75) 100%), linear-gradient(0deg, rgba(14,12,11,.6), transparent 30%); }
  .tgh-who .grain{ position:absolute; inset:0; pointer-events:none; opacity:.14; mix-blend-mode:overlay; background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); animation:tghGrain .8s steps(4) infinite; }
  @keyframes tghGrain{ 0%{transform:translate(0,0)} 25%{transform:translate(-8px,6px)} 50%{transform:translate(6px,-4px)} 75%{transform:translate(-4px,-8px)} }
  .tgh-who .cap{ position:absolute; right:28px; bottom:26px; z-index:3; font-size:13px; letter-spacing:.08em; color:rgba(245,238,232,.8); text-transform:uppercase; }
  .tgh-who .cap b{ color:var(--gold); }
  @media (max-width:860px){ .tgh-who{ align-items:flex-end; min-height:640px; } .tgh-who .stage{ width:100%; bottom:auto; height:62%; -webkit-mask-image:linear-gradient(180deg,#000 55%,transparent 100%); mask-image:linear-gradient(180deg,#000 55%,transparent 100%); } .tgh-who .wrap{ padding-bottom:36px; } .tgh-who .wrap>div:first-child{ max-width:100%; padding-top:52vh; } }

  /* 3 · Tavola */
  .tgh-table{ background:#EFE4D6; }
  .tgh-table .wrap{ display:grid; grid-template-columns:minmax(0,5fr) minmax(0,7fr); gap:40px; align-items:center; }
  .tgh-table h1{ font-size:clamp(38px,5vw,68px); line-height:1; }
  .tgh-table h1 em{ font-style:normal; color:var(--terra); }
  .tgh-table p.sub{ font-size:18px; color:#5A524B; margin:20px 0 0; max-width:440px; }
  .tgh .table-svg{ width:100%; height:auto; filter:drop-shadow(0 30px 40px rgba(80,50,20,.25)); }
  .tgh .seat{ cursor:pointer; }
  .tgh .seat .ring{ animation:ring 2s ease-out infinite; transform-box:fill-box; transform-origin:center; }
  @keyframes ring { 0% { opacity:.8; transform:scale(1); } 100% { opacity:0; transform:scale(1.6); } }
  .tgh .seat-tip{ position:absolute; background:var(--ink); color:#fff; padding:10px 16px; border-radius:12px; font-weight:700; font-size:15px; pointer-events:none; opacity:0; transform:translateY(6px); transition:.25s; white-space:nowrap; }
  .tgh .seat-tip.on{ opacity:1; transform:none; }
  .tgh .seat-tip::after{ content:""; position:absolute; left:50%; bottom:-6px; margin-left:-6px; border:6px solid transparent; border-bottom:0; border-top-color:var(--ink); }
  .tgh .tbl-wrap{ position:relative; }

  /* 4 · Loro / Noi */
  .tgh-vs{ background:#222; color:#fff; align-items:stretch; user-select:none; }
  .tgh .ln-pane{ position:absolute; inset:0; display:flex; align-items:center; }
  .tgh .ln-pane .ph{ position:absolute; inset:0; background-size:cover; background-position:center; }
  .tgh .ln-them .ph{ filter:grayscale(1) contrast(.8) brightness(.55) blur(1px); }
  .tgh .ln-us{ clip-path:inset(0 0 0 50%); }
  .tgh .ln-us .ph::after{ content:""; position:absolute; inset:0; background:linear-gradient(270deg,rgba(28,26,23,.75),rgba(28,26,23,.25)); }
  .tgh .ln-them .ph::after{ content:""; position:absolute; inset:0; background:rgba(40,40,40,.45); }
  .tgh .ln-txt{ position:relative; z-index:2; width:50%; padding:0 6vw; }
  .tgh .ln-them .ln-txt{ margin-right:auto; } .tgh .ln-us .ln-txt{ margin-left:auto; text-align:right; }
  .tgh .ln-txt small{ display:block; font-weight:700; letter-spacing:.2em; font-size:12px; margin-bottom:12px; }
  .tgh .ln-them small{ color:#BBB; } .tgh .ln-us small{ color:var(--gold); }
  .tgh .ln-txt h2{ font-size:clamp(30px,3.6vw,52px); line-height:1.02; }
  .tgh .ln-them h2{ color:#CFCFCF; }
  .tgh .ln-txt ul{ list-style:none; padding:0; margin:22px 0 0; font-size:17px; }
  .tgh .ln-txt li{ padding:7px 0; border-top:1px solid rgba(255,255,255,.15); }
  .tgh .ln-them li{ color:#AFAFAF; text-decoration:line-through; text-decoration-color:rgba(255,255,255,.35); }
  .tgh .ln-us li::before{ content:"✓  "; color:var(--gold); font-weight:800; }
  .tgh .ln-handle{ position:absolute; top:0; bottom:0; left:50%; width:3px; background:#fff; z-index:10; cursor:ew-resize; }
  .tgh .ln-handle span{ position:absolute; top:50%; left:50%; width:58px; height:58px; margin:-29px 0 0 -29px; border-radius:50%; background:var(--terra); display:grid; place-items:center; font-weight:800; color:#fff; box-shadow:0 8px 24px rgba(0,0,0,.4); font-size:18px; }
  .tgh .ln-hint{ position:absolute; bottom:24px; left:50%; transform:translateX(-50%); z-index:11; background:rgba(255,255,255,.12); padding:7px 14px; border-radius:999px; font-size:13px; }
  .tgh .ln-claim{ position:absolute; top:40px; left:0; right:0; text-align:center; z-index:9; font:700 clamp(18px,2vw,26px) var(--head); letter-spacing:-.01em; }
  .tgh .ln-claim em{ font-style:normal; color:var(--gold); }

  /* 5 · Timbri */
  .tgh-stamps{ background:#F3EBDD; background-image:radial-gradient(rgba(120,90,60,.07) 1px, transparent 1px); background-size:6px 6px; }
  .tgh-stamps .wrap{ text-align:center; max-width:1000px; }
  .tgh-stamps h1{ font-size:clamp(44px,7vw,100px); line-height:.95; position:relative; z-index:3; }
  .tgh-stamps p.sub{ font-size:19px; color:#5A524B; margin:24px auto 0; max-width:560px; position:relative; z-index:3; }
  .tgh-stamps .btns{ justify-content:center; position:relative; z-index:3; }
  .tgh .stamps{ position:absolute; inset:0; z-index:4; pointer-events:none; }
  .tgh .stamp{ position:absolute; font-family:"Special Elite","Courier New",monospace; text-transform:uppercase; text-align:center; opacity:0; mix-blend-mode:multiply; }
  .tgh .stamp.go{ animation:stamp .45s cubic-bezier(.2,1.6,.4,1) forwards; }
  @keyframes stamp { 0% { opacity:0; transform:scale(2.4) rotate(var(--r)); } 60% { opacity:.92; } 100% { opacity:.88; transform:scale(1) rotate(var(--r)); } }
  .tgh .stamp.round{ width:150px; height:150px; border-radius:50%; border:4px double currentColor; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:10px; }
  .tgh .stamp.rect{ border:4px solid currentColor; border-radius:8px; padding:10px 16px; outline:1.5px solid currentColor; outline-offset:-10px; }
  .tgh .stamp b{ display:block; font-size:24px; letter-spacing:.06em; line-height:1.05; }
  .tgh .stamp small{ display:block; font-size:12px; letter-spacing:.12em; }
  .tgh .stamp .d{ font-size:15px; margin:4px 0; }
  .tgh .stamp::after{ content:""; position:absolute; inset:0; background:radial-gradient(circle at 30% 40%, rgba(243,235,221,.7) 0 2px, transparent 3px) 0 0/9px 11px; border-radius:inherit; }
  .tgh .counter{ margin-top:26px; font:700 15px Inter,sans-serif; color:var(--muted); letter-spacing:.06em; position:relative; z-index:3; }
  .tgh .counter b{ color:var(--terra); font-size:22px; }

  /* 6 · In questo momento */
  .tgh-live{ background:#101820; color:#fff; }
  .tgh-live svg.world{ position:absolute; inset:0; width:100%; height:100%; }
  .tgh-live .wrap{ display:grid; grid-template-columns:minmax(0,1fr); }
  .tgh-live h1{ font-size:clamp(40px,5.6vw,78px); line-height:1; max-width:760px; }
  .tgh-live h1 em{ font-style:normal; color:var(--terra); }
  .tgh .live{ display:inline-flex; align-items:center; gap:10px; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.15); border-radius:999px; padding:7px 14px; font-size:13px; font-weight:700; letter-spacing:.12em; color:#F2B33D; margin-bottom:22px; }
  .tgh .live i{ width:9px; height:9px; border-radius:50%; background:#3FD07A; box-shadow:0 0 0 0 rgba(63,208,122,.7); animation:live 1.6s infinite; }
  @keyframes live { 70% { box-shadow:0 0 0 10px rgba(63,208,122,0); } 100% { box-shadow:0 0 0 0 rgba(63,208,122,0); } }
  .tgh .now{ margin-top:26px; max-width:620px; min-height:92px; background:rgba(255,253,249,.06); border:1px solid rgba(255,255,255,.12); border-radius:16px; padding:16px 20px; backdrop-filter:blur(4px); }
  .tgh .now small{ color:#9FB0BC; font-size:12px; letter-spacing:.16em; font-weight:700; }
  .tgh .now p{ margin:6px 0 0; font-size:19px; line-height:1.4; transition:opacity .4s; }
  .tgh .now p b{ color:var(--gold); }
  .tgh .hot{ animation:hot 2.2s ease-out infinite; transform-box:fill-box; transform-origin:center; }
  @keyframes hot { 0% { opacity:.9; transform:scale(1); } 100% { opacity:0; transform:scale(4); } }

  @media (max-width:860px) {
    .tgh-table .wrap{ grid-template-columns:1fr; }
    .tgh .ln-txt{ width:100%; padding:0 24px; } .tgh .ln-them .ln-txt{ padding-top:120px; } .tgh .ln-us .ln-txt{ text-align:left; }
    .tgh .stamp.round{ width:110px; height:110px; } .tgh .stamp b{ font-size:18px; }
  }

.tgh-table .seat.sat rect{ fill:#FBE3D6; stroke:#D9542B; stroke-dasharray:none; }
.tgh-table .seat.sat .ring, .tgh-table .seat.sat text{ display:none; }
.tgh-table .seat-tip.sat{ background:var(--terra); }
.tgh-table .seat-tip.sat::after{ border-top-color:var(--terra); }

/* 8 · la rotta */
.tgh-route{background:#14100D;color:#fff;justify-content:center;text-align:center}
.tgh-route .rt-bg{position:absolute;inset:-3%;background:#2a211b center/cover no-repeat;transform:scale(1.04);animation:rtKen 26s ease-in-out infinite alternate}
@keyframes rtKen{to{transform:scale(1.12) translate(-1.5%,-1%)}}
.tgh-route .rt-shade{position:absolute;inset:0;background:radial-gradient(80% 70% at 50% 45%,rgba(16,12,9,.45),rgba(16,12,9,.78)),linear-gradient(rgba(16,12,9,.25),rgba(16,12,9,.55))}
.tgh-route .rt-in{max-width:1080px;padding-top:40px;padding-bottom:40px}
.tgh .rt-word{font-family:var(--head);font-weight:800;font-size:clamp(24px,2.6vw,36px);line-height:1;letter-spacing:.34em;margin:0 0 0 .34em;color:#FFFDF9;opacity:0;transform:translateY(14px);transition:1.1s cubic-bezier(.2,.7,.2,1)}
.tgh .rt-mean{margin:10px auto 0;max-width:860px;font-family:var(--head);font-weight:700;font-size:clamp(28px,3.6vw,50px);line-height:1.1;letter-spacing:-.015em;color:#FFFDF9;opacity:0;transition:1s .35s}
.tgh-route.on .rt-word{opacity:1;transform:none}.tgh-route.on .rt-mean{opacity:1}
.tgh .rt-route{position:relative;height:96px;margin:30px auto 26px;max-width:980px}
.tgh .rt-route svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.tgh .rt-path{fill:none;stroke:rgba(255,253,249,.85);stroke-width:1.6;stroke-dasharray:6 7;vector-effect:non-scaling-stroke}
.tgh .rt-mask{fill:none;stroke:#1a1410;stroke-width:8;vector-effect:non-scaling-stroke;opacity:0}
.tgh .rt-dot{position:absolute;width:10px;height:10px;margin:-5px 0 0 -5px;border-radius:50%;background:var(--gold);box-shadow:0 0 0 3px rgba(242,179,61,.25);opacity:0;transform:scale(.4);transition:.4s}
.tgh .rt-dot.on{opacity:1;transform:none}
.tgh .rt-dot.a{width:14px;height:14px;margin:-7px 0 0 -7px;background:transparent;border:2px solid #FFFDF9;box-shadow:none}
.tgh .rt-dot.z{width:16px;height:16px;margin:-8px 0 0 -8px;background:var(--terra);box-shadow:none}
.tgh .rt-dot.z.on::after{content:"";position:absolute;inset:-8px;border-radius:50%;border:2px solid var(--terra);animation:rtPulse 1.8s ease-out infinite}
@keyframes rtPulse{from{transform:scale(.5);opacity:1}to{transform:scale(1.8);opacity:0}}
.tgh .rt-lbl{position:absolute;transform:translateX(-50%);font-size:11.5px;font-weight:600;letter-spacing:.16em;text-transform:uppercase;color:#EDE3D7;white-space:nowrap;opacity:0;transition:opacity .5s;text-shadow:0 1px 8px rgba(0,0,0,.6)}
.tgh .rt-lbl.on{opacity:1}
.tgh .rt-plane{position:absolute;width:22px;height:22px;margin:-11px 0 0 -11px;color:var(--gold);opacity:0;transition:opacity .4s}
.tgh .rt-plane.on{opacity:1}
.tgh .rt-claim{font-family:var(--head);font-weight:600;font-size:clamp(18px,1.8vw,24px);line-height:1.15;letter-spacing:-.01em;margin:0;color:#FFFDF9}
.tgh .rt-b2b{display:inline-block;margin-top:14px;border:1px solid rgba(242,179,61,.6);color:var(--gold);border-radius:999px;padding:6px 16px;font-size:12.5px;font-weight:700;letter-spacing:.2em;text-transform:uppercase}
.tgh-route .btns{margin-top:28px}
@media (max-width:700px){.tgh .rt-word{font-size:22px;letter-spacing:.3em;margin-left:.3em}.tgh .rt-route{height:70px;margin:22px auto 18px}.tgh .rt-lbl{display:none}}
