/* Wiregrass Homes — red / black / white */
:root {
  --red: #e5242f;
  --red-dark: #c41b25;
  --black: #000000;
  --ink: #12121c;
  --gray-bg: #ececec;
  --gray-soft: #f4f4f4;
  --line: #c9c9cf;
  --line-dark: #2a2a2a;
  --text: #4b4b55;
  --text-dark: #a3a3aa;
  --white: #ffffff;
  --container: 1330px;
  --gutter: clamp(18px, 4.5vw, 48px);
  --head: "Poppins", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--body); font-weight: 300; font-size: 16px; line-height: 1.85; color: var(--text); background: var(--white); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-family: var(--head); font-weight: 400; color: var(--ink); line-height: 1.15; }
p { margin: 0 0 1.6em; }
p:last-child { margin-bottom: 0; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* Heading pattern: thin line + heavy red line */
.title { font-size: clamp(32px, 3.6vw, 44px); font-weight: 300; letter-spacing: -.035em; line-height: 1.12; }
.title strong { display: inline; font-weight: 700; color: var(--red); letter-spacing: -.045em; }
.title.inline strong { display: inline; }
.dark { background: var(--black); color: var(--white); }
.dark h1, .dark h2, .dark h3 { color: var(--white); }

.eyebrow { display: inline-flex; align-items: center; gap: 18px; margin-bottom: 34px; font-family: var(--head); font-size: 17px; font-weight: 400; color: var(--ink); line-height: 1; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: var(--red); }
.eyebrow.ink::before { background: var(--ink); }
.dark .eyebrow { color: var(--white); }

/* ---------- Buttons (sharp) ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 38px; min-height: 47px; border: 0; border-radius: 0; font-family: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; line-height: 1.35; text-align: center; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(229, 36, 47, .8); }
.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--black); color: var(--white); transform: translateY(-2px); }

.section { padding: clamp(72px, 8vw, 104px) 0; }
.head-split { display: grid; gap: 28px; margin-bottom: clamp(48px, 6vw, 70px); }
.head-split p { font-size: 16px; }
@media (min-width: 900px) { .head-split { grid-template-columns: 506px minmax(0, 1fr); gap: 0; } .head-split > div:last-child { padding-top: 22px; } }

.rule-title { display: flex; align-items: center; gap: 56px; margin-bottom: 68px; font-family: var(--head); font-size: 21px; font-weight: 400; color: var(--ink); }
.rule-title b { font-weight: 600; }
.rule-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.dark .rule-title { color: var(--white); }
.dark .rule-title::after { background: #3a3a3a; }

/* ---------- Header (floating white bar) ---------- */
.header { position: absolute; top: 28px; left: 0; right: 0; z-index: 50; }
.header-bar { width: calc(100% - 2 * var(--gutter)); max-width: 1300px; margin: 0 auto; background: #f4f4f4; display: flex; align-items: center; gap: 24px; min-height: 80px; padding: 0 28px 0 40px; transition: box-shadow .3s, min-height .3s; }
.header.fixed { position: fixed; top: 0; animation: drop .45s var(--ease); }
.header.fixed .header-bar { width: 100%; max-width: none; min-height: 68px; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .35); }
@keyframes drop { from { transform: translateY(-100%); } to { transform: none; } }
.logo { display: inline-flex; align-items: center; gap: 22px; font-family: var(--head); font-size: 24px; color: var(--ink); letter-spacing: -.02em; flex-shrink: 0; line-height: 1; }
.logo b { font-weight: 600; }
.logo span { font-weight: 300; }
.logo .tag { background: var(--black); color: var(--white); font-family: var(--body); font-size: 14px; font-weight: 400; letter-spacing: 0; padding: 6px 12px; }
.nav { display: none; margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 18px; margin: 0; padding: 0; }
.nav a { position: relative; font-size: 13px; font-weight: 400; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); white-space: nowrap; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--red); transition: right .3s var(--ease); }
.nav a:hover::after { right: 0; }
.header-cta { display: none; margin-left: 16px; flex-shrink: 0; }
.header-cta .btn { width: auto; padding: 0 28px; white-space: nowrap; }
.burger { margin-left: auto; width: 46px; height: 46px; border: 1px solid var(--line); background: transparent; color: var(--ink); display: grid; place-items: center; }
.burger svg { width: 22px; height: 22px; }
@media (min-width: 1180px) { .nav, .header-cta { display: block; } .burger { display: none; } }
/* Laptop: drop the location tag, tighten menu and button so everything fits */
@media (min-width: 1180px) and (max-width: 1559px) {
  .header-bar { gap: 14px; padding: 0 16px 0 24px; }
  .logo { font-size: 21px; }
  .logo .tag { display: none; }
  .nav ul { gap: 15px; }
  .nav a { font-size: 11.5px; letter-spacing: .04em; }
  .header-cta { margin-left: 4px; }
  .header-cta .btn { width: auto; padding: 0 18px; font-size: 11.5px; }
}
@media (min-width: 1180px) and (max-width: 1299px) {
  .nav ul { gap: 12px; }
  .nav a { letter-spacing: .02em; }
}
@media (max-width: 1179px) { .header { top: 0; } .header-bar { width: 100%; padding: 0 var(--gutter); min-height: 70px; } }
@media (max-width: 520px) { .logo { font-size: 20px; } .logo .tag { display: none; } }

