/* ==========================================================================
   Daily Comfort Healthcare — main stylesheet
   Palette is taken directly from the logo. Body type is Atkinson Hyperlegible,
   designed for low-vision readers, because many of our readers are older.
   ========================================================================== */

@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-400-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Atkinson Hyperlegible";
  src: url("../fonts/atkinson-hyperlegible-latin-700-normal.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-wght-normal.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap;
}

:root {
  --blue: #0063A3;
  --sky: #157DC2;
  --navy: #0B3A63;
  --orange: #EE7203;
  --orange-text: #B85400;
  --ink: #13233A;
  --muted: #4A5A6E;
  --mist: #EEF5FB;
  --peach: #FFF3E8;
  --line: #D6E3EF;
  --white: #FFFFFF;

  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Atkinson Hyperlegible", "Verdana", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius-lg: 28px;
  --radius: 14px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18px — generous for older readers */
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--blue); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy); text-decoration-thickness: 2px; }

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.1;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.3rem, 2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
p, li { max-width: 68ch; }

.screen-reader-text {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip-link:focus {
  position: fixed; top: 1rem; left: 1rem; z-index: 999; clip: auto; width: auto; height: auto;
  background: var(--white); color: var(--navy); padding: 0.75rem 1rem; border-radius: var(--radius-sm);
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; line-height: 1.2;
  padding: 0.95rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.btn--orange { background: var(--orange); color: var(--ink); }
.btn--orange:hover { background: #FF8A24; color: var(--ink); }
.btn--blue { background: var(--blue); color: var(--white); }
.btn--blue:hover { background: var(--navy); color: var(--white); }
.btn--ghost { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn--ghost:hover { background: var(--blue); color: var(--white); }
.btn--light { border-color: rgba(255,255,255,.55); color: var(--white); background: transparent; }
.btn--light:hover { background: var(--white); color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy); color: #D5E5F3; font-size: 0.95rem; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar__links { display: flex; gap: 1.75rem; align-items: center; }
.topbar__links a { display: inline-flex; align-items: center; gap: 0.45rem; white-space: nowrap; }
.topbar__links svg { width: 16px; height: 16px; opacity: .85; }
@media (max-width: 760px) {
  .topbar__note, .topbar__links .topbar__email { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: 88px; }
.site-logo { flex: none; }
.site-logo img { height: 60px; width: auto; }

.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; margin: 0; padding: 0; }
.main-nav > ul { display: flex; align-items: center; gap: 0.25rem; }
.main-nav li { position: relative; max-width: none; }
.main-nav a {
  display: block; padding: 0.6rem 0.85rem; border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 700; font-size: 1rem; text-decoration: none;
}
.main-nav a:hover, .main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a { color: var(--blue); }
.main-nav .current-menu-item > a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.4em; text-decoration-color: var(--orange); }
.main-nav .menu-item-has-children > a { padding-right: 1.9rem; }
.main-nav .menu-item-has-children > a::after {
  content: ""; position: absolute; right: 0.85rem; top: 50%; width: 7px; height: 7px; margin-top: -6px;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg);
}
.main-nav .sub-menu {
  position: absolute; top: 100%; left: -0.5rem; min-width: 290px; padding: 0.6rem;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px -18px rgba(11,58,99,.35);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s;
}
.main-nav li:hover > .sub-menu, .main-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub-menu a { font-weight: 400; padding: 0.6rem 0.8rem; }
.main-nav .sub-menu a:hover { background: var(--mist); }
.sub-toggle { display: none; }

.header-cta { display: flex; align-items: center; gap: 1rem; flex: none; }
.header-phone { text-decoration: none; color: var(--navy); line-height: 1.15; text-align: right; }
.header-phone small { display: block; color: var(--muted); font-size: 0.82rem; }
.header-phone strong { font-family: var(--font-display); font-size: 1.2rem; letter-spacing: -0.01em; }

.nav-toggle {
  display: none; margin-left: auto; align-items: center; gap: 0.5rem;
  background: var(--mist); color: var(--navy); border: 0; border-radius: 999px;
  padding: 0.7rem 1.1rem; font: 700 1rem var(--font-body); cursor: pointer;
}
.nav-toggle__bars { width: 18px; height: 12px; position: relative; }
.nav-toggle__bars::before, .nav-toggle__bars::after, .nav-toggle__bars span {
  content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; border-radius: 2px; transition: transform .2s, opacity .2s;
}
.nav-toggle__bars::before { top: 0; }
.nav-toggle__bars span { top: 5px; }
.nav-toggle__bars::after { bottom: 0; }
.nav-open .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle__bars span { opacity: 0; }
.nav-open .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1180px) { .header-phone { display: none; } }
@media (max-width: 1020px) {
  .site-header .wrap { min-height: 76px; gap: 1rem; }
  .site-logo img { height: 50px; }
  .nav-toggle { display: inline-flex; }
  .header-cta .btn { display: none; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    background: var(--white); border-top: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(11,58,99,.4);
    max-height: calc(100vh - 120px); overflow-y: auto;
    display: none; padding: 1rem var(--gutter) 1.5rem;
  }
  .nav-open .main-nav { display: block; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li { border-bottom: 1px solid var(--line); }
  .main-nav a { padding: 1rem 0.25rem; font-size: 1.1rem; }
  .main-nav .menu-item-has-children > a { padding-right: 3.5rem; }
  .main-nav .menu-item-has-children > a::after { display: none; }
  .sub-toggle {
    display: grid; place-items: center; position: absolute; right: 0; top: 0.35rem;
    width: 44px; height: 44px; border: 0; background: var(--mist); border-radius: 50%; cursor: pointer; color: var(--navy);
  }
  .sub-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .sub-open > .sub-toggle::before { transform: translateY(2px) rotate(-135deg); }
  .main-nav .sub-menu {
    position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0;
    padding: 0 0 0.75rem 0.75rem; display: none; min-width: 0;
  }
  .main-nav .sub-open > .sub-menu { display: block; }
  .main-nav li:hover > .sub-menu { display: none; }
  .main-nav .sub-open:hover > .sub-menu { display: block; }
  .main-nav .sub-menu a { padding: 0.65rem 0.5rem; }
  .mobile-nav-cta { display: grid !important; gap: 0.75rem; margin-top: 1.25rem; }
}
.mobile-nav-cta { display: none !important; }
.mobile-nav-cta .btn { justify-content: center; }

/* ---------- Signature: the interlocking cross ---------- */
.dc-cross { width: 100%; height: auto; overflow: visible; }
.dc-cross .seam { fill: none; stroke: var(--seam, #fff); stroke-width: 16; stroke-linecap: round; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--white) 0%, var(--mist) 100%); }
.hero .wrap {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  align-items: center; gap: clamp(2rem, 5vw, 5rem);
  padding-top: clamp(3rem, 7vw, 6rem); padding-bottom: clamp(3.5rem, 8vw, 7rem);
}
.hero__title { color: var(--navy); margin-bottom: 0.45em; }
.hero__title .line-2 { display: block; color: var(--blue); }
.hero__lede { font-size: clamp(1.15rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 54ch; margin-bottom: 2rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.5rem; }
.hero__facts { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.75rem; color: var(--navy); font-weight: 700; font-size: 0.98rem; }
.hero__facts li { display: inline-flex; align-items: center; gap: 0.55rem; }
.hero__facts svg { width: 20px; height: 20px; color: var(--sky); flex: none; }

.hero__art { position: relative; justify-self: center; width: 100%; max-width: 520px; }
.hero__art .dc-cross { filter: drop-shadow(0 30px 40px rgba(11,58,99,.18)); }
.hero__art .dc-cross { animation: cross-in 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hero__art .dc-cross .blue-half { animation: half-in-blue 1.1s cubic-bezier(.2,.8,.2,1) both; }
.hero__art .dc-cross .orange-half { animation: half-in-orange 1.1s cubic-bezier(.2,.8,.2,1) both; }
@keyframes half-in-blue { from { transform: translate(-28px, -28px); } to { transform: none; } }
@keyframes half-in-orange { from { transform: translate(28px, 28px); } to { transform: none; } }
@keyframes cross-in { from { opacity: 0; } to { opacity: 1; } }

.hero__photo {
  position: absolute; inset: 0; border-radius: var(--radius-lg); overflow: hidden;
}
.hero--has-photo .hero__art { aspect-ratio: 4 / 5; }
.hero--has-photo .hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero--has-photo .hero__art .dc-cross { position: absolute; width: 42%; right: -8%; bottom: -6%; }

.hero__card {
  position: absolute; left: -6%; bottom: 6%;
  background: var(--white); border-radius: var(--radius); padding: 1rem 1.25rem;
  box-shadow: 0 20px 40px -20px rgba(11,58,99,.45);
  display: flex; align-items: center; gap: 0.9rem; max-width: 300px;
  animation: cross-in .6s .7s both;
}
.hero__card-icon { width: 46px; height: 46px; border-radius: 50%; background: var(--peach); color: var(--orange-text); display: grid; place-items: center; flex: none; }
.hero__card-icon svg { width: 22px; height: 22px; }
.hero__card small { display: block; color: var(--muted); font-size: 0.85rem; line-height: 1.3; }
.hero__card a { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--navy); text-decoration: none; letter-spacing: -0.01em; }
.hero__card a:hover { color: var(--blue); }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero__art { max-width: 340px; }
  .hero--has-photo .hero__art { max-width: 460px; aspect-ratio: 4 / 3; }
  .hero__card { left: auto; right: 0; bottom: -4%; }
}
@media (max-width: 520px) {
  .hero__art { max-width: 280px; }
  .hero__card { position: relative; left: 0; bottom: 0; margin-top: -1rem; }
}

/* ---------- Generic sections ---------- */
.section { padding: var(--section) 0; }
.section--mist { background: var(--mist); }
.section--peach { background: var(--peach); }
.section-head { max-width: 760px; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { color: var(--muted); font-size: 1.2rem; }

/* Intro split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split h2 { margin: 0; }
.split__body p { color: var(--muted); }
.split__body p:first-child { color: var(--ink); font-size: 1.25rem; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- Services ---------- */
.services-main { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; margin-bottom: 1.5rem; }
.service-feature {
  position: relative; border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem);
  display: flex; flex-direction: column; text-decoration: none; overflow: hidden; min-height: 340px;
}
.service-feature h3 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 0.5rem; letter-spacing: -0.02em; }
.service-feature p { font-size: 1.1rem; margin-bottom: 1.75rem; }
.service-feature .more { margin-top: auto; font-weight: 700; display: inline-flex; align-items: center; gap: 0.5rem; }
.service-feature .more svg { width: 20px; height: 20px; transition: transform .2s; }
.service-feature:hover .more svg { transform: translateX(4px); }
.service-feature--blue { background: var(--blue); color: #E3EFF9; }
.service-feature--blue h3, .service-feature--blue .more { color: var(--white); }
.service-feature--blue .corner { position: absolute; right: -70px; bottom: -70px; width: 300px; opacity: .14; transform: rotate(-12deg); }
.service-feature--blue > :not(.corner) { position: relative; }
.service-feature--white { background: var(--white); color: var(--muted); border: 2px solid var(--line); }
.service-feature--white h3 { color: var(--navy); }
.service-feature--white .more { color: var(--blue); }
.service-feature--white:hover { border-color: var(--sky); }
.service-feature .tag { display: inline-block; align-self: flex-start; font-size: 0.9rem; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px; margin-bottom: 1.25rem; }
.service-feature--blue .tag { background: rgba(255,255,255,.14); color: var(--white); }
.service-feature--white .tag { background: var(--mist); color: var(--blue); }

.services-more { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 2px solid var(--navy); }
.services-more li { max-width: none; border-right: 1px solid var(--line); }
.services-more li:last-child { border-right: 0; }
.services-more a { display: block; padding: 1.5rem 1.5rem 1.75rem 0; padding-left: 1.5rem; text-decoration: none; color: var(--muted); height: 100%; }
.services-more li:first-child a { padding-left: 0; }
.services-more a:hover { background: var(--white); }
.services-more h3 { font-size: 1.25rem; margin-bottom: 0.4rem; color: var(--navy); display: flex; align-items: center; gap: 0.55rem; }
.services-more h3 svg { width: 18px; height: 18px; flex: none; }
.services-more a:hover h3 { color: var(--blue); }
.services-more p { font-size: 1rem; margin: 0; }
@media (max-width: 960px) {
  .services-main { grid-template-columns: 1fr; }
  .service-feature { min-height: 0; }
  .services-more { grid-template-columns: 1fr 1fr; }
  .services-more li:nth-child(2) { border-right: 0; }
  .services-more li:nth-child(odd) a { padding-left: 0; }
  .services-more li { border-bottom: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .services-more { grid-template-columns: 1fr; }
  .services-more li { border-right: 0; }
  .services-more a { padding-left: 0 !important; }
}

/* ---------- How it works (a real sequence, so numbered) ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 2rem; counter-reset: step; position: relative; }
.steps::before { content: ""; position: absolute; top: 28px; left: 28px; right: calc((100% - (var(--steps, 4) - 1) * 2rem) / var(--steps, 4) - 28px); height: 2px; background: repeating-linear-gradient(90deg, var(--sky) 0 10px, transparent 10px 18px); }
.steps li { position: relative; counter-increment: step; max-width: none; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--sky); color: var(--blue);
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; margin-bottom: 1.25rem; position: relative;
}
.steps li:last-child::before { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.steps h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.steps p { color: var(--muted); font-size: 1.02rem; margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before { display: none; }
  .steps li { padding-left: 80px; padding-bottom: 2rem; }
  .steps li:last-child { padding-bottom: 0; }
  .steps li:not(:last-child)::after { content: ""; position: absolute; left: 27px; top: 64px; bottom: 8px; border-left: 2px dashed var(--sky); }
  .steps li::before { position: absolute; left: 0; top: 0; }
}

/* ---------- Take a Break ---------- */
.tab-band { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.tab-band h2 { color: var(--navy); }
.tab-band p { color: var(--ink); }
.tab-band .commissioned { display: inline-flex; align-items: center; gap: 0.6rem; font-weight: 700; color: var(--orange-text); margin-bottom: 1.25rem; font-size: 1rem; }
.tab-band .commissioned svg { width: 20px; height: 20px; }
.tab-list { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: 0.7rem; }
.tab-list li { display: flex; gap: 0.75rem; align-items: flex-start; }
.tab-list svg { width: 22px; height: 22px; color: var(--orange); flex: none; margin-top: 0.2rem; }
.tab-art { position: relative; }
.tab-art .dc-cross { max-width: 340px; margin-left: auto; --seam: var(--peach); transform: rotate(-8deg); }
.tab-band--solo { grid-template-columns: 1fr; }
@media (max-width: 860px) { .tab-band { grid-template-columns: 1fr; } .tab-art { display: none; } }

/* ---------- Why choose us ---------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(2rem, 6vw, 5rem); }
.reason { padding: 1.75rem 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 52px 1fr; gap: 1.1rem; }
.reason__icon { width: 52px; height: 52px; border-radius: 16px; background: var(--mist); color: var(--blue); display: grid; place-items: center; }
.reason__icon svg { width: 26px; height: 26px; }
.reason h3 { font-size: 1.3rem; margin-bottom: 0.35rem; }
.reason p { color: var(--muted); margin: 0; }
@media (max-width: 760px) { .reasons { grid-template-columns: 1fr; } }

.cqc-note {
  margin-top: 2.5rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem;
  padding: 1.5rem 1.75rem; border-radius: var(--radius); background: var(--mist);
}
.cqc-note p { margin: 0; color: var(--navy); }
.cqc-note strong { font-family: var(--font-display); }

/* ---------- Areas ---------- */
.areas { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.area-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.area-list li { padding: 0.6rem 1.1rem; border-radius: 999px; background: var(--white); border: 1.5px solid var(--line); font-weight: 700; color: var(--navy); }
.area-list li:first-child { background: var(--blue); border-color: var(--blue); color: var(--white); }
.areas__note { color: var(--muted); margin-top: 1.5rem; font-size: 1rem; }
@media (max-width: 820px) { .areas { grid-template-columns: 1fr; } }

/* ---------- Careers band ---------- */
.careers-band { background: var(--blue); color: #E3EFF9; border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; position: relative; overflow: hidden; }
.careers-band h2 { color: var(--white); margin-bottom: 0.4em; }
.careers-band p { margin: 0; font-size: 1.15rem; }
.careers-band .actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.careers-band > :not(.corner) { position: relative; }
.careers-band .corner { position: absolute; right: -60px; top: -90px; width: 280px; opacity: .14; transform: rotate(14deg); }
@media (max-width: 820px) { .careers-band { grid-template-columns: 1fr; } }

/* ---------- Contact band + footer ---------- */
.contact-band { background: var(--navy); color: #D5E5F3; position: relative; padding: clamp(5.5rem, 11vw, 9rem) 0 clamp(3rem, 6vw, 4.5rem); }
.contact-band__wave { position: absolute; top: -1px; left: 0; width: 100%; height: clamp(40px, 6vw, 80px); color: var(--white); }
.contact-band__wave--mist { color: var(--mist); }
.contact-band .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; position: relative; }
.contact-band h2 { color: var(--white); }
.contact-band .big-phone { display: inline-block; font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; font-size: clamp(2.4rem, 6vw, 4.2rem); line-height: 1; color: var(--orange); text-decoration: none; margin: 0.25rem 0 1.25rem; }
.contact-band .big-phone:hover { color: #FF9A40; }
.contact-band p { font-size: 1.15rem; }
.contact-band__details { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.1rem; }
.contact-band__details li { display: grid; grid-template-columns: 28px 1fr; gap: 0.9rem; align-items: start; }
.contact-band__details svg { width: 24px; height: 24px; color: var(--orange); margin-top: 0.15rem; }
.contact-band__details a { color: var(--white); }
@media (max-width: 820px) { .contact-band .wrap { grid-template-columns: 1fr; } }

.site-footer { background: #072C4C; color: #B9CCDF; font-size: 1rem; }
.site-footer a { color: #E3EFF9; text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-top: 4rem; padding-bottom: 3rem; }
.footer-logo img { width: 190px; height: auto; margin-bottom: 1.25rem; }
.footer-main h2 { font-family: var(--font-display); font-size: 1.1rem; color: var(--white); margin-bottom: 1rem; letter-spacing: 0; }
.footer-main ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.55rem; }
.footer-main address { font-style: normal; line-height: 1.7; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.75rem 0 2rem; font-size: 0.92rem; }
.footer-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.footer-bottom p { margin: 0; max-width: 80ch; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; list-style: none; margin: 0; padding: 0; }
@media (max-width: 960px) { .footer-main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-main { grid-template-columns: 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--mist); padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem); position: relative; overflow: hidden; }
.page-hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); margin: 0; max-width: 18ch; }
.page-hero .crumbs { font-size: 0.95rem; color: var(--muted); margin-bottom: 1rem; }
.page-hero .crumbs a { color: var(--blue); }
.page-hero .intro { margin: 1.25rem 0 0; font-size: 1.25rem; color: var(--muted); max-width: 60ch; }
.page-hero .dc-cross { position: absolute; right: -70px; top: 50%; width: 300px; transform: translateY(-50%) rotate(12deg); opacity: .9; --seam: var(--mist); }
@media (max-width: 820px) { .page-hero .dc-cross { display: none; } }

.page-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(2rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: var(--section); align-items: start; }
.page-body > aside { position: sticky; top: 120px; }
.page-body--full { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 960px) { .page-body { grid-template-columns: 1fr; } .page-body > aside { position: static; } }

.entry-content > * + * { margin-top: 0; }
.entry-content h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 2.2em; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content h3 { margin-top: 1.8em; }
.entry-content ul, .entry-content ol { padding-left: 1.3rem; margin: 0 0 1.4em; }
.entry-content li { margin-bottom: 0.45em; }
.entry-content ul li::marker { color: var(--orange); }
.entry-content blockquote { margin: 2em 0; padding: 1.5rem 1.75rem; border-left: 4px solid var(--orange); background: var(--peach); border-radius: 0 var(--radius) var(--radius) 0; }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-button__link { background: var(--blue); color: var(--white); border-radius: 999px; padding: 0.9rem 1.5rem; font-weight: 700; text-decoration: none; }
.entry-content .wp-block-button__link:hover { background: var(--navy); }
.entry-content .wp-block-image figcaption { color: var(--muted); font-size: 0.95rem; }
.alignwide { max-width: none; }
.has-text-align-center { text-align: center; }

.aside-card { background: var(--navy); color: #D5E5F3; border-radius: var(--radius-lg); padding: 2rem; }
.aside-card h2 { color: var(--white); font-size: 1.5rem; margin-bottom: 0.6rem; }
.aside-card p { font-size: 1.02rem; }
.aside-card .phone { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; color: var(--orange); text-decoration: none; margin: 0.25rem 0 1.25rem; letter-spacing: -0.02em; }
.aside-card .btn { width: 100%; justify-content: center; }
.aside-links { margin-top: 1.5rem; }
.aside-links h2 { font-size: 1.15rem; }
.aside-links ul { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.aside-links li { border-bottom: 1px solid var(--line); }
.aside-links a { display: block; padding: 0.75rem 0; text-decoration: none; font-weight: 700; }
.aside-links .current a { color: var(--ink); }

/* ---------- Contact page & form ---------- */
.contact-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: clamp(2rem, 6vw, 5rem); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: var(--section); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.dc-form { display: grid; gap: 1.25rem; }
.dc-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .dc-form .row { grid-template-columns: 1fr; } }
.dc-form label { display: block; font-weight: 700; margin-bottom: 0.4rem; color: var(--navy); }
.dc-form .opt { font-weight: 400; color: var(--muted); }
.dc-form input[type=text], .dc-form input[type=email], .dc-form input[type=tel], .dc-form select, .dc-form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--white);
  border: 2px solid var(--line); border-radius: var(--radius-sm); padding: 0.85rem 1rem;
}
.dc-form input:focus, .dc-form select:focus, .dc-form textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(21,125,194,.2); }
.dc-form textarea { min-height: 160px; resize: vertical; }
.dc-form .consent { display: flex; gap: 0.75rem; align-items: flex-start; font-size: 1rem; }
.dc-form .consent input { width: 22px; height: 22px; margin-top: 0.2rem; accent-color: var(--blue); flex: none; }
.dc-form .consent label { font-weight: 400; color: var(--ink); margin: 0; }
.dc-form .hp { position: absolute; left: -9999px; }
.dc-form button { justify-self: start; }
.notice { padding: 1rem 1.25rem; border-radius: var(--radius-sm); margin-bottom: 1.5rem; font-weight: 700; }
.notice--ok { background: #E6F5EC; color: #145C32; border-left: 4px solid #1F8A4C; }
.notice--err { background: #FDECEA; color: #8A1C12; border-left: 4px solid #C0392B; }

.contact-card { background: var(--mist); border-radius: var(--radius-lg); padding: 2rem; }
.contact-card h2 { font-size: 1.5rem; }
.contact-card dl { margin: 0; display: grid; gap: 1.1rem; }
.contact-card dt { font-weight: 700; color: var(--navy); }
.contact-card dd { margin: 0.15rem 0 0; }
.contact-card .map { margin-top: 1.5rem; border-radius: var(--radius); overflow: hidden; border: 0; width: 100%; aspect-ratio: 4/3; }

/* ---------- Blog / archive ---------- */
.post-list { display: grid; gap: 2.5rem; }
.post-item { padding-bottom: 2.5rem; border-bottom: 1px solid var(--line); }
.post-item h2 { font-size: 1.7rem; margin-bottom: 0.35rem; }
.post-item h2 a { color: var(--navy); text-decoration: none; }
.post-item h2 a:hover { color: var(--blue); }
.post-item .meta { color: var(--muted); font-size: 0.95rem; margin-bottom: 0.75rem; }
.pagination { margin-top: 2rem; display: flex; gap: 0.5rem; }
.pagination .page-numbers { padding: 0.5rem 0.9rem; border-radius: var(--radius-sm); border: 1.5px solid var(--line); text-decoration: none; }
.pagination .current { background: var(--blue); color: var(--white); border-color: var(--blue); }

.not-found { text-align: center; padding-top: var(--section); padding-bottom: var(--section); }
.not-found h1 { margin: 0 auto 0.4em; }
.not-found p { margin-left: auto; margin-right: auto; }
.not-found .dc-cross { width: 160px; margin: 0 auto 2rem; }

.section--snug { padding-top: 0; }

/* ---------- Elementor ---------- */
/* Our section widgets bring their own full-width backgrounds and inner width. */
.elementor-widget[class*="elementor-widget-dc-"] > .elementor-widget-container { margin: 0; padding: 0; }
.e-con.dc-flush, .elementor-section.dc-flush { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; --gap: 0px; --row-gap: 0px; --column-gap: 0px; }
.dc-elementor-content, .page-elementor { width: 100%; }
.page-elementor { padding-bottom: var(--section); }
.page-elementor--flush { padding-bottom: 0; }
.dc-elementor-content .entry-content, .page-elementor .elementor-widget-text-editor { font-size: 1.125rem; }
.elementor-widget-text-editor ul li::marker { color: var(--orange); }
.elementor-widget-text-editor h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-top: 1.6em; }
.elementor-widget-text-editor h2:first-child { margin-top: 0; }
.dc-service-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 0 2rem; border-top: 2px solid var(--navy); }
.dc-service-list li { max-width: none; border-bottom: 1px solid var(--line); }
.dc-service-list a { display: block; padding: 1.25rem 0; text-decoration: none; color: var(--muted); }
.dc-service-list h3 { font-size: 1.2rem; margin-bottom: 0.3rem; color: var(--navy); }
.dc-service-list a:hover h3 { color: var(--blue); }
.dc-service-list p { margin: 0; font-size: 1rem; }
.dc-cross-widget .dc-cross { margin: 0 auto; }
/* Elementor removes link underlines; keep them on links inside text so they are recognisable. */
.elementor .split__body a, .elementor .areas__note a, .elementor .contact-card dd a, .elementor .contact-card p a,
.elementor .elementor-widget-text-editor a, .elementor .dc-form .consent a { text-decoration: underline; text-underline-offset: 0.18em; }

/* ---------- Photos ---------- */
.photo-frame { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist); }
.photo-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-frame--landscape { aspect-ratio: 4 / 3; }
.photo-frame--portrait { aspect-ratio: 4 / 5; }
/* Small logo cross tucked against a photo's corner, echoing the hero. */
.dc-cross.photo-badge { position: absolute; width: 22%; max-width: 130px; right: -4%; bottom: -5%; filter: drop-shadow(0 12px 18px rgba(11,58,99,.25)); }
.photo-frame .dc-cross.photo-badge { right: 4%; bottom: 4%; width: 16%; max-width: 96px; }

/* Hero photo gets a soft brand-coloured offset behind it. */
.hero--has-photo .hero__photo { box-shadow: 18px 18px 0 0 var(--sky); }
.hero--has-photo .hero__art { margin-right: 18px; }

/* Intro with photo */
.split--photo { align-items: center; }
.split--photo h2 { margin-bottom: 0.6em; }
.split--photo .photo-frame { box-shadow: -18px 18px 0 0 var(--peach); }

/* Service panels with photo */
.service-feature--has-photo { padding-top: 0; }
.service-feature__photo {
  display: block; height: clamp(200px, 21vw, 280px); overflow: hidden;
  margin: 0 calc(-1 * clamp(2rem, 4vw, 3rem)) 1.75rem;
}
.service-feature--white .service-feature__photo { margin-left: calc(-1 * clamp(2rem, 4vw, 3rem) - 2px); margin-right: calc(-1 * clamp(2rem, 4vw, 3rem) - 2px); margin-top: -2px; }
.service-feature__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-feature:hover .service-feature__photo img { transform: scale(1.03); }
.service-feature--has-photo > :not(.corner) { position: relative; }

/* Take a Break photo */
.tab-art--photo { position: relative; max-width: 440px; justify-self: end; width: 100%; }
.tab-art--photo .photo-frame { box-shadow: 18px 18px 0 0 var(--orange); }
.tab-art--photo .dc-cross.photo-badge { --seam: var(--peach); transform: none; max-width: 130px; margin: 0; left: -8%; right: auto; bottom: -6%; }
@media (max-width: 860px) { .tab-art--photo { display: block; max-width: 420px; justify-self: start; margin-right: 18px; } }

/* Careers band with photo */
.careers-band--photo { padding: 0; grid-template-columns: 1.1fr 0.9fr; gap: 0; align-items: stretch; }
.careers-band__text { padding: clamp(2.5rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center; }
.careers-band__text p { margin-bottom: 1.75rem; }
.careers-band__photo { position: relative; min-height: 320px; }
.careers-band__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .careers-band--photo { grid-template-columns: 1fr; } .careers-band__photo { min-height: 240px; order: -1; } }

/* Page header with featured image */
.page-hero--photo .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.page-hero__photo { position: relative; }
.page-hero__photo .photo-frame { box-shadow: 16px 16px 0 0 var(--sky); margin-right: 16px; }
.page-hero__photo .dc-cross.photo-badge { position: absolute; right: auto; left: -7%; bottom: -8%; top: auto; transform: none; width: 22%; opacity: 1; --seam: var(--mist); display: block; }
@media (max-width: 820px) {
  .page-hero--photo .wrap { grid-template-columns: 1fr; }
  .page-hero__photo { max-width: 460px; }
}

/* Service list thumbnails */
.dc-service-list__photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--radius); margin-bottom: 1rem; }
.dc-service-list__photo img { width: 100%; height: 100%; object-fit: cover; }
/* Keep photos filling their frames inside Elementor layouts, which reset image height. */
body .photo-frame img, body .service-feature__photo img, body .careers-band__photo img,
body .hero__photo img, body .dc-service-list__photo img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 30%; }
@media (max-width: 520px) {
  .hero--has-photo .hero__art { margin-bottom: 2.5rem; max-width: none; justify-self: start; width: calc(100% - 18px); }
  .hero--has-photo .hero__card { position: absolute; left: 4%; right: auto; bottom: -2rem; margin: 0; }
}
.split--photo .photo-frame { overflow: visible; background: none; }
.split--photo .photo-frame img { border-radius: var(--radius-lg); }
.split--photo .photo-frame .dc-cross.photo-badge { right: -5%; bottom: -8%; width: 19%; max-width: 110px; }
@media (max-width: 520px) { .hero--has-photo .hero__art .dc-cross { width: 30%; right: -5%; bottom: -7%; } }
