/* ============================================================
   THE S&CO. COLLECTIVE — Main Stylesheet
   Fonts: Cormorant Garamond (display) + Jost (body)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --cream:        #F9F6F2;
  --cream-dark:   #EDE8E0;
  --charcoal:     #1C1C1C;
  --charcoal-mid: #3A3A3A;
  --gold:         #B8965A;
  --gold-light:   #D4B896;
  --blush:        #C9A8A8;
  --blush-light:  #EEDEDE;
  --white:        #FFFFFF;
  --text-mid:     #666666;
  --text-light:   #9A9A9A;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', system-ui, sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: all 0.4s var(--ease);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  line-height: 1.75;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Layout ────────────────────────────────────────────────── */
.container        { max-width: 1200px; margin: 0 auto; padding: 0 48px; }
.container--narrow{ max-width: 780px;  margin: 0 auto; padding: 0 48px; }
.section          { padding: 100px 0; }
.section--dark    { background: var(--charcoal); color: var(--cream); }
.section--warm    { background: var(--cream-dark); }

/* ── Typography ────────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
}
.display-1 { font-size: clamp(56px, 8.5vw, 120px); letter-spacing: -2px; }
.display-2 { font-size: clamp(40px, 5.5vw,  76px); letter-spacing: -1px; }
.display-3 { font-size: clamp(30px, 3.5vw,  50px); }
.display-4 { font-size: clamp(22px, 2.5vw,  32px); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 18px;
}
.eyebrow--light { color: var(--gold-light); }

.body-text  { font-size: 16px; line-height: 1.85; color: var(--text-mid); }
.body-large { font-size: 18px; line-height: 1.85; }
.italic     { font-style: italic; }

/* ── Decorative Lines ──────────────────────────────────────── */
.gold-line          { width: 48px; height: 1px; background: var(--gold); display: block; margin: 20px 0; }
.gold-line--center  { margin: 20px auto; }
.gold-line--wide    { width: 100%; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 15px 40px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}
.btn--primary { background: var(--charcoal); color: var(--cream); }
.btn--primary:hover { background: var(--gold); color: var(--white); }

.btn--outline { border: 1px solid currentColor; background: transparent; }
.btn--outline:hover { background: var(--charcoal); color: var(--cream); border-color: var(--charcoal); }

.btn--outline-light { border: 1px solid rgba(249,246,242,0.6); color: var(--cream); background: transparent; }
.btn--outline-light:hover { background: var(--cream); color: var(--charcoal); border-color: var(--cream); }

.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: var(--charcoal); color: var(--cream); }

