:root {
  --navy: #0f172a;
  --navy-soft: #17213a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-500: #64748b;
  --gray-700: #334155;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 10px 28px rgba(15, 23, 42, 0.07);
  --radius: 8px;
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--navy);
  background: var(--white);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  display: block;
  height: 34px;
  width: auto;
  flex-shrink: 0;
}

.brand-text {
  color: var(--navy);
}

.brand-accent {
  color: var(--blue);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 10px 12px;
  color: var(--gray-700);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--navy);
  background: var(--gray-100);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid var(--gray-200);
  background: var(--white);
  border-radius: var(--radius);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 100%;
  height: 2px;
  margin-block: 5px;
  background: var(--navy);
  border-radius: 99px;
}

.section {
  padding: clamp(52px, 9vw, 88px) 0;
}

.section-muted {
  background: var(--gray-50);
}

#services {
  scroll-margin-top: 76px;
}

#process {
  scroll-margin-top: 76px;
}

.hero {
  padding: clamp(64px, 10vw, 104px) 0 clamp(56px, 8vw, 92px);
  background:
    linear-gradient(105deg, rgba(248, 250, 252, 0.97) 0%, rgba(248, 250, 252, 0.93) 40%, rgba(239, 246, 255, 0.82) 65%, rgba(219, 234, 254, 0.7) 100%),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1920&q=80") center / cover no-repeat,
    var(--white);
}

.hero-grid,
.split-layout,
.contact-grid {
  display: grid;
  align-items: center;
  gap: clamp(40px, 7vw, 96px);
}

.hero-grid,
.split-layout {
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.contact-grid {
  grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1.3fr);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 790px;
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 800;
}

h2 {
  max-width: 760px;
  font-size: clamp(1.65rem, 4.5vw, 3.25rem);
  font-weight: 800;
}

h3 {
  font-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem);
  font-weight: 750;
}

.hero-lead,
.section-copy p,
.section-heading p {
  color: var(--gray-700);
}

.hero-lead {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1rem, 1vw + 0.7rem, 1.24rem);
}

.hero-intro {
  max-width: 680px;
  margin-top: 24px;
  color: var(--gray-700);
  font-size: clamp(1rem, 0.65vw + 0.78rem, 1.16rem);
}

.hero-intro p {
  margin: 0;
}

.hero-intro p + p {
  margin-top: 16px;
}

.hero-reassurance {
  margin: 16px 0 0;
  color: var(--gray-700);
  font-size: 0.95rem;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.hero-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.hero-notes li {
  padding: 8px 11px;
  color: var(--gray-700);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 750;
  line-height: 1.1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.2);
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--blue-dark);
}

.button-secondary {
  color: var(--navy);
  background: var(--white);
  border-color: var(--gray-200);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: #cbd5e1;
  box-shadow: var(--shadow-card);
}

.hero-panel {
  justify-self: end;
  width: min(100%, 440px);
}

.craft-card,
.portrait-card,
.contact-form {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.craft-card {
  padding: clamp(22px, 5vw, 34px);
}

.craft-card-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 22px;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  font-weight: 700;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #16a34a;
  border-radius: 999px;
  box-shadow: 0 0 0 6px rgba(22, 163, 74, 0.12);
}

.trust-list {
  display: grid;
  gap: 22px;
  margin: 24px 0 0;
}

.trust-list div {
  padding-left: 18px;
  border-left: 3px solid var(--blue);
}

.trust-list dt {
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 800;
}

.trust-list dd {
  margin: 4px 0 0;
  color: var(--gray-700);
}

.services-checklist {
  padding: clamp(36px, 6vw, 64px) 0;
  background: var(--navy);
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(3, auto);
  grid-auto-flow: column;
  gap: 20px 64px;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #cbd5e1;
  font-size: 1rem;
  font-weight: 500;
}

.checklist .check {
  color: #4ade80;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.08em;
}

.portrait-card {
  padding: 12px;
}

.hero-portrait,
.portrait-photo {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 7 / 5;
  border-radius: calc(var(--radius) - 4px);
  object-fit: cover;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  padding: 9px 18px;
  background: rgba(22, 163, 74, 0.07);
  border: 1px solid rgba(22, 163, 74, 0.2);
  border-radius: 99px;
  color: var(--gray-700);
  font-size: 0.875rem;
  font-weight: 600;
}