.drawer { position: fixed; inset: 0; z-index: 100; background: var(--black); color: var(--white); display: flex; flex-direction: column; padding: 14px var(--gutter) 32px; overflow-y: auto; transform: translateX(100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
.drawer.open { transform: none; visibility: visible; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; min-height: 56px; margin-bottom: 24px; }
.drawer .logo { color: var(--white); }
.drawer .burger { color: var(--white); border-color: #333; margin: 0; display: grid; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; padding: 17px 0; font-family: var(--head); font-size: 24px; font-weight: 300; border-bottom: 1px solid #222; }
.drawer nav a svg { width: 20px; height: 20px; color: var(--red); }
.drawer .btn { margin-top: 28px; }
.drawer-foot { margin-top: auto; padding-top: 32px; color: var(--text-dark); font-size: 14px; }
body.locked { overflow: hidden; }

/* ---------- Hero ---------- */
.hero { position: relative; background: #140808; color: var(--white); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; transform: scale(1.06); animation: heroZoom 16s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #1a0c0b 0%, #1a0c0b 34%, rgba(26, 12, 11, .82) 46%, rgba(26, 12, 11, .25) 62%, rgba(26, 12, 11, 0) 76%); }
.hero-inner { padding-top: 172px; padding-bottom: 96px; }
.hero .eyebrow { color: var(--white); font-size: 19px; letter-spacing: .02em; }
.hero h1 { color: var(--white); font-size: clamp(40px, 5vw, 64px); font-weight: 200; letter-spacing: -.045em; line-height: 1.12; margin-bottom: 34px; }
.hero h1 strong { display: inline; font-weight: 700; color: var(--red); letter-spacing: -.05em; }
.hero p { font-size: 17px; color: rgba(255, 255, 255, .92); max-width: 660px; margin-bottom: 1.8em; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 8px; }
.hero-actions .btn { min-width: 200px; }

.strip { background: var(--black); color: var(--white); }
.strip .container { display: grid; }
.strip .slash { display: none; }
.strip a { display: flex; align-items: center; gap: 20px; padding: 24px 0; border-bottom: 1px solid #1f1f1f; }
.strip a:last-child { border-bottom: 0; }
.strip .num { width: 37px; height: 37px; border: 1px solid #555; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; font-size: 13px; color: var(--red); transition: background .3s, color .3s, border-color .3s; }
.strip a:hover .num { background: var(--red); color: var(--white); border-color: var(--red); }
.strip strong { display: block; font-family: var(--head); font-weight: 300; font-size: 24px; line-height: 1.2; }
.strip small { font-size: 14.5px; color: rgba(255, 255, 255, .85); }
@media (min-width: 860px) {
  .strip .container { grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center; }
  .strip a { border: 0; padding: 28px 0; justify-self: center; }
  .strip a:first-child { justify-self: start; padding-left: 20px; }
  .strip a:last-child { justify-self: end; }
  .strip .slash { display: block; width: 1px; height: 66px; background: #444; transform: rotate(14deg); }
}

/* ---------- Rentals ---------- */
.rentals { display: grid; gap: 17px; }
@media (min-width: 680px) { .rentals { grid-template-columns: repeat(2, 1fr); } .rentals .notify { grid-column: 1 / -1; } }
@media (min-width: 1060px) { .rentals { grid-template-columns: repeat(3, 1fr); } .rentals .notify { grid-column: auto; } }
.listing { background: var(--gray-bg); display: flex; flex-direction: column; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.listing:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(0, 0, 0, .45); }
.listing-img { aspect-ratio: 400 / 298; overflow: hidden; }
.listing-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.listing:hover .listing-img img { transform: scale(1.06); }
.listing-body { padding: 26px 32px 30px; display: flex; flex-direction: column; flex: 1; }
.price { font-family: var(--head); font-size: 31px; font-weight: 500; color: var(--ink); line-height: 1.2; }
.price small { font-size: 19px; font-weight: 300; }
.addr { font-size: 16px; color: var(--ink); margin: 4px 0 22px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #8f99ad; border-bottom: 1px solid #8f99ad; padding: 12px 10px 10px; margin-bottom: 26px; }
.specs div { font-size: 16px; color: var(--ink); line-height: 1.6; }
.specs div::before { content: ""; display: block; width: 16px; height: 1px; background: var(--ink); margin-bottom: 10px; }
.meta { display: grid; grid-template-columns: auto 1fr; row-gap: 6px; font-size: 16px; color: var(--ink); }
.meta b { font-weight: 600; text-align: right; }
.listing .more { margin-top: 26px; }

.notify { background: var(--black); color: var(--white); padding: 58px 40px 44px; display: flex; flex-direction: column; min-height: 100%; }
.notify .eyebrow { margin-bottom: 30px; color: var(--white); }
.notify h3 { color: var(--white); font-size: clamp(26px, 2.3vw, 32px); font-weight: 400; line-height: 1.3; margin-bottom: 26px; }
.notify h3 em { font-style: normal; color: var(--red); }
.notify p { color: var(--white); font-size: 16px; }
.notify .btn { margin-top: auto; align-self: flex-start; }
.notify .bell { margin: 30px 0 34px; width: 54px; height: 54px; border: 1px solid #333; display: grid; place-items: center; color: var(--red); }
.notify .bell svg { width: 24px; height: 24px; animation: ring 3.2s ease-in-out infinite; transform-origin: 50% 10%; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 64% { transform: rotate(16deg); } 70% { transform: rotate(-14deg); } 76% { transform: rotate(10deg); } 82% { transform: rotate(-6deg); } }

/* Learn more link with long underline */
.more { display: inline-block; width: 215px; max-width: 100%; padding-bottom: 12px; border-bottom: 1px solid var(--red); font-family: var(--head); font-size: 16px; font-weight: 300; color: var(--red); position: relative; transition: letter-spacing .3s var(--ease); }
.more::after { content: "→"; position: absolute; right: 0; top: 0; opacity: 0; transform: translateX(-10px); transition: opacity .3s, transform .3s var(--ease); }
.more:hover::after { opacity: 1; transform: none; }

/* ---------- Sell ---------- */
.sell { padding: clamp(80px, 9vw, 108px) 0 clamp(80px, 9vw, 108px); }
.sell-grid { display: grid; gap: 52px; }
@media (min-width: 1020px) { .sell-grid { grid-template-columns: 494px minmax(0, 1fr); gap: 0; align-items: start; } .reasons { margin-top: 50px; } }
.sell-text .title { margin-bottom: 40px; }
.sell-text p { color: var(--white); font-size: 16px; }
.sell-text .btn { margin-top: 18px; }
.note { display: flex; align-items: center; gap: 22px; margin-top: 46px !important; font-size: 16px; font-weight: 400; }
.note::before { content: ""; width: 8px; height: 8px; background: var(--red); flex-shrink: 0; }
.reasons { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reason { border: 1px solid #2f2f2f; aspect-ratio: 1 / 1; padding: 44px 26px 18px 26px; display: flex; flex-direction: column; justify-content: space-between; transition: border-color .35s, background .35s; }
.reason:hover { border-color: var(--red); background: #0b0b0b; }
.reason p { margin: 0; font-family: var(--head); font-size: 17px; font-weight: 400; line-height: 1.6; color: var(--white); }
.reason .n { align-self: flex-end; font-family: var(--head); font-size: 46px; font-weight: 200; line-height: 1; color: var(--red); transition: transform .4s var(--ease); }
.reason:hover .n { transform: translateY(-6px); }
@media (max-width: 759px) { .reason { aspect-ratio: auto; min-height: 170px; padding: 22px 18px 14px; } .reason p { font-size: 15px; line-height: 1.5; } .reason .n { font-size: 38px; } }

/* ---------- Conditions ---------- */
.cond-grid { display: grid; gap: 18px; }
@media (min-width: 640px) { .cond-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .cond-grid { grid-template-columns: repeat(3, 1fr); } }
.cond { background: var(--gray-bg); padding: 48px 30px 54px; display: flex; flex-direction: column; min-height: 454px; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.cond:hover { transform: translateY(-6px); box-shadow: 0 28px 50px -30px rgba(0, 0, 0, .4); }
.cond-ic { position: relative; width: 48px; height: 48px; margin-bottom: 48px; color: var(--ink); }
.cond-ic > svg:first-child { width: 48px; height: 48px; stroke-width: 1.7; }
.cond-ic .sub { position: absolute; right: -4px; bottom: -2px; width: 26px; height: 26px; border-radius: 50%; background: var(--gray-bg); display: grid; place-items: center; color: var(--red); transition: transform .5s var(--ease); }
.cond-ic .sub svg { width: 20px; height: 20px; stroke-width: 2.2; }
.cond:hover .cond-ic .sub { transform: rotate(-18deg) scale(1.15); }
.cond h3 { font-size: 22px; margin-bottom: 18px; }
.cond p { font-size: 15.5px; color: var(--ink); line-height: 1.6; margin-bottom: 1.5em; }
.cond .more { margin-top: auto; }
.cond.black { background: var(--black); }
.cond.black .cond-ic { color: var(--white); }
.cond.black .cond-ic .sub { background: var(--black); }
.cond.black h3 { color: var(--red); font-size: 30px; }
.cond.black p { color: var(--white); font-size: 16px; font-weight: 400; max-width: 230px; }
.cond.black .btn { margin-top: auto; align-self: flex-start; padding: 14px 28px; max-width: 100%; text-align: left; }

/* ---------- Markets ---------- */
.markets { display: grid; grid-template-columns: 1fr; }
@media (min-width: 620px) { .markets { grid-template-columns: repeat(2, 1fr); row-gap: 40px; } }
@media (min-width: 1060px) { .markets { grid-template-columns: repeat(4, 1fr); row-gap: 0; } }
.market { position: relative; padding: 32px 22px 30px; display: flex; flex-direction: column; border-bottom: 1px solid #262626; transition: background .35s; }
.market:hover { background: #0d0d0d; }
@media (min-width: 620px) { .market { border-bottom: 0; } .market:nth-child(odd) { border-right: 1px solid #2c2c2c; } }
@media (min-width: 1060px) { .market { min-height: 350px; } .market:not(:last-child) { border-right: 1px solid #2c2c2c; } }
.market .num { position: absolute; top: 4px; right: 22px; font-size: 13px; color: var(--red); }
.abbr { display: block; width: 116px; height: auto; margin-bottom: 30px; overflow: visible; }
.abbr text { font-family: var(--head); font-weight: 500; font-size: 92px; letter-spacing: -1px; fill: transparent; stroke: var(--red); stroke-width: 1.1; stroke-linejoin: round; transition: fill .5s var(--ease); }
.market:hover .abbr text { fill: var(--red); }
.market h3 { font-size: 22px; font-weight: 300; margin-bottom: 26px; }
.market p { color: var(--text-dark); font-size: 16px; line-height: 1.9; }
.center-cta { display: flex; justify-content: center; margin-top: 40px; }
.center-cta .btn { min-width: 264px; }

/* ---------- Local info ---------- */
.insight { background: var(--gray-bg); }
.info-grid { display: grid; gap: 56px; }
@media (min-width: 980px) { .info-grid { grid-template-columns: 534px minmax(0, 1fr); gap: 0; } }
.info-grid .kicker { max-width: none; font-family: var(--head); font-size: clamp(30px, 3vw, 40px); font-weight: 300; color: var(--ink); letter-spacing: -.03em; line-height: 1.2; margin: 26px 0 34px; }
.info-grid .kicker strong { font-weight: 700; color: var(--black); }
.info-grid p { font-size: 16px; max-width: 420px; }
.info-grid .btn { margin-top: 8px; }
.topics .eyebrow { margin-bottom: 30px; }
.topics ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid #a9a9b3; }
.topics li { border-bottom: 1px solid #cfcfd5; }
.topics a { display: flex; align-items: center; gap: 30px; padding: 19px 0 20px; font-family: var(--head); font-size: 16px; font-weight: 300; color: var(--ink); transition: color .3s, padding .35s var(--ease); }
.topics a::before { content: ""; width: 21px; height: 2px; background: var(--red); flex-shrink: 0; transition: width .35s var(--ease); }
.topics a:hover { color: var(--red); padding-left: 6px; }
.topics a:hover::before { width: 34px; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 48px; }
@media (min-width: 980px) { .about-grid { grid-template-columns: 536px 1fr; gap: 56px; align-items: start; } }
.about-media { position: relative; overflow: hidden; }
.about-media img { width: 100%; aspect-ratio: 536 / 580; object-fit: cover; transition: transform 1.2s var(--ease); }
.about-media:hover img { transform: scale(1.04); }
.about-media .float { position: absolute; right: 0; bottom: 25px; width: 366px; max-width: 84%; background: var(--black); color: var(--white); padding: 22px 31px 28px; font-size: 16px; line-height: 1.5; }
.about-media .float strong { display: block; font-weight: 600; margin-bottom: 2px; }
.about-text { padding-top: 26px; }
.about-text .title { margin-bottom: 30px; }
.about-text p { font-size: 16px; }
.quote { border-left: 3px solid var(--red); padding: 4px 0 4px 18px; font-weight: 600; color: var(--text) !important; line-height: 1.5; }
.about-text .btn { margin-top: 6px; min-width: 250px; }

/* ---------- FAQ ---------- */
.faq-sec { background: var(--gray-soft); }
.faq-grid { display: grid; gap: 44px; }
@media (min-width: 980px) { .faq-grid { grid-template-columns: 534px 1fr; gap: 0; } }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 16px; font-family: var(--head); font-size: 17px; font-weight: 300; color: var(--ink); cursor: pointer; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--red); }
.faq summary svg { width: 20px; height: 20px; flex-shrink: 0; stroke-width: 1.6; transition: transform .4s var(--ease), color .25s; }
.faq details[open] summary { color: var(--red); }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq .ans { padding: 0 56px 22px 16px; font-size: 15.5px; }

/* ---------- CTA ---------- */
.cta-band { background: var(--red); color: var(--white); position: relative; overflow: hidden; }
.cta-band .container { display: grid; gap: 34px; padding-top: clamp(72px, 9vw, 108px); padding-bottom: clamp(72px, 9vw, 108px); }
.cta-band h2 { font-size: clamp(32px, 3.6vw, 44px); font-weight: 300; color: var(--white); line-height: 1.15; margin-bottom: 30px; }
.cta-band h2 strong { display: inline; font-weight: 700; }
.cta-band p { margin: 0; color: var(--white); font-size: 16px; }
.cta-band p.lead2 { font-weight: 500; margin-bottom: 4px; }
.cta-band .btn { min-width: 250px; }
@media (min-width: 900px) { .cta-band .container { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--white); padding-top: 86px; overflow: hidden; font-family: var(--head); font-weight: 300; }
.footer-grid { display: grid; gap: 40px 24px; grid-template-columns: 1fr 1fr; }
.footer-brand { grid-column: 1 / -1; }
.footer-brand .flogo { font-size: 24px; font-weight: 400; letter-spacing: -.01em; }
.footer-brand .flogo span { color: var(--red); }
.footer-brand p { font-size: 16px; line-height: 1.6; max-width: 270px; margin-top: 8px; }
.footer h4 { color: var(--white); font-size: 16px; font-weight: 500; margin-bottom: 18px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer ul a { font-size: 16.5px; transition: color .2s; }
.footer ul a:hover { color: var(--red); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .footer-grid { grid-template-columns: 434px 268px 278px 1fr; gap: 0; } .footer-brand { grid-column: auto; } }
.footer-line { height: 1px; background: rgba(229, 36, 47, .6); margin-top: 92px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding: 30px 0 0; color: #8b8b8b; font-size: 16px; }
.footer-word { display: block; width: 100%; max-width: 1300px; height: auto; margin: 40px auto 0; padding: 0 var(--gutter); }

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border: 0; background: var(--red); color: var(--white); display: grid; place-items: center; opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease); }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .08s; }
.reveal[data-d="2"] { transition-delay: .16s; }
.reveal[data-d="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Tablet / phone ---------- */
@media (max-width: 1019px) {
  .hero-bg { width: 100%; }
  .hero::before { background: linear-gradient(90deg, rgba(26, 12, 11, .94) 0%, rgba(26, 12, 11, .78) 55%, rgba(26, 12, 11, .45) 100%); }
  .hero-inner { padding-top: 140px; }
}
@media (max-width: 559px) {
  body { font-size: 15.5px; }
  .eyebrow { font-size: 15px; margin-bottom: 24px; }
  .hero-inner { padding-top: 116px; padding-bottom: 64px; }
  .hero p { font-size: 15.5px; }
  .hero h1 br { display: none; }
  .hero-actions .btn, .cta-band .btn, .center-cta .btn { width: 100%; min-width: 0; }
  .rule-title { gap: 24px; margin-bottom: 36px; font-size: 18px; }
  .listing-body { padding: 22px 22px 26px; }
  .notify { padding: 40px 26px 32px; }
  .notify h3 { font-size: 27px; }
  .cond { min-height: 0; padding: 36px 24px 40px; }
  .cond-ic { margin-bottom: 30px; }
  .about-media .float { width: auto; left: 18px; right: 0; bottom: 18px; padding: 18px 22px; }
  .faq summary { padding: 16px 4px; font-size: 16px; }
  .faq .ans { padding: 0 4px 20px; }
  .footer-bottom { font-size: 14px; }
}

/* =========================================================
   Effects — transform/opacity only, disabled for reduced motion
   ========================================================= */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); pointer-events: none; }

/* Hero parallax (JS sets --py) */
.hero-bg { transform: translate3d(0, var(--py, 0px), 0); will-change: transform; }

/* Red word underline draws in when its heading reveals */
.title strong, .hero h1 strong, .page-hero h1 strong { background-image: linear-gradient(rgba(229, 36, 47, .38), rgba(229, 36, 47, .38)); background-repeat: no-repeat; background-position: 0 100%; background-size: 0 2px; transition: background-size 1s var(--ease) .45s; }
.reveal.in .title strong, .title.reveal.in strong, h1.reveal.in strong { background-size: 100% 2px; }

/* Button shine */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; z-index: -1; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .28), transparent); transform: skewX(-20deg); transition: left .7s var(--ease); }
.btn:hover::after { left: 130%; }
.btn-white::after { background: linear-gradient(100deg, transparent, rgba(229, 36, 47, .14), transparent); }

/* Spotlight that follows the cursor on dark boxes (JS sets --mx/--my) */
.spot { position: relative; }
.spot::after { content: ""; position: absolute; inset: 0; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity .35s; background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(229, 36, 47, .16), transparent 65%); }
.spot:hover::after { opacity: 1; }
.spot.on-light::after { background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(229, 36, 47, .09), transparent 65%); }

/* Image wipe reveal */
.js .about-media.reveal img, .js .listing.reveal .listing-img img { clip-path: inset(0 100% 0 0); transition: clip-path 1.1s var(--ease) .15s, transform .9s var(--ease); }
.js .about-media.reveal.in img, .js .listing.reveal.in .listing-img img { clip-path: inset(0 0 0 0); }

/* Staggered list items */
.js .stagger > * { opacity: 0; transform: translateX(-14px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js .stagger.in > * { opacity: 1; transform: none; }

/* Eyebrow line grows */
.js .reveal .eyebrow::before, .js .eyebrow.reveal::before { width: 0; transition: width .8s var(--ease) .2s; }
.js .reveal.in .eyebrow::before, .js .eyebrow.reveal.in::before { width: 32px; }

/* Number tick */
.count { font-variant-numeric: tabular-nums; }

/* Footer word lights up on hover */
.footer-word text { transition: opacity .6s; }
.footer-word:hover text { opacity: .85; }

@media (prefers-reduced-motion: reduce) {
  .hero-bg { transform: none !important; }
  .js .stagger > *, .js .about-media.reveal img, .js .listing.reveal .listing-img img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .progress { display: none; }
}
.spot.on-light::after { mix-blend-mode: normal; }
