/* Teresa Lodato theme. Values measured from the live Elementor build (kit 5 + post-*.css), 1440 / 1024 / 390. */
:root {
	--gold: #cc9438;
	--gold-soft: #ba9b6d;
	--ink: #282828;
	--navy: #0e0e3d;
	--white: #fff;
	--tint: #f9f9f9;
	--card: #f6f6f6;
	--field: rgba(240, 240, 240, .8);
	--serif: 'Cormorant Garamond', Georgia, serif;
	--display: 'DM Serif Display', Georgia, serif;
	--sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--btn: 'Roboto', system-ui, sans-serif;
	--header-h: 79px;
	--shadow-btn: 0 0 5px rgba(0, 0, 0, .5);
	--shadow-panel: 0 0 10px rgba(0, 0, 0, .5);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.5; color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
.site-main { overflow-x: clip; } /* slide-in animations must never cause a horizontal scrollbar */
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold); }
h1, h2, h3, h4 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1; color: var(--ink); }
p { margin: 0 0 14.4px; }
p:last-child { margin-bottom: 0; }
.prose ul, .prose ol { margin: 0 0 14.4px; padding-left: 1.3em; }
.prose a { color: var(--gold); text-decoration: underline; }
[id] { scroll-margin-top: calc(var(--header-h) + 10px); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 2000; background: var(--navy); color: #fff; padding: 10px 16px; }
.skip-link:focus { left: 10px; top: 10px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.show-mobile { display: none; }

/* ---------- buttons ---------- */
.buttons { display: flex; flex-wrap: wrap; gap: 20px 30px; }
.buttons--center { justify-content: center; }
.btn, .gform_button {
	display: inline-block; font-family: var(--btn); font-size: 20px; font-weight: 400; line-height: 1.2; color: var(--white);
	background: var(--gold); border: 1px solid var(--gold); border-radius: 4px; padding: 10px 50px; box-shadow: var(--shadow-btn);
	cursor: pointer; transition: background .3s, border-color .3s, color .3s; text-align: center;
}
.btn:hover, .btn:focus, .gform_button:hover, .gform_button:focus { background: var(--navy); border-color: var(--navy); color: var(--white); }
.text-link { font-family: var(--btn); font-size: 20px; line-height: 1; color: var(--gold); }
.text-link:hover { color: var(--navy); }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: var(--white); box-shadow: 0 0 1px 0 rgba(0, 0, 0, .5); }
.admin-bar .site-header { top: 32px; }
.site-header { padding: 0 3%; }
.site-header__inner { display: grid; grid-template-columns: 203px 1fr 135px; align-items: center; min-height: var(--header-h); padding: 7px 0; max-width: 1600px; margin: 0 auto; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--gold-soft); }
.brand__logo { width: 65px; height: 65px; object-fit: contain; }
.brand__name { font-family: var(--display); font-size: 27px; line-height: 1; color: var(--gold-soft); }
.brand:hover .brand__name { color: var(--gold-soft); }
.primary-nav { justify-self: center; }
.menu { list-style: none; margin: 0; padding: 0; }
.primary-nav .menu { display: flex; align-items: center; gap: 0 40px; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a { display: flex; align-items: center; gap: 6px; padding: 13px 0; font-family: var(--sans); font-size: 17px; font-weight: 500; line-height: 1.2; color: var(--ink); }
.primary-nav .menu > li > a:hover, .primary-nav .menu > li.current-menu-item > a, .primary-nav .menu > li.current-menu-ancestor > a, .primary-nav .sub-menu li.current-menu-item > a { color: var(--gold); }
.menu-item-has-children > a::after { content: ''; width: 0; height: 0; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid currentColor; margin-left: 4px; }
.primary-nav .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--white); box-shadow: 0 0 10px rgba(0, 0, 0, .15); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; z-index: 10; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 13px 20px; font-size: 16px; font-weight: 500; color: var(--ink); background: var(--white); }
.primary-nav .sub-menu a:hover { color: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; padding: 4px; color: var(--gold); cursor: pointer; justify-self: end; }
.nav-toggle__close { display: none; }
.nav-open .nav-toggle__open { display: none; }
.nav-open .nav-toggle__close { display: block; color: var(--ink); }

