/* ==========================================================================
   Vepris Ardhi — placeholder site
   Reference: docs/Web placeholder.pdf, page 2 (artboard 1366 × 1016).
   At a 1366px-wide viewport every dimension below is 1:1 with the artboard.
   ========================================================================== */

/* ── Brand tokens ───────────────────────────────────────────────────────── */
:root {
  /* Colours (docs/Web placeholder.pdf, page 1) */
  --c-navy:  #00303C;   /* Pantone 547 C  */
  --c-green: #00BC70;   /* Pantone 7480 C */
  --c-lime:  #70D44B;   /* Pantone 7488 C */
  --c-grey:  #606060;   /* "Project at a glance" copy */
  --c-rule:  #073137;   /* stat dividers */
  --c-white: #FFFFFF;

  /* Type */
  --font-body: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  /* Layout — artboard measurements */
  --composition-w: 874px;   /* logo column + gap + content column */
  --logo-col-w:    160px;
  --logo-gap:       60px;
  --content-w:     655px;
}

/* ── Reset ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--c-navy);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; height: auto; }
p, dl, dd, h1 { margin: 0; }
a { color: inherit; text-decoration: none; }

/* ── Hero shell ─────────────────────────────────────────────────────────── */
.hero {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  overflow-x: hidden;               /* headline artwork uses negative margins */
}

/* ── White panel ────────────────────────────────────────────────────────── */
.panel {
  background: var(--c-white);
  padding: 34px 24px 37px;              /* top / sides / bottom */
}

.panel__inner {
  display: grid;
  grid-template-columns: var(--logo-col-w) var(--content-w);
  column-gap: var(--logo-gap);
  width: 100%;
  max-width: var(--composition-w);
  margin: 0 auto;
}

/* Logo sits in its own column, vertically placed to match the artboard
   (ink top at y=179, i.e. 145px below the panel's top padding line). */
.panel__logo {
  padding-top: 145px;
}
.panel__logo img {
  width: 159px;
  height: auto;
  margin: 0 auto;
}

/* ── Copy stack ─────────────────────────────────────────────────────────── */
.panel__content { min-width: 0; }   /* never let intrinsic image width widen the column */

.notice {
  font-size: 10px;
  line-height: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--c-green);
  margin-bottom: 58px;
}

.tagline {
  font-size: 20.4px;
  line-height: 24px;
  font-weight: 400;
  color: var(--c-navy);
}
.tagline strong { font-weight: 500; }

/* Headline artwork (Heuvel Grotesk). The PNG carries transparent padding
   around the glyphs; the negative offsets align the ink with the column
   edge and the artboard baseline. */
.headline {
  width: 610px;
  max-width: calc(100% + 27px);
  margin: -4px 0 0 -27px;
}
.headline img { width: 100%; height: auto; }

.subline {
  font-size: 14px;
  line-height: 18px;
  font-weight: 500;
  color: var(--c-navy);
  white-space: nowrap;
  margin-top: 1px;
}

/* Three-colour brand bar */
.brandbar {
  display: flex;
  height: 5px;
  width: 654px;
  max-width: 100%;
  margin-top: 33px;
}
.brandbar span { flex: 1 1 0; }
.brandbar span:nth-child(1) { background: var(--c-navy); }
.brandbar span:nth-child(2) { background: var(--c-green); }
.brandbar span:nth-child(3) { background: var(--c-lime); }

/* ── Project at a glance ────────────────────────────────────────────────── */
.glance-label {
  font-size: 10px;
  line-height: 13px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--c-green);
  margin-top: 23px;
}

.glance {
  display: grid;
  grid-template-columns: 149px 176px 160px 169px;   /* artboard column widths */
  margin-top: 10px;
  color: var(--c-grey);
}

.glance__item {
  padding-bottom: 0;
  min-height: 78px;                                 /* 402 → 480 */
}
.glance__item + .glance__item {
  border-left: 1px solid var(--c-rule);
  margin-top: 2px;                                  /* rule starts at y=404 */
}
.glance__item:nth-child(2) { padding-left: 25px; }
.glance__item:nth-child(3) { padding-left: 26px; }
.glance__item:nth-child(4) { padding-left: 22px; }
.glance__item + .glance__item dt { margin-top: -2px; }

