/* Salma Gold — Buildza-style layout in the Salma navy and gold.
   Content lives in core blocks; these rules only style the classes and block styles the patterns use. */

:root {
	--sg-white: var(--wp--preset--color--white);
	--sg-surface: var(--wp--preset--color--surface);
	--sg-line: var(--wp--preset--color--line);
	--sg-ink: var(--wp--preset--color--ink);
	--sg-muted: var(--wp--preset--color--muted);
	--sg-navy: var(--wp--preset--color--navy);
	--sg-deep: var(--wp--preset--color--deep);
	--sg-gold: var(--wp--preset--color--gold);
	--sg-gold-soft: var(--wp--preset--color--gold-soft);
	--sg-radius: 22px;
	--sg-radius-sm: 16px;
	--sg-section: clamp(72px, 9vw, 120px);
	--sg-ease: cubic-bezier(.2, .7, .2, 1);
	/* Appearance → Theme settings overrides these (inc/design.php) */
	--sg-pill: 999px;
	--sg-font-heading: var(--wp--preset--font-family--manrope);
	--sg-font-body: var(--wp--preset--font-family--inter);
	--sg-btn-bg: var(--sg-navy);
	--sg-btn-text: var(--sg-white);
	/* Shades worked out from the main colours */
	--sg-gold-hover: color-mix(in srgb, var(--sg-gold), #fff 25%);
	--sg-on-navy: color-mix(in srgb, #fff 83%, var(--sg-navy));
	--sg-on-deep: color-mix(in srgb, #fff 78%, var(--sg-navy));
	--sg-on-gold: color-mix(in srgb, var(--sg-deep) 88%, #fff);
	--sg-on-gold-soft: color-mix(in srgb, var(--sg-deep) 80%, #fff);
	/* Header */
	--sg-header-bg: var(--sg-navy);
	--sg-header-text: #fff;
	--sg-header-hover: rgba(255, 255, 255, .12);
	--sg-header-line: rgba(255, 255, 255, .55);
	--sg-header-scrolled: color-mix(in srgb, var(--sg-navy) 92%, transparent);
}
.sg-header-light {
	--sg-header-bg: var(--sg-white);
	--sg-header-text: var(--sg-ink);
	--sg-header-hover: var(--sg-surface);
	--sg-header-line: var(--sg-navy);
	--sg-header-scrolled: color-mix(in srgb, var(--sg-white) 94%, transparent);
}

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--sg-gold); color: var(--sg-deep); }
:focus-visible { outline: 2px solid var(--sg-navy); outline-offset: 3px; }
img { max-width: 100%; height: auto; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }
.wp-site-blocks > * + * { margin-block-start: 0; }
main.wp-block-group { margin-block-start: 0; }

/* ---------- Block styles you can pick in the editor ---------- */

/* Buttons: white pill (on photos), gold, text link with arrow, arrow */
.wp-block-button.is-style-white .wp-block-button__link { background: var(--sg-white); color: var(--sg-ink); }
.wp-block-button.is-style-white .wp-block-button__link:hover { background: var(--sg-gold); color: var(--sg-deep); }
.wp-block-button.is-style-gold .wp-block-button__link { background: var(--sg-gold); color: var(--sg-deep); }
.wp-block-button.is-style-gold .wp-block-button__link:hover { background: var(--sg-gold-hover); color: var(--sg-deep); }
.wp-block-button.is-style-text .wp-block-button__link { background: transparent; color: inherit; padding-left: 4px; padding-right: 4px; }
.wp-block-button.is-style-text .wp-block-button__link:hover { background: transparent; color: inherit; opacity: .75; }
.wp-block-button__link { transition: background-color .2s, color .2s, transform .2s var(--sg-ease); }
.wp-block-button__link:active { transform: scale(.97); }
.wp-block-button.is-style-arrow .wp-block-button__link::after,
.wp-block-button.is-style-white .wp-block-button__link::after,
.wp-block-button.is-style-text .wp-block-button__link::after { content: "→"; display: inline-block; margin-left: 8px; transition: transform .2s var(--sg-ease); }
.wp-block-button__link:hover::after { transform: translateX(3px); }

/* Button: outline (used for the FCO download) */
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--sg-navy); border: 1px solid var(--sg-navy); padding: 12px 20px; }
.wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--sg-surface); color: var(--sg-ink); }
.wp-block-button.sg-btn-fco .wp-block-button__link::before { content: "↓"; margin-right: 8px; }

/* Paragraph: small pill label above a section title */
p.is-style-label { display: table; margin-left: auto !important; margin-right: auto !important; padding: 6px 14px; border: 1px solid var(--sg-line); border-radius: var(--sg-pill); font-size: 14px; line-height: 1.3; color: var(--sg-ink); background: var(--sg-white); }
.sg-intro__text p.is-style-label, .sg-faq p.is-style-label, .sg-split p.is-style-label { margin-left: 0 !important; }
/* Paragraph: badge on photos */
p.is-style-badge { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: var(--sg-pill); background: rgba(255,255,255,.14); color: #fff; font-size: 14px; line-height: 1.3; backdrop-filter: blur(6px); margin: 0; }
p.is-style-badge::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sg-gold); flex: none; }
/* Paragraph: badge on white */
p.is-style-badge-light { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border-radius: var(--sg-pill); background: var(--sg-gold-soft); color: var(--sg-ink); font-size: 14px; line-height: 1.3; margin: 0; }
p.is-style-badge-light::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sg-gold); flex: none; }
/* Paragraph: fact pill */
p.is-style-fact { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: var(--sg-pill); background: var(--sg-surface); font-size: 15px; line-height: 1.3; margin: 0 !important; }
p.is-style-fact strong { font-family: var(--sg-font-heading); font-size: 17px; font-weight: 600; color: var(--sg-ink); }
p.is-style-fact::before { content: ""; width: 28px; height: 28px; border-radius: 50%; background: var(--sg-gold) url("../icons/check.svg") center / 14px no-repeat; flex: none; }