/* ---------- entrance animations (only when JS runs) ---------- */
.js .anim { opacity: 0; }
.js .anim.is-in { animation: var(--anim, tlFadeIn) 1.25s both; }
[data-anim="fadeInUp"] { --anim: tlFadeInUp; }
[data-anim="fadeInLeft"] { --anim: tlFadeInLeft; }
[data-anim="fadeInRight"] { --anim: tlFadeInRight; }
@keyframes tlFadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes tlFadeInUp { from { opacity: 0; transform: translate3d(0, 100%, 0); } to { opacity: 1; transform: none; } }
@keyframes tlFadeInLeft { from { opacity: 0; transform: translate3d(-100%, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes tlFadeInRight { from { opacity: 0; transform: translate3d(100%, 0, 0); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .js .anim { opacity: 1; } .js .anim.is-in { animation: none; } html { scroll-behavior: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: rgba(51, 51, 51, .9); color: var(--white); }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, center center); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(184deg, rgba(51, 51, 51, .9) 0%, rgba(51, 51, 51, 0) 90%); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; min-height: calc(92vh - var(--header-h) + 79px); padding: 0 max(3%, (100% - 1600px) / 2); /* live: 1600px content, 3% gutter outside it */ display: flex; align-items: center; justify-content: flex-end; }
.hero__content { width: var(--hw, 60%); margin-top: -70px; text-align: right; }
.hero__title { font-family: var(--serif); font-size: 80px; line-height: 1; color: var(--white); }
.hero__subtitle { margin: 0; padding-top: 20px; font-family: var(--serif); font-size: 35px; line-height: 1; }
.hero__text { font-size: 18px; line-height: 1.2; padding: 30px 0 20px var(--hi, 0); }
.hero--inset .hero__text { line-height: 1; padding-bottom: 30px; }
.hero__text p { margin-bottom: 14.4px; }
.hero__buttons { justify-content: flex-end; margin-top: 30px; }
.hero--banner .hero__inner { min-height: 0; padding-top: 120px; padding-bottom: 120px; }
.hero--center { }
.hero--center .hero__inner { justify-content: center; min-height: 780px; padding: 0 16px; } /* live: full width less 16px */
.hero--center .hero__content { width: 100%; margin: 0; text-align: center; }
.hero--center .hero__title { font-size: 60px; }
.hero--center .hero__subtitle { width: 70%; margin: 0 auto; padding-top: 20px; font-size: 30px; line-height: 1; }

/* ---------- split (text box + photo panel) ---------- */
.split { margin: var(--mt, 50px) 0 50px; padding: 0 15px; }
.split--form { margin-bottom: 100px; }
.split--tint { background: var(--tint); padding-top: 50px; padding-bottom: 50px; }
.split__row { display: grid; grid-template-columns: 1fr 1fr; min-height: var(--minh, 1000px); }
.split__box {
	position: relative; z-index: 5; display: flex; flex-direction: column; justify-content: center;
	margin: 1% 0 1% var(--box-off, 8%); padding: 30px 5% 30px 0; border: 2px solid var(--gold); border-right: 0; border-radius: 4px 0 0 4px; background: transparent;
	--indent: 30px;
}
.split__box > :not(.split__head):not(.buttons), .split__heading { padding-left: var(--indent); }
.split--tint .split__box { background: transparent; }
.split__media { position: relative; z-index: 6; border-radius: 10px 0 0 10px; overflow: hidden; box-shadow: var(--shadow-panel); margin-right: -15px; }
.split__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split--img-left .split__box { order: 2; margin: 1% var(--box-off, 8%) 1% 0; border-left: 0; border-right: 2px solid var(--gold); border-radius: 0 4px 4px 0; }
.split--img-left .split__media { order: 1; border-radius: 0 10px 10px 0; margin-right: 0; margin-left: -15px; }
.split__head { position: relative; margin-bottom: 30px; }
.split__heading { font-size: 50px; line-height: 1; position: relative; z-index: 1; }
.split__head .divider { width: 86%; margin-top: -35px; position: relative; z-index: 0; }
.split--right .split__head .divider { margin-left: auto; transform: scaleX(-1); } /* live mirrors the rule on right-aligned boxes */
.split__head { margin-bottom: 0; }
.split__body { padding-top: 30px; padding-bottom: 30px; }
.split__sub { font-family: var(--serif); font-size: 28px; line-height: 1; margin: 0 0 20px; }
.split__body { font-size: 18px; line-height: 1.5; }
.split--right .split__box { text-align: right; }
.split--right .split__heading { font-size: 45px; }
.split--right .buttons { justify-content: flex-end; }
.split--center .split__box { text-align: center; }
.split .buttons { margin-top: 10px; padding-left: calc(var(--indent) + 10px); }
.split--right .buttons { padding-left: 0; padding-right: 0; }
.split__quote { margin: 30px 0 0; }
.split__quote p { font-family: var(--serif); font-size: 40px; line-height: 1.1; color: var(--ink); margin-bottom: 20px; }
.split__quote--long p { font-size: 26px; line-height: 1.3; }
.split__quote cite { font-style: normal; font-size: 18px; }
.split__note { margin-top: 20px; font-size: 18px; line-height: 1.5; }
.split .split__box > .split__note { padding-left: calc(var(--indent) + 10px); }
.split--form .split__box { justify-content: flex-start; padding-top: 80px; }

/* ---------- cards ---------- */
.cards { padding: 0 0 40px; margin-top: 64px; }
.cards__row { max-width: 1140px; margin: 0 auto; padding: 20px 10px 50px; display: grid; grid-template-columns: repeat(3, 343px); justify-content: center; gap: 45px; }
.card { background: var(--card); border-radius: 4px; box-shadow: 0 0 15px rgba(0, 0, 0, .5); padding-bottom: 20px; text-align: center; transition: transform .4s ease-in-out; }
.card:hover { transform: scale(1.1); z-index: 1; position: relative; }
.card__img { width: 100%; aspect-ratio: 343 / 285; object-fit: cover; border-radius: 4px 4px 0 0; }
.card__heading { font-size: 30px; margin: 20px 10px; }
.card__text { font-size: 16px; line-height: 1.5; padding: 0 8px; margin-bottom: 22px; }
.card__link { display: inline-block; }

/* ---------- logo marquee ---------- */
.marquee { background: var(--navy); overflow: hidden; min-height: 130px; display: flex; align-items: center; }
.marquee__track { display: flex; align-items: center; width: max-content; animation: tlMarquee calc(var(--count) * 5s) linear infinite; }
.marquee__item { flex: 0 0 auto; width: calc(100vw / 5); display: flex; align-items: center; justify-content: center; padding: 0 20px; }
.marquee__logo { max-height: 100px; width: auto; max-width: 100%; }
@keyframes tlMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- boxed (heading on the border) ---------- */
.boxed { margin: 100px 0 70px; padding: 0 2%; }
/* image + text box (Book): heading sits above the box, box pulled up under it; band 1000px tall, centred (as live) */
.boxed--media { margin: 0; padding: 0 2%; min-height: 1000px; display: flex; flex-direction: column; justify-content: center; }
.boxed--media .boxed__legend { position: relative; z-index: 2; top: auto; width: auto; margin: 0 20% 20px; padding: 0; background: var(--white); font-size: 60px; line-height: 1; text-align: center; }
.boxed--media .boxed__frame { margin-top: -70px; padding: 0; }
.boxed__frame { position: relative; border: 2px solid var(--gold); border-radius: 4px; padding: 0 0 40px; text-align: center; }
.boxed__legend { display: block; position: relative; top: -25px; width: min(755px, calc(100% - 60px)); margin: 0 auto -5px; padding: 0; background: var(--white); font-size: 50px; line-height: 1; }
.boxed__sub { font-size: 30px; margin: 0 7% 30px; }
.boxed__text { max-width: 898px; margin: 0 auto 30px; padding: 0 20px; font-size: 18px; line-height: 1.5; }
.boxed__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; padding: 10px 5% 20px; text-align: left; }
.boxed--img-right .boxed__img { order: 2; }
.boxed__img img { width: 100%; height: auto; }
.boxed--emblem .boxed__img img { max-width: 430px; width: 100%; margin: 0 auto; }
.boxed--overflow .boxed__frame { overflow: visible; min-height: 704px; }
.boxed--overflow .boxed__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0; padding: 0; align-items: start; }
.boxed--overflow .boxed__img { margin: 80px 0 0 -35px; }
.boxed--overflow .boxed__img img { width: 100%; height: 600px; object-fit: cover; box-shadow: var(--shadow-panel); border-radius: 0 10px 10px 0; }
.boxed--overflow .boxed__body { align-self: center; padding: 0 5% 15%; } /* % of the grid column, as live */
.boxed__body .prose { font-size: 18px; line-height: 1.5; }
.boxed__body .buttons { margin-top: 30px; }

/* ---------- text columns / signup / video ---------- */
.boxed--columns .boxed__frame, .boxed--signup .boxed__frame { padding: 0 5% 50px; }
.tcols { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); gap: 40px 60px; text-align: left; margin-top: 20px; }
.tcols__title { font-size: 30px; margin-bottom: 15px; }
.tcols__text { font-size: 18px; line-height: 1.5; }
.tcols__closing { max-width: 760px; margin: 40px auto 0; font-family: var(--serif); font-size: 26px; line-height: 1.3; text-align: center; }
.signup__form { max-width: 720px; margin: 0 auto; text-align: left; }
.signup__form .gform_footer { justify-content: center; display: flex; }
.videoblock { max-width: 1140px; margin: 80px auto; padding: 0 20px; text-align: center; }
.videoblock__heading { font-size: 50px; margin-bottom: 30px; }
.videoblock__frame { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-panel); }
.videoblock__poster, .videoblock__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; padding: 0; background: none; cursor: pointer; }
.videoblock__poster img { width: 100%; height: 100%; object-fit: cover; }
.videoblock__play { position: absolute; left: 50%; top: 50%; width: 76px; height: 54px; margin: -27px 0 0 -38px; border-radius: 14px; background: var(--gold); }
.videoblock__play::after { content: ''; position: absolute; left: 31px; top: 15px; border-style: solid; border-width: 12px 0 12px 20px; border-color: transparent transparent transparent #fff; }
.videoblock__caption { margin-top: 15px; font-size: 16px; }

/* ---------- testimonials ---------- */
.boxed--testimonials { margin: 100px 0; padding: var(--above, 10%) 5% 0; }
.boxed--testimonials .boxed__frame { display: flex; flex-direction: column; justify-content: center; min-height: var(--minh, 700px); padding: 30px 0; }
.boxed--testimonials .boxed__legend { position: static; top: auto; width: 100%; max-width: 725px; margin: 0 auto; padding: 0 10px; background: none; font-size: 50px; line-height: 1.2; text-align: center; }
.boxed--testimonials .boxed__legend::after { content: ''; display: block; width: var(--rule, 90%); height: 1px; background: var(--gold); margin: 7px auto 0; }
.tcarousel { position: relative; width: 100%; max-width: 725px; margin: 52px auto 0; padding: 0 10px; }
.tcarousel__viewport { overflow: hidden; }
.tcarousel__track { display: flex; transition: transform 1s ease; }
.tcarousel__slide { flex: 0 0 100%; margin: 0; text-align: center; }
.tcarousel__quote { margin: 0 0 35px; font-size: 22px; font-weight: 500; line-height: 1.4; }
.tcarousel__cite { display: block; font-size: 18px; line-height: 1.2; color: var(--gold); margin-bottom: 20px; }
.tcarousel__photo { width: 16.5%; min-width: 46px; max-width: 120px; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; margin: 0 auto; }
/* live: a row of dots with the two arrows tucked underneath, centred */
.tcarousel__nav { display: grid; grid-template-columns: auto auto; justify-content: center; margin-top: 39px; }
.tcarousel__nav .tcarousel__dots { grid-column: 1 / -1; grid-row: 1; gap: 22px; padding: 11px 0; }
.tcarousel__nav .tcarousel__dots button { opacity: 1; background: var(--ink); }
.tcarousel__nav .tcarousel__dots button[aria-current="true"] { background: var(--gold); }
.tcarousel__arrow--prev, .tcarousel__arrow--next { grid-row: 2; margin-top: -14px; }
.tcarousel__arrow { background: none; border: 0; color: var(--gold); cursor: pointer; padding: 0 2px; line-height: 0; }
.tcarousel__arrow svg { width: 40px; height: 40px; }
.tcarousel__arrow:hover { color: var(--ink); }
.tcarousel__dots, .tiles__dots { display: flex; gap: 8px; justify-content: center; }
.tcarousel__dots button, .tiles__dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: #000; opacity: .25; cursor: pointer; }
.tcarousel__dots button[aria-current="true"], .tiles__dots button[aria-current="true"] { opacity: 1; background: var(--gold); }

/* ---------- keynotes ---------- */
.keynotes { padding: 50px 5%; }
.keynotes__frame { border: 2px solid var(--gold); border-radius: 4px; padding: 30px 0 54px; }
.keynotes__head { max-width: 725px; margin: 0 auto 86px; text-align: center; }
.keynotes__heading { font-size: 50px; line-height: 1.2; }
.keynotes__rule { width: 40%; border: 0; border-top: 1px solid var(--gold); margin: 7px auto 0; }
.keynotes__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 66px 100px; max-width: 1140px; margin: 0 auto; padding: 0 60px 0 40px; }
.keynote:first-child { grid-column: 1 / -1; }
.keynote__title { font-size: 25px; margin: 0 -50px 10px 0; } /* live titles run 50px wider than the text column */
.keynote__text { font-size: 18px; line-height: 1.5; }

