/* ============================================================
   Kim Young Development Inc. - Static Site Styles
   Built for clarity, color accuracy, and crisp typography
   ============================================================ */

:root {
  --brand-gold: #8B6914;
  --brand-gold-light: #b8893a;
  --brand-gold-dark: #6a4f0f;
  --brand-deep: #1d3557;
  --brand-teal: #2a9d8f;
  --brand-warm: #e76f51;
  --brand-cream: #fdfaf3;
  --brand-paper: #ffffff;
  --brand-ink: #13314d;
  --brand-muted: #5a6b7d;
  --brand-line: #e6dcc4;
  --accent-amber: #f4a261;
  --accent-clay: #e76f51;
  --shadow-soft: 0 4px 20px rgba(19, 49, 77, 0.06);
  --shadow-card: 0 8px 30px rgba(19, 49, 77, 0.08);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-pill: 999px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--brand-cream);
  color: var(--brand-ink);
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-synthesis: none;
  font-variant-ligatures: common-ligatures;
  scroll-behavior: smooth;
}

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

a { color: var(--brand-gold-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-warm); }

p { margin: 0 0 1rem; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Playfair Display', 'Georgia', 'Times New Roman', serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--brand-ink);
  margin: 0 0 0.6em;
  line-height: 1.15;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-style: normal;
  font-variant-ligatures: common-ligatures;
  font-feature-settings: "kern" 1, "liga" 1;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.7rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); }
h3 { font-size: 1.25rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: 0.02em; }

