/* =====================================================================
   Wolff Consulting - Brand Design System & Stylesheet
   ===================================================================== */

/* ---------- Brand Fonts ---------- */
@font-face {
  font-family: 'Museo Sans Display';
  src: url('fonts/MuseoSansDisplay-Light.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Museo Sans';
  src: url('fonts/MuseoSans-300.woff2') format('woff2');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Museo Sans';
  src: url('fonts/MuseoSans-500.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design Tokens ---------- */
:root {
  /* Brand Palette */
  --wolff-watermelon:       #FF3B3F;
  --wolff-watermelon-dark:  #E72A2F;
  --wolff-sky:              #CAEBF2;
  --wolff-neutral:          #EFEFEF;
  --wolff-white:            #FFFFFF;
  --wolff-paper:            #F7F7F7;
  --wolff-mist:             #E0E0E0;
  --wolff-carbon:           #A9A9A9;
  --wolff-graphite:         #4A4A4A;
  --wolff-ink:              #111111;

  /* Semantic Variables */
  --bg:                     var(--wolff-white);
  --bg-muted:               var(--wolff-paper);
  --bg-accent-quiet:        var(--wolff-neutral);
  --bg-inverse:             var(--wolff-ink);
  --bg-accent:              var(--wolff-watermelon);
  --bg-accent-cool:         var(--wolff-sky);

  --fg:                     var(--wolff-ink);
  --fg-muted:               var(--wolff-graphite);
  --fg-subtle:              var(--wolff-carbon);
  --fg-inverse:             var(--wolff-white);

  --border:                 var(--wolff-mist);
  --border-strong:          var(--wolff-ink);

  /* Typography */
  --font-display:           'Museo Sans Display', 'Helvetica Neue', Arial, sans-serif;
  --font-body:              'Museo Sans', 'Helvetica Neue', Arial, sans-serif;

  --w-light:                300;
  --w-medium:               500;
  --w-regular:              300;
  --w-semibold:             500;

  /* Typography Tracking */
  --tr-tight:               -0.02em;
  --tr-wide:                0.16em;
  --tr-2x-wide:             0.22em;

  /* Shape & Transitions */
  --r-0:                    0px;
  --r-sm:                   4px;
  --dur-micro:              160ms;
  --dur-standard:           240ms;
  --ease-standard:          cubic-bezier(0.2, 0, 0, 1);
}

/* ---------- Element Defaults ---------- */
html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-weight: var(--w-regular);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection {
  background: var(--wolff-watermelon);
  color: var(--wolff-white);
}

a {
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity var(--dur-micro) var(--ease-standard);
}

a:hover {
  opacity: 0.7;
}

/* ---------- Layout & Structural Components ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--wolff-mist);
}

.nav-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 10px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  display: block;
}

.nav-menu {
  display: flex;
  gap: 34px;
  align-items: center;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  color: var(--wolff-ink);
  text-decoration: none;
  transition: opacity var(--dur-micro) var(--ease-standard);
}

.nav-link:hover {
  opacity: 0.7;
}

.btn-nav-cta {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
  background: var(--wolff-ink);
  color: var(--wolff-white);
  padding: 12px 18px;
  text-decoration: none;
  white-space: nowrap;
  flex: none;
  border-radius: var(--r-0);
  border: 1px solid var(--wolff-ink);
  transition: background var(--dur-micro) var(--ease-standard), border-color var(--dur-micro) var(--ease-standard);
}

.btn-nav-cta:hover {
  background: #000;
  border-color: #000;
  opacity: 1;
}

/* ---------- Hero Section ---------- */
.hero-section {
  position: relative;
  background: var(--wolff-watermelon);
  overflow: hidden;
}

.hero-texture {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.5) 1px, transparent 1px);
  background-size: 7px 7px;
  opacity: 0.12;
  pointer-events: none;
}

.hero-container {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 128px 48px 150px;
  color: var(--wolff-white);
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tr-2x-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 26px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 100px;
  line-height: 0.98;
  letter-spacing: -0.03em;
  margin: 0;
  max-width: 1000px;
  color: var(--wolff-white);
}

.hero-lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.55;
  margin: 36px 0 0;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.94);
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 48px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary-dark {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  background: var(--wolff-ink);
  color: var(--wolff-white);
  padding: 18px 30px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: var(--r-0);
  border: 1px solid var(--wolff-ink);
  transition: background var(--dur-micro) var(--ease-standard), border-color var(--dur-micro) var(--ease-standard);
}

.btn-primary-dark:hover {
  background: #000;
  border-color: #000;
  opacity: 1;
}

.btn-ghost-light {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  background: transparent;
  color: var(--wolff-white);
  padding: 18px 30px;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  border-radius: var(--r-0);
  transition: background var(--dur-micro) var(--ease-standard);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  opacity: 1;
}

