/* ============================================================================
   PROJECT HEAR ME OUT! — site stylesheet (v2, professional editorial theme)
   Brand tokens still come from _data/design.yml (Master Admin Binder §2.1);
   they are applied with restraint: navy ink on warm paper, serif display
   headings, uppercase letter-spaced labels, hairline borders, flat colour.
   One container width (--wrap), one section rhythm (--sec), one button
   padding (--btn-pad) — overridable from the visual editor's Design page.
   ============================================================================ */

:root {
  --navy:    #1d2b53;
  --cream:   #FFF9EC;
  --yellow:  #FFD23F;
  --teal:    #2EC4B6;
  --coral:   #FF6B6B;
  --blue:    #7EC8E3;
  --grey:    #4F5870;
  --soft:    #FFFCF1;
  --deep:    #143A7A;
  --disp: 'Fraunces', Georgia, 'Times New Roman', serif;
  --body: 'Manrope', 'Segoe UI', system-ui, sans-serif;
  --hair:  rgba(29, 43, 83, 0.16);
  --hairs: rgba(29, 43, 83, 0.08);
  --sec: clamp(60px, 8vw, 104px);
  --nav-h: 72px;
  --wrap: 1140px;
  --btn-pad: 14px 28px;
  --shadow: 0 18px 40px rgba(20, 43, 83, 0.10);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body);
  color: var(--grey);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
::selection { background: var(--navy); color: var(--cream); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--disp);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.015em;
  margin: 0 0 12px;
  line-height: 1.14;
}
h1 { font-size: clamp(2.4rem, 4.6vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.3rem; line-height: 1.25; letter-spacing: -0.01em; }
h4 { font-size: 11px; font-family: var(--body); font-weight: 800; text-transform: uppercase; letter-spacing: 0.2em; }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
p  { font-size: 16px; margin: 0 0 12px; }

a { color: var(--navy); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--deep); }

.skip-link {
  position: absolute; left: -9999px;
  background: var(--navy); color: var(--cream);
  padding: 10px 16px; border-radius: 999px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 999; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad { padding: var(--sec) 0; }
.section-pad .container > div:first-child { border-top: 0; }

.section-head { max-width: 720px; margin: 0 0 clamp(24px, 3.4vw, 44px); }
.kicker, .eyebrow {
  display: inline-flex; align-items: center;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.22em;
  color: rgba(29, 43, 83, 0.55); font-weight: 800; margin-bottom: 14px;
}
.kicker::before, .eyebrow::before {
  content: ''; display: inline-block; width: 7px; height: 7px;
  background: var(--coral); margin-right: 12px; flex: 0 0 auto;
}
.section-head h2 { margin: 0 0 0; }
.section-head p { color: rgba(29, 43, 83, 0.72); margin: 14px 0 0; max-width: 58ch; }

.page-hero { padding: clamp(48px, 7vw, 84px) 0 clamp(20px, 3vw, 32px); }
.page-hero h1 { max-width: 20ch; }

/* ============================================================
   MEDIA SYSTEM — photo cards, hero image, placeholders
   ============================================================ */
.media-wrap {
  position: relative; overflow: hidden;
  background: rgba(29, 43, 83, 0.06);
  border: 1px solid var(--hairs);
  border-radius: var(--r-m, 14px);
}
.media-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.2, 0.75, 0.25, 1);
}
.photo-card:hover .media-wrap img, a:hover .media-wrap img { transform: scale(1.03); }
.media-ph {
  width: 100%; height: 100%; min-height: 220px;
  display: grid; place-items: center;
  font-family: var(--disp); font-style: italic;
  color: rgba(29, 43, 83, 0.4); font-size: 0.95rem;
  text-align: center; padding: 16px;
}
.r-wide { aspect-ratio: 21 / 9; }
.r-32   { aspect-ratio: 3 / 2; }
.r-sq   { aspect-ratio: 1 / 1; }
@media (max-width: 760px) { .r-wide { aspect-ratio: 16 / 9; } }