/* ====== SDG Rainbow strip ====== */
.sdg-strip {
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  height: 8px;
  width: 100%;
}
.sdg-strip span { display: block; height: 100%; }
.sdg-strip span:nth-child(1)  { background: #e5243b; }
.sdg-strip span:nth-child(2)  { background: #dda63a; }
.sdg-strip span:nth-child(3)  { background: #4c9f38; }
.sdg-strip span:nth-child(4)  { background: #c5192d; }
.sdg-strip span:nth-child(5)  { background: #ff3a21; }
.sdg-strip span:nth-child(6)  { background: #26bde2; }
.sdg-strip span:nth-child(7)  { background: #fcc30b; }
.sdg-strip span:nth-child(8)  { background: #a21942; }
.sdg-strip span:nth-child(9)  { background: #fd6925; }
.sdg-strip span:nth-child(10) { background: #dd1367; }
.sdg-strip span:nth-child(11) { background: #fd9d24; }
.sdg-strip span:nth-child(12) { background: #bf8b2e; }
.sdg-strip span:nth-child(13) { background: #3f7e44; }
.sdg-strip span:nth-child(14) { background: #0a97d9; }
.sdg-strip span:nth-child(15) { background: #56c02b; }
.sdg-strip span:nth-child(16) { background: #00689d; }
.sdg-strip span:nth-child(17) { background: #19486a; }

/* ====== Top bar (logo + nav) ====== */
.topbar {
  background: var(--brand-paper);
  border-bottom: 1px solid var(--brand-line);
  position: static;
  z-index: 50;
  box-shadow: 0 2px 6px rgba(19,49,77,.04);
}
.topbar-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.18rem;
  color: var(--brand-ink);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-block;
  vertical-align: middle;
}
.brand-text { display: inline-flex; align-items: baseline; white-space: nowrap; }
.brand .inc { font-weight: 700; color: var(--brand-gold); }
.brand-sdg {
  height: 32px;
  width: 32px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform .25s ease;
}
.brand:hover .brand-sdg { transform: rotate(15deg) scale(1.05); }

@media (max-width: 980px) {
  .brand { font-size: 1.02rem; }
  .brand-sdg { height: 26px; width: 26px; }
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
  flex: 1;
  justify-content: center;
}
.nav a {
  color: var(--brand-ink);
  font-weight: 500;
  font-size: 0.98rem;
  position: relative;
  padding: 6px 2px;
}
.nav a:hover { color: var(--brand-warm); }
.nav a.active::after,
.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--brand-gold);
  border-radius: 2px;
}

.cta {
  display: inline-flex;
  align-items: center;
  background: var(--brand-gold);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
  white-space: nowrap;
}
.cta:hover { background: var(--brand-gold-light); color: #fff; transform: translateY(-1px); }

/* ====== Hero (home) ====== */
.hero {
  max-width: 1240px;
  margin: 0 auto;
  padding: 64px 28px 80px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero .eyebrow {
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--brand-warm);
  font-weight: 600;
  font-size: 0.82rem;
  margin-bottom: 18px;
}
.hero h1 {
  font-family: 'Cormorant Garamond', 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  font-style: normal;
  font-size: clamp(2.6rem, 5.2vw, 3.85rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--brand-ink);
  margin: 0 0 22px;
  text-rendering: optimizeLegibility;
  font-variant-ligatures: common-ligatures;
  -webkit-font-smoothing: antialiased;
}
.hero p.lead {
  font-size: 1.08rem;
  color: var(--brand-muted);
  max-width: 56ch;
}
.hero-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
  background: #e9e3d2;
  position: relative;
}
.hero-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}

/* ====== Sections ====== */
.section {
  max-width: 1240px;
  margin: 0 auto;
  padding: 70px 28px;
}
.section h2 {
  font-style: normal;
  font-weight: 600;
  margin-bottom: 18px;
}
.section-heading-row {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}
.section-sdg {
  height: 64px;
  width: 64px;
  border-radius: 50%;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transform: rotate(-10deg);
  transition: transform .3s ease;
}
.section-heading-row:hover .section-sdg { transform: rotate(0deg) scale(1.05); }

@media (max-width: 700px) {
  .section-sdg { height: 44px; width: 44px; }
}
.section .lead {
  font-size: 1.05rem;
  color: var(--brand-muted);
  max-width: 70ch;
}
.section--alt { background: #fbf6ea; }

/* ====== SDG Colored Pill Buttons ====== */
.sdg-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.sdg-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.85rem;
  color: #fff;
  letter-spacing: 0.01em;
  border: 0;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sdg-pill:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.sdg-pill.s1 { background: #e5243b; }
.sdg-pill.s2 { background: #dda63a; }
.sdg-pill.s3 { background: #4c9f38; }
.sdg-pill.s4 { background: #c5192d; }
.sdg-pill.s5 { background: #ff3a21; }
.sdg-pill.s6 { background: #26bde2; }
.sdg-pill.s7 { background: #fcc30b; color: #1d3557; }
.sdg-pill.s8 { background: #a21942; }
.sdg-pill.s9 { background: #fd6925; }
.sdg-pill.s10 { background: #dd1367; }
.sdg-pill.s11 { background: #fd9d24; }
.sdg-pill.s12 { background: #bf8b2e; }
.sdg-pill.s13 { background: #3f7e44; }
.sdg-pill.s14 { background: #0a97d9; }
.sdg-pill.s15 { background: #56c02b; }
.sdg-pill.s16 { background: #00689d; }
.sdg-pill.s17 { background: #19486a; }

/* ====== Cards / Grids ====== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 26px;
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-soft);
}
.card h3 { font-family: 'Cormorant Garamond', 'Georgia', serif; font-weight: 600; font-size: 1.4rem; }
.card .icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  font-size: 1.05rem;
}

/* ====== Partners grid (refined layout for /pages/who-i-work-with.html) ====== */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 8px;
}
.partner-card {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 30px 26px 26px;
  border: 1px solid var(--brand-line);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.partner-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}
.partner-num {
  position: absolute;
  top: 18px; right: 20px;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--brand-gold-dark);
  letter-spacing: 0.04em;
}
.partner-sector {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--brand-warm), var(--brand-gold));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}
.partner-card h3 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  font-size: 1.32rem;
  line-height: 1.2;
  margin: 0 0 10px;
  color: var(--brand-ink);
}
.partner-card p {
  font-size: 0.96rem;
  color: var(--brand-muted);
  line-height: 1.6;
  margin: 0 0 18px;
  flex: 1;
}
.partner-tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px dashed var(--brand-line);
  padding-top: 14px;
}
.partner-tags li {
  background: var(--brand-cream);
  color: var(--brand-ink);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--brand-line);
  margin: 0;
}

@media (max-width: 980px) {
  .partners-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .partners-grid { grid-template-columns: 1fr; }
}

/* ====== Lime Cottage / "Where Our Clients Stay" block ====== */
.stay-card {
  margin: 48px auto 12px;
  background: linear-gradient(135deg, #fdfaf3 0%, #f4e9c8 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--brand-line);
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 0;
  align-items: stretch;
}
.stay-photo {
  position: relative;
  min-height: 320px;
  background: #b9d3a8;
}
.stay-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.stay-content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.stay-kicker {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--brand-teal), #0a97d9);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(42,157,143,.25);
}
.stay-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', 'Georgia', serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin: 0 0 14px;
  color: var(--brand-ink);
  line-height: 1.15;
}
.stay-body {
  font-size: 1rem;
  color: #20384e;
  margin: 0 0 12px;
  line-height: 1.6;
}
.stay-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  background: var(--brand-gold);
  color: #fff;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 12px;
  transition: background .2s ease, transform .2s ease;
}
.stay-cta:hover {
  background: var(--brand-gold-light);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 980px) {
  .stay-card { grid-template-columns: 1fr; }
  .stay-photo { min-height: 240px; aspect-ratio: 4/3; }
  .stay-photo--right { display: block !important; }
}
@media (max-width: 1200px) {
  .stay-card { grid-template-columns: 1fr 1.2fr; }
  .stay-photo--right { display: block !important; }
}

/* ====== Two-column with bleeding image ====== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.two-col .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/3;
  background: #eee;
}
.two-col .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ====== Footer ====== */
footer.site-footer {
  background: var(--brand-ink);
  color: #d8dde6;
  padding: 56px 28px 30px;
}
footer .footer-inner {
  max-width: 1240px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px;
}
footer h4 { color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; margin: 0 0 12px; letter-spacing: 0.04em; text-transform: uppercase; }
footer a { color: #cfd6e1; }
footer a:hover { color: #fff; }
footer .brand { color: #fff; font-size: 1.1rem; }
footer .col p, footer .col li { color: #bcc4d2; font-size: 0.95rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer ul li { margin: 6px 0; }
footer .copyright { max-width: 1240px; margin: 36px auto 0; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); color: #8d97a8; font-size: 0.85rem; }

/* ====== Sub-page hero (Reparative Justice) ====== */
.subhero {
  background: linear-gradient(135deg, #fdfaf3 0%, #f4e9c8 100%);
  padding: 40px 28px 36px;           /* tighter than 70 28 56 */
  border-bottom: 1px solid var(--brand-line);
}
.subhero-inner { max-width: 1240px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.subhero-inner > div:first-child { text-align: left !important; align-items: flex-start !important; }
.subhero-inner > div:first-child h1,
.subhero-inner > div:first-child p,
.subhero-inner > div:first-child .kicker,
.subhero-inner > div:first-child .lead { text-align: left !important; align-self: flex-start !important; }
.subhero h1 { font-style: normal; text-align: left !important; margin-left: 0 !important; padding-left: 0 !important; }
.subhero p.kicker { font-family: 'Inter', sans-serif; color: var(--brand-warm); text-transform: uppercase; font-weight: 600; letter-spacing: 0.16em; font-size: 0.82rem; margin-bottom: 14px; }
.subhero .photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  aspect-ratio: 16/9;
  background: #ccc;
}
.subhero .photo img { width: 100%; height: 100%; object-fit: cover; }

/* ====== Page content (long-form) ====== */
.page-body {
  max-width: 980px;
  margin: 0 auto;
  padding: 36px 28px 28px;           /* tighter than 60 28 */
}
.page-body h2 { margin-top: 38px; font-weight: 600; }
.page-body h3 { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: 1.4rem; margin-top: 28px; }
.page-body p { font-size: 1.04rem; color: #20384e; }
.page-body ul { padding-left: 1.2em; }
.page-body li { margin: 8px 0; }
.callout {
  background: #fff;
  border-left: 4px solid var(--brand-gold);
  padding: 22px 26px;
  border-radius: var(--radius-md);
  margin: 28px 0;
  box-shadow: var(--shadow-soft);
}

.bleed-photo {
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 36px 0;
  box-shadow: var(--shadow-card);
}
.bleed-photo img { width: 100%; height: auto; display: block; }

/* ====== Mobile ====== */
@media (max-width: 980px) {
  .hero, .subhero-inner, .two-col { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  footer .footer-inner { grid-template-columns: 1fr; }
  .topbar-inner { flex-wrap: wrap; }
  .nav { order: 3; width: 100%; justify-content: flex-start; gap: 18px; flex-wrap: wrap; padding-top: 8px; border-top: 1px solid var(--brand-line); margin-top: 8px; }
  .cta { order: 2; }
}

/* ====== Lead-bold (first two words larger) ====== */
.lead-bold {
  font-family: 'Cormorant Garamond', 'Playfair Display', 'Georgia', serif;
  font-weight: 700;
  font-size: 1.42rem;
  color: var(--brand-ink);
  letter-spacing: -0.005em;
  display: inline;
}

footer h4 a.footer-explore-link{color:#fff;text-decoration:none;}
footer h4 a.footer-explore-link:hover{color:var(--brand-gold-light);}

/* SDG wheel: hidden everywhere on the site */
.brand-sdg,.section-sdg,.speaking-sdg,.sdg-figure{display:none !important;}

/* Practice Built page — newspaper-style 2-column alignment (image aligned with H1) */
.subhero--practice{padding:28px 28px 6px;}
.subhero-inner--practice{
  max-width:1240px;margin:0 auto;
  display:grid;grid-template-columns:1.05fr 0.95fr;
  gap:36px;align-items:center;
}
.subhero-text--practice{display:flex;flex-direction:column;align-items:flex-start;text-align:left;}
.practice-h1{
  font-family:'Cormorant Garamond','Playfair Display','Georgia',serif;
  font-size:clamp(1.9rem,3.2vw,2.6rem);font-weight:600;line-height:1.12;
  color:var(--brand-ink);margin:0 0 14px;text-align:left;align-self:flex-start;padding:0;
}
.photo--feature-practice{
  border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-card);
  aspect-ratio:3/4;background:#ccc;width:100%;max-width:460px;justify-self:end;
  margin-top:0;
}
.photo--feature-practice img{width:100%;height:100%;object-fit:cover;object-position:50% 18%;display:block;}
.practice-lead{margin:10px 0 18px !important;}

@media (max-width:980px){
  .subhero-inner--practice{grid-template-columns:1fr;gap:18px;align-items:start;}
  .photo--feature-practice{max-width:100%;justify-self:stretch;}
}
/* v17 fix: render "Destination & Development Tourism Strategies" in title case */
.nav-item-titlecase,
.footer .nav-item-titlecase,
ul .nav-item-titlecase,
.footer ul li.nav-item-titlecase,
.footer ul li.nav-item-titlecase a,
footer ul li.nav-item-titlecase a{
  text-transform:none !important;
  letter-spacing:0 !important;
  text-decoration:none;
  color:#fff;
  font-family:'Inter',sans-serif;
  font-weight:500;
}
.footer ul li.nav-item-titlecase a:hover{ color:var(--brand-gold-light); }
/* v22 fix: tall portrait photos were cut at the torso; show head + body */
.hero-portrait img,
.photo img,
.two-col .photo img,
.bleed-photo img,
.subhero .photo img,
.stay-photo img {
  object-position: center top !important;
}
/* v23 hardening: tall portraits always anchor at the top; bottom can crop */
.hero-portrait img,
.photo > img,
.photo img,
.two-col .photo img,
.bleed-photo img,
.subhero .photo img,
.subhero .photo > img {
  object-fit: cover !important;
  object-position: center 8% !important;   /* anchor near top, leave a tiny margin */
  width: 100% !important;
  height: 100% !important;
}

/* v29: Lime Cottage — both photos render full-bleed at their natural aspect ratio.
   Champagne photo is portrait (AR 0.796); cottage-with-fence is landscape (AR 1.333).
   We do NOT lock .stay-photo to an aspect-ratio — that letterboxed the landscape shot.
   Each photo container stretches to match the tallest column (the text), and
   object-fit: cover crops each photo to fill its box, so both tiles share a single
   visual baseline with no whitespace bands. */
.stay-section { max-width: 1240px; margin: 28px auto 28px; padding: 0 24px; box-sizing: border-box; }
.stay-section-head { text-align: left; margin: 0 0 14px; padding: 0 6px; }
.stay-section-head .eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, var(--brand-teal), #0a97d9);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 8px;
}
.stay-section-title {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  color: var(--brand-ink);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.4vw, 1.95rem);
  margin: 0;
  line-height: 1.12;
  letter-spacing: -0.005em;
}
.stay-card {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--brand-line);
  background: #20384e;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 0;
  align-items: stretch;
}
.stay-photo {
  position: relative;
  background: #b9d3a8;
  min-height: 280px;
  overflow: hidden;
}
.stay-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.stay-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;          /* Stack: pill (Where Our Clients Stay) ABOVE the H3 Lime Cottage */
  align-items: flex-start;
  justify-content: flex-end;
  padding: 28px 24px 28px;
  gap: 10px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(15,30,48,0.78) 100%);
  text-align: left;
}
.stay-overlay .eyebrow { margin: 0; } /* override any default margin pushing them sideways */
.stay-overlay h3 { margin: 0; }
.stay-overlay .pill { margin: 0 0 12px; }
.stay-overlay .stay-kicker { margin-bottom: 14px; }
.stay-overlay h3 {
  font-family: 'Cormorant Garamond','Playfair Display',serif;
  color: #fff;
  font-size: clamp(1.85rem, 3.5vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0;
  line-height: 1.12;
}
.stay-content {
  padding: 18px 22px 18px;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
  justify-content: center;
}
.stay-content .eyebrow {
  display: inline-block;
  align-self: flex-start;
  background: linear-gradient(135deg, var(--brand-teal), #0a97d9);
  color: #fff;
  font-family: 'Inter',sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 4px;
}
.stay-content h4 {
  font-family: 'Cormorant Garamond','Playfair Display',serif;
  color: var(--brand-ink);
  font-size: clamp(1.25rem,2.0vw,1.5rem);
  font-weight: 600;
  margin: 0;
  line-height: 1.15;
  text-align: left;
}
.stay-content p {
  color: var(--brand-muted);
  font-size: 0.96rem;
  line-height: 1.5;
  margin: 0;
  max-width: 60ch;
  text-align: left;
}
.stay-content .btn-cta { align-self: flex-start; margin-top: 6px; }

@media (max-width: 720px) {
  .stay-card { grid-template-columns: 1fr; }
  .stay-photo { min-height: 220px; }
  .stay-photo--right { display: block !important; }
  .stay-content { padding: 18px 20px 18px; }
}
@media (max-width: 1100px) {
  .stay-card { grid-template-columns: 1fr 1.1fr; }
  .stay-photo--right { display: block !important; }
}

/* Featured Partners strip on the Partners page */
.featured-partners {
  margin: 60px auto 28px;
  max-width: 1100px;
  padding: 0 28px;
  box-sizing: border-box;
}
.featured-partners-heading {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--brand-ink);
  margin: 0 0 8px;
  text-align: center;
  letter-spacing: -0.005em;
}
.featured-partners-intro {
  text-align: center;
  max-width: 62ch;
  margin: 0 auto 26px;
  color: var(--brand-muted);
  font-size: 1.02rem;
  line-height: 1.55;
}
.featured-partners-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.featured-partner-card {
  background: #fff;
  border: 1px solid var(--brand-line);
  border-radius: var(--radius-lg);
  padding: 22px 20px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  color: var(--brand-ink);
  box-shadow: var(--shadow-card);
}
.featured-partner-card:hover {
  transform: translateY(-2px);
  border-color: var(--brand-gold);
  box-shadow: 0 18px 38px rgba(13,22,38,.10);
}
.featured-partner-name {
  font-family: 'Cormorant Garamond', 'Playfair Display', serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--brand-ink);
}
.featured-partner-meta {
  font-family: 'Inter', sans-serif;
  font-size: 0.74rem;
  color: var(--brand-muted);
  text-transform: uppercase;
  letter-spacing: 0.10em;
  font-weight: 600;
}
.featured-partner-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-gold), var(--brand-gold-light));
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  align-self: center;
}
@media (max-width: 960px) {
  .featured-partners-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .featured-partners-grid { grid-template-columns: 1fr; }
}

/* v26 fix: make the hero photo box a portrait (3:4) AND anchor image at top.
   The previous attempts only pinned object-position to "center 8%" inside a
   4:3 (LANDSCAPE) box — that means a 687x1024 portrait gets cover-cropped
   across the full box height anyway, leaving the head clipped even when the
   image anchor is moved up. Switching the box to 3/4 lets the tall portrait
   fit edge-to-edge without ANY cropping. */
.two-col .photo,
.photo {
  aspect-ratio: 3/4 !important;
}
.subhero .photo { aspect-ratio: 16/9 !important; }   /* landscape subhero is correct */
/* .stay-photo removed from forced-aspect-ratio overrides — per-photo natural ratio wins */
/* .hero-portrait removed from this block (orphaned rule, no longer selected) */

/* v28 fix: hero headshot photos (portrait_white_suit 687x1024, portrait_pants
   765x1024) were still cropping the chin under object-fit:cover. Pin the box
   to the photo's exact portrait ratio (2/3 ~= 0.67) and switch to
   object-fit:contain so the FULL image — face AND chin AND hands — renders
   edge-to-edge without any cover-crop, on every viewport. */
.photo--headshot,
.subhero .photo--headshot {
  aspect-ratio: 2/3 !important;       /* matches portrait-white-suit/pants; larger than office */
  background: #fdfaf3;               /* blends with surrounding cream subhero */
  padding: 0;
}
.photo--headshot img,
.subhero .photo--headshot img {
  object-fit: cover !important;       /* full coverage; anchored high to keep face/chin */
  object-position: 50% 22% !important; /* face sits at upper-third of every portrait */
  width: 100% !important;
  height: 100% !important;
}

.two-col .photo img,
.two-col .photo > img,
.photo > img,
.photo img,
.hero-portrait img {
  object-fit: cover !important;
  object-position: 50% 0% !important;        /* absolutely top-of-image */
}

/* Reparative Justice portrait — full face visible down to chin, with shoulders in frame */
/* v62: Reparative Justice portrait — NEVER crop, NEVER distort.
   Use object-fit:contain so the full subject (hair, chin, shoulders, hands) is always visible,
   centred within a clean cream frame. No top headroom crop, no chin cut. */
/* v63: Reparative Justice portrait — match home hero (portrait.jpg, square AR 1.0).
   Aspect 4/5 with object-fit:cover and object-position:50% 22% keeps face centered.
   Stable across tall/short viewports; never crops hair top, never crops chin. */
/* v64: Reparative Justice portrait — original photo restored.
   Image is 687x1024 (AR 0.671); aspect-ratio:2/3 matches native frame.
   object-fit:cover with object-position:50% 18% keeps hair on top,
   glasses + smile centered, shoulders + neck scarf visible at bottom. */
.rj-portrait{display:block;border:none !important;box-shadow:var(--shadow-card);border-radius:var(--radius-lg);background:#fdfaf3;max-width:380px;width:100%;margin-left:auto;aspect-ratio:2/3;overflow:hidden;}
.rj-portrait img{width:100% !important;height:100% !important;object-fit:cover !important;object-position:50% 6% !important;display:block;}
@media (max-width:980px){
  .rj-portrait{max-width:320px;margin:0 auto;}
}




/* v51: Reparative Justice text block — clean numbered steps, no full-width color bars */
.rj-lead{font:600 14px/1.4 'Inter',sans-serif;text-transform:uppercase;letter-spacing:.12em;color:#5b3b0e;margin:18px 0 12px}
.rj-steps{list-style:none;padding:0;margin:6px 0 28px;counter-reset:none;display:grid;grid-template-columns:1fr;gap:14px;max-width:780px;border-left:3px solid #c9a26a;padding-left:18px}
.rj-steps li{display:grid;grid-template-columns:40px 1fr;gap:14px;align-items:start;background:transparent;padding:6px 0}
.rj-steps .num{display:flex;align-items:center;justify-content:center;width:34px;height:34px;border-radius:50%;background:#fdfaf3;border:1.5px solid #c9a26a;color:#5b3b0e;font:700 14px Georgia,serif}
.rj-steps strong{display:block;font:600 1.02rem/1.3 Georgia,serif;color:#1a1a1a;margin-bottom:4px}
.rj-steps p{margin:0;font-size:.95rem;line-height:1.55;color:#333}
.rj-pull{margin:18px 0 8px;padding:14px 18px;border-left:3px solid #c9a26a;background:#fdfaf3;color:#3a2a14;font:italic 600 1rem/1.5 Georgia,serif;border-radius:0 6px 6px 0;max-width:780px}
@media (max-width:760px){.rj-steps{grid-template-columns:1fr}}

.rj-cta-box{margin:36px auto 8px;padding:30px 28px;text-align:center;background:#fff;border:1px solid #c9a26a;border-radius:10px;max-width:780px;box-shadow:0 4px 18px rgba(0,0,0,.04)}
.rj-cta-box h3{font:700 22px/1.25 Georgia,serif;color:#1a1a1a;margin:0 0 10px}
.rj-cta-box p{max-width:60ch;margin:0 auto 18px;color:#444;font-size:1rem;line-height:1.55}
.rj-cta-btn{display:inline-block;background:#0e1d3a;color:#fff;padding:14px 28px;border-radius:6px;text-decoration:none;font:600 14px Inter,sans-serif;letter-spacing:.02em}
.rj-cta-btn:hover{background:#d4a437;color:#0e1d3a}
.rj-kicker{display:inline-block;background:#fff;color:#a96a17;text-transform:uppercase;letter-spacing:.14em;font:600 11px Inter,sans-serif;padding:6px 12px;border-radius:4px;border:1px solid #c9a26a}

/* v60: Reparative Justice body — completely flat editorial text, no color decorations */
.clean-h2{font-family:Georgia,serif;font-weight:700;font-size:1.5rem;line-height:1.25;color:#14304b;margin:40px 0 14px;padding:0;background:none !important;-webkit-background-clip:initial !important;background-clip:initial !important;-webkit-text-fill-color:#14304b !important;border:none !important;letter-spacing:-.005em}
.clean-cta{margin:36px auto 8px;padding:30px 28px;text-align:center;background:#fdfaf3;border:1px solid #c9a26a;border-radius:10px;max-width:820px;box-shadow:0 4px 18px rgba(0,0,0,.05)}
.clean-cta h3{font:700 22px/1.25 Georgia,serif;color:#14304b;margin:0 0 10px}
.clean-cta p{max-width:60ch;margin:0 auto 16px;color:#3b3b3b;font-size:1rem;line-height:1.55}
.clean-cta .clean-btn{display:inline-block;background:#0e1d3a;color:#fff;padding:14px 26px;border-radius:6px;text-decoration:none;font:600 14px Inter,sans-serif}
