/* =========================================================
   BensAz Designs — simple, conversion-first design system (v4)
   Direction: clear SaaS/service landing page, not a magazine.
   ========================================================= */

:root {
  --primary: #0b1220;
  --primary-hover: #18243a;
  --primary-fg: #ffffff;
  --secondary: #475569;
  --accent: #f59e0b;
  --accent-hover: #d97706;
  --accent-fg: #161008;
  --accent-soft: #fff7e6;
  --background: #ffffff;
  --foreground: #0b1220;
  --card: #ffffff;
  --card-fg: #0b1220;
  --muted: #f8fafc;
  --muted-strong: #eef2f7;
  --muted-fg: #64748b;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;
  --success: #16a34a;
  --destructive: #dc2626;

  --fs-12: 0.75rem;
  --fs-14: 0.875rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-32: 2rem;
  --fs-48: 3rem;
  --fs-64: 4rem;
  --fs-hero: clamp(2.55rem, 5.5vw, 4.85rem);
  --fs-display: clamp(2rem, 4vw, 3.25rem);

  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 20px;
  --sp-6: 24px;
  --sp-8: 32px;
  --sp-10: 40px;
  --sp-12: 48px;
  --sp-16: 64px;
  --sp-20: 80px;
  --sp-24: 96px;
  --sp-32: 128px;

  --maxw: 1180px;
  --maxw-narrow: 780px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 22px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05), 0 4px 14px rgba(15, 23, 42, 0.05);
  --shadow: 0 16px 45px rgba(15, 23, 42, 0.10);
  --shadow-lg: 0 28px 75px rgba(15, 23, 42, 0.18);
  --easing: cubic-bezier(.2, .7, .2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: var(--fs-16);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

img {
  display: block;
  max-width: 100%;
}

::selection {
  background: #fde68a;
  color: var(--foreground);
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--sp-4);
  color: var(--foreground);
  font-family: "Playfair Display", "Libre Bodoni", Georgia, serif;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

h1 {
  font-size: var(--fs-hero);
}

h2 {
  font-size: var(--fs-display);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.55rem);
}

h4 {
  font-size: var(--fs-18);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--sp-4);
  color: var(--secondary);
}

strong {
  color: inherit;
}

ul,
ol {
  margin-top: 0;
}

.container {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

.container-narrow {
  width: min(100% - 40px, var(--maxw-narrow));
  margin-inline: auto;
}

.section {
  padding: clamp(68px, 8vw, 104px) 0;
}

.section-tight {
  padding: clamp(48px, 6vw, 72px) 0;
}

.section-loose {
  padding: clamp(84px, 10vw, 128px) 0;
}

.section-soft,
.bg-muted {
  background: var(--muted);
}

.section-navy,
.bg-ink {
  background: var(--primary);
  color: #cbd5e1;
}

.section-navy h1,
.section-navy h2,
.section-navy h3,
.section-navy h4,
.bg-ink h1,
.bg-ink h2,
.bg-ink h3,
.bg-ink h4 {
  color: #ffffff;
}

.section-navy p,
.bg-ink p {
  color: #b8c4d4;
}

.bg-paper {
  background: var(--background);
}

.bg-card {
  background: var(--card);
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 500;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--primary);
  color: #ffffff;
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 160ms var(--easing);
}

.skip-link:focus {
  transform: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--sp-4);
  color: #b45309;
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: var(--fs-12);
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}

.section-navy .eyebrow,
.bg-ink .eyebrow,
.portfolio-section .eyebrow {
  color: #fbbf24;
}

.lead {
  max-width: 680px;
  color: var(--secondary);
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  line-height: 1.65;
}

.editorial-split,
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.72fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: end;
  margin-bottom: clamp(34px, 5vw, 56px);
}

.section-head.center,
.section-head.text-center {
  display: block;
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lead,
.section-head.text-center .lead {
  margin-inline: auto;
}

.dropcap::first-letter {
  float: none;
  padding: 0;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}

.pull-quote {
  position: relative;
  margin: var(--sp-10) 0;
  padding: var(--sp-8);
  border: 1px solid #fde3ad;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--foreground);
  font-family: "Playfair Display", "Libre Bodoni", Georgia, serif;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-style: normal;
  line-height: 1.55;
}

.rule,
.rule-strong {
  height: 1px;
  margin: var(--sp-16) 0;
  background: var(--border);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 12px 24px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: var(--fs-14);
  font-weight: 800;
  letter-spacing: -0.005em;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: transform 180ms var(--easing), background-color 180ms var(--easing),
    border-color 180ms var(--easing), color 180ms var(--easing), box-shadow 180ms var(--easing);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-fg);
  box-shadow: 0 9px 24px rgba(11, 18, 32, 0.16);
}

.btn-primary:hover {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.22);
}

.btn-accent {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 10px 24px rgba(245, 158, 11, 0.22);
}

.btn-accent:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(245, 158, 11, 0.30);
}

.btn-outline {
  border-color: var(--border-strong);
  background: #ffffff;
  color: var(--foreground);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.btn-secondary {
  border-color: var(--border-strong);
  background: #ffffff;
  color: var(--foreground);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(11, 18, 32, 0.16);
}

.btn-ghost {
  min-height: 44px;
  padding-inline: 8px;
  background: transparent;
  color: var(--secondary);
}

.btn-ghost:hover {
  color: var(--foreground);
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.035);
  backdrop-filter: blur(16px) saturate(160%);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--foreground);
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: -0.025em;
}

.brand:hover {
  color: var(--foreground);
}

.brand-mark {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 11px;
  background: var(--primary);
  color: var(--accent);
  font-family: "Playfair Display", "Libre Bodoni", Georgia, serif;
  font-size: 1.1rem;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(11, 18, 32, 0.14);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--secondary);
  font-size: 0.82rem;
  font-weight: 700;
  transition: color 160ms var(--easing);
}

.nav-links a:hover,
.nav-links a.active,
.nav-links a[aria-current="page"] {
  color: var(--foreground);
}

.nav-cta {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
}

