/* About Us uses the homepage's brand, navigation and footer styles. */
.company-hero{display:grid;grid-template-columns:1.1fr 1fr;gap:65px;align-items:center;padding-block:65px 70px}
.company-intro h1{font-size:clamp(38px,4.2vw,58px);line-height:1.12;letter-spacing:-2.4px;font-weight:600;margin:0 0 25px}
.company-intro h1 em{font-family:Georgia,serif;color:var(--wine);font-weight:400}
.company-intro .lead{max-width:490px}.company-intro .actions{flex-wrap:wrap;gap:24px}
.company-hero-image{position:relative;margin:0;height:410px;overflow:hidden;border-radius:10px}
.company-hero-image img{width:100%;height:100%;object-fit:cover}
.company-hero-image figcaption{position:absolute;bottom:20px;left:20px;right:20px;background:#fffdf9;padding:17px 18px;border-radius:5px;font-size:9px;font-weight:600;letter-spacing:1.2px;color:var(--wine)}
.company-facts{background:#fffdf9;border-block:1px solid var(--line)}.fact-grid{display:grid;grid-template-columns:repeat(3,1fr);padding-block:30px}.fact-grid>div{padding:5px 30px;border-right:1px solid var(--line)}.fact-grid>div:first-child{padding-left:0}.fact-grid>div:last-child{border:0}.fact-grid strong{display:block;color:var(--wine);font-size:27px;font-weight:500;letter-spacing:-.5px}.fact-grid span{display:block;color:var(--muted);font-size:12px;margin-top:7px}
.company-story{display:grid;grid-template-columns:1fr 1.25fr;gap:80px;padding-block:80px}.company-story .eyebrow{margin-bottom:18px}.story-copy p,.solution-copy>p:not(.eyebrow){font-size:14px;line-height:1.9;color:var(--muted);margin:0 0 18px}.story-copy p:last-child{margin-bottom:0}
.company-solutions{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center;padding-bottom:80px}.solution-photo{height:420px}.solution-photo img{height:100%;width:100%;object-fit:cover;border-radius:9px}.solution-copy h2{margin-bottom:22px}.solution-copy .eyebrow{margin-bottom:17px}.capability-list{list-style:none;margin:25px 0;padding:0}.capability-list li{position:relative;padding:12px 0 12px 27px;border-bottom:1px solid var(--line);color:var(--ink);font-size:12px;line-height:1.5}.capability-list li::before{content:'✓';position:absolute;left:0;color:var(--wine);font-weight:700}.solution-copy .text-link{color:var(--wine)}
.company-values{padding-bottom:80px}.value-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.value-card{background:#fffdf9;border:1px solid var(--line);border-radius:7px;padding:30px}.value-number{font-size:9px;font-weight:600;letter-spacing:1.5px;color:var(--wine)}.value-card h3{font-size:22px;font-weight:500;letter-spacing:-.6px;margin:28px 0 16px;line-height:1.3}.value-card p{font-size:13px;color:var(--muted);line-height:1.8;margin:0}
.community-section{background:#f0ebe4;border-block:1px solid var(--line);padding-block:65px}.community-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.community-card{background:#fffdf9;border:1px solid var(--line);border-radius:7px;overflow:hidden}.community-card>img{width:100%;height:180px;object-fit:cover}.community-card>div{padding:22px}.community-card time{font-size:8px;letter-spacing:1.2px;color:var(--wine);font-weight:600}.community-card h3{font-size:17px;font-weight:500;line-height:1.4;margin:13px 0}.community-card p{font-size:12px;line-height:1.8;color:var(--muted);margin:0}.company-cta{margin-top:70px}
@media(max-width:1000px){.company-hero{gap:35px}.company-hero-image{height:360px}.company-story{gap:40px}.company-solutions{gap:35px}.community-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.community-card>img{height:230px}.value-card{padding:23px}.value-card h3{font-size:20px}}
@media(max-width:760px){.company-hero{grid-template-columns:1fr;padding-block:42px;gap:30px}.company-intro h1{font-size:43px;letter-spacing:-1.8px}.company-hero-image{height:350px}.fact-grid{padding-block:23px;gap:14px}.fact-grid>div{padding:0 12px 0 0}.fact-grid strong{font-size:20px}.fact-grid span{font-size:10px;line-height:1.7}.company-story{grid-template-columns:1fr;gap:25px;padding-block:48px}.company-solutions{grid-template-columns:1fr;gap:30px;padding-bottom:48px}.solution-photo{height:300px}.company-values{padding-bottom:48px}.value-grid{grid-template-columns:1fr}.value-card h3{margin-top:18px}.community-section{padding-block:45px}.community-section .section-heading .text-link{margin-top:22px}.community-card>img{height:170px}.community-card>div{padding:17px}.company-cta{margin-top:48px}}
@media(max-width:450px){.community-grid{grid-template-columns:1fr}.community-card>img{height:220px}.company-hero-image{height:300px}.company-intro h1{font-size:38px}.fact-grid strong{font-size:17px}.fact-grid{gap:10px}.company-intro .button{font-size:11px;gap:15px}}

/* Warm the repair photo to harmonise with the other About Us photographs. */
.company-solutions .solution-photo {
  position: relative;
  overflow: hidden;
  border-radius: 9px;
  background: #e9ded3;
  isolation: isolate;
}
.company-solutions .solution-photo img {
  filter: saturate(.72) sepia(.22) brightness(1.08) contrast(.94);
}
.company-solutions .solution-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(180, 134, 93, .18), rgba(88, 25, 37, .12));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

/* Preserve the natural light palette of the new service illustration. */
.company-solutions .solution-photo img { filter: none; object-position: center; }
.company-solutions .solution-photo::after { display: none; }

/* Frame the portrait to show both faces, trophy and certificate. */
.company-hero-image { height: 560px; }
.company-hero-image img { object-position: center 20%; }
@media (max-width: 1000px) and (min-width: 761px) {
  .company-hero-image { height: 480px; }
}
@media (max-width: 760px) {
  .company-hero-image { height: clamp(430px, 115vw, 620px); }
}


/* Match the award portrait to the page's soft, naturally lit photography. */
.company-hero-image img {
  filter: brightness(1.06) contrast(.94) saturate(.88) sepia(.08);
}

/* Lift the portrait gently above the cream background. */
.company-hero-image {
  border: 1px solid rgba(255, 255, 255, .75);
  box-shadow: 0 24px 48px -20px rgba(68, 38, 28, .25), 0 8px 18px -10px rgba(68, 38, 28, .15);
  transform: translateY(-6px);
  transition: transform .3s ease, box-shadow .3s ease;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .company-hero-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 55px -20px rgba(68, 38, 28, .28), 0 10px 22px -10px rgba(68, 38, 28, .18);
  }
}

/* A turned-up bottom-right corner on the floating portrait. */
.company-hero-image {
  position: relative;
  isolation: isolate;
  border-bottom-right-radius: 0;
  border-right: none;
  border-bottom: none;
  background: var(--cream);
}
.company-hero-image img {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 46px), calc(100% - 46px) 100%, 0 100%);
}
.company-hero-image::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46px;
  height: 46px;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(0 0, 100% 0, 0 100%);
  background: linear-gradient(135deg, #fffdf9 0%, #eee8de 48%, #c9bfb0 100%);
  filter: drop-shadow(-3px -3px 3px rgba(48, 30, 22, .22));
}
.company-hero-image figcaption { right: 62px; }
@media (max-width: 450px) {
  .company-hero-image figcaption { font-size: 8px; letter-spacing: .8px; padding: 14px; }
}

