/* /professional-website: an agency-built website with free design and setup.
   Borrowed format: a studio portfolio and a clear care agreement. Every class is prefixed ew-.
   Prices render in EssentialOfferIsland; the drag comparison in RedesignSlider. */
.ew-page {
  --ew-paper: #f4efe5;
  --ew-sheet: #fffdf8;
  --ew-ink: #171b24;
  --ew-muted: #4f5664;
  --ew-line: #dcd3c1;
  --ew-rule: #c9bda6;
  --ew-brass: #8a6424;
  --ew-gold: #d9b56c;
  --ew-gold-soft: #ecd39b;
  --ew-night: #0c0f15;
  --ew-night-line: rgba(217, 181, 108, 0.22);
  --ew-night-text: #bdb6ab;
  --ew-ivory: #f5efe4;
  background: var(--ew-paper);
  color: var(--ew-ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color-scheme: light;
}
.ew-page * { box-sizing: border-box; }
.ew-page ::selection { background: var(--ew-gold); color: var(--ew-ink); }
.ew-page :focus-visible { outline: 2px solid var(--ew-brass); outline-offset: 4px; border-radius: 3px; }
.ew-page :is(.ew-why-section, .ew-close) :focus-visible { outline-color: var(--ew-gold); }
.ew-page a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
:where(.ew-page) :where(h1, h2, h3, p, ul, ol, dl, dd, figure) { margin: 0; }
:where(.ew-page) :where(ul, ol) { padding: 0; list-style: none; }
:where(.ew-page) p { max-width: 68ch; }
.ew-page h1, .ew-page h2 { font-family: var(--font-serif); font-weight: 500; text-wrap: balance; letter-spacing: -0.02em; }
.ew-page h1 { font-size: clamp(3.1rem, 5.6vw, 6rem); line-height: 0.96; }
.ew-page h2 { font-size: clamp(2.3rem, 3.7vw, 3.8rem); line-height: 1.03; }
.ew-page h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; line-height: 1.35; letter-spacing: 0; }
.ew-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ew-wrap { width: min(100%, 1360px); margin-inline: auto; padding-inline: clamp(16px, 4vw, 56px); }
.ew-section { padding-block: clamp(76px, 9vw, 128px); }
.ew-split-head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 20px 72px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.ew-split-head p { color: var(--ew-muted); font-size: 18px; }
.ew-caption { margin-top: 18px; font-size: 13px; color: var(--ew-muted); }

