/* ---------- Design tokens ---------- */
:root {
  --bg: #f6f2e8;
  --white: #ffffff;
  --dark: #15110d;
  --panel: #1c1712;
  --text: #4a4438;
  --taupe: #9c8f77;
  --divider: #e6ddc9;
  --divider-dark: rgba(255, 255, 255, 0.1);
  --accent: #c9a24b;
  --accent-light: #e0c47f;
  --on-dark: #ece5d8;
  --whatsapp: #25d366;

  --font-display: "Fraunces", "Georgia", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1440px;
  --gutter: clamp(24px, 5vw, 96px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
section { position: relative; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Utility ---------- */
.wrap { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--taupe);
}
.eyebrow.on-dark { color: var(--accent); }

.img-frame {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e7e0d2, #cfc4ac 55%, #b9ab8c);
}
.img-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1.in-view { transition-delay: 0.12s; }
.reveal-delay-2.in-view { transition-delay: 0.24s; }
.reveal-delay-3.in-view { transition-delay: 0.36s; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 34px;
  transition: background 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease), opacity 0.35s var(--ease);
  white-space: nowrap;
}
.btn-primary { background: var(--white); color: var(--dark); }
.btn-primary:hover { opacity: 0.85; }
.btn-outline { border: 1px solid rgba(255,255,255,0.55); color: var(--white); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-dark { background: var(--accent); color: var(--dark); }
.btn-dark:hover { opacity: 0.85; }
.btn-text { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 4px; }

/* ---------- 1. Hero ---------- */
.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--white);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.15) 32%, rgba(10,10,10,0.35) 68%, rgba(6,6,6,0.85) 100%);
}
.hero-logo {
  position: absolute;
  top: clamp(20px, 4vh, 40px);
  left: var(--gutter);
  z-index: 2;
  height: clamp(38px, 4.4vw, 50px);
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-logo img { height: 100%; width: auto; }
.hero-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.hero-logo-name {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.3vw, 17px);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--white);
}
.hero-logo-sub {
  margin-top: 2px;
  font-size: clamp(8px, 0.65vw, 10px);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}
.hero-content { position: relative; z-index: 2; padding: 0 var(--gutter) clamp(56px, 9vh, 96px); }
.hero-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(36px, min(8.4vw, 13vh), 108px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  max-width: 16ch;
}
.hero-sub {
  margin-top: clamp(20px, 3vh, 32px);
  max-width: 44ch;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 300;
  color: rgba(255,255,255,0.86);
}
.hero-actions { margin-top: clamp(28px, 4vh, 40px); display: flex; flex-wrap: wrap; gap: 16px; }
.hero-meta {
  margin-top: clamp(40px, 6vh, 64px);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

@media (max-height: 760px) {
  .hero-logo { top: 16px; }
  .hero-sub { margin-top: 12px; }
  .hero-actions { margin-top: 18px; }
  .hero-meta { margin-top: 20px; }
  .hero-content { padding-bottom: clamp(24px, 5vh, 48px); }
}

/* ---------- 2. Introduction ---------- */
.intro { padding: clamp(96px, 14vw, 180px) 0; background: var(--bg); }
.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: end;
}
.intro-text .eyebrow { margin-bottom: 20px; display: block; }
.intro-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.08;
  max-width: 12ch;
}
.intro-copy { margin-top: 28px; max-width: 46ch; font-size: 16px; color: #4a4a4a; }
.intro-copy + .intro-copy { margin-top: 16px; }
.intro-media { aspect-ratio: 4 / 5; margin-top: clamp(40px, 7vw, 88px); }

@media (max-width: 860px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { margin-top: 40px; aspect-ratio: 5 / 4; }
}

/* ---------- 3. Trust numbers ---------- */
.numbers { padding: clamp(48px, 7vw, 88px) 0; background: var(--bg); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.numbers-row { display: flex; }
.numbers-row .num-item {
  flex: 1;
  text-align: center;
  padding: 0 24px;
  position: relative;
}
.numbers-row .num-item + .num-item::before {
  content: "";
  position: absolute; left: 0; top: 8px; bottom: 8px;
  width: 1px; background: var(--divider);
}
.num-value {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  color: var(--dark);
  line-height: 1;
}
.num-label {
  margin-top: 12px;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--taupe);
}

/* ---------- 4. Services ---------- */
.services { padding: clamp(96px, 14vw, 180px) 0; background: var(--bg); }
.services-head { max-width: 640px; margin-bottom: clamp(48px, 7vw, 80px); }
.services-head .eyebrow { display: block; margin-bottom: 18px; }
.services-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}
.service-list { border-top: 1px solid var(--divider); }
.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px) 4px;
  border-bottom: 1px solid var(--divider);
  transition: padding-left 0.4s var(--ease);
}
.service-row .idx { font-family: var(--font-display); font-size: 15px; color: var(--taupe); }
.service-row h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 34px);
}
.service-row .arrow { font-size: 20px; color: var(--taupe); transition: transform 0.4s var(--ease); }
.service-row:hover { padding-left: 14px; }
.service-row:hover .arrow { transform: translateX(6px); color: var(--dark); }

