/* ============================================================
   SOLID STONE — ABOUT PAGE
   Consolidated from 4 separate inline <style> blocks into one
   stylesheet, enqueued via functions.php — same pattern as
   materials.css / projects.css.

   Fixes applied vs. the original inline versions:
   - Hero row was collapsing to min-height:0 with no real height
     set (same bug found and fixed on Materials) — now has an
     actual height, box-sizing:border-box, and the fragile
     vh/vw video-sizing math replaced with plain object-fit:cover.
   - No font-family was declared anywhere (silently inheriting
     whatever the theme default is) — now explicitly Cormorant
     Garamond (headlines) / Jost (body), matching the rest of
     the site. Two spots were hardcoded to generic "sans-serif"
     instead of Jost — fixed.
   - .ss-intro-pill-name was font-weight:600, violating the
     site's 400–500 max rule — fixed to 500.
   - .ss-stat-label used an off-brand gold (#A6926A) instead of
     the site's actual #C9A96E — fixed.
   ============================================================ */

/* ---------- HERO ---------- */

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 38px;
  font-weight: 400;
  color: #f9f9f9;
  margin: 0 0 10px;
  line-height: 1.1;
  padding: 0;
  text-align: center;
  position: relative !important;
  z-index: 10 !important;
  opacity: 0;
  transform: translateY(40px);
  animation: riseUp 1.0s ease forwards;
  animation-delay: 0.3s;
}
.hero-subtitle {
  font-family: 'Jost', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #f9f9f9;
  margin: 0;
  padding: 0;
  text-align: center;
  position: relative !important;
  z-index: 10 !important;
  opacity: 0;
  transform: translateY(40px);
  animation: riseUp 1.0s ease forwards;
  animation-delay: 0.6s;
}

.hero-row {
  background-image: none !important;
  background-color: #000 !important;
  height: 60vh !important;
  min-height: 60vh !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.et_pb_row:has(.hero-title) {
  padding-bottom: 60px !important;
}

.et_pb_section:has(.hero-title) {
  padding: 0 !important;
  margin: 0 !important;
}

@keyframes riseUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 767px) {
  .hero-title { text-align: left; padding-left: 24px; }
  .hero-subtitle { text-align: left; padding-left: 24px; }
  .et_pb_row:has(.hero-title) { padding-bottom: 120px !important; }
}

@media (min-width: 768px) {
  .hero-title { font-size: 80px; }
  .hero-subtitle { font-size: 32px; }
  .hero-row {
    height: 80vh !important;
    min-height: 80vh !important;
  }
}

@media (min-width: 1200px) {
  .hero-title { font-size: 70px; }
  .hero-subtitle { font-size: 45px; }
}

/* ---------- INTRO: "34 years of craft" ---------- */

.ss-intro-section {
  background: transparent;
  padding: 80px 40px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}
.ss-intro-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.ss-intro-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a8f96;
  margin: 0 0 16px 0;
}
.ss-intro-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 400;
  color: #293C48;
  line-height: 1.2;
  margin: 0 0 24px 0;
}
.ss-intro-headline span {
  color: #5a7078;
}
.ss-intro-body {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: #293C48;
  line-height: 1.8;
  margin: 0 0 36px 0;
}
.ss-intro-team {
  display: flex;
  gap: 16px;
}
.ss-intro-pill {
  border: 0.5px solid rgba(154, 179, 190, 0.4);
  border-radius: 40px;
  padding: 10px 22px;
  text-align: center;
}
.ss-intro-pill-name {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #293C48;
  display: block;
  line-height: 1.3;
}
.ss-intro-pill-title {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  color: #7a8f96;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 3px;
}
.ss-intro-right {
  position: relative;
  height: 380px;
  border-radius: 4px;
  overflow: hidden;
}
.ss-intro-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border-radius: 4px;
}
@media (max-width: 768px) {
  .ss-intro-section { padding: 60px 24px; }
  .ss-intro-inner { grid-template-columns: 1fr; gap: 40px; }
  .ss-intro-right { height: 280px; }
  .ss-intro-headline { font-size: 28px; }
}