/* ---------- media tabs ---------- */
.mtabs { max-width: 1440px; margin: 60px auto 40px; padding: 0 5px; }
.mtabs__list { display: flex; justify-content: center; }
.mtabs__tab { font-family: var(--serif); font-size: 40px; line-height: 1; padding: 20px 20px; background: var(--white); border: 1px solid transparent; border-bottom: 0; color: var(--ink); cursor: pointer; margin-bottom: -1px; position: relative; z-index: 1; }
.mtabs__tab.is-active { color: var(--gold); border-color: #d5d8dc; }
.mtabs__panel { border: 1px solid #d5d8dc; padding: 20px; }
.tiles { position: relative; padding: 0 40px 30px; }
.tiles__viewport { overflow: hidden; }
.tiles__track { display: flex; transition: transform .5s ease; }
.tiles__slide { flex: 0 0 calc(100% / var(--per-view, 4)); padding: 0 10px; }
.tiles__slide img { width: 100%; height: auto; }
.tiles__arrow { position: absolute; top: calc(50% - 30px); z-index: 2; background: none; border: 0; color: #fff; cursor: pointer; padding: 6px; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .6)); }
.tiles__arrow--prev { left: 0; }
.tiles__arrow--next { right: 0; }
.tiles__arrow svg { width: 26px; height: 26px; }
.tiles__dots { margin-top: 15px; }
.buttonrow { display: flex; justify-content: center; margin: 20px 0 60px; }

/* ---------- posts grid ---------- */
.postsgrid { margin: 100px 0; padding: 0 15px; }
.postsgrid__frame { margin: 0 2%; border: 2px solid var(--gold); border-radius: 4px; padding: 60px max(10px, calc(48% - 692px)) 50px; } /* live: 1400px inner container + 10px column padding */
.postsgrid__head { display: flex; align-items: flex-start; }
.postsgrid__heading { font-size: 50px; font-weight: 500; line-height: 1; }
.postsgrid__logo { width: 37px; height: auto; margin: 15px 0 0 20px; }
.postsgrid__rule { width: 475px; max-width: 100%; border: 0; border-top: 1px solid var(--gold); margin: 20px 0 0; }
.postsgrid__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 35px 30px; padding-top: 40px; }
.postcard { background: var(--white); border-radius: 3px; box-shadow: 0 0 10px rgba(0, 0, 0, .15); overflow: hidden; display: flex; flex-direction: column; text-align: center; }
.postcard__thumb img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.postcard__body { padding: 20px 30px 30px; }
.postcard__title { font-family: var(--serif); font-size: 26px; font-weight: 500; line-height: 1.2; margin-bottom: 12px; }
.postcard__title a { color: var(--ink); }
.postcard__excerpt { font-size: 17px; line-height: 1.5; margin-bottom: 16px; }
.postcard__more { font-family: var(--btn); font-size: 16px; color: var(--gold); text-transform: uppercase; }

/* ---------- single post ---------- */
.hero--post .hero__title { font-size: 60px; }
.hero--post .hero__text { line-height: 1.2; padding-bottom: 30px; }
.post-body { max-width: 1400px; margin: 0 auto 80px; background: var(--tint); border-radius: 4px; padding: 50px 0; }
.post-body__panel { max-width: 1053px; margin: 0 auto; padding: 0 20px; box-sizing: content-box; font-size: 18px; line-height: 1.4; }
.post-body__panel h2 { font-size: 40px; margin: 40px 0 20px; }
.post-body__panel h3 { font-size: 30px; margin: 30px 0 15px; }
.post-body__panel img { margin: 30px auto; }

/* ---------- plain pages / 404 ---------- */
.plain-page { max-width: 900px; margin: 80px auto; padding: 0 20px; }
.plain-page__title { font-size: 60px; margin-bottom: 30px; }

/* ---------- forms (Gravity Forms markup, styled to match the live Elementor form) ---------- */
.gform_wrapper { font-family: var(--sans); }
.gform_wrapper .gform_fields { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px 25px; list-style: none; margin: 0; padding: 0; }
.gform_wrapper .gfield { grid-column: span 12; min-width: 0; }
.gform_wrapper .gfield--width-half { grid-column: span 6; }
.gform_wrapper .gfield_label, .gform_wrapper legend.gfield_label { display: block; font-size: 20px; line-height: 1.2; padding-bottom: 10px; color: var(--ink); font-weight: 400; }
.gform_wrapper .gfield_required { color: var(--ink); margin-left: 6px; }
.gform_wrapper .gfield_required .gfield_required_text { display: none; }
.gform_wrapper .gform_required_legend { display: none; }
.gform_wrapper input[type="text"], .gform_wrapper input[type="email"], .gform_wrapper textarea, .gform_wrapper select {
	width: 100%; min-height: 59px; padding: 7px 20px; font-family: var(--sans); font-size: 14px; color: var(--ink);
	background: var(--field); border: 0; border-bottom: 4px solid var(--gold); border-radius: 10px; outline: none;
}
.gform_wrapper textarea { min-height: 170px; resize: vertical; }
.gform_wrapper select { text-align: center; text-align-last: center; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.gform_wrapper input:focus, .gform_wrapper textarea:focus, .gform_wrapper select:focus { box-shadow: 0 0 0 2px rgba(204, 148, 56, .35); }
.gform_wrapper .gform_footer { margin-top: 25px; padding: 0; }
.gform_wrapper .gform_button { border: 0; padding: 10px 100px; }
.gform_wrapper .gfield_validation_message, .gform_wrapper .validation_message { color: #f00; font-size: 14px; margin-top: 6px; }
.gform_wrapper .gform_validation_errors { border: 1px solid #f00; border-radius: 4px; padding: 12px 16px; margin-bottom: 20px; color: #f00; }
.gform_wrapper .gform_validation_errors h2 { font-family: var(--sans); font-size: 16px; color: #f00; }
.gform_confirmation_message { font-size: 20px; color: var(--gold); }
.gform_wrapper .gform_validation_container, .gform_wrapper .gfield--type-honeypot { display: none !important; }
.gform_wrapper .chosen-container { width: 100% !important; font-size: 14px; }
.gform_wrapper .chosen-container-multi .chosen-choices { min-height: 59px; padding: 12px 20px; background: var(--field); border: 0; border-bottom: 4px solid var(--gold); border-radius: 10px; box-shadow: none; }
.gform_wrapper .chosen-container-multi .chosen-choices li.search-field input[type="text"] { min-height: 0; padding: 0; background: none; border: 0; font-size: 12px; color: #555; }
.gform_wrapper .chosen-container-multi .chosen-choices li.search-field input[type="text"]::placeholder { color: #555; opacity: 1; }
.gform_wrapper .chosen-container-multi .chosen-choices li.search-field input.default { color: #555; }
.gform_wrapper .chosen-container .chosen-drop { border-color: var(--gold); }
.split__form { padding-left: var(--indent); padding-right: var(--form-r, 0); }

/* Contact page form: boxed, overlapping the hero, two columns (Name + Email / Reason | Message) */
.formblock { position: relative; z-index: 3; margin: -10% 0 10%; padding: 0 5%; }
/* live: box up to 1440px; side padding ~7.2% of the box (+10px on the left) */
.formblock__inner { background: var(--white); border: 2px solid var(--gold); padding: 80px calc(min(1440px, 90vw) * .072) 100px calc(min(1440px, 90vw) * .072 + 10px); max-width: 1440px; margin: 0 auto; min-height: 686px; }
.tl-form--contact .gform_fields { grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr) 30px calc(50% - 5px); grid-template-areas: 'name . email . message' 'reason reason reason . message'; column-gap: 0; }
.tl-form--contact .gfield { grid-column: auto; }
.tl-form--contact .f-name { grid-area: name; }
.tl-form--contact .f-email { grid-area: email; }
.tl-form--contact .f-reason { grid-area: reason; }
.tl-form--contact .f-message { grid-area: message; }
.tl-form--contact .gfield_label { font-size: 14px; }
.tl-form--contact .gform_footer { justify-content: center; display: flex; }
.tl-form--contact .gform_button { padding: 10px 80px; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: var(--white); padding: 25px 25px 0; }
.site-footer__box { border: 2px solid var(--gold); display: flex; align-items: center; justify-content: center; gap: min(168px, 11.67vw); min-height: 230px; padding: 0 48px 0 20px; } /* live's group sits ~14px left of centre */
.footer-nav { min-width: 0; }
.brand--footer .brand__logo { background: var(--white); border-radius: 50%; }
.brand--footer .brand__name { font-size: 30px; color: var(--white); }
.footer-nav .menu { display: flex; align-items: center; flex-wrap: wrap; justify-content: center; }
.footer-nav .menu > li { position: relative; }
.footer-nav .menu > li > a { display: flex; align-items: center; gap: 4px; padding: 13px 10px; font-size: 20px; font-weight: 700; line-height: 1; color: var(--white); }
.footer-nav .menu > li > a:hover { color: var(--gold); }
.footer-nav .sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; bottom: 100%; left: 0; min-width: 240px; background: var(--white); opacity: 0; visibility: hidden; transition: .2s; }
.footer-nav li:hover > .sub-menu, .footer-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.footer-nav .sub-menu a { display: block; padding: 12px 20px; font-size: 16px; font-weight: 500; color: var(--ink); }
.footer-nav .sub-menu a:hover { color: var(--gold); }
.site-footer__credit { margin: 0 -25px; padding: 10px; font-size: 12px; line-height: 1.5; text-align: right; } /* live: 10px from the screen edge */
.site-footer__credit a { color: inherit; text-decoration: none; }
.footer-toggle { display: none; }

/* =================== tablet (max 1024) =================== */
@media (max-width: 1024px) {
	body { font-size: 18px; }
	.site-header__inner { grid-template-columns: 1fr auto; padding: 7px 0; }
	.nav-toggle { display: block; }
	.primary-nav { position: absolute; left: 0; right: 0; top: 100%; margin-top: 0; background: var(--white); box-shadow: 0 10px 20px rgba(0, 0, 0, .08); display: none; justify-self: stretch; }
	.nav-open .primary-nav { display: block; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li > a { justify-content: center; padding: 15px 20px; text-transform: capitalize; }
	/* live (SmartMenus): the submenu stays collapsed until its parent is tapped */
	.primary-nav .sub-menu { position: static; display: none; opacity: 1; visibility: visible; transform: none; box-shadow: none; min-width: 0; background: var(--white); }
	.primary-nav li.is-open > .sub-menu { display: block; }
	.primary-nav .sub-menu a { text-align: center; padding: 15px 20px; font-size: 16px; }

	.hero__inner { min-height: calc(80vh); padding: 0 20px 0 0; }
	.hero__content { margin-top: 0; }
	.hero__title { font-size: var(--ts-t, 70px); }
	.hero__subtitle { padding-top: 0; font-size: 70px; }
	.hero__text { font-size: 22px; padding: 0; }
	.hero__content { width: 60%; }
	.hero--center .hero__inner { min-height: 90vh; padding: 0 16px; }
	.boxed--text .boxed__legend { width: auto; margin: 0 30px -5px; }

	.split__box { margin: 10px 0 10px 15px; padding: 10px 10px 30px 0; --indent: 10px; }
	.boxed--media { min-height: 1163px; }
	.boxed--media .boxed__legend { font-size: 33px; margin: 0 50px 20px; }
	.boxed--media .boxed__frame { margin-top: -35px; }
	.boxed--overflow .boxed__body { grid-column: 1 / -1; padding: 0 0 0 15px; }
	.boxed--overflow .boxed__body .prose { font-size: 20px; }
	.split__form { padding-right: 0; }
	.split__note { font-size: 20px; }
	.split--img-left .split__box { margin: 10px 15px 10px 0; padding: 10px 10px 30px 0; }
	.split__body { padding-top: 0; }
	.split__body { font-size: 20px; }
	.split__heading, .split--right .split__heading { font-size: var(--hs-t, 44px); }
	.split__sub { font-size: 44px; }
	.keynote__title { font-size: 44px; }
	.boxed--text .boxed__legend { font-size: 60px; }
	.boxed--text .boxed__sub { font-size: 60px; }
	.boxed--text .boxed__text { font-size: 20px; }

	.cards__row { grid-template-columns: repeat(3, 1fr); padding: 20px; gap: 20px; }
	.boxed__legend { font-size: 60px; }
	.boxed--testimonials .boxed__legend { font-size: 44px; }
	.boxed--testimonials .boxed__frame { padding: 30px 20px; }
	.tcarousel__slide { padding: 30px 10px 0; } /* live's testimonial templates pad each slide on tablet/mobile */
	.keynotes__frame { padding: 0 20px 24px; }
	.keynotes__heading { font-size: 44px; }
	.keynotes__grid { gap: 66px 30px; padding: 0 10px 0 20px; }
	.keynote__title { margin: 0; }
	.keynote__text { font-size: 20px; }
	.postsgrid__grid { grid-template-columns: 1fr 1fr; }
	.postsgrid__rule { width: 290px; }
	.post-body__panel { max-width: 721px; }
	.site-footer__box { padding: 20px 40px; flex-direction: column; justify-content: center; gap: 20px; }
	.footer-nav { align-self: stretch; }
	.formblock { margin-top: -80px; }
	.formblock__inner { padding: 40px 26px 40px 36px; }
}

/* =================== mobile (max 767) =================== */
@media (max-width: 767px) {
	body { font-size: 16px; }
	.hide-mobile { display: none; }
	.show-mobile { display: block; }
	.site-header { padding: 0 10px; }
	.site-header__inner { padding: 10px 0; }
	.primary-nav .menu > li > a, .primary-nav .sub-menu a { padding-top: 5px; padding-bottom: 5px; }
	.brand__logo { width: 55px; height: 55px; }
	.brand__name { font-size: 24px; }

	.hero__img { object-position: var(--pos-m, top center); }
	.hero__inner { min-height: calc(var(--mh-m, 0px) + 240px); padding: 120px 10px; justify-content: center; } /* live: per-page vh height inside 120px padding */
	.hero__content { width: 100%; margin-top: var(--ms-m, -50px); text-align: center; padding-right: 5px; }
	.hero--inset .hero__text { line-height: 1.1; }
	.hero__title { font-size: var(--ts-m, 41px); }
	.hero__subtitle { margin: 10px 0; font-size: 24px; }
	.hero__text { font-size: 17px; line-height: 1.1; margin-top: 10px; }
	.hero__buttons { flex-direction: column; align-items: center; gap: 10px; }
	.hero--center .hero__inner { padding: 160px 10px; }
	.hero--center .hero__title { font-size: 60px; }
	.hero--center .hero__subtitle { width: 100%; }

	.split { padding: 30px 10px 50px; margin-top: 50px; }
	.split--tint { padding-top: 30px; }
	.split__row { display: block; min-height: 0; }
	.split__box, .split--img-left .split__box { margin: 0; padding: 20px 10px 70px 0; border: 2px solid var(--gold); border-radius: 4px; --indent: 10px; }
	.split__media, .split--img-left .split__media { margin: 30px 0 0; min-height: 400px; border-radius: 10px 10px 0 0; }
	.split__heading, .split--right .split__heading { font-size: var(--hs-m, 38px); }
	.split .btn { font-size: var(--bs-m, 20px); }
	.split__sub { font-size: 25px; }
	.card__heading { font-size: 28px; }
	.card__text { font-size: 18px; line-height: 1.5; }
	.split__head { margin-bottom: 20px; }
	.split__head .divider { width: 100%; margin-top: -24px; }
	.split__quote--long p { font-size: 22px; }
	.split__body { font-size: 18px; }
	.split .buttons { padding-left: 0; }
	.split--right .split__box { text-align: right; }
.split--right .split__heading { font-size: 45px; }
	.split__form { padding-left: 0; padding-right: 0; }
	.split__note { font-size: 16px; }
	.split .split__box > .split__note { padding-left: calc(var(--indent) + 5px); }
	.split__quote p { font-size: 30px; }

	.cards__row { grid-template-columns: 1fr; padding: 20px; gap: 50px; }
	.card:hover { transform: none; }
	.marquee { min-height: 62px; margin-top: 50px; }
	.marquee__item { width: 50vw; }
	.marquee__logo { max-height: 50px; }
	.boxed { margin: 50px 0; padding: 0 10px; }
	.boxed__legend { font-size: 38px; padding: 0 15px; top: -22px; }
	.boxed__sub { font-size: 24px; margin: 0 30px 20px; }
	.boxed--text .boxed__legend { font-size: 38px; }
	.boxed--text .boxed__text { font-size: 18px; }
	.boxed__text { font-size: 18px; }
	.boxed__cols { grid-template-columns: 1fr; gap: 20px; }
	.boxed--img-right .boxed__img { order: 0; }
	.boxed--media { min-height: 500px; margin: 50px 0; padding: 0 2%; }
	.boxed--media .boxed__legend { font-size: 32px; margin: 0 30px 20px; padding: 0; top: auto; }
	.boxed--overflow .boxed__cols { grid-template-columns: 1fr; }
	.boxed--overflow .boxed__img { margin: 10% 0 0; }
	.boxed--overflow .boxed__img img { width: 90%; height: 400px; margin: 0 auto; border-radius: 10px; }
	.boxed--overflow .boxed__body { grid-column: auto; padding: 20px 10px 30px 10px; text-align: center; }
	.boxed--overflow .boxed__body .prose { font-size: 18px; }
	.keynote__title { font-size: 38px; }
	.keynote__text { font-size: 18px; }
	.formblock__inner { min-height: 0; }
	.footer-nav .menu > li > a { padding: 10px; }
	.boxed--testimonials { margin: 50px 0 0; padding: 0 5%; }
	.boxed--testimonials .boxed__frame { min-height: 0; padding: 20px 10px 30px; }
	.boxed--testimonials .boxed__legend { font-size: 38px; padding: 0; }
	.boxed--testimonials .boxed__legend::after { width: 80%; }
	.tcarousel__quote { font-size: 14px; }
	.tcols { grid-template-columns: 1fr; gap: 30px; }
	.tcols__closing { font-size: 22px; }
	.videoblock__heading { font-size: 38px; }
	.keynotes { padding: 30px 5%; }
	.keynotes__frame { padding: 20px 10px 54px; }
	.keynotes__rule { width: 80%; }
	.keynotes__grid { grid-template-columns: 1fr; row-gap: 34px; }
	.keynote:first-child { margin-bottom: 32px; }
	.keynotes__heading { font-size: 38px; }
	.mtabs__tab { font-size: 28px; padding: 12px; }
	.mtabs__panel { padding: 10px; }
	.tiles { padding: 0 30px 30px; }
	.postsgrid { margin: 50px 0; }
	.postsgrid__frame { margin: 0; padding: 20px 15px 30px; }
	.postsgrid__heading { font-size: 24px; }
	.postsgrid__logo { width: 20px; margin: 0 0 0 10px; }
	.postsgrid__rule { width: 228px; }
	.postsgrid__grid { grid-template-columns: 1fr; }
	.hero--post .hero__title { font-size: 34px; }
	.post-body { margin: 50px 15px; padding: 30px 0; }
	.post-body__panel { max-width: none; margin: 0 15px; padding: 0; font-size: 16px; }
	.gform_wrapper .gfield--width-half { grid-column: span 12; }
	.gform_wrapper .gform_button { width: 100%; padding: 10px 20px; }
	.tl-form--contact .gform_fields { grid-template-columns: 1fr; grid-template-areas: 'name' 'email' 'reason' 'message'; }
	.formblock { margin: -100px 0 100px; padding: 0 10px; }
	.formblock__inner { padding: 30px 15px; }

	.site-footer__box { padding: 30px 15px; gap: 20px; min-height: 0; }
	.footer-toggle { display: block; background: none; border: 0; color: var(--white); padding: 6px; cursor: pointer; }
	.footer-nav { display: flex; flex-direction: column; align-items: center; }
	.footer-nav .menu { display: none; flex-direction: column; }
	.footer-open .footer-nav .menu { display: flex; }
	.footer-nav .sub-menu { position: static; opacity: 1; visibility: visible; background: none; }
	.footer-nav .sub-menu a { color: var(--white); text-align: center; }
	.site-footer__credit { text-align: center; }
}
