/* Willowmere Living — Care Home */

:root {
  --ink: #152820;
  --ink-soft: #3d5248;
  --mist: #eef3f0;
  --mist-deep: #dce6e0;
  --paper: #f7faf8;
  --white: #ffffff;
  --sage: #3f6b58;
  --sage-deep: #2a4a3c;
  --lagoon: #4a7c8a;
  --lagoon-soft: #c5d9df;
  --blush: #e8d5cc;
  --line: rgba(21, 40, 32, 0.12);
  --shadow-soft: 0 18px 50px rgba(21, 40, 32, 0.08);

  --font-display: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Figtree", system-ui, sans-serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --wrap: min(1120px, calc(100% - 2.5rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(197, 217, 223, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(232, 213, 204, 0.35), transparent 50%),
    linear-gradient(180deg, var(--paper) 0%, var(--mist) 100%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--sage);
}

h1,
h2,
h3,
.brand {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.wrap {
  width: var(--wrap);
  margin-inline: auto;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lagoon);
  margin-bottom: var(--space-sm);
}

.lede {
  font-size: 1.125rem;
  color: var(--ink-soft);
  max-width: 36rem;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(247, 250, 248, 0.82);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(247, 250, 248, 0.94);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  font-size: 1.2rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  animation: brandIn 0.9s var(--ease) both;
  color: var(--ink);
}

.brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
  flex: 0 0 auto;
  display: block;
}

.brand-text {
  display: inline-flex;
  flex-direction: column;
  gap: 0.05rem;
  line-height: 1.05;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--sage-deep);
}

.brand-tag {
  font-family: var(--font-body);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.footer-brand {
  margin-bottom: var(--space-sm);
}

.footer-brand a {
  text-decoration: none;
  color: inherit;
  padding: 0;
  display: inline-block;
}

.footer-logo {
  width: min(100%, 15rem);
  height: auto;
  display: block;
  border-radius: 2px;
}

@keyframes brandIn {
  from {
    opacity: 0;
    letter-spacing: 0.08em;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    letter-spacing: -0.02em;
    transform: none;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 1.5px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-phone {
  display: none;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--sage-deep);
  white-space: nowrap;
}

.nav-phone::after {
  display: none !important;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1.15rem;
  background: var(--sage-deep);
  color: var(--white) !important;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 2px;
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--sage);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 0.5rem 0.7rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
  border-radius: 2px;
}

/* —— Trust strip (industry pattern) —— */
.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
  padding: var(--space-lg) 0;
  border-bottom: 1px solid var(--line);
}

.trust-item {
  text-align: center;
  padding: 0.25rem 0.5rem;
}

.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--sage-deep);
  margin-bottom: 0.2rem;
}

.trust-item span {
  font-size: 0.88rem;
  color: var(--ink-soft);
  line-height: 1.35;
}

/* —— Sticky tour bar —— */
.tour-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 60;
  display: flex;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: rgba(247, 250, 248, 0.96);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.tour-bar.is-visible {
  transform: none;
}

.tour-bar .btn {
  flex: 1;
  padding: 0.8rem 1rem;
}

/* —— Included amenities strip —— */
.included-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.included-item h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.included-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.care-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.care-type {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease);
}

.care-type:hover {
  border-color: var(--sage);
  color: inherit;
  transform: translateY(-3px);
}

.care-type .eyebrow {
  margin-bottom: var(--space-md);
}

.care-type h3 {
  font-size: 1.45rem;
  margin-bottom: 0.5rem;
}

.care-type p {
  color: var(--ink-soft);
  flex: 1;
  margin-bottom: var(--space-md);
}

.care-type .link-label {
  font-weight: 600;
  color: var(--sage-deep);
  font-size: 0.92rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.45rem;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--sage-deep);
  color: var(--white) !important;
}

.btn-primary:hover {
  background: var(--sage);
  color: var(--white) !important;
}

.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1.5px solid var(--ink);
}

.btn-ghost:hover {
  background: var(--ink);
  color: var(--white) !important;
}

.btn-light {
  background: var(--white);
  color: var(--sage-deep) !important;
}

.btn-light:hover {
  background: var(--mist);
  color: var(--sage-deep) !important;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: var(--space-md);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.06);
  animation: heroDrift 18s var(--ease) forwards;
}

@keyframes heroDrift {
  to {
    transform: scale(1);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(21, 40, 32, 0.25) 0%, rgba(21, 40, 32, 0.55) 45%, rgba(21, 40, 32, 0.82) 100%),
    linear-gradient(90deg, rgba(21, 40, 32, 0.45) 0%, transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--space-2xl) 0 var(--space-xl);
  max-width: 38rem;
  animation: riseIn 1s var(--ease) 0.15s both;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-brand {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.98;
  margin-bottom: var(--space-md);
}

.hero h1 {
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  max-width: 22ch;
  margin-bottom: var(--space-sm);
  color: rgba(255, 255, 255, 0.96);
}

.hero .support {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 32ch;
  line-height: 1.55;
}

.hero .cta-row .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white) !important;
}