/* ============================================================
   HEADER + NAV — light, sticky, editorial
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 90;
  background: rgba(255, 249, 236, 0.93);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--hair);
}
.header-bar {
  display: flex; align-items: center; gap: 14px;
  min-height: var(--nav-h);
}
.logo-wrap img {
  width: 44px; height: 44px; border-radius: 50%;
  background: #fff; padding: 2px; flex-shrink: 0;
  border: 1px solid var(--hairs);
}
.brand-block .brand-name {
  font-family: var(--disp); font-weight: 600;
  font-size: 17px; letter-spacing: 0; line-height: 1.1;
  color: var(--navy);
}
.brand-block .brand-tag {
  font-size: 10px; font-weight: 700; color: rgba(29, 43, 83, 0.55);
  margin-top: 3px; letter-spacing: 0.18em; text-transform: uppercase;
}
.menu-toggle {
  background: #fff; color: var(--navy); border: 1px solid var(--hair);
  padding: 8px 16px; border-radius: 999px; font-weight: 800; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  font-family: var(--body);
  display: none; margin-left: auto; cursor: pointer;
}
.primary { margin-left: auto; display: flex; gap: clamp(16px, 2.4vw, 30px); flex-wrap: nowrap; align-items: center; }
.primary a {
  color: rgba(29, 43, 83, 0.62); padding: 6px 2px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.primary a:hover { color: var(--navy); }
.primary a.active { color: var(--navy); border-bottom-color: var(--coral); }
.site-header .nav-cta { padding: 10px 20px; font-size: 11px; }

@media (max-width: 1000px) {
  .menu-toggle { display: inline-block; }
  .nav-cta { display: none; }
  .primary {
    display: none; flex-basis: 100%; flex-direction: column;
    gap: 4px; margin: 4px 0 14px; flex-wrap: wrap; align-items: stretch;
    background: #fff; border: 1px solid var(--hairs);
    border-radius: var(--r-m, 14px); padding: 10px;
  }
  .primary.open { display: flex; }
  .primary a { padding: 10px 14px; border-bottom: 0; border-radius: 10px; }
  .primary a:hover, .primary a.active { background: var(--cream); }
}

/* ============================================================
   HERO — editorial, left-aligned, wide photo
   ============================================================ */
.hero { padding: clamp(44px, 6vw, 84px) 0 clamp(20px, 3vw, 36px); }
.hero .eyebrow { margin-bottom: 18px; }
.hero h1 { max-width: 18ch; margin: 0 0 20px; }
.hero .tagline {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: rgba(29, 43, 83, 0.78);
  margin: 0; max-width: 56ch;
}
.hero-actions {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  margin-top: 30px;
}
.hero-media { margin-top: clamp(32px, 5vw, 56px); }

/* ============================================================
   BUTTONS — uppercase letter-spaced pills, flat colour
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: var(--btn-pad); border-radius: 999px;
  font-weight: 800; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.25s, box-shadow 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--cream); }
.btn-primary:hover { background: var(--deep); color: var(--cream); box-shadow: var(--shadow); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--cream); border-color: rgba(255, 249, 236, 0.45); }
.btn-ghost:hover { background: var(--cream); color: var(--navy); }
.site-header .nav-cta { background: var(--yellow); color: var(--navy); }
.site-header .nav-cta:hover { background: var(--navy); color: var(--yellow); }

/* ============================================================
   CARDS
   ============================================================ */
.cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: #fff;
  padding: 26px 24px;
  border-radius: var(--r-m, 14px);
  border: 1px solid var(--hairs);
  position: relative;
  display: flex; flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.2, 0.75, 0.25, 1), box-shadow 0.25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { color: var(--navy); margin-top: 14px; }
.card p.subtitle { font-size: 13px; color: rgba(29, 43, 83, 0.6); font-weight: 600; margin: 2px 0 12px; }
.card ul { padding-left: 18px; margin: 10px 0 0; }
.card ul li { margin-bottom: 8px; line-height: 1.5; font-size: 15px; }
.card .media-wrap { margin-bottom: 4px; }

.pill {
  display: inline-flex; align-items: center;
  padding: 6px 13px; border-radius: 999px;
  border: 1px solid var(--hair);
  font-size: 10px; font-weight: 800; letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  align-self: flex-start;
}
.pill::before {
  content: ''; display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; background: var(--teal); margin-right: 9px; flex: 0 0 auto;
}
.pill-teal  .pill::before { background: var(--teal); }
.pill-coral .pill::before { background: var(--coral); }
.pill-blue  .pill::before { background: var(--blue); }
.pill-yellow .pill::before { background: var(--yellow); }
.pill.pill-dark { background: var(--yellow); border-color: var(--yellow); color: var(--navy); }
.pill.pill-dark::before { display: none; }

.vacant-badge {
  display: inline-block; background: transparent; color: var(--coral);
  border: 1px solid var(--coral);
  padding: 4px 11px; border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 10px; align-self: flex-start;
}

/* ============================================================
   PHOTO CARDS (moments section)
   ============================================================ */
.photo-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: clamp(20px, 2.8vw, 32px);
}
.photo-card { margin: 0; }
.photo-card figcaption { padding: 16px 2px 0; }
.photo-card figcaption h3 { margin: 0 0 6px; }
.photo-card figcaption p { margin: 0; font-size: 15px; color: rgba(29, 43, 83, 0.72); max-width: 52ch; }

