/*
Theme Name: Sathul Folio
Theme URI: https://sathuldigital.in/
Author: Sathul Digital
Author URI: https://sathuldigital.in/
Description: A cinematic portfolio theme for a digital marketer and web developer. Ships with a Projects post type, case-study templates and twelve Elementor widgets (hero, project grid, campaign ledger, design gallery, services, process and more), so every page stays editable in Elementor.
Version: 1.1.2
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: sathul
*/

/* ---------- Fonts (bundled, no external requests) ---------- */
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-opsz-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Bricolage Grotesque"; font-style: normal; font-weight: 200 800; font-display: swap; src: url("assets/fonts/bricolage-grotesque-latin-ext-opsz-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("assets/fonts/instrument-sans-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("assets/fonts/instrument-sans-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

/* ---------- Tokens ---------- */
:root {
	--sd-ink: #0a1220;
	--sd-navy: #111c30;
	--sd-navy-2: #18263f;
	--sd-paper: #f1ead9;
	--sd-gold: #e0a93b;
	--sd-up: #63d2a6;
	--sd-mist: #9aa6bc;

	--sd-bg: var(--sd-ink);
	--sd-fg: var(--sd-paper);
	--sd-dim: var(--sd-mist);
	--sd-rule: rgba(241, 234, 217, 0.14);
	--sd-accent: var(--sd-gold);
	--sd-panel: var(--sd-navy);

	--sd-display: "Bricolage Grotesque", "Arial Narrow", system-ui, sans-serif;
	--sd-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

	--sd-step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.875rem);
	--sd-step-0: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
	--sd-step-1: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
	--sd-step-2: clamp(1.6rem, 1.35rem + 1.2vw, 2.25rem);
	--sd-step-3: clamp(2.2rem, 1.6rem + 3vw, 4rem);
	--sd-step-4: clamp(2.9rem, 1.5rem + 6.6vw, 7rem);

	--sd-radius: 14px;
	--sd-ease: cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--sd-ink);
	color: var(--sd-paper);
	font-family: var(--sd-body);
	font-size: var(--sd-step-0);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--sd-gold); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sd-skip:focus { position: fixed; top: 12px; left: 12px; z-index: 999; width: auto; height: auto; clip: auto; background: var(--sd-gold); color: var(--sd-ink); padding: 10px 16px; border-radius: 8px; }