/* Rounded paper curl, with a curved underside and a soft contact shadow. */
.company-hero-image img {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 64px), calc(100% - 64px) 100%, 0 100%);
}
.company-hero-image::before {
  content: '';
  position: absolute;
  right: 7px;
  bottom: 7px;
  width: 62px;
  height: 62px;
  z-index: 1;
  pointer-events: none;
  border-radius: 0 0 65% 0;
  background: radial-gradient(ellipse at 35% 35%, rgba(58, 37, 25, .3), transparent 72%);
  transform: rotate(-8deg);
}
.company-hero-image::after {
  right: 0;
  bottom: 0;
  width: 64px;
  height: 64px;
  clip-path: none;
  border-radius: 0 0 100% 0;
  background: linear-gradient(135deg, #c4b5a1 0%, #e5dacb 14%, #fffdf8 37%, #f6efe5 58%, #d3c5b3 78%, #a99b88 100%);
  box-shadow: -6px -6px 12px rgba(48, 30, 22, .22), inset -4px -4px 8px rgba(116, 91, 60, .16);
  filter: none;
  transform: translate(-3px, -3px) rotate(-4deg);
  transform-origin: top left;
}
.company-hero-image figcaption { right: 82px; }

/* Sweeping paper fold inspired by the supplied page-curl reference. */
.company-hero-image img {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 110px), calc(100% - 3px) calc(100% - 84px), calc(100% - 13px) calc(100% - 62px), calc(100% - 28px) calc(100% - 44px), calc(100% - 48px) calc(100% - 27px), calc(100% - 74px) calc(100% - 9px), calc(100% - 110px) 100%, 0 100%);
}
.company-hero-image::before { display: none; }
.company-hero-image::after {
  width: 110px;
  height: 110px;
  right: 0;
  bottom: 0;
  background: url("images/photo-page-curl.svg") center / 100% 100% no-repeat;
  border-radius: 0;
  box-shadow: none;
  filter: none;
  transform: none;
  clip-path: none;
}
.company-hero-image figcaption { right: 128px; font-size: 8px; letter-spacing: .8px; }
@media (max-width: 450px) {
  .company-hero-image figcaption { right: 122px; left: 12px; padding: 12px; font-size: 7px; }
}