.nav-cta .btn {
  min-height: 44px;
  padding: 10px 17px;
}

.nav-order {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 7px 18px rgba(245, 158, 11, 0.24);
}

.nav-order:hover {
  border-color: var(--accent-hover);
  background: var(--accent-hover);
  color: #ffffff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #ffffff;
  color: var(--foreground);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

/* Conversion hero — supports the refreshed homepage and legacy hero markup */
.hero,
.hero-conversion {
  position: relative;
  overflow: hidden;
  padding: clamp(62px, 8vw, 104px) 0 clamp(58px, 7vw, 92px);
  background:
    radial-gradient(circle at 88% 18%, rgba(245, 158, 11, 0.14), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.hero::after,
.hero-conversion::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -260px;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(245, 158, 11, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.hero-grid,
.hero-conversion > .container {
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.86fr);
  align-items: center;
  gap: clamp(42px, 7vw, 90px);
}

.hero h1,
.hero-conversion h1 {
  max-width: 760px;
  margin-bottom: var(--sp-6);
  font-size: var(--fs-hero);
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.hero h1 em,
.hero-conversion h1 em {
  color: #b45309;
  font-style: normal;
}

.hero-conversion h1 > span {
  color: #b45309;
}

.hero h1 .underline {
  position: relative;
  z-index: 0;
  display: inline-block;
}

.hero h1 .underline::after {
  content: "";
  position: absolute;
  right: -2px;
  bottom: 5px;
  left: -2px;
  z-index: -1;
  height: 13px;
  border-radius: 5px;
  background: #fde3ad;
  transform: rotate(-1deg);
}

.hero .lead,
.hero-conversion .lead {
  max-width: 650px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: var(--sp-8);
}

.hero-ctas .btn:first-child {
  min-width: 170px;
}

.hero-note {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin: 14px 0 0;
  color: var(--muted-fg);
  font-size: var(--fs-12);
  font-weight: 650;
}

.hero-meta,
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: var(--sp-10);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--border);
}

.hero-meta .stat,
.hero-proof > * {
  min-width: 118px;
  padding: 0 22px;
  border-right: 1px solid var(--border);
}

.hero-meta .stat:first-child,
.hero-proof > :first-child {
  padding-left: 0;
}

.hero-meta .stat:last-child,
.hero-proof > :last-child {
  border-right: 0;
}

.hero-meta .stat strong,
.hero-proof strong {
  display: block;
  margin-bottom: 3px;
  color: var(--foreground);
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: clamp(1.25rem, 2vw, 1.55rem);
  font-weight: 850;
  line-height: 1.1;
}

.hero-meta .stat span,
.hero-proof span {
  color: var(--muted-fg);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-side,
.hero-showcase {
  position: relative;
  padding: clamp(24px, 3.5vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow);
}

.hero-side::before,
.hero-showcase::before {
  content: "★★★★★";
  display: inline-block;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.88rem;
  letter-spacing: 3px;
}

.hero-side .byline {
  margin-bottom: 10px;
  color: var(--muted-fg);
  font-size: var(--fs-12);
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hero-side blockquote {
  margin: 0;
  color: var(--foreground);
  font-family: "Playfair Display", "Libre Bodoni", Georgia, serif;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  font-style: normal;
  font-weight: 700;
  line-height: 1.4;
}

.hero-side cite {
  display: block;
  margin-top: var(--sp-5);
  color: var(--muted-fg);
  font-size: var(--fs-14);
  font-style: normal;
}

.hero-showcase:has(.hero-project) {
  min-height: 520px;
  overflow: visible;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.hero-showcase:has(.hero-project)::before {
  display: none;
}

.hero-project {
  position: absolute;
  z-index: 2;
  width: 47%;
  aspect-ratio: 4 / 5.35;
  border: 5px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
}

.hero-project-main {
  top: 2%;
  left: 25%;
  z-index: 4;
  width: 53%;
  transform: rotate(-1deg);
}

.hero-project-main:hover {
  transform: rotate(-1deg) translateY(-5px);
}

.hero-project-top {
  top: 4%;
  right: -3%;
  z-index: 2;
  width: 39%;
  transform: rotate(7deg);
}

.hero-project-top:hover {
  transform: rotate(7deg) translateY(-5px);
}

.hero-project-bottom {
  bottom: 1%;
  left: -1%;
  z-index: 3;
  width: 41%;
  transform: rotate(-7deg);
}

.hero-project-bottom:hover {
  transform: rotate(-7deg) translateY(-5px);
}

.showcase-glow {
  position: absolute;
  inset: 8% 4% 3% 8%;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.24);
  filter: blur(58px);
  pointer-events: none;
}

.showcase-badge {
  position: absolute;
  right: 0;
  bottom: 7%;
  z-index: 6;
  display: grid;
  min-width: 118px;
  min-height: 74px;
  place-content: center;
  padding: 12px 18px;
  border: 4px solid #ffffff;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: 0 15px 30px rgba(15, 23, 42, 0.18);
  text-align: center;
}

.showcase-badge strong {
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
}

.showcase-badge span {
  margin-top: 4px;
  font-size: 0.67rem;
  font-weight: 800;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero-collage {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  transform: rotate(1deg);
}

.hero-collage > * {
  overflow: hidden;
  border: 5px solid #ffffff;
  border-radius: var(--radius);
  background: var(--muted-strong);
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.16);
}

.hero-collage > :nth-child(2) {
  margin-top: 28px;
}

.hero-collage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Trust */
.trust-strip,
.trust-bar {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.trust-strip {
  padding: 21px 0;
}

.trust-strip .row,
.trust-bar > .container,
.trust-bar .row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 58px);
  flex-wrap: wrap;
}

.trust-bar {
  padding: 18px 0;
}

.trust-bar-inner > div {
  display: grid;
  gap: 1px;
  min-width: 130px;
  text-align: center;
}

.trust-bar-inner > div + div {
  position: relative;
}

.trust-bar-inner > div + div::before {
  content: "";
  position: absolute;
  top: 50%;
  left: clamp(-29px, -2.5vw, -16px);
  width: 1px;
  height: 28px;
  background: var(--border);
  transform: translateY(-50%);
}

.trust-strip span,
.trust-bar span,
.trust-bar li {
  color: var(--muted-fg);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.01em;
}

.trust-strip strong,
.trust-bar strong {
  color: var(--foreground);
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: inherit;
  font-weight: 850;
}

/* Benefits and reusable cards */
.editorial-grid,
.features,
.benefits-simple,
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.editorial-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.editorial-grid > .feature,
.features > .feature,
.benefits-simple > *,
.process-steps > * {
  min-width: 0;
}

.feature,
.benefits-simple > article,
.benefits-simple > div,
.process-steps > article,
.process-steps > div {
  position: relative;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--easing), border-color 180ms var(--easing),
    box-shadow 180ms var(--easing);
}

.feature:hover,
.benefits-simple > article:hover,
.benefits-simple > div:hover {
  border-color: #f3cf87;
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.feature .num,
.feature .ico,
.benefits-simple .ico,
.process-steps .ico,
.process-steps .num {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  margin-bottom: var(--sp-5);
  border-radius: 13px;
  background: var(--accent-soft);
  color: #b45309;
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: var(--fs-14);
  font-weight: 850;
  letter-spacing: 0;
}

.feature .num {
  width: auto;
  height: auto;
  place-items: initial;
  margin-bottom: 12px;
  background: transparent;
  font-size: var(--fs-12);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feature h3,
.benefits-simple h3,
.process-steps h3 {
  margin-bottom: 9px;
  font-size: 1.28rem;
}

.feature p,
.benefits-simple p,
.process-steps p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.65;
}

.benefit-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: #b45309;
  font-size: var(--fs-12);
  font-weight: 900;
  letter-spacing: -0.02em;
}

.process-steps {
  counter-reset: process;
}

.process-steps > * {
  counter-increment: process;
}

.process-steps > *::before {
  content: "0" counter(process);
  display: block;
  margin-bottom: 16px;
  color: #b45309;
  font-size: var(--fs-12);
  font-weight: 850;
  letter-spacing: 0.1em;
}

.section-navy .process-steps > *,
.bg-ink .process-steps > * {
  border-color: #29384e;
  background: #111c2e;
  box-shadow: none;
}

.section-navy .process-steps > *::before,
.bg-ink .process-steps > *::before {
  color: #fbbf24;
}

.section-navy .process-steps p,
.bg-ink .process-steps p {
  color: #aebdd0;
}

.section-head-light p {
  color: #aebdd0;
}

/* Pricing */
.pricing {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: clamp(28px, 3.5vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
  box-shadow: var(--shadow-sm);
}

.price-card.featured {
  border-color: var(--primary);
  background: var(--primary);
  color: #dbe4ef;
  box-shadow: 0 24px 55px rgba(11, 18, 32, 0.22);
  transform: translateY(-8px);
}

.price-card .tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 7px 11px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-fg);
  font-size: 0.65rem;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-card .ord {
  margin-bottom: 14px;
  color: #b45309;
  font-size: var(--fs-12);
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-card.featured .ord {
  color: #fbbf24;
}

.price-card h2,
.price-card h3 {
  margin-bottom: 8px;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.price-card.featured h2,
.price-card.featured h3,
.price-card.featured .amount {
  color: #ffffff;
}

.price-card .blurb {
  min-height: 3.1em;
  margin-bottom: 22px;
  color: var(--muted-fg);
  font-size: var(--fs-14);
}

.price-card.featured .blurb {
  color: #aebdd0;
}

.price-card .amount {
  color: var(--foreground);
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: clamp(2.5rem, 4.5vw, 3.5rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 1;
}

.price-card .amount small {
  color: var(--muted-fg);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0;
}

.price-card.featured .amount small {
  color: #94a6bd;
}

.price-list {
  flex: 1;
  margin: 26px 0 28px;
  padding: 0;
  list-style: none;
}

.price-list li {
  position: relative;
  padding: 10px 0 10px 27px;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
  font-size: 0.88rem;
}

.price-list li::before {
  content: "✓";
  position: absolute;
  top: 9px;
  left: 0;
  display: grid;
  width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 50%;
  background: #dcfce7;
  color: var(--success);
  font-size: 0.7rem;
  font-weight: 900;
}

.price-card.featured .price-list li {
  border-color: #27364b;
  color: #d7e0eb;
}

.price-card.featured .price-list li::before {
  background: rgba(245, 158, 11, 0.16);
  color: #fbbf24;
}

.price-card .btn {
  width: 100%;
  margin-top: auto;
}

.price-card.featured .btn-outline {
  border-color: #ffffff;
  background: #ffffff;
  color: var(--foreground);
}

.package-note {
  max-width: 900px;
  margin: 28px auto 0;
  color: var(--muted-fg);
  font-size: var(--fs-12);
  line-height: 1.6;
  text-align: center;
}

.package-label {
  margin-bottom: 14px;
  color: #b45309;
  font-size: var(--fs-12);
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.price-card.featured .package-label {
  color: #fbbf24;
}

.pricing-note {
  max-width: 860px;
  margin: 28px auto 0;
  color: var(--muted-fg);
  font-size: var(--fs-12);
  text-align: center;
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid #27364b;
  border-radius: var(--radius);
  background: #27364b;
}

.stats .stat {
  padding: clamp(24px, 4vw, 38px) 18px;
  background: var(--primary);
  text-align: center;
}

.stats .stat strong {
  display: block;
  margin-bottom: 8px;
  color: #ffffff;
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: clamp(1.85rem, 4vw, 2.8rem);
  font-weight: 850;
  letter-spacing: -0.05em;
  line-height: 1;
}

.stats .stat span {
  color: #9fb0c5;
  font-size: 0.68rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Testimonials */
.tcards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tcard {
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.tcard .stars {
  margin-bottom: 16px;
  color: var(--accent);
  font-size: var(--fs-14);
  letter-spacing: 3px;
}

.tcard blockquote {
  flex: 1;
  margin: 0 0 24px;
  color: var(--foreground);
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: 0.98rem;
  font-style: normal;
  line-height: 1.7;
}

.tcard .who {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 17px;
  border-top: 1px solid var(--border);
}

.tcard .avatar {
  display: grid;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  font-size: var(--fs-12);
  font-weight: 850;
}

.tcard .meta strong {
  display: block;
  color: var(--foreground);
  font-size: var(--fs-14);
}

.tcard .meta span {
  display: block;
  color: var(--muted-fg);
  font-size: var(--fs-12);
}

.review-summary-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.rating-lines {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.rating-lines > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
}

.rating-lines > div:last-child {
  border-bottom: 0;
}

.rating-lines span {
  color: var(--secondary);
}

.rating-lines strong {
  color: var(--foreground);
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: var(--fs-20);
  font-weight: 850;
}

.rating-summary {
  display: grid;
  grid-template-columns: minmax(190px, 0.45fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(26px, 5vw, 54px);
  margin-bottom: 24px;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--muted);
}

.rating-score {
  display: grid;
  padding-right: clamp(24px, 4vw, 48px);
  border-right: 1px solid var(--border);
  text-align: center;
}

.rating-score strong {
  color: var(--foreground);
  font-size: clamp(3rem, 6vw, 4.6rem);
  font-weight: 900;
  letter-spacing: -0.07em;
  line-height: 1;
}

.rating-score span {
  margin: 9px 0 4px;
  color: var(--accent);
  letter-spacing: 3px;
}

.rating-score small {
  color: var(--muted-fg);
  font-size: var(--fs-12);
}

.rating-copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--foreground);
  font-family: "Playfair Display", "Libre Bodoni", Georgia, serif;
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
}

.rating-copy p {
  margin: 0;
}

/* Calls to action */
.cta-banner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  overflow: hidden;
  padding: clamp(34px, 5vw, 58px);
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #cbd5e1;
  box-shadow: var(--shadow);
}

.cta-banner::after {
  content: "";
  position: absolute;
  right: -65px;
  bottom: -130px;
  width: 260px;
  height: 260px;
  border: 42px solid rgba(245, 158, 11, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-banner > * {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  margin-bottom: 10px;
  color: #ffffff;
  font-size: clamp(1.8rem, 3.5vw, 2.65rem);
}

.cta-banner p {
  margin: 0;
  color: #aebdd0;
}

/* Inner page heading */
.page-head {
  padding: clamp(48px, 6vw, 72px) 0 clamp(38px, 5vw, 56px);
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(circle at 92% 10%, rgba(245, 158, 11, 0.10), transparent 22%),
    var(--muted);
}

.page-head h1 {
  max-width: 900px;
  margin-bottom: 20px;
  font-size: clamp(2.55rem, 5vw, 4.3rem);
}

.page-head .lead {
  max-width: 730px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--foreground);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: #f6c665;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link:hover {
  color: #b45309;
}

.section-head-centered {
  display: block;
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-head-centered p {
  max-width: 660px;
  margin-right: auto;
  margin-left: auto;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(40px, 8vw, 90px);
}

.about-grid .photo {
  display: grid;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 70% 25%, rgba(245, 158, 11, 0.38), transparent 25%),
    var(--primary);
  color: var(--accent);
  box-shadow: var(--shadow);
  font-family: "Playfair Display", "Libre Bodoni", Georgia, serif;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 800;
}

.values {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.value {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--muted);
}

.value h4 {
  margin-bottom: 5px;
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: var(--fs-16);
}

.value p {
  margin: 0;
  font-size: var(--fs-14);
}

/* Legacy service line items and comparison tables */
.svc-list {
  display: grid;
  gap: 14px;
}

.svc {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
}

.svc h3 {
  margin-bottom: 4px;
}

.svc p {
  margin: 0;
  font-size: var(--fs-14);
}

.svc .price {
  color: var(--foreground);
  font-size: var(--fs-24);
  font-weight: 850;
}

.service-table,
.comparison-table,
.table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.service-table table,
.comparison-table table,
.table-wrap table,
table.service-table,
table.comparison-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  color: var(--secondary);
  font-size: var(--fs-14);
  text-align: left;
}

th {
  background: var(--muted);
  color: var(--foreground);
  font-weight: 800;
}

tr:last-child td {
  border-bottom: 0;
}

/* Resources and articles */
.posts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.post {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--easing), box-shadow 180ms var(--easing);
}

.post:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.post .thumb {
  display: grid;
  aspect-ratio: 16 / 9;
  place-items: center;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #b45309;
  font-family: "Playfair Display", "Libre Bodoni", Georgia, serif;
  font-size: 2.7rem;
  font-weight: 800;
}

.post .body {
  padding: 24px;
}

.post .body small {
  color: #b45309;
  font-size: var(--fs-12);
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post .body h3 {
  margin: 10px 0 10px;
  font-size: 1.35rem;
}

.post .body p {
  margin: 0;
  font-size: var(--fs-14);
}

.article {
  max-width: 760px;
  margin: 0 auto;
}

.article h1 {
  margin-bottom: 20px;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
}

.article .meta {
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  color: var(--muted-fg);
  font-size: var(--fs-12);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.article h2 {
  margin-top: 48px;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
}

.article h3 {
  margin-top: 32px;
}

.article p,
.article li {
  color: #334155;
  font-size: 1.04rem;
  line-height: 1.82;
}

.article ul,
.article ol {
  padding-left: 24px;
}

.article blockquote {
  margin: 36px 0;
  padding: 26px;
  border: 1px solid #fde3ad;
  border-radius: var(--radius);
  background: var(--accent-soft);
  color: var(--foreground);
  font-family: "Playfair Display", "Libre Bodoni", Georgia, serif;
  font-size: 1.3rem;
  line-height: 1.55;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
  align-items: start;
  gap: clamp(36px, 7vw, 80px);
}

.contact-info .item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.contact-info .item .ico {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: #b45309;
  font-size: var(--fs-12);
  font-weight: 850;
}

.contact-info .item strong {
  display: block;
  margin-bottom: 1px;
  color: var(--foreground);
  font-size: var(--fs-14);
}

.contact-info .item span {
  color: var(--secondary);
  font-size: var(--fs-14);
}

.contact-email {
  margin-top: 24px;
  font-size: var(--fs-14);
}

.contact-email a {
  color: #b45309;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 3px;
}

form.contact {
  padding: clamp(26px, 4vw, 40px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

form.contact label {
  display: block;
  margin: 20px 0 7px;
  color: var(--foreground);
  font-size: var(--fs-12);
  font-weight: 800;
}

form.contact input,
form.contact select,
form.contact textarea {
  width: 100%;
  min-height: 50px;
  padding: 13px 15px;
  border: 1px solid var(--border-strong);
  border-radius: 11px;
  background: #ffffff;
  color: var(--foreground);
  font-size: var(--fs-16);
}

form.contact textarea {
  min-height: 150px;
  resize: vertical;
}

form.contact input:focus,
form.contact select:focus,
form.contact textarea:focus {
  border-color: var(--accent);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.16);
}

form.contact .btn {
  width: 100%;
  margin-top: 26px;
}

.contact-order-card {
  align-self: start;
  padding: clamp(30px, 4vw, 44px);
  border-radius: var(--radius-lg);
  background: var(--primary);
  color: #d6e0ec;
  box-shadow: var(--shadow);
}

.contact-order-card h2 {
  color: #ffffff;
}

.contact-order-card > p {
  color: #aebdd0;
}

.contact-order-card .btn {
  width: 100%;
  margin-top: 28px;
}

.quick-packages {
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid #2b3a4f;
  border-radius: var(--radius);
}

.quick-packages > div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 20px;
  padding: 16px 18px;
  border-bottom: 1px solid #2b3a4f;
}

.quick-packages > div:last-child {
  border-bottom: 0;
}

.quick-packages .featured {
  background: #162238;
}

.quick-packages span {
  color: #ffffff;
  font-weight: 750;
}

.quick-packages strong {
  color: #fbbf24;
  font-size: var(--fs-18);
}

.quick-packages small {
  grid-column: 1 / -1;
  color: #91a4ba;
  font-size: var(--fs-12);
}

.contact-order-card .microcopy {
  margin: 14px 0 0;
  color: #91a4ba;
  font-size: var(--fs-12);
}

/* FAQ */
.faq,
.faq-list {
  display: grid;
  max-width: 820px;
  margin: 0 auto;
  gap: 12px;
}

.faq details,
.faq-list details {
  overflow: hidden;
  padding: 0 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-sm);
}

.faq details summary,
.faq-list details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 14px 0;
  color: var(--foreground);
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: var(--fs-16);
  font-weight: 800;
  list-style: none;
  cursor: pointer;
}

.faq details summary::-webkit-details-marker,
.faq-list details summary::-webkit-details-marker {
  display: none;
}

.faq details summary::after,
.faq-list details summary::after {
  content: "+";
  display: grid;
  flex: 0 0 auto;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent-soft);
  color: #b45309;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.faq details[open] summary::after,
.faq-list details[open] summary::after {
  content: "−";
}

.faq details p,
.faq-list details p {
  margin: -2px 0 20px;
  padding-right: 44px;
  font-size: 0.94rem;
}

.faq-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  align-items: start;
  gap: clamp(38px, 8vw, 86px);
}

.faq-intro {
  position: sticky;
  top: 104px;
}

.faq-intro h2 {
  font-size: clamp(2rem, 3.6vw, 2.8rem);
}

.faq-layout .faq-list {
  max-width: none;
  margin: 0;
}

/* Portfolio */
.portfolio-section {
  padding: clamp(72px, 9vw, 112px) 0;
  background: var(--primary);
  color: #cbd5e1;
}

.portfolio-section h2,
.portfolio-section h3 {
  color: #ffffff;
}

.portfolio-section .lead {
  color: #b6c3d3;
}

.pf-wrap {
  position: relative;
  margin-top: 40px;
}

.pf-grid,
.pf-page-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.pf-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: #ffffff;
  color: inherit;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.16);
  font: inherit;
  text-align: left;
  cursor: zoom-in;
  appearance: none;
  transition: transform 200ms var(--easing), box-shadow 200ms var(--easing);
}

.pf-card:hover {
  box-shadow: 0 22px 45px rgba(2, 6, 23, 0.25);
  transform: translateY(-5px);
}

.pf-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 300ms var(--easing);
}

