:root {
  --navy: #14283F;
  --white: #FAF8F3;
  --blue: #1754B4;
  --blue-dark: #124596;
  --muted: #46566A;
  --muted-on-navy: #C9D2DC;
  --line: #DAD8D2;
  --border: #C9CDD2;
  --shadow: 0 14px 36px rgba(20, 40, 63, 0.13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--white);
  color: var(--navy);
  font: 17px/1.55 Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, p { margin: 0; }
h1 { font-size: clamp(34px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.015em; }
img { display: block; max-width: 100%; height: auto; }

a { color: var(--blue); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.navy :focus-visible { outline-color: var(--white); }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 8px; top: 8px; padding: 8px 12px; background: var(--white); z-index: 20; }

/* Layout */
.wrap { max-width: 1296px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 800px; }
.form-width { max-width: 600px; }
.band { padding: 56px 0; }
.rule { border-top: 1px solid var(--line); }
.navy { background: var(--navy); color: var(--white); }
.blueprint { background: var(--navy) url(images/pattern-blueprint.webp) center / 800px; }
.stack { display: flex; flex-direction: column; gap: 24px; }
.stack-l { display: flex; flex-direction: column; gap: 36px; }
.stack-s { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* Text */
.lead { font-size: clamp(19px, 1.7vw, 23px); font-weight: 500; }
.strong { font-size: 19px; font-weight: 600; max-width: 820px; }
.small { font-size: 15px; color: var(--muted); }
.navy .small { color: var(--muted-on-navy); }
.promise { max-width: 520px; }
.label { font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }

/* Header: sticky, with a menu button on phones */
.site-header { position: sticky; top: 0; z-index: 10; padding: 10px 0; background: var(--white); border-bottom: 1px solid var(--line); }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; }
.logo { display: inline-flex; align-items: center; min-height: 44px; font-size: 22px; font-weight: 700; letter-spacing: -0.03em; color: var(--navy); text-decoration: none; }
.menu-btn { display: none; min-height: 44px; padding: 0 16px; background: none; border: 1.5px solid var(--navy); border-radius: 8px; color: var(--navy); font: inherit; font-weight: 600; cursor: pointer; }
.js .menu-btn { display: inline-flex; align-items: center; }
.site-header nav { flex: 1 1 100%; display: flex; flex-direction: column; gap: 4px; padding: 8px 0 10px; }
.js .site-header nav { display: none; }
.js .site-header.open nav { display: flex; }
.site-header nav a:not(.btn) { display: flex; align-items: center; min-height: 48px; font-size: 19px; font-weight: 500; color: var(--navy); text-decoration: none; }
.site-header nav a[aria-current="page"] { font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }

/* Footer */
.site-footer { padding: 24px 0; border-top: 1px solid var(--line); font-size: 15px; }
.site-footer .logo { font-size: 15px; }
.site-footer .bar a { display: inline-flex; align-items: center; min-height: 44px; margin-left: 20px; color: var(--navy); }

/* Buttons. Big and full width on a phone. */
.btn {
  display: flex; align-items: center; justify-content: center;
  width: 100%; min-height: 64px; padding: 0 24px;
  background: var(--blue); color: var(--white);
  font-family: inherit; font-size: 19px; font-weight: 700; line-height: 1.2;
  border: 0; border-radius: 10px; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.btn:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(23, 84, 180, 0.35); }
.btn:active { transform: none; box-shadow: none; }
.btn-ghost { min-height: 52px; background: none; border: 1.5px solid currentColor; color: inherit; font-size: 17px; font-weight: 600; border-radius: 8px; }
.btn-ghost:hover { background: rgba(250, 248, 243, 0.14); box-shadow: none; }
.btn-nav { min-height: 52px; margin-top: 6px; padding: 0 18px; font-size: 17px; font-weight: 600; border-radius: 8px; }
.cta { display: flex; flex-direction: column; gap: 12px; }
.hero-cta { display: grid; gap: 12px; grid-template-areas: "a" "p" "b"; }
.hero-cta .btn { grid-area: a; }
.hero-cta .promise { grid-area: p; }
.hero-cta .btn-ghost { grid-area: b; }

/* Home hero with the deck photo */
.hero { display: flex; flex-direction: column; }
.hero-body { padding-top: 44px; padding-bottom: 40px; }
.hero-text { max-width: 640px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; height: 300px; object-fit: cover; object-position: center 70%; }
.photo-label { position: absolute; right: 12px; bottom: 12px; z-index: 1; padding: 4px 10px; background: rgba(20, 40, 63, 0.82); color: var(--white); border-radius: 6px; font-size: 13px; }

/* The door */
.door-grid { display: grid; gap: 20px; }
.door p { padding: 16px 0; border-top: 1px solid var(--line); }
.door p:first-child { font-size: 19px; font-weight: 600; }
.door p:last-child { padding-bottom: 0; }
.navy .door p { border-top-color: #5C6E84; }
.navy .door { margin-top: 18px; }

/* Cards */
.card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 24px; transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s; }
.grid .card:hover, .plans .card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--navy); }
.grid { display: grid; gap: 20px; }
.icon { width: 88px; height: 88px; margin-bottom: 14px; mix-blend-mode: multiply; }
.card h3 { margin-bottom: 8px; }