.service-preview {
  position: fixed;
  top: 0; left: 0;
  width: 320px; height: 420px;
  pointer-events: none;
  z-index: 40;
  opacity: 0;
  overflow: hidden;
  transition: opacity 0.3s var(--ease);
  box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}
.service-preview.active { opacity: 1; }
.service-preview img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 860px) {
  .service-preview { display: none; }
}

/* ---------- 5. Project showcase ---------- */
.showcase {
  position: relative;
  padding: clamp(96px, 14vw, 180px) 0;
  background: var(--bg);
}
.showcase-head { max-width: 640px; margin-bottom: clamp(56px, 8vw, 100px); }
.showcase-head .eyebrow { display: block; margin-bottom: 18px; }
.showcase-head h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
}

.feature-list { display: flex; flex-direction: column; gap: clamp(4px, 0.8vw, 10px); }
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
.feature-row .feature-text { display: flex; flex-direction: column; justify-content: center; padding: clamp(24px, 3vw, 40px) 0; }
.feature-row.reverse .feature-media { order: 2; }
.feature-row.reverse .feature-text { order: 1; }

.feature-media { aspect-ratio: 4 / 3; }
.feature-media img { transition: transform 1.2s var(--ease); }
.feature-row:hover .feature-media img { transform: scale(1.06); }

.feature-text .rule { display: block; width: 32px; height: 2px; background: var(--accent); margin-bottom: 16px; }
.feature-text .loc { display: block; margin-bottom: 10px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--taupe); }
.feature-text h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 34px);
  color: var(--accent);
  margin-bottom: 18px;
}
.feature-text p { font-size: 15px; color: var(--text); max-width: 42ch; }
.feature-text p + p { margin-top: 12px; }
.feature-cta {
  display: block;
  margin-top: 26px;
  background: var(--dark);
  color: var(--accent-light);
  text-align: center;
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: opacity 0.3s var(--ease);
}
.feature-cta:hover { opacity: 0.85; }

@media (max-width: 780px) {
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-media, .feature-row.reverse .feature-text { order: initial; }
  .feature-media { min-height: 0; aspect-ratio: 4 / 3; }
}

/* ---------- 6. Full-bleed project ---------- */
.fullbleed { height: 82vh; min-height: 480px; overflow: hidden; }
.fullbleed-media { position: absolute; inset: -8% 0; z-index: 0; will-change: transform; }
.fullbleed-media img { width: 100%; height: 100%; object-fit: cover; }
.fullbleed::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(8,8,8,0.75) 0%, rgba(8,8,8,0.05) 45%);
  z-index: 1;
}
.fullbleed-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) clamp(48px, 8vh, 88px);
  color: var(--white);
}
.fullbleed-content .eyebrow { color: var(--accent); margin-bottom: 16px; }
.fullbleed-content h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 48px);
  max-width: 16ch;
}

/* ---------- 7. Why Pentazone ---------- */
.why { padding: clamp(96px, 14vw, 180px) 0; background: var(--bg); }
.why-head {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  max-width: 14ch;
  margin-bottom: clamp(56px, 8vw, 100px);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 100px);
}
.why-item { border-top: 1px solid var(--divider); padding-top: 22px; }
.why-item .idx { font-family: var(--font-display); font-size: 14px; color: var(--taupe); }
.why-item h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(20px, 2vw, 26px); margin-top: 10px; }
.why-item p { margin-top: 10px; font-size: 15px; color: #4a4a4a; max-width: 40ch; }

@media (max-width: 700px) { .why-grid { grid-template-columns: 1fr; } }

/* ---------- 8. Process ---------- */
.process { padding: clamp(96px, 14vw, 180px) 0; background: var(--dark); color: var(--white); }
.process-head {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  max-width: 14ch;
  margin-top: 18px;
  margin-bottom: clamp(56px, 8vw, 110px);
}
.process-steps { display: flex; align-items: flex-start; }
.process-step { flex: 1; text-align: center; position: relative; }
.process-circle {
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--accent);
  background: var(--dark);
  position: relative; z-index: 1;
}
.process-step h4 { font-family: var(--font-display); font-weight: 400; font-size: 18px; letter-spacing: 0.02em; }
.process-line { position: absolute; top: 26px; left: 50%; width: 100%; height: 1px; background: rgba(255,255,255,0.22); z-index: 0; }
.process-step:last-child .process-line { display: none; }