.glance dt {
  font-size: 13.9px;
  line-height: 19px;
  font-weight: 600;
  text-transform: uppercase;
}

.glance__list {
  font-size: 12px;
  line-height: 14.5px;
  font-weight: 500;
  margin-top: 15px;
}

.glance__big {
  font-size: 28px;
  line-height: 39px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 15px;
}

/* ── Aerial visual + actions ───────────────────────────────────────────── */
.visual {
  flex: 1 1 auto;
  min-height: 499px;                                /* 517 → 1016 */
  background-color: #1f3a44;
  background-image: url("../img/hero-bg-1920.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  padding: 41px 24px 40px;
}
@media (min-width: 1921px), (min-resolution: 1.5dppx) and (min-width: 1200px) {
  .visual { background-image: url("../img/hero-bg-3840.jpg"); }
}

.visual__inner {
  display: grid;
  grid-template-columns: var(--logo-col-w) var(--content-w);
  column-gap: var(--logo-gap);
  width: 100%;
  max-width: var(--composition-w);
  margin: 0 auto;
}

.actions {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 5px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 172px;
  height: 29px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 600;
  line-height: 1;
  color: var(--c-white);
  transition: filter .15s ease, transform .15s ease;
}
.btn:hover  { filter: brightness(1.08); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--c-white); outline-offset: 2px; }
.btn--green { background: var(--c-green); }
.btn--lime  { background: var(--c-lime); }

/* ── Introduction video ────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }

.intro {
  background: var(--c-white);
  padding: 88px 24px 0;
}

.intro__inner {
  display: grid;
  grid-template-columns: var(--logo-col-w) var(--content-w);
  column-gap: var(--logo-gap);
  width: 100%;
  max-width: var(--composition-w);
  margin: 0 auto;
}

.intro__aside .brandbar--small { margin-top: 8px; }

.intro__title {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
  color: var(--c-navy);
}
.intro__title strong { font-weight: 700; }

.intro__lead {
  margin-top: 14px;
  max-width: 560px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--c-grey);
}

.video {
  position: relative;
  margin-top: 28px;
  aspect-ratio: 16 / 9;
  background: var(--c-navy);
  border-radius: 3px;
  overflow: hidden;
}
.video iframe,
.video__facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video__poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, opacity .4s ease;
}
.video__facade:hover .video__poster { transform: scale(1.03); opacity: .92; }

.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 68px;
  height: 68px;
  margin: -34px 0 0 -34px;
  border-radius: 50%;
  background: var(--c-green);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 48, 60, .35);
  transition: transform .2s ease, background .2s ease;
}
.video__play svg { width: 34px; height: 34px; fill: var(--c-white); margin-left: 3px; }
.video__facade:hover .video__play { transform: scale(1.08); background: var(--c-lime); }
.video__facade:focus-visible { outline: 3px solid var(--c-lime); outline-offset: -3px; }

.video__caption {
  margin-top: 10px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
  color: var(--c-grey);
}

/* ── Contact (mirrors the brochure back page) ──────────────────────────── */

.contact {
  background: var(--c-white);
  padding: 96px 24px 88px;
}

.contact__inner {
  display: grid;
  grid-template-columns: var(--logo-col-w) var(--content-w);
  column-gap: var(--logo-gap);
  width: 100%;
  max-width: var(--composition-w);
  margin: 0 auto;
}

.contact__logo img {
  width: 159px;
  height: auto;
  margin: 0 auto;
}
.brandbar--small {
  width: 159px;
  height: 4px;
  margin: 28px auto 0;
}

.contact__title {
  margin: 10px 0 0;
  font-size: 28px;
  line-height: 36px;
  font-weight: 500;
  color: var(--c-navy);
}
.contact__title strong { font-weight: 700; }

.contact__lead {
  margin-top: 14px;
  max-width: 560px;
  font-size: 14px;
  line-height: 22px;
  font-weight: 500;
  color: var(--c-grey);
}