/* ---------- STATS BAR ---------- */

.ss-stats-section {
  background: #293C48;
  padding: 80px 40px;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  border-top: 0.5px solid rgba(154,179,190,0.15);
  border-bottom: 0.5px solid rgba(154,179,190,0.15);
}
.ss-stats-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.ss-stat-item {
  text-align: center;
  padding: 16px 24px;
  border-right: 0.5px solid rgba(154,179,190,0.18);
}
.ss-stat-item:last-child {
  border-right: none;
}
.ss-stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 400;
  color: #C9A96E;
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.ss-stat-number .ss-stat-suffix {
  font-size: 32px;
  font-weight: 400;
  color: #C9A96E;
}
.ss-stat-label {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C9A96E;
  line-height: 1.5;
}
@media (max-width: 768px) {
  .ss-stats-section {
    padding: 60px 24px;
  }
  .ss-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .ss-stat-item:nth-child(2) {
    border-right: none;
  }
  .ss-stat-item:nth-child(3) {
    border-right: 0.5px solid rgba(154,179,190,0.18);
    border-top: 0.5px solid rgba(154,179,190,0.18);
  }
  .ss-stat-item:nth-child(4) {
    border-top: 0.5px solid rgba(154,179,190,0.18);
    border-right: none;
  }
  .ss-stat-number {
    font-size: 40px;
  }
  .ss-stat-number .ss-stat-suffix {
    font-size: 26px;
  }
}
@media (max-width: 480px) {
  .ss-stats-inner {
    grid-template-columns: 1fr;
  }
  .ss-stat-item {
    border-right: none !important;
    border-top: 0.5px solid rgba(154,179,190,0.18);
    padding: 24px 16px;
  }
  .ss-stat-item:first-child {
    border-top: none;
  }
}

/* ---------- FACILITY PHOTOS — "The Floor / Technology / Craft" ---------- */

.ss-shop-section {
  padding: 80px 20px;
  width: 100%;
  box-sizing: border-box;
}
.ss-shop-inner {
  max-width: 1440px;
  margin: 0 auto;
}
.ss-shop-hero {
  position: relative;
  height: 460px;
  border-radius: 4px 4px 0 0;
  overflow: hidden;
}
.ss-shop-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  filter: brightness(0.48);
}
.ss-shop-hero-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 56px;
}
.ss-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin: 0 0 12px 0;
}
.ss-headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin: 0;
  max-width: 560px;
}
.ss-sub {
  font-family: 'Jost', sans-serif;
  font-size: 15px;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin: 16px 0 0 0;
  max-width: 420px;
}
.ss-floor-cap {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  position: absolute;
  bottom: 40px;
  right: 56px;
  margin: 0;
}
.ss-shop-bottom {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4px;
  margin-top: 4px;
}
.ss-shop-bottom-left {
  border-radius: 0 0 0 4px;
  overflow: hidden;
}
.ss-shop-bottom-right {
  border-radius: 0 0 4px 0;
  overflow: hidden;
}
.ss-shop-bottom-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
}
.ss-grinder {
  object-position: center 50%;
}
.ss-cap {
  font-family: 'Jost', sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a8f96;
  margin: 10px 0 0 0;
}
@media (max-width: 768px) {
  .ss-shop-hero {
    height: 380px;
  }
  .ss-shop-hero-text {
    padding: 28px 28px;
  }
  .ss-headline {
    font-size: 30px;
  }
  .ss-floor-cap {
    bottom: 28px;
    right: 28px;
  }
  .ss-shop-bottom {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .ss-shop-bottom-left {
    border-radius: 0;
  }
  .ss-shop-bottom-right {
    border-radius: 0 0 4px 4px;
  }
  .ss-shop-bottom-img {
    height: 220px;
  }
}
@media (min-width: 1200px) {
  .ss-grinder {
    object-position: center 70%;
  }
}

/* ---------- CLOSING CTA (video background, matching homepage/Materials/Projects treatment) ---------- */

.ss-closing-cta {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  min-height: 420px;
  overflow: hidden;
  box-sizing: border-box;
}
.ss-closing-cta-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.ss-closing-cta-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ss-closing-cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(20,28,34,0.85) 0%, rgba(20,28,34,0.5) 45%, rgba(20,28,34,0.15) 100%);
}
.ss-closing-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 96%;
  margin: 0 auto;
  padding: 90px 24px;
  box-sizing: border-box;
}
.ss-closing-cta-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C9A96E;
  margin: 0 0 20px;
}
.ss-closing-cta-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  font-size: 32px;
  line-height: 1.15;
  color: #fff;
  margin: 0 0 18px;
  max-width: 460px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.6), 0 6px 16px rgba(0,0,0,0.5);
}
.ss-closing-cta-sub {
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
  margin: 0 0 32px;
  max-width: 380px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6), 0 4px 12px rgba(0,0,0,0.45);
}
.ss-closing-cta-btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #C9A96E;
  background-color: #293C48;
  border: 1px solid rgba(201,169,110,0.4);
  padding: 15px 28px;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.ss-closing-cta-btn:hover { background-color: #3d5058; }

@media (min-width: 768px) {
  .ss-closing-cta { min-height: 520px; }
  .ss-closing-cta-inner { padding: 130px 60px; }
  .ss-closing-cta-heading { font-size: 46px; max-width: 560px; }
  .ss-closing-cta-sub { font-size: 16px; max-width: 440px; }
  .ss-closing-cta-btn { font-size: 13px; padding: 17px 34px; }
}

/* ---------- CONTACT MODAL (same pattern as Materials/Projects) ---------- */

.ss-contact-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20,28,34,0.7);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.ss-contact-overlay.is-open { opacity: 1; pointer-events: auto; }

