/* =========================================================
   KINDRED CULTURE CO. — Phase 1
   Foundation, typography, grain, navigation, hero
   ========================================================= */

:root {
  --cream: #FAF7F2;
  --warm-white: #FFFDF9;
  --taupe: #B8A99A;
  --taupe-light: #D4C8BC;
  --taupe-dark: #8C7E72;
  --teal: #2E6B62;
  --teal-deep: #1E4D47;
  --charcoal: #3D3631;
  --text: #4A433D;
  --text-light: #7A7068;
  --gold-soft: #C4A96A;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', sans-serif;

  --nav-height: 80px;
  --page-gutter: clamp(1.5rem, 4vw, 4rem);
}

/* -------- Reset -------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: auto;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button {
  font: inherit;
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

/* -------- Grain overlay -------- */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* -------- Typography scale -------- */
.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(4rem, 12vw, 11rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}

.hero-heading em {
  font-style: italic;
  color: var(--teal);
  display: block;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--charcoal);
}

.section-heading em {
  font-style: italic;
  color: var(--teal);
}

.label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 1.5rem;
}

.body-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
}

/* -------- Progress bar -------- */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--teal);
  z-index: 10000;
  transform-origin: left center;
}

/* -------- Navigation -------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.4s ease, padding 0.4s ease;
}

.nav.scrolled {
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 1rem 3rem;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.3s;
}

.nav-links a:hover { color: var(--teal); }

.nav-brand,
.nav-links a {
  text-shadow: 0 1px 8px rgba(250, 247, 242, 0.5);
}

.nav.scrolled .nav-brand,
.nav.scrolled .nav-links a {
  text-shadow: none;
}

.nav-external::before {
  content: '↗';
  display: inline-block;
  margin-right: 0.35em;
  font-size: 0.9em;
  opacity: 0.7;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1100;
}

.nav-toggle span {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--charcoal);
  transition: transform 0.4s ease, top 0.4s ease, opacity 0.3s ease;
}

.nav-toggle span:nth-child(1) { top: 10px; }
.nav-toggle span:nth-child(2) { top: 17px; }

.nav-toggle.is-open span:nth-child(1) {
  top: 13.5px;
  transform: rotate(45deg);
}
.nav-toggle.is-open span:nth-child(2) {
  top: 13.5px;
  transform: rotate(-45deg);
}

/* Mobile overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

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

.nav-overlay-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.nav-overlay-links a {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--charcoal);
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.nav-overlay-links a:hover {
  color: var(--teal);
  font-style: italic;
}

/* -------- Hero -------- */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

.hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
  z-index: 1;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  will-change: transform;
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--cream) 0%,
    rgba(250, 247, 242, 0.3) 40%,
    transparent 100%
  );
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 140px;
  padding-left: 5vw;
  max-width: 55%;
  margin-bottom: 3rem;
}

.hero-heading {
  margin-bottom: 2.5rem;
  max-width: 14ch;
}

.hero-sub {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.6vw, 1.5rem);
  color: var(--text-light);
  margin-bottom: 2.5rem;
  max-width: 32ch;
  letter-spacing: 0.005em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--charcoal);
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--charcoal);
  transition: color 0.4s ease, border-color 0.4s ease, gap 0.4s ease;
}

.hero-cta svg {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-cta:hover {
  color: var(--teal);
  border-color: var(--teal);
  gap: 1.25rem;
}

.hero-cta:hover svg {
  transform: translateX(4px);
}

/* -------- Responsive -------- */
@media (max-width: 960px) {
  .nav { padding: 1rem 1.5rem; }
  .nav.scrolled { padding: 0.75rem 1.5rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }

  .hero-image {
    width: 100%;
  }

  .hero-image-overlay {
    background: linear-gradient(
      to bottom,
      rgba(250, 247, 242, 0.2) 0%,
      rgba(250, 247, 242, 0.4) 60%,
      rgba(250, 247, 242, 0.9) 100%
    );
  }

  .hero-content {
    max-width: 100%;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    padding-bottom: 4rem;
  }

  .hero-heading { max-width: 100%; }
}

@media (max-width: 600px) {
  .nav-brand { font-size: 1rem; }

  .hero-sub {
    margin-bottom: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}

/* =========================================================
   KINDRED CULTURE CO. — Phase 2
   Services (editorial index) + About Danny (magazine spread)
   ========================================================= */

/* -------- Services -------- */
.services {
  background: var(--charcoal);
  padding: 10rem 5vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.services-inner {
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
}

.services .section-heading {
  margin-bottom: 3rem;
}

.services-list {
  border-top: 1px solid rgba(250,247,242,0.1);
}

.service-entry {
  display: flex;
  gap: 4rem;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(250,247,242,0.1);
  align-items: flex-start;
}

.service-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5vw, 5rem);
  font-weight: 300;
  color: rgba(196,169,106,0.25);
  line-height: 1;
  flex-shrink: 0;
  width: 120px;
}

.service-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.service-content p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(250,247,242,0.65);
  margin-bottom: 1.5rem;
  max-width: 550px;
}

