/*
 * Interiors by Steven G. — base: fonts, tokens, reset, typography, buttons, layout helpers.
 * Values are measured from the live site (Convex + Elementor kit + Customizer CSS).
 * Breakpoints (Elementor's): ≤1440 laptop · ≤1280 small laptop · ≤1024 tablet · ≤880 · ≤767 phone.
 */

@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Montserrat"; src: url("../fonts/montserrat-latin-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
	/* Colours (Theme Settings → Colours override the first six). */
	--c-bg: #000000;
	--c-heading: #FFFFFF;
	--c-text: #707377;        /* body copy on black */
	--c-light: #D2D3D5;       /* light text, lines, outline buttons */
	--c-accent: #D2CAC2;      /* "est. 1984" style background text */
	--c-panel: #101010;       /* menu panel side column */
	--c-surface: #1A1A1A;     /* footer, cards (kit "Global Light Grey") */
	--c-white: #FFFFFF;
	--c-grey: #CCCCCC;        /* kit "Light Grey", hovers */
	--c-line: #565656;        /* social circles */
	--c-field: #4C4C4C;       /* form field borders */
	--c-muted: #555555;       /* legal line */
	--c-art: #E1E0DD;         /* kit "Art Backdrop" */
	--c-link: #3D7C98;        /* Convex default text-link colour (Elementor text widgets) */

	/* Type. */
	--f-body: "Montserrat", sans-serif;
	--f-heading: "Montserrat", sans-serif;
	--fs-body: 17px;
	--lh-body: 1.68;
	--lh-p: 2.25em;           /* live: p { line-height: 2.25em !important } */
	--fw-heading: 500;

	/* Layout. */
	--container: 1470px;      /* Elementor kit container width */
	--gutter: 50px;           /* header/footer side padding on desktop */
	--header-h: 119px;        /* desktop header bar height (absolute, over the page) */

	/* Motion. */
	--ease: cubic-bezier(.4, 0, .2, 1);
	--t: .3s;
}
@media (max-width: 1440px) { :root { --gutter: 20px; } }
@media (max-width: 1024px) { :root { --header-h: 0px; } }
@media (max-width: 1279px) { :root { --fs-body: 16px; } } /* Convex: 16px body text below 1280px. */

/* Reset. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
	margin: 0;
	background: var(--c-bg);
	color: var(--c-text);
	font-family: var(--f-body);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: var(--lh-body);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
img, svg, video, iframe { max-width: 100%; }
img, video { height: auto; display: block; }
svg { flex-shrink: 0; }
figure { margin: 0; }
a { color: inherit; text-decoration: none; transition: color var(--t), background-color var(--t), border-color var(--t), opacity var(--t); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; }
:where(ul, ol)[class] { list-style: none; }
[hidden] { display: none !important; }

h1, h2, h3, h4, h5, h6 {
	margin: 0;
	font-family: var(--f-heading);
	font-weight: var(--fw-heading);
	line-height: 1.2;
	color: var(--c-heading);
	overflow-wrap: break-word;
}
p { margin: 0; line-height: var(--lh-p); }
strong, b { font-weight: 600; }

/* Accessibility. */
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sg-skip:focus {
	position: fixed !important; z-index: 100010; top: 10px; left: 10px; width: auto; height: auto; clip: auto; clip-path: none;
	padding: 12px 18px; background: var(--c-white); color: #000; font-size: 15px;
}
:focus-visible { outline: 1px solid var(--c-light); outline-offset: 3px; }

