/* msccruise.blog — editorial theme. Mobile first. */
:root {
  --ink: #0f2a44;
  --ink-2: #3a4f66;
  --ink-3: #66778a;
  --paper: #f8f6f1;
  --card: #ffffff;
  --line: #e4ded1;
  --line-2: #d3cab8;
  --teal: #0b6e78;
  --teal-d: #08525a;
  --teal-l: #e3f1f1;
  --brass: #b9842b;
  --brass-l: #f6ebd3;
  --yt: #c4302b;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(15, 42, 68, .06), 0 6px 18px rgba(15, 42, 68, .06);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Charter, Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 var(--sans); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--teal-d); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 2px; border-radius: 3px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); line-height: 1.2; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
p { margin: 0 0 1.1em; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--brass); color: var(--ink); padding: 8px 14px; z-index: 50; border-radius: 6px; font-weight: 600; }
.skip:focus { top: 8px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.wrap--narrow { max-width: 760px; }
.dot { color: var(--ink-3); margin: 0 .2em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: .5em; padding: .7em 1.15em; border-radius: 999px; font: 600 15px/1 var(--sans); text-decoration: none; border: 1.5px solid transparent; transition: background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--brass); color: #1b1407; }
.btn--primary:hover { background: #a6741f; color: #fff; }
.btn--yt { background: var(--yt); color: #fff; }
.btn--yt:hover { background: #a3241f; color: #fff; }

/* Header */
.site-header { background: var(--ink); color: #fff; position: relative; z-index: 20; }
.site-header__inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; margin-right: auto; }
.logo:hover { color: #fff; }
.logo__mark { width: 36px; height: 36px; flex: none; color: currentColor; }
.logo__img { width: 52px; height: 52px; flex: none; border-radius: 50%; }
.site-footer .logo__img { width: 60px; height: 60px; }
.author-box__mark .logo__img { width: 56px; height: 56px; box-shadow: none; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__name { font: 700 19px/1.1 var(--serif); letter-spacing: .005em; }
.logo__tag { font: 500 11px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; opacity: .72; }
.nav { display: none; }
.nav ul, .menu__panel ul { list-style: none; margin: 0; padding: 0; }
.header-yt { display: none; padding: .55em .95em; font-size: 14px; }
.menu { position: static; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border: 1px solid rgba(255,255,255,.25); border-radius: 8px; font: 600 14px var(--sans); }
.menu summary::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 18px; height: 2px; background: #fff; border-radius: 2px; position: relative; content: ""; }
.menu__bars::before { position: absolute; top: -6px; }
.menu__bars::after { position: absolute; top: 6px; }
.menu[open] .menu__bars { background: transparent; }
.menu[open] .menu__bars::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu__bars::after { top: 0; transform: rotate(-45deg); }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; background: var(--ink); border-top: 1px solid rgba(255,255,255,.12); padding: 8px 16px 16px; box-shadow: 0 12px 24px rgba(0,0,0,.25); }
.menu__panel a { display: block; padding: 12px 4px; color: #fff; text-decoration: none; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08); }
@media (min-width: 980px) {
  .menu { display: none; }
  .nav { display: block; }
  .nav ul { display: flex; gap: 2px; }
  .nav a { display: block; padding: 8px 11px; color: #e7edf3; text-decoration: none; font: 600 14.5px var(--sans); border-radius: 6px; }
  .nav a:hover { background: rgba(255,255,255,.1); color: #fff; }
  .header-yt { display: inline-flex; }
}

/* Ads */
.header-ad:empty { display: none; }
.ad { margin: 28px auto; text-align: center; min-height: 100px; }
.ad__label { display: block; font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.ad--header { min-height: 90px; margin: 16px auto; }
.ad--in-article { min-height: 280px; }
.ad--sidebar { min-height: 250px; }
.ad--listing, .ad--footer { min-height: 120px; }
.ad:has(ins[data-ad-status="unfilled"]) { display: none; }
.ad--placeholder { display: grid; place-items: center; border: 2px dashed #c9b28a; background: repeating-linear-gradient(45deg, #fbf6ea, #fbf6ea 10px, #f6eedb 10px, #f6eedb 20px); color: #7a5a1e; border-radius: var(--radius); font: 600 13px var(--mono); }

/* Viator */
.viator { margin: 28px 0; }
.viator__label { font: 600 10.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.viator--wide { margin: 36px 0; }
.viator--placeholder { display: grid; place-items: center; min-height: 140px; border: 2px dashed #7fb7bb; border-radius: var(--radius); background: repeating-linear-gradient(45deg, #eef7f7, #eef7f7 10px, #e2f0f0 10px, #e2f0f0 20px); color: var(--teal-d); font: 600 13px/1.5 var(--mono); text-align: center; padding: 16px; }
.viator--sidebar.viator--placeholder { min-height: 250px; }

/* Hero */
.hero { background: radial-gradient(1200px 400px at 85% -10%, rgba(11,110,120,.55), transparent 60%), linear-gradient(180deg, var(--ink) 0%, #12385a 100%); color: #fff; padding: 40px 0 44px; position: relative; overflow: hidden; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 26px; background: var(--paper); -webkit-mask: radial-gradient(28px 18px at 50% 0, transparent 98%, #000) 0 0 / 56px 26px repeat-x; mask: radial-gradient(28px 18px at 50% 0, transparent 98%, #000) 0 0 / 56px 26px repeat-x; }
.hero__inner { display: grid; gap: 28px; }
.eyebrow { font: 700 12px/1.3 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 0 0 12px; }
.hero h1 { color: #fff; font-size: clamp(32px, 6vw, 54px); line-height: 1.06; margin-bottom: 16px; max-width: 16ch; }
.hero__lede { color: #d6e1ea; font-size: 18px; max-width: 54ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero__tools { display: grid; gap: 12px; align-content: center; }
.tool-tile { display: grid; grid-template-columns: 1fr auto; gap: 2px 14px; padding: 18px 20px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; color: #fff; text-decoration: none; transition: background .15s, transform .15s; }
.tool-tile:hover { background: rgba(255,255,255,.14); color: #fff; transform: translateY(-1px); }
.tool-tile__k { font: 700 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.tool-tile__t { font: 600 18px/1.3 var(--serif); grid-column: 1; }
.tool-tile__go { grid-row: 1 / span 2; grid-column: 2; align-self: center; font-size: 22px; color: var(--brass); }
@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero__inner { grid-template-columns: 1.4fr 1fr; gap: 56px; }
}

/* Sections */
.section-h { font-size: 26px; margin: 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.more { font: 600 14px var(--sans); text-decoration: none; white-space: nowrap; }
.home-section, .latest, .related { margin: 48px 0; }
.latest .section-h, .related .section-h { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.page-head { margin: 8px 0 28px; max-width: 760px; }
.page-head h1 { font-size: clamp(30px, 5vw, 44px); }
.page-head p { color: var(--ink-2); font-size: 18px; }

/* Cards */
.grid { display: grid; gap: 20px; }
@media (min-width: 640px) { .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .grid--3 { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.grid__full { grid-column: 1 / -1; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15,42,68,.08), 0 12px 28px rgba(15,42,68,.1); }
.card__media { display: block; aspect-ratio: 16 / 9; background: var(--teal-l); overflow: hidden; }
.card__img { width: 100%; height: 100%; object-fit: cover; }
.cover-fallback { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(135deg, #12385a, var(--teal)); color: rgba(255,255,255,.85); }
.cover-fallback .logo__mark { width: 56px; height: 56px; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.card__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.chip { font: 700 11px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--teal-d); background: var(--teal-l); padding: 6px 9px; border-radius: 999px; }
.chip:hover { background: var(--teal); color: #fff; }
.card__title { font-size: 20px; margin: 0 0 8px; }
.card__title a { color: var(--ink); text-decoration: none; }
.card__title a:hover { color: var(--teal-d); text-decoration: underline; }
.card__desc { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0 0 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { margin: auto 0 0; font: 500 13px var(--sans); color: var(--ink-3); }
.latest__grid { display: grid; gap: 20px; }
.latest__side { display: grid; gap: 16px; }
.card--lead .card__title { font-size: clamp(22px, 3vw, 30px); }
@media (min-width: 640px) {
  .card--row { flex-direction: row; }
  .card--row .card__media { width: 38%; flex: none; aspect-ratio: auto; }
  .card--row .card__desc { -webkit-line-clamp: 2; }
  .card--row .card__title { font-size: 18px; }
}
@media (min-width: 960px) { .latest__grid { grid-template-columns: 1.25fr 1fr; gap: 24px; } }

/* Breadcrumbs */
.crumbs { margin: 18px 0 12px; font: 500 13.5px var(--sans); color: var(--ink-3); }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.crumbs li:not(:last-child)::after { content: "/"; margin: 0 8px; color: var(--line-2); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--teal); text-decoration: underline; }
.crumbs [aria-current] { color: var(--ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }

/* Article */
.article-grid { display: grid; gap: 40px; }
@media (min-width: 1040px) { .article-grid { grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; } }
.post { min-width: 0; max-width: 740px; }
.post__title { font-size: clamp(30px, 5.2vw, 46px); line-height: 1.1; margin: 4px 0 14px; }
.post__meta { font: 500 14.5px var(--sans); color: var(--ink-3); margin-bottom: 22px; }
.post__meta a { color: var(--ink-2); font-weight: 600; text-decoration: none; }
.post__hero { margin: 0 0 22px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: var(--teal-l); }
.post__hero img { width: 100%; height: 100%; object-fit: cover; }
.disclosure { font-size: 14px; color: var(--ink-2); background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--line-2); padding: 10px 14px; border-radius: 6px; }
.brief { background: var(--brass-l); border: 1px solid #e8d4a8; border-radius: var(--radius); padding: 18px 20px 6px; margin: 0 0 24px; }
.brief__label { font: 700 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #8a5f17; margin-bottom: 6px; }
.brief p:not(.brief__label) { font-size: 17px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 20px; margin: 0 0 28px; }
.toc summary { font: 700 13px var(--sans); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; color: var(--ink-2); }
.toc ol { margin: 10px 0 4px; padding-left: 20px; columns: 1; }
.toc li { margin: 5px 0; font-size: 15.5px; break-inside: avoid; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--teal); text-decoration: underline; }
@media (min-width: 720px) { .toc ol { columns: 2; column-gap: 36px; } }
.post__video { margin: 0 0 28px; }

/* Prose */
.prose { font-size: 18px; line-height: 1.72; }
.prose h2 { font-size: clamp(25px, 3.4vw, 31px); margin: 1.8em 0 .55em; padding-top: .2em; }
.prose h3 { font-size: 22px; margin: 1.6em 0 .45em; }
.prose h4 { font-size: 18px; font-family: var(--sans); margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin: .35em 0; }
.prose li::marker { color: var(--teal); font-weight: 700; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--line-2); color: var(--ink-2); font-family: var(--serif); font-size: 19px; font-style: italic; }
.prose hr { border: 0; border-top: 1px solid var(--line-2); margin: 2.4em 0; }
.prose code { font: .88em var(--mono); background: #efeae0; padding: .1em .35em; border-radius: 4px; }
.prose pre { background: var(--ink); color: #e7edf3; padding: 16px; border-radius: 8px; overflow-x: auto; }
.prose pre code { background: none; padding: 0; color: inherit; }
.figure { margin: 1.6em 0; }
.figure img { border-radius: var(--radius); width: 100%; }
.figure figcaption { font: 500 14px var(--sans); color: var(--ink-3); margin-top: 8px; }
.callout { position: relative; margin: 2em 0; padding: 20px 22px 6px; background: var(--ink); color: #e7edf3; border-radius: var(--radius); font-size: 17px; }
.callout::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 4px; background: var(--brass); border-radius: 0 3px 3px 0; }
.callout strong:first-child { display: block; font: 700 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--brass); margin-bottom: 6px; }
.callout a { color: #9fd6d9; }
.table-wrap { margin: 1.6em 0; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.prose table { width: 100%; border-collapse: collapse; font: 15px/1.45 var(--sans); }
.prose th { background: var(--ink); color: #fff; text-align: left; padding: 11px 12px; font-weight: 600; white-space: nowrap; }
.prose td { padding: 11px 12px; border-top: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: #fbf9f4; }
.prose td:first-child { font-weight: 600; }
@media (max-width: 640px) {
  .table-wrap { border: 0; background: none; overflow: visible; }
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: 100%; }
  .prose thead { display: none; }
  .prose tr { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 6px 0; }
  .prose tbody tr:nth-child(even) td { background: none; }
  .prose td { border: 0; padding: 6px 14px; display: grid; grid-template-columns: 42% 1fr; gap: 10px; }
  .prose td::before { content: attr(data-label); font-weight: 700; font-size: 12.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .04em; }
  .prose td:first-child { font-size: 17px; font-family: var(--serif); border-bottom: 1px solid var(--line); padding-bottom: 10px; margin-bottom: 4px; display: block; }
  .prose td:first-child::before { display: none; }
}

/* Author + sidebar */
.author-box { display: flex; gap: 18px; margin: 40px 0 0; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.author-box__mark { width: 56px; height: 56px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; }
.author-box__mark .logo__mark { width: 36px; height: 36px; }
.author-box__h { font-size: 19px; margin-bottom: 6px; }
.author-box p { font-size: 15.5px; color: var(--ink-2); margin-bottom: .6em; }
.sidebar { min-width: 0; }
.sidebar__sticky { display: grid; gap: 22px; }
@media (min-width: 1040px) { .sidebar__sticky { position: sticky; top: 20px; } }
.sidebar .viator, .sidebar .ad { margin: 0; }
/* Banner rail on non-article pages (everything except the homepage) */
.rail-grid { display: grid; gap: 32px; }
.rail-grid__main { min-width: 0; }
.rail-grid__main > .wrap { padding: 0; max-width: none; }
.rail-grid__main > .wrap--narrow { max-width: 760px; margin: 0; }
.rail .viator { margin: 0 0 32px; display: flex; flex-direction: column; align-items: center; }
@media (min-width: 1040px) {
  .rail-grid { grid-template-columns: minmax(0, 1fr) 160px; gap: 48px; }
  .rail__sticky { position: sticky; top: 20px; }
}
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.side-box__h { font-size: 18px; margin-bottom: 10px; }
.side-box p { font-size: 15px; color: var(--ink-2); }
.side-box--yt { background: var(--ink); border-color: var(--ink); }
.side-box--yt .side-box__h { color: #fff; }
.side-box--yt p { color: #cfdae4; }
.side-links { list-style: none; margin: 0; padding: 0; }
.side-links li { border-top: 1px solid var(--line); }
.side-links li:first-child { border-top: 0; }
.side-links a { display: block; padding: 9px 0; font-weight: 600; text-decoration: none; color: var(--ink); }
.side-links a::after { content: " →"; color: var(--teal); }
.side-links a:hover { color: var(--teal); }

/* YouTube lite embed */
.yt { margin: 0; }
.yt__link, .yt iframe { position: relative; display: block; aspect-ratio: 16 / 9; width: 100%; border-radius: var(--radius); overflow: hidden; background: #000; border: 0; }
.yt__link img { width: 100%; height: 100%; object-fit: cover; opacity: .92; transition: opacity .15s; }
.yt__link:hover img { opacity: 1; }
.yt__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 48px; transform: translate(-50%, -50%); background: var(--yt); border-radius: 14px; box-shadow: 0 4px 16px rgba(0,0,0,.35); }
.yt__play::after { content: ""; position: absolute; left: 27px; top: 14px; border-style: solid; border-width: 10px 0 10px 17px; border-color: transparent transparent transparent #fff; }
.yt__title { font: 600 15.5px/1.4 var(--sans); margin: 10px 0 2px; color: var(--ink); }
.videos .card__meta { margin-top: 2px; }

/* Newsletter */
.newsletter { display: grid; gap: 16px; padding: 26px 22px; margin: 0 0 32px; background: var(--teal); color: #fff; border-radius: 14px; }
.newsletter h2 { color: #fff; font-size: 26px; margin-bottom: 4px; }
.newsletter p { margin: 0; color: #d5ecec; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; align-self: center; }
.newsletter__form input[type=email] { flex: 1 1 220px; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 0; font: 16px var(--sans); color: var(--ink); }
.newsletter__form button { padding: 13px 22px; border-radius: 999px; border: 0; background: var(--brass); color: #1b1407; font: 700 15px var(--sans); cursor: pointer; }
.newsletter__form button:hover { background: #d29a3c; }
@media (min-width: 860px) { .newsletter { grid-template-columns: 1fr 1fr; padding: 32px 36px; align-items: center; } }

/* Footer */
.site-footer { background: #0b2034; color: #c6d2dd; padding: 48px 0 28px; margin-top: 64px; font-size: 15px; }
.site-footer a { color: #e7edf3; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .ad__label { color: #8ea0b2; }
.footer-grid { display: grid; gap: 28px; margin-top: 8px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; } }
.footer-brand p { margin: 14px 0; max-width: 46ch; }
.footer-social { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; }
.footer-social svg { width: 18px; height: 18px; }
.footer-h { font: 700 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin: 6px 0 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 8px; }
.footer-legal { margin: 36px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13px; color: #8ea0b2; }

/* Simple pages */
.page { max-width: 740px; }
.message { padding: 48px 16px; text-align: left; }
.message h1 { font-size: clamp(30px, 5vw, 44px); }
.empty { color: var(--ink-2); }

/* Drink calculator */
.calc { margin: 1.8em 0; background: var(--card); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; font-family: var(--sans); font-size: 16px; line-height: 1.45; }
.calc__setup { padding: 20px; background: #fbf9f4; border-bottom: 1px solid var(--line); display: grid; gap: 16px; }
.calc fieldset { border: 0; margin: 0; padding: 0; }
.calc legend { font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 9px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; font-weight: 600; font-size: 14.5px; background: #fff; }
.seg input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.seg input:focus-visible + span { outline: 3px solid var(--brass); outline-offset: 2px; }
.calc__opts { display: grid; gap: 12px; }
@media (min-width: 560px) { .calc__opts { grid-template-columns: 1fr 1fr; } }
.calc__opts label { display: grid; gap: 6px; font: 700 12px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.sel select { width: 100%; padding: 11px 12px; border: 1.5px solid var(--line-2); border-radius: 8px; font: 600 15.5px var(--sans); color: var(--ink); background: #fff; text-transform: none; letter-spacing: 0; }
.calc__table { padding: 8px 20px 4px; }
.calc__head, .calc__row { display: grid; grid-template-columns: 1fr auto 96px; gap: 10px; align-items: center; }
.calc__head { font: 700 11.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 10px 0 6px; }
.calc__head span:nth-child(n+2) { text-align: center; }
.calc__row { padding: 10px 0; border-top: 1px solid var(--line); }
.calc__row[hidden] { display: none; }
.calc__row > label span { display: block; font-weight: 600; }
.calc__row > label small { color: var(--ink-3); font-size: 13px; }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line-2); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 34px; height: 36px; border: 0; background: none; font: 600 19px var(--sans); color: var(--teal-d); cursor: pointer; }
.stepper button:hover { background: var(--teal-l); }
.stepper input { width: 38px; height: 36px; border: 0; text-align: center; font: 700 16px var(--sans); color: var(--ink); -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .calc__price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc__price { display: flex; align-items: center; gap: 2px; border-bottom: 1.5px dashed var(--line-2); color: var(--ink-3); }
.calc__price input { width: 100%; border: 0; background: none; font: 500 15px var(--sans); color: var(--ink-2); padding: 6px 2px; -moz-appearance: textfield; }
.calc__note { font-size: 13px; color: var(--ink-3); margin: 10px 0 14px; }
.calc__result { display: grid; gap: 12px; padding: 20px; background: var(--ink); color: #fff; }
@media (min-width: 560px) { .calc__result { grid-template-columns: 1fr 1fr; } }
.result-card { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 14px 16px; }
.result-card--pkg { border-color: rgba(185,132,43,.55); }
.result-card__k { font: 700 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #9fb3c6; margin: 0 0 4px; }
.result-card__v { font: 700 34px/1.1 var(--serif); margin: 0; }
.result-card__s { font-size: 13px; color: #9fb3c6; margin: 4px 0 0; }
.verdict { grid-column: 1 / -1; border-radius: 10px; padding: 14px 16px; background: rgba(255,255,255,.07); }
.verdict.is-buy { background: rgba(11,110,120,.55); }
.verdict.is-skip { background: rgba(185,132,43,.35); }
.verdict__h { font: 700 20px/1.3 var(--serif); margin: 0 0 4px; }
.verdict__s { font-size: 14.5px; color: #d6e1ea; margin: 0; }
.calc__fine { font-size: 12.5px; color: var(--ink-3); padding: 12px 20px 16px; margin: 0; background: #fbf9f4; }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media print { .site-header, .site-footer, .sidebar, .rail, .ad, .viator, .newsletter, .header-ad { display: none !important; } body { background: #fff; } }

/* ---------- Members library ---------- */
.packs { display: grid; gap: 18px; }
.pack { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 22px; }
.pack--empty { border-style: dashed; box-shadow: none; }
.pack--empty p { color: var(--ink-2); margin: 0; }
.pack__date { font: 600 13px var(--sans); color: var(--ink-3); margin: 0 0 4px; }
.pack__title { font-size: 24px; margin: 0 0 8px; }
.pack__summary { color: var(--ink-2); }
.pack__files { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; }
.pack__file { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--ink); text-decoration: none; font-weight: 600; }
.pack__file:hover { border-color: var(--teal); color: var(--teal-d); background: var(--teal-l); }
.pack__type { font: 700 11px/1 var(--sans); letter-spacing: .08em; color: #fff; background: var(--ink); padding: 6px 8px; border-radius: 6px; min-width: 44px; text-align: center; }
.pack__label { min-width: 0; overflow-wrap: anywhere; }
.pack__size { font: 500 13px var(--sans); color: var(--ink-3); white-space: nowrap; }
.pack__video { margin: 0; }
.pack__video a { display: inline-flex; align-items: center; gap: 8px; font: 600 15px var(--sans); text-decoration: none; }
.pack__video svg { width: 20px; height: 20px; color: var(--yt); flex: none; }
.members-note { margin: 28px 0 8px; font-size: 14.5px; color: var(--ink-3); }

/* Members: sign-in welcome page */
.gate__band { background: var(--ink); color: #fff; background-image: radial-gradient(120% 90% at 100% 0%, rgba(11, 110, 120, .55) 0%, rgba(15, 42, 68, 0) 60%); }
.gate__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; padding-bottom: 44px; }
.gate__grid > * { min-width: 0; }
.gate__intro h1 { color: #fff; font-size: clamp(38px, 7vw, 60px); margin-bottom: 16px; }
.gate__intro .eyebrow { color: #e2b765; }
.gate__lede { font-size: 18.5px; color: #dbe5ef; max-width: 34em; }
.gate__thanks { color: #e2b765; font: 600 16px/1.5 var(--sans); margin: 0; }
.gate__card { background: var(--card); color: var(--ink); border-radius: 14px; padding: 26px 22px 22px; box-shadow: 0 18px 40px rgba(4, 16, 28, .35); border-top: 4px solid var(--brass); align-self: start; }
.gate__card h2 { font-size: 24px; margin-bottom: 14px; }
.gate__card-icon { margin: 0 0 10px; width: 44px; height: 44px; border-radius: 50%; background: var(--brass-l); color: var(--brass); display: grid; place-items: center; }
.gate__card-icon svg { width: 22px; height: 22px; }
.gate__card label { display: block; font: 600 14px var(--sans); color: var(--ink-2); margin-bottom: 6px; }
.gate__field { display: flex; border: 1.5px solid var(--line-2); border-radius: 10px; background: #fff; overflow: hidden; margin-bottom: 14px; }
.gate__field:focus-within { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-l); }
.gate__field input { flex: 1; min-width: 0; border: 0; padding: 13px 14px; font: 17px var(--sans); color: var(--ink); background: transparent; }
.gate__field input:focus { outline: none; }
.gate__show { border: 0; border-left: 1px solid var(--line); background: var(--paper); color: var(--ink-2); font: 600 13.5px var(--sans); padding: 0 14px; cursor: pointer; }
.gate__show:hover { color: var(--teal-d); }
.gate__submit { width: 100%; justify-content: center; padding: 14px 18px; font-size: 16px; cursor: pointer; }
.gate__hint { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.gate__error { margin: 0 0 14px; padding: 10px 12px; border-radius: 8px; background: #fbeae9; border: 1px solid #f0c4c1; color: #8a231e; font: 500 14.5px/1.45 var(--sans); }
.gate__body { max-width: 1000px; padding-top: 40px; padding-bottom: 24px; }
.gate__h { margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.gate__perks { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 16px; }
.gate__perks li { display: flex; gap: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.gate__perks svg { width: 30px; height: 30px; flex: none; color: var(--teal); margin-top: 2px; }
.gate__perks h3 { font-size: 19px; margin: 0 0 4px; }
.gate__perks p { margin: 0; color: var(--ink-2); font-size: 15.5px; line-height: 1.55; }
.gate__latest { list-style: none; margin: 0 0 40px; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
.gate__latest li { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding: 14px 16px; }
.gate__latest li + li { border-top: 1px solid var(--line); }
.gate__lock svg { width: 18px; height: 18px; color: var(--brass); display: block; }
.gate__latest-title { font: 600 16px/1.4 var(--sans); }
.gate__latest time { grid-column: 2; font: 500 13.5px var(--sans); color: var(--ink-3); }
.gate__join { display: grid; gap: 16px; align-items: center; padding: 24px 22px; border-radius: 14px; background: var(--brass-l); border: 1px solid #ecd9ae; }
.gate__join h2 { font-size: 24px; margin-bottom: 4px; }
.gate__join p { margin: 0; color: var(--ink-2); }
.gate__join .btn { justify-self: start; }
@media (min-width: 720px) {
  .gate__perks { grid-template-columns: repeat(3, 1fr); }
  .gate__perks li { flex-direction: column; }
  .gate__latest li { grid-template-columns: auto 1fr auto; }
  .gate__latest time { grid-column: auto; }
  .gate__join { grid-template-columns: 1fr auto; padding: 28px 32px; }
}
@media (min-width: 900px) {
  .gate__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; padding-top: 64px; padding-bottom: 72px; align-items: center; }
  .gate__card { padding: 32px 30px 26px; }
}
/* Members: library header with sign-out */
.page-head--members { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 12px 24px; max-width: none; }
.page-head--members > div { flex: 1 1 420px; }
.signout button { background: none; border: 1.5px solid var(--line-2); border-radius: 999px; padding: 8px 16px; font: 600 14px var(--sans); color: var(--ink-2); cursor: pointer; }
.signout button:hover { border-color: var(--teal); color: var(--teal-d); }