.contact__grid {
  display: grid;
  grid-template-columns: 200px 210px 245px;
  margin-top: 36px;
  color: var(--c-grey);
}
.contact__col + .contact__col {
  border-left: 1px solid var(--c-rule);
  padding-left: 24px;
}

.contact__label {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  font-size: 13.9px;
  line-height: 19px;
  font-weight: 600;
  color: var(--c-navy);
}

.contact address {
  font-style: normal;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
}

.contact__col--channels {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contact__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  line-height: 18px;
  font-weight: 500;
  color: var(--c-grey);
  transition: color .15s ease;
}
.contact__link:hover { color: var(--c-navy); }
.contact__link--strong { font-size: 13.9px; font-weight: 600; color: var(--c-navy); }
.contact__link--green  { font-weight: 600; color: var(--c-green); }
.contact__link--green:hover { color: #009a5c; }

.ico {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--c-green);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ── Footer ─────────────────────────────────────────────────────────────── */
.footer {
  background: var(--c-navy);
  color: rgba(255, 255, 255, .78);
  padding: 22px 24px;
  font-size: 11px;
  line-height: 16px;
  font-weight: 500;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--composition-w);
  margin: 0 auto;
}

/* ── Responsive ─────────────────────────────────────────────────────────── */

/* Tablet: keep the two-column composition but let the content column shrink */
@media (max-width: 939px) {
  .panel__inner,
  .visual__inner {
    grid-template-columns: var(--logo-col-w) minmax(0, 1fr);
    column-gap: 40px;
  }
  .headline { width: 100%; max-width: calc(100% + 27px); }
  .subline  { white-space: normal; }
  .glance   { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 24px; }
  .glance__item:nth-child(3) { border-left: 0; padding-left: 0; }
  .glance__item:nth-child(3) dt { margin-top: 0; }

  .intro__inner,
  .contact__inner { grid-template-columns: var(--logo-col-w) minmax(0, 1fr); column-gap: 40px; }
  .contact__grid  { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .contact__col--channels { border-left: 0; padding-left: 0; }
}

/* Mobile: stack logo above content */
@media (max-width: 639px) {
  .panel { padding: 28px 20px 32px; }
  .panel__inner,
  .visual__inner { grid-template-columns: minmax(0, 1fr); row-gap: 32px; }
  .panel__logo { padding-top: 0; }
  .panel__logo img { margin: 0; width: 120px; }
  .notice { margin-bottom: 28px; }
  .tagline { font-size: 18px; line-height: 22px; }
  .tagline br { display: none; }
  /* PNG ink starts 4.5% in from its left edge and ends 2.5% before its right
     edge: pull it left so the glyphs sit flush with the text column. */
  .headline { margin-left: -4.5%; width: 104.5%; max-width: none; }
  .subline { margin-top: 6px; }
  .glance { grid-template-columns: 1fr; row-gap: 20px; }
  .glance__item { min-height: 0; }
  .glance__item + .glance__item { border-left: 0; padding-left: 0; margin-top: 0; }
  .glance__item + .glance__item dt { margin-top: 0; }
  .visual { min-height: 60vh; padding: 32px 20px; }
  .actions { grid-column: 1; padding-left: 0; }
  .btn { width: calc(50% - 3px); min-width: 150px; }

  .intro { padding: 48px 20px 0; }
  .intro__inner { grid-template-columns: minmax(0, 1fr); }
  .intro__aside { display: none; }
  .intro__title { font-size: 24px; line-height: 31px; }
  .intro__title br { display: none; }
  .video__play { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
  .video__play svg { width: 28px; height: 28px; }

  .contact { padding: 56px 20px; }
  .contact__inner { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .contact__logo img { width: 120px; margin: 0; }
  .brandbar--small { width: 120px; margin-left: 0; }
  .contact__title { font-size: 24px; line-height: 31px; }
  .contact__grid { grid-template-columns: minmax(0, 1fr); row-gap: 22px; margin-top: 28px; }
  .contact__col + .contact__col { border-left: 0; padding-left: 0; }
  .contact__link { word-break: break-word; }
  .footer__inner { flex-direction: column; gap: 4px; }
}