.hero .cta-row .btn-ghost:hover {
  background: var(--white);
  color: var(--ink) !important;
}

/* —— Sections —— */
.section {
  padding: var(--space-2xl) 0;
}

.section-head {
  margin-bottom: var(--space-lg);
  max-width: 36rem;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-sm);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* —— About —— */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: var(--space-xl);
  align-items: center;
}

.about-copy h2 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  margin-bottom: var(--space-md);
}

.about-copy p + p {
  margin-top: var(--space-sm);
}

.about-copy .lede {
  margin-bottom: var(--space-md);
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--sage-deep);
}

.stat span {
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.about-visual {
  position: relative;
  min-height: 28rem;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 28rem;
  object-fit: cover;
  border-radius: 2px;
}

.about-visual::before {
  content: "";
  position: absolute;
  inset: auto -1.25rem -1.25rem auto;
  width: 55%;
  height: 55%;
  background: var(--lagoon-soft);
  z-index: -1;
  border-radius: 2px;
}

/* —— Services —— */
.services {
  background:
    linear-gradient(180deg, transparent, rgba(220, 230, 224, 0.65) 20%, rgba(220, 230, 224, 0.65) 80%, transparent);
}

.service-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.service-item {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: var(--space-md);
  align-items: baseline;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  transition: padding-left 0.35s var(--ease);
}

.service-item:hover {
  padding-left: 0.5rem;
  color: inherit;
}

.service-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--lagoon);
  font-weight: 560;
}

.service-item h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}

.service-item p {
  color: var(--ink-soft);
  max-width: 42rem;
}

.service-arrow {
  font-size: 1.25rem;
  color: var(--sage);
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.service-item:hover .service-arrow {
  opacity: 1;
  transform: none;
}

/* —— Life —— */
.life-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--space-md);
}

.life-feature {
  position: relative;
  min-height: 28rem;
  overflow: hidden;
  border-radius: 2px;
  color: var(--white);
}

.life-feature img,
.life-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.1s var(--ease);
}

.life-feature:hover img,
.life-tile:hover img {
  transform: scale(1.04);
}

.life-feature .caption,
.life-tile .caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: var(--space-md);
  background: linear-gradient(transparent, rgba(21, 40, 32, 0.75));
}

.life-feature .caption h3,
.life-tile .caption h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.life-feature .caption p,
.life-tile .caption p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
}

.life-stack {
  display: grid;
  gap: var(--space-md);
}

.life-tile {
  position: relative;
  min-height: 13.25rem;
  overflow: hidden;
  border-radius: 2px;
  color: var(--white);
}

/* —— Quote —— */
.quote-section {
  padding: var(--space-xl) 0;
}

.quote-block {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
}

.quote-block blockquote {
  margin: 0 0 var(--space-md);
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.2vw, 2.15rem);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--sage-deep);
}

.quote-block cite {
  font-style: normal;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

/* —— Contact / Visit —— */
.visit {
  background: var(--sage-deep);
  color: var(--white);
  border-radius: 2px;
  padding: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--space-xl);
  align-items: end;
}

.visit h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-sm);
}

.visit p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 30rem;
}

.visit-details {
  display: grid;
  gap: var(--space-md);
}

.visit-details dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lagoon-soft);
  margin-bottom: 0.25rem;
}

.visit-details dd {
  margin: 0;
  font-size: 1.05rem;
}

.visit-details a {
  color: var(--white);
  text-decoration: none;
}

.visit-details a:hover {
  text-decoration: underline;
}

/* —— Footer —— */
.site-footer {
  padding: var(--space-2xl) 0 var(--space-lg);
  border-top: 1px solid var(--line);
  margin-top: var(--space-xl);
  background:
    linear-gradient(180deg, rgba(220, 230, 224, 0.35), transparent 40%),
    var(--paper);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: var(--space-xl);
  align-items: end;
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--line);
}

.footer-top .cta-row {
  margin-top: 0;
  justify-content: flex-end;
}

.footer-top h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: var(--space-sm);
}

