/* ==========================================================================
   Ram Enterprise — site stylesheet
   Palette, type and spacing ported from the original single-page design.
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Archivo';
  font-style: normal;
  font-weight: 300 900;
  font-stretch: 75% 125%;
  font-display: swap;
  src: url("../fonts/archivo-vietnamese.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

/* --- Tokens --------------------------------------------------------------- */

:root {
  --ink:        #1C2426;
  --ink-soft:   #3C4A50;
  --slate:      #485860;
  --muted:      #5C6B70;
  --muted-2:    #7A888C;
  --muted-3:    #6C7B7F;

  --paper:      #F7F6F3;
  --paper-2:    #EDEBE6;
  --paper-3:    #E2DFD8;

  --accent:       #D08038;
  --accent-dark:  #B0662A;
  --accent-deep:  #8A6234;
  --accent-light: #E9A160;

  --footer-bg:  #14191B;

  /* Text on dark surfaces */
  --on-dark:       #F2F1EE;
  --on-dark-soft:  #D6DBDC;
  --on-dark-dim:   #8A9A9E;
  --footer-text:   #A8B4B7;
  --nav-idle:      #4C5A5F;
  --whatsapp:      #25D366;

  --line:        rgba(72, 88, 96, 0.24);
  --line-soft:   rgba(72, 88, 96, 0.20);
  --line-strong: rgba(72, 88, 96, 0.34);
  --line-light:  rgba(255, 255, 255, 0.16);

  --gutter: clamp(18px, 4vw, 28px);
  --wrap:   1280px;

  /* Vertical rhythm. Every section/band picks one of these. */
  --space-page: clamp(44px, 6vw, 72px);   /* space above a page's first heading */
  --space-lg:   clamp(52px, 7vw, 88px);   /* default section */
  --space-md:   clamp(48px, 6.5vw, 80px); /* colour bands */
  --space-sm:   clamp(40px, 5vw, 60px);   /* compact section */
  --space-xs:   clamp(32px, 4.5vw, 44px); /* tight band */
  --space-xl:   clamp(60px, 10vh, 110px); /* standalone centred page */
}

/* --- Reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* stop iOS inflating text when a phone is turned to landscape */
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Archivo, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: rgba(208, 128, 56, 0.24);
  overflow-wrap: break-word;
  min-height: 100vh;
  min-height: 100dvh; /* excludes mobile browser chrome */
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, p, ul, ol, li, figure, dl, dd, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
table { border-collapse: collapse; }
input, textarea, select, button { font: inherit; color: inherit; }
img { max-width: 100%; }
::selection { background: var(--accent); color: #fff; }

a { color: var(--accent-dark); text-decoration: none; }
a:hover { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
/* the skip link is the one sr-only element that must appear on focus */
.sr-only:focus {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 100;
  width: auto; height: auto;
  margin: 0; padding: 12px 18px;
  clip: auto;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

/* --- Layout primitives ---------------------------------------------------- */

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  /* viewport-fit=cover lets content reach the edges, so respect the notch */
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
}

main { flex: 1; }

/* Section rhythm. --pt / --pb override per instance. */
.section {
  padding-top: var(--pt, var(--space-lg));
  padding-bottom: var(--pb, var(--space-lg));
}

/* Full-bleed colour bands */
.band {
  background: var(--ink);
  color: #fff;
  padding-block: var(--pt, var(--space-md)) var(--pb, var(--space-md));
}
.band--soft {
  background: var(--paper-2);
  color: var(--ink);
  padding-block: var(--pt, var(--space-md)) var(--pb, var(--space-md));
}

/* Auto-fit grid. Set --min for the column floor, --gap for the gutter. */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 260px), 100%), 1fr));
  gap: var(--gap, 24px);
}
.grid--start { align-items: start; }
.grid--center { align-items: center; }

/* --- Type ----------------------------------------------------------------- */

.eyebrow {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: var(--accent-light); }
.eyebrow--deep  { color: var(--accent-deep); }
.eyebrow--dim   { color: var(--on-dark-dim); }

.kicker {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}