.sd-wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.sd-h { font-family: var(--sd-display); font-weight: 700; line-height: 1.02; letter-spacing: -0.03em; margin: 0; font-variation-settings: "opsz" 96; text-wrap: balance; }
.sd-h--xl { font-size: var(--sd-step-4); line-height: 0.94; letter-spacing: -0.045em; }
.sd-h--lg { font-size: var(--sd-step-3); }
.sd-h--md { font-size: var(--sd-step-2); letter-spacing: -0.02em; line-height: 1.1; }
.sd-lede { font-size: var(--sd-step-1); line-height: 1.45; color: var(--sd-dim); max-width: 34em; margin: 0; }
.sd-note { font-size: var(--sd-step--1); color: var(--sd-dim); }
.sd-num { font-family: var(--sd-display); font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* ---------- Sections and surfaces ---------- */
.sd-sec { background: var(--sd-bg); color: var(--sd-fg); padding-block: clamp(72px, 9vw, 136px); position: relative; }
.sd-sec--deep { --sd-bg: var(--sd-navy); --sd-panel: var(--sd-navy-2); }
.sd-sec--paper { --sd-bg: var(--sd-paper); --sd-fg: var(--sd-ink); --sd-dim: #4d5870; --sd-rule: rgba(10, 18, 32, 0.16); --sd-accent: #a8741a; --sd-panel: #e6dcc5; }
.sd-sec--gold { --sd-bg: var(--sd-gold); --sd-fg: var(--sd-ink); --sd-dim: #3a2c0c; --sd-rule: rgba(10, 18, 32, 0.22); --sd-accent: var(--sd-ink); --sd-panel: #cf9a2f; }
.sd-sec__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 24px 64px; align-items: end; margin-bottom: clamp(36px, 5vw, 72px); }
.sd-sec__head .sd-lede { justify-self: end; }
@media (max-width: 860px) { .sd-sec__head { grid-template-columns: 1fr; } .sd-sec__head .sd-lede { justify-self: start; } }

/* ---------- Buttons ---------- */
.sd-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; background: var(--sd-accent); color: var(--sd-bg); font-weight: 600; font-size: 1rem; line-height: 1; text-decoration: none; border: 1.5px solid var(--sd-accent); cursor: pointer; transition: transform 0.25s var(--sd-ease), background 0.2s, color 0.2s; }
.sd-btn:hover { transform: translateY(-2px); }
.sd-btn--ghost { background: transparent; color: var(--sd-fg); border-color: var(--sd-rule); }
.sd-btn--ghost:hover { border-color: var(--sd-fg); }
.sd-btn svg { width: 18px; height: 18px; flex: none; }
.sd-link { color: var(--sd-fg); text-decoration: underline; text-decoration-color: var(--sd-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; font-weight: 600; }
.sd-link:hover { color: var(--sd-accent); }

/* ---------- Header ---------- */
.sd-header { position: sticky; top: 0; z-index: 50; background: rgba(10, 18, 32, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.sd-header.is-stuck { border-bottom-color: var(--sd-rule); }
.sd-header__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.sd-brand { font-family: var(--sd-display); font-weight: 800; font-size: 1.35rem; letter-spacing: -0.04em; text-decoration: none; display: inline-flex; align-items: center; gap: 10px; }
.sd-brand img { max-height: 44px; width: auto; }
.sd-brand i { width: 10px; height: 10px; background: var(--sd-gold); border-radius: 2px; transform: rotate(45deg); display: inline-block; }
.sd-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 34px; }
.sd-nav a { text-decoration: none; font-weight: 500; font-size: 0.975rem; padding: 8px 0; position: relative; }
.sd-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--sd-gold); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--sd-ease); }
.sd-nav a:hover::after, .sd-nav .current-menu-item > a::after { transform: scaleX(1); }
.sd-header__cta { padding: 12px 20px; font-size: 0.925rem; }
.sd-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--sd-rule); border-radius: 999px; background: none; color: inherit; cursor: pointer; position: relative; }
.sd-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: currentColor; transition: transform 0.3s var(--sd-ease), top 0.3s var(--sd-ease); }
.sd-burger span:first-child { top: 17px; } .sd-burger span:last-child { top: 25px; }
.sd-burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.sd-burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }
@media (max-width: 900px) {
	.sd-burger { display: block; }
	.sd-header__cta { display: none; }
	.sd-nav { position: fixed; inset: 76px 0 0 0; background: var(--sd-ink); padding: 32px 24px; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity 0.25s, transform 0.25s, visibility 0.25s; overflow: auto; }
	.sd-nav.is-open { opacity: 1; visibility: visible; transform: none; }
	.sd-nav ul { flex-direction: column; gap: 4px; }
	.sd-nav a { font-family: var(--sd-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; display: block; padding: 10px 0; }
}

/* ---------- Hero ---------- */
.sd-hero { padding-block: clamp(48px, 7vw, 104px) clamp(64px, 8vw, 120px); overflow: hidden; isolation: isolate; }
.sd-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 55% at 82% 28%, rgba(224, 169, 59, 0.2), transparent 70%), radial-gradient(45% 50% at 8% 100%, rgba(40, 72, 130, 0.42), transparent 70%); }
.sd-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.5; background-image: linear-gradient(var(--sd-rule) 1px, transparent 1px), linear-gradient(90deg, var(--sd-rule) 1px, transparent 1px); background-size: 88px 88px; -webkit-mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); mask-image: radial-gradient(70% 70% at 70% 30%, #000, transparent 75%); }
.sd-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sd-hero__who { display: inline-flex; align-items: center; gap: 12px; font-size: var(--sd-step--1); font-weight: 500; padding: 7px 14px 7px 7px; border: 1px solid var(--sd-rule); border-radius: 999px; margin-bottom: 28px; }
.sd-hero__who img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.sd-hero__who b { width: 8px; height: 8px; border-radius: 50%; background: var(--sd-up); margin-left: 7px; box-shadow: 0 0 0 4px rgba(99, 210, 166, 0.18); }
.sd-hero h1 span { display: block; }
.sd-hero h1 span + span { color: var(--sd-accent); }
.sd-hero .sd-lede { margin-top: 28px; }
.sd-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.sd-stats { display: flex; flex-wrap: wrap; gap: 0; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--sd-rule); }
.sd-stats li { flex: 1 1 140px; padding: 22px 24px 0 0; }
.sd-stats li + li { padding-left: 24px; border-left: 1px solid var(--sd-rule); }
.sd-stats strong { display: block; font-family: var(--sd-display); font-size: var(--sd-step-2); font-weight: 700; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.sd-stats span { font-size: var(--sd-step--1); color: var(--sd-dim); }

.sd-stage { position: relative; padding: 0 0 72px 0; }
.sd-frame { border-radius: var(--sd-radius); background: var(--sd-navy-2); border: 1px solid var(--sd-rule); overflow: hidden; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.sd-frame__bar { display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 14px; border-bottom: 1px solid var(--sd-rule); font-size: 0.72rem; color: var(--sd-dim); }
.sd-frame__bar i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.45; }
.sd-frame__bar em { font-style: normal; margin-left: 10px; padding: 3px 12px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sd-frame__shot { aspect-ratio: 16 / 11; background: linear-gradient(135deg, #1d2f50, #0f1a2e); position: relative; overflow: hidden; }
.sd-frame__shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; transition: object-position 2.4s var(--sd-ease), transform 0.6s var(--sd-ease); }
.sd-frame__blank { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; font-family: var(--sd-display); font-weight: 700; font-size: clamp(1.1rem, 2.2vw, 1.7rem); letter-spacing: -0.03em; color: rgba(241, 234, 217, 0.75); background: radial-gradient(80% 90% at 20% 10%, rgba(224, 169, 59, 0.22), transparent 60%), repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.035) 0 2px, transparent 2px 14px); }
.sd-stage .sd-frame__blank { place-items: start center; padding-top: 16%; }
.sd-stage .sd-frame { transform: perspective(1400px) rotateY(-9deg) rotateX(3deg); transform-origin: left center; }
.sd-adcard { position: absolute; left: -9%; bottom: 0; width: min(330px, 78%); background: var(--sd-paper); color: var(--sd-ink); border-radius: var(--sd-radius); padding: 18px 20px 20px; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.75); }
.sd-adcard__top { display: flex; justify-content: space-between; align-items: center; font-size: 0.78rem; font-weight: 600; color: #4d5870; }
.sd-adcard__live { display: inline-flex; align-items: center; gap: 6px; color: #17805a; }
.sd-adcard__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1fa672; }
.sd-adcard__big { font-family: var(--sd-display); font-weight: 800; font-size: 3.1rem; letter-spacing: -0.05em; line-height: 1; margin: 12px 0 2px; font-variant-numeric: tabular-nums; }
.sd-adcard__big small { font-size: 0.9rem; font-weight: 600; letter-spacing: 0; color: #4d5870; margin-left: 8px; font-family: var(--sd-body); }
.sd-adcard svg { width: 100%; height: 46px; margin: 8px 0 12px; overflow: visible; }
.sd-adcard svg path { fill: none; stroke: #b07a1c; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 420; stroke-dashoffset: 420; animation: sd-draw 1.8s 0.7s var(--sd-ease) forwards; }
.sd-adcard dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0; padding-top: 12px; border-top: 1px solid rgba(10, 18, 32, 0.14); }
.sd-adcard dt { font-size: 0.74rem; color: #4d5870; }
.sd-adcard dd { margin: 0; font-family: var(--sd-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; }
@keyframes sd-draw { to { stroke-dashoffset: 0; } }
@keyframes sd-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.sd-hero__copy > * { animation: sd-rise 0.9s var(--sd-ease) both; }
.sd-hero__copy > *:nth-child(2) { animation-delay: 0.08s; } .sd-hero__copy > *:nth-child(3) { animation-delay: 0.16s; } .sd-hero__copy > *:nth-child(4) { animation-delay: 0.24s; } .sd-hero__copy > *:nth-child(5) { animation-delay: 0.32s; }
.sd-stage { animation: sd-rise 1.1s 0.2s var(--sd-ease) both; }
.sd-adcard { animation: sd-rise 0.9s 0.55s var(--sd-ease) both; }
@media (max-width: 600px) {
	.sd-stats li { flex: 1 1 0; min-width: 0; padding-right: 10px; }
	.sd-stats li + li { padding-left: 12px; }
	.sd-stage { margin-left: 0; padding-bottom: 150px; }
	.sd-adcard { left: auto; right: -6px; width: 250px; }
	.sd-adcard__big small { display: block; margin: 6px 0 0; }
}
@media (max-width: 960px) {
	.sd-hero__grid { grid-template-columns: 1fr; }
	.sd-stage { max-width: 560px; margin-left: 6%; }
	.sd-stage .sd-frame { transform: none; }
}

/* ---------- Marquee ---------- */
.sd-marquee { padding-block: 26px; border-block: 1px solid var(--sd-rule); overflow: hidden; background: var(--sd-bg); color: var(--sd-fg); }
.sd-marquee__track { display: flex; width: max-content; animation: sd-scroll var(--sd-speed, 36s) linear infinite; }
.sd-marquee:hover .sd-marquee__track { animation-play-state: paused; }
.sd-marquee__set { display: flex; align-items: center; flex: none; }
.sd-marquee__set span { font-family: var(--sd-display); font-weight: 700; font-size: clamp(1.5rem, 3.2vw, 2.6rem); letter-spacing: -0.03em; padding-inline: clamp(18px, 2.4vw, 36px); white-space: nowrap; }
.sd-marquee__set span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--sd-dim); }
.sd-marquee__set i { width: 9px; height: 9px; background: var(--sd-accent); transform: rotate(45deg); flex: none; }
@keyframes sd-scroll { to { transform: translateX(-50%); } }

/* ---------- Work grid ---------- */
.sd-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; }
.sd-filter button { font: inherit; font-size: 0.925rem; font-weight: 500; color: var(--sd-fg); background: none; border: 1px solid var(--sd-rule); border-radius: 999px; padding: 9px 18px; cursor: pointer; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.sd-filter button:hover { border-color: var(--sd-fg); }
.sd-filter button[aria-pressed="true"] { background: var(--sd-fg); color: var(--sd-bg); border-color: var(--sd-fg); }
.sd-filter sup { font-size: 0.68em; opacity: 0.6; margin-left: 4px; }
.sd-work { display: grid; grid-template-columns: repeat(var(--sd-cols, 3), minmax(0, 1fr)); gap: clamp(24px, 3vw, 44px) clamp(20px, 2.4vw, 32px); }
.sd-card { display: flex; flex-direction: column; gap: 16px; }
.sd-card[hidden] { display: none; }
.sd-card .sd-frame { box-shadow: none; transition: transform 0.45s var(--sd-ease), border-color 0.3s; }
.sd-card:hover .sd-frame { transform: translateY(-6px); border-color: var(--sd-accent); }
.sd-card .sd-frame__shot { aspect-ratio: 16 / 9; }
.sd-card .sd-frame__shot img { object-position: center top; }
.sd-card__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.sd-card__title { font-family: var(--sd-display); font-weight: 700; font-size: 1.3rem; letter-spacing: -0.03em; line-height: 1.15; margin: 0; }
.sd-card__title a { text-decoration: none; }
.sd-card__title a::after { content: ""; position: absolute; inset: 0; }
.sd-card { position: relative; }
.sd-card__tag { font-size: 0.8rem; color: var(--sd-dim); white-space: nowrap; }
.sd-card__win { position: absolute; top: 52px; right: 12px; z-index: 2; background: var(--sd-gold); color: var(--sd-ink); font-size: 0.8rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.sd-card__visit { position: relative; z-index: 2; font-size: 0.85rem; }
.sd-work__more { margin-top: clamp(36px, 5vw, 64px); text-align: center; }
.sd-empty { border: 1px dashed var(--sd-rule); border-radius: var(--sd-radius); padding: 40px; text-align: center; color: var(--sd-dim); }
@media (max-width: 960px) { .sd-work { --sd-cols: 2 !important; } }
@media (max-width: 600px) { .sd-work { --sd-cols: 1 !important; } }

/* ---------- Campaign ledger ---------- */
.sd-ledger { width: 100%; border-collapse: collapse; }
.sd-ledger th { text-align: left; font-size: 0.8rem; font-weight: 500; color: var(--sd-dim); padding: 0 16px 14px 0; border-bottom: 1px solid var(--sd-rule); white-space: nowrap; }
.sd-ledger td { padding: 26px 16px 26px 0; border-bottom: 1px solid var(--sd-rule); vertical-align: middle; }
.sd-ledger tbody tr { transition: background 0.25s; }
.sd-ledger tbody tr:hover { background: color-mix(in srgb, var(--sd-fg) 4%, transparent); }
.sd-ledger__name { font-family: var(--sd-display); font-weight: 700; font-size: var(--sd-step-1); letter-spacing: -0.03em; line-height: 1.15; }
.sd-ledger__name small { display: block; font-family: var(--sd-body); font-weight: 400; font-size: 0.85rem; letter-spacing: 0; color: var(--sd-dim); margin-top: 4px; }
.sd-ledger__fig { font-family: var(--sd-display); font-weight: 600; font-size: 1.2rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; white-space: nowrap; }
.sd-ledger__hero { font-family: var(--sd-display); font-weight: 800; font-size: var(--sd-step-2); letter-spacing: -0.04em; color: var(--sd-accent); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sd-ledger__bar { height: 4px; width: 120px; max-width: 100%; background: var(--sd-rule); border-radius: 4px; margin-top: 8px; overflow: hidden; }
.sd-ledger__bar i { display: block; height: 100%; background: var(--sd-accent); border-radius: 4px; }
@media (max-width: 820px) {
	.sd-ledger thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
	.sd-ledger, .sd-ledger tbody, .sd-ledger tr, .sd-ledger td { display: block; }
	.sd-ledger tr { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; padding: 24px 0; border-bottom: 1px solid var(--sd-rule); }
	.sd-ledger td { padding: 0; border: 0; }
	.sd-ledger td:first-child { grid-column: 1 / -1; }
	.sd-ledger td[data-label]::before { content: attr(data-label); display: block; font-size: 0.75rem; color: var(--sd-dim); margin-bottom: 2px; }
}

/* ---------- Services ---------- */
.sd-services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sd-rule); }
.sd-services li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) 260px; gap: 16px 48px; align-items: start; padding: clamp(24px, 3vw, 40px) 0; border-bottom: 1px solid var(--sd-rule); transition: padding 0.4s var(--sd-ease); }
.sd-services li:hover { padding-left: 18px; }
.sd-services h3 { font-family: var(--sd-display); font-weight: 700; font-size: var(--sd-step-2); letter-spacing: -0.035em; line-height: 1.05; margin: 0; }
.sd-services p { margin: 0; color: var(--sd-dim); max-width: 32em; }
.sd-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; max-width: 260px; }
.sd-chips span { font-size: 0.8rem; border: 1px solid var(--sd-rule); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
@media (max-width: 860px) { .sd-services li { grid-template-columns: 1fr; } .sd-chips { justify-content: flex-start; max-width: none; } }

/* ---------- Process ---------- */
.sd-steps { list-style: none; margin: 0; padding: 4px 0 0; overflow: hidden; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 40px 32px; counter-reset: sd-step; }
.sd-steps li { counter-increment: sd-step; position: relative; padding-top: 34px; }
.sd-steps li::before { content: ""; position: absolute; top: 9px; left: 0; right: -32px; height: 1px; background: var(--sd-rule); }
.sd-steps li:last-child::before { right: 0; }
.sd-steps li::after { content: counter(sd-step); position: absolute; top: -3px; left: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--sd-accent); color: var(--sd-bg); font-family: var(--sd-display); font-weight: 700; font-size: 0.85rem; display: grid; place-items: center; }
.sd-steps h3 { font-family: var(--sd-display); font-weight: 700; font-size: var(--sd-step-1); letter-spacing: -0.03em; margin: 0 0 8px; }
.sd-steps p { margin: 0; color: var(--sd-dim); font-size: 0.975rem; }