/* ---------- Services Section ---------- */
.services-section {
  scroll-margin-top: 80px;
  padding: 120px 48px;
  max-width: 1240px;
  margin: 0 auto;
}

.section-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tr-2x-wide);
  text-transform: uppercase;
  color: var(--wolff-graphite);
  margin-bottom: 18px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 64px;
  line-height: 1.05;
  letter-spacing: var(--tr-tight);
  margin: 0 0 80px;
  max-width: 820px;
}

.services-list {
  display: flex;
  flex-direction: column;
}

.service-item {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  padding: 48px 0;
  border-top: 1px solid var(--wolff-ink);
}

.service-item:last-child {
  border-bottom: 1px solid var(--wolff-ink);
}

.service-num {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  color: var(--wolff-watermelon);
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}

.service-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 38px;
  line-height: 1.05;
  letter-spacing: var(--tr-tight);
  margin: 0;
  max-width: 340px;
}

.service-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--wolff-graphite);
  margin: 0;
  max-width: 560px;
  text-wrap: pretty;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.service-tag {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--wolff-ink);
  border: 1px solid var(--wolff-mist);
  padding: 7px 14px;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
  scroll-margin-top: 0;
  background: var(--wolff-ink);
  color: var(--wolff-white);
}

.testimonials-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 48px;
}

.testimonials-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tr-2x-wide);
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 20px;
}

.testimonials-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: var(--tr-tight);
  margin: 0 0 64px;
  max-width: 760px;
  color: var(--wolff-white);
}

.feature-quote {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 34px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--wolff-white);
  max-width: 1000px;
  text-wrap: pretty;
}

.quote-attribution {
  margin-top: 28px;
}

.attribution-name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--wolff-white);
}

.attribution-role {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.testimonials-divider {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  margin: 64px 0 36px;
}

.carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 28px;
}

.carousel-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--wolff-white);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--r-0);
  transition: opacity var(--dur-standard) var(--ease-standard), background var(--dur-micro) var(--ease-standard);
}

.carousel-btn:hover {
  background: rgba(255, 255, 255, 0.12);
}

.quote-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  align-items: stretch;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.quote-rail::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  flex: 0 0 360px;
  scroll-snap-align: start;
}

.card-accent-bar {
  width: 24px;
  height: 2px;
  background: var(--wolff-watermelon);
  margin-bottom: 24px;
}

.card-quote {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16.5px;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 28px;
  text-wrap: pretty;
}

.card-meta {
  margin-top: auto;
}

.card-name {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--wolff-white);
}

.card-role {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 4px;
}

/* Accent Card (Tree Kraj) */
.testimonial-card.card-accent {
  background: var(--wolff-sky);
  border-color: var(--wolff-sky);
}

.testimonial-card.card-accent .card-accent-bar {
  background: var(--wolff-ink);
}

.testimonial-card.card-accent .card-quote {
  color: var(--wolff-ink);
}

.testimonial-card.card-accent .card-name {
  color: var(--wolff-ink);
}

.testimonial-card.card-accent .card-role {
  color: var(--wolff-graphite);
}

/* ---------- About Section ---------- */
.about-section {
  scroll-margin-top: 80px;
  padding: 120px 48px;
  max-width: 1240px;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 96px;
  align-items: start;
}

.about-meta-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tr-2x-wide);
  text-transform: uppercase;
  color: var(--wolff-subtle);
  margin-bottom: 22px;
}

.about-meta-list {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  color: var(--wolff-subtle);
  line-height: 1.9;
}

.about-role-title {
  color: var(--wolff-ink);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
  margin-bottom: 18px;
}

.about-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 56px;
  line-height: 1.1;
  letter-spacing: var(--tr-tight);
  margin: 0;
  text-wrap: balance;
  max-width: 820px;
}

.about-desc-grid {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.about-desc-p {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.75;
  color: var(--wolff-graphite);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Contact Section ---------- */
.contact-section {
  scroll-margin-top: 80px;
  background: var(--wolff-paper);
  border-top: 1px solid var(--wolff-mist);
}

.contact-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 120px 48px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

.contact-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tr-2x-wide);
  text-transform: uppercase;
  color: var(--wolff-subtle);
  margin-bottom: 22px;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0;
}

.contact-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
}

.contact-lede {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.65;
  color: var(--wolff-graphite);
  margin: 0;
  max-width: 440px;
}

.btn-primary-coral {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.02em;
  background: var(--wolff-watermelon);
  color: var(--wolff-white);
  padding: 18px 32px;
  text-decoration: none;
  border: 1px solid var(--wolff-watermelon);
  transition: background var(--dur-micro) var(--ease-standard), border-color var(--dur-micro) var(--ease-standard);
  cursor: pointer;
}