.footer-top p {
  color: var(--ink-soft);
  max-width: 34rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr repeat(3, 1fr);
  gap: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.footer-grid > div > p {
  color: var(--ink-soft);
  max-width: 26rem;
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.footer-meta {
  display: grid;
  gap: 0.65rem;
  margin-top: var(--space-md);
  font-size: 0.92rem;
  color: var(--ink-soft);
}

.footer-meta strong {
  display: block;
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.footer-meta a {
  display: inline;
  padding: 0;
  color: var(--ink);
}

.footer-grid h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--space-sm);
  font-family: var(--font-body);
  font-weight: 600;
}

.footer-grid ul a,
.footer-grid nav a {
  display: block;
  text-decoration: none;
  color: var(--ink);
  padding: 0.28rem 0;
  font-size: 0.95rem;
}

.footer-grid a:hover {
  color: var(--sage);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.footer-legal a {
  color: var(--ink-soft);
  text-decoration: none;
}

.footer-legal a:hover {
  color: var(--sage);
}

/* —— Page hero (inner) —— */
.page-hero {
  padding: var(--space-xl) 0 var(--space-lg);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  max-width: 14ch;
  margin-bottom: var(--space-sm);
}

.page-hero .lede {
  font-size: 1.2rem;
}

/* —— Inner pages —— */
.page-hero--image {
  position: relative;
  min-height: 34rem;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  border: 0;
}

.page-hero--image > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero--image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 40, 32, 0.82), rgba(21, 40, 32, 0.18)),
    linear-gradient(0deg, rgba(21, 40, 32, 0.62), transparent 65%);
}

.page-hero--image .wrap {
  position: relative;
  z-index: 1;
  padding-block: var(--space-xl);
}

.page-hero--image .eyebrow {
  color: var(--lagoon-soft);
}

.page-hero--image .lede {
  color: rgba(255, 255, 255, 0.84);
}

.content-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--space-xl);
  align-items: start;
}

.content-grid h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
}

.prose {
  color: var(--ink-soft);
}

.prose p + p {
  margin-top: var(--space-sm);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.info-card {
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.info-card .card-num {
  display: block;
  color: var(--lagoon);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: var(--space-lg);
}

.info-card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.info-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.split-image {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 30rem;
  background: var(--sage-deep);
  color: var(--white);
}

.split-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-image__copy {
  padding: clamp(2.5rem, 6vw, 5rem);
  align-self: center;
}

.split-image__copy h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  margin-bottom: var(--space-sm);
}

.split-image__copy p {
  color: rgba(255, 255, 255, 0.8);
}

.check-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem var(--space-lg);
  margin-top: var(--space-md);
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--lagoon);
  font-weight: 700;
}

.split-image .check-list li::before {
  color: var(--lagoon-soft);
}

.process-list {
  counter-reset: steps;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.process-list li {
  counter-increment: steps;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
}

.process-list li::before {
  content: "0" counter(steps);
  display: block;
  font-family: var(--font-display);
  color: var(--lagoon);
  margin-bottom: var(--space-lg);
}

.process-list h3 {
  font-size: 1.2rem;
  margin-bottom: 0.35rem;
}

.process-list p {
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* —— Testimonials —— */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 22rem;
  padding: var(--space-md);
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.testimonial-card .stars {
  color: var(--sage);
  letter-spacing: 0.18em;
  font-size: 0.85rem;
  margin-bottom: var(--space-lg);
}

.testimonial-card blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  color: var(--sage-deep);
}

.testimonial-card footer {
  margin-top: auto;
  padding-top: var(--space-md);
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.testimonial-card footer strong {
  display: block;
  color: var(--ink);
}

.story {
  display: grid;
  grid-template-columns: 0.55fr 1fr;
  gap: var(--space-xl);
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--line);
}

.story:last-child {
  border-bottom: 1px solid var(--line);
}

.story-meta {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.story blockquote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
  line-height: 1.4;
  color: var(--sage-deep);
}

/* —— Contact —— */
.contact-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: var(--space-xl);
}

.contact-list {
  display: grid;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.contact-list dt {
  color: var(--lagoon);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-list dd {
  margin: 0.25rem 0 0;
}

.contact-form {
  padding: clamp(2rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
}

.contact-form h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

.contact-form > p {
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
}

.faq-list {
  border-top: 1px solid var(--line);
}

.faq-list details {
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 560;
}

.faq-list details p {
  max-width: 45rem;
  margin-top: var(--space-sm);
  color: var(--ink-soft);
}

/* —— Careers —— */
.careers-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  align-items: start;
}

.benefit-list {
  display: grid;
  gap: var(--space-md);
}

.benefit-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-sm);
  align-items: start;
}

.benefit-mark {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: 0.55rem;
  background: var(--sage);
  border-radius: 1px;
}

.benefit-list h3 {
  font-size: 1.15rem;
  margin-bottom: 0.2rem;
}

.benefit-list p {
  color: var(--ink-soft);
  font-size: 0.98rem;
}

.roles {
  border-top: 1px solid var(--line);
}

.role {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--space-md);
  align-items: start;
  padding: var(--space-md) 0;
  border-bottom: 1px solid var(--line);
}

.role h3 {
  font-size: 1.4rem;
  margin-bottom: 0.35rem;
}

.role-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  margin-bottom: 0.65rem;
}

.role p {
  color: var(--ink-soft);
  max-width: 40rem;
}