.title-xl {
  font-size: clamp(42px, 5.2vw, 76px);
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-stretch: 92%;
  text-wrap: balance;
}
.title-lg {
  font-size: clamp(36px, 4.4vw, 62px);
  font-weight: 800;
  letter-spacing: -0.035em;
  font-stretch: 92%;
  line-height: 1.02;
  text-wrap: balance;
}
.title-md {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-stretch: 92%;
  line-height: 1.04;
}
.title-sm {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  font-stretch: 92%;
}
.title-xs {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.025em;
  font-stretch: 92%;
}

.accent { color: var(--accent); }
.nums { font-variant-numeric: tabular-nums; }

.lead {
  font-size: 18.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.lead--ink { color: var(--ink); }
.lead--sm  { font-size: 17.5px; }

.body-text--ink { color: var(--ink); }
.body-text {
  font-size: 17.5px;
  line-height: 1.58;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.measure-lg  { max-width: 58ch; }

/* Rule-headed section title with an optional link on the right */
.rule-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
}
/* A heading with the same 2px rule under it, but no trailing link. */
.rule-title {
  padding-bottom: 24px;
  border-bottom: 2px solid var(--ink);
}

.rule-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.section-note {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}

.link-more {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 15px 26px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--ink); color: #fff; }

.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent); color: #fff; }

.btn--ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: transparent;
}
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }

/* On a dark band the accent button inverts to paper */
.band .btn--accent:hover { background: #fff; color: var(--ink); }

.btn--lg { padding: 16px 30px; }

/* --- Header / navigation -------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 243, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(72, 88, 96, 0.18);
}
.site-header__inner {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left));
  padding-right: max(var(--gutter), env(safe-area-inset-right));
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  position: relative;
}
.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  min-height: 44px;
}
.logo img { height: 32px; width: auto; display: block; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  color: var(--ink);
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: currentColor;
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a {
  padding: 12px 13px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--nav-idle);
  border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--accent); }
.nav a[aria-current="page"] {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
/* Written as `.nav a.nav__cta` so it outranks the `.nav a` colour above. */
.nav a.nav__cta {
  margin-left: 10px;
  text-align: center;
  padding: 13px 20px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: var(--ink);
  border-bottom: none;
}
.nav a.nav__cta:hover { background: var(--accent); color: #fff; }
.nav a.nav__cta[aria-current="page"] {
  background: var(--accent);
  color: #fff;
  border-bottom-color: transparent;
}

@media (max-width: 999px) {
  .nav {
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    position: absolute;
    top: 78px;
    left: 0;
    right: 0;
    background: var(--paper);
    border-bottom: 1px solid rgba(72, 88, 96, 0.18);
    padding: 14px 18px 22px;
  }
  .nav.is-open { display: flex; }
  .nav__cta { margin: 10px 0 0; }
}
@media (min-width: 1000px) {
  .nav-toggle { display: none; }
}

/* --- Home: hero ----------------------------------------------------------- */

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(32px, 5vw, 56px);
  align-items: center;
  padding: clamp(44px, 7vw, 84px) 0 clamp(44px, 6vw, 76px);
}
.hero__tag {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.hero__tag span:first-child {
  width: 34px;
  height: 2px;
  background: var(--accent);
  flex-shrink: 0;
}
.hero__tag span:last-child {
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.hero__media { position: relative; margin: 0; }
.hero__media img {
  width: 100%;
  height: clamp(300px, 52vh, 560px);
  object-fit: cover;
  display: block;
}

/* --- Stats ---------------------------------------------------------------- */

.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(124px, 100%), 1fr));
  gap: 22px;
  margin-top: clamp(36px, 5vw, 52px);
  padding-top: 30px;
  border-top: 1px solid var(--line-soft);
}
.stat__num {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat__label {
  margin-top: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* --- Client list (dark band) ---------------------------------------------- */

.client-list {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 38px;
  margin-top: 22px;
}
.client-list li {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--on-dark);
}

/* --- Figures -------------------------------------------------------------- */

.fig { margin: 0; min-width: 0; }
.fig img {
  width: 100%;
  object-fit: cover;
  display: block;
}
.fig figcaption {
  margin-top: 11px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--ink-soft);
}
.fig--sm img   { height: clamp(180px, 19vw, 230px); }
.fig--md img   { height: clamp(190px, 20vw, 250px); }
.fig--step img { height: clamp(200px, 22vw, 260px); }
.fig--lg img   { height: clamp(230px, 28vw, 340px); }
.fig--xl img   { height: clamp(260px, 44vh, 480px); }
.fig--band img { height: clamp(260px, 42vh, 440px); }
.fig--team img { height: clamp(220px, 26vw, 320px); }
.fig--wide img { height: clamp(240px, 36vh, 340px); }
.fig--svc img  { height: clamp(170px, 18vw, 210px); margin-top: 20px; }