/* ---------- Testimonials ---------- */
.sd-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.sd-quote { margin: 0; padding: 32px; border-radius: var(--sd-radius); background: var(--sd-panel); display: flex; flex-direction: column; gap: 24px; justify-content: space-between; }
.sd-quote blockquote { margin: 0; font-size: var(--sd-step-1); line-height: 1.4; font-family: var(--sd-display); font-weight: 500; letter-spacing: -0.02em; }
.sd-quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; }
.sd-quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.sd-quote figcaption span { display: block; color: var(--sd-dim); }

/* ---------- CTA ---------- */
.sd-cta__in { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); gap: 32px 64px; align-items: end; }
.sd-cta__side { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
@media (max-width: 860px) { .sd-cta__in { grid-template-columns: 1fr; } }

/* ---------- Page intro, about, contact ---------- */
.sd-intro { padding-block: clamp(56px, 8vw, 120px) clamp(40px, 5vw, 72px); }
.sd-intro .sd-lede { margin-top: 24px; }
.sd-about { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.sd-about__photo { border-radius: var(--sd-radius); overflow: hidden; position: sticky; top: 108px; background: var(--sd-panel); aspect-ratio: 4 / 5; }
.sd-about__photo img { width: 100%; height: 100%; object-fit: cover; }
.sd-about__body > * + * { margin-top: 1.2em; }
.sd-about__body p { margin-bottom: 0; }
.sd-ticks { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--sd-rule); }
.sd-ticks li { padding: 16px 0 16px 34px; border-bottom: 1px solid var(--sd-rule); position: relative; font-weight: 500; }
.sd-ticks li::before { content: ""; position: absolute; left: 4px; top: 23px; width: 12px; height: 7px; border-left: 2px solid var(--sd-accent); border-bottom: 2px solid var(--sd-accent); transform: rotate(-45deg); }
@media (max-width: 860px) { .sd-about { grid-template-columns: 1fr; } .sd-about__photo { position: static; max-width: 420px; } }
.sd-contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 96px); }
.sd-channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--sd-rule); }
.sd-channels li { padding: 22px 0; border-bottom: 1px solid var(--sd-rule); }
.sd-channels span { display: block; font-size: 0.85rem; color: var(--sd-dim); }
.sd-channels a { font-family: var(--sd-display); font-weight: 700; font-size: var(--sd-step-1); letter-spacing: -0.03em; text-decoration: none; word-break: break-word; }
.sd-channels a:hover { color: var(--sd-accent); }
.sd-formbox { background: var(--sd-panel); border-radius: var(--sd-radius); padding: clamp(24px, 4vw, 44px); }
.sd-formbox input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]), .sd-formbox textarea, .sd-formbox select { width: 100%; font: inherit; color: var(--sd-fg); background: transparent; border: 0; border-bottom: 1px solid var(--sd-rule); padding: 12px 0; margin-bottom: 18px; border-radius: 0; }
.sd-formbox input:focus, .sd-formbox textarea:focus { outline: 0; border-bottom-color: var(--sd-accent); }
.sd-formbox input[type="submit"], .sd-formbox button[type="submit"] { font: inherit; font-weight: 600; background: var(--sd-accent); color: var(--sd-bg); border: 0; border-radius: 999px; padding: 15px 28px; cursor: pointer; }
@media (max-width: 860px) { .sd-contact { grid-template-columns: 1fr; } }