/* Buttons. The checkout trigger arrives with utility classes; two-class selectors win. */
.ew-page .ew-btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 15px 28px; border-radius: 999px;
  border: 1px solid var(--ew-ink); font-family: var(--font-sans);
  font-size: 15px; font-weight: 700; line-height: 1.2; letter-spacing: 0.01em;
  text-decoration: none; box-shadow: none;
  transition: background-color 180ms ease-out, color 180ms ease-out, border-color 180ms ease-out, transform 180ms ease-out;
}
.ew-page .ew-btn-primary { background: var(--ew-ink); color: #fff; }
.ew-page .ew-btn-primary:hover { background: #2a3140; transform: translateY(-1px); }
.ew-page .ew-btn-on-dark { background: var(--ew-gold); border-color: var(--ew-gold); color: #16130d; box-shadow: 0 14px 40px -14px rgba(217, 181, 108, 0.55); }
.ew-page .ew-btn-on-dark:hover { background: var(--ew-gold-soft); border-color: var(--ew-gold-soft); }
.ew-page .ew-btn-quiet { background: transparent; color: var(--ew-ivory); border-color: rgba(245, 239, 228, 0.28); }
.ew-page .ew-btn-quiet:hover { border-color: var(--ew-ivory); }
.ew-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.ew-actions > div { display: contents; }
.ew-actions-center { justify-content: center; }

/* Price block (island). */
.ew-price { margin-top: 30px; }
.ew-price-label { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ew-brass); }
.ew-price-figure { display: flex; align-items: baseline; gap: 8px; }
.ew-price-amount { font-family: var(--font-serif); font-size: clamp(3.4rem, 5vw, 4.6rem); font-weight: 600; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: lining-nums tabular-nums; }
.ew-price-unit { font-size: 17px; font-weight: 600; color: var(--ew-muted); }
.ew-price-disclosure { margin-top: 6px; font-size: 14px; line-height: 1.45; color: var(--ew-muted); max-width: 44ch; }
.ew-price-terms { margin-top: 6px; font-size: 15px; font-weight: 600; color: var(--ew-muted); }

/* The offer and the studio portfolio belong in the same first impression. */
.ew-hero { padding-block: 132px 66px; overflow: hidden; background: var(--ew-paper); color: var(--ew-ink); }
.ew-hero-grid { display: grid; grid-template-columns: minmax(0, 1.04fr) minmax(0, 1fr); gap: clamp(32px, 4vw, 64px); align-items: center; }
.ew-page .ew-hero h1 { font-size: clamp(3.5rem, 5.4vw, 5.5rem); line-height: .98; }
.ew-page :is(.ew-hero h1, .ew-why-section h2, .ew-care-section h2) > br { display: block; }
.ew-page .ew-hero .h1-kicker { color: #755039; opacity: 1; margin-bottom: 23px; }
.ew-hero h1 em { color: #8b4c3e; font-weight: 400; }
.ew-lead { margin-top: 22px; font-size: 18px; line-height: 1.6; color: var(--ew-muted); max-width: 49ch; }
.ew-price-pair { display: grid; grid-template-columns: .8fr 1.2fr; gap: 22px; }
.ew-price-build { border-right: 1px solid var(--ew-rule); padding-right: 22px; }
.ew-price-for { margin-top: 8px; color: var(--ew-muted); font-size: 13px; line-height: 1.5; }
.ew-hero .ew-price { margin-top: 24px; padding-block: 18px 0; border-top: 1px solid var(--ew-line); }
.ew-hero .ew-price-amount { font-size: 50px; font-weight: 500; }
.ew-hero .ew-price-terms { font-size: 13px; margin-top: 14px; }
.ew-page .ew-hero .ew-btn-quiet { border: 0; border-radius: 0; padding-inline: 6px; color: var(--ew-ink); gap: 14px; text-decoration: underline; }
.ew-page .ew-btn { border-radius: 3px; }
.ew-hero .ew-actions { gap: 18px; margin-top: 20px; }
.ew-hero .ew-btn-primary { background: #833e32; border-color: #833e32; }
.ew-hero .ew-btn-primary:hover { background: #682f26; }
.ew-start-note { margin-top: 9px; font-size: 12px; color: var(--ew-muted); }
.ew-hero .ns-trustline { margin-top: 20px !important; }
.ew-fit { margin-top: 8px; font-size: 13px; color: var(--ew-muted); }
.ew-browser-bar { display: flex; align-items: center; gap: 14px; height: 30px; padding: 0 12px; background: #ece6da; border-bottom: 1px solid #d9d0bf; }
.ew-browser-dots { display: inline-flex; gap: 6px; }
.ew-browser-dots i { width: 7px; height: 7px; border-radius: 50%; background: #aaa38d; }
.ew-browser-address { flex: 1; font-size: 10px; color: #656154; text-align: center; }
.ew-new-logo em { color: #2f6b8f; }
.ew-studio { min-width: 0; padding-top: 18px; }
.ew-studio-mast { display: flex; justify-content: space-between; padding-bottom: 15px; margin-bottom: 28px; border-bottom: 1px solid #b7b6a5; font-size: 11px; color: #586050; letter-spacing: .07em; text-transform: uppercase; }
.ew-studio-stage { position: relative; padding: 0 28px 118px 0; }
.ew-studio-browser { position: relative; background: #faf9f1; color: #2e473c; box-shadow: 0 24px 50px -24px #252d3355; border-radius: 7px; overflow: hidden; }
.ew-studio-nav { display: flex; align-items: center; justify-content: space-between; padding: 18px; font-size: 10px; }
.ew-studio-nav > span:first-child { font-family: var(--font-serif); font-size: 29px; line-height: .8; }
.ew-studio-brand-note { display: block; padding-top: 7px; font-family: var(--font-sans); font-size: 7px; letter-spacing: .15em; }
.ew-studio-cover { position: relative; min-height: 232px; background: #e9ede0; display: flex; align-items: center; }
.ew-studio-photo { position: absolute; inset: 0 0 0 auto; width: 48%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.ew-studio-cover-copy { position: relative; padding: 25px 20px; width: 56%; }
.ew-studio-cover-copy p { font-family: var(--font-serif); font-size: clamp(26px, 2.8vw, 39px); line-height: 1.02; }
.ew-studio-cover-copy > span { display: inline-block; padding: 9px 11px; margin-top: 25px; background: #2e473c; color: #f5f5e8; font-size: 9px; }
.ew-studio-bottom { display: flex; justify-content: space-between; gap: 16px; padding: 22px 18px; font-size: 10px; }
.ew-studio-phone { position: absolute; width: 34%; right: -2px; bottom: 0; padding: 9px 9px 22px; border: 5px solid #363d31; border-radius: 26px; background: #f6f0dc; color: #344030; box-shadow: 0 20px 40px -20px #34362888; }
.ew-studio-phone-top { font-family: var(--font-serif); font-size: 21px; text-align: center; padding-block: 13px; }
.ew-studio-phone-top span { display: block; font-family: var(--font-sans); font-size: 7px; letter-spacing: .15em; }
.ew-studio-phone img { width: 100%; height: 110px; object-fit: cover; border-radius: 2px; }
.ew-studio-phone p { padding: 15px 5px 10px; font-family: var(--font-serif); font-size: 29px; line-height: .98; }
.ew-studio-phone-button { display: block; margin-inline: 4px; padding: 8px 4px; color: #f6f0dc; background: #344030; font-size: 9px; text-align: center; }
.ew-studio-signoff { position: absolute; bottom: 18px; left: 10px; font-family: var(--font-serif); font-size: 30px; line-height: 1.1; color: #785b43; }
.ew-studio figcaption { display: flex; justify-content: space-between; gap: 16px; margin-top: 27px; padding-top: 17px; border-top: 1px solid #b7b6a5; font-size: 11px; color: #4f5a49; }
.ew-studio figcaption a { font-weight: 600; }
@media (prefers-reduced-motion: no-preference) { .ew-studio-browser { animation: ew-studio-arrive 650ms cubic-bezier(.16,1,.3,1) both; } }
@keyframes ew-studio-arrive { from { transform: translateY(14px); } to { transform: translateY(0); } }

/* A candid business model, followed by the two halves of the offer. */
.ew-why-section { padding-block: clamp(66px, 8vw, 106px); background: #293c33; color: #f9f4e7; }
.ew-why-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(40px, 8vw, 110px); }
.ew-why-section h2 em { color: #e5c38b; }
.ew-why-belief { margin-top: 27px; max-width: 29ch; font-size: 19px; color: #e6e8dc; }
.ew-why-letter { display: grid; gap: 22px; color: #e6e8dc; font-size: 17px; }
.ew-why-letter strong { color: #f9f4e7; }
.ew-why-promise { padding-top: 24px; border-top: 1px solid #f3ecd044; }
.ew-why-letter > a { color: #e5c38b; font-size: 14px; padding-block: 8px; }
.ew-care-section { background: #ede9dd; }
.ew-care-ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.ew-care-ledger h3 { font-family: var(--font-serif); font-size: 30px; font-weight: 500; }
.ew-care-intro { color: var(--ew-muted); margin-top: 10px; }
.ew-care-ledger ul { margin-top: 26px; }
.ew-care-ledger li { padding-block: 16px; border-top: 1px solid var(--ew-rule); font-size: 16px; }
.ew-care-monthly { padding-left: 44px; border-left: 1px solid var(--ew-rule); }
.ew-care-offer { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-top: 40px; padding-top: 10px; border-top: 1px solid var(--ew-rule); }
.ew-care-offer > div:last-child { display: grid; justify-items: start; gap: 16px; }
.ew-care-offer > div:last-child > a { font-size: 14px; }
.ew-gallery-next { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 42px; }
.ew-gallery-next p { max-width: 40ch; font-size: 19px; }
#website-designs, #why-free, #website-care { scroll-margin-top: 80px; }

/* Before and after. */
.ew-ba-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.5fr); gap: 40px clamp(32px, 4vw, 64px); align-items: center; }
.ew-slider { position: relative; --ew-split: 50%; }
.ew-slider-stage { position: relative; border-radius: 12px; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(23, 27, 36, 0.55), 0 0 0 1px var(--ew-line); background: #fff; }
.ew-slider-after { position: relative; }
.ew-slider-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--ew-split)) 0 0); }
.ew-slider-before .ew-browser, .ew-slider-before .ew-old-page { height: 100%; }
.ew-slider-handle { position: absolute; top: 0; bottom: 0; left: var(--ew-split); width: 2px; margin-left: -1px; background: var(--ew-gold); pointer-events: none; }
.ew-slider-handle span { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: var(--ew-ink); border: 2px solid var(--ew-gold); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35); }
.ew-slider-handle span::before, .ew-slider-handle span::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; border-top: 2px solid var(--ew-gold); border-left: 2px solid var(--ew-gold); }
.ew-slider-handle span::before { left: 11px; transform: translateY(-50%) rotate(-45deg); }
.ew-slider-handle span::after { right: 11px; transform: translateY(-50%) rotate(135deg); }
.ew-slider-tag { position: absolute; top: 44px; padding: 4px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; }
.ew-slider-tag-before { left: 14px; background: #3b3b3b; color: #fff; }
.ew-slider-tag-after { right: 14px; background: var(--ew-gold); color: #16130d; }
.ew-slider-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ew-slider:has(.ew-slider-range:focus-visible) .ew-slider-stage { outline: 2px solid var(--ew-brass); outline-offset: 4px; }

.ew-browser { background: #fff; }
.ew-old-page { background: #e9e8e2; font-family: "Times New Roman", Times, serif; color: #222; }
.ew-old-banner { padding: 16px 18px; background: linear-gradient(#3b5a8c, #20365e); }
.ew-old-logo { display: block; color: #ffe38a; font-size: clamp(18px, 2.2vw, 30px); font-weight: 700; letter-spacing: 0.06em; text-shadow: 2px 2px 0 #000; }
.ew-old-tag { color: #fff; font-style: italic; font-size: 13px; }
.ew-old-nav { padding: 6px 18px; background: #c0c0c0; border-block: 2px outset #eee; font-size: 13px; color: #00e; }
.ew-old-body { display: grid; grid-template-columns: 150px 1fr; }
.ew-old-side { display: flex; flex-direction: column; gap: 4px; padding: 14px; background: #d6d3c6; font-size: 13px; color: #00e; }
.ew-old-side b { color: #222; }
.ew-old-counter { margin-top: 14px; padding: 2px 4px; background: #000; color: #3f3; font-family: "Courier New", monospace; font-size: 11px; }
.ew-old-main { padding: 14px 18px 20px; font-size: 13px; line-height: 1.35; }
.ew-old-main p { max-width: none; }
.ew-old-welcome { margin-bottom: 8px; font-size: 22px; font-weight: 700; color: #b22222; text-align: center; font-style: italic; }
.ew-old-img { display: grid; place-items: center; width: 160px; height: 70px; margin: 12px auto; border: 2px inset #ccc; background: #f4f4f4; color: #999; font-size: 11px; }
.ew-old-small { font-size: 11px; color: #555; }

.ew-new-page { background: #fbf8f1; color: var(--ew-ink); }
.ew-new-nav { display: flex; align-items: center; gap: 18px; padding: 14px 22px; font-size: 13px; font-weight: 600; border-bottom: 1px solid #ece4d6; }
.ew-new-logo { font-family: var(--font-serif); font-size: 22px; font-weight: 600; }
.ew-new-links { display: flex; gap: 18px; margin-left: auto; color: #5b6170; }
.ew-new-call { padding: 8px 14px; border-radius: 999px; background: #1f3a52; color: #fff; }
.ew-new-hero { display: grid; grid-template-columns: 1fr 1fr; align-items: stretch; }
.ew-new-copy { padding: clamp(20px, 3vw, 40px) 22px; }
.ew-new-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #2f6b8f; }
.ew-new-headline { margin-top: 10px; font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 36px); line-height: 1.02; font-weight: 600; }
.ew-new-sub { margin-top: 12px; font-size: 13px; line-height: 1.5; color: #555b66; }
.ew-new-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ew-new-btn { padding: 8px 14px; border-radius: 999px; background: #1f3a52; color: #fff; font-size: 12px; font-weight: 700; }
.ew-new-btn-ghost { background: transparent; color: #1f3a52; border: 1px solid #1f3a52; }
.ew-new-photo { display: block; width: 100%; height: 100%; object-fit: cover; min-height: 240px; }
.ew-new-strip { display: flex; justify-content: space-around; gap: 12px; padding: 12px 18px; background: #1f3a52; color: #e8eef3; font-size: 12px; font-weight: 600; }

.ew-ba-notes { counter-reset: ba; display: grid; gap: 22px; }
.ew-ba-notes li { counter-increment: ba; position: relative; padding-left: 44px; }
.ew-ba-notes li::before { content: counter(ba); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ew-brass); color: var(--ew-brass); font-size: 13px; font-weight: 700; }
.ew-ba-notes h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 600; line-height: 1.15; }
.ew-ba-notes p { margin-top: 4px; font-size: 15px; color: var(--ew-muted); }

/* Phone test: native checkboxes, scored with a CSS counter (no script). */
.ew-test-section { background: var(--ew-sheet); border-block: 1px solid var(--ew-line); }
.ew-test-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 32px clamp(40px, 6vw, 88px); }
.ew-test-intro > p { margin-top: 18px; color: var(--ew-muted); }
.ew-evidence { margin-top: 32px; display: grid; gap: 16px; padding-top: 24px; border-top: 1px solid var(--ew-line); }
.ew-evidence p { font-size: 15px; line-height: 1.6; color: var(--ew-muted); }
.ew-evidence strong { color: var(--ew-ink); }
.ew-evidence a { font-size: 13px; color: var(--ew-brass); font-weight: 600; white-space: nowrap; }
.ew-test { counter-reset: ticked; display: grid; grid-template-columns: minmax(0, 1fr) 210px; gap: 28px; align-items: start; }
.ew-test-list { border-top: 1px solid var(--ew-line); }
.ew-test-list li { border-bottom: 1px solid var(--ew-line); }
.ew-test-list label { display: flex; gap: 14px; align-items: flex-start; padding: 13px 4px; cursor: pointer; }
.ew-test-list input { appearance: none; flex: none; width: 22px; height: 22px; margin: 2px 0 0; border: 1.5px solid var(--ew-ink); border-radius: 5px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color 140ms ease-out; }
.ew-test-list input::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg) translate(1px, -1px); opacity: 0; }
.ew-test-list input:checked { background: var(--ew-ink); counter-increment: ticked; }
.ew-test-list input:checked::after { opacity: 1; }
.ew-test-list input:checked + span { color: var(--ew-ink); }
.ew-test-list span { color: var(--ew-muted); }
.ew-test-result { position: sticky; top: 124px; padding: 22px; border-radius: 12px; background: var(--ew-night); color: var(--ew-ivory); }
.ew-test-score { display: flex; align-items: baseline; gap: 8px; }
.ew-test-count::after { content: counter(ticked); font-family: var(--font-serif); font-size: 68px; font-weight: 600; line-height: 1; color: var(--ew-gold); font-variant-numeric: lining-nums tabular-nums; }
.ew-test-of { font-weight: 700; color: var(--ew-night-text); }
.ew-test-key { display: grid; gap: 12px; margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--ew-night-line); font-size: 14px; line-height: 1.5; }
.ew-test-key dt { font-weight: 700; color: var(--ew-gold-soft); }
.ew-test-key dd { color: var(--ew-night-text); }
.ew-test-next { grid-column: 2; font-size: 16px; color: var(--ew-muted); }
.ew-test-next a { color: var(--ew-ink); font-weight: 700; }

/* The cost comparison. */
/* Sample designs. */
.ew-samples-section { background: var(--ew-sheet); border-block: 1px solid var(--ew-line); }
.ew-samples { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(40px, 4vw, 56px) clamp(20px, 2.4vw, 36px); }
.ew-sample h3 { margin-top: 20px; font-family: var(--font-serif); font-size: 26px; font-weight: 600; }
.ew-sample > p { margin-top: 6px; font-size: 15px; color: var(--ew-muted); }
.ew-sample-frame { border-radius: 10px; overflow: hidden; box-shadow: 0 30px 60px -36px rgba(23, 27, 36, 0.6), 0 0 0 1px var(--ew-line); transition: transform 260ms cubic-bezier(0.16, 1, 0.3, 1); }
.ew-sample:hover .ew-sample-frame { transform: translateY(-4px); }
.ew-sample-site { position: relative; aspect-ratio: 4 / 5.2; overflow: hidden; isolation: isolate; }
.ew-sample-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ew-sample-overlay { position: absolute; inset: auto 0 0; z-index: 1; isolation: isolate; display: grid; gap: 8px; padding: 22px 20px; }
.ew-sample-overlay::before { content: ""; position: absolute; inset: -90px 0 0; z-index: -1; }
.ew-sample-logo { font-family: var(--font-serif); font-size: 17px; font-weight: 600; }
.ew-sample-logo em { font-style: italic; font-weight: 400; opacity: 0.8; }
.ew-sample-headline { font-family: var(--font-serif); font-size: clamp(22px, 2.1vw, 30px); line-height: 1.02; font-weight: 600; }
.ew-sample-sub { font-size: 12.5px; line-height: 1.45; opacity: 0.88; }
.ew-sample-btn { justify-self: start; margin-top: 6px; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.ew-sample-sage .ew-sample-overlay { color: #22302a; }
.ew-sample-sage .ew-sample-overlay::before { background: linear-gradient(180deg, rgba(246, 241, 230, 0), rgba(246, 241, 230, 0.96) 48%); }
.ew-sample-sage .ew-sample-btn { background: #4f6b5c; color: #fff; }
.ew-sample-forest .ew-sample-overlay { color: #f6f1e6; }
.ew-sample-forest .ew-sample-overlay::before { background: linear-gradient(180deg, rgba(14, 22, 14, 0), rgba(14, 22, 14, 0.92) 48%); }
.ew-sample-forest .ew-sample-btn { background: #e3c56f; color: #1c1a10; }
.ew-sample-ink .ew-sample-overlay { color: #1c2230; }
.ew-sample-ink .ew-sample-overlay::before { background: linear-gradient(180deg, rgba(250, 248, 244, 0), rgba(250, 248, 244, 0.97) 48%); }
.ew-sample-ink .ew-sample-btn { background: #1d3b33; color: #fff; }
.ew-sample-slate .ew-sample-overlay { color: #1c2733; }
.ew-sample-slate .ew-sample-overlay::before { background: linear-gradient(180deg, rgba(243, 245, 246, 0), rgba(243, 245, 246, 0.96) 48%); }
.ew-sample-slate .ew-sample-btn { background: #27455c; color: #fff; }
.ew-sample-charcoal .ew-sample-overlay { color: #f3efe8; }
.ew-sample-charcoal .ew-sample-overlay::before { background: linear-gradient(180deg, rgba(17, 18, 21, 0), rgba(17, 18, 21, 0.9) 48%); }
.ew-sample-charcoal .ew-sample-btn { background: #df8f4c; color: #1a120a; }
.ew-sample-air .ew-sample-overlay { color: #16303a; }
.ew-sample-air .ew-sample-overlay::before { background: linear-gradient(180deg, rgba(244, 249, 250, 0), rgba(244, 249, 250, 0.96) 48%); }
.ew-sample-air .ew-sample-btn { background: #2b7684; color: #fff; }
.ew-sample-navy .ew-sample-overlay { color: #f1ece2; }
.ew-sample-navy .ew-sample-overlay::before { background: linear-gradient(180deg, rgba(11, 19, 36, 0), rgba(11, 19, 36, 0.92) 48%); }
.ew-sample-navy .ew-sample-btn { background: #c9a45c; color: #15110a; }
.ew-sample-blush .ew-sample-overlay { color: #3a2a2a; }
.ew-sample-blush .ew-sample-overlay::before { background: linear-gradient(180deg, rgba(250, 243, 239, 0), rgba(250, 243, 239, 0.96) 48%); }
.ew-sample-blush .ew-sample-btn { background: #8f6154; color: #fff; }
.ew-sample-amber .ew-sample-overlay { color: #f3efe8; }
.ew-sample-amber .ew-sample-overlay::before { background: linear-gradient(180deg, rgba(14, 18, 28, 0), rgba(14, 18, 28, 0.9) 48%); }
.ew-sample-amber .ew-sample-btn { background: #eea43a; color: #1a1206; }

/* Site plan: a sitemap drawn sideways. Home on the left, the other pages branching off one rail. */
.ew-plan { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); align-items: center; }
.ew-plan-home { position: relative; padding: 26px 28px; border: 1.5px solid var(--ew-ink); border-radius: 6px; background: var(--ew-sheet); }
.ew-plan-home h3 { font-family: var(--font-serif); font-size: 34px; font-weight: 600; line-height: 1; }
.ew-plan-home p { margin-top: 10px; font-size: 15px; color: var(--ew-muted); }
.ew-plan-home::after { content: ""; position: absolute; top: 50%; right: -49px; width: 48px; border-top: 1.5px solid var(--ew-ink); }
.ew-plan-pages { position: relative; margin-left: 48px; padding-left: 36px; display: grid; gap: 12px; }
.ew-plan-pages::before { content: ""; position: absolute; left: 0; top: 34px; bottom: 34px; border-left: 1.5px solid var(--ew-ink); }
.ew-plan-pages li { position: relative; display: grid; grid-template-columns: minmax(0, 210px) minmax(0, 1fr); gap: 4px 28px; align-items: baseline; padding: 16px 22px; border: 1px solid var(--ew-rule); border-radius: 6px; background: var(--ew-sheet); }
.ew-plan-pages li::before { content: ""; position: absolute; left: -37px; top: 50%; width: 36px; border-top: 1.5px solid var(--ew-ink); }
.ew-plan-pages li:first-child { border-color: var(--ew-ink); border-width: 1.5px; box-shadow: 5px 5px 0 -1px var(--ew-sheet), 5px 5px 0 0 var(--ew-rule), 10px 10px 0 -1px var(--ew-sheet), 10px 10px 0 0 var(--ew-rule); margin-bottom: 10px; }
.ew-plan-pages h3 { font-family: var(--font-serif); font-size: 24px; font-weight: 600; line-height: 1.1; }
.ew-plan-count { grid-column: 1; grid-row: 2; font-size: 12px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ew-brass); }
.ew-plan-pages p:last-child { grid-column: 2; grid-row: 1 / span 2; font-size: 15px; line-height: 1.55; color: var(--ew-muted); }
.ew-homework { margin-top: 48px; display: grid; grid-template-columns: minmax(0, 0.5fr) minmax(0, 1fr) minmax(0, 1fr); gap: 16px 40px; padding-top: 28px; border-top: 1px solid var(--ew-line); }
.ew-homework h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; line-height: 1.15; }
.ew-homework p { color: var(--ew-muted); }

/* How it runs. */
.ew-run-section { background: var(--ew-sheet); border-block: 1px solid var(--ew-line); }
.ew-run { margin-top: 52px; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 2px solid var(--ew-ink); }
.ew-run li { position: relative; padding: 26px 20px 0 0; }
.ew-run li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--ew-sheet); border: 2px solid var(--ew-ink); }
.ew-run li:nth-child(3)::before { background: var(--ew-gold); border-color: var(--ew-brass); }
.ew-run-when { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ew-brass); }
.ew-run h3 { margin-top: 8px; font-family: var(--font-serif); font-size: 23px; font-weight: 600; line-height: 1.1; }
.ew-run li p:not(.ew-run-when) { margin-top: 10px; font-size: 15px; line-height: 1.55; color: var(--ew-muted); }

/* The written quote: the decision band. */
.ew-quote-section { background: var(--ew-night); color: var(--ew-ivory); padding-block: clamp(76px, 9vw, 128px); }
.ew-quote-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 40px clamp(40px, 6vw, 88px); align-items: start; }
.ew-quote-intro { position: sticky; top: 124px; }
.ew-quote-intro p { margin-top: 18px; color: var(--ew-night-text); }
.ew-quote { background: var(--ew-sheet); color: var(--ew-ink); border-radius: 12px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(217, 181, 108, 0.3); }
.ew-quote-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; align-items: baseline; padding-bottom: 16px; border-bottom: 2px solid var(--ew-ink); }
.ew-quote-title { font-family: var(--font-serif); font-size: 34px; font-weight: 600; line-height: 1.1; }
.ew-quote-meta { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ew-muted); }
.ew-quote-cols { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; padding-block: 22px; }
.ew-quote-cols h3 { margin-bottom: 10px; font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; }
.ew-quote-cols li { position: relative; padding: 8px 0 8px 26px; font-size: 15px; line-height: 1.5; border-bottom: 1px dotted var(--ew-rule); }
.ew-quote-in li::before { content: ""; position: absolute; left: 3px; top: 14px; width: 11px; height: 6px; border-left: 2px solid var(--ew-brass); border-bottom: 2px solid var(--ew-brass); transform: rotate(-45deg); }
.ew-quote-out li { color: var(--ew-muted); }
.ew-quote-out li::before { content: ""; position: absolute; left: 2px; top: 17px; width: 12px; height: 1.5px; background: #a1998b; }
.ew-quote-terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-block: 18px; border-block: 1px solid var(--ew-line); font-size: 14px; line-height: 1.45; }
.ew-quote-terms dt { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ew-muted); }
.ew-quote-terms dd { margin-top: 4px; font-weight: 600; }
.ew-quote-total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; padding-top: 22px; }
.ew-quote-total .ew-price { margin-top: 0; }

/* Next steps on the ladder. */
.ew-ladder { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1.5px solid var(--ew-ink); }
.ew-rung { padding: 28px 40px 8px 0; display: flex; flex-direction: column; gap: 12px; }
.ew-rung + .ew-rung { padding-left: 40px; border-left: 1px solid var(--ew-line); }
.ew-rung h3 { font-family: var(--font-serif); font-size: 30px; font-weight: 600; line-height: 1.1; }
.ew-rung p { font-size: 16px; color: var(--ew-muted); }
.ew-rung-price { font-weight: 700; color: var(--ew-ink) !important; }
.ew-rung-when { color: var(--ew-ink) !important; font-style: italic; }
.ew-rung a { margin-top: auto; font-weight: 700; font-size: 15px; }

/* FAQ. */
.ew-faq-section { background: var(--ew-sheet); border-top: 1px solid var(--ew-line); }
.ew-faq-grid { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 32px clamp(40px, 6vw, 88px); }
.ew-faq-grid > div:first-child p { margin-top: 16px; color: var(--ew-muted); }
.ew-faq { border-top: 1px solid var(--ew-line); }
.ew-faq details { border-bottom: 1px solid var(--ew-line); }
.ew-faq summary { display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font-weight: 700; cursor: pointer; list-style: none; }
.ew-faq summary::-webkit-details-marker { display: none; }
.ew-faq summary::after { content: "+"; flex: none; font-family: var(--font-serif); font-size: 26px; line-height: 0.9; color: var(--ew-brass); transition: transform 180ms ease-out; }
.ew-faq details[open] summary::after { transform: rotate(45deg); }
.ew-faq details p { padding: 0 32px 20px 0; color: var(--ew-muted); }

/* Close. */
.ew-close {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(88px, 10vw, 136px); text-align: center; color: var(--ew-ivory);
  background: radial-gradient(60% 80% at 50% 0%, rgba(217, 181, 108, 0.14), transparent 65%), var(--ew-night);
}
.ew-close::before { content: ""; position: absolute; inset: 0 0 auto; height: 1px; background: linear-gradient(90deg, transparent, var(--ew-gold) 30%, #fff5dd 50%, var(--ew-gold) 70%, transparent); }
.ew-close-inner { display: grid; justify-items: center; }
.ew-close h2 { max-width: 22ch; }
.ew-close p { margin-top: 18px; color: var(--ew-night-text); }
.ew-close .ew-price { margin-top: 30px; }
.ew-close .ew-price-figure { justify-content: center; }
.ew-close .ew-price-amount { color: var(--ew-gold); }
.ew-close .ew-price-unit, .ew-close .ew-price-terms, .ew-close .ew-price-disclosure { color: var(--ew-night-text); margin-inline: auto; }
.ew-close .ew-price-label { color: var(--ew-gold); }
.ew-payment { margin-top: 28px; display: grid; justify-items: center; gap: 12px; }
.ew-payment p { font-size: 12px; color: #8e877c; }
.ew-close .ns-trustline { justify-content: center; margin-top: 30px !important; }

/* Tablet. */
@media (max-width: 1100px) {
  .ew-hero-grid, .ew-test-grid, .ew-quote-grid, .ew-faq-grid, .ew-ba-grid { grid-template-columns: minmax(0, 1fr); }
  .ew-test-next { grid-column: 1; }
  .ew-samples { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ew-samples li:last-child { grid-column: 1 / -1; }
  .ew-samples li:last-child .ew-sample-site { aspect-ratio: 16 / 8; }
  .ew-plan { grid-template-columns: minmax(0, 1fr); }
  .ew-plan-home::after { top: auto; bottom: -25px; right: auto; left: 28px; width: 0; height: 24px; border-top: 0; border-left: 1.5px solid var(--ew-ink); }
  .ew-plan-pages { margin: 24px 0 0 28px; padding-left: 28px; }
  .ew-plan-pages::before { top: -24px; }
  .ew-plan-pages li::before { left: -29px; width: 28px; }
  .ew-quote-intro { position: static; }
  .ew-run { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .ew-ba-notes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone. */
@media (max-width: 760px) {
  .ew-page { font-size: 16px; }
  .ew-hero { padding-top: calc(88px + 28px); }
  .ew-hero::before { top: 88px; }
  .ew-lead { font-size: 17px; margin-top: 18px; }
  .ew-split-head { grid-template-columns: minmax(0, 1fr); }
  .ew-split-head p { font-size: 16px; }
  .ew-hero .ew-price { margin-top: 22px; padding-top: 16px; }
  .ew-actions { margin-top: 20px; gap: 4px; flex-direction: column; align-items: stretch; }
  .ew-actions .ew-btn-primary { width: 100%; }
  .ew-page .ew-hero .ew-btn-quiet { min-height: 44px; padding: 8px 0; border: 0; text-decoration: underline; text-underline-offset: 4px; justify-content: flex-start; }
  .ew-old-body { grid-template-columns: 96px 1fr; }
  .ew-old-side { font-size: 11px; padding: 10px; }
  .ew-old-main { font-size: 11px; padding: 10px; }
  .ew-new-hero { grid-template-columns: 1fr; }
  .ew-new-photo { min-height: 140px; max-height: 170px; }
  .ew-new-links { display: none; }
  .ew-new-strip { flex-wrap: wrap; justify-content: flex-start; font-size: 11px; }
  .ew-ba-notes { grid-template-columns: minmax(0, 1fr); }
  .ew-test { grid-template-columns: minmax(0, 1fr); }
  .ew-test-result { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 0 20px; align-items: start; }
  .ew-test-key { margin-top: 0; padding-top: 0; border-top: 0; }
  .ew-samples { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: clamp(16px, 4vw, 56px); margin-inline: calc(-1 * clamp(16px, 4vw, 56px)); padding: 4px clamp(16px, 4vw, 56px) 16px; scrollbar-width: thin; }
  .ew-samples li { flex: 0 0 82%; scroll-snap-align: start; }
  .ew-samples li:last-child { grid-column: auto; }
  .ew-samples li:last-child .ew-sample-site { aspect-ratio: 4 / 5.2; }
  .ew-homework { grid-template-columns: minmax(0, 1fr); }
  .ew-plan-pages li { grid-template-columns: minmax(0, 1fr); padding: 14px 16px; }
  .ew-plan-count { grid-row: auto; }
  .ew-plan-pages p:last-child { grid-column: 1; grid-row: auto; margin-top: 6px; }
  .ew-plan-pages { margin-left: 14px; padding-left: 18px; }
  .ew-plan-pages li::before { left: -19px; width: 18px; }
  .ew-plan-home::after { left: 14px; }
  .ew-run { grid-template-columns: minmax(0, 1fr); border-top: 0; border-left: 2px solid var(--ew-ink); margin-left: 7px; row-gap: 28px; }
  .ew-run li { padding: 0 0 0 26px; }
  .ew-run li::before { top: 4px; left: -8px; }
  .ew-quote-cols, .ew-quote-terms { grid-template-columns: minmax(0, 1fr); }
  .ew-quote-terms { gap: 12px; }
  .ew-quote-total { flex-direction: column; align-items: stretch; }
  .ew-quote-total .ew-btn-primary { width: 100%; }
  .ew-ladder { grid-template-columns: minmax(0, 1fr); }
  .ew-rung, .ew-rung + .ew-rung { padding: 24px 0; border-left: 0; }
  .ew-rung + .ew-rung { border-top: 1px solid var(--ew-line); }
}

/* Preview acceptance sheet. */
.ew-acceptance-section { border-top: 1px solid var(--ew-line); background: #ebe5d8; scroll-margin-top: 124px; }
.ew-acceptance-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(30px, 6vw, 80px); align-items: start; }
.ew-acceptance-kicker { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ew-brass); margin-bottom: 20px; }
.ew-acceptance-grid h2 { margin-bottom: 25px; }
.ew-acceptance-grid > div > p:not(.ew-acceptance-kicker) { margin-bottom: 20px; color: var(--ew-muted); }
.ew-acceptance-grid > div > a { font-size: 14px; font-weight: 600; }
.ew-acceptance-sheet { background: var(--ew-sheet); padding: 10px clamp(22px, 3vw, 42px) !important; border-top: 4px solid var(--ew-brass); box-shadow: 0 14px 30px -26px #635842; }
.ew-acceptance-sheet li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; padding: 26px 0; }
.ew-acceptance-sheet li + li { border-top: 1px solid var(--ew-line); }
.ew-acceptance-sheet li > span { font-family: var(--font-serif); font-size: 24px; line-height: 1.2; color: var(--ew-brass); }
.ew-acceptance-sheet h3 { margin-bottom: 10px; }
.ew-acceptance-sheet p { color: var(--ew-muted); font-size: 15px; line-height: 1.7; }
@media (max-width: 760px) {
  .ew-acceptance-grid { grid-template-columns: 1fr; }
}

/* Free-build offer: responsive composition. */
.ew-close .ew-price { width: min(100%, 460px); margin-inline: auto; }
.ew-close .ew-price-for { color: var(--ew-night-text); }
.ew-close .ew-price-build { border-color: var(--ew-night-line); }
.ew-quote .ew-price-amount { font-size: 44px; }
@media (max-width: 1100px) {
  .ew-hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; }
  .ew-page .ew-hero h1 { font-size: clamp(2.8rem, 5.4vw, 4rem); }
  .ew-studio-cover { min-height: 195px; }
  .ew-studio-nav { padding: 15px 12px; }
  .ew-studio-nav > span:last-child { display: none; }
  .ew-studio-cover-copy { padding-inline: 14px; }
  .ew-studio-cover-copy p { font-size: 28px; }
  .ew-studio-bottom > span:last-child { display: none; }
  .ew-studio-phone { width: 41%; }
  .ew-studio-phone p { font-size: 25px; }
  .ew-studio-signoff { font-size: 26px; }
}
@media (max-width: 760px) {
  .ew-hero { padding-block: 107px 48px; }
  .ew-hero-grid { grid-template-columns: minmax(0, 1fr); gap: 38px; }
  .ew-page .ew-hero h1 { font-size: clamp(2.7rem, 10.7vw, 4.8rem); line-height: 1; }
  .ew-page .ew-hero .h1-kicker { margin-bottom: 19px; font-size: 10px; }
  .ew-lead { margin-top: 19px; font-size: 16px; line-height: 1.65; }
  .ew-hero .ew-price { margin-top: 22px; padding-top: 17px; }
  .ew-price-pair { gap: 17px; grid-template-columns: .8fr 1.2fr; }
  .ew-price-build { padding-right: 14px; }
  .ew-hero .ew-price-amount, .ew-price-amount { font-size: 44px; }
  .ew-price-unit { font-size: 14px; }
  .ew-price-for { font-size: 12px; }
  .ew-hero .ew-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; }
  .ew-hero .ew-btn-primary { width: 100%; }
  .ew-page .ew-hero .ew-btn-quiet { min-height: 44px; padding: 8px 0; font-size: 14px; }
  .ew-start-note { margin-top: 1px; }
  .ew-hero .ns-trustline { margin-top: 16px !important; }
  .ew-studio { width: min(100%, 540px); margin-inline: auto; padding-top: 0; }
  .ew-studio-stage { padding-bottom: 108px; padding-right: 16px; }
  .ew-studio-mast { margin-bottom: 22px; }
  .ew-studio-cover-copy p { font-size: clamp(24px, 6.5vw, 38px); }
  .ew-studio-phone { max-width: 165px; }
  .ew-studio-phone img { height: 87px; }
  .ew-studio-phone p { font-size: 26px; }
  .ew-studio-signoff { bottom: 15px; font-size: 29px; }
  .ew-studio figcaption { margin-top: 22px; flex-wrap: wrap; }
  .ew-why-grid, .ew-care-ledger, .ew-care-offer { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .ew-why-belief { margin-top: 20px; max-width: none; }
  .ew-why-letter { font-size: 16px; }
  .ew-care-monthly { padding: 22px 0 0; border-left: 0; }
  .ew-care-offer { gap: 25px; }
  .ew-care-offer .ew-price { margin-top: 15px; }
  .ew-gallery-next { flex-direction: column; align-items: start; }
}
