/* UV Techs additions on top of styles.css: the "What we do" section, the hero
   eyebrow, and scroll-in reveals. Uses the site's own tokens from :root. */

/* ---------- Hero eyebrow ---------- */

.hero-eyebrow {
  margin: 0 0 22px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

/* ---------- What we do ---------- */

.offer {
  padding: 110px 7vw;
  background: var(--forest);
  color: var(--oat);
  display: grid;
  gap: 72px;
}

.offer-kicker {
  margin: 0 0 22px;
  color: #d5a5a4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.offer-head {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 4vw 6vw;
  align-items: end;
}
.offer-head .offer-kicker { grid-column: 1 / -1; margin-bottom: 0; }
.offer-head h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(36px, 4vw, 64px);
  line-height: 1.08;
  color: var(--oat);
}
.offer-lead {
  margin: 0;
  font-size: clamp(17px, 1.3vw, 21px);
  line-height: 1.7;
  color: #f2ede2d9;
}

.offer-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid #f2ede233;
}
.offer-steps li {
  padding: 34px 28px 8px 0;
  display: grid;
  align-content: start;
  gap: 14px;
}
.offer-steps li + li { padding-left: 28px; border-left: 1px solid #f2ede233; }
.offer-steps span {
  color: #d5a5a4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.offer-steps strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(24px, 2vw, 32px);
}
.offer-steps p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
  color: #f2ede2c7;
}

.offer-who ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.offer-who li {
  padding: 12px 20px;
  border: 1px solid #f2ede259;
  border-radius: 999px;
  font-size: 15px;
}


