@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap");

:root {
  --bg: #f6efe4;
  --bg-strong: #fff8ef;
  --surface: rgba(255, 252, 246, 0.76);
  --surface-strong: rgba(255, 255, 255, 0.92);
  --surface-soft: rgba(239, 227, 208, 0.78);
  --text: #1e2430;
  --muted: #5c6774;
  --accent: #c45b33;
  --accent-strong: #9f4624;
  --accent-soft: rgba(196, 91, 51, 0.14);
  --line: rgba(30, 36, 48, 0.12);
  --line-strong: rgba(30, 36, 48, 0.18);
  --shadow: 0 24px 60px rgba(76, 49, 28, 0.14);
  --shadow-soft: 0 14px 32px rgba(76, 49, 28, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: 1140px;
  --font-display: "Space Grotesk", "Trebuchet MS", sans-serif;
  --font-body: "Manrope", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.65;
  background:
    radial-gradient(circle at top left, rgba(242, 168, 102, 0.28), transparent 30%),
    radial-gradient(circle at top right, rgba(38, 113, 92, 0.18), transparent 26%),
    linear-gradient(180deg, #fff8ef 0%, #f6efe4 58%, #f0e3d2 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  filter: blur(16px);
  opacity: 0.6;
}

body::before {
  top: 7rem;
  left: -7rem;
  width: 16rem;
  height: 16rem;
  background: rgba(196, 91, 51, 0.1);
}

body::after {
  right: -5rem;
  bottom: 5rem;
  width: 18rem;
  height: 18rem;
  background: rgba(38, 113, 92, 0.08);
}

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

a {
  color: inherit;
}

p,
ul,
ol {
  margin: 0;
}

ul,
ol {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.5rem;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: 1.35rem;
}

.container {
  width: min(var(--container), calc(100% - 2rem));
  margin: 0 auto;
}

.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 250, 243, 0.68));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.lead {
  max-width: 50rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.lead.compact {
  max-width: 40rem;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 50;
  background: rgba(255, 248, 239, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.48);
  backdrop-filter: blur(20px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  text-decoration: none;
}

.brand-logo {
  width: 2.35rem;
  height: 2.35rem;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 10px 18px rgba(3, 177, 249, 0.18));
}

.brand-text {
  line-height: 1;
  white-space: nowrap;
}

.header-controls {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-left: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.48);
  transform: translateY(-1px);
}

.site-nav a.active {
  color: var(--accent-strong);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle .bar {
  display: block;
  width: 1.2rem;
  height: 2px;
  margin: 0.2rem 0;
  border-radius: 999px;
  background: var(--text);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.4rem 0.5rem 0.4rem 0.72rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow-soft);
  color: var(--text);
  font: inherit;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.theme-toggle:hover,
.theme-toggle:focus-visible {
  transform: translateY(-1px);
}

.theme-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(196, 91, 51, 0.14), var(--shadow-soft);
}

.theme-toggle-track {
  position: relative;
  width: 2.5rem;
  height: 1.4rem;
  border-radius: 999px;
  background: rgba(196, 91, 51, 0.18);
  flex-shrink: 0;
}

.theme-toggle-thumb {
  position: absolute;
  top: 0.2rem;
  left: 0.2rem;
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff 0%, #fff5ea 100%);
  box-shadow: 0 4px 10px rgba(30, 36, 48, 0.16);
  transition: transform 0.18s ease;
}

:root[data-theme="light"] .theme-toggle-thumb {
  transform: translateX(1.1rem);
}

