/* ==========================================================================
   Inside Looks — theme.css
   Brand layer for Elementor. Colors and fonts come from Elementor Global
   Colors / Global Fonts (Site Settings) so they stay editable; this file only
   adds the details Elementor has no control for (frames, eyebrow lines,
   glass blur, chip-style checkboxes, arrow icons) via CSS classes that are set
   in each widget's Advanced → CSS Classes field.
   ========================================================================== */

:root {
	--il-ink: var(--e-global-color-il_ink, #16130f);
	--il-body: var(--e-global-color-text, #4a4138);
	--il-muted: var(--e-global-color-il_muted, #83786b);
	--il-brass: var(--e-global-color-accent, #9a7440);
	--il-brass-light: var(--e-global-color-il_brass_light, #c9a874);
	--il-maroon: var(--e-global-color-secondary, #601407);
	--il-teal: var(--e-global-color-il_teal, #3c727f);
	--il-ottoman: var(--e-global-color-primary, #4e7483);
	--il-ivory: var(--e-global-color-il_ivory, #faf7f1);
	--il-linen: var(--e-global-color-il_linen, #f2ece2);
	--il-line: var(--e-global-color-il_line, #ddd2c2);
	--il-on-dark: var(--e-global-color-il_on_dark, #f5efe6);
	--il-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--il-sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
	--il-numerals: "Bellefair", "Cormorant Garamond", Georgia, serif;
	--il-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M2 8h11M9.5 4.5 13 8l-3.5 3.5' fill='none' stroke='%23000' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--il-ivory);
	color: var(--il-body);
	font-family: var(--il-sans);
	font-weight: 300;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; }
/* Text Editor widget: no stray top margin, spacing between paragraphs comes from the widget's "Paragraph Spacing". */
.elementor-widget-text-editor p { margin-top: 0; margin-bottom: 1.45em; }
.elementor-widget-text-editor > .elementor-widget-container > :last-child,
.elementor-widget-text-editor > :last-child,
.elementor-widget-text-editor p:last-child { margin-bottom: 0; }
.elementor-heading-title a { color: inherit; text-decoration: none; }
a { color: var(--il-ottoman); }
.screen-reader-text {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto; clip-path: none; height: auto; width: auto; z-index: 100000;
	left: 12px; top: 12px; padding: 12px 18px; background: #fff; color: var(--il-ink);
}
:where(a, button, input, select, textarea, [tabindex]):focus-visible {
	outline: 2px solid var(--il-brass-light);
	outline-offset: 2px;
}

/* ---------- Numerals: lining figures (client note #8) ----------
   Cormorant's default figures are old-style; wrap numbers in <span class="il-num"> */
.il-num { font-family: var(--il-numerals); font-style: normal; font-feature-settings: "lnum" 1; }

/* ---------- Script eyebrow with brass rule (client note #19) ----------
   Heading widget → Advanced → CSS Classes: il-eyebrow (add il-eyebrow--center for both sides) */
.il-eyebrow .elementor-heading-title {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}
.il-eyebrow .elementor-heading-title::before,
.il-eyebrow--center .elementor-heading-title::after {
	content: "";
	flex: 0 0 36px;
	width: 36px;
	height: 1px;
	background: currentColor;
	opacity: .9;
}

/* ---------- Hero ---------- */
.il-glass {
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
}
.il-hero-title .elementor-heading-title em,
.il-italic-accent .elementor-heading-title em {
	font-style: italic;
	color: var(--il-brass);
}

/* ---------- Buttons: thin arrow after the label ----------
   Button widget → CSS Classes: il-btn-arrow */
.il-btn-arrow .elementor-button-text { display: inline-flex; align-items: center; gap: 14px; }
.il-btn-arrow .elementor-button-text::after {
	content: "";
	width: 16px;
	height: 16px;
	flex: 0 0 16px;
	background-color: currentColor;
	-webkit-mask: var(--il-arrow) center / contain no-repeat;
	mask: var(--il-arrow) center / contain no-repeat;
	transition: transform .3s ease;
}
.il-btn-arrow .elementor-button:hover .elementor-button-text::after { transform: translateX(4px); }
.elementor-button { transition: background-color .3s ease, color .3s ease, border-color .3s ease; }

/* ---------- Story image with offset brass frame + badge ----------
   Container → CSS Classes: il-framed ; badge container: il-badge */
.il-framed { --il-frame-offset: 40px; position: relative; }
.il-framed > .elementor-widget-image,
.il-framed > .e-con-inner > .elementor-widget-image { position: relative; isolation: isolate; }
.il-framed > .elementor-widget-image .elementor-widget-container,
.il-framed > .e-con-inner > .elementor-widget-image .elementor-widget-container { position: relative; }
/* Brass frame offset behind the photo (Elementor reserves ::before on containers, so it lives on the image). */
.il-framed .elementor-widget-image::after {
	content: "";
	position: absolute;
	z-index: -1;
	top: var(--il-frame-offset);
	left: var(--il-frame-offset);
	width: 100%;
	height: 100%;
	border: 1px solid var(--il-brass-light);
	pointer-events: none;
	box-sizing: border-box;
}
.il-framed .elementor-widget-image img { display: block; position: relative; }
.e-con.il-badge,
.elementor-element.il-badge {
	position: absolute !important;
	right: 34px;
	bottom: 9px;
	z-index: 2;
}

/* ---------- Service cards: equal height, image crop ---------- */
.il-card { height: 100%; }
.il-card .elementor-widget-image { width: 100%; }
.il-card .elementor-widget-image img {
	display: block;
	width: 100%;
	height: 260px;
	object-fit: cover;
}

/* ---------- "Read debi's full story" expand (client note #23) ----------
   Toggle widget → CSS Classes: il-expand */
.il-expand .elementor-toggle-item { border: 0; }
.il-expand .elementor-tab-title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-direction: row-reverse;
	padding: 20px 0 !important;
	border-top: 1px solid var(--il-line) !important;
	border-bottom: 1px solid var(--il-line) !important;
}
.il-expand .elementor-tab-title.elementor-active { border-bottom-color: transparent !important; }
.il-expand .elementor-toggle-title { letter-spacing: .14em; }
.il-expand .elementor-toggle-icon { width: auto !important; margin: 0 !important; }
/* Thin "+" / "−" like the design (the Font Awesome icon stays selectable in Elementor as a fallback). */
.il-expand .elementor-toggle-icon i,
.il-expand .elementor-toggle-icon svg { display: none !important; }
.il-expand .elementor-toggle-icon-closed::before,
.il-expand .elementor-toggle-icon-opened::before {
	font-family: var(--il-sans);
	font-weight: 300;
	font-size: 26px;
	line-height: 1;
	color: currentColor;
}
.il-expand .elementor-toggle-icon-closed::before { content: "+"; }
.il-expand .elementor-toggle-icon-opened::before { content: "\2212"; }
.il-expand .elementor-tab-content {
	padding: 6px 0 26px !important;
	border-bottom: 1px solid var(--il-line) !important;
}
.il-expand .elementor-tab-content p:last-child { margin-bottom: 0; }

/* ---------- Testimonial box ---------- */
.il-quote-box { position: relative; }

/* ---------- Consultation form (Elementor Pro Form) ----------
   Form widget → CSS Classes: il-form ; checkbox field → CSS Classes: il-chips */
.il-form .elementor-field-group > label,
.il-form .elementor-field-label {
	text-transform: uppercase;
}
.il-form .elementor-field-textual { box-shadow: none !important; }
.il-form .elementor-field-textual::placeholder { color: var(--il-muted); opacity: .7; }
.il-form textarea.elementor-field-textual { min-height: 84px; resize: vertical; }

/* Multi-select chips (client note #20) */
:is(.il-chips, .il-form .elementor-field-type-checkbox) .elementor-field-subgroup {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
:is(.il-chips, .il-form .elementor-field-type-checkbox) .elementor-field-subgroup .elementor-field-option {
	position: relative;
	margin: 0 !important;
	padding: 0 !important;
	flex: 0 0 auto;
}
:is(.il-chips, .il-form .elementor-field-type-checkbox) .elementor-field-option input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	width: 1px;
	height: 1px;
	margin: 0;
}
:is(.il-chips, .il-form .elementor-field-type-checkbox) .elementor-field-option label {
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	padding: 9px 14px !important;
	border: 1px solid var(--il-line);
	background: #fff;
	color: var(--il-body);
	font-family: var(--il-sans);
	font-size: 14px !important;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0;
	text-transform: none !important;
	cursor: pointer;
	user-select: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
:is(.il-chips, .il-form .elementor-field-type-checkbox) .elementor-field-option label::before { content: "+"; font-size: 15px; line-height: 1; width: 10px; text-align: center; }
:is(.il-chips, .il-form .elementor-field-type-checkbox) .elementor-field-option label:hover { border-color: var(--il-ottoman); }
:is(.il-chips, .il-form .elementor-field-type-checkbox) .elementor-field-option input:checked + label {
	background: var(--il-ottoman);
	border-color: var(--il-ottoman);
	color: #fff;
}
:is(.il-chips, .il-form .elementor-field-type-checkbox) .elementor-field-option input:checked + label::before { content: "✓"; }
:is(.il-chips, .il-form .elementor-field-type-checkbox) .elementor-field-option input:focus-visible + label { outline: 2px solid var(--il-brass-light); outline-offset: 2px; }

.il-form .elementor-message { font-family: var(--il-sans); font-size: 15px; }
.il-form .elementor-message.elementor-message-success { color: var(--il-teal); }
.il-form .elementor-button[type="submit"] { justify-content: flex-start; }

/* ---------- Header ---------- */
.il-header-main { transition: box-shadow .3s ease, background-color .3s ease; }
.elementor-sticky--effects.il-header-main,
.il-header-main.elementor-sticky--effects { box-shadow: 0 8px 30px -18px rgba(30, 24, 18, .35); }
.il-header .elementor-nav-menu--main .elementor-item { white-space: nowrap; }
.il-utility-phone .elementor-icon-list-text { white-space: nowrap; }
.il-utility-divider { width: 1px !important; }

/* ---------- Footer ---------- */
.il-footer-links .elementor-icon-list-item > a,
.il-footer-links .elementor-icon-list-item > a .elementor-icon-list-text { transition: color .25s ease; }
.elementor-widget-text-editor.il-credit a { color: var(--il-ink); text-decoration: underline; text-underline-offset: 3px; }
.elementor-widget-text-editor.il-credit a:hover { color: var(--il-maroon); }
.il-affiliations .elementor-widget-image img { display: block; object-fit: contain; }

/* ---------- Responsive refinements (Elementor handles most per-device values) ---------- */
@media (max-width: 1024px) {
	.il-framed { --il-frame-offset: 28px; }
	.e-con.il-badge, .elementor-element.il-badge { right: 22px; bottom: 6px; }
}
@media (max-width: 767px) {
	.il-utility-btn .elementor-button { font-size: 11px; letter-spacing: .08em; }
	.il-utility-btn .elementor-button-text { gap: 8px; }
	.il-utility-btn .elementor-button-text::after { width: 13px; height: 13px; flex-basis: 13px; }
	.il-eyebrow .elementor-heading-title { gap: 10px; }
	.il-eyebrow .elementor-heading-title::before,
	.il-eyebrow--center .elementor-heading-title::after { flex-basis: 24px; width: 24px; }
	.il-framed { --il-frame-offset: 18px; }
	.e-con.il-badge, .elementor-element.il-badge { right: 12px; bottom: 0; }
	.il-card .elementor-widget-image img { height: 230px; }
	.il-glass { -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
}

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

/* ==========================================================================
   Fallback layout (only used when Elementor Pro templates are missing)
   ========================================================================== */
.il-container { width: min(1200px, calc(100% - 40px)); margin-inline: auto; padding: 80px 0; }
.il-page-title { font-family: var(--il-serif); font-weight: 400; font-size: clamp(36px, 5vw, 56px); line-height: 1.08; color: var(--il-ink); margin: 0 0 24px; }
.il-entry__content { max-width: 760px; font-size: 18px; line-height: 1.72; }
.il-entry-card { padding: 28px 0; border-bottom: 1px solid var(--il-line); }
.il-entry-card__title { font-family: var(--il-serif); font-weight: 500; font-size: 30px; margin: 0 0 8px; }
.il-entry-card__title a { color: var(--il-ink); text-decoration: none; }
.il-button { display: inline-block; padding: 18px 30px; background: var(--il-ottoman); color: #fff; text-decoration: none; font: 500 13px/1.2 var(--il-sans); letter-spacing: .12em; text-transform: uppercase; }
.il-404 { text-align: center; padding: 140px 0; }
.il-404__eyebrow { font-family: "Allura", cursive; font-size: 34px; color: var(--il-brass); margin: 0 0 8px; }

.il-fallback-header { background: var(--il-ivory); border-bottom: 1px solid var(--il-line); }
.il-fallback-header__inner { max-width: 1312px; margin: 0 auto; padding: 16px 64px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.il-fallback-logo img, .il-fallback-header .custom-logo { display: block; width: 220px; max-width: 60vw; height: auto; }
.il-fallback-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 30px; }
.il-fallback-nav a { color: var(--il-ink); text-decoration: none; font: 400 14px/1.3 var(--il-sans); }
.il-fallback-nav a:hover { color: var(--il-maroon); }
.il-fallback-footer { background: var(--il-linen); }
.il-fallback-footer__inner { max-width: 1200px; margin: 0 auto; padding: 28px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 14px; color: var(--il-muted); }
.il-fallback-footer a { color: inherit; }
@media (max-width: 767px) {
	.il-fallback-header__inner { padding: 14px 20px; }
}