/* ---------- Case study ---------- */
.sd-case__head { padding-block: clamp(48px, 7vw, 104px) 40px; }
.sd-case__type { color: var(--sd-accent); font-weight: 600; margin: 0 0 16px; }
.sd-case__facts { display: flex; flex-wrap: wrap; gap: 0; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--sd-rule); }
.sd-case__facts div { flex: 1 1 160px; padding: 20px 24px 0 0; }
.sd-case__facts dt { font-size: 0.82rem; color: var(--sd-dim); }
.sd-case__facts dd { margin: 2px 0 0; font-weight: 600; }
.sd-case__shot { margin-bottom: clamp(40px, 6vw, 88px); }
.sd-case__shot .sd-frame__shot { aspect-ratio: auto; max-height: min(78vh, 820px); overflow-y: auto; }
.sd-case__shot img { position: static; width: 100%; height: auto; }
.sd-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1px; background: var(--sd-rule); border: 1px solid var(--sd-rule); border-radius: var(--sd-radius); overflow: hidden; margin-bottom: clamp(40px, 6vw, 88px); }
.sd-results div { background: var(--sd-navy); padding: 28px; }
.sd-results strong { display: block; font-family: var(--sd-display); font-weight: 800; font-size: var(--sd-step-3); letter-spacing: -0.05em; line-height: 1; color: var(--sd-gold); }
.sd-results span { color: var(--sd-dim); font-size: 0.925rem; }
.sd-next { display: block; text-decoration: none; padding-block: clamp(56px, 8vw, 112px); border-top: 1px solid var(--sd-rule); }
.sd-next:hover .sd-h { color: var(--sd-gold); }

