/* ==========================================================================
   PLACEKEEP - STYLESHEET
   --------------------------------------------------------------------------
   Shared by: index.html, approach.html, about.html, contact.html
   Main stylesheet: shared, desktop, and page-specific base styles.
   Responsive overrides are in responsive.css.

   TABLE OF CONTENTS
   --------------------------------------------------------------------------
    1. Variables & Base Reset
    2. Header & Navigation
    3. Home: Hero
    4. Home: Audience Split
    5. Shared: Orange Panels & Cards
    6. Home: "Gap" Text Block
    7. Home: Definition Section
    8. Home: Work Panel
    9. Shared: Closing Footer
   10. Shared: Dropdown Nav
   11. Approach Page
   12. About Page
   13. About Page: Footer Overrides
   14. Contact Page
   ========================================================================== */

/* ==========================================================================
   1. VARIABLES & BASE RESET
   Change brand colors and fonts here.
   ========================================================================== */
:root {
  --purple: #432140;
  --orange: #f15f38;
  --yellow: #dbc734;
  --teal: #174240;
  --teal-light: #338783; /* For better text contrast against purple background bars*/
  --white: #F4EFe6;
  /* --ink: #43233f; */
  --font: "Source Sans 3", "Source Sans Pro", system-ui, sans-serif;
  --gutter: max(3.5rem, calc((100% - 70rem) / 2));  /* content column is 70rem wide; backgrounds stay full width */
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;   /* keeps the layout the same with or without a scrollbar */
  overflow-y: scroll;         /* fallback for browsers that don't support scrollbar-gutter */
  scroll-padding-top: 56px; 
}
body {
  font-family: var(--font);
  color: var(--white);
  background: var(--white);
  line-height: 1.5;
  font-size: 1rem;
}
img,
svg {
  max-width: 100%;
}
a {
  color: inherit;
}

/* Visible keyboard focus ring on every page */
:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--white);
}

/* ==========================================================================
   2. HEADER & NAVIGATION
   White bar at the top of every page. Hamburger button is hidden on mobile.
   ========================================================================== */
.site-header {
  background: var(--white);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.9rem 3.5rem 0;
  height: 56px;
  position: sticky;   /* was: relative */
  top: 0;             /* new */
  z-index: 5;
  padding: 0.9rem var(--gutter) 0;
}
/* Old text-based logo (kept for reference, replaced by the image logo below) */
/* .logo {
  font-family: "Oswald", var(--font);
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--orange);
  text-decoration: none;
  letter-spacing: -0.01em;
  transform: scaleY(1.1);
  transform-origin: top;
} */

/* Logo (image) */
.logo {
  height: 60px;
  width: auto;
  position: relative;
  top: 2px;
}

/* Main nav links */

main:focus { outline: none; }

.nav {
  display: flex;
  gap: 2.4rem;
  padding-top: 1rem;
  align-items: flex-start;
}
.nav a {
  color: var(--orange);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}
.nav a:hover {
  text-decoration: underline;
}
nav a.active {
    text-decoration: underline;
    text-decoration-thickness: 1px;
}
/* Hamburger button (shown on mobile only, see responsive.css) */
.menu-btn {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
  margin-top: 0.4rem;
}
.menu-btn span {
  display: block;
  width: 24px;
  height: 3px;
  background: var(--orange);
  margin: 5px 0;
  border-radius: 2px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
  box-shadow: 0 0 0 7px var(--white);
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}

/* ==========================================================================
   3. HOME: HERO
   Purple intro. Colored words in the headline use .o (orange), .y (yellow),
   .t (light teal).
   ========================================================================== */
.hero {
  background: var(--purple);
  padding: 2.2rem var(--gutter) 2.6rem;
}
.hero h1 {
  font-weight: 700;
  font-size: clamp(2.4rem, 6.4vw, 4.8rem);
  line-height: 1.06;
  text-align: right;
  max-width: 46rem;
  margin-left: auto;
  margin-right: 8%;
  letter-spacing: -0.01em;
}
.hero h1 .o {
  color: var(--orange);
}
.hero h1 .y {
  color: var(--yellow);
}
.hero h1 .t {
  color: var(--teal-light);
}
/* Intro paragraph tucked up under the headline (negative top margin) */
.hero p {
  max-width: 27rem;
  margin: -0.2rem 0 0 7rem;
  font-size: 0.98rem;
  line-height: 1.55;
  position: relative;
}