.pf-card:hover img {
  transform: scale(1.025);
}

.pf-card .pf-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  max-width: calc(100% - 24px);
  overflow: hidden;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 18, 32, 0.88);
  color: #ffffff;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  backdrop-filter: blur(7px);
}

.pf-card .pf-card-title {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 14px 14px;
  background: linear-gradient(transparent, rgba(3, 7, 18, 0.94));
  color: #ffffff;
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.25;
}

.pf-card .pf-placeholder {
  display: flex;
  width: 100%;
  height: 100%;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.pf-card .pf-placeholder .pp-cover,
.pf-card .pf-placeholder .pp-modules .m {
  display: grid;
  place-items: center;
  padding: 10px;
  text-align: center;
}

.pf-card .pf-placeholder .pp-cover {
  flex: 0 0 38%;
  font-weight: 800;
}

.pf-card .pf-placeholder .pp-modules {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 8px;
}

.pf-card .pf-placeholder .pp-modules .m {
  flex: 1;
  font-size: var(--fs-12);
  font-weight: 800;
}

.pf-blue .pp-cover { background: #1d4ed8; color: #fff; }
.pf-blue .pp-modules .m { background: #fde68a; color: #1e3a8a; }
.pf-blue { background: #fde68a; }
.pf-purple .pp-cover { background: #581c87; color: #fde68a; }
.pf-purple .pp-modules .m { background: #f0abfc; color: #581c87; }
.pf-purple { background: #6b21a8; }
.pf-cream .pp-cover { background: #b45309; color: #fff7ed; }
.pf-cream .pp-modules .m { background: #fdba74; color: #7c2d12; }
.pf-cream { background: #fed7aa; }
.pf-pink .pp-cover { background: #831843; color: #fff; }
.pf-pink .pp-modules .m { background: #fbcfe8; color: #831843; }
.pf-pink { background: #fce7f3; }
.pf-teal .pp-cover { background: #0f766e; color: #ccfbf1; }
.pf-teal .pp-modules .m { background: #5eead4; color: #134e4a; }
.pf-teal { background: #99f6e4; }
.pf-dark .pp-cover { background: #f59e0b; color: #1a1205; }
.pf-dark .pp-modules .m { background: #334155; color: #fde68a; }
.pf-dark { background: #1e293b; }
.pf-green .pp-cover { background: #166534; color: #dcfce7; }
.pf-green .pp-modules .m { background: #bbf7d0; color: #14532d; }
.pf-green { background: #86efac; }
.pf-red .pp-cover { background: #991b1b; color: #fef2f2; }
.pf-red .pp-modules .m { background: #fecaca; color: #7f1d1d; }
.pf-red { background: #fecaca; }

.pf-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-fg);
  box-shadow: var(--shadow);
  font-size: 1.2rem;
  cursor: pointer;
  transform: translateY(-50%);
}

.pf-arrow.left {
  left: -20px;
}

.pf-arrow.right {
  right: -20px;
}

.portfolio-head {
  padding-bottom: clamp(42px, 6vw, 68px);
}

.portfolio-head h1 {
  max-width: 880px;
}

.portfolio-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.portfolio-summary > span {
  padding: 9px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--muted-fg);
  font-size: var(--fs-12);
  font-weight: 700;
}

.portfolio-summary strong {
  color: var(--foreground);
  font-size: inherit;
  font-weight: 850;
}

.portfolio-catalog {
  padding-top: 0;
}

.catalog-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: -22px 0 46px;
  padding: 18px 20px;
  border: 1px solid #f6d28c;
  border-radius: var(--radius);
  background: var(--accent-soft);
}

.catalog-cta p {
  margin: 0;
  color: var(--secondary);
  font-size: var(--fs-14);
}

.catalog-cta p strong {
  color: var(--foreground);
}

.catalog-cta .btn {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 10px 18px;
}

.pf-filters {
  position: sticky;
  top: 68px;
  z-index: 30;
  display: flex;
  gap: 8px;
  margin: 0 -20px 54px;
  overflow-x: auto;
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.04);
  scrollbar-width: none;
  backdrop-filter: blur(14px);
  -webkit-overflow-scrolling: touch;
}

.pf-filters::-webkit-scrollbar {
  display: none;
}

.pf-chip {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: #ffffff;
  color: var(--secondary);
  font-size: 0.75rem;
  font-weight: 750;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--easing), border-color 160ms var(--easing),
    color 160ms var(--easing);
}

.pf-chip:hover {
  border-color: var(--border-strong);
  color: var(--foreground);
}

.pf-chip.active,
.pf-chip[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.pf-chip span {
  margin-left: 4px;
  opacity: 0.65;
}

.pf-group {
  margin-top: clamp(56px, 7vw, 78px);
  scroll-margin-top: 150px;
}

.pf-group:first-child {
  margin-top: 0;
}

.pf-group[hidden],
.pf-hidden {
  display: none !important;
}

.pf-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
  align-items: end;
  gap: 30px;
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.pf-group-head .eyebrow {
  margin-bottom: 9px;
}

.pf-group-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.pf-group-head p {
  max-width: 390px;
  margin: 0;
  justify-self: end;
  font-size: var(--fs-14);
}

/* Accessible portfolio lightbox */
.pf-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  padding: 22px;
  background: rgba(3, 7, 18, 0.90);
  backdrop-filter: blur(12px);
}

.pf-lightbox-modal.open {
  display: grid;
  place-items: center;
}

.pf-lightbox-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  width: min(1120px, 100%);
  height: min(92vh, 960px);
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-lg);
}

.pf-lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  padding: 12px 16px 12px 22px;
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.pf-lightbox-meta {
  min-width: 0;
}

.pf-lightbox-meta strong {
  display: block;
  overflow: hidden;
  color: var(--foreground);
  font-size: var(--fs-16);
  font-weight: 800;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.pf-lightbox-meta span {
  display: block;
  margin-top: 2px;
  color: #b45309;
  font-size: var(--fs-12);
  font-weight: 750;
}

.pf-lightbox-close {
  display: grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--muted);
  color: var(--foreground);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.pf-lightbox-close:hover {
  border-color: var(--accent);
  color: #b45309;
}

.pf-lightbox-scroll {
  position: relative;
  overflow: auto;
  overscroll-behavior: contain;
  background: #e7ebf0;
}

.pf-lightbox-img {
  width: min(100%, 1200px);
  height: auto;
  min-height: 240px;
  margin: 0 auto;
  opacity: 0;
  transition: opacity 180ms ease;
}

.pf-lightbox-img.loaded {
  opacity: 1;
}

.pf-lightbox-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255, 255, 255, 0.55);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: pf-spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes pf-spin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Footer */
.site-footer {
  margin-top: 0;
  padding: 62px 0 26px;
  background: var(--primary);
  color: #93a4ba;
}

.footer-grid,
.footer-main {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(3, minmax(120px, 0.7fr));
  gap: clamp(28px, 5vw, 60px);
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer .brand-mark {
  background: var(--accent);
  color: var(--accent-fg);
}

.site-footer p {
  color: #93a4ba;
  font-size: var(--fs-14);
}

.footer-brand {
  max-width: 330px;
}

.footer-brand p {
  margin: 18px 0 0;
}

.site-footer h4 {
  margin-bottom: 15px;
  color: #ffffff;
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: var(--fs-12);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-footer ul,
.footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li {
  margin: 7px 0;
}

.site-footer a:not(.brand):not(.btn) {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  color: #aebdd0;
  font-size: var(--fs-14);
}

.site-footer a:not(.brand):not(.btn):hover {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid #28374b;
  color: #75879d;
  font-size: var(--fs-12);
}

/* Mobile conversion CTA; hidden by default */
.mobile-order {
  display: none;
}

/* Refreshed footer nests all navigation columns inside .footer-links. */
.footer-main:has(> .footer-links) {
  grid-template-columns: minmax(250px, 1fr) minmax(0, 1.7fr);
}

.footer-main > .footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: 30px;
}

.footer-links h3 {
  margin-bottom: 13px;
  color: #ffffff;
  font-family: "Inter", "Public Sans", sans-serif;
  font-size: var(--fs-12);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links a {
  display: flex !important;
  min-height: 34px !important;
}

.section-work {
  background: #ffffff;
}

.pf-featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Utilities */
.text-center {
  text-align: center;
}

.mt-0 {
  margin-top: 0;
}

.mb-40 {
  margin-bottom: 40px;
}

.mx-auto {
  margin-right: auto;
  margin-left: auto;
}

/* Responsive */
@media (max-width: 1080px) {
  .nav-links {
    gap: 14px;
  }

  .nav-links a {
    font-size: 0.78rem;
  }

  .nav-cta .btn-ghost {
    display: none;
  }

  .pf-grid,
  .pf-page-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 18px;
    border-bottom: 1px solid var(--border);
    background: #ffffff;
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.10);
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    width: 100%;
    min-height: 48px;
    padding: 10px 4px;
    border-bottom: 1px solid var(--border);
    font-size: var(--fs-14);
  }

  .nav-links li:last-child a {
    border-bottom: 0;
  }

  .menu-toggle {
    display: grid;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .hero-side,
  .hero-showcase,
  .hero-collage {
    width: min(100%, 690px);
    margin-inline: auto;
  }

  .editorial-grid,
  .features,
  .benefits-simple,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pricing {
    grid-template-columns: 1fr;
    max-width: 650px;
    margin-inline: auto;
  }

  .price-card.featured {
    order: -1;
    transform: none;
  }

  .tcards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tcards > :last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .posts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid,
  .footer-main {
    grid-template-columns: 1.5fr 1fr 1fr;
  }

  .footer-grid > :last-child,
  .footer-main > :last-child {
    grid-column: 2;
  }
}

@media (max-width: 760px) {
  body:has(.mobile-order) {
    padding-bottom: 78px;
  }

  .container,
  .container-narrow {
    width: min(100% - 32px, var(--maxw));
  }

  .section {
    padding: 66px 0;
  }

  .section-tight {
    padding: 48px 0;
  }

  .section-loose {
    padding: 78px 0;
  }

  .editorial-split,
  .section-head {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 32px;
  }

  .nav {
    min-height: 64px;
  }

  .brand > span:last-child {
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .nav-cta > .btn {
    display: none;
  }

  .hero,
  .hero-conversion {
    padding: 52px 0 58px;
  }

  .hero h1,
  .hero-conversion h1 {
    font-size: clamp(2.4rem, 11vw, 3.55rem);
  }

  .hero-ctas {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .hero-meta,
  .hero-proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 20px;
  }

  .hero-meta .stat,
  .hero-proof > * {
    min-width: 0;
    padding: 0 14px;
    border-right: 0;
  }

  .hero-meta .stat:nth-child(odd),
  .hero-proof > :nth-child(odd) {
    padding-left: 0;
    border-right: 1px solid var(--border);
  }

  .hero-side,
  .hero-showcase {
    padding: 24px;
  }

  .hero-showcase:has(.hero-project) {
    min-height: 430px;
    padding: 0;
  }

  .hero-project-main {
    left: 24%;
    width: 56%;
  }

  .hero-project-top {
    right: 0;
    width: 39%;
  }

  .hero-project-bottom {
    left: 1%;
    width: 42%;
  }

  .showcase-badge {
    right: 1%;
    bottom: 5%;
    min-width: 104px;
    min-height: 66px;
    padding: 10px 14px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-proof > * {
    padding: 0 8px;
    border-right: 1px solid var(--border);
  }

  .hero-proof > :nth-child(odd) {
    padding-left: 8px;
  }

  .hero-proof > :first-child {
    padding-left: 0;
  }

  .hero-proof > :last-child {
    padding-right: 0;
    border-right: 0;
  }

  .trust-strip .row,
  .trust-bar > .container,
  .trust-bar .row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 22px;
    text-align: center;
  }

  .trust-bar-inner > div + div::before {
    display: none;
  }

  .editorial-grid,
  .features,
  .benefits-simple,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tcards,
  .review-summary-grid {
    grid-template-columns: 1fr;
  }

  .rating-summary {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .rating-score {
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .tcards > :last-child:nth-child(odd) {
    grid-column: auto;
  }

  .cta-banner {
    grid-template-columns: 1fr;
    padding: 32px 24px;
  }

  .cta-banner .btn {
    width: 100%;
  }

  .page-head {
    padding: 44px 0 38px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .faq-intro {
    position: static;
  }

  .about-grid .photo {
    width: min(100%, 420px);
  }

  .svc {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .posts {
    grid-template-columns: 1fr;
  }

  .pf-grid,
  .pf-page-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .pf-filters {
    top: 64px;
    margin-right: -16px;
    margin-bottom: 40px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .catalog-cta {
    align-items: stretch;
    flex-direction: column;
    margin-top: -12px;
    margin-bottom: 36px;
  }

  .catalog-cta .btn {
    width: 100%;
  }

  .pf-group {
    margin-top: 68px;
  }

  .pf-group-head {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .pf-group-head p {
    justify-self: start;
  }

  .pf-card .pf-card-title {
    padding: 46px 10px 10px;
    font-size: 0.76rem;
  }

  .pf-card .pf-tag {
    top: 8px;
    left: 8px;
    max-width: calc(100% - 16px);
    padding: 5px 8px;
    font-size: 0.54rem;
  }

  .pf-arrow {
    display: none;
  }

  .pf-lightbox-modal {
    padding: 0;
  }

  .pf-lightbox-content {
    width: 100%;
    height: 100dvh;
    border-radius: 0;
  }

  .pf-lightbox-bar {
    min-height: 64px;
    padding: 10px 12px 10px 16px;
  }

  .footer-grid,
  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-main:has(> .footer-links) {
    grid-template-columns: 1fr;
  }

  .footer-main > .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid > :first-child,
  .footer-main > :first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > :last-child,
  .footer-main > :last-child {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .mobile-order {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 76px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid #d97706;
    background: rgba(245, 158, 11, 0.98);
    color: var(--accent-fg);
    box-shadow: 0 -12px 32px rgba(15, 23, 42, 0.14);
    font-size: var(--fs-14);
    font-weight: 900;
    text-align: center;
    backdrop-filter: blur(14px);
  }

  .mobile-order:hover {
    background: var(--accent-hover);
    color: #ffffff;
  }

  .mobile-order .btn,
  .mobile-order > a {
    display: inline-flex;
    flex: 1;
    min-height: 50px;
  }

  .mobile-order small,
  .mobile-order span {
    color: var(--secondary);
    font-size: 0.7rem;
    line-height: 1.25;
  }
}

@media (max-width: 480px) {
  .values {
    grid-template-columns: 1fr;
  }

  .hero-showcase:has(.hero-project) {
    min-height: 370px;
  }

  .hero-project {
    border-width: 3px;
    border-radius: 14px;
  }

  .showcase-badge {
    min-width: 92px;
    border-width: 3px;
  }

  .portfolio-summary {
    gap: 7px;
  }

  .portfolio-summary > span {
    padding: 7px 10px;
    font-size: 0.67rem;
  }

  .faq details,
  .faq-list details {
    padding-inline: 17px;
  }

  .faq details summary,
  .faq-list details summary {
    font-size: 0.92rem;
  }

  .faq details p,
  .faq-list details p {
    padding-right: 0;
  }

  .footer-main > .footer-links {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .reveal,
  .reveal.in {
    opacity: 1 !important;
    transform: none !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 520ms var(--easing), transform 520ms var(--easing);
  }

  .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* Hero viewport fix
   The portfolio-card rules are intentionally declared earlier for the catalog.
   These more specific selectors keep the three hero previews overlaid instead
   of letting them flow vertically and stretch the first screen. */
.hero-conversion {
  display: grid;
  min-height: calc(100svh - 68px);
  align-items: center;
  padding: clamp(36px, 5vh, 64px) 0;
}

.hero-conversion .hero-grid {
  gap: clamp(28px, 4.5vw, 64px);
}

.hero-conversion .hero-showcase:has(.hero-project) {
  width: 100%;
  height: clamp(430px, 52vh, 500px);
  min-height: 0;
}

.hero-showcase .hero-project {
  position: absolute;
  display: block;
  width: 47%;
  aspect-ratio: 4 / 5.35;
  overflow: hidden;
  border: 5px solid #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.22);
}

.hero-showcase .hero-project-main {
  top: 2%;
  left: 25%;
  z-index: 4;
  width: 53%;
  transform: rotate(-1deg);
}

.hero-showcase .hero-project-main:hover {
  transform: rotate(-1deg) translateY(-5px);
}

.hero-showcase .hero-project-top {
  top: 4%;
  right: -3%;
  z-index: 2;
  width: 39%;
  transform: rotate(7deg);
}

.hero-showcase .hero-project-top:hover {
  transform: rotate(7deg) translateY(-5px);
}

.hero-showcase .hero-project-bottom {
  bottom: 1%;
  left: -1%;
  z-index: 3;
  width: 41%;
  transform: rotate(-7deg);
}

.hero-showcase .hero-project-bottom:hover {
  transform: rotate(-7deg) translateY(-5px);
}

.hero-showcase .hero-project img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media (min-width: 821px) and (max-width: 1080px) {
  .hero-conversion {
    padding-block: 38px;
  }

  .hero-conversion .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 30px;
  }

  .hero-conversion h1 {
    font-size: clamp(2.7rem, 5.2vw, 3.75rem);
  }

  .hero-conversion .hero-showcase:has(.hero-project) {
    height: 430px;
  }

  .hero-conversion .hero-proof {
    margin-top: 28px;
    padding-top: 18px;
  }
}

@media (max-width: 820px) {
  .hero-conversion {
    min-height: auto;
    padding: 38px 0 32px;
  }

  .hero-conversion .hero-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-conversion .hero-showcase:has(.hero-project) {
    width: min(100%, 560px);
    height: 300px;
    margin-inline: auto;
  }

  .hero-showcase .hero-project-top,
  .hero-showcase .hero-project-bottom {
    display: none;
  }

  .hero-showcase .hero-project-main {
    top: 0;
    left: 50%;
    width: min(76%, 360px);
    height: 100%;
    aspect-ratio: auto;
    transform: translateX(-50%) rotate(-1deg);
  }

  .hero-showcase .hero-project-main:hover {
    transform: translateX(-50%) rotate(-1deg) translateY(-4px);
  }

  .hero-conversion .showcase-badge {
    right: 9%;
    bottom: 5%;
  }
}

@media (max-width: 640px) {
  .hero-conversion {
    min-height: calc(100svh - 64px);
    padding: 30px 0 24px;
  }

  .hero-conversion .hero-grid {
    gap: 0;
  }

  .hero-conversion .hero-showcase {
    display: none;
  }

  .hero-conversion h1 {
    margin-bottom: 16px;
    font-size: clamp(2.25rem, 10.8vw, 3.05rem);
  }

  .hero-conversion .lead {
    font-size: 1rem;
    line-height: 1.55;
  }

  .hero-conversion .hero-ctas {
    gap: 9px;
    margin-top: 20px;
  }

  .hero-conversion .hero-note {
    display: none;
  }

  .hero-conversion .hero-proof {
    margin-top: 22px;
    padding-top: 16px;
  }
}