.apply-panel {
  background:
    linear-gradient(145deg, var(--mist-deep), var(--lagoon-soft) 120%);
  padding: clamp(2rem, 4vw, 3rem);
  border-radius: 2px;
}

.apply-panel h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: var(--space-sm);
}

.apply-panel > p {
  color: var(--ink-soft);
  margin-bottom: var(--space-md);
  max-width: 36rem;
}

.role-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.role h3 a {
  text-decoration: none;
  color: inherit;
}

.role h3 a:hover {
  color: var(--sage);
}

.job-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-xl);
  align-items: start;
}

.job-aside {
  position: sticky;
  top: calc(var(--header-h) + 1.25rem);
}

.job-summary {
  display: grid;
  gap: 0.85rem;
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  margin-bottom: var(--space-md);
}

.job-summary dt {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lagoon);
  margin-bottom: 0.15rem;
}

.job-summary dd {
  margin: 0;
  font-weight: 600;
}

.job-body h2 {
  font-size: 1.45rem;
  margin: var(--space-lg) 0 var(--space-sm);
}

.job-body h2:first-child {
  margin-top: 0;
}

.job-body p {
  color: var(--ink-soft);
}

.job-body ul {
  display: grid;
  gap: 0.55rem;
  margin-top: var(--space-sm);
}

.job-body li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--ink-soft);
}

.job-body li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--sage);
}

.back-link {
  display: inline-flex;
  margin-bottom: var(--space-md);
  text-decoration: none;
  font-weight: 600;
  color: var(--sage-deep);
}

.back-link:hover {
  color: var(--sage);
}

.file-field {
  display: grid;
  gap: 0.45rem;
}

.file-drop {
  position: relative;
  display: grid;
  gap: 0.35rem;
  padding: 1.1rem;
  background: var(--white);
  border: 1.5px dashed rgba(21, 40, 32, 0.28);
  border-radius: 2px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.file-drop:hover,
.file-drop:focus-within {
  border-color: var(--sage);
  background: rgba(255, 255, 255, 0.92);
}

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  box-shadow: none;
}

.file-drop strong {
  color: var(--ink);
  font-size: 0.95rem;
}

.file-drop span,
.file-name {
  font-size: 0.85rem;
  color: var(--ink-soft);
  font-weight: 400;
}

.file-name.is-ready {
  color: var(--sage-deep);
  font-weight: 600;
}

.required-mark {
  color: var(--sage);
}

@media (max-width: 900px) {
  .job-layout {
    grid-template-columns: 1fr;
  }

  .job-aside {
    position: static;
  }
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
}

.form-grid .full {
  grid-column: 1 / -1;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}

input,
select,
textarea {
  font: inherit;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(21, 40, 32, 0.18);
  border-radius: 2px;
  padding: 0.75rem 0.85rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(63, 107, 88, 0.18);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.form-note {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--ink-soft);
}

.form-success {
  display: none;
  padding: var(--space-md);
  background: var(--white);
  border-left: 3px solid var(--sage);
  margin-top: var(--space-md);
}

.form-success.is-shown {
  display: block;
  animation: riseIn 0.5s var(--ease);
}

/* —— Responsive —— */
@media (max-width: 1100px) and (min-width: 901px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .about-grid,
  .life-grid,
  .visit,
  .careers-intro,
  .footer-grid,
  .footer-top,
  .content-grid,
  .split-image,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-top .cta-row {
    justify-content: flex-start;
    margin-top: var(--space-md);
  }

  .card-grid,
  .testimonial-grid,
  .trust-strip,
  .included-grid,
  .care-type-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.has-tour-bar {
    padding-bottom: 4.5rem;
  }

  .tour-bar {
    display: flex;
  }

  .process-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .split-image img {
    max-height: 28rem;
  }

  .about-visual {
    min-height: 20rem;
  }

  .about-visual img {
    min-height: 20rem;
  }

  .life-feature {
    min-height: 20rem;
  }

  .service-item {
    grid-template-columns: 3rem 1fr;
  }

  .service-arrow {
    display: none;
  }

  .role {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 901px) {
  .tour-bar {
    display: none;
  }

  .nav-phone {
    display: inline-flex;
  }
}

@media (max-width: 720px) {
  .menu-toggle {
    display: inline-flex;
  }

  .trust-strip,
  .included-grid,
  .care-type-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm);
    background: rgba(247, 250, 248, 0.98);
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
  }

  .nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a::after {
    display: none;
  }

  .nav-cta {
    margin-top: 0.5rem;
    justify-content: center;
  }

  .stat-row {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .hero-content {
    padding-bottom: var(--space-lg);
  }

  .card-grid,
  .testimonial-grid,
  .process-list,
  .check-list,
  .story {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    min-height: 19rem;
  }

  .page-hero--image {
    min-height: 30rem;
  }
}
