/* More room for the controls, fewer competing labels. */
#time-calculator .story-content>h2{margin-bottom:28px;max-width:24ch}
#reclaim-calculator.time-tool{display:grid;grid-template-columns:1fr 1fr;gap:0;border:1px solid #adc7ce;border-radius:24px;overflow:hidden;background:#fbfefe;color:#183440;box-shadow:0 18px 45px #183b4912}
#reclaim-calculator.time-tool[hidden]{display:none!important}
.time-controls{padding:28px 32px;display:flex;flex-direction:column;gap:24px}
.time-currency{display:flex;justify-content:flex-end;align-items:center;gap:10px;font-size:13px;color:#365763}
.time-currency select{font:inherit;padding:6px 10px;border:1px solid #a8c3cc;border-radius:8px;color:#173846;background:#fff}
.time-field{padding:0}
.time-field-top{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:15px}
.time-field-top>label{font-size:15px;line-height:1.45;max-width:70%;color:#183440}
.time-field-top>div{display:flex;align-items:center;gap:8px}
.time-field-top input{width:70px;min-width:0;padding:8px;font:600 19px/1.2 'DM Sans',sans-serif;border:1px solid #b2cbd2;border-radius:9px;background:#fff;color:#183440}
.time-field-top span{font-size:11px;color:#365763;min-width:42px}
.time-range{display:block;width:100%;height:6px;margin:0;appearance:none;-webkit-appearance:none;border:0;border-radius:10px;background:linear-gradient(to right,#337681 var(--fill),#d9e7ea var(--fill));cursor:pointer}
.time-range::-webkit-slider-thumb{appearance:none;width:20px;height:20px;border-radius:50%;background:#286470;border:3px solid #fbfefe;box-shadow:0 0 0 1px #80a8b3}
.time-range::-moz-range-thumb{width:16px;height:16px;border-radius:50%;background:#286470;border:3px solid #fbfefe}
.time-results{position:relative;padding:36px 34px;background:linear-gradient(135deg,#e2eff1,#f2f8f8);border-left:1px solid #b6cdd1;display:flex;flex-direction:column;justify-content:center}
.time-reset{position:absolute;top:14px;right:16px;width:34px;height:34px;display:grid;place-items:center;padding:0;border:0;background:transparent;border-radius:50%;font-size:25px;color:#285f6c;cursor:pointer}
.time-reset:hover{background:#d2e5e9}.time-reset:focus-visible,.time-range:focus-visible{outline:3px solid #6295a5;outline-offset:4px}
.time-up-to{font-size:18px;color:#284e5b;margin:0 0 18px}
.time-period{display:grid;grid-template-columns:1fr 1fr;gap:24px;align-items:baseline;padding:19px 0;border-top:1px solid #b7cfd6}
.time-period p{display:flex;flex-direction:column;gap:6px;margin:0}
.time-period strong{font:400 clamp(34px,3.9vw,56px)/1 Georgia,serif;color:#183b49;letter-spacing:-.035em}
.time-period span{font-size:13px;color:#365763;line-height:1.4}
.time-period .time-money strong{font-size:clamp(25px,2.8vw,38px)}
.time-shifts{font-size:13px;color:#365763;margin:22px 0 0;padding-top:16px;border-top:1px solid #b7cfd6}
.time-contact{margin-top:22px;display:inline-flex}
.capture-poster{position:relative;overflow:hidden;border-radius:35px 9px 35px 9px;background:#173b49;min-width:0}
.capture-poster img{display:block;width:100%;height:clamp(330px,54vh,620px);object-fit:cover;object-position:42% center}
.capture-poster>span{position:absolute;bottom:18px;left:18px;right:18px;padding:11px 14px;background:#102d3eeb;border:1px solid #b3d0d84d;border-radius:9px;color:#fff;font-size:12px;text-align:center}
.capture-file-tray{padding:24px;border:1px solid #b6cdd1;border-radius:24px;background:linear-gradient(145deg,#e1edf0,#f9fdfd)}
.capture-file-tray>div{display:flex;align-items:center;gap:16px;border-bottom:1px solid #b6cdd1;padding:18px 4px}
.capture-file-tray>div:last-child{border:0}
.capture-file-tray>div>span{font-size:26px;color:#3d7482}
.capture-file-tray p{display:grid;gap:6px;margin:0}
.capture-file-tray strong{font-size:15px;color:#183b49}
.capture-file-tray small{font-size:12px;color:#405e6a;line-height:1.5}
.capture-file-tray .capture-file-top{padding-top:0}
.story-interior .interior-grid.content-only{grid-template-columns:1fr}
.story-interior .content-only>div{max-width:860px}
.story-interior .interior-hero .story-surface{color:#183440}
.story-interior .interior-hero p,.story-interior .interior-hero h1{color:#183440}
.story-interior .interior-hero h1 em{color:#326e7c}
.story-interior .photo-quote,.story-interior .photo-quote p,.story-interior .photo-quote h2{color:#183440}
.story-interior .sector-image{color:#fff}
@media(min-width:1024px) and (max-height:800px){
 .time-controls{padding:22px 26px;gap:20px}
 .time-field-top{margin-bottom:12px}.time-field-top>label{font-size:14px}
 .time-results{padding:26px}.time-period{padding:16px 0}
 #time-calculator .story-content>h2{margin-bottom:22px}
}
@media(max-width:760px){
 #reclaim-calculator.time-tool{grid-template-columns:1fr}
 .time-controls{padding:24px;gap:26px}
 .time-results{padding:32px 24px 25px;border-left:0;border-top:1px solid #b6cdd1}
 .time-field-top>label{font-size:14px}
 .time-field-top input{width:62px;font-size:17px}
 .time-field-top span{font-size:10px;min-width:37px}
 .time-period strong{font-size:42px}
 .time-period .time-money strong{font-size:30px}
 .capture-poster img{height:350px}
}
.story-interior .photo-quote .story-surface{background:var(--satin-light)!important}
.story-interior .photo-quote:before,.story-interior .photo-quote .story-surface:before{display:none}

/* Overview */
#story-overview:has(.hero-word) .ph-copy h1 { margin-bottom: 8px; }
#photo-hero-title > span, #photo-hero-title > .hero-word { display: block; }
#photo-hero-title > .hero-word { white-space: nowrap; color: #285e69; }
.ph-copy:has(.hero-word) { position: relative; }
.ph-copy .hero-signoff {
  display: block; font: 600 clamp(17px,1.6vw,23px)/1.35 'DM Sans',sans-serif;
  margin: 6px 0 18px; color: #234651;
}
.story-index-link > svg { width: 19px; height: 19px; flex-shrink: 0; }
#what-we-do .road-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.road-heading h2, .faq-layout h2 { font: 400 clamp(34px,3.7vw,56px)/1.05 Georgia,serif; letter-spacing: -.035em; margin: 0 0 10px; color: #193f4a; }
.road-heading p { margin: 0; font-size: 16px; line-height: 1.5; color: #365763; }
.road-heading .text-link, .road-systems { font-size: 14px; color: #245862; }
.roadmap {
  list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 15px; margin: 0; padding: 0; counter-reset: step;
}
.road-card { min-width: 0; background: #fff; border: 1px solid #abc6cb; border-radius: 15px; overflow: hidden; }
.road-art {
  min-height: clamp(70px,9.5vh,103px); padding: 10px 12px; display: grid; place-items: center;
  color: #214b56; background: linear-gradient(125deg,#e1eff0,#f3f7f5);
  border-bottom: 1px solid #d1e1e1; font: 600 12px/1.3 'DM Sans',sans-serif;
}
.road-art > div { min-width: min(90%,155px); max-width: 100%; }
.road-body { padding: 13px 15px 16px; }
.road-index { float: left; display: grid; place-items: center; width: 26px; height: 26px; margin-right: 8px; border-radius: 50%; background: #214e5b; color: white; font: 700 12px/1 'DM Sans',sans-serif; }
.road-card h3 { margin: 0 0 9px; min-height: 26px; font: 650 clamp(16px,1.32vw,20px)/1.35 'DM Sans',sans-serif; color: #173b48; }
.road-card p { margin: 0; clear: both; font: 400 clamp(14px,1.03vw,16px)/1.47 'DM Sans',sans-serif; color: #324f58; }
.road-systems { margin-top: 12px; }
.mini-rec, .mini-approve, .mini-library, .mini-dashboard {
  background: #fff; border: 1px solid #b2c9c9; border-radius: 8px; padding: 9px 12px;
}
.mini-rec, .mini-approve { display: flex; align-items: center; justify-content: center; gap: 4px; }
.mini-rec b { color: #b45142; margin-right: 5px; }.mini-rec small { margin-left: 6px; }
.mini-rec i { width: 4px; height: 12px; border-radius: 3px; background: #43828a; }
.mini-rec i:nth-of-type(3n) { height: 27px; }.mini-rec i:nth-of-type(even) { height: 19px; }
.mini-files, .mini-compare, .mini-chat, .mini-draft, .mini-library { display: grid; gap: 4px; }
.mini-files b, .mini-compare b, .mini-chat b { padding: 3px 9px; background: #fff; border: 1px solid #bfd3d4; border-radius: 5px; font-size: 11px; }
.mini-files b:last-child { margin-left: 16px; }.mini-compare i { font-weight: 400; font-style: normal; margin-left: 6px; }
.mini-chat b:first-child { justify-self: start; }.mini-chat b:last-child { justify-self: end; background: #d1e7e1; }
.mini-draft { background: #fff; border-left: 3px solid #5c8e91; padding: 5px 12px; }
.mini-draft i,.mini-library span,.mini-library i,.mini-approve small { font: 500 11px/1.25 'DM Sans',sans-serif; }
.mini-approve b { display: grid; place-items: center; border-radius: 50%; height: 30px; width: 30px; background: #d6ebe0; color: #24643f; font-size: 18px; margin-right: 5px; }
.mini-approve small,.mini-dashboard b { display: block; }
.mini-dashboard { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.mini-dashboard i { display: inline-block; width: 9px; height: 9px; margin: 5px 3px 0 0; background: #59919a; }
.mini-dashboard i:nth-of-type(2){height:16px}.mini-dashboard i:nth-of-type(3){height:12px}.mini-dashboard i:nth-of-type(4){height:20px}
.mini-dashboard span { border: 1px solid #bfd3d4; background: #e6f1ed; border-radius: 4px; padding: 4px; font-size: 10px; }
.road-card:nth-last-child(-n+2) .road-art { background: linear-gradient(140deg,#d4e6ea,#e5edee); }
#common-questions .faq-layout { display: grid; grid-template-columns: minmax(200px,.55fr) minmax(0,1.4fr); align-items: start; gap: 5%; }
.faq-items { border-top: 1px solid #9cb9bf; }
.faq-items details { padding: 0 3px; border-bottom: 1px solid #adc5ca; }
.faq-items summary { display: flex; justify-content: space-between; align-items: center; column-gap: 16px; min-height: 62px; padding: 13px 2px; list-style: none; cursor: pointer; font: 600 clamp(16px,1.45vw,21px)/1.35 'DM Sans',sans-serif; color: #183e4b; }
.faq-items summary::-webkit-details-marker { display: none; }
.faq-items summary::after { content: '+'; font-size: 23px; color:#346875; }
.faq-items details[open] summary::after { content: '−'; }
.faq-items details p { margin: 0 0 20px; max-width: 66ch; font-size: 16px; line-height: 1.6; color: #294953; }
.faq-items a { color: #1b606d; text-decoration: underline; text-underline-offset: 3px; }
#time-calculator .story-content > h2 { max-width: none; text-align: center; line-height: 1.06; margin: 0 auto clamp(18px,3vh,32px); }
#calculator-title span { display: block; }
#reclaim-calculator .time-controls { padding: clamp(22px,2.8vw,42px); gap: clamp(23px,3.2vh,34px); }
#reclaim-calculator .time-field-top { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 12px; }
#reclaim-calculator .time-field-top > label { max-width: none; font-size: clamp(16px,1.3vw,20px); font-weight: 650; line-height: 1.35; color: #173846; }
#reclaim-calculator .time-field-top > div { display: grid; grid-template-columns: 6.25rem 4.15rem; align-items: center; gap: 8px; }
#reclaim-calculator .time-field-top input { width: 100%; box-sizing: border-box; appearance: textfield; -moz-appearance: textfield; padding: 9px 8px; font-size: 20px; font-variant-numeric: tabular-nums; }
#reclaim-calculator input[type=number]::-webkit-inner-spin-button { -webkit-appearance: none; }
#reclaim-calculator .time-field-top span { font-size: 13px; font-weight: 550; color: #3c5864; }
#reclaim-calculator .time-period { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
#reclaim-calculator .time-period p { min-width: 0; }
#reclaim-calculator .time-period span, #reclaim-calculator .time-shifts { font-size: 14px; color: #2f505b; }
#reclaim-calculator .time-reset { z-index: 1; }
#reclaim-calculator .time-results { container-type: inline-size; }
#reclaim-calculator .time-period strong { font-size: clamp(20px,8.5cqi,55px); }
#reclaim-calculator .time-period .time-money strong { font-size: clamp(17px,6.3cqi,42px); }
#story-contact .story-surface { background: var(--satin-light); color: #183b49; }
#story-contact .merge-contact h2, #story-contact .steps-grid h3 { color: #183b49 !important; }
#story-contact .merge-contact p, #story-contact .steps-grid > div > span { color: #355560 !important; }
#story-contact .steps-grid > div { background: #faffff; padding: 18px; border: 1px solid #bdd1d6; border-radius: 12px; }
#story-contact .merge-contact > .btn { background: #204c5b; color: white; }
.sector-image:has(.industry-sample)::after { display: none; }
.sector-image .industry-sample { position: relative; z-index: 2; width: min(90%,420px); margin: auto; padding: clamp(16px,3vw,32px); background: #153c48; border: 1px solid #81a6ae; border-radius: 14px; color: #fff; }
.industry-sample figcaption { color: #fff; font: 500 26px/1.25 Georgia,serif; }
.industry-sample dl { margin: 12px 0 0; }.industry-sample dt { font-weight: 650; color: #cce5e4; }.industry-sample dd { margin: 2px 0 10px; color:#fff; }
@media (min-width:1024px) and (max-height:760px) {
  #what-we-do .story-surface { padding-block: 18px; }
  #what-we-do .road-heading { margin-bottom: 12px; }
  .roadmap { gap: 10px; }.road-art { min-height: 60px; padding-block: 5px; }.road-body { padding: 10px 12px; }
  #reclaim-calculator .time-controls { gap: 20px; padding-block: 22px; }
}
@media (max-width:1023px) {
  .roadmap { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #what-we-do .road-heading { align-items: start; flex-direction: column; gap: 10px; }
  #common-questions .faq-layout { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width:900px) and (min-width:601px) {
  #story-overview .ph-copy:has(.hero-word) { display: block; }
}
@media (max-width:760px) {
  #reclaim-calculator .time-field-top > div { grid-template-columns: 4.8rem 3.7rem; gap: 5px; }
  #reclaim-calculator .time-field-top span { font-size: 12px; }
  #reclaim-calculator .time-period strong { font-size: clamp(22px,9cqi,42px); }
  #reclaim-calculator .time-period .time-money strong { font-size: clamp(16px,6.5cqi,32px); }
}
@media (max-width:600px) {
  #story-overview .ph-copy .hero-signoff,#story-overview .ph-copy .ph-offer { display: block; }
  #story-overview .ph-copy .ph-offer { font-size: 15px; line-height: 1.5; }
  .roadmap { grid-template-columns: 1fr; gap: 12px; }
  .road-card { display: grid; grid-template-columns: minmax(100px,32%) 1fr; }
  .road-art { padding: 7px; border: 0; border-right: 1px solid #d1e1e1; }
  .road-art > div { min-width: 0; }.road-body { padding: 14px 12px; }
  .mini-dashboard { flex-wrap: wrap; }.mini-rec { flex-wrap: wrap; gap: 2px; padding: 6px; }
  .mini-rec small { margin-left: 2px; }.mini-chat b,.mini-compare b { padding: 3px 5px; }
  #time-calculator .story-content > h2 { font-size: clamp(27px,7vw,38px); }
  #reclaim-calculator .time-controls { padding-inline: 15px; }
}
.ph-copy .hero-signoff { text-wrap: balance; }

#photo-hero-title > span { white-space: nowrap; }
#story-overview .ph-copy .hero-signoff {
  font-size: clamp(21px, 1.95vw, 30px);
  line-height: 1.22;
  color: #234651;
}
#solutions .training-photo { position: relative; overflow: hidden; }
#solutions .training-photo img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 44%;
}
#common-questions summary > sonaway-motion > sonaway-sheen::after {
  opacity: .22;
  animation-duration: 19s;
  animation-name: faq-sweep;
}
@keyframes faq-sweep {
  0%, 69% { transform: translateX(-80%) skewX(-18deg); }
  94%, 100% { transform: translateX(410%) skewX(-18deg); }
}

/* The order in the markup stays sequential for readers and small screens. */
.roadmap { --road-gap: clamp(20px, 1.8vw, 32px); gap: var(--road-gap); }
.road-card { position: relative; overflow: visible; }
.road-art { border-radius: 14px 14px 0 0; }
.road-card:not(:last-child)::after {
  content: ''; position: absolute; z-index: 1; pointer-events: none;
  width: var(--road-gap); height: 12px; top: 50%; left: calc(100% + 1px);
  background: #427581; transform: translateY(-50%);
  clip-path: polygon(0 39%, 72% 39%, 72% 8%, 100% 50%, 72% 92%, 72% 61%, 0 61%);
}
@media (min-width: 1024px) {
  .road-card:nth-child(5) { grid-area: 2 / 4; }
  .road-card:nth-child(6) { grid-area: 2 / 3; }
  .road-card:nth-child(7) { grid-area: 2 / 2; }
  .road-card:nth-child(8) { grid-area: 2 / 1; }
  .road-card:nth-child(n+5):not(:last-child)::after {
    left: auto; right: calc(100% + 1px); transform: translateY(-50%) rotate(180deg);
  }
  .road-card:nth-child(4)::after {
    left: 50%; top: calc(100% + 1px); transform: translateX(-50%); width: 12px; height: var(--road-gap);
    clip-path: polygon(40% 0,60% 0,60% 72%,95% 72%,50% 100%,5% 72%,40% 72%);
  }
}
@media (min-width: 601px) and (max-width: 1023px) {
  .road-card:nth-child(3) { grid-area: 2 / 2; }
  .road-card:nth-child(4) { grid-area: 2 / 1; }
  .road-card:nth-child(7) { grid-area: 4 / 2; }
  .road-card:nth-child(8) { grid-area: 4 / 1; }
  .road-card:nth-child(4n+3)::after {
    left: auto; right: calc(100% + 1px); transform: translateY(-50%) rotate(180deg);
  }
  .road-card:nth-child(even):not(:last-child)::after {
    left: 50%; top: calc(100% + 1px); transform: translateX(-50%); width: 12px; height: var(--road-gap);
    clip-path: polygon(40% 0,60% 0,60% 72%,95% 72%,50% 100%,5% 72%,40% 72%);
  }
}
@media (max-width: 600px) {
  .road-art { border-radius: 14px 0 0 14px; }
  .road-card:not(:last-child)::after {
    left: 50%; top: calc(100% + 1px); transform: translateX(-50%); width: 12px; height: var(--road-gap);
    clip-path: polygon(40% 0,60% 0,60% 72%,95% 72%,50% 100%,5% 72%,40% 72%);
  }
}
.capture-steps {
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px;
  list-style: none; counter-reset: capture-step; margin: 0; padding: 0;
}
.capture-steps > li {
  counter-increment: capture-step; padding: clamp(16px,1.8vw,26px);
  border: 1px solid #b6cdd1; border-radius: 16px; background: #fbfefe;
}
.capture-steps > li::before {
  content: counter(capture-step); display: grid; place-items: center; width: 27px; height: 27px;
  border-radius: 50%; background: #245561; color: white; font: 650 14px/1 'DM Sans',sans-serif;
}
.capture-steps h3,.capture-example h3 { font: 500 clamp(21px,2vw,28px)/1.15 Georgia,serif; color: #193c47; margin: 12px 0 8px; }
.capture-steps p,.capture-example li { font-size: 15px; line-height: 1.55; color: #304e57; margin: 0; }
.capture-example { margin-top: 16px; padding: 18px 24px; display: flex; gap: 30px; align-items: center; border-left: 4px solid #39828b; background: #e0eef0; border-radius: 0 12px 12px 0; }
.capture-example h3 { margin: 0 0 5px; }.capture-example p { margin: 0; color: #2b5460; }
.capture-example ol { margin: 0; padding-left: 24px; }
@media (max-width: 760px) {
  .capture-steps { grid-template-columns: 1fr; }
  .capture-example { align-items: start; flex-direction: column; gap: 12px; }
}

/* Keep the word card still as the text inside it changes. */
#photo-hero-title > .hero-word {
  position: relative;
  isolation: isolate;
  display: grid;
  width: max-content;
  max-width: 100%;
  margin-top: .13em;
  padding: .07em .41em .15em;
  border: 1px solid #426b72;
  border-radius: .55em .14em .14em .14em;
  overflow: hidden;
  color: #f5faf8;
  background: linear-gradient(115deg, #153f4a, #30636b);
}
#photo-hero-title > .hero-word::before,
#photo-hero-title [data-rotate-word] { grid-area: 1 / 1; }
#photo-hero-title > .hero-word::before {
  content: "knowledge.";
  visibility: hidden;
}
#photo-hero-title [data-rotate-word] { display: block; }
@media (prefers-reduced-motion: no-preference) {
  #photo-hero-title > .hero-word::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(110deg, transparent 30%, rgb(231 253 247 / 13%) 50%, transparent 70%);
    animation: word-card-sheen 14s ease-in-out infinite;
  }
  @keyframes word-card-sheen {
    0%, 78% { transform: translateX(-110%); }
    100% { transform: translateX(110%); }
  }
}
#story-overview .hero-signoff span,
.ph-opening-lines > span { display: block; }
#story-overview .ph-copy .hero-signoff {
  margin: .6em 0 .65em;
  line-height: 1.15;
}
.ph-opening-lines > span + span { margin-top: .32em; }