.text-link {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-soft);
  text-decoration: none;
  transition: color 0.3s;
}

.text-link:hover { color: var(--cream); }

@media (max-width: 768px) {
  .service-entry {
    flex-direction: column;
    gap: 1rem;
  }
  .service-number { width: auto; }
  .services { padding: 6rem 1.5rem; }
}

/* -------- About Danny -------- */
.about {
  background: var(--cream);
  padding: 10rem 5vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.about-inner {
  display: flex;
  gap: 5vw;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.about-text {
  flex: 1;
  max-width: 520px;
}

.about .section-heading {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

.about-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--teal);
  margin-bottom: 2rem;
}

.about .body-text {
  margin-bottom: 1.25rem;
}

.about-image {
  flex: 0 0 42%;
  position: relative;
}

.about-image img {
  width: 100%;
  height: auto;
  display: block;
}

.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--taupe-light);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--teal);
  display: block;
  line-height: 1;
}

.stat-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-top: 0.4rem;
  display: block;
}

@media (max-width: 768px) {
  .about-inner {
    flex-direction: column-reverse;
    gap: 3rem;
  }
  .about-image { flex: none; width: 80%; max-width: 350px; margin: 0 auto; }
  .about-text { max-width: 100%; }
  .about-stats { flex-direction: column; gap: 1.5rem; }
  .about { padding: 5rem 1.5rem; }
}

/* =========================================================
   Phase 3 — Testimonials, Partnerships, Contact
   ========================================================= */

/* -------- Testimonials -------- */
.testimonials {
  background: var(--teal-deep);
  padding: 10rem 5vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.testimonials-inner {
  max-width: 800px;
  margin: 0 auto;
}

.testimonial-slider {
  position: relative;
  min-height: 300px;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.testimonial-slide.active {
  opacity: 1;
  position: relative;
  pointer-events: auto;
}

.testimonial-slide blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.7;
  color: var(--cream);
  margin-bottom: 2.5rem;
}

.testimonial-author {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--cream);
}

.testimonial-role {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,247,242,0.5);
  margin-top: 0.3rem;
}

.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
}

.testimonial-counter {
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  color: rgba(250,247,242,0.4);
}

.testimonial-prev,
.testimonial-next {
  background: none;
  border: 1px solid rgba(250,247,242,0.2);
  color: var(--cream);
  width: 48px;
  height: 48px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  border-color: var(--gold-soft);
  background: rgba(250,247,242,0.05);
}

@media (max-width: 768px) {
  .testimonials { padding: 6rem 1.5rem; }
  .testimonial-slider { min-height: 350px; }
}

/* -------- Partnerships -------- */
.partnerships {
  background: var(--cream);
  padding: 8rem 5vw;
}

.partnerships-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.partnerships .section-heading {
  margin-bottom: 4rem;
}

.partner-list {
  display: flex;
  border-top: 1px solid var(--taupe-light);
}

.partner-item {
  flex: 1;
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--taupe-light);
  text-decoration: none;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--charcoal);
}

.partner-item:last-child { border-right: none; }

.partner-item:hover { background: var(--warm-white); }

.partner-item span {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--taupe-dark);
}

@media (max-width: 768px) {
  .partner-list { flex-direction: column; }
  .partner-item { border-right: none; border-bottom: 1px solid var(--taupe-light); }
  .partner-item:last-child { border-bottom: none; }
}

/* -------- Contact -------- */
.contact {
  background: var(--charcoal);
  padding: 10rem 5vw;
}

.contact-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 6rem;
  align-items: flex-start;
}