/* ============================================================
   BODY COPY / TIMELINE
   ============================================================ */
.body-copy { max-width: 72ch; }
.body-copy p { font-size: 17px; color: rgba(29, 43, 83, 0.82); margin-bottom: 16px; }

.timeline {
  list-style: none; max-width: 720px; margin: 8px 0 0; padding: 0 0 0 30px;
  border-left: 1px solid var(--hair);
}
.timeline li { padding: 0 0 28px; position: relative; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ''; position: absolute; left: -35px; top: 7px;
  width: 9px; height: 9px; border-radius: 50%; background: var(--coral);
}
.step-no {
  font-family: var(--disp); font-style: italic; color: var(--coral);
  font-size: 1rem; letter-spacing: 0;
}
.timeline h3 { margin: 6px 0 4px; }
.timeline p { color: rgba(29, 43, 83, 0.72); max-width: 56ch; }

/* ============================================================
   QUOTE STRIP
   ============================================================ */
.quote-strip { background: var(--deep); color: var(--cream); }
.quote-strip blockquote {
  max-width: 880px; margin: 0 auto; padding: 0;
  font-family: var(--disp); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.3; letter-spacing: -0.01em; border: 0; text-align: center;
}
.quote-strip cite {
  display: block; text-align: center;
  font-size: 11px; color: var(--yellow); font-family: var(--body);
  letter-spacing: 0.22em; text-transform: uppercase;
  margin-top: 18px; font-style: normal;
}

/* ============================================================
   CTA BAND — dark navy, centred
   ============================================================ */
.band { background: var(--navy); color: var(--cream); }
.band-inner { text-align: center; }
.band .section-head { text-align: center; margin: 0 auto; max-width: 720px; }
.band .kicker { color: rgba(255, 249, 236, 0.65); }
.band .kicker::before { background: var(--yellow); }
.band h2 { color: var(--cream); }
.band p { color: rgba(255, 249, 236, 0.75); margin: 14px auto 0; max-width: 52ch; }
.band-actions {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 14px; margin-top: 28px;
}

/* ============================================================
   CONTACT CARDS
   ============================================================ */
.cc-link { margin-top: auto; padding-top: 12px; }
.cc-link a {
  font-size: 12px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase;
  text-decoration: none; border-bottom: 2px solid var(--navy); padding-bottom: 3px;
}
.cc-link a:hover { color: var(--deep); border-bottom-color: var(--coral); }

/* ============================================================
   FOOTER — dark, four clear navigation columns
   ============================================================ */
