/* IV Revival, idea G: what only the WEST and NORTH town pages add (2026-11-15, builder TW). On top of g.css, gi.css and
   gi-place.css (read-only here). Phoenix, Paradise Valley, Fountain Hills, Glendale, Peoria, Avondale, Goodyear.
     0. Shared: the town map's own roads (her named streets, from OpenStreetMap) and their names; maps that are not
        Scottsdale's shape; a picture beside words (.tw-split); a credit line under an outside photo
     1. Phoenix: HOT / DRY / FAST, her own three words, each with the drip her menu names for it
     2. Phoenix: your hotel room, and the bag mixed in front of you
   (each later town adds its own numbered part below)
   Reduce Motion: calmer, never frozen. Every font size has a rem part (the zoom test). */

/* 0. shared */
.tw-st { fill: none; stroke: #2d4f0d; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1 7; opacity: .9; }
.tw-stname { position: absolute; z-index: 1; translate: -50% -50%; padding: 3px 7px; border-radius: 4px; background: rgba(255,255,255,.86); font: 800 clamp(.62rem, .52rem + .2vw, .76rem)/1 var(--font); font-stretch: 105%; letter-spacing: .06em; text-transform: uppercase; color: #2d4f0d; white-space: nowrap; rotate: var(--r, 0deg); }
.tw .pm-stops li small { white-space: normal; }
.tw-key { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 16px; font: 600 .9rem/1.3 var(--text); color: var(--mute-ink); }
.tw-key span { display: inline-flex; align-items: center; gap: 8px; }
.tw-key i { width: 26px; height: 0; border-top: 3px dotted #2d4f0d; }
@media (min-width: 1100px) { .tw-tall .pm { max-width: 560px; justify-self: center; width: 100%; } }
@media (max-width: 599px) { .tw-stname { font-size: .58rem; padding: 2px 5px; } }

.tw-split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(36px, 5vw, 96px); align-items: center; }
.tw-split--flip > :first-child { order: 2; }
.tw-pic { position: relative; margin: 0; }
.tw-pic img { width: 100%; height: auto; object-fit: cover; border-radius: 28px; box-shadow: 0 40px 60px -40px rgba(13,13,12,.6); }
.tw-pic .g-stick__s { position: absolute; right: clamp(-30px, -1.8vw, -14px); top: clamp(22px, 2.6vw, 44px); }
.tw-credit { margin-top: 10px; font: 400 .78rem/1.4 var(--text); color: var(--mute-ink); }
.tw-credit a { color: inherit; }
@media (max-width: 899px) {
  .tw-split { grid-template-columns: minmax(0, 1fr); }
  .tw-split--flip > :first-child { order: 0; }
  .tw-pic { max-width: 600px; }
  .tw-pic .g-stick__s { right: 12px; top: -22px; }
}

/* 1. Phoenix: HOT / DRY / FAST */
.tw-hdf { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); }
.tw-hdf > li { display: grid; grid-template-rows: auto auto 1fr; gap: 14px; padding: clamp(24px, 2.4vw, 40px) clamp(20px, 2vw, 32px) clamp(20px, 2vw, 28px); border-radius: 26px; background: var(--paper); overflow: hidden; }
.tw-hdf > li:nth-child(1) { background: var(--ink); color: #fff; }
.tw-hdf > li:nth-child(3) { background: #eaf3df; }
.tw-hdf__w { font: 900 clamp(3rem, 3rem + 2.4vw, 6.6rem)/.86 var(--font); font-stretch: var(--wide); letter-spacing: -.01em; text-transform: uppercase; }
.tw-hdf > li:nth-child(1) .tw-hdf__w { color: var(--sun); }
.tw-hdf__w span { display: inline-block; transition: translate .9s cubic-bezier(.2,.9,.25,1), opacity .9s ease; transition-delay: calc(.15s + var(--i) * .16s); }
.f-js .tw-hdf:not(.is-in) .tw-hdf__w span { translate: 0 .5em; opacity: 0; }
.tw-hdf__line { font: 400 clamp(1rem, .95rem + .2vw, 1.15rem)/1.5 var(--text); }
.tw-hdf > li:nth-child(1) .tw-hdf__line { color: rgba(255,255,255,.82); }
.tw-drip { align-self: end; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin-top: 8px; padding: 10px 14px 10px 10px; border-radius: 18px; background: #fff; color: var(--ink); text-decoration: none; box-shadow: 0 1px 2px rgba(13,13,12,.08); transition: translate .25s ease, box-shadow .25s ease; }
.tw-drip img { width: 64px; height: 85px; object-fit: contain; border-radius: 10px; background: var(--tint, #e2efd2); }
.tw-drip b { display: block; font: 900 clamp(.95rem, .9rem + .2vw, 1.1rem)/1.1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.tw-drip small { display: block; margin-top: 4px; font: 400 .88rem/1.35 var(--text); color: var(--mute-ink); }
.tw-drip em { font: 800 1rem/1 var(--font); font-style: normal; white-space: nowrap; }
.tw-drip:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .tw-drip:hover { translate: 0 -3px; box-shadow: 0 18px 30px -20px rgba(13,13,12,.55); } }
@media (max-width: 899px) { .tw-hdf { grid-template-columns: minmax(0, 1fr); } }
@media (prefers-reduced-motion: reduce) { .tw-hdf__w span { transition: opacity .6s ease; transition-delay: calc(.1s + var(--i) * .1s); } .f-js .tw-hdf:not(.is-in) .tw-hdf__w span { translate: none; } }

/* 2. Phoenix: your hotel room, the bag mixed in front of you */
.tw-mix { counter-reset: mx; display: grid; gap: 0; margin-top: clamp(22px, 2vw, 32px); border-top: 2px solid var(--ink); }
.tw-mix li { counter-increment: mx; display: grid; grid-template-columns: clamp(44px, 3.6vw, 60px) minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: clamp(14px, 1.3vw, 20px) 0; border-bottom: 1px solid var(--line-dark); }
.tw-mix li::before { content: counter(mx); grid-row: 1 / 3; display: grid; place-items: center; width: clamp(44px, 3.6vw, 60px); aspect-ratio: 1; border-radius: 50%; background: var(--sun); font: 900 clamp(1.1rem, 1rem + .4vw, 1.5rem)/1 var(--font); font-stretch: var(--wide); }
.tw-mix b { font: 900 clamp(1rem, .92rem + .35vw, 1.25rem)/1.15 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.tw-mix span { font: 400 1rem/1.5 var(--text); color: var(--mute-ink); }
.tw-not { display: inline-block; margin-top: 18px; font: 600 1rem/1.5 var(--text); }
.tw-not s { text-decoration-color: #b4372c; text-decoration-thickness: 2px; color: var(--mute-ink); }

/* 0b. her named streets light with their name in the list (g.js .g-areas hover) */
.tw-st { transition: stroke .2s ease, stroke-width .2s ease, opacity .2s ease; }
.tw-st.is-hot { stroke: var(--ink); stroke-width: 6; stroke-dasharray: none; opacity: 1; }
.tw-stname.is-hot { background: var(--ink); color: var(--sun); }
.tw-road { font-style: normal; }
.pm-stops li .tw-road::before { content: ""; display: inline-block; width: 22px; margin: 0 10px 4px 0; border-top: 3px dotted #2d4f0d; vertical-align: middle; }

/* 3. Paradise Valley: at a resort, or at home (what to tell us when you book) */
.tw-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 26px); }
.tw-two > li { display: grid; grid-template-rows: auto 1fr; border-radius: 28px; overflow: hidden; background: #fff; box-shadow: 0 1px 2px rgba(13,13,12,.06), 0 30px 50px -40px rgba(13,13,12,.5); }
.tw-two > li:nth-child(2) { background: var(--ink); color: #fff; }
.tw-two img { width: 100%; height: auto; aspect-ratio: 5 / 4; object-fit: cover; }
.tw-two__words { display: grid; align-content: start; gap: 12px; padding: clamp(22px, 2.2vw, 36px); }
.tw-two h3 { font: 900 clamp(1.5rem, 1.1rem + 1.2vw, 2.4rem)/1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.tw-two p { font: 400 clamp(1rem, .95rem + .2vw, 1.12rem)/1.5 var(--text); }
.tw-two > li:nth-child(2) p { color: rgba(255,255,255,.82); }
.tw-tell { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tw-tell li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 14px 6px 8px; border-radius: 999px; background: var(--paper); color: var(--ink); font: 700 .92rem/1.2 var(--text); }
.tw-tell li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3L15 6.5' fill='none' stroke='%230d0d0c' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.tw-two__k { font: 800 .78rem/1 var(--font); font-stretch: 112%; letter-spacing: .12em; text-transform: uppercase; color: #3f6b14; }
.tw-two > li:nth-child(2) .tw-two__k { color: var(--sun); }
.tw-bring { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: clamp(20px, 3vw, 56px); align-items: center; margin-top: clamp(24px, 2.4vw, 40px); padding: clamp(18px, 2vw, 30px); border-radius: 28px; background: #eaf3df; }
.tw-bring img { width: 100%; height: auto; aspect-ratio: 3 / 4; max-height: 340px; object-fit: cover; object-position: 50% 30%; border-radius: 20px; }
.tw-bring b { display: block; font: 900 clamp(1.2rem, 1rem + .8vw, 1.8rem)/1.1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.tw-bring p { margin-top: 10px; font: 400 clamp(1rem, .95rem + .2vw, 1.12rem)/1.5 var(--text); color: var(--mute-ink); }
@media (max-width: 899px) { .tw-two { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 599px) { .tw-bring { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } }
/* the review, then the drip it names */
.tw-after { margin-top: clamp(22px, 2vw, 32px); text-align: center; }
.tw-after a { display: inline-grid; grid-template-columns: 46px auto auto; align-items: center; gap: 12px; min-height: 60px; padding: 6px 18px 6px 6px; border-radius: 999px; background: #fff; color: var(--ink); text-decoration: none; font: 800 clamp(.92rem, .88rem + .15vw, 1.02rem)/1.15 var(--font); font-stretch: 108%; box-shadow: 0 1px 2px rgba(13,13,12,.08); }
.tw-after img { width: 46px; height: 46px; object-fit: contain; border-radius: 50%; background: #e2efd2; }
.tw-after em { font-style: normal; color: #3f6b14; }

/* 4. Fountain Hills: trail, round, your door (a dotted trail draws itself between the three stops) */
.tw-view { position: relative; margin: 0 0 clamp(30px, 3vw, 52px); }
.tw-view img { width: 100%; height: auto; aspect-ratio: 21 / 8; object-fit: cover; border-radius: 28px; }
.tw-view .g-stick__s { position: absolute; left: clamp(14px, 2vw, 32px); bottom: clamp(-26px, -1.6vw, -18px); }
.tw-view .tw-credit { text-align: right; }
.tw-day { position: relative; }
.tw-day__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 36px); margin: 0; padding: 0; list-style: none; }
.tw-day__trail { position: absolute; left: 8%; right: 8%; width: 84%; top: clamp(30px, 2.6vw, 42px); height: 12px; overflow: visible; } /* width: an svg ignores left + right and took its own 1000px, running 92px off a 1024 screen */
.tw-day__trail path { fill: none; stroke: var(--sun); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; }
.tw-day__trail .tw-day__mask { stroke: var(--paper); stroke-width: 10; stroke-dasharray: 1000; stroke-dashoffset: 0; transition: stroke-dashoffset 2.2s cubic-bezier(.4,0,.2,1) .3s; }
.tw-day.is-in .tw-day__trail .tw-day__mask { stroke-dashoffset: -1000; }
.tw-day__list > li { position: relative; display: grid; justify-items: center; align-content: start; gap: 10px; text-align: center; }
.tw-day__ico { display: grid; place-items: center; width: clamp(64px, 5.2vw, 86px); aspect-ratio: 1; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 8px var(--paper); transition: scale .5s cubic-bezier(.34,1.5,.64,1); transition-delay: calc(.3s + var(--i) * .7s); }
.tw-day__ico svg { width: 46%; height: 46%; fill: none; stroke: var(--sun); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.f-js .tw-day:not(.is-in) .tw-day__ico { scale: .6; }
.tw-day__list > li:last-child .tw-day__ico { background: var(--sun); }
.tw-day__list > li:last-child .tw-day__ico svg { stroke: var(--ink); }
.tw-day b { margin-top: 6px; font: 900 clamp(1.15rem, 1rem + .6vw, 1.6rem)/1.05 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.tw-day span { max-width: 30ch; font: 400 clamp(1rem, .95rem + .2vw, 1.12rem)/1.5 var(--text); color: var(--mute-ink); }
.tw-after--l { text-align: left; }
@media (max-width: 899px) {
  .tw-view img { aspect-ratio: 4 / 3; }
  .tw-day__list { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .tw-day__trail { display: none; }
  .tw-day__list > li { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: left; column-gap: 18px; row-gap: 2px; }
  .tw-day__ico { grid-row: 1 / 3; }
  .tw-day b { margin-top: 4px; }
}
@media (prefers-reduced-motion: reduce) { .tw-day__trail .tw-day__mask { transition-duration: .8s; } .tw-day__ico { transition: none; } .f-js .tw-day:not(.is-in) .tw-day__ico { scale: 1; } }

/* Part 5, Glendale: four doors that swing open as the row comes into view (.tw-doors), her four kinds of address */
.tw-doors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 30px); margin: 0; padding: 0; list-style: none; }
.tw-doors > li { position: relative; display: grid; align-content: end; gap: 4px; aspect-ratio: 3 / 4; padding: clamp(18px, 1.8vw, 30px) clamp(14px, 1.4vw, 24px) clamp(18px, 1.8vw, 30px) max(12%, 22px); border-radius: 50% 50% 16px 16px / 34% 34% 16px 16px; background: var(--sun); color: var(--ink); box-shadow: inset 0 0 0 7px #fff, 0 30px 50px -36px rgba(13,13,12,.55); overflow: hidden; }
.tw-doors b { position: relative; font: 900 clamp(1rem, .8rem + .6vw, 1.6rem)/1 var(--font); text-transform: uppercase; }
.tw-doors span:not(.tw-doors__leaf) { position: relative; font: 600 clamp(.98rem, .92rem + .25vw, 1.15rem)/1.3 var(--text); }
.tw-doors__leaf { position: absolute; inset: 7px; z-index: 1; border-radius: 50% 50% 11px 11px / 34% 34% 11px 11px; background: var(--ink); transform-origin: 0 50%; transform: scaleX(.07); }
.tw-doors__leaf::after { content: ""; position: absolute; right: 13%; top: 56%; width: 12px; height: 12px; border-radius: 50%; background: var(--sun); opacity: 0; }
@media (prefers-reduced-motion: no-preference) {
  .tw-doors__leaf, .tw-doors__leaf::after { transition: transform 1.1s cubic-bezier(.6,0,.2,1), opacity .3s; transition-delay: calc(.25s + var(--i) * .3s); }
  .f-js .tw-doors:not(.is-in) .tw-doors__leaf { transform: none; }
  .f-js .tw-doors:not(.is-in) .tw-doors__leaf::after { opacity: 1; }
}
.tw-answer { max-width: 62ch; margin: clamp(28px, 3vw, 48px) auto 0; text-align: center; font: 400 clamp(1rem, .95rem + .25vw, 1.18rem)/1.55 var(--text); }
.tw-answer b { display: block; margin-bottom: 4px; font: 900 clamp(1.05rem, .95rem + .4vw, 1.4rem)/1.15 var(--font); font-stretch: var(--wide); }
.tw-pills { display: grid; gap: 12px; justify-items: start; margin: 0; padding: 0; list-style: none; }
.tw-pills .tw-after { margin-top: 0; }
.tw-pills small { display: block; font: 400 .82rem/1.25 var(--text); color: var(--mute-ink); }
@media (max-width: 899px) {
  .tw-doors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tw-doors > li { aspect-ratio: 3 / 4; }
}

/* Part 6, Peoria: three reasons in her words, each a tinted card whose bag rises in (.tw-why) */
.tw-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.8vw, 30px); margin: clamp(34px, 3.4vw, 60px) 0 0; padding: 0; list-style: none; }
.tw-why a { position: relative; display: grid; grid-template-rows: auto auto 1fr auto; height: 100%; padding: clamp(20px, 2vw, 34px); border-radius: 28px; background: var(--tint); color: var(--ink); text-decoration: none; overflow: hidden; transition: translate .3s; }
.tw-why a:hover { translate: 0 -6px; }
.tw-why__n { font: 900 clamp(2.2rem, 1.8rem + 1.4vw, 3.6rem)/1 var(--font); font-stretch: var(--wide); color: rgba(13,13,12,.52); } /* .52: the big numbers read at 3.4:1 or better on all three tints (.2 measured 1.5:1) */
.tw-why b { margin-top: 8px; max-width: 15ch; font: 900 clamp(1.2rem, 1rem + .8vw, 1.9rem)/1.05 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.tw-why img { justify-self: center; align-self: end; width: min(58%, 210px); height: auto; margin: 20px 0 12px; rotate: calc(-5deg + var(--i) * 5deg); }
.tw-why__d { display: flex; justify-content: space-between; gap: 10px; padding-top: 12px; border-top: 2px solid rgba(13,13,12,.14); font: 800 clamp(.95rem, .9rem + .2vw, 1.1rem)/1.2 var(--font); }
.tw-why__d em { font-style: normal; color: #3f6b14; }
@media (prefers-reduced-motion: no-preference) {
  .tw-why img { transition: translate .9s cubic-bezier(.34,1.4,.64,1), opacity .5s; transition-delay: calc(.2s + var(--i) * .25s); }
  .f-js .tw-why:not(.is-in) img { translate: 0 60px; opacity: 0; }
}
@media (max-width: 899px) {
  .tw-why { grid-template-columns: minmax(0, 1fr); }
  .tw-why a { grid-template-columns: minmax(0, 1fr) 30%; grid-template-rows: auto auto auto; column-gap: 14px; }
  .tw-why a > :not(img) { grid-column: 1; }
  .tw-why img { grid-column: 2; grid-row: 1 / 4; width: 100%; margin: 0; align-self: center; }
}

/* Part 7, Avondale: VIP in her Avondale words, Renew's price crossed out and the member price rising in (.tw-vip) */
.tw-vip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 80px); align-items: center; padding: clamp(26px, 4vw, 70px); border-radius: 36px; background: var(--ink); color: #fff; }
.tw-vip__bag { display: grid; justify-items: center; }
.tw-vip__bag img { width: min(64%, 280px); height: auto; rotate: -6deg; filter: drop-shadow(0 30px 40px rgba(0,0,0,.45)); }
.tw-vip__was { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 6px 16px; margin: 18px 0 0; }
.tw-vip__was s { position: relative; text-decoration: none; font: 900 clamp(1.6rem, 1.4rem + 1vw, 2.6rem)/1 var(--font); color: rgba(255,255,255,.62); }
.tw-vip__was s::after { content: ""; position: absolute; left: -8%; right: -8%; top: 50%; height: 4px; border-radius: 2px; background: var(--sun); rotate: -10deg; transform-origin: 0 50%; }
.tw-vip__was b { font: 900 clamp(3rem, 3rem + 2vw, 6rem)/.9 var(--font); font-stretch: var(--wide); color: var(--sun); }
.tw-vip__was span { flex-basis: 100%; text-align: center; font: 600 clamp(1rem, .95rem + .2vw, 1.12rem)/1.3 var(--text); color: rgba(255,255,255,.82); }
.tw-vip__fee { display: flex; align-items: baseline; gap: 12px; margin: 0; }
.tw-vip__fee b { font: 900 clamp(3rem, 3rem + 2vw, 6rem)/.9 var(--font); font-stretch: var(--wide); }
.tw-vip__fee span { font: 800 clamp(1.1rem, 1rem + .4vw, 1.5rem)/1 var(--font); text-transform: uppercase; color: var(--sun); }
.tw-vip__lede { max-width: 46ch; margin: 14px 0 0; font: 400 clamp(1rem, .95rem + .25vw, 1.18rem)/1.55 var(--text); color: rgba(255,255,255,.82); }
.tw-vip__steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: clamp(22px, 2.4vw, 36px) 0; padding: 0; list-style: none; }
.tw-vip__steps li { display: grid; gap: 4px; padding-top: 12px; border-top: 2px solid rgba(255,255,255,.28); }
.tw-vip__steps b { font: 900 clamp(1.05rem, .95rem + .45vw, 1.45rem)/1.05 var(--font); font-stretch: var(--wide); text-transform: uppercase; color: var(--sun); }
.tw-vip__steps span { font: 400 clamp(.95rem, .9rem + .2vw, 1.08rem)/1.35 var(--text); color: rgba(255,255,255,.82); }
.tw-vip__do { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.tw-vip__do > a:not(.f-btn) { color: #fff; font: 700 1rem/1.3 var(--text); }
@media (prefers-reduced-motion: no-preference) {
  .tw-vip__was s::after { transition: scale .6s cubic-bezier(.6,0,.2,1) .6s; }
  .tw-vip__was b { transition: translate .7s cubic-bezier(.34,1.5,.64,1) 1.1s, opacity .4s 1.1s; }
  .f-js .tw-vip:not(.is-in) .tw-vip__was s::after { scale: 0 1; }
  .f-js .tw-vip:not(.is-in) .tw-vip__was b { translate: 0 24px; opacity: 0; }
}
@media (max-width: 899px) {
  .tw-vip { grid-template-columns: minmax(0, 1fr); border-radius: 28px; }
  .tw-vip__steps { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .tw-vip__steps li { grid-template-columns: 9.5em minmax(0, 1fr); align-items: baseline; }
}

/* Part 8, Goodyear: her Goodyear days as tear-off calendar pages that drop in one by one (.tw-cal) */
.tw-cal { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2vw, 34px); margin: 0; padding: 0; list-style: none; perspective: 1200px; }
.tw-cal > li { position: relative; display: grid; align-content: start; gap: 8px; padding: 0 clamp(18px, 1.8vw, 30px) clamp(20px, 2vw, 32px); border-radius: 18px; background: #fff; box-shadow: 0 2px 0 rgba(13,13,12,.06), 0 30px 46px -34px rgba(13,13,12,.5); overflow: hidden; transform-origin: 50% 0; }
.tw-cal__top { display: flex; justify-content: space-between; align-items: center; margin: 0 calc(-1 * clamp(18px, 1.8vw, 30px)) 10px; padding: 12px clamp(18px, 1.8vw, 30px); background: var(--ink); color: var(--sun); font: 800 .82rem/1 var(--font); letter-spacing: .14em; text-transform: uppercase; }
.tw-cal__top::after { content: ""; width: 42px; height: 10px; background: radial-gradient(circle, #fff 0 4px, transparent 5px) 0 50% / 16px 10px repeat-x; }
.tw-cal b { font: 900 clamp(1.4rem, 1.15rem + .9vw, 2.3rem)/1 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.tw-cal span:not(.tw-cal__top) { font: 400 clamp(1rem, .95rem + .2vw, 1.12rem)/1.45 var(--text); color: var(--mute-ink); }
.tw-cal a { justify-self: start; margin-top: 4px; color: var(--ink); font: 800 .95rem/1.2 var(--font); }
@media (prefers-reduced-motion: no-preference) {
  .tw-cal > li { transition: transform .8s cubic-bezier(.34,1.3,.64,1), opacity .4s; transition-delay: calc(.15s + var(--i) * .16s); }
  .f-js .tw-cal:not(.is-in) > li { transform: rotateX(-70deg); opacity: 0; }
}
.tw-same { margin: clamp(26px, 3vw, 46px) auto 0; text-align: center; font: 900 clamp(1.3rem, 1.1rem + .9vw, 2.1rem)/1.15 var(--font); font-stretch: var(--wide); text-transform: uppercase; }
.tw-same em { font-style: normal; color: #3f6b14; }
@media (max-width: 899px) {
  .tw-cal { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tw-cal > li { padding: 0 14px 16px; }
  .tw-cal__top { margin: 0 -14px 6px; padding: 10px 14px; font-size: .7rem; letter-spacing: .1em; }
  .tw-cal__top::after { width: 26px; }
  .tw-cal b { font-size: 1.6rem; }
}