.contact-info { flex: 1; }

.contact-text {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(250,247,242,0.65);
  margin-top: 2rem;
  margin-bottom: 3rem;
  max-width: 400px;
}

.contact-details { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-detail-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.contact-detail a, .contact-detail span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-detail a:hover { color: var(--gold-soft); }

.contact-form {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group { display: flex; flex-direction: column; gap: 0.4rem; }

.form-group label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--taupe);
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(250,247,242,0.12);
  background: rgba(250,247,242,0.04);
  color: var(--cream);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { cursor: pointer; }
.form-group select option { background: var(--charcoal); color: var(--cream); }

.form-submit {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: var(--cream);
  border: none;
  padding: 1rem 2.5rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--gold-soft);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .contact-inner { flex-direction: column; gap: 3rem; }
  .contact-form { max-width: 100%; }
  .contact { padding: 5rem 1.5rem; }
}

.footer {
  background: var(--charcoal);
  padding: 6rem 5vw 3rem;
  border-top: 1px solid rgba(250,247,242,0.06);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
}

.footer-brand em {
  font-style: italic;
  color: var(--gold-soft);
}

.footer-tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: var(--taupe);
  margin-top: 0.75rem;
}

.footer-rule {
  width: 100%;
  height: 1px;
  background: rgba(250,247,242,0.1);
  margin: 3rem 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover { color: var(--cream); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(250,247,242,0.06);
}

.footer-bottom p {
  font-family: var(--font-body);
  font-size: 0.72rem;
  color: var(--taupe-dark);
}

.footer-credit a {
  color: var(--taupe);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-credit a:hover { color: var(--cream); }

@media (max-width: 768px) {
  .footer { padding: 4rem 1.5rem 2rem; }
  .footer-links { flex-direction: column; gap: 1.25rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
}

@media (max-width: 768px) {
  .hero-image-overlay {
    background: linear-gradient(
      to bottom,
      rgba(250,247,242,0.92) 0%,
      rgba(250,247,242,0.75) 35%,
      rgba(250,247,242,0.4) 65%,
      rgba(250,247,242,0.15) 100%
    ) !important;
  }

  .hero-heading {
    text-shadow: 0 2px 20px rgba(250,247,242,0.8), 0 0 60px rgba(250,247,242,0.4);
  }

  .hero .label,
  .hero-sub {
    text-shadow: 0 1px 12px rgba(250,247,242,0.9);
  }
}

/* =========================================================
   Detail pages (e.g. clients.html)
   ========================================================= */
.detail-hero-full {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--cream);
}

.detail-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
  z-index: 1;
}

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

.detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--cream) 0%, rgba(250,247,242,0.4) 50%, transparent 100%);
  z-index: 1;
}

.detail-hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  max-width: 550px;
  background: rgba(250, 247, 242, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0;
}

.detail-hero-content .detail-intro {
  margin-top: 2rem;
}

.detail-intro {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.85;
  color: var(--text);
  max-width: 650px;
  margin-top: 2rem;
}

.detail-section {
  padding: 5rem 5vw;
  max-width: 1200px;
  margin: 0 auto;
}

.detail-grid {
  display: flex;
  gap: 6rem;
}

.detail-col { flex: 1; }

.detail-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.detail-list {
  list-style: none;
  padding: 0;
}

.detail-list li {
  padding: 1rem 0;
  border-bottom: 1px solid var(--taupe-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.detail-list li::before {
  content: '✓';
  color: var(--teal);
  font-weight: 500;
  flex-shrink: 0;
}

.detail-step {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--taupe-light);
  align-items: flex-start;
}

.detail-step-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  width: 40px;
}

.detail-step h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 0.3rem;
}

.detail-step p {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-light);
}

.detail-cta-section {
  padding: 5rem 5vw 8rem;
  text-align: center;
}

.detail-cta-text {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  font-style: italic;
  color: var(--charcoal);
  margin-bottom: 2rem;
}

.detail-cta-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--teal);
  padding: 1rem 2.5rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.3s, transform 0.3s;
}

