/* =============================================================================
   OURHAUS — GLOBAL STYLES
   Import after tokens.css
   ============================================================================= */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  color: var(--color-dark-text);
  background-color: var(--color-white);
  line-height: var(--lh-body);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

ul, ol {
  list-style: none;
}

/* ---------------------------------------------------------------------------
   TYPOGRAPHY
--------------------------------------------------------------------------- */

/* Section label — "the concept", "the process" etc. */
.label {
  font-family: var(--font-secondary);
  font-size: var(--fs-body);       /* 14px — Figma: Inter Medium 14px */
  font-weight: var(--fw-medium);
  letter-spacing: var(--ls-label); /* 7px */
  text-transform: uppercase;
  color: var(--color-muted);
  display: block;
}

/* Section heading */
.section-heading {
  font-family: var(--font-primary);
  font-size: var(--fs-h2);         /* 60px */
  font-weight: var(--fw-light);    /* 300 — Figma: Plus Jakarta Sans Light */
  line-height: var(--lh-h2);       /* 68px */
  color: var(--color-dark-text);
}

/* Section subtitle / subheading */
.section-subtitle {
  font-family: var(--font-primary);
  font-size: var(--fs-subtitle);
  font-weight: var(--fw-regular);
  color: var(--color-light-black); /* #383838 — Figma */
  line-height: 24px;
  margin-bottom: 10px
}

/* Card heading — benefit/contact card titles (18px Bold per Figma) */
.card-heading {
  font-family: var(--font-primary);
  font-size: var(--fs-subtitle);   /* 18px — was --fs-h3 (24px) */
  font-weight: var(--fw-bold);     /* 700 */
  line-height: 24px;
}

/* ---------------------------------------------------------------------------
   LAYOUT UTILITIES
--------------------------------------------------------------------------- */

/* Main page wrapper — constrains to 1440px and centers */
.site-wrapper {
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

/* Content container — 1240px with 100px side margins */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-padding);
  padding-right: var(--container-padding);
  width: 100%;
}

/* Full-bleed (no horizontal padding) */
.container--full {
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Section spacing */
.section {
  padding-top: var(--section-padding-y);
  padding-bottom: var(--section-padding-y);
}

.section--dark {
  background-color: var(--color-dark);
  color: var(--color-white);
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

/* Standard section header block (label + heading + subtitle) */
.section-header {
  text-align: center;
  margin-bottom: var(--section-gap);
}

.section-header .label {
  margin-bottom: 18px;
}

.section-header .section-heading {
  margin-bottom: 18px;
}

/* 3-column grid */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--col-gap);
}

/* 2-column grid */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--col-gap);
}

/* ---------------------------------------------------------------------------
   IMAGES & PLACEHOLDERS
--------------------------------------------------------------------------- */

/* Image containers with aspect-ratio */
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Fallback placeholder when image is missing */
.img-placeholder {
  background-color: #e8e5e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  font-size: var(--fs-label);
  font-family: var(--font-secondary);
  letter-spacing: 2px;
}

.img-placeholder::before {
  content: 'IMAGE';
}

/* ---------------------------------------------------------------------------
   ACCESSIBILITY
--------------------------------------------------------------------------- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-dark-text);
  outline-offset: 3px;
}

/* ---------------------------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------------------------- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.breakdance {
  background-color: #fff !important;
}

@media (max-width: 768px) {
  .section-header .label,
  .section-header .section-heading,
  .section-header {
    margin-bottom: 15px;
  }
  .home-process__steps-wrap {
    padding-top: 20px !important;
  }
  .section-heading {
    font-size: var(--fs-h3-mobile);
    line-height: var(--lh-h3);
  }
  .section-subtitle {
    font-size: var(--fs-body-mobile);
    line-height: var(--lh-body);
  }
}