/* Inna Warszawa: preorder landing for the 2027 calendar (/2027/). */

/* ------------------------------------------------------------------- Hero */
.iwcs-cal-hero { color: var(--iw-ink); background: var(--iw-paper); padding: clamp(32px, 5vw, 76px) 28px; }
.iwcs-cal-hero__inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; align-items: center; column-gap: clamp(40px, 6vw, 88px); }
.iwcs-cal-hero__offer { min-width: 0; }
.iwcs-cal-hero__visual { grid-column: 2; margin: 0; display: flex; align-items: center; justify-content: center; }
.iwcs-cal-hero .iwcs-cal-hero__cover { display: block; width: min(100%, 520px); height: auto; box-shadow: 12px 18px 34px #24241c2e, 1px 2px 4px #24241c33; }

.iwcs-cal-flag { display: inline-flex; align-items: center; gap: 9px; margin: 0 0 22px; padding: 7px 14px; background: var(--iw-accent); color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.4; }
.iwcs-cal-flag__dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: iwcs-cal-pulse 2s ease-out infinite; }
@keyframes iwcs-cal-pulse { 0% { box-shadow: 0 0 0 0 #ffffff99; } 70%, 100% { box-shadow: 0 0 0 7px #ffffff00; } }

.iwcs-cal-page h1 { margin: 0; font-size: clamp(46px, 6vw, 86px); font-weight: 800; letter-spacing: -.055em; line-height: .92; }
.iwcs-cal-page h1 span { color: var(--iw-accent); }
.iwcs-cal-hero__lead { margin: 22px 0 0; max-width: 460px; font-size: clamp(18px, 2vw, 22px); line-height: 1.35; letter-spacing: -.02em; color: var(--iw-muted); }

/* ------------------------------------------------------------------ Price */
.iwcs-cal-price { margin: 28px 0 24px; }
.iwcs-cal-price__value { margin: 0; font-size: clamp(54px, 6vw, 78px); font-weight: 800; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.iwcs-cal-price__meta { margin: 10px 0 0; font-size: 14px; color: var(--iw-muted); }

/* --------------------------------------------------------------- Buy call */
.iwcs-cal-hero__actions { margin-bottom: 30px; }
.iwcs-cal-purchase { margin: 0; }
.iwcs-cal-buy { width: 100%; max-width: 460px; min-height: 62px; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; gap: 18px; border: 1px solid var(--iw-ink); border-radius: 0; background: var(--iw-ink); color: #fff; font: 700 18px/1.25 Lato, Arial, sans-serif; text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s; }
.iwcs-cal-buy:hover { background: var(--iw-accent); border-color: var(--iw-accent); color: #fff; }
.iwcs-cal-buy__price { font-variant-numeric: tabular-nums; white-space: nowrap; }
.iwcs-cal-buy--secondary { background: transparent; color: var(--iw-ink); }
.iwcs-cal-hero__terms { margin: 12px 0 0; max-width: 460px; font-size: 13px; line-height: 1.5; color: var(--iw-muted); }
.iwcs-cal-soldout { margin: 0 0 12px; max-width: 460px; font-size: 16px; line-height: 1.5; }

.iwcs-cal-counter--final { max-width: none; background: transparent; }

/* ---------------------------------------------------------------- Spreads */
.iwcs-cal-spreads { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.iwcs-cal-spreads figure { margin: 0; }
.iwcs-cal-spreads figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--iw-muted); }
.iwcs-cal-spreads__wide { grid-column: 1 / -1; }
.iwcs-cal-spreads img { display: block; width: 100%; height: auto; }
.iwcs-cal-about { background: var(--iw-paper); }

/* ------------------------------------------------------------ Final offer */
.iwcs-cal-final { background: var(--iw-ink); color: var(--iw-white); }
.iwcs-cal-final__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.iwcs-cal-final :is(h2, .iwcs-kicker) { color: var(--iw-white); }
.iwcs-cal-final .iwcs-cal-price__value { color: var(--iw-white); margin-bottom: 20px; }
.iwcs-cal-final__deadline { margin: 18px 0 0; font-size: 16px; line-height: 1.5; color: #cfccc2; }
.iwcs-cal-final .iwcs-cal-buy { background: var(--iw-white); border-color: var(--iw-white); color: var(--iw-ink); max-width: none; }
.iwcs-cal-final .iwcs-cal-buy:hover { background: var(--iw-accent); border-color: var(--iw-accent); color: #fff; }
.iwcs-cal-final .iwcs-cal-hero__terms { max-width: none; color: #cfccc2; }
.iwcs-cal-final .iwcs-cal-counter { border-color: #4a4b43; }
.iwcs-cal-final .iwcs-cal-counter__eyebrow, .iwcs-cal-final .iwcs-cal-counter__note, .iwcs-cal-final .iwcs-cal-counter__value span { color: #cfccc2; }
.iwcs-cal-final .iwcs-cal-counter__value strong { color: var(--iw-white); }
.iwcs-cal-final .iwcs-cal-counter__bar { background: #4a4b43; }
.iwcs-cal-final .iwcs-cal-counter__bar span { background: var(--iw-white); }
.iwcs-cal-final .iwcs-cal-counter__live:not(:empty) { color: #e7b29b; }
.iwcs-cal-final__offer { margin-top: 24px; display: grid; gap: 20px; }

/* ----------------------------------------------------------------- Mobile */
@media (max-width: 1024px) {
	.iwcs-cal-hero__inner { column-gap: 40px; }
	.iwcs-cal-final__inner { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
	.iwcs-cal-hero { padding: 26px 20px 36px; }
	.iwcs-cal-hero__inner { grid-template-columns: 1fr; row-gap: 28px; }
	/* The cover sells the product, so it leads on a phone. */
	.iwcs-cal-hero__visual { grid-column: 1; grid-row: 1; }
	.iwcs-cal-hero__offer { grid-row: 2; }
	.iwcs-cal-hero .iwcs-cal-hero__cover { width: min(100%, 320px); }
	.iwcs-cal-buy { max-width: none; min-height: 58px; font-size: 17px; padding: 14px 18px; }
	.iwcs-cal-spreads { grid-template-columns: 1fr; }
	.iwcs-cal-spreads__wide { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
	.iwcs-cal-flag__dot { animation: none; }
}