.btn-primary-coral:hover {
  background: var(--wolff-watermelon-dark);
  border-color: var(--wolff-watermelon-dark);
  opacity: 1;
}

/* ---------- Other Work Section ---------- */
.other-work-section {
  scroll-margin-top: 80px;
  background: var(--bg-muted);
  border-top: 1px solid var(--border);
  padding: 120px 48px;
}

.other-work-container {
  max-width: 1240px;
  margin: 0 auto;
}

.other-work-eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: var(--tr-2x-wide);
  text-transform: uppercase;
  color: var(--wolff-graphite);
  margin-bottom: 20px;
}

.other-work-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 52px;
  line-height: 1.05;
  letter-spacing: var(--tr-tight);
  margin: 0 0 64px;
  max-width: 760px;
  color: var(--wolff-ink);
}

.other-work-carousel-controls {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 28px;
}

.other-work-carousel-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid rgba(17, 17, 17, 0.4);
  color: var(--wolff-ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  border-radius: var(--r-0);
  transition: opacity var(--dur-standard) var(--ease-standard), background var(--dur-micro) var(--ease-standard);
}

.other-work-carousel-btn:hover {
  background: rgba(17, 17, 17, 0.05);
}

.other-work-rail {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  align-items: stretch;
  padding-bottom: 8px;
  scrollbar-width: none;
}

.other-work-rail::-webkit-scrollbar {
  display: none;
}

.work-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--border);
  flex: 0 0 360px;
  scroll-snap-align: start;
  background: var(--bg);
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur-standard) var(--ease-standard), border-color var(--dur-standard) var(--ease-standard), box-shadow var(--dur-standard) var(--ease-standard);
}

.work-card:hover {
  opacity: 1;
  transform: translateY(-4px);
  border-color: var(--wolff-watermelon);
  box-shadow: 0 12px 24px rgba(17, 17, 17, 0.04);
}

.work-card-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--wolff-sky);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.work-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-standard) var(--ease-standard);
}

.work-card:hover .work-card-img {
  transform: scale(1.03);
}

.work-card-content {
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex-grow: 1;
}

.work-card-date {
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--wolff-carbon);
  margin-bottom: 12px;
}

.work-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 20px;
  line-height: 1.25;
  color: var(--wolff-ink);
  margin: 0 0 12px;
}

.work-card-desc {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wolff-graphite);
  margin: 0;
  text-wrap: pretty;
}

/* ---------- Footer Section ---------- */
.site-footer {
  background: var(--wolff-neutral);
  border-top: 1px solid var(--wolff-mist);
  padding: 56px 48px 40px;
}

.footer-grid {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  height: 64px;
  display: block;
  margin-left: -4px;
}

.footer-blurb {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--wolff-graphite);
  line-height: 1.6;
  margin: 16px 0 0;
  max-width: 320px;
}

.footer-section-title {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: var(--tr-2x-wide);
  text-transform: uppercase;
  color: var(--wolff-subtle);
  margin-bottom: 18px;
}

.footer-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-link {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--wolff-ink);
  text-decoration: none;
  transition: opacity var(--dur-micro) var(--ease-standard);
}

.footer-link:hover {
  opacity: 0.7;
}

.footer-bottom {
  max-width: 1240px;
  margin: 56px auto 0;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--wolff-subtle);
}

.footer-bottom-tagline {
  letter-spacing: var(--tr-wide);
  text-transform: uppercase;
}

/* =====================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ===================================================================== */

@media (max-width: 900px) {
  /* Layout Paddings */
  .hero-container {
    padding: 96px 24px 100px;
  }
  .services-section,
  .testimonials-container,
  .about-section,
  .other-work-section,
  .contact-container,
  .site-footer {
    padding: 80px 24px;
  }
  .nav-container {
    padding: 10px 24px;
  }

  /* Typography Mobile Scaling */
  .hero-title {
    font-size: 56px;
    line-height: 1.02;
  }
  .section-title,
  .other-work-title,
  .contact-title {
    font-size: 44px;
    line-height: 1.1;
    margin-bottom: 40px;
  }
  .service-title {
    font-size: 28px;
    max-width: 100%;
  }
  .testimonials-title {
    font-size: 36px;
    margin-bottom: 40px;
  }
  .feature-quote {
    font-size: 24px;
  }
  .about-title {
    font-size: 36px;
  }

  /* Grid Layout Collapses */
  .service-item {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 32px 0;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-desc-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 32px;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 600px) {
  .nav-menu {
    display: none; /* Hide navigation links on small mobile screens to prevent wrapping */
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-primary-dark,
  .btn-ghost-light,
  .btn-primary-coral {
    width: 100%;
    justify-content: center;
  }
}
