/* SelectNursing — shared styles */

:root {
  --navy:        #101E36;
  --navy-deep:   #0A1526;
  --navy-soft:   #1E3155;
  --ivory:       #FBFAF7;
  --paper:       #FFFFFF;
  --mist:        #E4E8EF;
  --rule:        #C9A96A;   /* champagne — the only accent */
  --ink:         #2A3242;
  --ink-soft:    #5C6577;

  --display: "Cormorant Garamond", "Times New Roman", serif;
  --body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --measure: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--body);
  background: var(--ivory);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Type ---------- */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: var(--navy);
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  font-family: var(--body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--rule);
  margin-bottom: 20px;
}

.lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 58ch;
}

/* Signature: the champagne rule that draws itself in */
.rule {
  height: 1px;
  width: 0;
  background: var(--rule);
  margin: 26px 0 34px;
  transition: width 1.1s cubic-bezier(.2,.7,.2,1);
}
.rule.in { width: 72px; }
.rule.wide.in { width: 140px; }
.rule.center { margin-left: auto; margin-right: auto; }

/* ---------- Nav ---------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,250,247,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mist);
}
.nav-in {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: var(--display);
  font-size: 1.8rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.brand span { color: var(--rule); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  list-style: none;
}
.nav-links a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--navy);
  border-color: var(--rule);
}

.nav-phone {
  text-transform: none !important;
  letter-spacing: 0.02em !important;
  font-weight: 600;
  color: var(--navy) !important;
  border-bottom: 1px solid transparent !important;
}
.nav-phone:hover { color: var(--rule) !important; border-color: transparent !important; }

.nav-cta {
  border: 1px solid var(--navy) !important;
  border-radius: 999px;
  padding: 9px 20px !important;
  color: var(--navy) !important;
  transition: background .25s, color .25s;
}
.nav-cta:hover { background: var(--navy); color: var(--ivory) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  font-size: 1.4rem;
  color: var(--navy);
  cursor: pointer;
  line-height: 1;
}

/* ---------- Hero ---------- */

.hero {
  background: var(--navy);
  color: var(--ivory);
  padding: 130px 0 120px;
  position: relative;
  overflow: hidden;
}

/* hero photograph, held back so type stays dominant */
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 34%;
  filter: grayscale(12%) contrast(1.02) saturate(1.03);
  opacity: 0.52;
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
    var(--navy) 0%,
    var(--navy) 34%,
    rgba(16,30,54,0.90) 56%,
    rgba(16,30,54,0.62) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(circle at 78% 18%, rgba(201,169,106,0.10), transparent 58%);
  pointer-events: none;
}
.hero h1 { color: var(--ivory); max-width: 15ch; }
.hero .eyebrow { color: var(--rule); }
.hero .lede { color: rgba(251,250,247,0.74); margin-top: 30px; }
.hero-inner { position: relative; z-index: 2; max-width: 760px; }

.hero-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 46px;
  margin-top: 62px;
  padding-top: 34px;
  border-top: 1px solid rgba(251,250,247,0.16);
  position: relative;
  z-index: 2;
}
.hero-sub div { min-width: 150px; }
.hero-sub dt {
  font-family: var(--display);
  font-size: 1.7rem;
  color: var(--rule);
  margin-bottom: 4px;
}
.hero-sub dd {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(251,250,247,0.6);
}

/* page banner (interior pages) */
.banner {
  background: var(--navy);
  color: var(--ivory);
  padding: 100px 0 84px;
}
.banner h1 { color: var(--ivory); max-width: 18ch; }
.banner .lede { color: rgba(251,250,247,0.72); margin-top: 24px; }

/* ---------- Sections ---------- */

.section { padding: 108px 0; }
.section--paper { background: var(--paper); }
.section--navy { background: var(--navy); color: var(--ivory); }
.section--navy h2 { color: var(--ivory); }
.section--navy .lede { color: rgba(251,250,247,0.72); }

.split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 76px;
  align-items: start;
}

.prose p + p { margin-top: 20px; }

/* Care "How care begins" — image stretches to align its bottom with the prose */
.split--fill { align-items: stretch; }
.split--fill > div:first-child { display: flex; flex-direction: column; }
.split--fill > div:first-child .figure {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 360px;
}

/* ---------- Care list ---------- */

.care-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 0;
  border-top: 1px solid var(--mist);
}
.care-grid li {
  list-style: none;
  border-bottom: 1px solid var(--mist);
  padding: 20px 4px;
  font-size: 1rem;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 14px;
  transition: color .25s;
}
.care-grid li::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 1px;
  background: var(--rule);
  transform: translateY(-4px);
  transition: width .3s;
}
.care-grid li:hover { color: var(--navy); }
.care-grid li:hover::before { width: 16px; }

/* ---------- Pillars ---------- */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1px;
  background: rgba(251,250,247,0.14);
  margin-top: 56px;
}
.pillar {
  background: var(--navy);
  padding: 40px 34px 44px;
}
.pillar h3 { color: var(--ivory); margin-bottom: 14px; font-size: 1.4rem; }
.pillar p { color: rgba(251,250,247,0.66); font-size: 0.97rem; }
.pillar .tag {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rule);
  display: block;
  margin-bottom: 18px;
}