.theme-toggle-label {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.page {
  padding-top: 5.8rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

.page.loaded {
  opacity: 1;
  transform: none;
}

.page.fade-out {
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 0.28s ease, transform 0.28s ease;
}

.section {
  padding: 2rem 0 4.5rem;
}

.section-alt {
  position: relative;
}

.section-heading {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.hero {
  padding: 2.2rem 0 3.6rem;
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(320px, 0.94fr);
  gap: 2rem;
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 1.25rem;
}

.hero-lead {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-points {
  display: grid;
  gap: 0.8rem;
  max-width: 40rem;
  list-style: none;
  padding: 0;
}

.hero-points li {
  position: relative;
  padding-left: 1.8rem;
  color: var(--text);
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  position: absolute;
  top: 0.55rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #ef9a54 100%);
  box-shadow: 0 0 0 0.35rem rgba(196, 91, 51, 0.12);
}

.hero-visual {
  display: grid;
  gap: 1rem;
}

.hero-image-frame {
  position: relative;
  overflow: hidden;
  min-height: 31rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image-frame::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 42%;
  background: linear-gradient(180deg, transparent 0%, rgba(30, 36, 48, 0.26) 100%);
}

.floating-panel {
  display: grid;
  gap: 1rem;
  max-width: 28rem;
  margin: -5.5rem 0 0 auto;
  padding: 1.4rem;
  border-radius: var(--radius-lg);
}

.panel-label {
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.panel-note {
  color: var(--muted);
  font-weight: 600;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: var(--surface-soft);
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: 0.92rem;
  font-weight: 700;
}

.cards,
.blog-list,
.posts,
.service-grid,
.info-grid,
.principles {
  display: grid;
  gap: 1.25rem;
}

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

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

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

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

.pricing-grid,
.addon-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

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

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

.card,
.post,
.service-card,
.pricing-card,
.addon-card,
.info-card,
.contact-card,
.about-copy,
.process-panel,
.check-panel,
.cta-banner {
  padding: 1.5rem;
  border-radius: var(--radius-lg);
}

.card,
.post,
.service-card,
.pricing-card,
.addon-card,
.info-card {
  display: grid;
  align-content: start;
  gap: 0.95rem;
}

.posts .post {
  grid-template-rows: auto auto 1fr auto;
  min-height: 100%;
}

.posts .post .btn {
  width: 100%;
  margin-top: auto;
}

.card p,
.post p,
.service-card p,
.pricing-card p,
.addon-card p,
.info-card p,
.about-copy p,
.process-panel p,
.check-panel p,
.contact-info p,
.contact-card p,
.cta-banner p {
  color: var(--muted);
}

.feature-list,
.checklist {
  display: grid;
  gap: 0.7rem;
  list-style: none;
  padding: 0;
}

.feature-list li,
.checklist li {
  position: relative;
  padding-left: 1.45rem;
  color: var(--text);
}

.feature-list li::before,
.checklist li::before {
  content: "";
  position: absolute;
  top: 0.58rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--accent);
}

.feature-list.simple li {
  color: var(--text);
  font-weight: 600;
}

.pricing-card h3 {
  font-size: 1.6rem;
}

.price-value {
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.pricing-fit {
  margin-top: auto;
  font-weight: 600;
}

.pricing-fit strong {
  color: var(--text);
}

.addon-card h3 {
  font-size: 1.08rem;
}

.addon-price {
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.pricing-note {
  margin-top: 1.25rem;
  padding: 1.15rem 1.3rem;
  border-radius: var(--radius-lg);
}

.card-link,
.text-link {
  color: var(--accent-strong);
  font-weight: 800;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.card-link:hover,
.text-link:hover,
.card-link:focus-visible,
.text-link:focus-visible {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.95rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent) 0%, #df7d49 100%);
  color: #fff8f1;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 16px 26px rgba(196, 91, 51, 0.22);
  transition: transform 0.16s ease, box-shadow 0.16s ease, filter 0.16s ease;
}

button.btn {
  font: inherit;
  cursor: pointer;
}

.btn:disabled {
  cursor: wait;
  opacity: 0.78;
  transform: none;
  box-shadow: none;
  filter: none;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 20px 30px rgba(196, 91, 51, 0.28);
  filter: saturate(1.04);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.62);
  border-color: var(--line);
  color: var(--text);
  box-shadow: none;
}

.btn.ghost:hover,
.btn.ghost:focus-visible {
  box-shadow: var(--shadow-soft);
}

.split-grid,
.about-shell,
.contact-shell {
  display: grid;
  gap: 1.25rem;
}

.split-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: start;
}

.process-panel,
.check-panel {
  display: grid;
  gap: 1.2rem;
}

.process-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  padding: 0;
}

.process-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(30, 36, 48, 0.08);
}

.process-list li:first-child {
  padding-top: 0;
  border-top: 0;
}

.process-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-family: var(--font-display);
  font-weight: 700;
}

.process-list h3 {
  margin-bottom: 0.35rem;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-end;
}

.page-hero {
  padding-top: 2.2rem;
}

.about-shell {
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.15fr);
  align-items: stretch;
}

.about-photo {
  overflow: hidden;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow);
}

.about-photo img {
  width: 100%;
  height: 100%;
  min-height: 30rem;
  object-fit: cover;
}