.portrait-placeholder {
  display: grid;
  min-height: 520px;
  place-items: center;
  color: #475569;
  background:
    linear-gradient(145deg, rgba(37, 99, 235, 0.12), rgba(15, 23, 42, 0.04)),
    var(--gray-100);
  border-radius: 6px;
}

.portrait-placeholder span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 132px;
  height: 132px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.95);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-weight: 800;
}

.section-copy {
  max-width: 650px;
}

.section-copy p {
  margin: 20px 0 0;
}

.about {
  overflow: hidden;
}

.about-heading {
  max-width: 940px;
  margin: 0 auto;
  text-align: center;
}

.about-heading .eyebrow {
  width: fit-content;
  margin: 0 auto;
  padding: 6px 12px;
  background: #eff6ff;
  border-radius: 6px;
}

.about-title {
  margin-top: 20px;
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  line-height: 1.08;
}

.about-content {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: start;
  margin-top: clamp(44px, 7vw, 72px);
}

.about-portrait {
  position: relative;
  padding: 24px 0 34px 24px;
}

.about-portrait::before {
  content: "";
  position: absolute;
  inset: 0 44% 12% 0;
  background: #eaf2ff;
  border-radius: 18px;
}

.about-portrait .portrait-photo {
  position: relative;
  z-index: 1;
  aspect-ratio: 7 / 5;
  object-fit: cover;
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
}

.about-name-card {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 48px;
  display: grid;
  gap: 2px;
  min-width: 230px;
  padding: 16px 20px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: 14px;
  box-shadow: var(--shadow-card);
}

.about-name-card strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.about-name-card span {
  color: var(--gray-500);
  font-size: 0.92rem;
}

.about-copy h3 {
  max-width: 560px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1.2;
}

.about-copy p {
  margin: 18px 0 0;
  color: var(--gray-700);
  line-height: 1.7;
}

.about-contact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: clamp(44px, 7vw, 72px);
  padding: clamp(22px, 4vw, 32px);
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 16px;
}

.about-contact-bar h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
}

.about-contact-bar p {
  margin: 6px 0 0;
  color: var(--gray-700);
}

.about-contact-bar .button {
  flex-shrink: 0;
}

.about-contact-bar .button span {
  font-size: 1.1em;
}

.section-heading {
  max-width: 760px;
  margin-bottom: clamp(24px, 4vw, 42px);
}

.section-heading h2 {
  margin-bottom: 16px;
}

.card-grid,
.project-grid {
  display: grid;
  gap: 22px;
}

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

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-height: 0;
  padding: 26px;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 20px;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 12px;
  color: var(--blue);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.service-card p,
.timeline-item p,
.faq-item p {
  margin: 12px 0 0;
  color: var(--gray-700);
}

.service-card h3 {
  max-width: 25ch;
  line-height: 1.2;
}