/* ==========================================================================
   4. HOME: AUDIENCE SPLIT + BUTTONS
   White two-column row ("For design firms" / "For organizations...").
   Also reused on the About page as .split.mv (mission / vision).
   ========================================================================== */
.split {
  background: var(--white);
  color: var(--teal);
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 62rem;
  margin: 0 auto;
  padding: 2.8rem 2rem 3rem;
  text-align: center;
}
.split > div {
  padding: 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}
/* Orange divider line between the two columns */
.split > div + div {
  border-left: 3px solid var(--orange);
}
.split h2 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
}
.split p {
  font-size: 0.76rem;
  max-width: 15rem;
  margin-bottom: 0.5rem;
}

/* Yellow button (used on Home, and the "Let's connect" footer button) */
.btn {
  display: inline-block;
  background: var(--yellow);
  text-align: center;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.78rem;
  text-decoration: none;
  width: 13rem;
  padding: 0.95rem 1.6rem;
  border-radius: 0.6rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}
.btn:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   5. SHARED: ORANGE PANELS & CARDS
   .panel is the orange rounded box. .cards is a 3-column grid that is wider
   than the panel, so the cards overhang its edges.
   ========================================================================== */
.panel {
  background: var(--orange);
  width: min(50%, 35rem);
  margin: 0 auto;
  border-radius: 0.9rem;
  padding: 1.3rem 0 0;
  position: relative;
  z-index: 2;
}
/* Panel heading, e.g. "Starting by listening delivers:" */
.panel h2.lead {
  text-align: center;
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.25;
  padding: 0 1rem;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 13rem); /* match the card width */
  justify-content: center;
  gap: 4rem;
  width: min(1100px, 92vw);
  margin: 1.8rem 0 0 50%;
  transform: translateX(-50%);
}
.card {
  padding: 1.2rem 1.2rem 1.2rem;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}

/* Stat cards (2X / 7% / 10%) */
.stat {
  background: var(--teal);
  width: 13rem;
  min-height: 15rem;
  display: flex;
  flex-direction: column;
}
.stat .num {
  font-weight: 900;
  font-size: 5rem;
  line-height: 1;
  color: var(--yellow);
  text-align: center;
  margin: 0.2rem 0 0.8rem;
}
.stat p {
  font-size: 0.88rem;
  line-height: 1.5;
}
/* Source citation at the bottom of each stat card */
.stat small {
  margin-top: auto;
  padding-top: 1rem;
  font-size: 0.62rem;
  line-height: 1.35;
  opacity: 0.65;
}

/* ==========================================================================
   6. HOME: "GAP" TEXT BLOCK
   "The gap between a space problem and a real solution" with yellow bar.
   ========================================================================== */
.gap {
  padding: 3.6rem 4.2rem 3.6rem 4.6rem;
  color: var(--purple);
}
.gap h3 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--white);
}
.gap .quote {
  border-left: 2rem solid var(--yellow);
  padding-left: 1rem;
  font-size: 1rem;
  line-height: 1.6;
  width: 25rem;
}
.gap .quote p + p {
  margin-top: 1.1rem;
}

/* ==========================================================================
   7. HOME: DEFINITION SECTION
   Teal band with the pronunciation and definition of "placekeep".
   Colored words: .o orange, .y yellow, .p plum.
   ========================================================================== */
.define {
  background: var(--teal);
  margin-top: -3rem;
  padding: 7rem 3.5rem 7rem;
}
.define .ipa {
  text-align: right;
  font-weight: 700;
  font-size: 2.5rem;
  max-width: 40rem;
  margin: 0 auto 2.5rem;
  padding-right: 0;
}
.define h2 {
  font-weight: 700;
  font-size: clamp(1.8rem, 3.4vw, 2.2rem);
  line-height: 1.2;
  text-align: right;
  max-width: 38rem;
  margin: 0 auto;
}
.define h2 .o {
  color: var(--orange);
}
.define h2 .y {
  color: var(--yellow);
}
.define h2 .p {
  color: #7a4a77;
}
/* Small paragraph pushed left of the headline on desktop */
.define .note {
  max-width: 19.5rem;
  margin: 1.4rem auto 0;
  font-size: 1rem;
  line-height: 1.55;
  position: relative;
  left: -12.5rem;
}
.define .wrap {
  max-width: 40rem;
  margin: 0 auto;
}
.define .wrap .ipa {
  max-width: none;
}