/* ── Navigation ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 48px;
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.nav.scrolled,
.nav.solid {
  background: rgba(249, 246, 242, 0.97);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.07);
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--charcoal);
  transition: var(--transition);
  flex-shrink: 0;
}
.nav__logo em { color: var(--gold); font-style: normal; }
.nav--light .nav__logo { color: var(--white); }
.nav--light.scrolled .nav__logo,
.nav--light.solid .nav__logo { color: var(--charcoal); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav__links a {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: var(--transition);
  position: relative;
}
.nav--light .nav__links a { color: var(--cream); }
.nav--light.scrolled .nav__links a,
.nav--light.solid .nav__links a { color: var(--charcoal); }

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  transform-origin: left;
}
.nav__links a:hover::after,
.nav__links a.active::after { transform: scaleX(1); }
.nav__links a:hover { color: var(--gold) !important; }

.nav__cta { margin-left: 16px; }

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--charcoal);
  transition: var(--transition);
}
.nav--light .nav__hamburger span { background: var(--white); }
.nav--light.scrolled .nav__hamburger span,
.nav--light.solid .nav__hamburger span { background: var(--charcoal); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.mobile-menu.open { display: flex; }
.mobile-menu__close {
  position: absolute;
  top: 28px; right: 44px;
  font-size: 30px;
  cursor: pointer;
  color: var(--charcoal);
  background: none;
  border: none;
  line-height: 1;
  font-weight: 300;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 300;
  color: var(--charcoal);
  transition: color 0.3s;
  letter-spacing: -0.5px;
}
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .btn {
  margin-top: 24px;
  font-size: 11px;
}

/* ── Footer ────────────────────────────────────────────────── */
.footer {
  background: var(--charcoal);
  color: var(--cream);
  padding: 80px 0 40px;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 64px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(249,246,242,0.1);
  margin-bottom: 36px;
}
.footer__brand-logo {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  margin-bottom: 14px;
  color: var(--cream);
}
.footer__brand-logo em { color: var(--gold); font-style: italic; }
.footer__tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 15px;
  color: rgba(249,246,242,0.5);
  margin-bottom: 28px;
}
.footer__social-row { display: flex; gap: 20px; }
.footer__social-row a {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  transition: var(--transition);
}
.footer__social-row a:hover { color: var(--cream); }
.footer__col-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
}
.footer__col ul { display: flex; flex-direction: column; gap: 11px; }
.footer__col ul a {
  font-size: 14px;
  color: rgba(249,246,242,0.65);
  transition: var(--transition);
}
.footer__col ul a:hover { color: var(--cream); padding-left: 4px; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer__bottom p {
  font-size: 12px;
  color: rgba(249,246,242,0.35);
}
.footer__bottom a {
  font-size: 12px;
  color: rgba(249,246,242,0.35);
  transition: color 0.3s;
}
.footer__bottom a:hover { color: var(--gold); }

/* ── Image Placeholders ────────────────────────────────────── */
.img-ph {
  background: linear-gradient(135deg, var(--cream-dark) 0%, var(--blush-light) 60%, #e8d5d0 100%);
  position: relative;
  overflow: hidden;
}
.img-ph--dark {
  background: linear-gradient(135deg, #2a2a2a 0%, #3d3530 100%);
}
.img-ph-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
  font-family: var(--font-body);
  opacity: 0.6;
  pointer-events: none;
}

/* ── Scroll Reveal ─────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  background: var(--cream);
  border-bottom: 1px solid var(--cream-dark);
}
.page-hero__eyebrow { margin-bottom: 18px; }
.page-hero p {
  max-width: 540px;
  margin: 20px auto 0;
  color: var(--text-mid);
}

/* ── Testimonial Card ──────────────────────────────────────── */
.testimonial-card {
  background: var(--white);
  padding: 44px 40px;
  border-left: 3px solid var(--gold);
  position: relative;
}
.testimonial-card__quote {
  font-family: var(--font-display);
  font-size: 20px;
  font-style: italic;
  line-height: 1.55;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.testimonial-card__quote::before {
  content: '"';
  font-size: 80px;
  color: var(--gold);
  line-height: 0;
  vertical-align: -0.4em;
  margin-right: 4px;
  font-family: var(--font-display);
  opacity: 0.5;
}
.testimonial-card__author {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--charcoal-mid);
}
.testimonial-card__event {
  font-size: 13px;
  color: var(--text-light);
  margin-top: 4px;
}

/* ── Service Card ──────────────────────────────────────────── */
.service-card {
  padding: 48px 40px;
  border-top: 1px solid var(--cream-dark);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.4s var(--ease);
  transform-origin: left;
}
.service-card:hover { background: var(--white); }
.service-card:hover::before { transform: scaleX(1); }
.service-card__num {
  font-family: var(--font-display);
  font-size: 72px;
  color: var(--cream-dark);
  line-height: 1;
  margin-bottom: 12px;
  transition: color 0.3s;
  font-weight: 300;
}
.service-card:hover .service-card__num { color: var(--blush-light); }
.service-card__title {
  font-family: var(--font-display);
  font-size: 28px;
  margin-bottom: 16px;
}
.service-card__body {
  color: var(--text-mid);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.8;
}
.service-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.service-card__tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--text-mid);
  border: 1px solid var(--cream-dark);
  padding: 5px 12px;
  transition: var(--transition);
}
.service-card:hover .service-card__tag {
  border-color: var(--gold-light);
  color: var(--gold);
}