.site-footer { background: var(--deep); color: #fff; padding: clamp(48px, 6vw, 72px) 0 20px; }
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 32px;
}
.footer-grid h4 { color: rgba(255, 249, 236, 0.5); margin-bottom: 16px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid ul li { margin-bottom: 8px; font-size: 14px; }
.footer-grid a { color: rgba(255, 249, 236, 0.82); text-decoration: none; }
.footer-grid a:hover { color: #fff; text-decoration: underline; }
.foot-brand p { font-size: 14px; color: rgba(255, 249, 236, 0.66); max-width: 34ch; }
.foot-founded { font-size: 12px; color: rgba(255, 249, 236, 0.5); }
.copyright {
  margin: clamp(32px, 4vw, 48px) 0 0; padding-top: 18px;
  border-top: 1px solid rgba(255, 249, 236, 0.16);
  font-size: 12px; color: rgba(255, 249, 236, 0.6);
  text-align: center;
}

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

/* ============================================================
   FAQ ACCORDION + NUMBERED STEPS + BODY BULLETS
   ============================================================ */
.faq-list { max-width: 820px; text-align: left; }
.faq-item {
  background: #fff; border: 1px solid var(--hairs);
  border-radius: var(--r-m, 14px); margin-bottom: 10px; overflow: hidden;
}
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between;
  align-items: center; gap: 12px; padding: 18px 20px;
  color: var(--navy); font-family: var(--disp); font-size: 1.15rem; letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary { color: var(--coral); }
.faq-x { font-size: 22px; line-height: 1; color: var(--teal); flex: 0 0 auto; transition: transform 0.2s; }
.faq-item[open] .faq-x { transform: rotate(45deg); }
.faq-item p { padding: 0 20px 18px; color: var(--grey); font-size: 15px; line-height: 1.65; margin: 0; }
.body-bullets { text-align: left; max-width: 640px; margin: 12px 0 0; padding-left: 20px; }
.body-bullets li { font-size: 16px; color: rgba(29, 43, 83, 0.78); margin-bottom: 6px; }
.step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 1000px; }
.step-card {
  background: #fff; border: 1px solid var(--hairs);
  border-top: 3px solid var(--teal); border-radius: var(--r-m, 14px);
  padding: 24px; text-align: left;
}
.step-card.sc-coral { border-top-color: var(--coral); }
.step-card.sc-blue { border-top-color: var(--blue); }
.step-num {
  display: block; font-family: var(--disp); font-style: italic;
  font-size: 1.5rem; color: var(--coral); line-height: 1;
}
.step-card h3 { color: var(--navy); margin: 12px 0 6px; }
.step-card p { color: var(--grey); font-size: 15px; line-height: 1.55; margin: 0; }
@media (max-width: 760px) { .step-grid { grid-template-columns: 1fr; } }


/* ============================================================
   PHOTO CAROUSELS
   ============================================================ */
.carousel-shell { min-width: 0; }
.carousel-controls { display: flex; justify-content: flex-end; gap: 8px; margin: 0 0 12px; }
.carousel-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px;
  border: 1px solid var(--hair); border-radius: 50%; background: #fff;
  color: var(--navy); font: 700 19px/1 var(--body); cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.carousel-btn:hover { background: var(--navy); color: var(--cream); border-color: var(--navy); transform: translateY(-1px); }
.carousel-btn:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; }
.photo-carousel {
  display: flex; gap: clamp(16px, 2vw, 24px); overflow-x: auto;
  overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
  scroll-padding: 2px; padding: 2px 2px 12px;
  scrollbar-width: thin; scrollbar-color: rgba(29,43,83,.25) transparent;
}
.photo-carousel::-webkit-scrollbar { height: 7px; }
.photo-carousel::-webkit-scrollbar-thumb { background: rgba(29,43,83,.22); border-radius: 99px; }
.carousel-card { flex: 0 0 min(46%, 500px); min-width: 280px; scroll-snap-align: start; }
.photo-carousel .media-wrap { aspect-ratio: 3 / 2; }
.gallery-empty {
  padding: clamp(26px, 4vw, 42px); border: 1px dashed var(--hair);
  border-radius: var(--r-l, 18px); background: rgba(255,255,255,.45);
  color: rgba(29,43,83,.7); max-width: 820px;
}

/* ============================================================
   JOURNAL / EVENT STORIES
   ============================================================ */
.journal-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; align-items: start; }
.journal-entry { min-width: 0; overflow: hidden; background: #fff; border: 1px solid var(--hairs); border-radius: var(--r-l,18px); }
.journal-cover { aspect-ratio: 16 / 9; border: 0; border-radius: 0; }
.journal-cover img { width: 100%; height: 100%; object-fit: cover; }
.journal-entry-body { padding: clamp(20px, 2.5vw, 30px); }
.journal-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 12px; color: rgba(29,43,83,.55); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .15em; }
.journal-meta span { color: var(--deep); }
.journal-entry h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); margin: 0 0 10px; }
.journal-excerpt { color: rgba(29,43,83,.78); font-size: 15px; margin: 0 0 12px; }
.journal-story { color: var(--grey); font-size: 15px; line-height: 1.7; margin: 14px 0 0; }
.journal-gallery { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--hairs); }
.carousel-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.carousel-heading > span { font-size: 10px; font-weight: 800; color: rgba(29,43,83,.58); letter-spacing: .16em; text-transform: uppercase; }
.carousel-heading .carousel-controls { margin: 0; }
.journal-gallery .carousel-btn { width: 34px; height: 34px; font-size: 16px; }
.journal-gallery .carousel-card { flex-basis: 78%; min-width: 180px; }
.journal-gallery .photo-card figcaption { padding: 9px 2px 0; }
.journal-gallery .photo-card figcaption p { font-size: 13px; }
.journal-empty { max-width: 720px; padding: clamp(34px, 6vw, 64px); text-align: center; background: #fff; border: 1px solid var(--hairs); border-radius: var(--r-l,18px); }
.journal-empty-mark { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 16px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 26px; }
.journal-empty h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.journal-empty p { max-width: 52ch; margin: 0 auto 22px; color: rgba(29,43,83,.72); }

@media (max-width: 760px) {
  .carousel-card { flex-basis: 82%; min-width: 240px; }
  .journal-grid { grid-template-columns: 1fr; }
  .journal-gallery .carousel-card { flex-basis: 86%; }
}
@media (prefers-reduced-motion: reduce) {
  .photo-carousel { scroll-behavior: auto; }
  .carousel-btn { transition: none; }
}
