/* ============================================
   SHIRLEY LA COSTA — WEBSITE STYLESHEET
   Palette: Slate #506068 | Taupe #DAD0C2 | White #FFFFFF | Charcoal #28292B
   Fonts: Cormorant Garamond (headings) | Montserrat (body)
   ============================================ */

:root {
  --slate:   #506068;
  --taupe:   #DAD0C2;
  --white:   #FFFFFF;
  --charcoal:#28292B;
  --taupe-light: #EDE8E0;
  --slate-dark: #3d4d54;
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', sans-serif;
  --max-width: 1160px;
  --nav-height: 80px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- TYPOGRAPHY ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: 1.4rem; font-weight: 500; }
h4 { font-size: 1.1rem; font-weight: 600; font-family: var(--font-body); letter-spacing: 0.02em; }
p  { font-size: 0.95rem; color: #555; line-height: 1.8; }
em { font-style: italic; }

/* ---- LAYOUT ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}
.section { padding: 6rem 0; }
.section-light { background: var(--taupe-light); }
.section-taupe  { background: var(--taupe-light); }
.section-dark  { background: var(--slate); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 4rem;
}
.section-header-light h2 { color: var(--white); }
.section-header-light .section-intro { color: rgba(255,255,255,0.75); }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--slate);
  margin-bottom: 1rem;
  display: block;
}
.section-eyebrow-light {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 1rem;
  display: block;
}
.section-intro {
  font-size: 1rem;
  color: #666;
  margin-top: 1.25rem;
  line-height: 1.8;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 1rem 2.2rem;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.btn-primary {
  background: var(--charcoal);
  color: var(--taupe);
  border-color: var(--charcoal);
}
.btn-primary:hover {
  background: #1a1b1c;
  border-color: #1a1b1c;
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost:hover {
  border-color: var(--white);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}
.btn-ghost-dark:hover {
  background: var(--charcoal);
  color: var(--taupe);
}

/* ---- NAVIGATION ---- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(40,41,43,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(218,208,194,0.1);
  height: var(--nav-height);
}
.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 0.18em;
  color: var(--taupe);
  font-weight: 400;
  line-height: 1;
}
.nav-logo-title {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(218,208,194,0.55);
  font-weight: 400;
}
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
  font-weight: 500;
}
.nav-links a:hover,
.nav-links a.active { color: var(--taupe); }
.nav-links a.nav-cta {
  background: var(--charcoal);
  color: var(--taupe);
  padding: 0.6rem 1.4rem;
  border: 1px solid var(--charcoal);
  transition: all 0.2s;
}
.nav-links a.nav-cta:hover {
  background: transparent;
  color: var(--taupe);
  border-color: var(--taupe);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--taupe);
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  background: var(--slate);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  width: 100%;
}
.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}
.hero-headline {
  color: var(--white);
  max-width: 720px;
  margin-bottom: 1.75rem;
}
.hero-headline em {
  color: var(--taupe);
  font-style: italic;
}
.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.hero-bar {
  height: 4px;
  background: linear-gradient(to right, var(--taupe) 0%, var(--slate) 60%, transparent 100%);
}

/* ---- INTRO STRIP ---- */
.intro-strip {
  background: var(--taupe);
  padding: 2.5rem 0;
}
.intro-strip-text {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--charcoal);
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ---- SERVICES GRID ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: #e0dbd4;
  border: 1.5px solid #e0dbd4;
}
.service-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: background 0.25s;
  cursor: pointer;
}
.service-card:hover { background: var(--taupe-light); }
.service-card-icon {
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.service-card h3 {
  font-size: 1.25rem;
  color: var(--charcoal);
}
.service-card p { font-size: 0.88rem; color: #666; flex: 1; }
.card-link {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 0.5rem;
}
.service-card-blank {
  background: transparent;
  border: none;
}
.service-card-cta {
  background: var(--taupe-light);
  border-left: 3px solid var(--slate);
}
.service-card-cta h3 { color: var(--slate); font-size: 1.3rem; }

/* ---- HOW I WORK GRID ---- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  margin-top: 1rem;
}
.how-item {
  padding: 2rem 1.5rem;
  background: rgba(255,255,255,0.08);
  border-top: 3px solid var(--taupe);
}
.how-number { display: none; }
.how-item h4 {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--taupe);
  margin-bottom: 0.75rem;
}
.how-item p { font-size: 0.95rem; color: rgba(255,255,255,0.75); }

/* ---- PILLARS ---- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}
.pillar { padding: 1rem 0; }
.pillar-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  color: var(--taupe);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 1.25rem;
}
.pillar h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.pillar p { color: rgba(255,255,255,0.65); font-size: 0.88rem; }

/* ---- CTA BAND ---- */
.cta-band {
  background: var(--slate);
  padding: 4rem 0;
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band-headline {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}
.cta-band-sub { color: rgba(255,255,255,0.7); font-size: 0.95rem; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  background: var(--slate);
  padding: calc(var(--nav-height) + 4rem) 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--taupe), var(--slate));
}
.page-hero-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }
.page-hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--taupe);
  opacity: 0.7;
  margin-bottom: 1rem;
  display: block;
}
.page-hero h1 { color: var(--white); max-width: 700px; }
.page-hero-sub {
  color: rgba(255,255,255,0.6);
  font-size: 1rem;
  max-width: 560px;
  margin-top: 1.25rem;
  line-height: 1.8;
}

