/* ==========================================================================
   Satyadas Private Concierge — tokens and component states
   Source: Figma dev specs 02 (colour), 03 (type), 04 (buttons), 07 (layout).
   Colours and type are also set as Elementor kit globals; use those in widgets.
   This file holds what the kit can't express. Prefix: ts-
   ========================================================================== */

:root {
	--navy: #002345;
	--teal: #407881;
	--peach: #FFCD8B;
	--cream: #F8F8F5;
	--sand: #F2F1EC;
	--white: #FFFFFF;
	--muted: #66798C;
	--line: #E3E1D8;
	--red: #B24445;

	/* Accessible text variants (AHM rule: ≥ 4.5:1). See docs/open-items.md.
	   Muted #66798C is 4.22:1 on cream, 3.97:1 on sand; teal is 4.40:1 on sand. */
	--muted-text: #5B6E82;   /* 4.94 cream · 4.65 sand · 5.25 white */
	--teal-text-sand: #3D737C; /* 4.71 sand */

	--overlay-hero: linear-gradient(90deg, rgba(0,35,69,.97) 0%, rgba(0,35,69,.86) 42%, rgba(0,35,69,.35) 70%, rgba(0,35,69,.10) 100%);
	--glass: rgba(255,255,255,.10);
	--glass-line: rgba(255,255,255,.22);

	--font-display: "Sora", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Manrope", "Helvetica Neue", Arial, sans-serif;

	--container: 1296px;
	--gutter: 24px;
	--side: 72px;
	--section-y: 130px;

	--r-pill: 999px;
	--r-panel: 24px;
	--r-panel-lg: 32px;
	--r-card: 20px;
	--r-tile: 16px;
	--r-field: 12px;
	--r-glass: 22px;

	--ease: cubic-bezier(.2,.7,.2,1);
}

@media (max-width: 767px) {
	:root { --side: 20px; --section-y: 64px; }
}

/* Base ------------------------------------------------------------------- */
body {
	background: var(--cream);
	color: var(--muted-text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.76;
	-webkit-font-smoothing: antialiased;
}
@media (max-width: 767px) { body { font-size: 15px; line-height: 1.67; } }

:where(h1, h2, h3, h4) { font-family: var(--font-display); font-weight: 300; color: var(--navy); }

a { color: var(--teal); }
.ts-on-sand a, .ts-on-sand .ts-eyebrow { color: var(--teal-text-sand); }

:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.ts-on-navy :focus-visible { outline-color: var(--peach); }

.ts-skip-link { position: absolute; left: 16px; top: -100px; z-index: 1000; padding: 12px 20px; background: var(--peach); color: var(--navy); border-radius: var(--r-pill); font-weight: 600; }
.ts-skip-link:focus { top: 16px; }

.ts-sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Type helpers (Spec 03) ---------------------------------------------------- */
.ts-eyebrow { font: 700 12px/1.4 var(--font-body); letter-spacing: 2.4px; text-transform: uppercase; color: var(--teal); }
.ts-on-navy .ts-eyebrow { color: var(--peach); }
@media (max-width: 767px) { .ts-eyebrow { font-size: 11px; letter-spacing: 2px; } }

/* Buttons (Spec 04) ---------------------------------------------------------
   Kit default = Primary on light (navy). Add a class to the Button widget:
   ts-btn--peach        Primary on navy
   ts-btn--outline      Outline on light
   ts-btn--outline-inv  Outline on navy
   ts-btn--full-m       Full width on mobile (Spec 07)
   -------------------------------------------------------------------------- */
.elementor .elementor-button,
.ts-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	border-radius: var(--r-pill);
	padding: 17px 28px;
	font: 600 15px/20px var(--font-body);
	border: 0;
	box-shadow: inset 0 0 0 1px transparent;
	transition: background-color 200ms ease-out, box-shadow 200ms ease-out, color 200ms ease-out;
}
.elementor .elementor-button .elementor-button-icon svg { width: 17px; height: 17px; }
.elementor .elementor-button:active { filter: brightness(.88); }
.elementor .elementor-button:focus { outline: none; }
.elementor .elementor-button:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.elementor .elementor-button[aria-disabled="true"],
.elementor .elementor-button:disabled { opacity: .4; pointer-events: none; }

.elementor .ts-btn--peach .elementor-button { background-color: var(--peach); color: var(--navy); }
.elementor .ts-btn--peach .elementor-button:hover,
.elementor .ts-btn--peach .elementor-button:focus-visible { background-color: #F5BE73; color: var(--navy); }

.elementor .ts-btn--outline .elementor-button { background-color: transparent; color: var(--navy); box-shadow: inset 0 0 0 1px rgba(0,35,69,.5); }
.elementor .ts-btn--outline .elementor-button:hover { background-color: rgba(0,35,69,.08); color: var(--navy); box-shadow: inset 0 0 0 1px var(--navy); }

.elementor .ts-btn--outline-inv .elementor-button { background-color: transparent; color: var(--white); box-shadow: inset 0 0 0 1px rgba(255,255,255,.5); }
.elementor .ts-btn--outline-inv .elementor-button:hover { background-color: rgba(255,255,255,.08); color: var(--white); box-shadow: inset 0 0 0 1px var(--white); }

.ts-on-navy .elementor-button:focus-visible { outline-color: var(--peach); }

@media (max-width: 767px) {
	.elementor .ts-btn--full-m,
	.elementor .ts-btn--full-m .elementor-button { width: 100%; }
}

/* Trailing button icons (Figma SVGs used as masks, coloured by the label colour) */
.elementor .ts-ico .elementor-button-content-wrapper { display: inline-flex; align-items: center; gap: 10px; }
.elementor .ts-ico .elementor-button-content-wrapper::after {
	content: ""; width: 17px; height: 17px; flex: none; background-color: currentColor;
	-webkit-mask: var(--ts-ico) center / contain no-repeat; mask: var(--ts-ico) center / contain no-repeat;
}
.ts-ico--arrow-right { --ts-ico: url(../img/icons/arrow-right.svg); }
.ts-ico--video { --ts-ico: url(../img/icons/video.svg); }
.ts-ico--phone { --ts-ico: url(../img/icons/phone.svg); }
.elementor .ts-btn-pending .ts-icon, .elementor-button .ts-icon { width: 17px; height: 17px; }
.elementor .elementor-button:has(.ts-icon) { gap: 10px; }

/* Text link with icon circle, e.g. "Watch the introduction" (Spec 04) */
.ts-icon-link { display: inline-flex; align-items: center; gap: 14px; font: 600 15px/20px var(--font-body); color: inherit; text-decoration: none; }
.ts-icon-link__circle { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; box-shadow: inset 0 0 0 1px currentColor; transition: background-color 200ms ease-out; }
.ts-icon-link:hover .ts-icon-link__circle { background-color: rgba(255,255,255,.10); }

/* Placeholder marker for unconfirmed client facts (docs/open-items.md) ---- */
.ts-placeholder { background: rgba(255,205,139,.35); outline: 1px dashed currentColor; outline-offset: 2px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
#main-content:focus { outline: none; }