/* ==========================================================================
   8. HOME: WORK PANEL
   "What we're currently working on" - overlaps the teal section above it.
   ========================================================================== */
.work {
  margin-top: -4rem;
  padding-bottom: 0;
}
.work .cards {
  margin-top: 3.6rem;
}
/* Purple project cards (Dignity by Design, Rooted Expansion, ...) */
.proj {
  background: var(--purple);
  text-align: center;
  min-height: 25.6rem;
}
.proj h3 {
  font-size: 1.55rem;
  line-height: 1.2;
  font-weight: 700;
  margin: 0.2rem 0 1rem;
}
.icons {
  height: 8rem;
  width: auto;
  margin-bottom: 1.3rem;
}
.proj p {
  font-size: 0.78rem;
  line-height: 1.55;
  text-align: left;
}
/* Closing paragraph at the bottom of the work panel */
.wrapup {
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.65;
  padding: 2.6rem 2.6rem 3.2rem;
  max-width: 30rem;
  margin: 0 auto;
}



/* ==========================================================================
   9. SHARED: CLOSING FOOTER
   Purple footer with the "Let's connect" button (Home, Approach, About).
   ========================================================================== */
.closing {
  background: var(--purple);
  margin-top: -3rem;
  padding: 7rem 3.5rem 5.5rem;
}
.closing .in {
  height: 8rem;
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.closing p {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 20rem;
}

/* ==========================================================================
   10. SHARED: DROPDOWN NAV
   "Approach" submenu (For Project Owners / For Design Firms).
   Opens on hover or keyboard focus on desktop; responsive display in responsive.css.
   ========================================================================== */
.has-sub {
  position: relative;
}
.has-sub > a {
  display: block;
}
.sub {
  list-style: none;
  display: none;
  position: absolute;
  left: 0;
  top: 100%;
  margin-top: 0; /* was 0.3rem, this created the gap */
  background: var(--orange);
  min-width: 9.5rem;
  z-index: 10;
}
/* Invisible strip that keeps the menu open while the pointer crosses the gap */
.sub::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -0.4rem;
  height: 0.4rem;
}
.sub a {
  display: block;
  color: var(--white);
  background: rgba(67, 35, 63, 0.18);
  padding: 0.3rem 0.6rem;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}
.sub a:hover {
  background: rgba(67, 35, 63, 0.4);
  text-decoration: none;
}
.has-sub:hover .sub,
.has-sub:focus-within .sub {
  display: block;
}

/* ==========================================================================
   11. APPROACH PAGE
   ========================================================================== */

/* --- Intro sections ("For Project Owners" / "For Design Firms") --- */
.intro {
  background: var(--purple);
  padding: 5rem 3.5rem 8rem;
}
.intro-inner {
  max-width: 38rem;
  margin: 0 auto;
}
/* Modifier: teal background instead of purple */
.on-teal {
  background: var(--teal);
}
.section-title {
  color: var(--yellow);
  font-weight: 700;
  font-size: 1.65rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}
.intro-inner p {
  font-size: 1.02rem;
  line-height: 1.65;
}
.intro-inner p + p {
  margin-top: 1.3rem;
}

/* --- White band that holds a panel overlapping the sections above/below --- */
.band {
  background: var(--white);
  padding-bottom: 0;
  display: flow-root;
}
.band .panel {
  margin-top: -2.6rem;
  margin-bottom: -3.4rem;
  border-radius: 0.9rem;
  padding-bottom: 2.6rem;
}
.after-band {
  padding-top: 6.5rem;
}
.intro.after-band {
  padding-bottom: 6rem;
}

/* --- Tabs (desktop) / accordion (mobile) ---
   Each .tab sets its grid position with --c (column) and --r (row)
   inline in the HTML. .tab-panel sits in row 3 (six tabs) or row 2 (three). */
.tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.9rem 1.9rem;
  width: calc(100% + 5rem);
  margin: 1.3rem 0 0 -2.5rem;
}
.tab {
  --tab-h: 8rem;
  min-height: var(--tab-h);
  padding: calc(var(--tab-h) / 2) 1rem 1rem;
  justify-content: flex-start;
  grid-column: var(--c);
  grid-row: var(--r);
  background: var(--teal);
  color: var(--white);
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  text-align: left;
  display: flex;
  flex-direction: column;
  position: relative;
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.25;
  border-radius: 0;
  -webkit-tap-highlight-color: transparent; /* removes the mobile tap flash */
  -webkit-appearance: none;                 /* removes built-in button styling */
  appearance: none;
}
/* Keep the tab's color from changing while it's pressed */
.tab:active {
  background: var(--teal);
  color: var(--white);
}
.tab small {
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.75;
  margin-bottom: 0.25rem;
}
/* Plus icon with rounded ends (SVG mask, colored by background-color) */
.tab::after {
  content: "";
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  width: 2.2rem;
  height: 2.2rem;
  background-color: var(--yellow);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h18M12 3v18' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h18M12 3v18' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
/* Selected tab: yellow background, teal plus */
.tab[aria-expanded="true"] {
  background: var(--yellow);
  color: var(--teal);
}
/* Minus icon for the selected tab (open state) */
.tab[aria-expanded="true"]::after {
  background-color: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h18' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h18' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.tab:hover:not([aria-expanded="true"]) {
  background: var(--teal);
}
.tab[aria-expanded="true"]:active {
  background: var(--yellow);
  color: var(--teal);
}
/* Hide the focus outline for mouse clicks (keyboard users still get it) */
.tab:focus:not(:focus-visible) {
  outline: none;
}

/* --- Tab panel content --- */
.tab-panel {
  grid-column: 1/-1;
  grid-row: 3;
  color: var(--purple);
  padding: 1.2rem 5rem 0 4.5rem;
}
.tabs.three .tab-panel {
  grid-row: 2;
}
.tab-panel[hidden] {
  display: none;
}
.tab-panel h3 {
  color: var(--white);
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.tab-panel .quote {
  border-left: 2.6rem solid var(--yellow);
  padding-left: 1.2rem;
  font-size: 0.8rem;
  line-height: 1.55;
}
.tab-panel .quote p + p {
  margin-top: 1.1rem;
}

/* --- "Across all three tiers" note --- */
.across {
  text-align: center;
  color: var(--white);
  padding: 2.8rem 3rem 0;
}
.across h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.across p {
  font-size: 0.8rem;
  line-height: 1.45;
  max-width: 20rem;
  margin: 0 auto;
}
.tiersText {
  color: var(--purple);
}

/* --- Footer variant used on Approach, About, and Contact-linked pages --- */
.closing .in.wide {
  justify-content: space-between;
}

/* ==========================================================================
   12. ABOUT PAGE
   ========================================================================== */

/* --- Hero (single headline, no paragraph) --- */
.hero.solo {
  padding: 3.2rem var(--gutter) 3.8rem
}
.hero.solo h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  max-width: 45rem;
  margin: 0 6% 0 auto;
}

/* --- Keep text (for wrapping "dignity and belonging" words together) --- */
.keep {
  white-space: nowrap;
}

/* --- Mission / Vision (reuses .split from section 4) --- */
.split.mv {
  max-width: 64rem;
  padding-bottom: 3.4rem;
}
.split.mv > div {
  align-items: center;
}
.split.mv p {
  max-width: 21rem;
  font-size: 0.78rem;
  line-height: 1.55;
  margin: 0 0 0.2rem;
}

/* --- "Two ways to work together" / "What we commit to" cards ---
   .duo is a 2-column grid wider than the panel. .teal and .plum set the card color. */
.duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  width: calc(100% + 15rem);
  margin: 2.4rem 0 0 -7.5rem;
}
.duo .card {
  padding: 1.8rem 2.5rem 2.4rem;
  text-align: center;
  min-height: 15rem;
}
.duo .teal {
  background: var(--teal);
}
.duo .plum {
  background: var(--purple);
}
.duo h3 {
  color: var(--yellow);
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
  line-height: 1.2;
}
.duo p {
  font-size: 0.78rem;
  line-height: 1.6;
}
/* Second heading inside a panel ("What we commit to:") */
.panel .sub-lead {
  text-align: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin-top: 4rem;
}
/* Rounded-all-corners panel variant that overhangs the next section */
.panel.round {
  border-radius: 0.9rem;
  padding-bottom: 6.5rem;
  margin-bottom: -3.4rem;
}
.after-panel {
  padding-top: 7rem;
}

/* --- Bio section (portrait + story) ---
   Desktop grid areas: "side head" / "side story". On mobile it stacks. */
.bio {
  background: var(--teal);
  padding: 10rem 3.5rem 8rem;
}
.bio-grid {
  display: grid;
  grid-template-columns: 14rem 1fr;
  grid-template-areas: "side head" "side story";
  column-gap: 1.5rem;
  max-width: 44rem;
  margin: 0 auto;
  align-items: start;
}
.bio h2.headline {
  grid-area: head;
  text-align: right;
  font-size: 1.65rem;
  line-height: 1.55;
  font-weight: 700;
  margin: 5rem 1rem 6rem 1.8rem;
}
/* Testimonials panel: pulls up to overlap the bottom of the teal bio band */
.bio + .panel.round {
  margin-top: -3rem;
}
.headline .y {
  color: var(--yellow);
}
.headline .o {
  color: var(--orange);
}

/* Portrait column: photo, caption, social links */
.portrait {
  grid-area: side;
}
.photo {
  grid-area: auto;
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  background: linear-gradient(160deg, #2c3f3c, #142b28);
}

.photo svg {
  width: 80%;
  height: auto;
  fill: #4b6762;
}
.caption {
  background: var(--yellow);
  color: var(--teal);
  padding: 0.7rem 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
}
.portrait h3 {
  color: var(--yellow);
  font-size: 0.82rem;
  margin: 1.1rem 0 0.6rem;
}
/* LinkedIn-style social cards */
.social {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f4efe6;
  color: var(--purple);
  border-radius: 0.5rem;
  padding: 0.55rem 0.6rem;
  margin-bottom: 0.8rem;
  text-decoration: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 0.62rem;
  line-height: 1.25;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social:hover {
  background: var(--yellow);
  transform: translateY(-2px);
  transition: 0.2s ease;
}

.social strong {
  display: block;
  font-size: 0.66rem;
}

.avatar {
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--white);;
  flex: none;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.62rem;
  color: var(--white);
}

.avatar.brand {
  background: var(--white);
  border-radius: 0.4rem;
}
.badge {
  display: block;
  width: 80%;        /* Adjust badge size */
  height: auto;
  margin: 1.5rem auto 0;
}
/* Story column: Her Story / Recognition / Track Record */
.story {
  grid-area: story;
}
.story h3 {
  color: var(--yellow);
  font-size: 1.3rem;
  margin: 0 0 0.8rem;
}
.story section + section {
  margin-top: 2.6rem;
}
.story p {
  font-size: 0.78rem;
  line-height: 1.6;
}
.story p + p {
  margin-top: 1rem;
}
.story a {
  color: var(--white);
}

/* --- Client testimonials (2-column, wider than the panel) --- */
.quotes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.8rem;
  width: calc(100% + 7rem);
  margin: 2.6rem 0 0 -3.5rem;
}
.quotes figure {
  padding: 2rem 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
}
.quotes .teal {
  background: var(--teal);
}
.quotes .plum {
  background: var(--purple);
}
.quotes blockquote {
  font-size: 1.35rem;
  line-height: 1.6;
  padding: 1rem 0.5rem;
  margin-bottom: 3.5rem;
}
.quotes blockquote p + p {
  margin-top: 1.6rem;
}
.quotes figcaption {
  color: var(--yellow);
  font-size: 0.98rem;
  line-height: 1.5;
  padding-bottom: 1rem;
  margin-top: auto;
}
.figtitle {
  width: 10rem;
  display: block;
}
.quotes figcaption em {
  display: block;
  margin-top: 1.1rem;
}

/* ==========================================================================
   13. ABOUT PAGE: FOOTER OVERRIDES
   The About footer sits flush under the testimonials panel, so the usual
   negative top margin from section 9 is removed.
   ========================================================================== */
.closing.after-panel-footer {
  margin-top: 0;
  padding-top: 7rem;
}

/* ==========================================================================
   14. CONTACT PAGE
   .c-wrap paints the purple / white / teal background bands behind the
   orange .connect box.
   ========================================================================== */
.c-wrap {
  padding: 5rem 1.5rem 9rem;
  background: linear-gradient(
    var(--purple) 0 12rem,
    var(--white) 12rem calc(100% - 12rem),
    var(--teal) calc(100% - 12rem)
  );
}
.connect {
  max-width: 58.5rem;
  margin: 0 auto;
  background: var(--orange);
  border-radius: 0.9rem;
  padding: 2.2rem 6.3rem 4.5rem;
}
.connect h1 {
  text-align: center;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 3rem;
}

/* Skip link */
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 20;
        background: var(--purple); color: var(--white);
        padding: 0.7rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }


/* --- Accordion: yellow header button + teal form body --- */
.acc {
  margin-bottom: 2.6rem;
}
.acc-btn {
  width: 100%;
  display: block;
  text-align: left;
  background: var(--yellow);
  color: var(--purple);
  border: 0;
  cursor: pointer;
  font-family: var(--font);
  padding: 1.35rem 5rem 1.2rem 5.9rem;
  position: relative;
  min-height: 6.1rem;
  -webkit-tap-highlight-color: transparent; /* removes the mobile tap flash */
  -webkit-appearance: none;                 /* removes built-in button styling */
  appearance: none;
}
/* Keep the bar solid yellow while pressed */
.acc-btn:active {
  background: var(--yellow);
  color: var(--purple);
}
.acc-btn strong {
  display: block;
  font-size: 1.4rem;
  line-height: 1.25;
}
.acc-btn span {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
  margin-top: 0.1rem;
}
/* Plus icon with rounded ends (closed state) */
.acc-btn::after {
  content: "";
  position: absolute;
  right: 2.3rem;
  top: 50%;
  width: 2.5rem;
  height: 2.5rem;
  margin-top: -1.25rem;
  background-color: var(--purple);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h18M12 3v18' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h18M12 3v18' fill='none' stroke='black' stroke-width='2.7' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
/* Minus icon with rounded ends (open state) */
.acc-btn[aria-expanded="true"]::after {
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h18' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 12h18' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E")
    center / contain no-repeat;
}
.acc-body {
  background: var(--teal);
  padding: 1.8rem 5.9rem 3rem;
}
.acc-body[hidden] {
  display: none;
}
.acc-body .hint {
  font-size: 0.9rem;
  margin-bottom: 1.1rem;
}

/* --- Form fields --- */
.field {
  margin-bottom: 1.3rem;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
}
.field input,
.field textarea {
  width: 100%;
  background: #d9d9d9;
  color: #222;
  border: 1px solid #7b5a78;
  border-radius: 0;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 0.95rem;
}
.field textarea {
  min-height: 9.5rem;
  resize: vertical;
}
.field input::placeholder,
.field textarea::placeholder {
  color: #5c5c5c;
}
/* Modifier: narrower input (name, organization, email) */
.field.short input {
  width: 65%;
}

.hp { position: absolute; left: -9999px; }

/* --- Submit button and status message --- */
.submit {
  display: block;
  margin: 2.2rem 0 0 auto;
  width: 42%;
  background: var(--yellow);
  color: var(--purple);
  border: 0;
  border-radius: 0.7rem;
  font: 700 0.95rem var(--font);
  padding: 1.2rem;
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
}
.submit:hover {
  filter: brightness(1.05);
}
/* "Sending..." / success / error message (filled in by script.js) */
.status {
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (forced-colors: active) {
  .tab, .acc-btn, .btn, .submit { border: 2px solid ButtonText; }
  .tab::after, .acc-btn::after { background-color: ButtonText; }
  .tab[aria-expanded="true"]::after { background-color: HighlightText; }
  .field input, .field textarea { border: 2px solid FieldText; }
}