/* ---- ABOUT PAGE ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: start;
}
.about-content h2 { margin-bottom: 1.5rem; }
.about-content p { margin-bottom: 1.25rem; }

.credentials-list {
  list-style: none;
  margin-top: 1.5rem;
}
.credentials-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid #e8e3dc;
  font-size: 0.88rem;
  color: var(--charcoal);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}
.credentials-list li::before {
  content: '';
  width: 5px;
  height: 1.5px;
  background: var(--slate);
  flex-shrink: 0;
  margin-top: 0.6em;
}

/* ---- PHOTO ---- */
.about-photo-col { display: flex; flex-direction: column; }
.about-photo-wrap {
  position: relative;
  overflow: hidden;
}
.about-photo-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 40%;
  height: 4px;
  background: var(--taupe);
}
.about-photo {
  width: 100%;
  display: block;
  filter: grayscale(100%);
  object-fit: cover;
  aspect-ratio: 4/5;
  transition: filter 0.4s ease;
}
.about-photo:hover {
  filter: grayscale(0%);
}

.career-timeline { margin-top: 1rem; }
.timeline-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid #d8d0c5;
  display: flex;
  align-items: baseline;
  gap: 1rem;
}
.timeline-item::before {
  content: '—';
  color: var(--slate);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.timeline-org-block { display: flex; flex-direction: column; gap: 3px; }
.timeline-role { font-weight: 600; font-size: 0.9rem; color: var(--charcoal); }
.timeline-org { font-size: 0.85rem; color: #888; }

/* ---- SERVICES PAGE ---- */
.service-section {
  padding: 4.5rem 0;
  border-bottom: 1px solid #e8e3dc;
}
.service-section:last-child { border-bottom: none; }
.service-section-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}
.service-section-label {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
}
.service-section-number {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--taupe);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.service-section-label h3 {
  font-size: 1.5rem;
  color: var(--slate);
  margin-bottom: 0.5rem;
}
.service-section-body p { margin-bottom: 1rem; color: #555; font-size: 0.93rem; }
.service-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 2rem;
  margin-top: 1.5rem;
}
.service-item {
  font-size: 0.88rem;
  color: var(--charcoal);
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.service-item::before {
  content: '';
  width: 5px;
  height: 5px;
  background: var(--slate);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ---- CONTACT PAGE ---- */
.contact-simple {
  max-width: 600px;
}
.contact-info-centred h2 { margin-bottom: 1.25rem; }
.contact-info-centred p { color: #555; font-size: 0.93rem; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 6rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 1.25rem; }
.contact-info p { color: #555; font-size: 0.93rem; margin-bottom: 1.5rem; }
.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.contact-detail-icon {
  width: 38px;
  height: 38px;
  background: var(--taupe-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--slate);
}
.contact-detail-item a:hover { color: var(--slate); }

/* Contact Form */
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.5rem; }
.form-group label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid #ddd;
  padding: 0.85rem 1rem;
  transition: border-color 0.2s;
  outline: none;
  width: 100%;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--slate); }
.form-group textarea { resize: vertical; min-height: 140px; }
.form-notice {
  font-size: 0.78rem;
  color: #999;
  line-height: 1.6;
}
.form-submit { margin-top: 0.5rem; }

/* ---- H2 LIGHT ---- */
.h2-light { color: var(--white); }

/* ---- FOOTER ---- */
.footer {
  background: var(--charcoal);
  padding: 3.5rem 0 0;
  border-top: 1px solid rgba(218,208,194,0.1);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 0.18em;
  color: var(--taupe);
}
.footer-tagline {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(218,208,194,0.4);
  font-family: var(--font-body);
}
.footer-nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.footer-nav a {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
  font-weight: 500;
}
.footer-nav a:hover { color: var(--taupe); }
.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
}
.footer-contact a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  transition: color 0.2s;
}
.footer-contact a:hover { color: var(--taupe); }
.footer-bottom {
  padding: 1.25rem 2rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.25);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .pillars-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .service-section-grid { grid-template-columns: 1fr; gap: 2rem; }
  .service-section-label { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .footer-contact { align-items: center; }
  .footer-nav { flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--charcoal);
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-top: 1px solid rgba(218,208,194,0.1);
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .pillars-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .service-items { grid-template-columns: 1fr; }
  .cta-band-inner { flex-direction: column; }
  .hero-actions { flex-direction: column; gap: 0.75rem; }
  .hero-actions .btn { text-align: center; }
  .timeline-item { flex-direction: row; }
}