.project-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.project-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.project-card::before {
  content: '';
  display: block;
  height: 3px;
  flex-shrink: 0;
  background: linear-gradient(90deg, var(--blue) 0%, #60a5fa 100%);
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 24px 52px rgba(37, 99, 235, 0.09), 0 6px 16px rgba(15, 23, 42, 0.07);
}

.project-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 156px;
  background:
    radial-gradient(circle, #e2e8f0 1px, transparent 1px),
    var(--gray-50);
  background-size: 20px 20px, auto;
}

.project-visual img {
  max-width: 176px;
  max-height: 70px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 350ms ease;
}

.project-card:hover .project-visual img {
  transform: scale(1.05);
}

.project-visual-dark {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    #0d0d0d;
  background-size: 20px 20px, auto;
}

.project-visual-gradient {
  background:
    radial-gradient(circle, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  background-size: 20px 20px, auto;
  color: var(--white);
}

.project-visual-gradient svg {
  width: 46px;
  height: 46px;
  opacity: 0.85;
}

.project-body {
  padding: 22px 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.project-tag {
  margin: 0 0 6px;
  color: var(--blue);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.project-body p {
  margin: 10px 0 0;
  color: var(--gray-700);
  font-size: 0.93rem;
}

.project-body .project-archive-note {
  margin-top: 16px;
  padding-top: 14px;
  color: var(--gray-500);
  border-top: 1px solid var(--gray-200);
  font-size: 0.86rem;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding-top: 18px;
  color: var(--blue);
  font-size: 0.875rem;
  font-weight: 600;
  transition: gap 160ms ease;
}

.project-link:hover {
  gap: 8px;
}

.timeline {
  display: grid;
  gap: 18px;
  max-width: 860px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-title {
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.12;
}

.timeline-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.timeline-number {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 800;
}

.process-followup {
  max-width: 860px;
  margin-top: 22px;
  padding: 24px;
  color: var(--white);
  background: var(--navy);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.process-followup h3 {
  color: var(--white);
}

.process-followup p {
  margin: 10px 0 0;
  color: #cbd5e1;
}

.process-followup strong {
  color: var(--white);
}

.faq-container {
  max-width: 900px;
}

.faq-container > .section-heading {
  max-width: 740px;
}

.faq-group {
  margin-top: clamp(32px, 5vw, 48px);
}

.faq-group > h3 {
  margin-bottom: 16px;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  position: relative;
  padding: 20px 52px 20px 20px;
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
  list-style: none;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.45rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--gray-700);
}

.faq-answer p {
  margin: 0;
}

.faq-answer p + p {
  margin-top: 14px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.pricing-note {
  margin: 16px 0 0;
  color: var(--gray-500);
  font-size: 0.85rem;
}

.pricing-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.pricing-card::before {
  content: '';
  display: block;
  height: 3px;
  flex-shrink: 0;
  background: var(--gray-200);
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: 0 24px 52px rgba(15, 23, 42, 0.1);
}

.pricing-header {
  padding: 24px 24px 0;
}

.pricing-name {
  margin: 0 0 6px;
  color: var(--gray-500);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pricing-price {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.9rem, 3.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1;
}

.pricing-price span {
  font-size: 1rem;
  font-weight: 600;
  color: var(--gray-500);
}

.pricing-payment {
  margin: 9px 0 0;
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 750;
}

.pricing-tagline {
  margin: 10px 0 0;
  color: var(--gray-500);
  font-size: 0.88rem;
  line-height: 1.55;
}

.pricing-features {
  margin: 0;
  padding: 20px 24px;
  list-style: none;
  display: grid;
  gap: 9px;
  align-content: start;
  flex: 0 0 auto;
  border-top: 1px solid var(--gray-100);
  margin-top: 20px;
}

.pricing-features li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  color: var(--gray-700);
  font-size: 0.9rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--blue);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.pricing-features .pricing-difference {
  color: var(--navy);
  font-weight: 650;
}

.pricing-followup strong,
.pricing-followup small {
  display: block;
}

.pricing-followup small {
  margin-top: 4px;
  color: var(--gray-500);
  font-size: 0.84rem;
  font-weight: 500;
  line-height: 1.5;
}

.pricing-clients {
  margin: 0 24px;
  padding: 14px 0;
  border-top: 1px solid var(--gray-100);
}

.pricing-clients-label {
  margin: 0 0 3px;
  color: var(--gray-500);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.pricing-clients p:last-child {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.86rem;
}

.pricing-card .button {
  margin: 0 24px 24px;
}

.addons {
  margin-top: clamp(40px, 6vw, 64px);
}

.addons-title {
  margin: 6px 0 20px;
}

.addons-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.addons-table thead th {
  padding: 12px 20px;
  color: var(--gray-500);
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  text-align: left;
}

.addons-table tbody tr {
  border-bottom: 1px solid var(--gray-100);
  transition: background 150ms ease;
}

.addons-table tbody tr:last-child {
  border-bottom: none;
}

.addons-table tbody tr:hover {
  background: var(--gray-50);
}

.addons-table tbody td {
  padding: 13px 20px;
  color: var(--gray-700);
  font-size: 0.92rem;
}

.addons-table tbody td:last-child {
  color: var(--navy);
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.addons-table em,
.pricing-features em {
  font-style: normal;
  color: var(--gray-500);
  font-size: 0.85em;
}

.contact-section {
  background: var(--navy);
}

.contact-section h2,
.contact-section .eyebrow {
  color: var(--white);
}

.contact-section .section-copy p,
.contact-details {
  color: #cbd5e1;
}

.contact-details {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-style: normal;
}

.contact-details a {
  width: fit-content;
  color: var(--white);
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
}

.contact-details a:hover,
.contact-details a:focus-visible {
  border-bottom-color: var(--white);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 5vw, 34px);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--navy);
  font-weight: 800;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 14px;
  color: var(--navy);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.field textarea {
  resize: vertical;
}

.field-hint,
.form-note {
  color: var(--gray-500);
  font-size: 0.9rem;
}

.form-note {
  margin: 0;
}

/* Focused portfolio and offer content */
.secondary-service {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(300px, 1.3fr);
  gap: 32px;
  align-items: center;
  margin-top: 24px;
  padding: 26px;
  background: var(--navy);
  border-radius: 12px;
  color: #cbd5e1;
}

.secondary-service h3,
.secondary-service .eyebrow {
  color: var(--white);
}

.secondary-service p {
  margin: 0;
}

.featured-project {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  overflow: hidden;
  margin-bottom: 42px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.project-screenshot {
  display: block;
  overflow: hidden;
  background: var(--gray-100);
}

.featured-project > .project-screenshot {
  min-height: 100%;
}

.project-screenshot img,
.project-visual.project-screenshot img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: top center;
  transition: transform 350ms ease;
}

.featured-project > .project-screenshot img {
  aspect-ratio: 900 / 570;
}

.project-visual.project-screenshot {
  height: auto;
  aspect-ratio: 900 / 570;
}

.featured-project:hover .project-screenshot img,
.project-card:hover .project-screenshot img {
  transform: scale(1.015);
}

.featured-project .project-body {
  padding: clamp(24px, 4vw, 38px);
}

.case-details {
  display: grid;
  gap: 16px;
  margin: 22px 0 0;
}

.case-details div {
  padding-left: 14px;
  border-left: 3px solid var(--blue);
}

.case-details dt {
  font-weight: 800;
}

.case-details dd {
  margin: 3px 0 0;
  color: var(--gray-700);
}

.more-projects-title {
  margin-bottom: 18px;
  font-size: 1.45rem;
}

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

.project-visual-gradient span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 700;
}

.portfolio-note {
  margin: 18px 0 0;
  color: var(--gray-500);
  font-size: 0.88rem;
}

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

.pricing-practical {
  margin-top: auto;
}

.pricing-tech {
  margin: 0 24px 22px;
  padding: 14px;
  color: var(--gray-700);
  background: var(--gray-50);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.pricing-tech a {
  color: var(--blue);
  font-weight: 750;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pricing-running-costs {
  margin: 0 24px 22px;
  padding: 16px;
  color: var(--navy);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  font-size: 0.93rem;
  line-height: 1.55;
}

.pricing-running-costs p {
  margin: 0;
}

.pricing-running-costs p + p {
  margin-top: 10px;
}

.pricing-includes {
  margin: 20px 24px -6px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 800;
}

.pricing-terms {
  display: grid;
  gap: 10px;
  margin-top: 24px;
  padding: 24px;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}

.pricing-terms p {
  margin: 0;
}

.pricing-page-note {
  max-width: 820px;
  margin: 22px auto 0;
  padding: 14px 18px;
  color: var(--gray-700);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.92rem;
  line-height: 1.55;
  text-align: center;
}

.pricing-choice-guide {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.5fr);
  gap: 20px 32px;
  margin-top: 28px;
  padding: 22px 24px;
  color: var(--gray-700);
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.pricing-choice-guide h3,
.pricing-choice-guide p {
  margin: 0;
}

.pricing-choice-guide h3 {
  font-size: 1.2rem;
}

.pricing-choice-guide p + p {
  margin-top: 8px;
}

.pricing-choice-guide strong {
  color: var(--blue);
}

.addons-disclosure {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  box-shadow: var(--shadow-card);
}

.addons-disclosure > summary {
  position: relative;
  padding: 22px 58px 22px 24px;
  cursor: pointer;
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 800;
  list-style: none;
}

.addons-disclosure > summary::-webkit-details-marker {
  display: none;
}

.addons-disclosure > summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  color: var(--blue);
  font-size: 1.5rem;
}

.addons-disclosure[open] > summary::after {
  content: "−";
}

.addons-content {
  padding: 0 24px 24px;
  border-top: 1px solid var(--gray-100);
}

.addons-content > p {
  max-width: 780px;
  margin: 20px 0 0;
  color: var(--gray-700);
}

.addon-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.addon-list article {
  padding: 18px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
}

.addon-list h4 {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  margin: 0;
  color: var(--navy);
  line-height: 1.35;
}

.addon-list h4 span {
  color: var(--blue);
  white-space: nowrap;
}

.addon-list p {
  margin: 8px 0 0;
  color: var(--gray-700);
  font-size: 0.9rem;
}

#faq-wordpress-maintenance,
#addon-text-writing {
  scroll-margin-top: 88px;
}

.addons-intro {
  max-width: 760px;
  margin: -8px 0 20px;
  color: var(--gray-700);
}

.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
}

.table-scroll:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
}

.table-scroll .addons-table {
  min-width: 520px;
}

.config-warning {
  color: #92400e;
}

.demo-badge {
  display: inline-flex;
  margin-right: 7px;
  padding: 4px 7px;
  color: #1e3a8a;
  background: #dbeafe;
  border-radius: 4px;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.04em;
}

.testimonial {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 20px;
  align-items: center;
  margin: 24px 0 42px;
  padding: 24px;
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: 12px;
}

.testimonial-title {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.testimonial-example-label {
  grid-column: 1 / -1;
  width: fit-content;
  margin: -8px 0 2px;
  padding: 5px 9px;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
}

.testimonial[hidden] {
  display: none;
}

.testimonial-photo {
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: var(--gray-200);
  border-radius: 999px;
}

.testimonial-photo-example {
  display: grid;
  place-items: center;
  color: var(--gray-700);
  font-weight: 800;
}

.testimonial blockquote {
  color: var(--navy);
  font-size: 1.05rem;
  line-height: 1.6;
}

.testimonial-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial blockquote,
.testimonial figcaption {
  margin: 0;
}

.testimonial figcaption {
  margin-top: 10px;
  color: var(--gray-500);
  font-size: 0.9rem;
}

.optional {
  color: var(--gray-500);
  font-size: 0.85rem;
  font-weight: 500;
}

.honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  margin: 0;
  padding: 14px 16px;
  border-radius: var(--radius);
  line-height: 1.55;
}

.form-status:empty {
  display: none;
}

.form-status p {
  margin: 0;
}

.form-status p + p {
  margin-top: 4px;
}

.form-status-title {
  font-weight: 800;
}

.form-status.is-success {
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
}

.form-status.is-error {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

.form-status a {
  color: inherit;
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.contact-details .config-warning {
  font-style: normal;
  font-weight: 700;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.site-footer {
  padding: 28px 0;
  color: #cbd5e1;
  background: var(--navy);
  border-top: 1px solid rgba(203, 213, 225, 0.18);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--white);
  font-weight: 700;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms ease, transform 520ms ease;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.45);
  outline-offset: 3px;
}

@media (max-width: 940px) {
  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 76px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu a {
    padding: 13px 12px;
  }

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

  .featured-project {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    justify-self: start;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-portrait {
    width: 100%;
    max-width: 720px;
    margin: 0 auto;
  }

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

  .portrait-placeholder {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .brand-text {
    font-size: 0.9rem;
  }

  .hero-actions,
  .footer-inner {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .about-title {
    font-size: clamp(2rem, 10vw, 2.8rem);
  }

  .about-portrait {
    padding: 14px 0 30px 14px;
  }

  .about-portrait::before {
    inset: 0 38% 10% 0;
    border-radius: 14px;
  }

  .about-name-card {
    right: 18px;
    bottom: 0;
    left: 28px;
    min-width: 0;
    width: fit-content;
    max-width: calc(100% - 46px);
    padding: 13px 16px;
  }

  .about-contact-bar {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .services-grid,
  .project-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .addon-list {
    grid-template-columns: 1fr;
  }

  .pricing-choice-guide {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .checklist {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    gap: 18px;
  }

  .service-card {
    min-height: auto;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  .nav {
    min-height: 60px;
  }

  .brand-mark {
    height: 28px;
  }

  .brand-text {
    font-size: 0.85rem;
  }

  .hero-panel {
    width: 100%;
  }

  .portrait-placeholder {
    min-height: 260px;
  }

  .service-card {
    padding: 20px;
  }

  .project-body {
    padding: 18px 18px 22px;
  }

  .timeline-item {
    padding: 18px;
  }

  .faq-item summary {
    padding: 16px 44px 16px 16px;
  }

  .faq-item p {
    padding: 0 16px 16px;
  }

  .trust-list dt {
    font-size: 1rem;
  }

  .status-badge {
    font-size: 0.8rem;
    padding: 8px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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