/* ---------- Quotes ---------- */

.quote {
  border-left: 1px solid var(--rule);
  padding: 6px 0 6px 34px;
  max-width: 62ch;
}
.quote p {
  font-family: var(--display);
  font-size: clamp(1.3rem, 2.1vw, 1.7rem);
  line-height: 1.5;
  color: var(--navy);
}
.quote cite {
  display: block;
  margin-top: 22px;
  font-family: var(--body);
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.section--navy .quote p { color: var(--ivory); }
.section--navy .quote cite { color: rgba(251,250,247,0.6); }

.quote-stack { display: grid; gap: 78px; }

/* ---------- Founder ---------- */

.founder-card {
  background: var(--paper);
  border: 1px solid var(--mist);
  padding: 40px 36px;
}
.founder-card .name {
  font-family: var(--display);
  font-size: 1.9rem;
  color: var(--navy);
}
.founder-card .role {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rule);
  margin-top: 8px;
}
.founder-card a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--mist); }
.founder-card a:hover { border-color: var(--rule); }
.founder-meta { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--mist); font-size: 0.95rem; color: var(--ink-soft); }

/* ---------- Images ---------- */

.figure {
  position: relative;
  overflow: hidden;
  background: var(--navy);
}
.figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.04);
  transition: filter 1.2s cubic-bezier(.2,.7,.2,1), transform 1.4s cubic-bezier(.2,.7,.2,1);
}
.figure:hover img,
.figure.in img {
  filter: grayscale(0%) contrast(1);
}
.figure:hover img { transform: scale(1.02); }

/* thin champagne inset frame */
.figure::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201,169,106,0.55);
  pointer-events: none;
}

.figure--portrait { aspect-ratio: 4 / 5; }
.figure--wide { aspect-ratio: 16 / 11; }
.figure--pano { aspect-ratio: 21 / 9; }

.figure figcaption {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 16px;
}

/* portrait positioned inside the founder card */
.founder-card .figure {
  margin: -40px -36px 30px;
}
.founder-card .figure img { object-position: center 22%; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 38px;
  border-radius: 999px;
  border: 1px solid var(--navy);
  color: var(--navy);
  background: transparent;
  transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--navy); color: var(--ivory); }
.btn--light { border-color: var(--rule); color: var(--rule); }
.btn--light:hover { background: var(--rule); color: var(--navy); border-color: var(--rule); }
.btn--solid { background: var(--navy); color: var(--ivory); }
.btn--solid:hover { background: var(--navy-soft); border-color: var(--navy-soft); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}
.contact-line {
  display: block;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ivory);
  text-decoration: none;
  padding: 22px 0;
  border-bottom: 1px solid rgba(251,250,247,0.16);
  transition: color .25s, padding-left .25s;
}
.contact-line:hover { color: var(--rule); padding-left: 10px; }
.contact-line small {
  display: block;
  font-family: var(--body);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251,250,247,0.5);
  margin-bottom: 8px;
}

.regions {
  list-style: none;
  border-top: 1px solid rgba(251,250,247,0.16);
}
.regions li {
  padding: 15px 0;
  border-bottom: 1px solid rgba(251,250,247,0.16);
  font-size: 0.95rem;
  color: rgba(251,250,247,0.74);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.regions span { color: var(--rule); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; }

/* form */
.form { display: grid; gap: 22px; }
.field label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--mist);
  padding: 14px 16px;
  border-radius: 2px;
  transition: border-color .25s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--rule);
}
.field textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: 0.85rem; color: var(--ink-soft); }

/* ---------- CTA strip ---------- */

.cta-strip {
  background: var(--navy-deep);
  color: var(--ivory);
  padding: 92px 0;
  text-align: center;
}
.cta-strip h2 { color: var(--ivory); max-width: 20ch; margin: 0 auto; }
.cta-strip .lede { color: rgba(251,250,247,0.7); margin: 22px auto 38px; text-align: center; }

/* ---------- Footer ---------- */

.foot {
  background: var(--navy);
  color: rgba(251,250,247,0.55);
  padding: 56px 0 44px;
  border-top: 1px solid rgba(251,250,247,0.12);
  font-size: 0.85rem;
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
  align-items: center;
}
.foot a { color: rgba(251,250,247,0.72); text-decoration: none; }
.foot a:hover { color: var(--rule); }
.foot-links { display: flex; gap: 26px; flex-wrap: wrap; }

/* ---------- Reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .section { padding: 76px 0; }
  .hero { padding: 92px 0 84px; }

  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--mist);
    padding: 8px 32px 22px;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 14px 0; border-bottom: 1px solid var(--mist); }
  .nav-cta { margin-top: 14px; text-align: center; }
  .nav-in { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .rule { width: 72px; }
  .rule.wide { width: 140px; }
}

:focus-visible {
  outline: 2px solid var(--rule);
  outline-offset: 3px;
}