/* Group: cards */
.wp-block-group.is-style-card { background: var(--sg-surface); border-radius: var(--sg-radius); padding: clamp(20px, 2.4vw, 32px); }
.wp-block-group.is-style-card-white { background: var(--sg-white); border-radius: var(--sg-radius-sm); padding: 22px; box-shadow: 0 12px 40px color-mix(in srgb, var(--sg-deep) 14%, transparent); }

/* Image: rounded corners */
.wp-block-image.is-style-rounded img { border-radius: var(--sg-radius); display: block; width: 100%; object-fit: cover; }
.wp-block-post-featured-image img { border-radius: var(--sg-radius-sm); }

/* Cover: rounded corners */
.wp-block-cover.is-style-rounded { border-radius: var(--sg-radius); overflow: hidden; }

/* ---------- Header ---------- */
.sg-header { position: sticky; top: 0; z-index: 50; margin: 0 !important; padding-left: clamp(16px, 4vw, 40px); padding-right: clamp(16px, 4vw, 40px); }
.admin-bar .sg-header { top: 32px; }
.sg-header__inner { max-width: var(--wp--style--global--wide-size, 1420px); margin: 0 auto !important; padding: 14px 0; display: flex; align-items: center; justify-content: space-between; gap: 20px; position: relative; }
.sg-header__inner > * { margin: 0 !important; }
.sg-header .wp-block-site-logo img, .sg-header .sg-logo img { height: 48px; width: auto; display: block; }
.sg-header .sg-logo { margin: 0; }
.sg-header .wp-block-navigation .wp-block-navigation-item__content { padding: 8px 14px; border-radius: var(--sg-pill); text-decoration: none; color: var(--sg-ink); transition: background-color .2s; }
.sg-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.sg-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.sg-header .wp-block-navigation [aria-current="page"] { background: var(--sg-surface); }
.sg-header .wp-block-navigation__container { gap: 2px; }
.sg-header .sg-nav-fco { display: none; }
.sg-header .is-menu-open .sg-nav-fco { display: block; }
.sg-header .wp-block-buttons { gap: 10px; flex-wrap: nowrap; }
.sg-header .wp-block-navigation__responsive-container.is-menu-open { padding: 24px; }
.sg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: 6px; font-size: 22px; }
/* Wide screens: menu centred. Laptops: menu between logo and buttons. Smaller: the menu button (☰). */
@media (min-width: 1300px) {
	.sg-header .wp-block-navigation { position: absolute; left: 50%; transform: translateX(-50%); width: max-content; }
}
@media (min-width: 1140px) {
	.sg-header .wp-block-navigation__container { flex-wrap: nowrap; white-space: nowrap; }
}
@media (min-width: 1140px) and (max-width: 1299px) {
	.sg-header .wp-block-navigation { margin: 0 auto !important; }
	.sg-header .wp-block-navigation .wp-block-navigation-item__content { padding: 8px 11px; }
}
@media (max-width: 1139px) {
	.sg-header .wp-block-navigation { order: 3; }
	.sg-header .wp-block-buttons { margin-left: auto !important; }
}
@media (min-width: 600px) and (max-width: 1139px) {
	.sg-header .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.sg-header .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
	.sg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close { display: flex; }
}
@media (max-width: 600px) {
	.sg-header .sg-btn-fco { display: none; }
	.sg-hero h1 { font-size: 34px; }
	.sg-header .wp-block-site-logo img, .sg-header .sg-logo img { height: 40px; }
	.sg-header .wp-block-buttons .wp-block-button__link { padding: 10px 14px; font-size: 14px; }
	.sg-header .wp-block-buttons .wp-block-button__link::after { display: none; }
}

