/* Project Partner Solution — site styles. Brand: yellow #ffc300 + black, Quicksand. */
:root {
  --yellow: #ffc300;
  --yellow-dark: #e0ab00;
  --ink: #111;
  --ink-2: #2b2b2b;
  --muted: #666;
  --line: #e7e7e7;
  --paper: #fff;
  --paper-2: #f7f6f2;
  --radius: 14px;
  --max: 1180px;
  --shadow: 0 10px 30px rgba(0, 0, 0, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: "Quicksand", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--ink); background: var(--yellow);
  padding: 4px 10px; border-radius: 4px; margin-bottom: 14px;
}
.np { font-size: .95em; color: var(--muted); }
section { padding: 88px 0; }
.alt { background: var(--paper-2); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px;
  border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent;
  transition: transform .15s ease, background .15s ease; cursor: pointer; font-family: inherit; font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn-yellow { background: var(--yellow); color: var(--ink); }
.btn-yellow:hover { background: var(--yellow-dark); }
.btn-ghost { border-color: currentColor; color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .2s ease, box-shadow .2s ease;
}
.site-header.solid, .site-header.always-solid { background: rgba(255, 255, 255, .97); box-shadow: 0 1px 0 var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; color: #fff; }
.solid .brand, .always-solid .brand { color: var(--ink); }
.brand img { width: 40px; height: auto; }
.nav-links { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; font-weight: 600; color: #fff; }
.solid .nav-links a, .always-solid .nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--yellow); }
.nav-links .btn { color: var(--ink) !important; padding: 10px 18px; }
.menu-btn { display: none; background: none; border: 0; color: #fff; padding: 8px; cursor: pointer; }
.solid .menu-btn, .always-solid .menu-btn { color: var(--ink); }
.menu-btn svg { width: 28px; height: 28px; }

/* Hero */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: flex-end; color: #fff;
  background: #000 url("../images/projects/yak-yeti/3.webp") center/cover no-repeat; padding: 140px 0 72px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.8) 100%);
}
.hero .wrap { position: relative; }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.4rem); max-width: 15ch; }
.hero h1 span { color: var(--yellow); }
.hero .lead { font-size: clamp(1.05rem, 2vw, 1.3rem); max-width: 40ch; opacity: .95; }
.hero .np { color: rgba(255,255,255,.8); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

/* Trust strip */
.trust { background: var(--ink); color: #fff; padding: 28px 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 20px; align-items: center; }
.stat b { display: block; font-size: 2rem; color: var(--yellow); line-height: 1.1; }
.stat span { font-size: .92rem; opacity: .85; }
.clients { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: .95rem; opacity: .9; }
.clients strong { color: var(--yellow); margin-right: 6px; }

/* About */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { padding-left: 32px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/14px no-repeat;
}

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon {
  width: 56px; height: 56px; border-radius: 12px; background: var(--yellow);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card .icon img { width: 30px; }
.card p { color: var(--muted); margin: 0; }

/* Industries */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.chip { border: 1.5px solid var(--ink); border-radius: 999px; padding: 6px 16px; font-weight: 600; font-size: .95rem; }

/* Projects grid */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.tile {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: #ddd; cursor: pointer; border: 0; padding: 0; text-align: left; font: inherit; color: #fff;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img, .tile:focus-visible img { transform: scale(1.06); }
.tile .meta {
  position: absolute; inset: auto 0 0 0; padding: 18px;
  background: linear-gradient(transparent, rgba(0,0,0,.85));
}
.tile .meta h3 { margin: 0; font-size: 1.1rem; }
.tile .meta span { font-size: .88rem; opacity: .85; }
.tile .tag {
  position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--ink);
  font-size: .75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.filters button {
  font: inherit; font-weight: 600; font-size: .92rem; border: 1.5px solid var(--ink); background: none;
  border-radius: 999px; padding: 6px 16px; cursor: pointer;
}
.filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 36px; counter-reset: step; }
.step { position: relative; padding-top: 56px; }
.step::before {
  counter-increment: step; content: counter(step); position: absolute; top: 0; left: 0;
  width: 42px; height: 42px; border-radius: 50%; background: var(--yellow);
  display: grid; place-items: center; font-weight: 700; font-size: 1.1rem;
}
.step p { color: var(--muted); margin: 0; }

/* FAQ */
.faq { max-width: 820px; margin-top: 28px; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--yellow-dark); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; color: var(--ink-2); }

/* Contact */
.contact { background: var(--ink); color: #fff; }
.contact .split { align-items: start; }
.contact a { color: var(--yellow); }
.contact-list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--yellow); flex: none; margin-top: 3px; }
form.enquiry { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; }
form.enquiry label { font-weight: 600; font-size: .92rem; display: grid; gap: 6px; }
form.enquiry input, form.enquiry select, form.enquiry textarea {
  font: inherit; font-size: 1rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; width: 100%;
}
form.enquiry input:focus, form.enquiry select:focus, form.enquiry textarea:focus { outline: none; border-color: var(--yellow-dark); }
form.enquiry .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
form.enquiry small { color: var(--muted); }
.map { margin-top: 24px; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/10; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2); }