/* Growth timeline: the bar fills with scroll and lights each milestone. */
.growth { padding-top: 48px; border-top: 1px solid #f2ede233; position: relative; isolation: isolate; }
.growth-line {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 28px;
}
.growth-line li { position: relative; padding-top: 34px; display: grid; align-content: start; gap: 10px; }
.growth-line li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--forest);
  border: 1px solid #f2ede280;
  transition: background .5s, border-color .5s, transform .5s;
}
.growth-line time { color: #d5a5a4; font-size: 11px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.growth-line strong { font-family: Georgia, "Times New Roman", serif; font-weight: 400; font-size: clamp(22px, 1.8vw, 28px); }
.growth-line p { margin: 0; font-size: 15px; line-height: 1.6; color: #f2ede2c7; }
.growth-bar { position: absolute; height: 1px; background: #f2ede233; z-index: -1; }
.growth-bar span { display: block; height: 100%; background: #d5a5a4; transform: scaleX(1); transform-origin: left; }
.growth-places { margin: 48px 0 0; font-size: 15px; line-height: 1.9; color: #f2ede2c7; max-width: 60em; }
.growth-places span { margin-right: 12px; color: #d5a5a4; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }

.growth-live .growth-line li { opacity: .35; transition: opacity .6s; }
.growth-live .growth-line li.on { opacity: 1; }
.growth-live .growth-line li.on::before { background: #d5a5a4; border-color: #d5a5a4; transform: scale(1.3); }
.growth-live .growth-bar span { transform: scaleX(0); }

@media (max-width: 1100px) {
  .growth-line { grid-template-columns: 1fr; gap: 30px; padding-left: 34px; }
  .growth-line li { padding-top: 0; }
  .growth-line li::before { top: 4px; left: -34px; }
  .growth-bar { width: 1px; }
  .growth-bar span { width: 100%; transform-origin: top; }
  .growth-live .growth-bar span { transform: scaleY(0); }
}

@media (max-width: 1100px) {
  .offer-steps { grid-template-columns: repeat(2, 1fr); }
  .offer-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .offer-steps li:nth-child(n+3) { border-top: 1px solid #f2ede233; }
}

@media (max-width: 900px) {
  .offer { padding: 72px 7vw; gap: 52px; }
  .offer-head { grid-template-columns: 1fr; gap: 22px; }
  .offer-head h2 { font-size: 34px; }
}

@media (max-width: 560px) {
  .offer-steps { grid-template-columns: 1fr; }
  .offer-steps li,
  .offer-steps li + li { padding: 24px 0 18px; border-left: 0; }
  .offer-steps li + li { border-top: 1px solid #f2ede233; }
  .offer-who li { font-size: 14px; padding: 10px 16px; }
}

/* ---------- Scroll-in reveals (only when reveal.js runs) ---------- */

@media (prefers-reduced-motion: no-preference) {
  .reveal-on .rv {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
    transition: opacity .9s cubic-bezier(.16, 1, .3, 1), transform 1s cubic-bezier(.16, 1, .3, 1);
    transition-delay: calc(var(--i, 0) * 90ms);
  }
  .reveal-on .rv.in { opacity: 1; transform: none; }
}

/* ---------- How it works: 3D scroll story (story3d.js) ---------- */

.journey { background: #ecdfd1; color: var(--forest); }
.journey-stage {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 3vw;
  padding: 100px 7vw;
}
.journey-kicker {
  margin: 0 0 20px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.journey h2 {
  margin: 0 0 36px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(34px, 3.4vw, 56px);
  line-height: 1.08;
  color: var(--forest);
}
.journey-steps { list-style: none; margin: 0; padding: 0; }
.journey-steps li {
  display: grid;
  grid-template-columns: 46px 1fr;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}
.journey-steps span {
  grid-row: span 2;
  padding-top: 9px;
  color: var(--wine);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
}
.journey-steps strong {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 30px);
}
.journey-steps p { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: var(--muted); }
.journey-canvas, .journey-bar { display: none; }

.journey-live .journey-pin { height: 480vh; }
.journey-live .journey-stage {
  position: sticky;
  top: var(--header);
  height: calc(100svh - var(--header));
  padding-block: 0;
}
.journey-live .journey-canvas { display: block; position: relative; height: 100%; min-height: 0; }
.journey-live .journey-canvas canvas { display: block; width: 100%; height: 100%; }
.journey-live .journey-steps li { opacity: .38; transition: opacity .5s; }
.journey-live .journey-steps li.is-on { opacity: 1; }
.journey-live .journey-steps p {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .6s cubic-bezier(.16, 1, .3, 1), opacity .5s;
}
.journey-live .journey-steps li.is-on p { max-height: 120px; opacity: 1; }
.journey-live .journey-bar { display: block; height: 2px; margin-top: 26px; background: var(--line); }
.journey-bar span { display: block; height: 100%; background: var(--wine); transform: scaleX(0); transform-origin: left; }

@media (max-width: 900px) {
  .journey-stage { grid-template-columns: 1fr; padding: 72px 7vw; }
  .journey-live .journey-pin { height: 420vh; }
  .journey-live .journey-stage {
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 6px;
    padding: 12px 7vw 22px;
  }
  .journey-live .journey-canvas { order: -1; }
  .journey-live h2 { font-size: 26px; margin-bottom: 10px; }
  .journey-live .journey-kicker { margin-bottom: 8px; }
  .journey-live .journey-steps li { display: none; }
  .journey-live .journey-steps li.is-on { display: grid; padding: 12px 0 0; }
  .journey-live .journey-bar { margin-top: 14px; }
}

/* ---------- Capabilities: scroll-driven travel (reveal.js) ---------- */

.carousel-toolbar { position: relative; }
.cap-progress {
  position: absolute;
  left: 7vw;
  right: 7vw;
  bottom: 8px;
  height: 1px;
  background: var(--wine);
  opacity: .45;
  transform: scaleX(0);
  transform-origin: left;
}

.cap-pinned .cap-stage {
  position: sticky;
  top: var(--header);
  height: calc(100svh - var(--header));
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.cap-pinned .category-list {
  overflow-x: hidden;
  scroll-snap-type: none;
  cursor: default;
}
.cap-pinned .category-card {
  min-height: 0;
  height: min(clamp(530px, 42vw, 700px), calc(100svh - var(--header) - 190px));
  padding-block: clamp(24px, 4vh, 46px);
  will-change: transform;
}
.cap-pinned .category-image {
  height: min(clamp(420px, 36vw, 580px), calc(100svh - var(--header) - 250px));
}
.cap-pinned .category-meta { will-change: transform, opacity; }
.category-image img { will-change: transform; }

/* Team photos settle in as they reveal. */
@media (prefers-reduced-motion: no-preference) {
  .person-image { overflow: hidden; }
  .reveal-on .person.rv .person-image img {
    transform: scale(1.14);
    transition: transform 1.6s cubic-bezier(.16, 1, .3, 1);
  }
  .reveal-on .person.rv.in .person-image img { transform: none; }
}

/* ---------- Quality: scroll-linked inspection (reveal.js) ---------- */

/* Box hugs the photo so the rounded corners and scan line sit on it. */
.quality-image { position: relative; max-width: 1140px; margin-inline: auto; }
.quality-image img { object-fit: cover; }
.qa-scan { display: none; }
.qa-live .quality-image { will-change: transform; transform-origin: 50% 0; }
.qa-live .quality-image img { will-change: transform; }
.qa-live .qa-scan {
  display: block;
  position: absolute;
  z-index: 1;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: #f2ede2;
  box-shadow: 0 0 18px 4px #f2ede2b3;
  pointer-events: none;
  opacity: 0;
}
.qa-live .quality-grid article { will-change: transform, opacity; }

/* ---------- 2026-11 repositioning: new copy blocks ---------- */

.hero h1 { font-size: clamp(38px, 3.7vw, 72px); line-height: 1.02; overflow-wrap: normal; hyphens: none; }
.hero-sub {
  margin: 26px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(19px, 1.5vw, 25px);
  line-height: 1.4;
  color: var(--wine);
}
.hero .hero-intro { margin-top: 26px; font-size: clamp(16px, 1.1vw, 19px); }
.hero-tagline {
  margin: 30px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-style: italic;
  font-size: 20px;
  color: var(--forest);
}
.hero-tagline + .locations { padding-top: 24px; }

.offer-cta {
  justify-self: start;
  padding: 14px 0;
  border-bottom: 1px solid #d5a5a4;
  color: var(--oat);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.offer-cta:hover { color: #d5a5a4; }

.about-copy .about-experience + .about-experience { margin-top: 16px; }

.beyond {
  margin: 56px 7vw 0;
  padding-top: 36px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}
.beyond .section-kicker { margin-bottom: 14px; }
.beyond p:last-child { margin: 0; max-width: 760px; font-size: 18px; line-height: 1.65; }
.beyond .button { flex: none; }

.journey-live .journey-steps li { padding: 13px 0; }
.journey-live h2 { margin-bottom: 24px; }

.quality-sub {
  display: block;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 28px);
}
.quality-close {
  margin: 48px 0 0;
  text-align: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2vw, 30px);
}
.quality-close em { color: var(--wine); }

.reach-copy .reach-hubs { margin-top: 18px; color: var(--muted); font-size: 16px; }
dl.reach-places { margin: 0; }
.reach-places > div { padding: 24px 0; border-bottom: 1px solid var(--line); }
.reach-places dt { font-family: Georgia, "Times New Roman", serif; font-size: clamp(32px, 3.2vw, 48px); color: var(--forest); }
.reach-places dd { margin: 8px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }

.team-intro > p { max-width: 640px; line-height: 1.7; }
.team-grid.management { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 75%; }

.contact-sub {
  margin: 14px 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(20px, 1.6vw, 26px);
  color: var(--wine);
}
.contact-lead { margin: 18px 0 0; max-width: 620px; font-size: 17px; line-height: 1.7; }
.inquiry { margin-top: 30px; }
.inquiry strong { display: block; margin-bottom: 12px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; }
.inquiry-options { display: flex; flex-wrap: wrap; gap: 10px; }
.inquiry-options a {
  padding: 11px 18px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--forest);
  border-radius: 999px;
  font-size: 14px;
}
.inquiry-options a:hover { background: var(--forest); color: #fff; }

@media (max-width: 900px) {
  .hero h1 { font-size: clamp(40px, 8vw, 64px); }
  .beyond { flex-direction: column; align-items: flex-start; }
  .team-grid.management { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
}
@media (max-width: 520px) {
  .hero h1 { font-size: 37px; }
  .hero-sub { font-size: 18px; }
}

/* Service photos in What We Do. */
.offer-steps .offer-img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 6px;
}
.photo-credit { font-size: 10px; letter-spacing: .04em; opacity: .6; }

/* ---------- 2026-11-19 mobile: lighter, shorter page ---------- */
@media (max-width: 600px) {
  /* Header: logo and menu only; the WhatsApp button and hero cover the CTA. */
  .header-cta { display: none; }

  /* Swipe rows instead of long stacks. */
  .offer-steps,
  .quality-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding: 0 7vw;
    margin-left: -7vw;
    margin-right: -7vw;
    padding: 0 7vw 8px;
    border-top: 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .offer-steps::-webkit-scrollbar,
  .quality-grid::-webkit-scrollbar { display: none; }
  .offer-steps li,
  .offer-steps li + li {
    flex: 0 0 80vw;
    scroll-snap-align: start;
    padding: 0;
    border: 0;
  }
  .offer-steps p { font-size: 15px; }
  .quality-grid article {
    flex: 0 0 74vw;
    scroll-snap-align: start;
    padding: 24px;
  }

  /* Process film: same frames, less scrolling. */
  .journey-live .journey-pin { height: 280vh; }

  /* Team: three across, smaller cards. */
  .team-grid,
  .team-grid.management { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px 10px; }
  .team-label.second { margin-top: 40px; }
  .person-image { border-radius: 14px; }
  .person h3 { font-size: 11px; margin: 12px 0 4px; letter-spacing: .02em; }
  .person p { font-size: 11.5px; line-height: 1.4; min-height: 0; }

  /* Network list: tighter rows. */
  .reach-places > div { padding: 16px 0; }
  .reach-places dt { font-size: 28px; }
  .reach-places dd { font-size: 15px; margin-top: 4px; }

  /* Contact: QR codes side by side. */
  .contact-qr-grid { flex-wrap: nowrap; gap: 10px; }
  .contact-qr-grid article { flex: 1 1 0; width: auto; min-width: 0; padding: 10px 6px; gap: 8px; }
  .contact-qr-grid img { width: 100%; max-width: 104px; height: auto; }
  .contact-qr-grid span { font-size: 9px; letter-spacing: .05em; text-align: center; }
  .contact-brand { min-height: 220px; }
}

/* ---------- 2026-11-23 mobile hero: photo on the first screen ---------- */
@media (max-width: 900px) {
  .hero { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero .hero-copy > * { margin-left: 7vw; margin-right: 7vw; }
  .hero-eyebrow { order: 1; margin-top: 30px; }
  .hero h1 { order: 2; }
  .hero-visual { order: 3; padding: 22px 7vw 0; }
  .hero-visual img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
  .hero-sub { order: 4; margin-top: 22px; }
  .hero-actions { order: 5; margin-top: 22px; }
  .hero .hero-intro { order: 6; margin-top: 30px; }
  .hero-tagline { order: 7; }
  .hero-copy > .locations { order: 8; margin-bottom: 44px; }
}

/* ---------- 2026-12-01 floating Contact Us button ---------- */
.contact-fab { width:auto; height:auto; min-height:52px; padding:0 24px 0 20px; border-radius:999px; background:var(--wine); color:#fff; display:inline-flex; align-items:center; gap:10px; font-size:13px; font-weight:600; letter-spacing:.08em; text-transform:uppercase; box-shadow:0 10px 30px rgba(95,30,46,.35); opacity:0; transform:translateY(24px); pointer-events:none; transition:opacity .35s ease, transform .35s ease, background .2s; }
.contact-fab.is-visible { opacity:1; transform:none; pointer-events:auto; }
.contact-fab.is-visible:hover { background:var(--forest); transform:translateY(-3px); }
.contact-fab.is-visible.nudge { animation:fab-nudge .9s ease; }
@keyframes fab-nudge { 0%,100% { transform:translateY(0); } 30% { transform:translateY(-10px); } 55% { transform:translateY(0); } 75% { transform:translateY(-4px); } }
@media (prefers-reduced-motion: reduce) { .contact-fab, .contact-fab.is-visible.nudge { transition:opacity .2s; animation:none; } }
@media (min-width:601px) {
  .header-cta { background:var(--wine); color:#fff; border:0; border-radius:999px; padding:0 20px; min-height:42px; }
  .header-cta:hover { background:var(--forest); color:#fff; }
}
@media (max-width:600px) {
  .contact-fab { right:50%; bottom:max(16px, env(safe-area-inset-bottom)); transform:translate(50%,24px); min-height:54px; padding:0 28px 0 24px; font-size:14px; }
  .contact-fab.is-visible, .contact-fab.is-visible:hover { transform:translate(50%,0); }
  @keyframes fab-nudge-m { 0%,100% { transform:translate(50%,0); } 30% { transform:translate(50%,-10px); } 55% { transform:translate(50%,0); } 75% { transform:translate(50%,-4px); } }
  .contact-fab.is-visible.nudge { animation-name:fab-nudge-m; }
}