/* ---------- Prose (default pages and posts) ---------- */
.sd-prose { width: min(720px, 100% - 48px); margin-inline: auto; padding-bottom: clamp(64px, 8vw, 120px); }
.sd-prose--wide { width: min(1240px, 100% - 48px); }
.sd-prose h2, .sd-prose h3, .sd-prose h4 { font-family: var(--sd-display); letter-spacing: -0.03em; line-height: 1.15; margin: 2em 0 0.6em; }
.sd-prose h2 { font-size: var(--sd-step-2); } .sd-prose h3 { font-size: var(--sd-step-1); }
.sd-prose a { text-decoration-color: var(--sd-gold); text-underline-offset: 4px; }
.sd-prose img { border-radius: var(--sd-radius); }
.sd-prose blockquote { margin: 2em 0; padding-left: 24px; border-left: 3px solid var(--sd-gold); font-size: var(--sd-step-1); }
.sd-prose pre { background: var(--sd-navy); padding: 20px; border-radius: 10px; overflow: auto; }
.sd-posts { display: grid; gap: 0; border-top: 1px solid var(--sd-rule); }
.sd-posts article { padding: 32px 0; border-bottom: 1px solid var(--sd-rule); }
.sd-posts h2 { font-family: var(--sd-display); font-size: var(--sd-step-2); letter-spacing: -0.03em; margin: 0 0 8px; }
.sd-posts h2 a { text-decoration: none; } .sd-posts h2 a:hover { color: var(--sd-gold); }
.sd-pager { display: flex; gap: 10px; justify-content: center; padding: 48px 0; }
.sd-pager .page-numbers { padding: 8px 15px; border: 1px solid var(--sd-rule); border-radius: 999px; text-decoration: none; }
.sd-pager .current { background: var(--sd-paper); color: var(--sd-ink); }