/* Process */
.step img { width: 100%; max-width: 360px; margin-bottom: 12px; mix-blend-mode: multiply; }
.step h3 { margin-bottom: 8px; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; margin-right: 10px; background: var(--navy); color: var(--white); border-radius: 50%; font-size: 17px; letter-spacing: 0; }

/* Price cards. One under the other on a phone. */
.plans { display: grid; gap: 28px; }
.plans .card { padding: 32px 28px; }
.plans .card p:last-child { font-size: 18px; line-height: 1.65; }
.price { margin-bottom: 20px; font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -0.03em; }
.price span { font-size: 17px; font-weight: 500; letter-spacing: 0; color: var(--muted); }

/* Work and About */
.split { display: grid; gap: 32px; align-items: center; }
.ph { display: flex; align-items: center; justify-content: center; padding: 16px; background: #ECE9E1; border: 1.5px dashed #6B7785; border-radius: 16px; text-align: center; font-size: 15px; font-weight: 600; color: var(--muted); }
.ph-shot { aspect-ratio: 16 / 9; }
.shot { width: 100%; border: 1px solid var(--border); border-radius: 16px; }
.ph-photo { aspect-ratio: 4 / 5; width: 100%; max-width: 240px; }
.tag { display: inline-block; padding: 4px 12px; background: var(--navy); color: var(--white); border-radius: 6px; font-size: 14px; font-weight: 600; }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 12px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 26px; font-weight: 400; line-height: 1; transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--blue); }
.faq details p { padding: 0 0 20px; max-width: 720px; }

/* Form */
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 15px; font-weight: 600; }
.field label span { font-weight: 400; color: var(--muted); }
.field input, .field select { min-height: 52px; padding: 0 14px; border: 1px solid #6B7785; border-radius: 8px; background: var(--white); color: var(--navy); font: inherit; transition: border-color 0.2s, box-shadow 0.2s; }
.field input:hover, .field select:hover { border-color: var(--navy); }
#form-status { font-weight: 600; }
#form-status:not(:empty) { padding: 14px 16px; border-radius: 8px; border: 1.5px solid var(--navy); }
#form-status.status-error { border-color: #A12A1E; color: #A12A1E; }
.btn:disabled { opacity: 0.7; cursor: wait; transform: none; box-shadow: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Fade in as you scroll. Only when scripts run and motion is allowed. */
@media (prefers-reduced-motion: no-preference) {
  .js main > section:not(:first-child) > .wrap { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
  .js main > section:not(:first-child) > .wrap.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .card, .faq summary::after { transition: none; }
}

@media (min-width: 768px) {
  .wrap { padding: 0 48px; }
  .band { padding: 104px 0; }
  .site-header { padding: 14px 0; }
  .js .menu-btn { display: none; }
  .site-header nav, .js .site-header nav { flex: 0 1 auto; display: flex; flex-direction: row; align-items: center; gap: 8px 28px; padding: 0; }
  .site-header nav a:not(.btn) { min-height: 44px; font-size: 17px; }
  .btn { display: inline-flex; width: auto; min-height: 54px; padding: 0 28px; font-size: 17px; font-weight: 600; border-radius: 8px; }
  .btn-nav { min-height: 44px; margin-top: 0; padding: 0 18px; font-size: 15px; }
  .cta { align-items: flex-start; }
  .hero-cta { grid-template-columns: max-content max-content; grid-template-areas: "a b" "p p"; justify-content: start; }
  .card { padding: 28px; }
  .plans .card { padding: 36px 32px; }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }

  .hero { position: relative; display: block; min-height: 640px; }
  .hero-media { position: absolute; inset: 0; }
  .hero-media img { height: 100%; object-position: center; }
  .hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #14283F 0%, rgba(20, 40, 63, 0.94) 34%, rgba(20, 40, 63, 0.45) 62%, rgba(20, 40, 63, 0) 88%); }
  .hero-body { position: relative; z-index: 1; padding-top: 112px; padding-bottom: 112px; }
  .hero-text { max-width: 600px; }
  .photo-label { right: 20px; bottom: 16px; }
}

@media (min-width: 960px) {
  .door-grid { grid-template-columns: 1fr 1.6fr; gap: 64px; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-3, .plans-row { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.4fr 1fr; }
  .split-photo { grid-template-columns: 240px 1fr; }
}

.big { max-width: 900px; font-size: clamp(34px, 4.6vw, 62px); line-height: 1.06; letter-spacing: -0.035em; }