.about-copy {
  display: grid;
  gap: 1rem;
}

.contact-shell {
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  align-items: start;
}

.contact-card {
  display: grid;
  gap: 1rem;
}

.contact-info {
  display: grid;
  gap: 1rem;
}

.contact-email-link {
  display: inline-block;
  max-width: 100%;
  font-size: clamp(1.9rem, 3.7vw, 3rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-form {
  display: grid;
  gap: 0.95rem;
}

.contact-form label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem 1.05rem;
  border: 1px solid rgba(30, 36, 48, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, background 0.16s ease;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8c96a2;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(196, 91, 51, 0.48);
  box-shadow: 0 0 0 4px rgba(196, 91, 51, 0.1);
  background: rgba(255, 255, 255, 0.92);
}

.contact-form textarea {
  min-height: 11rem;
  resize: vertical;
}

.form-status {
  min-height: 1.6rem;
  color: var(--muted);
  font-weight: 700;
}

.form-status.success {
  color: #1c7b59;
}

.form-status.error {
  color: #b13d35;
}

.small {
  font-size: 0.92rem;
  color: var(--muted);
}

.site-footer {
  padding: 1.6rem 0 2.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.46);
}

.footer-brand-group {
  display: grid;
  gap: 0.32rem;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.footer-logo {
  width: 1.7rem;
  height: 1.7rem;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-link {
  color: inherit;
  font-weight: 700;
  text-decoration: none;
}

.footer-link:hover,
.footer-link:focus-visible {
  text-decoration: underline;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  color: var(--muted);
  font-size: 0.95rem;
}

:root:not([data-theme="light"]) {
  color-scheme: dark;
  --bg: #0b1018;
  --bg-strong: #121927;
  --surface: rgba(13, 19, 31, 0.8);
  --surface-strong: rgba(15, 21, 34, 0.92);
  --surface-soft: rgba(92, 123, 186, 0.18);
  --text: #eef3ff;
  --muted: #98a6be;
  --accent: #7ca3ff;
  --accent-strong: #cad8ff;
  --accent-soft: rgba(124, 163, 255, 0.16);
  --line: rgba(124, 163, 255, 0.16);
  --line-strong: rgba(124, 163, 255, 0.24);
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
  --shadow-soft: 0 14px 32px rgba(0, 0, 0, 0.22);
}

:root:not([data-theme="light"]) body {
  background:
    radial-gradient(circle at top left, rgba(90, 125, 235, 0.2), transparent 28%),
    radial-gradient(circle at top right, rgba(58, 88, 145, 0.18), transparent 24%),
    linear-gradient(180deg, #121927 0%, #0b1018 52%, #070b12 100%);
}

:root:not([data-theme="light"]) body::before {
  background: rgba(108, 144, 255, 0.12);
}

:root:not([data-theme="light"]) body::after {
  background: rgba(64, 92, 158, 0.12);
}

:root:not([data-theme="light"]) .glass {
  background: linear-gradient(180deg, rgba(16, 23, 37, 0.86), rgba(10, 15, 25, 0.92));
  border-color: rgba(124, 163, 255, 0.12);
}

:root:not([data-theme="light"]) .site-header {
  background: rgba(7, 11, 18, 0.76);
  border-bottom-color: rgba(124, 163, 255, 0.1);
}

:root:not([data-theme="light"]) .brand-logo,
:root:not([data-theme="light"]) .footer-logo {
  filter: drop-shadow(0 10px 18px rgba(99, 153, 255, 0.22));
}

:root:not([data-theme="light"]) .site-nav a:hover,
:root:not([data-theme="light"]) .site-nav a:focus-visible {
  background: rgba(124, 163, 255, 0.12);
}

:root:not([data-theme="light"]) .site-nav a.active {
  background: rgba(124, 163, 255, 0.16);
  color: var(--text);
}

:root:not([data-theme="light"]) .nav-toggle,
:root:not([data-theme="light"]) .theme-toggle {
  background: rgba(12, 18, 29, 0.82);
  border-color: rgba(124, 163, 255, 0.14);
}

:root:not([data-theme="light"]) .theme-toggle-track {
  background: rgba(124, 163, 255, 0.2);
}

:root:not([data-theme="light"]) .theme-toggle-thumb {
  background: linear-gradient(135deg, #d8e3ff 0%, #f8fbff 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.28);
}

:root:not([data-theme="light"]) .theme-toggle:focus-visible {
  box-shadow: 0 0 0 4px rgba(124, 163, 255, 0.18), var(--shadow-soft);
}

:root:not([data-theme="light"]) .hero-image-frame {
  border-color: rgba(124, 163, 255, 0.12);
}

:root:not([data-theme="light"]) .hero-image-frame::after {
  background: linear-gradient(180deg, transparent 0%, rgba(3, 7, 14, 0.72) 100%);
}

:root:not([data-theme="light"]) .tag {
  background: rgba(64, 88, 143, 0.24);
  border-color: rgba(124, 163, 255, 0.14);
}

:root:not([data-theme="light"]) .btn {
  background: linear-gradient(135deg, #87acff 0%, #6888ff 100%);
  color: #09111d;
  box-shadow: 0 16px 26px rgba(45, 73, 143, 0.34);
}

:root:not([data-theme="light"]) .btn:hover,
:root:not([data-theme="light"]) .btn:focus-visible {
  box-shadow: 0 20px 30px rgba(45, 73, 143, 0.42);
}

:root:not([data-theme="light"]) .btn.ghost {
  background: rgba(13, 19, 31, 0.78);
  border-color: rgba(124, 163, 255, 0.16);
  color: var(--text);
}

:root:not([data-theme="light"]) .contact-form input,
:root:not([data-theme="light"]) .contact-form textarea {
  background: rgba(8, 12, 20, 0.82);
  border-color: rgba(124, 163, 255, 0.12);
  box-shadow: none;
}

:root:not([data-theme="light"]) .contact-form input::placeholder,
:root:not([data-theme="light"]) .contact-form textarea::placeholder {
  color: #73829a;
}

:root:not([data-theme="light"]) .contact-form input:focus,
:root:not([data-theme="light"]) .contact-form textarea:focus {
  background: rgba(10, 15, 24, 0.94);
  border-color: rgba(124, 163, 255, 0.42);
  box-shadow: 0 0 0 4px rgba(124, 163, 255, 0.14);
}

:root:not([data-theme="light"]) .site-footer {
  border-top-color: rgba(124, 163, 255, 0.08);
}

:root:not([data-theme="light"]) .site-nav.open {
  background: rgba(8, 12, 20, 0.96);
  border-color: rgba(124, 163, 255, 0.14);
}

.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 1080px) {
  .cards.cards-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-layout,
  .split-grid,
  .about-shell,
  .contact-shell {
    grid-template-columns: 1fr;
  }

  .hero-image-frame {
    min-height: 24rem;
  }

  .floating-panel {
    margin: -3rem 0 0;
    max-width: none;
  }
}

@media (max-width: 900px) {
  .cards,
  .service-preview-grid,
  .blog-list,
  .posts,
  .pricing-grid,
  .addon-grid,
  .service-grid,
  .principles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(var(--container), calc(100% - 1.1rem));
  }

  .page {
    padding-top: 5.25rem;
  }

  .section {
    padding: 1.2rem 0 3.25rem;
  }

  .site-nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .theme-toggle-label {
    display: none;
  }

  .theme-toggle {
    gap: 0;
    padding-inline: 0.45rem;
  }

  .brand {
    gap: 0.55rem;
    font-size: 1.05rem;
  }

  .brand-logo {
    width: 2rem;
    height: 2rem;
  }

  .site-nav.open {
    display: block;
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    width: min(18rem, calc(100vw - 1.1rem));
    padding: 0.65rem;
    border-radius: 1.2rem;
    background: rgba(255, 248, 239, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: var(--shadow);
  }

  .site-nav.open ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav.open a {
    width: 100%;
    justify-content: flex-start;
  }

  .hero {
    padding-top: 1.35rem;
  }

  h1 {
    font-size: clamp(2.45rem, 13vw, 3.6rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.5rem);
  }

  .hero-lead,
  .lead {
    font-size: 1rem;
  }

  .hero-points {
    gap: 0.65rem;
  }

  .hero-image-frame {
    min-height: 18rem;
  }

  .cards,
  .service-preview-grid,
  .cards.cards-4,
  .blog-list,
  .posts,
  .pricing-grid,
  .addon-grid,
  .service-grid,
  .principles {
    grid-template-columns: 1fr;
  }

  .card,
  .post,
  .service-card,
  .info-card,
  .contact-card,
  .about-copy,
  .process-panel,
  .check-panel,
  .cta-banner {
    padding: 1.2rem;
  }

  .process-list li {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .footer-inner {
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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