/* Downsizing (/downsizing). Loads after site.css. */

/* ---------- Hero + planner ----------
   A Facebook ad lands here, so the first question is in the first screen:
   short copy on the left, the planner card on the right (below the copy on
   phones). The table photo sits faded into the navy behind both. */
.hero-dz .hero-card{ height:auto; min-height:min(100svh, 860px); display:flex; flex-direction:column; justify-content:center; align-items:stretch; text-align:left;
  padding:calc(var(--hd-h) + clamp(20px, 4vh, 48px)) max(24px, calc((100vw - 1320px) / 2 + 24px)) clamp(48px, 7vh, 88px);
  background:linear-gradient(160deg, #16396A 0%, #0B2446 45%, #071931 100%); }
.hero-dz .hero-img{ object-position:0% 35%; opacity:.5; }
.hero-dz .hero-shade{ background:
  linear-gradient(90deg, rgba(7,25,49,.55) 0%, rgba(7,25,49,.75) 40%, rgba(7,25,49,.92) 62%, #071931 100%),
  linear-gradient(180deg, rgba(11,36,70,.9) 0%, rgba(11,36,70,0) 30%); }
.dz-grid{ position:relative; display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 6fr); gap:clamp(28px, 5vw, 72px); align-items:center; }
.dz-body{ align-items:flex-start; max-width:560px; }
.dz-title{ font-size:clamp(2.3rem, 4vw, 3.8rem); font-weight:500; letter-spacing:-0.035em; line-height:1.04; }
.dz-title .ln{ display:block; overflow:hidden; padding-bottom:.08em; margin-bottom:-.08em; }
.dz-title .ln > span{ display:inline-block; animation:lineUp 1.1s var(--ease) both; animation-delay:calc(.15s + var(--i, 0) * .1s); }
.dz-title em{ font-style:normal; color:var(--accent-tint); }
.dz-lede{ margin-top:18px; font-size:clamp(16px, 1.3vw, 18.5px); line-height:1.6; color:rgba(255,255,255,.88); max-width:44ch; }
.dz-proof{ display:inline-flex; align-items:center; gap:12px; margin-top:26px; padding:8px 18px 8px 8px; border-radius:999px; background:rgba(255,255,255,.08); box-shadow:inset 0 0 0 1px rgba(255,255,255,.14); }
.dz-faces{ display:flex; }
.dz-faces img{ width:42px; height:42px; border-radius:50%; object-fit:cover; border:2px solid #0B2446; }
.dz-faces img + img{ margin-left:-12px; }
.dz-proof > span:last-child{ display:flex; flex-direction:column; line-height:1.25; }
.dz-proof b{ display:inline-flex; align-items:center; gap:6px; font-size:14.5px; font-weight:600; }
.dz-proof small{ font-size:12.5px; color:rgba(255,255,255,.7); }
.dz-stars{ display:inline-flex; gap:1px; color:var(--accent); font-size:12px; }

.dz-card{ position:relative; overflow:hidden; padding:clamp(28px, 3.4vw, 44px); border-radius:var(--r-sec); background:#fff; color:var(--ink); min-height:520px; animation:riseBig .9s var(--ease) .25s both;
  box-shadow:0 40px 80px -48px rgba(7,25,49,.45), 0 0 0 1px rgba(7,25,49,.06); }
.dz-bar{ position:absolute; left:0; right:0; top:0; height:4px; background:var(--panel); }
.dz-bar span{ display:block; height:100%; width:0; background:linear-gradient(90deg, var(--accent), var(--accent-tint)); transition:width .5s var(--ease); }
.dz-step{ display:none; }
.dz-step.is-on{ display:block; animation:dzIn .45s var(--ease) both; }
@keyframes dzIn{ from{ opacity:0; transform:translateX(12px); } to{ opacity:1; transform:none; } }
.dz-count{ font-size:13px; font-weight:600; letter-spacing:.06em; text-transform:uppercase; color:var(--accent-text); }
.dz-step h3{ margin-top:10px; font-size:clamp(1.6rem, 2.6vw, 2.2rem); font-weight:500; letter-spacing:-0.03em; line-height:1.1; text-wrap:balance; }
.dz-sub{ margin-top:10px; font-size:15.5px; line-height:1.6; color:var(--muted); }
.dz-opts{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:26px; }
.dz-opt{ display:flex; align-items:center; gap:12px; min-height:72px; padding:12px 16px; border-radius:var(--r-card); background:var(--panel); text-align:left; font-size:15.5px; font-weight:500; line-height:1.3;
  transition:background-color .2s ease, color .2s ease, box-shadow .2s ease, transform .25s var(--ease); }
.dz-opt:hover{ background:#fff; box-shadow:0 0 0 1px var(--ink); transform:translateY(-2px); }
.dz-ric{ width:42px; height:42px; flex:none; border-radius:50%; display:grid; place-items:center; background:#fff; color:var(--accent-text); font-size:20px; transition:background-color .2s ease; }
.dz-opt:hover .dz-ric{ background:var(--accent-soft); }
.dz-opt.is-picked{ background:var(--navy-grad); color:#fff; box-shadow:none; }
.dz-opt.is-picked .dz-ric{ background:rgba(255,255,255,.14); color:var(--accent-tint); }
.dz-back{ display:inline-flex; align-items:center; gap:6px; min-height:44px; margin-top:18px; font-size:15px; font-weight:500; color:var(--muted); }
.dz-back:hover{ color:var(--ink); }
.dz-form{ display:grid; gap:10px; margin-top:24px; }
.dz-form .field-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.dz-form .field{ width:100%; background:var(--panel); border-color:transparent; }
.dz-form .field:focus{ background:#fff; }
.dz-form textarea.field{ min-height:92px; }
.dz-submit{ width:100%; height:58px; margin-top:6px; border-radius:999px; font-size:16px; font-weight:600; }
.dz-micro{ margin-top:4px; font-size:13px; color:var(--muted); text-align:center; }
.dz-micro a{ color:var(--ink); font-weight:600; }
.dz-done.show{ display:flex; flex-direction:column; align-items:center; gap:0; margin-top:24px; padding:32px 12px; background:var(--panel); color:var(--ink); text-align:center; }
.dz-ring{ width:60px; height:60px; border-radius:50%; display:grid; place-items:center; background:var(--accent); font-size:26px; }
.dz-done h3{ margin-top:16px; font-size:1.6rem; }
.dz-done p{ margin-top:10px; max-width:44ch; font-size:15.5px; line-height:1.6; color:var(--muted); }
.dz-done a{ color:var(--ink); font-weight:600; }

/* ---------- What the plan covers ---------- */
.dz-head{ max-width:720px; margin:0 auto clamp(32px, 4vw, 48px); text-align:center; }
.dz-head .h2{ text-wrap:balance; }
.dz-head > p:last-child{ margin-top:14px; font-size:16.5px; line-height:1.6; color:var(--muted); }
.dz-cards{ display:grid; grid-template-columns:repeat(4, 1fr); gap:14px; }
.dz-c{ padding:28px 24px; border-radius:var(--r-card); background:var(--panel); }
.dz-c i{ width:50px; height:50px; border-radius:50%; display:grid; place-items:center; background:var(--navy-grad); color:#fff; font-size:23px; }
.dz-c h3{ margin-top:20px; font-size:19px; font-weight:500; letter-spacing:-0.02em; line-height:1.25; }
.dz-c p{ margin-top:8px; font-size:15px; line-height:1.6; color:var(--muted); }
.dz-promise{ display:flex; align-items:center; gap:16px; max-width:820px; margin:clamp(28px, 4vw, 44px) auto 0; padding:20px 24px; border-radius:var(--r-card); background:var(--accent-soft); }
.dz-promise i{ font-size:30px; color:var(--accent-text); flex:none; }
.dz-promise p{ font-size:16px; line-height:1.6; color:var(--ink-2); }
.dz-promise b{ color:var(--ink); }

@media (max-width:1023px){
  .dz-grid{ grid-template-columns:1fr; gap:24px; }
  .dz-body{ max-width:none; }
  .dz-cards{ grid-template-columns:1fr 1fr; }
}
@media (max-width:760px){
  .hero-dz .hero-card{ min-height:0; padding:calc(var(--hd-h) + 14px) 12px 28px; border-radius:0 0 24px 24px; }
  .hero-dz .hero-img{ object-position:50% 20%; opacity:.4; }
  .hero-dz .hero-shade{ background:linear-gradient(180deg, rgba(7,25,49,.7) 0%, rgba(7,25,49,.92) 45%, #071931 100%); }
  .dz-body{ padding:0 6px; }
  .dz-title{ font-size:clamp(1.8rem, 8vw, 2.2rem); }
  .dz-lede{ margin-top:10px; font-size:15px; }
  .dz-sub{ display:none; }
  .dz-done p, .dz-step:last-child .dz-sub{ display:block; }
  .dz-proof{ display:none; }
  .dz-card{ padding:22px 16px; border-radius:22px; min-height:0; }
  .dz-step h3{ font-size:1.45rem; }
  .dz-opts{ grid-template-columns:1fr; gap:8px; margin-top:18px; }
  .dz-opt{ min-height:56px; padding:8px 12px; }
  .dz-ric{ width:38px; height:38px; font-size:18px; }
  .dz-form .field-row{ grid-template-columns:1fr; }
  .dz-cards{ grid-template-columns:1fr; }
  .dz-promise{ flex-direction:column; align-items:flex-start; }
}
@media (prefers-reduced-motion:reduce){ .dz-step.is-on{ animation:none; } }
@media (max-width:760px){
  /* Phones: Ryan and Paul in the top of the hero (like the contact page),
     their photo fading into the navy, centred copy below, then the planner. */
  .hero-dz .hero-card{ padding:calc(var(--hd-h) + min(84vw, 340px)) var(--gut) 36px; background:#071931; }
  .hero-dz .hero-media{ inset:0 0 auto 0; height:calc(var(--hd-h) + min(108vw, 440px)); transform:none !important;
    -webkit-mask-image:linear-gradient(180deg, #000 58%, transparent 100%); mask-image:linear-gradient(180deg, #000 58%, transparent 100%); }
  .hero-dz .hero-img{ opacity:1; object-position:50% 0%; }
  .hero-dz .hero-shade{ background:linear-gradient(180deg, rgba(7,25,49,.4) 0px, rgba(7,25,49,0) 120px); }
  .dz-body{ align-items:center; text-align:center; padding:0; }
  .dz-title{ font-size:clamp(2rem, 9vw, 2.4rem); text-shadow:0 2px 24px rgba(7,25,49,.6); }
  .dz-lede{ margin:12px auto 0; }
  .dz-grid{ gap:28px; }
}

/* ---------- Step by step: six labelled segments, arrows on the answers ---------- */
.dz-bar{ display:none; }
.dz-segs{ list-style:none; display:grid; grid-template-columns:repeat(6, 1fr); gap:6px; margin:0 0 22px; padding:0; }
.dz-segs li{ display:flex; flex-direction:column; gap:7px; }
.dz-segs span{ height:5px; border-radius:999px; background:var(--panel-2, #E4E9F0); transition:background .35s ease; }
.dz-segs em{ font-style:normal; font-size:12px; font-weight:500; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.dz-segs li.is-done span{ background:var(--accent); }
.dz-segs li.is-on span{ background:var(--navy-grad); }
.dz-segs li.is-on em{ color:var(--ink); font-weight:600; }
.dz-count{ display:none; }
.dz-opt{ position:relative; padding-right:44px; }
.dz-opt::after{ content:"\e06c"; font-family:"Phosphor-Light"; position:absolute; right:16px; top:50%; margin-top:-9px; font-size:18px; color:var(--muted); opacity:.55; transition:transform .25s var(--ease), opacity .25s ease, color .25s ease; }
.dz-opt:hover::after{ opacity:1; color:var(--ink); transform:translateX(3px); }
.dz-opt.is-picked::after{ color:#fff; opacity:1; }
.dz-hint{ display:flex; align-items:center; gap:6px; margin-top:14px; font-size:13.5px; color:var(--muted); }
.dz-hint i{ font-size:17px; color:var(--accent-text); }
@media (max-width:760px){
  .dz-segs{ gap:4px; margin-bottom:16px; }
  .dz-segs em{ display:none; }
  .dz-segs li.is-on em{ display:none; }
  .dz-count{ display:block; }
}

/* ---------- "Just have a question?" ---------- */
.dz-ask-link{ display:inline-flex; align-items:center; gap:8px; margin-top:26px; margin-left:14px; height:48px; padding:0 18px; border-radius:999px; color:#fff; font-size:15px; font-weight:500;
  border:1px solid rgba(255,255,255,.26); transition:background-color .25s ease; vertical-align:top; }
.dz-ask-link i{ font-size:18px; color:var(--accent-tint); }
.dz-ask-link:hover{ background:rgba(255,255,255,.1); }
.dz-body{ flex-direction:row; flex-wrap:wrap; align-items:center; }
.dz-body > .dz-title, .dz-body > .dz-lede{ flex-basis:100%; }
.dz-ask-sec{ scroll-margin-top:90px; }
.dz-ask{ display:grid; grid-template-columns:minmax(0, 5fr) minmax(0, 6fr); gap:clamp(28px, 5vw, 72px); align-items:center; max-width:1100px; margin:0 auto;
  padding:clamp(28px, 4vw, 56px); border-radius:var(--r-sec); background:var(--panel); }
.dz-ask-faces img{ width:52px; height:52px; border-color:var(--panel); }
.dz-ask-copy .h2{ margin-top:18px; }
.dz-ask-copy > p{ margin-top:14px; font-size:16.5px; line-height:1.6; color:var(--muted); }
.dz-ask-tel{ display:inline-flex; align-items:center; gap:8px; margin-top:20px; font-size:16px; font-weight:600; }
.dz-ask-tel i{ font-size:19px; color:var(--accent-text); }
.dz-ask-plan{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; margin-top:12px; font-size:14.5px; color:var(--muted); }
.dz-ask-plan b{ color:var(--ink); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.dz-ask-card{ padding:clamp(20px, 2.6vw, 30px); border-radius:var(--r-card); background:#fff; box-shadow:0 30px 60px -40px rgba(7,25,49,.4); }
.dz-ask-form{ display:grid; gap:10px; }
.dz-ask-form .field-row{ display:grid; grid-template-columns:1fr 1fr; gap:10px; }
.dz-ask-form .field{ width:100%; background:var(--panel); border-color:transparent; }
.dz-ask-form .field:focus{ background:#fff; }
.dz-ask-form textarea.field{ min-height:120px; }
.dz-ask-btn{ width:100%; height:54px; border-radius:999px; font-weight:600; }
.dz-ask-micro{ text-align:center; font-size:13px; color:var(--muted); }
@media (max-width:1023px){ .dz-ask{ grid-template-columns:1fr; } }
@media (max-width:760px){
  .dz-body{ justify-content:center; }
  .dz-ask-link{ margin:16px 0 0; }
  .dz-ask{ padding:24px 18px; border-radius:24px; text-align:center; }
  .dz-ask-copy .dz-faces{ justify-content:center; }
  .dz-ask-plan{ justify-content:center; }
  .dz-ask-form .field-row{ grid-template-columns:1fr; }
}
@media (max-width:760px){
  /* Secondary on phones: a light text link, so the planner stays the main action */
  .dz-ask-link{ height:auto; padding:6px 4px; border:0; font-size:14.5px; color:rgba(255,255,255,.85); text-decoration:underline; text-underline-offset:4px; }
}
@media (max-width:760px){
  /* Shorter photo band (faces kept), so the planner sits higher on the screen */
  .hero-dz .hero-card{ padding-top:calc(var(--hd-h) + min(66vw, 270px)); }
  .hero-dz .hero-media{ height:calc(var(--hd-h) + min(92vw, 380px)); }
  .hero-dz .hero-img{ object-position:50% 12%; }
  /* The question link: bigger, with room to tap */
  .dz-ask-link{ margin:18px 0 6px; padding:12px 18px; font-size:16px; font-weight:600; text-decoration:none; border:1px solid rgba(255,255,255,.28); height:auto; }
  .dz-ask-link i{ font-size:20px; }
  .dz-grid{ gap:22px; }
}