/* ── Portfolio Grid ────────────────────────────────────────── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--white);
  display: flex;
  flex-direction: column;
}
.portfolio-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform 0.5s var(--ease);
}
.portfolio-item:hover img { transform: scale(1.04); }
.portfolio-item__caption {
  padding: 20px 24px 24px;
  background: var(--white);
  border-top: 2px solid var(--cream-dark);
  transition: border-color 0.3s;
}
.portfolio-item:hover .portfolio-item__caption {
  border-top-color: var(--gold);
}
.portfolio-item__caption h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 4px;
  color: var(--charcoal);
}
.portfolio-item__caption p {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}
.portfolio-item--wide { grid-column: span 2; }
.portfolio-item--wide img { aspect-ratio: 2/1; }
.portfolio-item--tall { grid-row: span 2; }

/* ── Pricing Cards ─────────────────────────────────────────── */
.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.pricing-card {
  padding: 52px 40px;
  background: var(--white);
  border-top: 3px solid var(--cream-dark);
  transition: var(--transition);
  position: relative;
}
.pricing-card--featured {
  background: var(--charcoal);
  color: var(--cream);
  border-top-color: var(--gold);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}
.pricing-card__badge {
  position: absolute;
  top: 0; right: 40px;
  background: var(--gold);
  color: var(--white);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
}
.pricing-card__title {
  font-family: var(--font-display);
  font-size: 30px;
  margin-bottom: 6px;
}
.pricing-card__subtitle {
  font-size: 12px;
  color: var(--text-light);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.pricing-card--featured .pricing-card__subtitle { color: var(--gold-light); }
.pricing-card__price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 300;
  line-height: 1;
  margin-bottom: 6px;
}
.pricing-card__price-note {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 36px;
}
.pricing-card--featured .pricing-card__price-note { color: rgba(249,246,242,0.5); }
.pricing-card__includes {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.pricing-card--featured .pricing-card__includes { color: var(--gold-light); }
.pricing-card__list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 40px; }
.pricing-card__list li {
  font-size: 14px;
  color: var(--text-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.pricing-card--featured .pricing-card__list li { color: rgba(249,246,242,0.75); }
.pricing-card__list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 12px;
}

/* ── Blog Cards ────────────────────────────────────────────── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.blog-card { cursor: pointer; }
.blog-card__img {
  aspect-ratio: 4/3;
  margin-bottom: 24px;
  overflow: hidden;
}
.blog-card__img img,
.blog-card__img .img-ph {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.blog-card:hover .blog-card__img img,
.blog-card:hover .blog-card__img .img-ph { transform: scale(1.04); }
.blog-card__cat {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.blog-card__title {
  font-family: var(--font-display);
  font-size: 22px;
  margin-bottom: 12px;
  line-height: 1.25;
  transition: color 0.3s;
}
.blog-card:hover .blog-card__title { color: var(--gold); }
.blog-card__excerpt { font-size: 14px; color: var(--text-mid); line-height: 1.7; margin-bottom: 16px; }
.blog-card__date { font-size: 12px; color: var(--text-light); letter-spacing: 1px; }

/* ── Contact Form ──────────────────────────────────────────── */
.form-group { margin-bottom: 28px; }
.form-label {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--charcoal-mid);
  margin-bottom: 10px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--cream-dark);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--charcoal);
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-bottom-color: var(--gold);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }

/* ── Stats ─────────────────────────────────────────────────── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat {
  padding: 56px 40px;
  text-align: center;
  border-right: 1px solid var(--cream-dark);
  transition: background 0.3s;
}
.stat:last-child { border-right: none; }
.stat:hover { background: var(--white); }
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 72px);
  font-weight: 300;
  line-height: 1;
  color: var(--charcoal);
  margin-bottom: 10px;
}
.stat__num em { color: var(--gold); font-style: normal; }
.stat__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .pricing-cards { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid var(--cream-dark); }
  .stat:nth-child(odd) { border-right: 1px solid var(--cream-dark); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }
}
@media (max-width: 900px) {
  .container, .container--narrow { padding: 0 28px; }
  .nav { padding: 0 28px; }
  .nav__links, .nav__cta { display: none; }
  .nav__hamburger { display: flex; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-item--wide { grid-column: span 1; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 44px; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 36px; }
  .footer__bottom { flex-direction: column; gap: 10px; text-align: center; }
  .stats-row { grid-template-columns: 1fr 1fr; }
}