/* Buttons: live's outline button (Elementor button: 16px, 15px 20px, 1px #D2D3D5). */
.sg-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: 15px 20px;
	border: 1px solid var(--c-light); border-radius: 0;
	background: transparent; color: var(--c-light);
	font-size: 16px; font-weight: 400; line-height: 1; letter-spacing: normal; text-align: center;
	transition: color var(--t), background-color var(--t), border-color var(--t);
}
.sg-btn:hover, .sg-btn:focus-visible { background: var(--c-white); border-color: var(--c-white); color: #000; }
.sg-btn--solid { background: var(--c-white); border-color: var(--c-white); color: #000; }
.sg-btn--solid:hover { background: transparent; color: var(--c-white); }
.sg-btn--block { display: flex; width: 100%; }

/* Layout helpers. */
.sg-main { display: block; }
.sg-wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.sg-wrap--narrow { max-width: 1000px; }

/* Rich text (post content and editor text fields). */
.sg-prose > * + * { margin-top: 1.1em; }
.sg-prose a { color: var(--c-white); text-decoration: underline; text-underline-offset: 3px; }
.sg-prose a:hover { color: var(--c-grey); }
.sg-prose ul, .sg-prose ol { padding-left: 1.3em; }
.sg-prose ul[class], .sg-prose ol[class] { list-style: revert; }
.sg-prose li { line-height: 1.9; }
.sg-prose img { margin-block: 1em; }
.sg-prose blockquote { margin: 1.5em 0; padding-left: 1.2em; border-left: 1px solid var(--c-light); color: var(--c-light); }

/* Form fallback (before the forms area replaces it). */
.sg-form-fallback p + p { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 10px; }

/* Back to top: live's 42.5px circle, bottom right; appears after scrolling. */
.sg-totop {
	position: fixed; z-index: 990; right: 34px; bottom: 34px;
	width: 42.5px; height: 42.5px; border-radius: 50%;
	display: grid; place-items: center;
	background: #0A0A0A; border: 1px solid #0A0A0A; color: var(--c-white);
	opacity: 0; visibility: hidden; transform: translateY(110px);
	transition: opacity .3s, transform .3s, visibility 0s .3s, background-color .3s;
}
.sg-totop svg { transform: rotate(-90deg); }
.sg-totop:hover { background: var(--c-surface); }
.sg-scrolled .sg-totop { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .3s, background-color .3s; }
@media (max-width: 767px) { .sg-totop { right: 20px; bottom: 20px; } }

/* Modal (pop-ups: consultation form, style galleries, art enquiry). Open with [data-sg-modal-open="<id>"]. */
.sg-modal {
	position: fixed; inset: 0; z-index: 100020;
	display: grid; place-items: center; padding: 40px 20px;
	background: rgba(0, 0, 0, .9);
	overflow-y: auto; overscroll-behavior: contain;
	scrollbar-width: thin; scrollbar-color: #4C4C4C transparent; /* forms session, 2026-12-04: slim dark bar if a pop-up must scroll */
	opacity: 0; transition: opacity .35s var(--ease);
}
.sg-modal::-webkit-scrollbar { width: 6px; }
.sg-modal::-webkit-scrollbar-thumb { background: #4C4C4C; border-radius: 3px; }
.sg-modal::-webkit-scrollbar-track { background: transparent; }
.sg-modal.is-open { opacity: 1; }
.sg-modal__dialog { position: relative; width: 100%; max-width: 760px; }
.sg-modal__dialog--wide { max-width: 1440px; }
.sg-modal__close {
	position: fixed; top: 22px; right: 22px; z-index: 2;
	width: 44px; height: 44px; display: grid; place-items: center; color: var(--c-white);
}
.sg-modal__close:hover { color: var(--c-grey); }
html.sg-locked, html.sg-locked body { overflow: hidden; }
html.sg-locked { scrollbar-gutter: stable; } /* Keep the scrollbar's space so nothing shifts (as live's pop-ups). */

/* Reduced motion: no movement anywhere. */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Carousel structure (assets/js/slider.js). Areas style arrows/dots inside their own components. */
.sg-slider { position: relative; }
.sg-slider__viewport { overflow: hidden; touch-action: pan-y; }
.sg-slider__track { display: flex; will-change: transform; }
.sg-slider__track > * { min-width: 0; }
.sg-slider__prev[disabled], .sg-slider__next[disabled] { opacity: .3; cursor: default; }
.sg-slider__dots { display: flex; gap: 10px; justify-content: center; }
.sg-slider__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-line); }
.sg-slider__dot[aria-current="true"] { background: var(--c-white); }

/* Generic page fallback. */
.sg-page__inner { padding-block: calc(var(--header-h) + 80px) 100px; }
@media (max-width: 1024px) { .sg-page__inner { padding-top: 140px; } }
.sg-page__title { font-size: 50px; line-height: 1.2; margin-bottom: 40px; }
@media (max-width: 767px) { .sg-page__title { font-size: 34px; } }
