/* Avrent home page sections. Loaded after css/site.css, which holds the tokens and shared chrome. */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body.home {
	margin: 0;
	background: var(--white);
	color: var(--text);
	font: 400 16px/1.7 var(--font);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Base rules use :where() so they carry no specificity and never beat component styles. */
:where(.home) img { max-width: 100%; display: block; }
:where(.home) a { color: inherit; }
:where(.home) :where(h1, h2, h3) { margin: 0; color: var(--ink); line-height: 1.15; }
:where(.home) p { margin: 0 0 1em; }
:where(.home) :where(ul, ol) { margin: 0; padding: 0; list-style: none; }
.home :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.center { text-align: center; }

/* ---------- headline system (bold line + blue line + light line, as in the reference) ---------- */
.t-strong, .t-blue, .t-light { display: block; }
.t-strong { font-weight: 800; text-transform: uppercase; letter-spacing: .01em; color: var(--ink); }
.t-blue { font-weight: 700; color: var(--blue); }
.t-light { font-weight: 300; color: var(--ink); }
.t-light strong { font-weight: 800; color: var(--blue); }

.head { margin-bottom: clamp(32px, 4vw, 52px); }
.head h2 { font-size: clamp(1.7rem, 3vw, 2.35rem); }
.head--center { text-align: center; }
.head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

.eyebrow { display: inline-block; margin-bottom: 14px !important; padding: 5px 12px; border-radius: 999px; background: var(--tint); color: var(--blue); font-size: .78rem; font-weight: 600; letter-spacing: .02em; }
.feature--tint .eyebrow { background: var(--white); }

/* ---------- orbs: circle-masked imagery with a sweeping arc ---------- */
.orb { position: relative; border-radius: 50%; overflow: hidden; background: var(--tint); }
.orb img { width: 100%; height: 100%; object-fit: cover; }
.arc { position: absolute; color: var(--blue); pointer-events: none; overflow: visible; }
.dot { position: absolute; border-radius: 50%; pointer-events: none; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, #fff 70%, var(--tint) 100%); }
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(48px, 7vw, 88px); }
.hero h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.12; margin-bottom: 22px; }
.hero h1 .t-strong { font-size: .92em; }
.hero h1 .t-light { font-size: .82em; margin-top: 4px; }
.hero__lede { max-width: 32em; font-size: 1.02rem; }
.ticks { display: grid; gap: 10px; margin: 22px 0 30px !important; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; font-size: .94rem; color: var(--ink); }
.ticks svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 3px; border-radius: 50%; background: var(--blue); color: #fff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__media { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: end; }
.orb--hero { position: absolute; inset: 6%; box-shadow: var(--shadow); }
.orb--hero img { object-position: 38% 50%; }
.hero__media .arc { inset: -1%; width: 102%; height: 102%; transform: rotate(18deg); }
.hero__media .orb--inset { position: absolute; left: -2%; bottom: 4%; width: 36%; aspect-ratio: 1; border: 6px solid #fff; box-shadow: var(--shadow); }
.hero__media .orb--inset img { object-position: 50% 50%; }
.dot--a { width: 16%; aspect-ratio: 1; right: 2%; bottom: 10%; background: var(--sky-100); }
.dot--b { width: 5%; aspect-ratio: 1; left: 12%; top: 6%; background: var(--crimson); opacity: .85; }

/* entrance */
.hero__copy > * { animation: rise .8s var(--ease) both; }
.hero__copy > *:nth-child(2) { animation-delay: .08s; }
.hero__copy > *:nth-child(3) { animation-delay: .16s; }
.hero__copy > *:nth-child(4) { animation-delay: .24s; }
.hero__media { animation: pop 1s .1s var(--ease) both; }
.hero__media .arc path { stroke-dasharray: 520; stroke-dashoffset: 520; animation: draw 1.6s .4s var(--ease) forwards; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- band ---------- */
.band { background: var(--blue); color: #fff; text-align: center; padding: clamp(40px, 6vw, 64px) 0; position: relative; overflow: hidden; }
.band::before, .band::after { content: ""; position: absolute; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .14); }
.band::before { width: 340px; height: 340px; left: -120px; top: -180px; }
.band::after { width: 220px; height: 220px; right: -60px; bottom: -130px; }
.band p { margin: 0; }
.band__light { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 300; letter-spacing: .01em; }
.band__strong { font-size: clamp(1.6rem, 3.2vw, 2.5rem); font-weight: 800; }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); padding-top: 8px; padding-bottom: 8px; }
.stat { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 36px 12px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat__n { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.stat:nth-child(2) .stat__n, .stat:nth-child(4) .stat__n { color: var(--blue); }
.stat__l { margin-top: 8px; font-size: .86rem; color: var(--muted); }

/* ---------- feature rows ---------- */
.feature { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); overflow: hidden; } /* rotated arcs must not widen the page */
.feature--tint { background: var(--tint); border-top-color: transparent; }
.feature__inner { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(32px, 6vw, 96px); }
.feature--flip .feature__media { order: 2; }
.feature__media { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.orb--product { position: absolute; inset: 8%; background: radial-gradient(circle at 50% 40%, #fff 0%, #f3f6fb 70%, #e6edf7 100%); box-shadow: var(--shadow); }
.feature--tint .orb--product { background: radial-gradient(circle at 50% 40%, #fff 0%, #fff 55%, #eef3fa 100%); }
.orb--product img { object-fit: contain; padding: 16%; mix-blend-mode: multiply; transition: transform .6s var(--ease); }
.feature__media:hover .orb--product img { transform: scale(1.05); }
.feature__media .arc { inset: 0; width: 100%; height: 100%; transform: rotate(40deg); }
.feature--flip .feature__media .arc { transform: rotate(-130deg); }
.feature__media .orb--inset { position: absolute; width: 32%; aspect-ratio: 1; left: 0; bottom: 4%; border: 5px solid #fff; background: #fff; box-shadow: var(--shadow); transition: transform .3s var(--ease); }
.feature--flip .feature__media .orb--inset { left: auto; right: 0; }
.feature__media .orb--inset img { object-fit: contain; padding: 14%; }
.feature__media .orb--inset:hover { transform: scale(1.06); }
.dot--c { width: 13%; aspect-ratio: 1; left: 24%; bottom: 0; background: var(--sky-100); opacity: .9; }
.feature--flip .dot--c { left: auto; right: 24%; }

.feature__copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 18px; }
.feature__copy p { max-width: 34em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0 28px !important; }
.tags a { display: block; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font-size: .8rem; color: var(--text); text-decoration: none; transition: border-color .2s, color .2s; }
.tags a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- departments ---------- */
.depts { padding: clamp(64px, 9vw, 112px) 0; border-top: 1px solid var(--line); }
.depts__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 40px !important; }
.depts__grid a { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center; height: 100%; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; background: #fff; text-decoration: none; transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease); }
.depts__grid a:hover { border-color: var(--sky); box-shadow: var(--shadow); transform: translateY(-2px); }
.depts__name { font-weight: 600; color: var(--ink); line-height: 1.35; }
.depts__n { grid-row: 2; font-size: .8rem; color: var(--muted); }
.depts__grid svg { grid-row: 1 / 3; grid-column: 2; width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: var(--tint); color: var(--blue); transition: background .2s, color .2s; }
.depts__grid a:hover svg { background: var(--blue); color: #fff; }

/* ---------- popular rentals ---------- */
.rentals { padding: clamp(64px, 9vw, 112px) 0; }
.rentals .head { margin-bottom: 28px; }
.rentals__nav { display: flex; gap: 10px; }
.roundbtn { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); display: grid; place-items: center; cursor: pointer; transition: background .2s, color .2s; }
.roundbtn svg { width: 16px; height: 16px; }
.roundbtn:hover { background: var(--blue); color: #fff; }
.rentals__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 20px; scrollbar-width: none; }
.rentals__track::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; display: flex; flex-direction: column; padding: 14px 14px 18px; border-radius: var(--radius); background: #fff; text-decoration: none; box-shadow: 0 1px 0 var(--line), 0 10px 30px -22px rgba(29, 33, 82, .35); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card__img { aspect-ratio: 4 / 3; border-radius: 12px; background: #f6f8fb; display: grid; place-items: center; padding: 16px; margin-bottom: 14px; overflow: hidden; }
.card__img img { max-height: 100%; width: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .5s var(--ease); }
.card:hover .card__img img { transform: scale(1.06); }
.card__cat { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.card__name { margin: 6px 0 14px; font-weight: 600; color: var(--ink); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-size: .82rem; font-weight: 600; color: var(--navy); }
.card__link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.card:hover .card__link svg { transform: translateX(3px); }

/* ---------- experience band ---------- */
.experience { position: relative; overflow: hidden; background: linear-gradient(120deg, var(--blue) 0%, var(--blue-600) 55%, var(--navy) 100%); color: rgba(255, 255, 255, .88); padding: clamp(64px, 9vw, 104px) 0; }
.experience__inner { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(32px, 6vw, 88px); }
.experience__media { position: relative; aspect-ratio: 1; max-width: 420px; width: 100%; justify-self: center; }
.orb--photo { position: absolute; inset: 6%; border: 8px solid rgba(255, 255, 255, .95); }
.orb--photo img { object-position: 50% 50%; }
.ring { position: absolute; inset: -4%; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .3); }
.badge { position: absolute; left: -4%; top: 58%; display: flex; flex-direction: column; gap: 2px; padding: 12px 18px; border-radius: 14px; background: #fff; box-shadow: 0 20px 40px -18px rgba(0, 0, 0, .45); }
.badge__t { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.badge__stars { color: #f5b301; letter-spacing: 2px; }
.experience h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 800; text-transform: uppercase; letter-spacing: .01em; margin-bottom: 22px; }
.experience blockquote { margin: 0 0 28px; padding-left: 20px; border-left: 3px solid var(--sky-100); }
.experience blockquote p { font-size: 1.08rem; line-height: 1.7; color: #fff; }
.experience blockquote footer { font-size: .9rem; color: var(--sky-100); }
.experience blockquote b { color: #fff; }

/* ---------- three ways ---------- */
.quote { padding: clamp(64px, 9vw, 112px) 0; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { position: relative; padding: 32px 28px 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .3s var(--ease), transform .3s var(--ease), border-color .2s; }
.step:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: transparent; }
.step__n { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 18px; border-radius: 50%; background: var(--tint); color: var(--blue); font-size: 1.3rem; font-weight: 800; transition: background .25s, color .25s; }
.step:hover .step__n { background: var(--blue); color: #fff; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { font-size: .94rem; margin-bottom: .8em; }
.step a { color: var(--blue); font-weight: 600; text-decoration: none; }
.step a:hover { text-decoration: underline; }
.quote__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; margin-top: 28px; padding: 18px 22px; border-radius: 14px; background: var(--cream); }
.news { margin: 0 !important; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; color: var(--ink); font-weight: 500; }
.news span { padding: 4px 10px; border-radius: 999px; background: var(--crimson); color: #fff; font-size: .7rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- about ---------- */
.about { padding: clamp(64px, 9vw, 112px) 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.about__copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.2rem); margin-bottom: 18px; }
.about__copy .pill { margin-top: 10px; }
.about__lists { display: grid; gap: 14px; }
.panel { padding: 26px 26px 12px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line); }
.panel h3 { font-size: 1.1rem; margin-bottom: 14px; }
.panel .ticks { margin: 0 0 14px !important; }

/* ---------- venues ---------- */
.venues { padding: clamp(64px, 9vw, 112px) 0; }
.venues .head h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.venues__grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 26px 14px; margin-bottom: 44px !important; }
.venues__grid a { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; }
.venues__img { width: 100%; max-width: 112px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--tint); border: 4px solid #fff; box-shadow: 0 0 0 1px var(--line), 0 10px 24px -16px rgba(29, 33, 82, .5); margin-bottom: 12px; transition: box-shadow .25s, transform .3s var(--ease); }
.venues__img img { width: 100%; height: 100%; object-fit: cover; }
.venues__img--mark { display: grid; place-items: center; background: #fff; }
.venues__img--mark img { width: 62%; height: 62%; object-fit: contain; }
.venues__grid a:hover .venues__img { box-shadow: 0 0 0 2px var(--blue), var(--shadow); transform: translateY(-3px); }
.venues__name { font-size: .8rem; font-weight: 600; line-height: 1.35; color: var(--ink); }
.venues__city { margin-top: 2px; font-size: .72rem; color: var(--blue); }

/* ---------- testimonials ---------- */
.praise { padding: clamp(64px, 9vw, 112px) 0; }
.praise__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.quotecard { margin: 0; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: 0 1px 0 var(--line); display: flex; flex-direction: column; }
.stars { color: #f5b301; letter-spacing: 3px; margin-bottom: 14px; }
.quotecard p { flex: 1; color: var(--ink); font-size: .98rem; }
.quotecard footer { padding-top: 16px; border-top: 1px solid var(--line); font-size: .9rem; }
.quotecard footer b { display: block; color: var(--ink); }
.quotecard footer span { color: var(--muted); font-size: .82rem; }

/* ---------- scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
	.venues__grid { grid-template-columns: repeat(4, 1fr); }
	.rentals__track { grid-auto-columns: calc((100% - 2 * 18px) / 3); }
}

@media (max-width: 900px) {

	.hero__inner, .feature__inner, .experience__inner, .about__inner { grid-template-columns: 1fr; }
	.hero__media { justify-self: center; max-width: 440px; order: -1; }
	.feature--flip .feature__media { order: 0; }
	.feature__media, .experience__media { max-width: 380px; }
	.stats { grid-template-columns: 1fr 1fr; }
	.stat:nth-child(2) { border-right: 0; }
	.stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
	.depts__grid { grid-template-columns: 1fr 1fr; }
	.steps, .praise__grid { grid-template-columns: 1fr; }
	.rentals__track { grid-auto-columns: calc((100% - 18px) / 2); }
	.head--split { align-items: center; }
}

@media (max-width: 560px) {
	body.home { font-size: 15px; }
	.depts__grid { grid-template-columns: 1fr; }
	.venues__grid { grid-template-columns: repeat(3, 1fr); gap: 20px 10px; }
	.venues__name { font-size: .72rem; }
	.rentals__track { grid-auto-columns: 78%; }
	.rentals__nav { display: none; }
	.badge { left: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.hero__media .arc path { stroke-dashoffset: 0; }
}
