/* About-page-only styles. Loaded after styles.css — override/extend here, don't edit styles.css. */

/* ===== Signature tilt accent on every eyebrow (echoes the logo's angle) ===== */
/* Eyebrow mark — a miniature version of the real logo's I-beam, in place
   of a generic tilted tick, on every eyebrow label. */
.eyebrow-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8em;
}
.eyebrow-wrap .eyebrow {
  margin-bottom: 0;
}
.eyebrow-mark {
  height: 15px;
  width: auto;
  opacity: 0.9;
}

/* ===== Page hero watermark ===== */
.page-hero {
  position: relative;
  overflow: hidden;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero .hero-watermark {
  right: -6%;
  top: 42%;
  width: 42%;
  max-width: 420px;
  opacity: 0.05;
}

/* ===== Our Story section ===== */
.story-section {
  position: relative;
  background:
    radial-gradient(ellipse 60% 70% at 82% 45%, rgba(76,85,90,0.10), transparent 65%),
    var(--black);
}
.story-section .angled-rule {
  margin: 4px 0 24px;
  transform: none;
  width: 140px;
}

/* "Our Story" eyebrow: a miniature version of the real logo's I-beam mark
   in place of the generic tilted tick used everywhere else. */
.story-eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.8em;
}
.story-eyebrow .eyebrow {
  margin-bottom: 0;
}
.story-eyebrow .eyebrow::before {
  display: none;
}
.story-eyebrow-mark {
  height: 15px;
  width: auto;
  opacity: 0.9;
}

.story-visual {
  position: relative;
}
.story-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  margin: 0 30px 30px 0;
  border: 1px solid var(--graphite-600);
  background: var(--graphite-900);
  clip-path: polygon(0 0, 100% 0, 100% 86%, 84% 100%, 0 100%);
}
.story-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 40%;
  transition: transform 0.6s ease;
}
.story-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(190deg, rgba(10,10,11,0) 40%, rgba(10,10,11,0.9) 100%),
    linear-gradient(100deg, rgba(10,10,11,0.45) 0%, rgba(10,10,11,0) 45%);
  pointer-events: none;
}
.story-visual:hover .story-frame img { transform: scale(1.05); }

.story-badge {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 128px;
  height: 128px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: var(--graphite-800);
  border: 1px solid var(--graphite-600);
  box-shadow: 0 20px 36px -14px rgba(0,0,0,0.7);
  transform: rotate(var(--tilt));
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.story-visual:hover .story-badge {
  border-color: var(--steel-400);
  transform: rotate(var(--tilt)) translateY(-3px);
}
.story-badge img { width: 100%; opacity: 0.95; }

@media (prefers-reduced-motion: reduce) {
  .story-frame img,
  .story-badge { transition: none; }
}

/* ===== Our Values: one featured value + a supporting strip =====
   Deliberately asymmetric (1 + 3) instead of four repeated cards: Reliability
   gets a bespoke, larger treatment; the other three reuse the site's plain
   divided-strip pattern so the numbered-card device isn't repeated four times. */
.values-feature {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.value-lead {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 40px;
  background: var(--graphite-800);
  border: 1px solid var(--graphite-600);
  padding: 48px 56px;
  transition: border-color 0.2s ease;
}
.value-lead::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  width: 72px;
  height: 5px;
  background: var(--sheen);
  transform-origin: left top;
  transform: rotate(var(--tilt));
}
.value-lead:hover { border-color: var(--steel-400); }

.value-lead-mark {
  display: flex;
  align-items: center;
  gap: 22px;
}

.value-index {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--graphite-600);
  transition: -webkit-text-stroke-color 0.2s ease;
}
.value-lead:hover .value-index { -webkit-text-stroke-color: var(--steel-400); }

.value-icon {
  width: 36px;
  height: 36px;
  color: var(--steel-400);
  flex-shrink: 0;
  transition: color 0.2s ease;
}
.value-lead:hover .value-icon { color: var(--white); }

.value-lead-copy h3 { font-size: 1.6rem; margin-bottom: 10px; }
.value-lead-copy p {
  font-size: 1.05rem;
  max-width: 56ch;
  color: var(--steel-200);
  margin-bottom: 0;
}

/* Supporting three: reuse .value-strip from styles.css (plain icon/heading/text,
   divided by rules) rather than another boxed-card grid. */
.value-strip { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  .value-lead, .value-index, .value-icon { transition: none; }
}

/* ===== CTA banner: duotone photo treatment =====
   A different job-site photo than "Our Story" (barndo-2.jpg, unused elsewhere
   on this page), pushed through grayscale + a graphite/steel tint via
   multiply blend so the building actually reads instead of vanishing into noise. */
.cta-banner {
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('brand/photos/barndo-2.jpg') center 38% / cover no-repeat;
  filter: grayscale(1) contrast(1.15) brightness(0.55);
}
.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,11,0.5) 0%, rgba(10,10,11,0.85) 100%),
    linear-gradient(100deg, rgba(76,85,90,0.65) 0%, rgba(10,10,11,0.25) 70%);
  mix-blend-mode: multiply;
}
.cta-banner .container {
  position: relative;
  z-index: 1;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .story-visual { width: 100%; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .value-lead {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 22px;
  }
}

@media (max-width: 560px) {
  .story-frame { margin: 0 20px 20px 0; }
  .story-badge { width: 92px; height: 92px; padding: 16px; }
  .page-hero .hero-watermark { width: 56%; opacity: 0.045; }
  .value-lead { padding: 30px 22px; }
  .value-index { font-size: 3.6rem; }
}