.detail-cta-btn:hover {
  background: var(--teal-deep);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .detail-hero-full { min-height: 85vh; }
  .detail-hero-image { width: 100%; }
  .detail-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(250,247,242,0.9) 0%,
      rgba(250,247,242,0.7) 40%,
      rgba(250,247,242,0.3) 70%,
      transparent 100%
    );
  }
  .detail-hero-content { padding: 8rem 1.5rem 3rem; max-width: 100%; }
  .detail-section { padding: 3rem 1.5rem; }
  .detail-grid { flex-direction: column; gap: 3rem; }
  .detail-cta-section { padding: 3rem 1.5rem 5rem; }
}

/* =========================================================
   Brand mark — atmospheric watermark
   ========================================================= */
.hero, .about, .contact { position: relative; overflow: hidden; }

.brand-mark {
  position: absolute;
  background-image: url('../D9C41C75-14B6-4114-9652-2C80DA7AD0F7.png');
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
  z-index: 0;
}

.brand-mark--hero {
  width: 45vw;
  height: 45vw;
  max-width: 600px;
  max-height: 600px;
  bottom: -5%;
  left: 8%;
  opacity: 0.03;
}

.brand-mark--about {
  width: 35vw;
  height: 35vw;
  max-width: 500px;
  max-height: 500px;
  top: 10%;
  right: -5%;
  opacity: 0.025;
}

.brand-mark--contact {
  width: 40vw;
  height: 40vw;
  max-width: 550px;
  max-height: 550px;
  bottom: 5%;
  right: 10%;
  opacity: 0.04;
}

.brand-mark--detail {
  width: 30vw;
  height: 30vw;
  max-width: 400px;
  max-height: 400px;
  top: 5%;
  right: -3%;
  opacity: 0.03;
}

@media (max-width: 768px) {
  .brand-mark--hero {
    width: 70vw;
    height: 70vw;
    bottom: 0;
    left: 15%;
    opacity: 0.025;
  }
  .brand-mark--about { display: none; }
  .brand-mark--contact {
    width: 60vw;
    height: 60vw;
    opacity: 0.03;
  }
  .brand-mark--detail {
    width: 50vw;
    height: 50vw;
    right: -10%;
    opacity: 0.025;
  }
}

/* Job listings */
.job-listings {
  max-width: 900px;
  margin: 0 auto;
}

.loading-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--taupe);
  text-align: center;
  padding: 3rem 0;
}

.job-card {
  border-bottom: 1px solid var(--taupe-light);
}

.job-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 1.5rem 0;
  margin-bottom: 0;
}

.job-header:hover .job-title {
  color: var(--teal);
}

.job-toggle {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.job-card.open .job-toggle {
  transform: rotate(45deg);
}

.job-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0;
}

.job-card.open .job-body {
  max-height: 2000px;
  padding: 0 0 2rem 0;
}

.job-title {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 400;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.job-meta {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.job-location,
.job-type {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
}

.job-body p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.job-section {
  margin-bottom: 1.25rem;
}

.job-section h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe-dark);
  margin-bottom: 0.4rem;
}

.job-section p {
  font-size: 0.9rem;
  color: var(--text-light);
}

.job-body .text-link {
  margin-top: 0.5rem;
  display: inline-block;
}

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

.job-body ul li {
  padding: 0.4rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text);
}

.job-body ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--teal);
}

@media (max-width: 768px) {
  .job-meta { flex-direction: column; gap: 0.3rem; }
}

.detail-hero-full .label,
.detail-hero-full .section-heading,
.detail-hero-full .detail-intro {
  text-shadow: 0 2px 15px rgba(250,247,242,0.9), 0 0 40px rgba(250,247,242,0.5);
}

.detail-hero-full .detail-intro {
  color: var(--charcoal);
  font-weight: 400;
}

@media (max-width: 768px) {
  .detail-hero-overlay {
    background: linear-gradient(
      to bottom,
      rgba(250,247,242,0.92) 0%,
      rgba(250,247,242,0.7) 35%,
      rgba(250,247,242,0.4) 65%,
      rgba(250,247,242,0.15) 100%
    ) !important;
  }
}

@media (max-width: 768px) {
  .detail-hero-full {
    flex-direction: column;
    min-height: auto;
  }
  .detail-hero-image {
    position: relative;
    width: 100%;
    height: 250px;
    top: auto;
    right: auto;
  }
  .detail-hero-overlay {
    display: none;
  }
  .detail-hero-content {
    padding: 6rem 1.5rem 2rem;
    max-width: 100%;
    background: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
