/* Shared chrome for the redesigned pages: tokens, reset, buttons, section
   eyebrow, the fixed nav and the footer. Page stylesheets (home.css,
   contact.css) load after this and add only what is theirs. */
:root {
	--ib-ink: #0a0a0a;
	--ib-muted: rgba(10, 10, 10, 0.55);
	--ib-faint: rgba(10, 10, 10, 0.4);
	--ib-label: rgba(10, 10, 10, 0.62);
	--ib-surface: #F4F4F6;
	--ib-line: rgba(0, 0, 0, 0.12);
	--ib-accent: linear-gradient(to bottom, #ffa04a, #f47b20);
	--ib-accent-hover: linear-gradient(to bottom, #f47b20, #e06a10);
	--ib-radius: 8px;
	--ib-radius-lg: 12px;
	--ib-gutter: clamp(20px, 3vw, 46px);
	--ib-ease: cubic-bezier(.16, 1, .3, 1);
}

* {
	box-sizing: border-box;
}

body.ib-site {
	margin: 0;
	background: #fff;
	color: var(--ib-ink);
	font-family: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.ib-site a {
	color: var(--ib-ink);
	text-decoration: none;
}

.ib-site a:hover,
.ib-site a:focus {
	color: rgba(10, 10, 10, 0.55);
	text-decoration: none;
}

.ib-site img {
	max-width: 100%;
}

.ib-page {
	min-height: 100vh;
	overflow-x: hidden;
	background: #fff;
}

.ib-shell {
	max-width: 1400px;
	margin: 0 auto;
	padding-left: var(--ib-gutter);
	padding-right: var(--ib-gutter);
}

/* REVEAL */
.ib-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition:
		opacity .8s var(--ib-ease) var(--ib-delay, 0s),
		transform .8s var(--ib-ease) var(--ib-delay, 0s);
}

.ib-reveal.is-visible {
	opacity: 1;
	transform: none;
}

.ib-reveal--nav {
	transform: translateY(-16px);
}

.ib-reveal--zoom {
	transform: scale(1.05);
	transition-duration: 1.8s;
}

/* Stagger steps, so a section resolves top-down instead of all at once. */
.ib-delay-1 { --ib-delay: .05s; }
.ib-delay-2 { --ib-delay: .1s; }
.ib-delay-3 { --ib-delay: .3s; }
.ib-delay-4 { --ib-delay: .45s; }
.ib-delay-5 { --ib-delay: .6s; }
.ib-delay-6 { --ib-delay: .78s; }
.ib-delay-7 { --ib-delay: .9s; }

@media (prefers-reduced-motion: reduce) {
	.ib-reveal {
		opacity: 1;
		transform: none;
		transition: none;
	}
}

/* BUTTONS */
.ib-btn {
	display: inline-block;
	border-radius: var(--ib-radius);
	padding: 13px 26px;
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: background .25s ease, box-shadow .25s ease;
}

.ib-btn--primary,
.ib-site a.ib-btn--primary {
	background: var(--ib-accent);
	color: #fff;
}

.ib-btn--primary:hover,
.ib-btn--primary:focus,
.ib-site a.ib-btn--primary:hover,
.ib-site a.ib-btn--primary:focus {
	background: var(--ib-accent-hover);
	color: #fff;
}

.ib-btn--ghost {
	border: 1px solid rgba(0, 0, 0, 0.35);
}

.ib-btn--ghost:hover,
.ib-btn--ghost:focus {
	background: var(--ib-surface);
}

.ib-btn--sm {
	padding: 9px 16px;
	font-size: 12px;
}

.ib-btn--sm.ib-btn--ghost {
	border-color: rgba(0, 0, 0, 0.14);
}

.ib-btn--md {
	padding: 12px 22px;
	font-size: 12.5px;
}

.ib-btn--md.ib-btn--ghost {
	border-color: rgba(0, 0, 0, 0.2);
}

/* Shared eyebrow chip above every section heading. */
.ib-eyebrow {
	display: inline-block;
	background: var(--ib-surface);
	border-radius: var(--ib-radius);
	padding: 7px 15px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.4px;
	color: var(--ib-label);
	margin-bottom: 22px;
}

.ib-h2 {
	font-weight: 300;
	font-size: clamp(1.7rem, 3.4vw, 2.9rem);
	letter-spacing: -0.03em;
	line-height: 1.05;
	margin: 0;
}

/* NAV */
.ib-navcap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: clamp(66px, 6vw, 86px);
	background: #fff;
	z-index: 45;
	pointer-events: none;
}

.ib-nav {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 50;
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	padding: clamp(14px, 1.6vw, 22px) var(--ib-gutter);
	pointer-events: none;
}

.ib-nav__brand,
.ib-nav__actions {
	display: flex;
	align-items: center;
	gap: 12px;
	pointer-events: auto;
}

.ib-nav__actions {
	gap: 10px;
	margin-left: auto;
}

.ib-nav__logo {
	height: 42px;
	width: auto;
	display: block;
}

.ib-nav__claims {
	display: flex;
	align-items: center;
	gap: 14px;
	background: var(--ib-surface);
	border-radius: var(--ib-radius);
	padding: 9px 18px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.3px;
	color: var(--ib-label);
}

.ib-nav__dot {
	width: 3px;
	height: 3px;
	border-radius: 999px;
	background: rgba(10, 10, 10, 0.28);
}

.ib-nav__cta {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--ib-accent);
	border-radius: var(--ib-radius);
	padding: 10px 18px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.4px;
	transition: background .25s ease;
}

