 .home-properties-section { --section-heading-fill: var(--color-tertiary); padding: 46px 0 68px; background: var(--color-tertiary); } .home-properties-section__inner { width: min(1530px, 100% - 2 * var(--x-gap)); margin: 0 auto; } .home-properties-section__header { display: grid; gap: 16px; align-items: end; } .home-properties-section__lead { margin: 0; font-size: 16px; line-height: 1.7; } /* Filters */ .home-properties-section__filters { display: grid; gap: 12px; margin-top: 32px; } .home-properties-section__filters-label { font-weight: 900; font-size: 16px; line-height: 1.2; text-transform: uppercase; color: var(--color-primary); } .home-properties-section__select { position: relative; display: block; } .home-properties-section__select-input { display: block; width: 100%; height: 50px; padding: 0 44px 0 20px; border: 1px solid var(--color-quaternary); border-radius: 4px; background: #fff; font-weight: 700; font-size: 11px; line-height: 48px; text-transform: uppercase; color: var(--color-primary); cursor: pointer; } .home-properties-section__select-input:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 0; } .home-properties-section__select-icon { position: absolute; top: 50%; right: 22px; translate: 0 -50%; pointer-events: none; } .home-properties-section__reset { height: 50px; border-radius: 4px; background: var(--color-primary); font-weight: 700; font-size: 12px; line-height: 50px; text-align: center; text-transform: uppercase; color: #fff; cursor: pointer; transition: background-color .2s var(--easing); } .home-properties-section__reset:hover { background: #0a3466; } /* Grid */ .home-properties-section__grid { display: grid; gap: 48px 30px; margin-top: 40px; } .home-properties-section__empty { margin: 40px 0 0; text-align: center; font-size: 16px; } /* A class rather than [hidden]: the main.css reset reverts display, which overrides the attribute */ .home-properties-section__empty--hidden { display: none; } .home-properties-section__empty-reset { font-weight: 700; text-decoration: underline; color: var(--color-primary); cursor: pointer; } /* Card */ .property-card { display: flex; flex-direction: column; } .property-card--hidden { display: none; } .property-card__media { position: relative; aspect-ratio: 490 / 570; overflow: hidden; background: var(--color-primary); } .property-card__image { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--easing); } .property-card__image--placeholder { --placeholder-align: start start; } .property-card:hover .property-card__image { transform: scale(1.04); } .property-card__overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0, 0, 0, 0), #000); } .property-card__logo-wrap { position: absolute; left: 0; right: 0; bottom: 30px; display: flex; align-items: center; justify-content: center; height: 110px; padding: 0 60px; } .property-card__logo { width: auto; max-height: 100%; } .property-card__compare { position: absolute; right: 29px; bottom: 26px; display: grid; justify-items: center; gap: 7px; cursor: pointer; } .property-card__compare-input { display: grid; place-content: center; width: 14px; height: 14px; border-radius: 2px; background: #fff; cursor: pointer; } .property-card__compare-input:checked { background: var(--color-secondary); } .property-card__compare-input:checked::after { content: ""; width: 7px; height: 4px; border: solid var(--color-primary); border-width: 0 0 2px 2px; rotate: -45deg; translate: 0 -1px; } .property-card__compare-label { font-weight: 700; font-size: 8px; line-height: 1.2; text-transform: uppercase; color: #fff; } .property-card__body { display: flex; flex-direction: column; align-items: center; padding: 27px 22px 0; text-align: center; } .property-card__name { margin: 0; font-weight: 900; font-size: clamp(24px, 1.72vw, 30px); line-height: 1.2; text-transform: uppercase; color: var(--color-primary); } .property-card__meta { margin: 10px 0 0; font-weight: 500; font-size: 17px; line-height: 1.2; white-space: pre; } .property-card__amenities { display: flex; gap: 23px; margin: 26px 0 0; padding: 0; } .property-card__amenity { position: relative; display: flex; align-items: center; height: 22px; } /* Tooltip sits above the icon on small screens (no room beside the last icon), beside it on desktop */ /* Uploaded icons are sized by height; SVGs often report no intrinsic size, so the width follows the artwork */ .property-card__amenity-icon { width: auto; height: 21px; } .property-card__amenity-icon--placeholder { width: 21px; --placeholder-size: 0; } .property-card__amenity-tip { position: absolute; left: 50%; bottom: calc(100% + 12px); z-index: var(--z-index-overlay); translate: -50% 0; padding: 11px 17px; border-radius: 6px; background: var(--color-primary); font-weight: 500; font-size: 12px; line-height: 1.2; white-space: nowrap; color: var(--color-secondary); opacity: 0; visibility: hidden; transition: opacity .15s; } .property-card__amenity-tip::before { content: ""; position: absolute; top: 100%; left: 50%; translate: -50% 0; border: 6px solid transparent; border-top-color: var(--color-primary); } /* The pop animation's fill leaves a transform on each amenity, making it a stacking context that traps the tip's z-index — so lift the active amenity above its later siblings */ .property-card__amenity:hover, .property-card__amenity:focus-visible { z-index: var(--z-index-overlay); } .property-card__amenity:hover .property-card__amenity-tip, .property-card__amenity:focus-visible .property-card__amenity-tip { opacity: 1; visibility: visible; } .property-card__description { max-width: 398px; margin: 24px 0 0; font-size: 15px; line-height: 1.6; } /* Each button keeps a half-width column; a lone button centres instead of sitting in the left column */ .property-card__actions { display: flex; justify-content: center; gap: 15px; width: 100%; max-width: 402px; margin-top: 12px; } .property-card__button { flex: 0 0 calc((100% - 15px) / 2); display: flex; align-items: center; justify-content: center; height: 50px; padding: 0 12px; border: 1.5px solid var(--color-secondary); border-radius: 4px; font-weight: 700; font-size: 12px; line-height: 1.2; text-align: center; text-transform: uppercase; color: #000; transition: background-color .2s var(--easing); } .property-card__button:hover, .property-card__button:focus { background: var(--color-secondary); text-decoration: none; } @media (min-width: 768px) { .home-properties-section__filters { grid-template-columns: 1fr 1fr; } .home-properties-section__filters-label { grid-column: 1 / -1; } .home-properties-section__grid { grid-template-columns: repeat(2, 1fr); } .property-card:nth-child(even) { --d: .12s; } } @media (min-width: 1200px) { .home-properties-section { padding-top: 69px; } .home-properties-section__header { grid-template-columns: auto minmax(300px, 547px); justify-content: space-between; gap: 60px; } .home-properties-section__heading { white-space: nowrap; } .home-properties-section__filters { grid-template-columns: auto repeat(3, 1fr) 254px; align-items: center; gap: 19px; margin-top: 33px; } .home-properties-section__filters-label { grid-column: auto; margin-right: 2px; } .home-properties-section__grid { grid-template-columns: repeat(3, 1fr); gap: 60px 30px; margin-top: 50px; } .property-card:nth-child(even) { --d: 0s; } .property-card:nth-child(3n + 2) { --d: .12s; } .property-card:nth-child(3n) { --d: .24s; } .property-card__amenity-tip { top: 50%; bottom: auto; left: calc(100% + 12px); translate: 0 -50%; } .property-card__amenity-tip::before { top: 50%; left: auto; right: 100%; translate: 0 -50%; border-top-color: transparent; border-right-color: var(--color-primary); } } /* Scroll animations (components/motion.twig) */ /* Entrance tilts, slides and the scaled-up start of the animations briefly reach past the screen edge; clip them sideways only, so the page never scrolls horizontally (vertical overflow is untouched) */ .home-properties-section { overflow-x: clip; } .home-properties-section__lead { --d: .35s; } /* Filter bar drops in, one control after another */ @keyframes home-properties-drop { from { transform: translateY(-26px); opacity: 0; } } .motion .home-properties-section__filters > * { animation: home-properties-drop .6s calc(var(--i, 0) * 70ms) cubic-bezier(.34, 1.8, .64, 1) both; } .home-properties-section__filters > :nth-child(2) { --i: 1; } .home-properties-section__filters > :nth-child(3) { --i: 2; } .home-properties-section__filters > :nth-child(4) { --i: 3; } .home-properties-section__filters > :nth-child(5) { --i: 4; } /* Cards deal in from alternating tilts, staggered across each row; the photo settles, the logo rises and the amenity icons pop */ @keyframes home-properties-deal { from { transform: translateY(120px) rotate(var(--tilt)); opacity: 0; } } @keyframes home-properties-settle { from { scale: 1.4; } } @keyframes home-properties-pop { from { scale: 0; rotate: -30deg; } } .property-card { --tilt: -4deg; } .property-card:nth-child(even) { --tilt: 4deg; } .motion .property-card { animation: home-properties-deal .9s var(--d, 0s) var(--ease-back-soft) both; } .motion .property-card__image { animation: home-properties-settle 1.4s var(--d, 0s) var(--ease-out-soft) both; } .motion .property-card__logo-wrap { animation: reveal-rise .7s calc(var(--d, 0s) + .35s) var(--ease-out-soft) both; } .motion .property-card__amenity { animation: home-properties-pop .5s calc(var(--d, 0s) + .5s + var(--i, 0) * 60ms) var(--ease-pop) both; } .property-card__amenity:nth-child(2) { --i: 1; } .property-card__amenity:nth-child(3) { --i: 2; } .property-card__amenity:nth-child(4) { --i: 3; } .property-card__amenity:nth-child(5) { --i: 4; } .property-card__amenity:nth-child(6) { --i: 5; } /* Set by the filter script once a card has dealt in: it then animates cards itself (fade out, glide, pop in) */ .motion .property-card--settled { animation: none; }  .section-heading--center { text-align: center; } /* Eyebrow inside the heading: the heading tag itself adds nothing, so it looks the same as when separate */ .section-heading__heading { margin: 0; font: inherit; } .section-heading__eyebrow, .section-heading__title { display: block; } .section-heading__eyebrow { margin: 0; font-weight: 900; font-size: clamp(19px, 1.55vw, 27px); line-height: 1.2; text-transform: uppercase; color: var(--color-primary); } .section-heading--center .section-heading__eyebrow { margin-inline: auto; } .section-heading__eyebrow--light { color: #fff; } .section-heading__title { margin: 0; font-family: var(--font-family-secondary); font-weight: 900; font-size: clamp(33px, 4.57vw, 80px); line-height: 1.2; letter-spacing: .03em; text-transform: uppercase; color: var(--section-heading-fill, #fff); -webkit-text-stroke: max(2.5px, .05em) var(--color-primary); paint-order: stroke fill; } .section-heading__title { --d: .1s; } .section-heading__title--light { --letters-from: var(--color-secondary); color: var(--section-heading-fill, var(--color-primary)); -webkit-text-stroke-color: #fff; }  .home-neighborhood-section { --home-neighborhood-marker: #214075; padding-top: 55px; } .home-neighborhood-section__inner { display: grid; gap: 32px; width: min(1530px, 100% - 2 * var(--x-gap)); margin: 0 auto; } .home-neighborhood-section__lead { max-width: 917px; margin: 18px 0 0; font-size: 16px; line-height: 1.7; } .home-neighborhood-section__categories { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; } .home-neighborhood-section__category { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border: 1px solid var(--color-quaternary); border-radius: 4px; background: #fff; font-weight: 700; font-size: 12px; line-height: 1.6; text-transform: uppercase; color: #000; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; } .home-neighborhood-section__category:hover { border-color: var(--color-primary); } .home-neighborhood-section__category--active { border-color: var(--color-primary); background: var(--color-primary); color: #fff; } /* icons ship in mixed colours; normalise to black, and white on the active button */ .home-neighborhood-section__category-icon { filter: brightness(0); } .home-neighborhood-section__category-icon--active { filter: brightness(0) invert(1); } .home-neighborhood-section__properties { margin: 0; padding: 0; } .home-neighborhood-section__property { display: flex; align-items: center; gap: 23px; width: 100%; font-weight: 700; font-size: clamp(16px, 1.15vw, 20px); line-height: 2.28; text-align: left; text-transform: uppercase; color: #000; cursor: pointer; } .home-neighborhood-section__property:hover { color: var(--color-primary); } .home-neighborhood-section__pin { position: relative; flex: none; width: 15px; height: 20px; } .home-neighborhood-section__pin-icon { position: absolute; inset: 0; transition: opacity .2s; } .home-neighborhood-section__pin-icon--active { opacity: 0; } .home-neighborhood-section__pin-icon--on { opacity: 1; } .home-neighborhood-section__map { position: relative; height: max(420px, 40.46vw); max-height: 708px; margin-top: 40px; background: var(--color-primary); } .home-neighborhood-section__notice { position: absolute; inset: 0; display: grid; place-content: center; padding: var(--x-gap); margin: 0; text-align: center; color: #fff; } /* Marker content (rendered by Google Maps inside the map) */ /* Google anchors a marker at the bottom centre of its content, so the pin is the only thing in the flow — the logo floats beside it and can appear without shifting the pin off its spot */ .neighborhood-map__pin { position: relative; cursor: pointer; } .neighborhood-map__pin-icon { display: block; width: 26px; height: 35px; } .neighborhood-map__pin-logo { position: absolute; top: 50%; left: calc(100% + 14px); translate: 0 -50%; display: none; width: auto; max-width: 216px; max-height: 74px; } .neighborhood-map__pin-logo--visible { display: block; } .neighborhood-map__marker { display: grid; place-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--home-neighborhood-marker); } .neighborhood-map__marker-icon { filter: brightness(0) invert(1); } .neighborhood-map__marker--hidden { display: none; } .neighborhood-map__marker--open { outline: 3px solid var(--color-secondary); } /* Clicking a place opens its card above the marker */ .neighborhood-map__card { position: absolute; bottom: calc(100% + 12px); left: 50%; translate: -50% 0; display: none; width: max-content; max-width: 240px; padding: 12px 16px; border-radius: 4px; background: #fff; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); color: var(--color-primary); text-align: left; } .neighborhood-map__card::after { content: ""; position: absolute; top: 100%; left: 50%; translate: -50% 0; border: 7px solid transparent; border-top-color: #fff; } .neighborhood-map__marker--open .neighborhood-map__card { display: block; } .neighborhood-map__card-name { display: block; font-weight: 900; font-size: 14px; line-height: 1.3; text-transform: uppercase; } .neighborhood-map__card-link { display: inline-block; margin-top: 6px; font-weight: 700; font-size: 12px; color: var(--color-primary); text-decoration: underline; } @media (min-width: 768px) { .home-neighborhood-section__categories { grid-template-columns: repeat(4, 1fr); gap: 15px; } } @media (min-width: 1200px) { .home-neighborhood-section__inner { grid-template-columns: minmax(0, 1043px) auto; justify-content: space-between; gap: 60px; } .home-neighborhood-section__categories { gap: 16px; margin-top: 51px; } .home-neighborhood-section__properties { padding-top: 35px; } .home-neighborhood-section__property { white-space: nowrap; } } /* Scroll animations (components/motion.twig) */ /* Entrance tilts, slides and the scaled-up start of the animations briefly reach past the screen edge; clip them sideways only, so the page never scrolls horizontally (vertical overflow is untouched) */ .home-neighborhood-section { overflow-x: clip; } .home-neighborhood-section__lead { --d: .35s; } /* Category buttons flip up off their bottom edge */ @keyframes home-neighborhood-flip { from { transform: perspective(600px) rotateX(-95deg); opacity: 0; } } .motion .home-neighborhood-section__category { transform-origin: 50% 100%; animation: home-neighborhood-flip .7s calc(var(--i, 0) * 90ms) cubic-bezier(.34, 1.6, .64, 1) both; } .home-neighborhood-section__category:nth-child(2) { --i: 1; } .home-neighborhood-section__category:nth-child(3) { --i: 2; } .home-neighborhood-section__category:nth-child(4) { --i: 3; } /* The community list slides in while its pins, and the map's pins once it opens, drop with a bounce */ @keyframes home-neighborhood-slide { from { transform: translateX(30px); opacity: 0; } } @keyframes home-neighborhood-pin { 0% { transform: translateY(var(--fall)); opacity: 0; animation-timing-function: ease-in; } 45% { transform: none; opacity: 1; animation-timing-function: ease-out; } 62% { transform: translateY(calc(var(--fall) * .25)); animation-timing-function: ease-in; } 78% { transform: none; animation-timing-function: ease-out; } 89% { transform: translateY(calc(var(--fall) * .07)); animation-timing-function: ease-in; } 100% { transform: none; opacity: 1; } } .home-neighborhood-section__properties > li:nth-child(2) { --i: 1; } .home-neighborhood-section__properties > li:nth-child(3) { --i: 2; } .home-neighborhood-section__properties > li:nth-child(4) { --i: 3; } .home-neighborhood-section__properties > li:nth-child(5) { --i: 4; } .home-neighborhood-section__properties > li:nth-child(6) { --i: 5; } .home-neighborhood-section__properties > li:nth-child(7) { --i: 6; } .home-neighborhood-section__properties > li:nth-child(8) { --i: 7; } .motion .home-neighborhood-section__properties > li { animation: home-neighborhood-slide .6s calc(var(--i, 0) * 70ms) var(--ease-out-soft) both; } .motion .home-neighborhood-section__pin { --fall: -26px; animation: home-neighborhood-pin .8s calc(var(--i, 0) * 70ms) both; } /* The map opens from a small circle once it's in view (not tied to scroll, so it's never left half-open), and its pins drop in as the iris finishes. Both hold on frame 0 until the frame gets --open */ /* 71% just clears the corners (they sit 70.7% out), so the opening is visible right to its last frame. A gentle in-out curve rather than --ease-out: that one spends nearly all its travel in the first third */ @keyframes home-neighborhood-iris { from { clip-path: circle(8% at 50% 50%); } to { clip-path: circle(71% at 50% 50%); } } /* The clip goes on the map, not the frame: the script watches the frame, and an observer measures its target after the target's own clip-path, so a clipped frame would only ever count the small circle as visible */ .motion .home-neighborhood-section__map { animation: home-neighborhood-iris 1.3s cubic-bezier(.45, .05, .25, 1) both; } .motion .neighborhood-map__pin { --fall: -60px; animation: home-neighborhood-pin .9s calc(.85s + var(--i, 0) * 80ms) both; } .motion .home-neighborhood-section__map-frame:not(.home-neighborhood-section__map-frame--open) .home-neighborhood-section__map, .motion .home-neighborhood-section__map-frame:not(.home-neighborhood-section__map-frame--open) .neighborhood-map__pin { animation-play-state: paused; } /* Already on screen, unclipped, before this stylesheet arrived (e.g. landing on /#neighborhood): don't close it to replay */ .motion .home-neighborhood-section__map-frame--instant .home-neighborhood-section__map { animation: none; }  .home-amenities-section { padding: 56px 0 26px; } .home-amenities-section__inner { width: min(1530px, 100% - 2 * var(--x-gap)); margin: 0 auto; text-align: center; } .home-amenities-section__lead { max-width: 877px; margin: 14px auto 0; font-size: 16px; line-height: 1.7; } .home-amenities-section__viewport { margin-top: 31px; overflow: hidden; } .home-amenities-section__track { display: flex; width: max-content; margin: 0; padding: 0; animation: home-amenities-scroll calc(var(--count) * 12s) linear infinite; } .home-amenities-section__track:hover { animation-play-state: paused; } .home-amenities-section__item { flex: none; width: clamp(260px, 25.03vw, 438px); aspect-ratio: 438 / 600; } .home-amenities-section__image { width: 100%; height: 100%; object-fit: cover; } @keyframes home-amenities-scroll { to { translate: -50% 0; } } @media (prefers-reduced-motion: reduce) { .home-amenities-section__track { animation: none; } .home-amenities-section__viewport { overflow-x: auto; } } /* Scroll animation (components/motion.twig) */ .home-amenities-section__lead { --d: .35s; }  .home-tour-section { --section-heading-fill: var(--color-primary); padding: 56px 0; background: var(--color-primary); color: #fff; } .home-tour-section__inner { display: grid; gap: 40px; width: min(1530px, 100% - 2 * var(--x-gap)); margin: 0 auto; } .home-tour-section__lead { max-width: 602px; margin: 12px 0 0; font-size: 16px; line-height: 1.6; } .home-tour-section__features { display: grid; gap: 29px; margin: 18px 0 0; padding: 0; } .home-tour-section__feature { display: flex; align-items: center; gap: 21px; font-weight: 500; font-size: 17px; line-height: 1.2; } .home-tour-section__feature-icon { flex: none; } .home-tour-section__form { padding: 36px 24px 40px; border-radius: 4px; background: #fff; color: #000; } .home-tour-section__form-title { margin: 0; font-weight: 900; font-size: clamp(22px, 1.72vw, 30px); line-height: 1.2; text-transform: uppercase; color: var(--color-primary); } .home-tour-section__form-note { margin: 8px 0 0; font-size: 12px; line-height: 1.6; } .home-tour-section__notice { margin: 16px 0 0; padding: 12px 16px; border: 1px dashed var(--color-quaternary); font-size: 12px; } .home-tour-section__fields { display: grid; gap: 28px 19px; margin-top: 23px; } .home-tour-section__field { display: grid; gap: 12px; } .home-tour-section__label { font-weight: 900; font-size: 11px; line-height: 1.2; text-transform: uppercase; color: var(--color-primary); } .home-tour-section__input { display: block; width: 100%; height: 50px; padding: 0 16px; border: 1px solid var(--color-quaternary); border-radius: 4px; background: #fff; font: inherit; font-size: 11px; line-height: 1.2; color: var(--color-primary); } .home-tour-section__input::placeholder { color: var(--color-primary); opacity: 1; } .home-tour-section__input:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: 0; border-color: transparent; } .home-tour-section__select { position: relative; display: block; } /* Line-height of the box's inner height centres the chosen option; with appearance: none some browsers otherwise set it at the top */ .home-tour-section__input--select { line-height: 48px; padding-right: 44px; appearance: none; cursor: pointer; } .home-tour-section__select-icon { position: absolute; top: 50%; right: 18px; translate: 0 -50%; pointer-events: none; } .home-tour-section__properties { min-width: 0; margin: 0; padding: 0; border: 0; } /* A legend isn't a grid item of its fieldset, so the field's 12px gap doesn't reach it */ .home-tour-section__legend { margin-bottom: 12px; padding: 0; } .home-tour-section__choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px 19px; } .home-tour-section__choice { display: flex; align-items: center; gap: 12px; min-height: 50px; padding: 0 16px; border: 1px solid var(--color-quaternary); border-radius: 4px; background: #fff; font-size: 11px; line-height: 1.2; color: var(--color-primary); cursor: pointer; transition: border-color .2s var(--easing), background-color .2s var(--easing), color .2s var(--easing); } .home-tour-section__choice:hover { border-color: var(--color-primary); } /* Ticked: the tile turns navy, its label bold white, and the box yellow with a navy tick */ .home-tour-section__choice:has(:checked) { border-color: var(--color-primary); background: var(--color-primary); font-weight: 700; color: #fff; } .home-tour-section__choice:has(:focus-visible) { outline: 2px solid var(--color-secondary); outline-offset: 2px; } .home-tour-section__checkbox { display: grid; place-content: center; flex: none; width: 18px; height: 18px; margin: 0; border: 1.5px solid currentColor; border-radius: 3px; background: #fff; appearance: none; cursor: pointer; transition: background-color .2s var(--easing), border-color .2s var(--easing); } .home-tour-section__checkbox::before { content: ''; width: 9px; height: 5px; margin-top: -2px; border-bottom: 2px solid var(--color-primary); border-left: 2px solid var(--color-primary); rotate: -45deg; scale: 0; transition: scale .2s var(--ease-back); } .home-tour-section__checkbox:checked { border-color: var(--color-secondary); background: var(--color-secondary); } .home-tour-section__checkbox:checked::before { scale: 1; } .home-tour-section__consent { margin-top: 28px; font-size: 11px; line-height: 1.6; } .home-tour-section__consent p { margin: 0; } .home-tour-section__consent a { color: inherit; text-decoration: underline; } .home-tour-section__error { margin: 24px 0 0; padding: 12px 16px; border-left: 3px solid #c0392b; background: #fdf0ee; font-size: 12px; line-height: 1.5; color: #8e2a1f; } /* A class rather than [hidden]: the main.css reset reverts display, which overrides the attribute */ .home-tour-section__error--hidden { display: none; } /* Google's checkbox is a fixed 304 × 78 iframe: hold its space so the button doesn't jump when it loads, and scale it to fit phones narrower than 400px (the negative margin takes back the space it gives up) */ .home-tour-section__recaptcha { --recaptcha-scale: .75; contain: inline-size; /* the iframe's unscaled 304px would otherwise widen the form */ height: 78px; margin: 24px 0 calc(78px * (var(--recaptcha-scale) - 1)); scale: var(--recaptcha-scale); transform-origin: 0 0; } @media (min-width: 400px) { .home-tour-section__recaptcha { --recaptcha-scale: 1; } } .home-tour-section__submit { display: flex; align-items: center; justify-content: center; width: 100%; height: 50px; margin-top: 35px; padding: 0 16px; border: 0; border-radius: 4px; background: var(--color-secondary); font: inherit; font-weight: 700; font-size: 12px; text-transform: uppercase; color: var(--color-primary); cursor: pointer; transition: background-color .2s var(--easing); } .home-tour-section__submit:disabled { opacity: .5; cursor: not-allowed; } .home-tour-section__submit:not(:disabled):hover, .home-tour-section__submit:focus-visible { background: color-mix(in srgb, var(--color-secondary), #fff 15%); } .home-tour-section__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } @media (min-width: 768px) { .home-tour-section__form { padding: 45px 64px 44px; } .home-tour-section__fields { grid-template-columns: 1fr 1fr; } .home-tour-section__field--full { grid-column: 1 / -1; } .home-tour-section__submit { width: 252px; } } @media (min-width: 1200px) { .home-tour-section { padding: 83px 0 82px; } .home-tour-section__inner { grid-template-columns: 1fr 750px; align-items: start; gap: 60px; } .home-tour-section__intro { padding: 20px 0 0 15px; } } /* Scroll animations (components/motion.twig). The whole section waits until it's 70% up the screen, then: title bounces in (section-heading), copy rises, the checklist slides in with its icons popping, and the form card tilts in */ @keyframes home-tour-form { from { transform: translateX(80px) rotate(4deg); opacity: 0; } } @keyframes home-tour-step { from { transform: translateX(-16px); opacity: 0; } } @keyframes home-tour-tick { from { scale: 0; rotate: -90deg; } } /* Entrance tilts, slides and the scaled-up start of the animations briefly reach past the screen edge; clip them sideways only, so the page never scrolls horizontally (vertical overflow is untouched) */ .home-tour-section { overflow-x: clip; } .home-tour-section__lead { --d: .35s; } .motion .home-tour-section__form { animation: home-tour-form 1s .2s var(--ease-out-soft) both; } .home-tour-section__form-title { --d: .55s; } .home-tour-section__form-note { --d: .65s; } .home-tour-section__feature:nth-child(2) { --i: 1; } .home-tour-section__feature:nth-child(3) { --i: 2; } .home-tour-section__feature:nth-child(4) { --i: 3; } .motion .home-tour-section__feature { animation: home-tour-step .6s calc(.75s + var(--i, 0) * 150ms) var(--ease-out-soft) both; } .motion .home-tour-section__feature-icon { animation: home-tour-tick .6s calc(.7s + var(--i, 0) * 150ms) var(--ease-pop) both; }  .footer { padding: 29px 0 15px; } /* Mobile and tablet: one centred column. From 1200px the logo sits left and the links right */ .footer__inner { display: grid; justify-items: center; gap: 28px; width: min(1530px, 100% - 2 * var(--x-gap)); margin: 0 auto; } .footer__logo-image { width: clamp(200px, 17.93vw, 314px); } .footer__nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 34px; margin: 0; padding: 0; } .footer__nav-link { font-weight: 900; font-size: clamp(15px, 1.09vw, 19px); line-height: 1.2; text-transform: uppercase; color: var(--color-primary); } .footer__nav-link:hover, .footer__nav-link:focus { text-decoration: underline; text-decoration-color: var(--color-secondary); text-decoration-thickness: 3px; text-underline-offset: 5px; } .footer__bottom { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 12px 18px; } .footer__menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin: 0; padding: 0; } /* component:menu renders .menu__link — target by descendant, not a chained BEM class */ .footer__menu .menu__link { font-size: 11px; line-height: 1.2; color: var(--color-primary); } .footer__menu .menu__item { font-size: 11px; line-height: 1.2; } /* a button, so it doesn't get the global a:hover underline: match the links by hand */ .footer__consent { padding: 0; border: 0; background: none; font: inherit; text-underline-offset: 0.4em; cursor: pointer; } .footer__consent:hover, .footer__consent:focus-visible { text-decoration: underline; } .footer__parent-logo { width: 115px; height: 32px; object-fit: contain; } @media (min-width: 1200px) { .footer__inner { grid-template-columns: auto 1fr; justify-items: start; align-items: end; gap: 0; } .footer__logo { grid-row: 1 / 3; margin-left: -14px; } .footer__nav { justify-content: flex-end; justify-self: end; align-self: center; padding-top: 54px; } .footer__bottom { justify-content: flex-end; justify-self: end; padding-bottom: 3px; } } /* Scroll animations (components/motion.twig): the logo wobbles in like a sticker, the community links rise */ @keyframes footer-wobble { 0% { rotate: -14deg; scale: .8; opacity: 0; } 35% { rotate: 6deg; scale: 1.04; opacity: 1; } 55% { rotate: -3deg; scale: .99; } 75% { rotate: 1.5deg; } 100% { rotate: 0deg; scale: 1; opacity: 1; } } @keyframes footer-rise { from { transform: translateY(100%); opacity: 0; } } .motion .footer__logo-image { animation: footer-wobble 1.2s ease-out both; } .footer__nav-item:nth-child(2) { --i: 1; } .footer__nav-item:nth-child(3) { --i: 2; } .footer__nav-item:nth-child(4) { --i: 3; } .footer__nav-item:nth-child(5) { --i: 4; } .footer__nav-item:nth-child(6) { --i: 5; } .footer__nav-item:nth-child(7) { --i: 6; } .footer__nav-item:nth-child(8) { --i: 7; } .motion .footer__nav-item { animation: footer-rise .6s calc(var(--i, 0) * 50ms) var(--ease-out-soft) both; }  /* Mobile and tablet: the two lines stack centred, matching the footer. From 1200px they sit at either end */ .copyright { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; line-height: 1; padding: 1rem var(--x-gap); color: #fff; background-color: #121212; } .copyright img { height: 1.1em; vertical-align: middle; } @media (min-width: 1200px) { .copyright { flex-direction: row; justify-content: space-between; flex-wrap: wrap; text-align: left; } }  .specials-popup { position: fixed; right: 12px; bottom: 12px; left: 12px; z-index: var(--z-index-overlay); display: grid; grid-template-columns: 96px 1fr; background: #fff; box-shadow: 0 18px 50px rgba(0, 0, 0, .22), 0 0 0 1px rgba(0, 0, 0, .06); } .specials-popup[hidden] { display: none; } .specials-popup--text { grid-template-columns: 1fr; } /* The open menu covers the page; the card shouldn't sit on top of it */ .navbar-open .specials-popup { display: none; } .specials-popup__image { width: 100%; height: 100%; object-fit: cover; } .specials-popup__body { display: grid; align-content: center; justify-items: start; gap: 8px; padding: 16px 44px 18px 16px; } .specials-popup__heading { --d: .3s; } /* The section-heading at card size */ .specials-popup__heading .section-heading__eyebrow { font-size: 12px; } /* At card size the outline reads thin, so the fill is reversed: the letters land outlined (white fill) and fill in solid, rather than landing solid and settling to the outline */ .specials-popup__heading .section-heading__title { --d: .4s; --letters-from: var(--section-heading-fill, #fff); font-size: 24px; line-height: 1.15; color: var(--color-primary); -webkit-text-stroke-width: 2px; } .specials-popup__text { --d: .7s; font-size: 13px; line-height: 1.5; color: var(--color-primary); } /* Content is a WYSIWYG field; its paragraphs sit tight inside the card */ .specials-popup__text p { margin: 0; } .specials-popup__text a { text-decoration: underline; } .specials-popup__link { --d: .8s; display: flex; align-items: center; justify-content: center; height: 40px; margin-top: 4px; padding: 0 18px; border: 1.5px solid var(--color-secondary); border-radius: 4px; font-weight: 700; font-size: 12px; line-height: 1.2; text-transform: uppercase; color: #000; transition: background-color .2s var(--easing); } .specials-popup__link:hover, .specials-popup__link:focus { background: var(--color-secondary); text-decoration: none; } .specials-popup__close { position: absolute; top: 4px; right: 4px; width: 36px; height: 36px; cursor: pointer; } /* An × drawn from two bars */ .specials-popup__close::before, .specials-popup__close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; background: var(--color-primary); transform: translate(-50%, -50%) rotate(45deg); } .specials-popup__close::after { transform: translate(-50%, -50%) rotate(-45deg); } .specials-popup__close:focus-visible { outline: 2px solid var(--color-secondary); outline-offset: -4px; } @keyframes specials-popup-in { from { transform: translateY(40px); opacity: 0; } } .motion .specials-popup { animation: specials-popup-in .7s var(--ease-out) both; } @media (min-width: 768px) { .specials-popup { right: 28px; bottom: 28px; left: auto; width: 420px; grid-template-columns: 140px 1fr; } .specials-popup--text { grid-template-columns: 1fr; } .specials-popup__body { gap: 10px; padding: 22px 48px 24px 22px; } .specials-popup__heading .section-heading__eyebrow { font-size: 13px; } .specials-popup__heading .section-heading__title { font-size: 30px; } .specials-popup__text { font-size: 14px; } } 