/* Footer */
footer { background: #000; color: rgba(255,255,255,.75); padding: 32px 0; font-size: .92rem; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.socials { display: flex; gap: 12px; }
.socials a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: #fff; transition: background .15s ease;
}
.socials a:hover { background: var(--yellow); color: var(--ink); }
.socials svg { width: 18px; height: 18px; }

/* Floating WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.wa-float svg { width: 30px; height: 30px; }

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: #0b0b0b; display: none;
  flex-direction: column; color: #fff;
}
.lightbox.open { display: flex; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; gap: 16px; }
.lb-top h3 { margin: 0; font-size: 1.05rem; }
.lb-top span { opacity: .7; font-size: .9rem; }
.lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 64px; }
.lb-stage img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 6px; }
.lb-btn {
  background: rgba(255,255,255,.12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%;
  cursor: pointer; display: grid; place-items: center; font-size: 1.4rem;
}
.lb-btn:hover { background: var(--yellow); color: var(--ink); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 14px 20px; }
.lb-thumbs button { flex: none; border: 2px solid transparent; padding: 0; border-radius: 6px; overflow: hidden; cursor: pointer; background: none; opacity: .6; }
.lb-thumbs button[aria-current="true"] { border-color: var(--yellow); opacity: 1; }
.lb-thumbs img { width: 72px; height: 54px; object-fit: cover; }

/* Page header (projects page) */
.page-head { padding: 140px 0 40px; background: var(--paper-2); }
.page-head p { max-width: 60ch; color: var(--muted); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .cards, .grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 760px) {
  section { padding: 64px 0; }
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 72px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch;
    gap: 0; padding: 8px 20px 20px; box-shadow: 0 10px 20px rgba(0,0,0,.1); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; color: var(--ink); padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn { display: flex; }
  .nav-links .btn { justify-content: center; margin-top: 14px; border-bottom: 0; }
  .site-header.menu-open { background: #fff; }
  .site-header.menu-open .brand, .site-header.menu-open .menu-btn { color: var(--ink); }
  .cards, .grid, .steps { grid-template-columns: 1fr; }
  form.enquiry .row { grid-template-columns: 1fr; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
}
.btn-ghost-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
form.enquiry .form-status { min-height: 1.2em; }

/* project pages */
.proj-facts { list-style: none; padding: 0; margin: 14px 0 18px; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.proj-facts li b { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.proj-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.proj-photos img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; display: block; }
.proj-related { list-style: none; padding: 0; display: grid; gap: 8px; }
.proj-related span { color: var(--muted); font-size: .9rem; }
.lb-page { color: var(--yellow); font-size: .9rem; margin-left: 10px; }