.fig--offset-top img { object-position: center 30%; }

/* Captions laid over the image itself. Declared after `.fig figcaption` so the
   light-on-dark colours win over the default dark caption colour. */
figcaption.overlay-caption {
  position: absolute;
  left: 0;
  bottom: 0;
  margin-top: 0;
  background: var(--ink);
  color: #fff;
  padding: 14px 20px;
  max-width: 78%;
}
.overlay-caption__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-light);
}
.overlay-caption__text {
  margin-top: 4px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--on-dark-soft);
}
figcaption.overlay-caption--plain {
  padding: 14px 22px;
  font-size: 14px;
  line-height: 1.45;
  color: var(--on-dark-soft);
  max-width: none;
}

/* Numbered process step */
.step figcaption { padding: 14px 0 0; margin-top: 0; }
.step__label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.step__text {
  margin-top: 5px;
  font-size: 14.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

.fig--caption-sm figcaption {
  font-size: 13.5px;
  color: var(--muted);
}

/* --- Portrait ------------------------------------------------------------- */

.portrait {
  margin: 0;
  max-width: 340px;
}
.portrait img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 4px solid var(--accent);
}

/* --- Key members ---------------------------------------------------------- */

.member__name {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.25;
}
.member__tel {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.member__tel:hover { color: var(--accent); }

/* --- Cards ---------------------------------------------------------------- */

.card {
  border: 1px solid var(--line);
  padding: 34px 30px 38px;
  transition: background-color 0.15s ease, border-color 0.15s ease;
}
.card:hover { background: #fff; border-color: var(--ink); }
.card__num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.card__title {
  margin-top: 20px;
  font-size: 25px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.card__text {
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* Core-value tile */
.value {
  border: 1px solid var(--line);
  padding: 28px 22px 34px;
}
.value__num {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.value__title {
  margin-top: 16px;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

/* Project summary card */
.proj {
  border-top: 3px solid var(--slate);
  padding-top: 22px;
}
.proj--live { border-top-color: var(--accent); }
.proj__status {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
}
.proj--live .proj__status { color: var(--accent); }
.proj__title {
  margin-top: 12px;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-wrap: pretty;
}
.proj__text {
  margin-top: 12px;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.proj__meta {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 6px 16px;
  font-size: 13.5px;
}
.proj__meta dt { font-weight: 600; color: var(--muted-2); }
.proj__meta dd { margin: 0; color: var(--ink); }

/* --- Vision / mission ----------------------------------------------------- */

.quote {
  margin-top: 20px;
  font-size: 25px;
  line-height: 1.32;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-wrap: pretty;
}
.mission { margin-top: 20px; }
.mission li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 17.5px;
  line-height: 1.45;
  color: var(--on-dark-soft);
}

/* --- Bar list (quality-control points) ------------------------------------ */

.bar-list {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bar-list li {
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  font-size: 15.5px;
  line-height: 1.45;
  color: var(--ink-soft);
}

/* --- Definition list (company information) -------------------------------- */

.info-dl {
  margin-top: 26px;
  display: grid;
  /* fit-content caps the term column relative to the grid, so a long term
     wraps instead of starving the value column in a narrow parent. */
  grid-template-columns: fit-content(38%) 1fr;
}
.info-dl dt,
.info-dl dd {
  padding-block: 14px;
  border-top: 1px solid rgba(72, 88, 96, 0.22);
  margin: 0;
}
.info-dl dt {
  padding-right: 24px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  line-height: 1.35;
}
.info-dl dd { font-size: 16.5px; line-height: 1.5; }
.info-dl dd:first-of-type { font-weight: 600; }
.info-dl > :nth-last-child(-n + 2) { border-bottom: 1px solid rgba(72, 88, 96, 0.22); }

/* --- Registrations -------------------------------------------------------- */

.reg-list {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.reg-list li {
  background: var(--paper);
  border-left: 3px solid var(--accent);
  padding: 20px 24px;
}
.reg__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.reg__sub {
  margin-top: 5px;
  font-size: 14.5px;
  color: var(--muted);
}

.snapshot {
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid rgba(72, 88, 96, 0.22);
}
.snapshot__num {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
}
.snapshot__label {
  margin-top: 5px;
  font-size: 13.5px;
  color: var(--muted);
}

/* --- Services rows -------------------------------------------------------- */

.svc {
  display: grid;
  grid-template-columns: 74px repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(32px, 4.5vw, 44px) 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.svc:first-child { border-top: 2px solid var(--ink); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc__num {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.svc__title {
  font-size: clamp(26px, 2.8vw, 36px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.svc__text {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  text-wrap: pretty;
}

.tags {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags li {
  border: 1px solid rgba(72, 88, 96, 0.3);
  padding: 7px 14px;
  font-size: 13.5px;
  font-weight: 600;
}

/* --- Tables --------------------------------------------------------------- */

.table-scroll { overflow-x: auto; }
.data-table {
  width: 100%;
  min-width: 680px;
  text-align: left;
}
.data-table th {
  padding: 13px 16px;
  border-bottom: 2px solid var(--ink);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.data-table td {
  padding: 20px 16px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.data-table th:first-child,
.data-table td:first-child { padding-left: 0; width: 52px; }
.data-table th:last-child,
.data-table td:last-child { padding-right: 0; }
.data-table td:nth-child(2) { font-size: 16px; color: var(--ink); }
.data-table td:first-child {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.data-table th:nth-child(3) { width: 190px; }
.data-table th:nth-child(4) { width: 200px; }
.data-table tbody tr:hover { background: var(--paper-2); }

/* Same table on the soft band inverts its hover and index colour */
.band--soft .data-table td { border-bottom-color: rgba(72, 88, 96, 0.22); }
.band--soft .data-table td:first-child { color: var(--accent-deep); }
.band--soft .data-table tbody tr:hover { background: var(--paper-3); }

.badge {
  padding: 5px 11px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.section-head-inline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* --- Machinery list ------------------------------------------------------- */

.fleet li {
  display: grid;
  grid-template-columns: 44px repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: clamp(14px, 2.4vw, 26px);
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
  align-items: baseline;
}
.fleet__num {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.fleet__name {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.25;
}
.fleet__desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.closing-line {
  margin-top: 44px;
  max-width: 34ch;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.025em;
  text-wrap: pretty;
}

/* --- Team strength -------------------------------------------------------- */

.tstat {
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 28px 24px 32px;
}
.tstat--accent { background: var(--accent); border-color: var(--accent); }
.tstat__num {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.tstat__label {
  margin-top: 14px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--on-dark-soft);
  line-height: 1.35;
}
.tstat--accent .tstat__label { color: #fff; }

/* --- Contact -------------------------------------------------------------- */

.contact-dl { display: grid; grid-template-columns: 1fr; }
.contact-dl > div {
  padding: 22px 0;
  border-top: 1px solid rgba(72, 88, 96, 0.22);
}
.contact-dl > div:first-child { border-top: 2px solid var(--ink); }
.contact-dl > div:last-child { border-bottom: 1px solid rgba(72, 88, 96, 0.22); }
.contact-dl dt {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.contact-dl dd { margin: 8px 0 0; }
.contact-dl__name { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.contact-dl__role { margin-top: 4px !important; font-size: 15px; color: var(--muted); }
.contact-dl__phone {
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.contact-dl__email {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  word-break: break-word;
}
.contact-dl__address { font-size: 18px; line-height: 1.5; }
.contact-dl__person {
  margin: 12px 0 0;
  display: flex;
  flex-direction: column;
}
.contact-dl__pname {
  font-size: 15px;
  color: var(--muted);
}
.contact-dl__person a {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}

.contact-dl a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--ink);
}
.contact-dl a:hover { color: var(--accent); }

/* Call / email / enquiry stack */
.action-stack {
  display: flex;
  flex-direction: column;
  align-self: start;
  border: 1px solid var(--line-soft);
}
.action-stack a {
  background: var(--paper);
  border-bottom: 1px solid var(--line-soft);
  padding: 22px 26px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 18px;
  color: var(--ink);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.action-stack a:hover { background: var(--ink); color: #fff; }
.action-stack a:hover .action-stack__label { color: rgba(255, 255, 255, 0.75); }
.action-stack__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  transition: color 0.15s ease;
}
.action-stack__value { font-size: 17px; font-weight: 700; }
.action-stack__value--big {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
}
.action-stack a.is-primary {
  background: var(--accent);
  color: #fff;
  border-bottom: none;
}
.action-stack a.is-primary .action-stack__label { color: rgba(255, 255, 255, 0.75); }
.action-stack a.is-primary:hover { background: var(--ink); }

/* --- Form ----------------------------------------------------------------- */

.form-panel {
  background: var(--paper-2);
  padding: clamp(24px, 4vw, 40px);
}
.form-panel__title {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.form-panel__intro {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.5;
  color: var(--ink-soft);
}

.form {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.field > span {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  padding: 13px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  font-size: 16px;
  width: 100%;
}
.field textarea {
  line-height: 1.5;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr));
  gap: 20px;
}
.form button[type="submit"] { align-self: start; }

/* Honeypot — hidden from people, visible to naive bots */
.hp {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* --- FAQ ----------------------------------------------------------------- */

.faq { margin-top: 30px; }
.faq__item { border-top: 1px solid var(--line-soft); padding-top: 18px; }
.faq__q {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.3;
}
.faq__a {
  margin-top: 10px;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-soft);
  text-wrap: pretty;
}

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: var(--space-page) 0 28px;
}
.site-footer__top {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.site-footer img {
  height: 28px;
  width: auto;
  display: block;
}
.site-footer p {
  margin-top: 18px;
  max-width: 32ch;
  font-size: 15px;
  line-height: 1.55;
}
.footer-head {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.footer-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.footer-list li { font-size: 15px; line-height: 1.5; color: var(--footer-text); }
.footer-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 15px;
  color: var(--on-dark-soft);
  word-break: break-word;
}
.footer-list a:hover { color: var(--accent); }
.site-footer__bottom {
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--muted-3);
}

/* --- Floating WhatsApp ---------------------------------------------------- */

.wa {
  position: fixed;
  right: 18px;
  bottom: calc(18px + env(safe-area-inset-bottom, 0px));
  z-index: 60;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  transition: transform 0.15s ease;
}
.wa:hover { transform: scale(1.06); color: #fff; }
/* The contact page lists WhatsApp in the details, and the floating button
   would sit over the message field and submit button. */
.page-contact .wa { display: none; }
.wa svg { width: 28px; height: 28px; fill: currentColor; }

/* --- 404 ------------------------------------------------------------------ */

.notfound {
  text-align: center;
  padding: clamp(70px, 14vh, 140px) 0;
}
.notfound__code {
  font-size: clamp(72px, 14vw, 150px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 0.9;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* --- Narrow-screen adjustments -------------------------------------------- */

/* Services rows and the fleet list are "index + content" grids. Below this
   width the auto-fit track collapses to one column, which would drop the last
   child underneath the index number in a sliver of a column. Span it instead. */
@media (max-width: 720px) {
  .svc {
    grid-template-columns: auto 1fr;
    gap: 10px 16px;
  }
  .svc > :nth-child(3) { grid-column: 1 / -1; }
  .svc__num { font-size: 40px; }

  .fleet li {
    grid-template-columns: auto 1fr;
    gap: 6px 14px;
  }
  .fleet li > :nth-child(3) { grid-column: 1 / -1; }
}

/* The company-information list has a nowrap term column that leaves too little
   room for the value on a phone. Stack term over value. */
@media (max-width: 560px) {
  .info-dl { grid-template-columns: 1fr; }
  .info-dl dt { padding: 14px 0 0; }
  .info-dl dd {
    padding: 4px 0 14px;
    border-top: none;
  }
  .info-dl > :nth-last-child(-n + 2) { border-bottom: none; }
  .info-dl dd:last-child { border-bottom: 1px solid rgba(72, 88, 96, 0.22); }
}

/* Long email addresses must not push the call/email rows wider than the card. */
.action-stack a { flex-wrap: wrap; }
.action-stack__value,
.action-stack__value--big { word-break: break-word; }

/* Inline phone/email links in running text: expand the touch area without
   disturbing the line box. */
p > a[href^="tel:"],
p > a[href^="mailto:"] {
  display: inline-block;
  padding: 11px 4px;
  margin: -11px -4px;
}

/* --- Mobile ---------------------------------------------------------------
   Most visitors are on a phone, so these are corrections to the desktop
   defaults rather than optional polish. */

/* Small caps labels are set tight and tracked out; 11.5px is under the
   comfortable reading floor on any touch screen, phone or tablet. */
@media (max-width: 1023px) {
  .kicker,
  .stat__label,
  .step__label,
  .proj__status,
  .footer-head,
  .field > span,
  .contact-dl dt,
  .data-table th,
  .badge,
  .overlay-caption__label,
  .info-dl dt,
  .action-stack__label { font-size: 12.5px; }
}

@media (max-width: 720px) {
  /* Give back vertical space: the sticky bar is 78px on a ~670px screen. */
  .site-header__inner { height: 62px; }
  .nav { top: 62px; }
  .logo img { height: 28px; }

  /* Full-width primary actions are easier to hit than inline ones. */
  .hero__actions .btn,
  .form button[type="submit"] {
    display: block;
    width: 100%;
    text-align: center;
  }

  /* Keep the floating WhatsApp button clear of the last footer line. */
  .site-footer { padding-bottom: 88px; }

  /* Footer links span their column so the whole row is tappable. */
  .footer-list a { display: flex; width: 100%; }

  /* Menu items get a full row each. */
  .nav a { min-height: 48px; display: flex; align-items: center; }
  .nav a.nav__cta { justify-content: center; }
}

/* Project tables become stacked records. A 680px-wide table inside a 324px
   column means sideways scrolling to read a single project name. */
@media (max-width: 720px) {
  .table-scroll { overflow-x: visible; }

  .data-table,
  .data-table tbody,
  .data-table tr,
  .data-table td { display: block; width: 100%; }

  .data-table { min-width: 0; }
  .data-table thead { display: none; }

  .data-table tr {
    padding: 20px 0;
    border-bottom: 1px solid var(--line-soft);
  }
  .data-table tbody tr:hover { background: none; }

  .data-table td {
    padding: 0;
    border: none;
    width: auto;
  }
  .data-table td + td { margin-top: 12px; }

  /* the Sr. number becomes a small accent index above the record */
  .data-table td:first-child {
    width: auto;
    font-size: 12.5px;
    letter-spacing: 0.12em;
  }
  .data-table td:first-child::before { content: "No. "; }

  /* the work description is the headline of the card */
  .data-table td:nth-child(2) {
    margin-top: 6px;
    font-size: 16.5px;
    line-height: 1.45;
    font-weight: 600;
    color: var(--ink);
  }

  /* client / main contractor get their column name back as a label */
  .data-table td:nth-child(3)::before,
  .data-table td:nth-child(4)::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 2px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--muted-2);
  }
  .data-table td:nth-child(3),
  .data-table td:nth-child(4) { font-size: 15.5px; }
}

@media (max-width: 420px) {
  /* the two stat columns read better as one on the narrowest handsets */
  .stat-row { gap: 18px; }
}

/* --- Motion --------------------------------------------------------------- */

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

/* --- Print ---------------------------------------------------------------- */

@media print {
  .site-header, .site-footer, .wa, .nav-toggle { display: none !important; }
  body { background: #fff; }
}