/* ---------- Sections ---------- */
.sg-section { padding-top: var(--sg-section) !important; padding-bottom: 0 !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.sg-section__head { text-align: center; max-width: 760px; margin: 0 auto 48px !important; }
.sg-section__head h2 { margin: 16px 0 0; }
.sg-section__head > p:not([class*="is-style"]) { color: var(--sg-muted); margin-top: 16px; }
.sg-section__head .wp-block-buttons { justify-content: center; margin-top: 16px; }
.sg-section__head .wp-block-button.is-style-text .wp-block-button__link { color: var(--sg-ink); font-weight: 500; }

/* Hero: rounded photo with a dark fade, words bottom-left */
.sg-hero { margin-top: 0 !important; margin-bottom: 0 !important; padding-top: 8px !important; }
.sg-hero .wp-block-cover { min-height: min(700px, 86vh) !important; align-items: flex-end; justify-content: flex-start; padding: clamp(24px, 4.5vw, 64px) !important; }
.sg-hero .wp-block-cover__background { background: linear-gradient(90deg, color-mix(in srgb, var(--sg-deep) 86%, transparent) 0%, color-mix(in srgb, var(--sg-deep) 50%, transparent) 55%, color-mix(in srgb, var(--sg-deep) 10%, transparent) 100%) !important; opacity: 1 !important; }
.sg-hero .wp-block-cover__inner-container { width: 100%; max-width: 640px; margin: 0 !important; color: #fff; }
.sg-hero h1 { color: #fff; font-weight: 400; margin: 18px 0 0; }
.sg-hero__lead { font-size: 18px; color: rgba(255,255,255,.9); max-width: 30em; margin-top: 14px !important; }
.sg-hero .wp-block-buttons { margin-top: 28px; gap: 12px; }
.sg-hero .wp-block-button.is-style-text .wp-block-button__link { color: #fff; }

/* Intro: photo card with a floating card, words beside it, four steps below */
.sg-intro__top { align-items: center !important; gap: clamp(28px, 5vw, 72px) !important; }
.sg-intro__photo { position: relative; margin: 0 !important; }
.sg-intro__photo .wp-block-image { margin: 0; }
.sg-intro__photo .wp-block-image img { height: auto; }
.sg-intro__float { position: absolute; left: 22px; bottom: 22px; max-width: 260px; margin: 0 !important; }
.sg-intro__float h3 { font-size: 18px; margin: 0 0 6px; }
.sg-intro__float p { font-size: 14px; color: var(--sg-muted); margin: 0; }
.sg-intro__float .wp-block-buttons { margin-top: 12px; }
.sg-intro__float .wp-block-button__link { padding: 9px 14px; font-size: 14px; }
.sg-intro__text h2 { margin: 16px 0 0; font-size: clamp(30px, 3vw, 42px); }
.sg-intro__text > p:not([class*="is-style"]) { color: var(--sg-muted); font-size: 17px; margin-top: 18px; }
.sg-intro__text .wp-block-buttons { margin-top: 26px; }
.sg-steps { margin-top: clamp(48px, 6vw, 80px) !important; gap: 0 !important; border-top: 1px solid var(--sg-line); }
.sg-steps > .wp-block-column { padding: 32px 24px 0 0; }
.sg-steps > .wp-block-column + .wp-block-column { padding-left: 24px; border-left: 1px solid var(--sg-line); }
.sg-steps .wp-block-image { margin: 0 0 18px; }
.sg-steps .wp-block-image img { width: 48px; height: 48px; }
.sg-steps h3 { font-size: 20px; margin: 0 0 8px; }
.sg-steps p { color: var(--sg-muted); font-size: 15px; margin: 0; }
.sg-steps .wp-block-buttons { margin-top: 14px; }
.sg-steps .wp-block-button.is-style-text .wp-block-button__link { font-size: 14px; padding: 0; color: var(--sg-navy); }

/* Product cards (2 × 2) */
.sg-cards-2 { gap: 32px 24px !important; }
.sg-product { margin: 0 !important; }
.sg-product .wp-block-image { margin: 0 0 18px; overflow: hidden; border-radius: var(--sg-radius); }
.sg-product .wp-block-image { background: #0b0905; }
.sg-product .wp-block-image img { aspect-ratio: 4 / 3; object-fit: contain !important; transition: transform .6s var(--sg-ease); border-radius: 0 !important; }
.sg-product:hover .wp-block-image img { transform: scale(1.04); }
.sg-product__row { justify-content: space-between !important; align-items: center !important; gap: 12px; margin: 0 !important; }
.sg-product__row h3 { margin: 0; font-size: 24px; }
.sg-product__row p { margin: 0; padding: 4px 12px; border: 1px solid var(--sg-line); border-radius: var(--sg-pill); font-size: 14px; flex: none; }
.sg-product__meta { color: var(--sg-muted); font-size: 15px; margin: 8px 0 0 !important; }
.sg-product__meta::before, .sg-service h3::before { content: "↳ "; color: var(--sg-navy); }

/* About: fact pills and a big photo with a quote card */
.sg-facts { justify-content: center !important; gap: 12px !important; max-width: 940px; margin: 0 auto !important; }
.sg-about__cover { margin-top: 48px !important; }
.sg-about__cover .wp-block-cover { min-height: 600px !important; align-items: flex-start; justify-content: flex-end; padding: 28px !important; }
.sg-about__cover .wp-block-cover__inner-container { width: 100%; max-width: 380px; margin: 0 !important; }
.sg-quote { margin: 0 !important; }
.sg-quote .wp-block-image { margin: 0 0 16px; }
.sg-quote .wp-block-image img { width: 32px; height: auto; }
.sg-quote p { color: var(--sg-ink); margin: 0; }
.sg-quote__text { font-family: var(--sg-font-heading); font-size: 21px; line-height: 1.45; letter-spacing: -0.02em; }
.sg-quote__by { margin-top: 18px !important; font-weight: 600; font-size: 15px; }
.sg-quote__role { color: var(--sg-muted) !important; font-size: 14px; }

/* Service cards (3 × 2) */
.sg-cards-3 { gap: 40px 24px !important; }
.sg-service { margin: 0 !important; }
.sg-service .wp-block-image { margin: 0 0 18px; overflow: hidden; border-radius: var(--sg-radius-sm); }
.sg-service .wp-block-image img[src*="/products/"] { object-fit: contain !important; background: #0b0905; }
.sg-service .wp-block-image img { aspect-ratio: 4 / 3; transition: transform .6s var(--sg-ease); border-radius: 0 !important; }
.sg-service:hover .wp-block-image img { transform: scale(1.04); }
.sg-service h3 { font-size: 20px; margin: 0; padding-bottom: 14px; border-bottom: 1px solid var(--sg-line); }
.sg-service p { color: var(--sg-muted); font-size: 15px; margin: 14px 0 0; }

/* News */
.sg-news .wp-block-post-template { gap: 32px 24px; }
.sg-news .wp-block-post-featured-image { margin: 0 0 16px; overflow: hidden; border-radius: var(--sg-radius-sm); }
.sg-news .wp-block-post-featured-image img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 0; transition: transform .6s var(--sg-ease); }
.sg-news li:hover .wp-block-post-featured-image img { transform: scale(1.04); }
.sg-news .wp-block-post-title { font-size: 21px; line-height: 1.35; margin: 6px 0 12px; }
.sg-news .wp-block-post-title a { text-decoration: none; color: var(--sg-ink); }
.sg-news .wp-block-post-title a:hover { color: var(--sg-navy); }
.sg-news .wp-block-post-date, .sg-news .wp-block-post-terms { font-size: 14px; color: var(--sg-muted); margin: 0; }
.sg-news .wp-block-post-terms a { color: var(--sg-muted); text-decoration: none; }
.sg-news__meta { gap: 14px !important; align-items: center !important; }

/* FAQ */
.sg-faq { gap: clamp(32px, 6vw, 96px) !important; }
.sg-faq h2 { margin: 16px 0 0; }
.sg-faq__ask { margin-top: 28px !important; gap: 14px !important; align-items: center !important; }
.sg-faq__ask > * { margin: 0 !important; }
.sg-faq__ask p { color: var(--sg-muted); }
.sg-faq .wp-block-details { margin: 0 !important; }
.sg-faq .wp-block-details summary { font-weight: 500; font-size: 17px; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.sg-faq .wp-block-details summary::-webkit-details-marker { display: none; }
.sg-faq .wp-block-details summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--sg-navy); transition: transform .25s var(--sg-ease); }
.sg-faq .wp-block-details[open] summary::after { transform: rotate(45deg); }
.sg-faq .wp-block-details > p { color: var(--sg-muted); margin: 12px 0 0; max-width: 46em; }
.sg-faq__list > .wp-block-details:first-child { border-top: 1px solid var(--sg-line); }

/* Closing banner */
.sg-cta .wp-block-cover { min-height: 470px !important; padding: 48px 24px !important; }
.sg-cta .wp-block-cover__inner-container { max-width: 640px; text-align: center; color: #fff; }
.sg-cta h2 { color: #fff; margin: 18px 0 0; }
.sg-cta p:not([class*="is-style"]) { color: rgba(255,255,255,.88); margin-top: 14px; }
.sg-cta .wp-block-buttons { justify-content: center; margin-top: 26px; gap: 12px; }
.sg-cta .wp-block-button.is-style-text .wp-block-button__link { color: #fff; }

/* Footer */
.sg-footer { padding: var(--sg-section) clamp(16px, 4vw, 40px) 28px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
.sg-footer__inner { max-width: var(--wp--style--global--wide-size, 1420px); margin: 0 auto !important; border-top: 1px solid var(--sg-line); padding-top: 48px; }
.sg-footer__cols { gap: 32px !important; }
.sg-footer .sg-logo img { height: 54px; width: auto; }
.sg-footer h2 { font-size: 16px; letter-spacing: -0.01em; font-weight: 600; margin: 0 0 14px; }
.sg-footer p, .sg-footer li { font-size: 15px; color: var(--sg-muted); }
.sg-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.sg-footer a { color: var(--sg-ink); text-decoration: none; }
.sg-footer a:hover { color: var(--sg-navy); text-decoration: underline; }
.sg-footer__base { margin-top: 48px !important; padding-top: 24px; border-top: 1px solid var(--sg-line); gap: 16px !important; }
.sg-footer__base p { margin: 0; font-size: 14px; }
.sg-footer__credits { font-size: 13px !important; max-width: 90ch; margin-top: 20px !important; }
.sg-footer__credits a { text-decoration: underline; color: var(--sg-muted); }

/* ---------- Inner pages ---------- */
.sg-page-head { text-align: center; max-width: 820px; margin: 0 auto !important; padding-top: clamp(48px, 7vw, 96px) !important; }
.sg-page-head h1 { margin: 16px 0 0; }
.sg-page-head > p:not([class*="is-style"]) { color: var(--sg-muted); font-size: 18px; margin-top: 16px; }
.sg-page-head .wp-block-buttons { justify-content: center; margin-top: 26px; }
.sg-page-photo { margin-top: 48px !important; }
.sg-page-photo .wp-block-image { margin: 0; }
.sg-page-photo .wp-block-image img { height: auto; }

.sg-split { align-items: center !important; gap: clamp(28px, 5vw, 72px) !important; }
.sg-split h2 { margin: 16px 0 0; }
.sg-split p:not([class*="is-style"]) { color: var(--sg-muted); font-size: 17px; }
.sg-split .wp-block-image { margin: 0; }
.sg-split .wp-block-image img { height: auto; }
.sg-split .wp-block-image figcaption { text-align: left; }
.sg-split .wp-block-list { color: var(--sg-muted); padding-left: 0; list-style: none; display: grid; gap: 10px; }
.sg-split .wp-block-list li { display: flex; gap: 12px; align-items: baseline; }
.sg-split .wp-block-list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sg-gold); flex: none; transform: translateY(-1px); }
.sg-pair { gap: 16px !important; }
.sg-pair { align-items: start; }
.sg-pair .wp-block-image img { height: auto; }
.sg-pair > .wp-block-image:nth-child(2) { margin-top: 48px; }

.sg-cards-group { gap: 20px !important; }
.sg-cards-group > * { margin: 0 !important; }
.sg-cards-group h3 { margin: 10px 0 6px; font-size: 22px; }
.sg-cards-group p { margin: 0; color: var(--sg-muted); font-size: 15px; }
.sg-cards-group .wp-block-image { margin: 0 0 8px; }
.sg-cards-group .wp-block-image img { width: 48px; height: 48px; }
.sg-cards-group .sg-place { color: var(--sg-navy); font-weight: 600; font-size: 14px; }
.sg-cards-group .sg-is-gold { background: var(--sg-gold-soft); }

.sg-contact { gap: 24px !important; align-items: flex-start !important; }
.sg-contact__list { gap: 14px !important; }
.sg-contact__item { display: flex !important; gap: 16px; align-items: center; padding: 20px !important; margin: 0 !important; }
.sg-contact__item > * { margin: 0 !important; }
.sg-contact__item .wp-block-image img { width: 48px; height: 48px; }
.sg-contact__item h3 { font-size: 15px; font-family: var(--sg-font-body); color: var(--sg-muted); font-weight: 500; letter-spacing: 0; margin: 0; }
.sg-contact__item p { margin: 2px 0 0 !important; font-size: 17px; font-weight: 500; }
.sg-contact__item p a { color: var(--sg-ink); text-decoration: none; }

.sg-plain { padding-top: clamp(48px, 7vw, 96px) !important; padding-bottom: 0 !important; }
.sg-plain h1 { font-size: var(--wp--preset--font-size--xx-large); margin-bottom: 32px; }
.sg-plain h2 { font-size: 26px; margin-top: 40px; }

.sg-single { padding-top: clamp(48px, 7vw, 96px) !important; }
.sg-single .wp-block-post-title { font-size: var(--wp--preset--font-size--xx-large); line-height: 1.15; }
.sg-single .wp-block-post-featured-image img { border-radius: var(--sg-radius); height: auto; }
.sg-single .wp-block-post-content { font-size: 17px; }
.sg-single .wp-block-post-content h2 { font-size: 28px; margin-top: 40px; }
.sg-single__meta { gap: 14px !important; color: var(--sg-muted); font-size: 14px; }

/* Responsive grids made from Group blocks */
@media (max-width: 900px) {
	.sg-cards-3 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.sg-steps { flex-wrap: wrap !important; }
	.sg-steps > .wp-block-column { flex-basis: 50% !important; }
	.sg-steps > .wp-block-column:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 781px) {
	.sg-cards-group { grid-template-columns: 1fr !important; }
	.sg-about__cover .wp-block-cover { min-height: 0 !important; padding: 220px 16px 16px !important; }
	.sg-hero .wp-block-cover { min-height: 600px !important; }
	.sg-pair > .wp-block-image:nth-child(2) { margin-top: 0; }
}
@media (max-width: 600px) {
	.sg-cards-2, .sg-cards-3 { grid-template-columns: 1fr !important; }
	.sg-steps > .wp-block-column { flex-basis: 100% !important; border-left: 0 !important; padding-left: 0 !important; }
	.sg-intro__float { position: static; max-width: none; margin-top: 12px !important; }
	.sg-product__row h3 { font-size: 21px; }
}

/* ==========================================================================
   Navy and gold lead: full-width coloured sections, a navy header and footer.
   Pick "Navy section", "Gold section" or "Soft gold section" on any Group block.
   ========================================================================== */
.is-style-section-navy, .is-style-section-gold, .is-style-section-soft {
	position: relative;
	padding-bottom: var(--sg-section) !important;
	clip-path: inset(0 -100vmax);
}
.is-style-section-navy { background: var(--sg-navy); box-shadow: 0 0 0 100vmax var(--sg-navy); color: #fff; }
.is-style-section-gold { background: var(--sg-gold); box-shadow: 0 0 0 100vmax var(--sg-gold); color: var(--sg-deep); }
.is-style-section-soft { background: var(--sg-gold-soft); box-shadow: 0 0 0 100vmax var(--sg-gold-soft); }
/* the next section starts right after a coloured one without a white strip doubling up */
.is-style-section-navy + .sg-section, .is-style-section-gold + .sg-section, .is-style-section-soft + .sg-section { margin-top: 0 !important; }

/* Text on navy */
.is-style-section-navy :is(h1, h2, h3, h4) { color: #fff; }
.is-style-section-navy p, .is-style-section-navy li { color: var(--sg-on-navy); }
.is-style-section-navy a:not(.wp-block-button__link) { color: var(--sg-gold); }
.is-style-section-navy p.is-style-label { background: transparent; border-color: rgba(255,255,255,.28); color: #fff; }
.is-style-section-navy .wp-block-button:not(.is-style-text):not(.is-style-white):not(.is-style-outline) .wp-block-button__link { background: var(--sg-gold); color: var(--sg-deep); }
.is-style-section-navy .wp-block-button:not(.is-style-text):not(.is-style-white):not(.is-style-outline) .wp-block-button__link:hover { background: var(--sg-gold-hover); }
.is-style-section-navy .wp-block-button.is-style-text .wp-block-button__link, .is-style-section-navy .sg-section__head .wp-block-button.is-style-text .wp-block-button__link { color: var(--sg-gold); }
.is-style-section-navy .sg-product__row p { border-color: var(--sg-gold); color: var(--sg-gold); }
.is-style-section-navy .sg-product__meta::before, .is-style-section-navy .sg-service h3::before { color: var(--sg-gold); }
.is-style-section-navy .sg-service h3 { border-color: rgba(255,255,255,.18); }
.is-style-section-navy .wp-block-details { border-color: rgba(255,255,255,.18) !important; }
.is-style-section-navy .wp-block-details summary::after { color: var(--sg-gold); }
.is-style-section-navy .sg-steps, .is-style-section-navy .sg-steps > .wp-block-column + .wp-block-column { border-color: rgba(255,255,255,.18); }
.is-style-section-navy .is-style-card { background: rgba(255,255,255,.07); }
.is-style-section-navy .is-style-card h3 { color: #fff; }
.is-style-section-navy .sg-cards-group .sg-place { color: var(--sg-gold); }
.is-style-section-navy .sg-cards-group .sg-is-gold { background: var(--sg-gold); }
.is-style-section-navy .sg-cards-group .sg-is-gold :is(h3, p) { color: var(--sg-deep); }
.is-style-section-navy p.is-style-fact { background: rgba(255,255,255,.08); color: var(--sg-on-navy); }
.is-style-section-navy p.is-style-fact strong { color: #fff; }
.is-style-section-navy .wp-block-image figcaption { color: var(--sg-on-deep); }

/* Text on gold */
.is-style-section-gold :is(h1, h2, h3, h4) { color: var(--sg-deep); }
.is-style-section-gold p, .is-style-section-gold li { color: var(--sg-on-gold); }
.is-style-section-gold p.is-style-label { background: transparent; border-color: color-mix(in srgb, var(--sg-deep) 30%, transparent); color: var(--sg-deep); }
.is-style-section-gold .wp-block-details { border-color: color-mix(in srgb, var(--sg-deep) 20%, transparent) !important; }
.is-style-section-gold .wp-block-details summary::after { color: var(--sg-deep); }
.is-style-section-gold .sg-faq__ask p, .is-style-section-gold .sg-faq .wp-block-details > p { color: var(--sg-on-gold); }
.is-style-section-gold .sg-section__head .wp-block-button.is-style-text .wp-block-button__link { color: var(--sg-deep); }
.is-style-section-gold .wp-block-image figcaption { color: var(--sg-on-gold-soft); }
.is-style-section-gold .sg-split .wp-block-list li::before { background: var(--sg-navy); }

/* Fact pills: gold on white */
p.is-style-fact { background: var(--sg-gold); color: var(--sg-deep); }
p.is-style-fact strong { color: var(--sg-deep); }
p.is-style-fact::before { background-color: var(--sg-white); }

/* Price check on gold: a white card and a navy card */
.is-style-section-gold .sg-price__field--market { background: var(--sg-white); }

/* Header (navy, or white when chosen in Theme settings) */
.sg-header { background: var(--sg-header-bg); backdrop-filter: none; }
.sg-header .wp-block-navigation .wp-block-navigation-item__content { color: var(--sg-header-text); }
.sg-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.sg-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.sg-header .wp-block-navigation [aria-current="page"] { background: var(--sg-header-hover); color: var(--sg-header-text); }
.sg-header .wp-block-navigation__responsive-container-open, .sg-header .wp-block-navigation__responsive-container-close { color: var(--sg-header-text); }
.sg-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--sg-header-bg) !important; color: var(--sg-header-text) !important; }
.sg-header .wp-block-button.is-style-arrow .wp-block-button__link { background: var(--sg-gold); color: var(--sg-deep); }
.sg-header .wp-block-button.is-style-arrow .wp-block-button__link:hover { background: var(--sg-gold-hover); }
.sg-header .wp-block-button.is-style-outline .wp-block-button__link { color: var(--sg-header-text); border-color: var(--sg-header-line); }
.sg-header .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--sg-header-hover); color: var(--sg-header-text); }
.sg-header-light .sg-header { border-bottom: 1px solid var(--sg-line); }
.sg-header-light .sg-header .wp-block-button.is-style-arrow .wp-block-button__link { background: var(--sg-btn-bg); color: var(--sg-btn-text); }
.sg-header-light .sg-header .wp-block-button.is-style-arrow .wp-block-button__link:hover { background: var(--sg-deep); color: #fff; }
.sg-header-light .sg-hero::before { display: none; }
.sg-header-light .sg-hero { padding-top: 8px !important; }
.sg-hero { padding-top: 0 !important; }
.sg-hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 50%; background: var(--sg-navy); box-shadow: 0 0 0 100vmax var(--sg-navy); clip-path: inset(0 -100vmax); z-index: -1; }
.sg-hero { position: relative; }

/* Deep navy footer */
.sg-footer { background: var(--sg-deep); margin-top: var(--sg-section) !important; padding-top: 72px !important; }
.sg-footer__inner { border-top: 0; padding-top: 0; }
.sg-footer :is(h2, h3) { color: var(--sg-gold); }
.sg-footer p, .sg-footer li { color: var(--sg-on-deep); }
.sg-footer a { color: #fff; }
.sg-footer a:hover { color: var(--sg-gold); }
.sg-footer__base { border-top-color: rgba(255,255,255,.14); }
.sg-footer__credits a { color: var(--sg-on-deep); }
/* no white gap when the page ends on a coloured section */
.is-style-section-navy:last-child, .is-style-section-gold:last-child { margin-bottom: 0 !important; }
.is-style-section-navy.sg-page-head > p:not([class*="is-style"]),
.is-style-section-navy .sg-section__head > p:not([class*="is-style"]),
.is-style-section-navy .sg-split p:not([class*="is-style"]) { color: var(--sg-on-navy); }
.is-style-section-gold .sg-section__head > p:not([class*="is-style"]),
.is-style-section-gold .sg-split p:not([class*="is-style"]) { color: var(--sg-on-gold); }
.is-style-section-soft .sg-split p:not([class*="is-style"]) { color: var(--sg-on-gold-soft); }
.sg-contact__item.is-style-card { background: var(--sg-gold-soft); }
.sg-page-head.is-style-section-navy { max-width: none !important; }
.sg-page-head.is-style-section-navy > * { max-width: 820px; margin-left: auto !important; margin-right: auto !important; }
.is-style-section-gold .sg-price__field--salma :is(h2, p) { color: #fff; }
.is-style-section-gold .sg-price__field--salma .sg-price__figure { color: var(--sg-gold); }
.is-style-section-gold .sg-price__field--salma a.sg-price__go { color: var(--sg-ink); }
/* A white section that runs into a coloured one gets its own bottom space */
.sg-section:not([class*="is-style-section"]):has(+ [class*="is-style-section"]),
.sg-page-photo:has(+ [class*="is-style-section"]) { padding-bottom: var(--sg-section) !important; }
/* Bulk-order note above the order form */
.sg-bulk-note { background: var(--sg-gold-soft) !important; border-left: 6px solid var(--sg-gold); padding: 18px 24px !important; }
.sg-bulk-note p { margin: 0; font-size: 16px; }
.sg-bulk-note a { font-weight: 600; }
.sg-section:has(> .sg-bulk-note) { padding-top: 40px !important; }
.sg-section:has(> .sg-bulk-note) + .sg-section { padding-top: 32px !important; }


/* ==========================================================================
   Header: stays at the top of the screen, and tightens once the page scrolls.
   ========================================================================== */
header.wp-block-template-part:has(.sg-header) { position: sticky; top: 0; z-index: 100; }
.admin-bar header.wp-block-template-part:has(.sg-header) { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part:has(.sg-header) { top: 46px; } }
@media (max-width: 600px) { .admin-bar header.wp-block-template-part:has(.sg-header) { top: 0; } }
.sg-header { position: relative; transition: box-shadow .4s var(--sg-ease), background-color .4s var(--sg-ease); }
.sg-header__inner { transition: padding .45s var(--sg-ease); }
.sg-header .sg-logo img { transition: height .45s var(--sg-ease); }
.is-scrolled .sg-header { background: var(--sg-header-scrolled); backdrop-filter: saturate(1.3) blur(12px); box-shadow: 0 10px 30px color-mix(in srgb, var(--sg-deep) 28%, transparent); }
.is-scrolled .sg-header__inner { padding-top: 8px; padding-bottom: 8px; }
.is-scrolled .sg-header .sg-logo img { height: 40px; }
.sg-header-fixed .is-scrolled .sg-header__inner { padding-top: 14px; padding-bottom: 14px; }
.sg-header-fixed .is-scrolled .sg-header .sg-logo img { height: 48px; }
@media (max-width: 600px) { .sg-header-fixed .is-scrolled .sg-header .sg-logo img { height: 40px; } }

/* Gold reading-progress line under the header */
.sg-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--sg-gold); transform-origin: 0 50%; transform: scaleX(0); pointer-events: none; }

/* ==========================================================================
   Motion layer (assets/js/theme.js with Motion + Lenis).
   While html.sg-motion is set, the parts that animate in start hidden;
   if the script never runs, the class is removed and everything shows.
   ========================================================================== */
html.lenis { scroll-behavior: auto; }
.sg-motion :is(
	.sg-hero p.is-style-badge, .sg-hero h1, .sg-hero .sg-hero__lead, .sg-hero .wp-block-button,
	.sg-section__head > *, .sg-intro__top > .wp-block-column, .sg-steps > .wp-block-column,
	.sg-product, .sg-facts > *, .sg-about__cover, .sg-service, .sg-news li, .sg-faq > .wp-block-column,
	.sg-cta .wp-block-cover, .sg-page-head > *, .sg-page-photo, .sg-split > .wp-block-column,
	.sg-cards-group > *, .sg-contact-cards > *, .sg-contact > .wp-block-column, .sg-price__field, .sg-bulk-note, .so-order > *
) { opacity: 0; }
.sg-hero h1 .sg-word { display: inline-block; will-change: transform; }
.sg-hero h1 .sg-word-wrap { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }

/* Cards respond to the pointer */
.sg-product, .sg-service, .sg-cards-group > .is-style-card { transition: transform .5s var(--sg-ease); transform-style: preserve-3d; will-change: transform; }
.sg-product .wp-block-image, .sg-service .wp-block-image { transition: box-shadow .5s var(--sg-ease); }
.sg-product:hover .wp-block-image, .sg-service:hover .wp-block-image { box-shadow: 0 24px 50px color-mix(in srgb, var(--sg-deep) 28%, transparent); }
.wp-block-button__link { will-change: transform; }

/* Soft page-to-page transitions (browsers that support them) */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: sg-page-out .32s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: sg-page-in .55s cubic-bezier(.22, 1, .36, 1) both; }
@keyframes sg-page-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes sg-page-in { from { opacity: 0; transform: translateY(14px); } }
header.wp-block-template-part:has(.sg-header) { view-transition-name: sg-header; }

/* Questions open and close smoothly */
.sg-faq .wp-block-details { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
	.sg-motion * { opacity: 1 !important; }
	@view-transition { navigation: none; }
	.sg-header, .sg-header__inner, .sg-header .sg-logo img, .sg-product, .sg-service { transition: none !important; }
}

/* ---------- Contact page ---------- */
.sg-contact-top { padding-top: 56px !important; }
.sg-contact-cards { gap: 20px !important; }
.sg-contact-card { display: flex; flex-direction: column; gap: 6px; padding: clamp(24px, 2.6vw, 36px) !important; margin: 0 !important; min-height: 100%; box-sizing: border-box; }
.sg-contact-card > * { margin: 0 !important; }
.sg-contact-card .wp-block-image { margin-bottom: 14px !important; }
.sg-contact-card .wp-block-image img { width: 56px; height: 56px; }
.sg-contact-card__label { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--sg-navy); text-transform: none; }
.sg-contact-card__value { font-family: var(--sg-font-heading); font-size: clamp(22px, 2vw, 26px); font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; color: var(--sg-ink); overflow-wrap: anywhere; }
.sg-contact-card__value a { color: inherit; text-decoration: none; }
.sg-contact-card__value a:hover { color: var(--sg-navy); }
.sg-contact-card__note { font-size: 15px; color: var(--sg-muted); flex: 1; }
.sg-contact-card .wp-block-buttons { margin-top: 16px !important; }
.sg-contact-card .wp-block-button.is-style-text .wp-block-button__link { padding: 0; color: var(--sg-navy); font-weight: 600; }
.sg-contact-card--navy { background: var(--sg-navy) !important; }
.sg-contact-card--navy .sg-contact-card__label { color: var(--sg-gold); }
.sg-contact-card--navy .sg-contact-card__value, .sg-contact-card--navy .sg-contact-card__value a { color: #fff; }
.sg-contact-card--navy .sg-contact-card__note { color: var(--sg-on-navy); }
.sg-contact-card--navy .wp-block-image img { filter: none; }

.sg-contact { align-items: stretch !important; }
.sg-contact-form { margin: 0 !important; padding: clamp(24px, 3vw, 44px) !important; border: 1px solid var(--sg-line); box-shadow: 0 20px 60px color-mix(in srgb, var(--sg-deep) 8%, transparent); }
.sg-contact-form h2 { margin: 14px 0 6px; font-size: clamp(28px, 2.6vw, 38px); }
.sg-contact-form > p:not([class*="is-style"]) { color: var(--sg-muted); margin: 0 0 24px; }
.sg-contact-form p.is-style-label { margin-left: 0 !important; }
.sg-contact-panel { background: var(--sg-deep); color: var(--sg-on-navy); border-radius: var(--sg-radius); padding: clamp(24px, 3vw, 40px) !important; margin: 0 !important; height: 100%; box-sizing: border-box; }
.sg-contact-panel h3 { color: var(--sg-gold); font-family: var(--sg-font-body); font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin: 28px 0 10px; }
.sg-contact-panel h3:first-child { margin-top: 0; }
.sg-contact-panel p { margin: 0; color: var(--sg-on-navy); font-size: 16px; }
.sg-contact-panel a { color: #fff; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--sg-gold) 50%, transparent); }
.sg-contact-panel a:hover { color: var(--sg-gold); }
.sg-hours { margin: 0 !important; }
.sg-hours p { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.sg-hours p strong { color: #fff; font-weight: 600; }
@media (max-width: 900px) { .sg-contact-cards { grid-template-columns: 1fr !important; } }

/* ==========================================================================
   Mobile menu (phones, tablets, small laptops). The content is the "sg-mmenu" group in the
   header; theme.js moves it to the end of the page, adds the ☰ button and opens it full screen.
   Without the script, WordPress's own menu button still works.
   ========================================================================== */
.sg-mmenu { margin: 0 !important; }
:where(body:not(.editor-styles-wrapper)) .sg-mmenu { display: none; }
.sg-mm-toggle { display: none; }

@media (max-width: 1139px) {
	.sg-mm .sg-header .wp-block-navigation__responsive-container-open { display: none !important; }
	.sg-mm .sg-header .wp-block-navigation { display: none; }
	.sg-mm-toggle { all: unset; box-sizing: border-box; order: 4; display: grid; place-items: center; width: 44px; height: 44px; margin: 0 -8px 0 4px !important; border-radius: 12px; cursor: pointer; color: var(--sg-header-text); flex: none; }
	.sg-mm-toggle:hover { background: var(--sg-header-hover); }
	.sg-mm-toggle:focus-visible { outline: 2px solid var(--sg-gold); outline-offset: 2px; }
	.sg-mm-toggle svg { width: 26px; height: 26px; }

	body > .sg-mmenu {
		display: flex; flex-direction: column; position: fixed; inset: 0; z-index: 100001;
		background: var(--sg-navy); color: #fff; overflow-y: auto; overscroll-behavior: contain;
		padding: 0 clamp(16px, 4vw, 40px) max(24px, env(safe-area-inset-bottom));
		opacity: 0; visibility: hidden; transform: translateY(-10px);
		transition: opacity .3s var(--sg-ease), transform .45s var(--sg-ease), visibility 0s linear .45s;
	}
	.sg-mm-open body > .sg-mmenu { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.sg-mm-open, .sg-mm-open body { overflow: hidden; }

	.sg-mmenu__top { display: flex; align-items: center; justify-content: space-between; min-height: 76px; position: sticky; top: 0; background: var(--sg-navy); z-index: 1; }
	.sg-mmenu__top img { height: 42px; width: auto; display: block; }
	.sg-mmenu__close { all: unset; box-sizing: border-box; display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; border-radius: 12px; cursor: pointer; color: #fff; }
	.sg-mmenu__close:hover { background: rgba(255, 255, 255, .1); }
	.sg-mmenu__close:focus-visible { outline: 2px solid var(--sg-gold); outline-offset: 2px; }
	.sg-mmenu__close svg { width: 26px; height: 26px; }
	.sg-mmenu__body { width: 100%; max-width: 620px; margin: 8px auto 0; display: flex; flex-direction: column; flex: 1; }
	.sg-mmenu__body > * { margin: 0 !important; }

	.sg-mmenu__links { list-style: none; padding: 0; margin: 0; border-top: 1px solid rgba(255, 255, 255, .14); }
	.sg-mmenu__links li { border-bottom: 1px solid rgba(255, 255, 255, .14); margin: 0; }
	.sg-mmenu__links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 2px; color: #fff; text-decoration: none; font-family: var(--sg-font-heading); font-size: clamp(26px, 7vw, 36px); font-weight: 500; letter-spacing: -0.03em; line-height: 1.15; transition: color .2s, padding .3s var(--sg-ease); }
	.sg-mmenu__links a::after { content: "→"; font-family: var(--sg-font-body); font-size: 20px; color: var(--sg-gold); opacity: .55; transition: transform .3s var(--sg-ease), opacity .2s; }
	.sg-mmenu__links a:hover, .sg-mmenu__links a:focus-visible { color: var(--sg-gold); padding-left: 8px; }
	.sg-mmenu__links a:hover::after { opacity: 1; transform: translateX(4px); }
	.sg-mmenu__links a[aria-current="page"] { color: var(--sg-gold); }
	.sg-mmenu__links a[aria-current="page"]::after { content: "●"; font-size: 10px; opacity: 1; }

	.sg-mmenu__invoice { margin-top: 20px !important; }
	.sg-mmenu__invoice a { display: block; padding: 16px 52px 16px 18px; position: relative; border-radius: var(--sg-radius-sm); background: rgba(255, 255, 255, .07); border: 1px solid color-mix(in srgb, var(--sg-gold) 45%, transparent); color: var(--sg-on-navy); text-decoration: none; font-size: 15px; line-height: 1.4; }
	.sg-mmenu__invoice a::after { content: "→"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--sg-gold); font-size: 20px; }
	.sg-mmenu__invoice strong { display: block; color: #fff; font-size: 18px; font-weight: 600; margin-bottom: 2px; }
	.sg-mmenu__invoice a:hover { background: rgba(255, 255, 255, .12); }
	.sg-mmenu__invoice a[aria-current="page"] { border-color: var(--sg-gold); }

	.sg-mmenu__actions { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px !important; margin-top: 20px !important; }
	.sg-mmenu__actions .wp-block-button { width: 100%; margin: 0; }
	.sg-mmenu__actions .wp-block-button__link { display: block; width: 100%; box-sizing: border-box; text-align: center; padding: 15px 16px; font-size: 15px; }
	.sg-mmenu__actions .is-style-outline .wp-block-button__link { color: #fff; border-color: rgba(255, 255, 255, .55); }
	.sg-mmenu__actions .is-style-outline .wp-block-button__link:hover { background: rgba(255, 255, 255, .1); color: #fff; }

	.sg-mmenu__contact { margin-top: auto !important; padding-top: 28px; font-size: 15px; line-height: 1.8; color: var(--sg-on-navy); }
	.sg-mmenu__contact a { color: #fff; text-decoration: none; font-weight: 500; }
	.sg-mmenu__contact a:hover { color: var(--sg-gold); }

	/* Parts rise in one after another as the menu opens */
	body > .sg-mmenu .sg-mm-item { opacity: 0; transform: translateY(16px); transition: opacity .4s var(--sg-ease), transform .55s var(--sg-ease); }
	.sg-mm-open body > .sg-mmenu .sg-mm-item { opacity: 1; transform: none; transition-delay: calc(80ms + var(--i, 0) * 45ms); }
}
@media (max-width: 380px) {
	.sg-mmenu__actions { grid-template-columns: 1fr; }
}
@media (min-width: 1140px) {
	body > .sg-mmenu { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
	body > .sg-mmenu, body > .sg-mmenu .sg-mm-item { transition: none !important; transform: none !important; }
}

/* About banner on the home page: shaped like its photo on computers, so both Emirates Towers show in full */
@media (min-width: 782px) {
	.sg-about__cover .wp-block-cover { min-height: 0 !important; aspect-ratio: 16 / 9 !important; }
	.sg-about__cover .wp-block-cover__image-background { object-position: 50% 50%; }
}
/* On phones the photo sits on top in its own shape and the quote card follows below it */
@media (max-width: 781px) {
	.sg-about__cover .wp-block-cover { min-height: 0 !important; padding: calc((100vw - 2 * clamp(16px, 4vw, 40px)) * 0.5625 + 14px) 0 2px !important; overflow: visible; border-radius: 0; clip-path: none !important; }
	.sg-about__cover .wp-block-cover__image-background { position: absolute; inset: 0 0 auto 0; height: calc((100vw - 2 * clamp(16px, 4vw, 40px)) * 0.5625) !important; border-radius: var(--sg-radius); }
	.sg-about__cover .wp-block-cover__inner-container { max-width: none; }
	.sg-about__cover .sg-quote { box-shadow: none; border: 1px solid var(--sg-line); }
}