@media (max-width: 700px) {
  .process-steps { flex-direction: column; gap: 40px; align-items: flex-start; }
  .process-step { text-align: left; display: flex; align-items: center; gap: 18px; }
  .process-circle { margin: 0; flex-shrink: 0; }
  .process-line { display: none; }
}

/* ---------- 9. Brand statement ---------- */
.statement { padding: clamp(100px, 16vw, 220px) 0; background: var(--bg); }
.statement-grid { display: grid; grid-template-columns: 1.4fr 0.7fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.statement blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.35;
  color: var(--dark);
}
.statement-media { aspect-ratio: 3 / 4; }

@media (max-width: 860px) {
  .statement-grid { grid-template-columns: 1fr; }
  .statement-media { display: none; }
}

/* ---------- 10. Final CTA ---------- */
.final-cta { min-height: 86vh; display: flex; align-items: center; overflow: hidden; }
.final-cta-media { position: absolute; inset: 0; z-index: 0; }
.final-cta-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.final-cta::after { content: ""; position: absolute; inset: 0; background: rgba(8,8,8,0.62); z-index: 1; }
.final-cta-content { position: relative; z-index: 2; color: var(--white); padding: clamp(80px, 12vh, 140px) 0; }
.final-cta h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.02;
}
.final-cta p { margin-top: 22px; max-width: 46ch; font-size: clamp(15px, 1.1vw, 18px); color: rgba(255,255,255,0.85); }
.final-cta-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; }

/* ---------- 11. Enquiry form ---------- */
.enquiry { padding: clamp(90px, 13vw, 160px) 0; background: var(--white); }
.enquiry-head { max-width: 560px; margin: 0 auto clamp(48px, 7vw, 72px); text-align: center; }
.enquiry-head h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3.4vw, 42px); }
.enquiry-form { max-width: 840px; margin: 0 auto; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 40px; }
.field { padding: 22px 0; border-bottom: 1px solid var(--divider); position: relative; }
.field.full { grid-column: 1 / -1; }
.field label {
  display: block;
  font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--taupe);
  margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%; border: none; background: transparent; outline: none;
  font-size: 17px; color: var(--text); font-family: var(--font-body); font-weight: 300;
}
.field textarea { resize: vertical; min-height: 48px; }
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.select-wrap { position: relative; }
.select-wrap::after { content: "▾"; position: absolute; right: 0; top: 0; color: var(--taupe); font-size: 13px; }
.form-foot { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.form-note { font-size: 13px; color: var(--taupe); max-width: 40ch; }
.form-success { margin-top: 24px; font-size: 14px; color: #3a6b4d; display: none; }
.form-success.show { display: block; }

@media (max-width: 700px) { .field-grid { grid-template-columns: 1fr; } }

/* ---------- 12. Contact / end ---------- */
.end { background: var(--dark); color: var(--white); padding: clamp(80px, 12vw, 140px) 0 40px; }
.end-brand { display: flex; align-items: center; gap: clamp(16px, 3vw, 32px); flex-wrap: wrap; }
.end-logo { height: clamp(44px, 6vw, 76px); width: auto; }
.end-word-group { display: flex; flex-direction: column; }
.end-word {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 9vw, 128px);
  letter-spacing: 0.02em;
  line-height: 1;
}
.end-word-sub {
  margin-top: 8px;
  font-size: clamp(11px, 1.1vw, 15px);
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.end-grid {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding-bottom: clamp(48px, 8vw, 88px);
  border-bottom: 1px solid rgba(255,255,255,0.14);
}
.end-col p, .end-col a { font-size: 14px; color: rgba(255,255,255,0.72); line-height: 1.9; }
.end-col a:hover { color: #fff; }
.end-col .label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; display: block; }
.end-bottom { padding-top: 28px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.45); }

@media (max-width: 700px) { .end-grid { grid-template-columns: 1fr; gap: 28px; } }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 100;
  background: var(--whatsapp);
  color: #fff;
  border-radius: 999px;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.wa-float:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,0.3); }
.wa-float svg { width: 24px; height: 24px; flex-shrink: 0; }
.wa-float .wa-label { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; padding-right: 4px; }

@media (max-width: 700px) {
  .wa-float .wa-label { display: none; }
  .wa-float { padding: 14px; }
}