/* The mark sits taller than the label, so the button tightens up around it. */
.ib-nav__cta--glyph {
	padding: 5px 18px 5px 5px;
}

.ib-site a.ib-nav__cta,
.ib-site a.ib-nav__cta:hover,
.ib-site a.ib-nav__cta:focus {
	color: #fff;
}

.ib-nav__cta:hover,
.ib-nav__cta:focus {
	background: var(--ib-accent-hover);
}

/* Used on pages that link back to the home page rather than off to a
   conversion -- the same button, without the weight. */
.ib-nav__cta--outline,
.ib-site a.ib-nav__cta--outline {
	background: none;
	border: 1px solid rgba(0, 0, 0, 0.2);
	padding: 10px 18px;
	color: var(--ib-ink);
}

.ib-nav__cta--outline:hover,
.ib-nav__cta--outline:focus,
.ib-site a.ib-nav__cta--outline:hover,
.ib-site a.ib-nav__cta--outline:focus {
	background: var(--ib-surface);
	color: var(--ib-ink);
}

/* Four dots in a rounded square -- the "grid of destinations" mark. */
.ib-nav__glyph {
	width: 30px;
	height: 30px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.22);
	display: grid;
	grid-template-columns: 4px 4px;
	grid-template-rows: 4px 4px;
	gap: 3px;
	place-content: center;
	flex: none;
}

.ib-nav__glyph i {
	background: #fff;
	border-radius: 1px;
}

/* CARDS
   Used for the home page destination grid and for content blocks on any other
   page, so they live here rather than with either. */
.ib-card {
	background: #fff;
	border: 1px solid var(--ib-line);
	border-radius: var(--ib-radius-lg);
	padding: 10px;
	display: flex;
	flex-direction: column;
	transition:
		opacity .7s var(--ib-ease) var(--ib-delay, 0s),
		transform .7s var(--ib-ease) var(--ib-delay, 0s),
		box-shadow .3s ease;
}

.ib-card--clickable {
	cursor: pointer;
}

.ib-card:hover {
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.10);
}


.ib-card__media {
	height: 172px;
	flex: none;
	border-radius: var(--ib-radius-lg);
	overflow: hidden;
	background: #eaf2f6;
}

.ib-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ib-card__media--soon {
	background: linear-gradient(135deg, #eaf6fc 0%, #dceef6 60%, #cfe6f2 100%);
}

.ib-card__body {
	padding: 20px 14px 14px;
	flex: 1;
	display: flex;
	flex-direction: column;
}

.ib-card__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	margin-bottom: 8px;
}

.ib-card__head h3 {
	font-size: 18px;
	font-weight: 500;
	letter-spacing: -0.02em;
	margin: 0;
}

.ib-card__region {
	background: var(--ib-surface);
	border-radius: var(--ib-radius);
	padding: 5px 12px;
	font-size: 10.5px;
	font-weight: 500;
	color: var(--ib-muted);
	white-space: nowrap;
	flex: none;
}

/* Announced but not bookable yet -- reads as a state, not as a region. */
.ib-card__region--soon {
	background: #eaf6fc;
	color: #1C75BC;
}

.ib-card__text {
	font-size: 14px;
	line-height: 1.6;
	color: var(--ib-muted);
	margin: 0 0 16px;
}

.ib-card__text p {
	margin: 0 0 8px;
}

.ib-card__text p:last-child {
	margin-bottom: 0;
}

.ib-card__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	margin-top: auto;
}

/* Generic card grid for content blocks; the home page has its own with a
   stagger tied to its row length. */
.ib-cardgrid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
	gap: 14px;
}

/* FOOTER */
.ib-footer {
	background: linear-gradient(180deg, #1e2a6d 0%, #141d50 100%);
	color: rgba(255, 255, 255, 0.66);
}

.ib-footer .ib-shell {
	padding-top: clamp(34px, 4vw, 56px);
	padding-bottom: 26px;
}

.ib-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
	gap: 34px;
}

.ib-footer__logo {
	background: #fff;
	display: inline-block;
	padding: 8px 12px;
	border-radius: var(--ib-radius);
	margin-bottom: 16px;
}

.ib-footer__logo img {
	height: 30px;
	width: auto;
	display: block;
}

.ib-footer p {
	font-size: 13.5px;
	line-height: 1.6;
	margin: 0;
}

.ib-footer__label {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.6px;
	color: rgba(255, 255, 255, 0.4);
	margin-bottom: 14px;
}

.ib-footer__links {
	display: flex;
	flex-direction: column;
	gap: 9px;
	font-size: 13.5px;
}

.ib-site .ib-footer__links a {
	color: rgba(255, 255, 255, 0.82);
}

.ib-site .ib-footer__links a:hover,
.ib-site .ib-footer__links a:focus {
	color: #fff;
}

.ib-footer__base {
	margin-top: 40px;
	padding-top: 18px;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	display: flex;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
	font-size: 12px;
}

/* The claims pill is the first thing worth dropping on a phone -- everything
   else in the chrome already reflows on its own. */
@media (max-width: 640px) {
	.ib-nav__claims {
		display: none;
	}
}