/* ---------- Footer ---------- */
.sd-footer { background: var(--sd-ink); border-top: 1px solid var(--sd-rule); padding-block: 56px 32px; }
.sd-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 32px; align-items: flex-start; }
.sd-footer__blurb { max-width: 26em; color: var(--sd-mist); margin: 14px 0 0; font-size: 0.95rem; }
.sd-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 28px; }
.sd-footer a { text-decoration: none; } .sd-footer a:hover { color: var(--sd-gold); }
.sd-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--sd-rule); font-size: 0.85rem; color: var(--sd-mist); }
.sd-wa { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #1fa672; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, 0.6); transition: transform 0.25s var(--sd-ease); }
.sd-wa:hover { transform: scale(1.08); }
.sd-wa svg { width: 28px; height: 28px; }

/* ---------- Meta Ads cards: wide Ads Manager screenshots ---------- */
.sd-card[data-types~="meta-ads"] .sd-frame__shot { aspect-ratio: 16 / 8.5; background: #eef3f6; }
.sd-card[data-types~="meta-ads"] .sd-frame__shot img { object-position: left top; }
.sd-card[data-types~="meta-ads"]:hover .sd-frame__shot img { object-position: left top; transform: scale(1.04); transform-origin: left top; }

/* ---------- Design gallery ---------- */
.sd-gallery { columns: var(--sd-gcols, 4) 220px; column-gap: clamp(12px, 1.6vw, 20px); }
.sd-gallery__item { display: block; break-inside: avoid; margin-bottom: clamp(12px, 1.6vw, 20px); position: relative; border-radius: 10px; overflow: hidden; background: var(--sd-panel); border: 1px solid var(--sd-rule); cursor: zoom-in; transition: transform 0.45s var(--sd-ease), border-color 0.3s; }
.sd-gallery__item img { width: 100%; height: auto; transition: transform 0.6s var(--sd-ease); }
.sd-gallery__item:hover { transform: translateY(-4px); border-color: var(--sd-accent); }
.sd-gallery__item:hover img { transform: scale(1.03); }
.sd-gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; font-size: 0.82rem; font-weight: 500; line-height: 1.3; color: #fff; background: linear-gradient(transparent, rgba(5, 10, 20, 0.85)); opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s var(--sd-ease); }
.sd-gallery__item:hover .sd-gallery__cap, .sd-gallery__item:focus-visible .sd-gallery__cap { opacity: 1; transform: none; }
@media (max-width: 600px) { .sd-gallery { columns: 2; } }

/* ---------- Case study: more screenshots ---------- */
.sd-case__more { display: grid; gap: clamp(20px, 3vw, 36px); margin: calc(-1 * clamp(16px, 3vw, 48px)) 0 clamp(40px, 6vw, 88px); }
.sd-case__more a { display: block; text-decoration: none; cursor: zoom-in; }
.sd-case__more .sd-frame__shot { aspect-ratio: auto; }
.sd-case__more .sd-frame__shot img { position: static; width: 100%; height: auto; }

/* ---------- Lightbox ---------- */
.sd-lightbox { position: fixed; inset: 0; z-index: 200; display: grid; grid-template-rows: 1fr auto; place-items: center; gap: 12px; padding: clamp(16px, 4vw, 48px); background: rgba(5, 10, 20, 0.94); opacity: 0; visibility: hidden; transition: opacity 0.25s, visibility 0.25s; }
.sd-lightbox.is-open { opacity: 1; visibility: visible; }
.sd-lightbox img { max-width: 100%; max-height: calc(100vh - 120px); width: auto; height: auto; border-radius: 8px; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, 0.8); }
.sd-lightbox p { margin: 0; color: var(--sd-paper); font-size: 0.95rem; text-align: center; }
.sd-lightbox button { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(241, 234, 217, 0.25); background: rgba(10, 18, 32, 0.7); color: var(--sd-paper); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.sd-lightbox button:hover { border-color: var(--sd-gold); color: var(--sd-gold); }
.sd-lightbox [data-sd-close] { top: 16px; right: 16px; }
.sd-lightbox [data-sd-prev] { left: 16px; top: 50%; transform: translateY(-50%); }
.sd-lightbox [data-sd-next] { right: 16px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .sd-lightbox [data-sd-prev], .sd-lightbox [data-sd-next] { top: auto; bottom: 16px; transform: none; } }

/* ---------- Elementor fit ---------- */
#masthead, .ehf-header #masthead, footer[itemtype*="WPFooter"], .hfe-before-footer-wrap { background: var(--sd-ink); color: var(--sd-paper); }
.sd-has-hfe-header #masthead { position: relative; z-index: 50; }
.elementor-widget[class*="elementor-widget-sathul-"] > .elementor-widget-container { padding: 0; }
.elementor-page .sd-main { padding: 0; }
.elementor-editor-active .sd-header { position: relative; }
.elementor-editor-active .sd-hero__copy > *, .elementor-editor-active .sd-stage, .elementor-editor-active .sd-adcard { animation: none; }
.elementor-editor-active .sd-adcard svg path { animation: none; stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001s !important; animation-delay: 0s !important; transition-duration: 0.001s !important; }
	.sd-marquee__track { animation: none; flex-wrap: wrap; width: auto; }
	.sd-marquee__set + .sd-marquee__set { display: none; }
	.sd-adcard svg path { stroke-dashoffset: 0; }
}