.ss-contact-modal {
  position: relative;
  background: #293C48;
  width: 100%;
  max-width: 440px;
  padding: 40px 32px;
  box-sizing: border-box;
}

.ss-contact-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: rgba(245,244,240,0.5);
  font-size: 16px;
  cursor: pointer;
  transition: color 0.2s ease;
}
.ss-contact-close:hover { color: #fff; }

.ss-contact-eyebrow {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #C9A96E;
  margin-bottom: 14px;
}
.ss-contact-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 400;
  color: #fff;
  margin: 0 0 26px;
  line-height: 1.2;
}

.ss-contact-row {
  display: flex;
  gap: 16px;
}
.ss-contact-row .ss-contact-field { flex: 1; }

.ss-contact-field { margin-bottom: 18px; }
.ss-contact-field label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(245,244,240,0.45);
  margin-bottom: 8px;
  font-weight: 400;
}
.ss-contact-field input,
.ss-contact-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(245,244,240,0.2);
  border-radius: 0;
  padding: 8px 0;
  font-size: 14px;
  color: #f5f4f0;
  font-weight: 400;
  font-family: 'Jost', sans-serif;
  box-sizing: border-box;
}
.ss-contact-field input:focus,
.ss-contact-field textarea:focus {
  outline: none;
  border-bottom-color: #C9A96E;
}
.ss-contact-field input::placeholder,
.ss-contact-field textarea::placeholder {
  color: rgba(245,244,240,0.3);
}

.ss-contact-submit-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}
.ss-contact-submit-row button {
  background: transparent;
  color: #C9A96E;
  border: 1px solid #C9A96E;
  border-radius: 0;
  padding: 15px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}
.ss-contact-submit-row button:hover { background: #C9A96E; color: #293C48; }
.ss-contact-submit-row span {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: rgba(245,244,240,0.45);
  text-align: center;
  font-weight: 400;
}

.ss-contact-success { display: none; text-align: center; padding: 20px 0; }
.ss-contact-success-title { color: #C9A96E; font-size: 17px; font-weight: 500; margin: 0 0 8px; font-family: 'Cormorant Garamond', serif; }
.ss-contact-success-sub { color: rgba(245,244,240,0.65); font-size: 13px; font-weight: 400; margin: 0; font-family: 'Jost', sans-serif; }

@media (max-width: 480px) {
  .ss-contact-row { flex-direction: column; gap: 0; }
}