/* Agensi Pekerjaan Sinaran Manpower — site styles
   Palette and the 45° cut come straight from the APSM logo. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #231F20;          /* logo charcoal */
  --red: #FF0000;          /* logo red, graphics only */
  --red-ui: #D0021B;       /* red for buttons and links (AA on white) */
  --red-ui-dark: #A80016;
  --paper: #FFFFFF;
  --mist: #EDEFF1;
  --steel: #5E646B;
  --line: #D6D9DD;
  --line-dark: #3A3536;
  --on-ink: #FFFFFF;
  --on-ink-soft: #C3C6CA;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-body: 1.0625rem;
  --fs-lead: 1.25rem;
  --fs-h3: 1.4375rem;
  --fs-h2: clamp(2rem, 1.35rem + 2.6vw, 3.125rem);
  --fs-h1: clamp(2.6rem, 1.4rem + 5.2vw, 5.5rem);

  --cut: 14px;             /* chamfer size, echoing the logo's 45° cuts */
  --gutter: clamp(16px, 4vw, 40px);
  --max: 1200px;
  --space-section: clamp(64px, 6vw + 32px, 120px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.6;
  font-stretch: 100%;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red-ui); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--red-ui-dark); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--red-ui); outline-offset: 3px; }

h1, h2, h3, h4 {
  margin: 0;
  font-stretch: 74%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: 0.96; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 750; line-height: 1.15; }

p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--on-ink); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--on-ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- Buttons: a chamfered corner cut at 45° ---------- */
.btn {
  --btn-bg: var(--red-ui);
  --btn-fg: #fff;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 26px 12px 22px;
  color: var(--btn-fg);
  font: inherit; font-weight: 700; font-stretch: 88%; font-size: 1.0625rem; line-height: 1.2;
  text-decoration: none; border: 0; background: none; cursor: pointer;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--btn-bg);
  clip-path: polygon(0 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%);
  transition: background-color .15s ease;
}
.btn:hover { color: var(--btn-fg); text-decoration: none; }
.btn:hover::before { background: var(--red-ui-dark); }
.btn svg { width: 20px; height: 20px; flex: none; }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn--ghost::before { display: none; }
.btn--ghost:hover { --btn-fg: #fff; background: var(--ink); }

.btn--light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn--light:hover { --btn-fg: var(--ink); }
.btn--light:hover::before { background: var(--mist); }

.btn--outline-light { --btn-fg: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.7); }
.btn--outline-light::before { display: none; }
.btn--outline-light:hover { background: #fff; --btn-fg: var(--ink); }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { font-weight: 700; font-stretch: 88%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand img { width: 84px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-weight: 800; font-stretch: 80%; font-size: 1.1875rem; }
.brand__sub { font-size: var(--fs-xs); color: var(--steel); font-stretch: 90%; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 10px 14px; color: var(--ink); text-decoration: none;
  font-weight: 600; font-stretch: 90%;
}
.nav__link:hover { color: var(--red-ui); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px; background: var(--red);
}
.nav__cta { margin-left: 12px; min-height: 46px; padding-block: 10px; }

.menu-toggle {
  display: none;
  align-items: center; gap: 8px;
  min-height: 44px; padding: 8px 12px;
  border: 2px solid var(--ink); background: #fff; color: var(--ink);
  font: inherit; font-weight: 700; font-stretch: 88%; cursor: pointer;
}
.menu-toggle__bars { position: relative; width: 18px; height: 12px; }
.menu-toggle__bars span { position: absolute; left: 0; right: 0; height: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 5px; }
.menu-toggle__bars span:nth-child(3) { top: 10px; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bars span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .site-header__inner { min-height: 68px; }
  .brand img { width: 70px; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px;
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav__link { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; }
  .nav__link[aria-current="page"]::after { left: auto; right: 0; top: 50%; bottom: auto; width: 14px; height: 14px; transform: translateY(-50%); clip-path: polygon(0 0, 100% 48%, 100% 100%, 0 52%); width: 10px; height: 21px; }
  .nav__cta { margin: 16px 0 0; }
}
@media (max-width: 420px) {
  .brand__sub { display: none; }
}

/* ---------- Sections ---------- */
.section { padding-block: var(--space-section); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: var(--on-ink); }
.section--ink a:not(.btn) { color: #fff; }
.section--tight { padding-block: clamp(48px, 4vw + 24px, 80px); }

.section-head { max-width: 760px; margin-bottom: clamp(32px, 3vw + 16px, 56px); }
.section-head p { margin-top: 18px; font-size: var(--fs-lead); color: var(--steel); line-height: 1.5; }
.section--ink .section-head p { color: var(--on-ink-soft); }
.section-head--split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px 40px; }
.section-head--split > div { max-width: 700px; }

.lead { font-size: var(--fs-lead); line-height: 1.5; color: var(--steel); max-width: 62ch; }

/* ---------- Shards (the logo's red parallelograms) ---------- */
.shard {
  position: absolute; pointer-events: none;
  background: var(--red);
  aspect-ratio: 72 / 151;
  clip-path: polygon(0 0, 100% 47.7%, 100% 100%, 0 51.7%);
}
.shard--low {
  aspect-ratio: 90 / 56;
  clip-path: polygon(0 0, 68.9% 0, 100% 100%, 31.1% 100%);
}

/* ---------- Home hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 5vw + 24px, 104px) clamp(56px, 6vw + 24px, 120px); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: clamp(40px, 5vw, 80px); align-items: center; position: relative; z-index: 1; }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: 28px; max-width: 46ch; color: #464B51; }
.hero .btn-row { margin-top: 36px; }
.hero__aside-note { margin-top: 28px; font-size: var(--fs-sm); color: var(--steel); }

.hero__shard-a { width: clamp(150px, 16vw, 230px); right: max(-40px, calc((100vw - var(--max)) / 2 - 80px)); top: -40px; }
.hero__shard-b { width: clamp(70px, 7vw, 110px); right: calc(clamp(150px, 16vw, 230px) + max(-40px, calc((100vw - var(--max)) / 2 - 80px)) + 20px); top: -80px; background: var(--ink); }

@media (prefers-reduced-motion: no-preference) {
  .hero__shard-a { animation: shard-in .9s cubic-bezier(.2,.8,.2,1) .1s both; }
  .hero__shard-b { animation: shard-in .9s cubic-bezier(.2,.8,.2,1) .25s both; }
  @keyframes shard-in {
    from { transform: translate(-60px, -60px); opacity: 0; }
    to { transform: none; opacity: 1; }
  }
}

/* Licence card */
.licence {
  position: relative;
  padding: 2px; background: var(--ink);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
}
.licence__inner {
  background: #fff;
  padding: clamp(24px, 2.5vw, 34px);
  clip-path: polygon(0 0, calc(100% - 33px) 0, 100% 33px, 100% 100%, 0 100%);
}
.licence__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 2px solid var(--ink); }
.licence__title { font-size: 1.5rem; font-weight: 800; font-stretch: 74%; line-height: 1.05; }
.licence__class {
  flex: none; display: grid; place-items: center; text-align: center;
  width: 74px; height: 74px; border: 2px solid var(--red-ui); color: var(--red-ui);
  border-radius: 50%; font-weight: 800; font-stretch: 70%; line-height: 1; font-size: 0.75rem;
  transform: rotate(-8deg);
}
.licence__class strong { display: block; font-size: 1.75rem; }
.licence dl { margin: 0; }
.licence__row { display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); }
.licence__row:last-child { border-bottom: 0; }
.licence dt { color: var(--steel); }
.licence dd { margin: 0; font-weight: 600; }
.licence__foot { margin-top: 16px; font-size: var(--fs-sm); }
.licence__low { width: 76px; left: -30px; bottom: -14px; z-index: 2; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 12ch; }
  .hero__shard-a { width: 120px; right: -36px; top: -50px; }
  .hero__shard-b { width: 56px; right: 96px; top: -110px; }
  .licence-wrap { max-width: 560px; }
}
@media (max-width: 520px) {
  .licence__row { grid-template-columns: 1fr; gap: 2px; }
}
.licence-wrap { position: relative; }

/* ---------- Audience split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; }
.split__panel { padding: clamp(40px, 5vw, 72px) clamp(24px, 5vw, 64px); }
.split__panel--ink { background: var(--ink); color: #fff; }
.split__panel--mist { background: var(--mist); }
.split__panel h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); }
.split__panel p { margin-top: 16px; max-width: 46ch; }
.split__panel--ink p { color: var(--on-ink-soft); }
.split__panel--mist p { color: #464B51; }
.split__panel ul { margin: 22px 0 0; padding: 0; list-style: none; }
.split__panel li { position: relative; padding: 8px 0 8px 26px; border-top: 1px solid var(--line); }
.split__panel--ink li { border-top-color: var(--line-dark); }
.split__panel li::before {
  content: ""; position: absolute; left: 2px; top: 15px; width: 8px; height: 13px;
  background: var(--red); clip-path: polygon(0 0, 100% 47.7%, 100% 100%, 0 51.7%);
}
.split__panel .btn { margin-top: 30px; }
.split-wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Service rows ---------- */
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(32px, 5vw, 72px); }
.service-row {
  display: grid; grid-template-columns: 1fr auto; gap: 8px 24px; align-items: start;
  padding: 26px 0 28px; border-top: 2px solid var(--ink);
  color: inherit; text-decoration: none;
}
.service-row:hover { color: inherit; }
.service-row h3 { grid-column: 1; }
.service-row p { grid-column: 1; color: var(--steel); max-width: 48ch; }
.service-row__go {
  grid-column: 2; grid-row: 1 / span 2; align-self: center;
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 2px solid var(--ink); color: var(--ink); transition: background .15s, color .15s, border-color .15s;
}
.service-row__go svg { width: 18px; height: 18px; }
.service-row:hover .service-row__go { background: var(--red-ui); border-color: var(--red-ui); color: #fff; }
.service-row:hover h3 { color: var(--red-ui); }
@media (max-width: 760px) { .service-list { grid-template-columns: 1fr; } }

/* ---------- Steps (a real sequence) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 20px 0 0; counter-increment: step; }
.step__num {
  display: flex; align-items: center; gap: 12px;
  font-size: 3.25rem; font-weight: 800; font-stretch: 66%; line-height: 1; color: var(--red);
}
.step__num::after { content: ""; flex: 1; height: 2px; background: rgba(255,255,255,.22); }
.step:last-child .step__num::after { display: none; }
.step h3 { margin-top: 18px; font-size: 1.25rem; color: #fff; }
.step p { margin-top: 8px; color: var(--on-ink-soft); font-size: var(--fs-sm); }
@media (max-width: 980px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 64px 1fr; column-gap: 16px; padding: 0; }
  .step__num { grid-row: 1 / span 2; align-items: flex-start; font-size: 2.75rem; }
  .step__num::after { display: none; }
  .step h3 { margin-top: 4px; }
}

/* ---------- Industries ---------- */
.industries { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.industry { padding: 26px 24px 8px 0; }
.industry + .industry { padding-left: 24px; border-left: 1px solid var(--line); }
.industry h3 { font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem); font-stretch: 70%; }
.industry p { margin-top: 10px; color: var(--steel); font-size: var(--fs-sm); }
.industries-note { margin-top: 28px; color: var(--steel); }
@media (max-width: 900px) {
  .industries { grid-template-columns: 1fr 1fr; }
  .industry:nth-child(3) { padding-left: 0; border-left: 0; }
  .industry:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .industries { grid-template-columns: 1fr; }
  .industry, .industry + .industry { padding: 20px 0 6px; border-left: 0; }
  .industry + .industry { border-top: 1px solid var(--line); }
}

/* ---------- Director ---------- */
.director { display: grid; grid-template-columns: auto 1fr; gap: clamp(28px, 4vw, 64px); align-items: start; }
.director__photo { position: relative; width: clamp(150px, 16vw, 200px); }
.director__photo img {
  width: 100%; aspect-ratio: 183 / 266; object-fit: cover;
  clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%);
}
.director__photo .shard { width: 34px; right: -18px; bottom: -26px; }
.director__name { margin-top: 18px; font-weight: 800; font-stretch: 80%; font-size: 1.125rem; line-height: 1.2; }
.director__role { color: var(--steel); font-size: var(--fs-sm); }
.director__body h2 { max-width: 18ch; }
.director__body p { margin-top: 20px; max-width: 64ch; }
.director__body .lead { color: #464B51; }
.director__facts { display: flex; flex-wrap: wrap; gap: 12px 40px; margin: 28px 0 0; padding: 0; list-style: none; }
.director__facts li { border-left: 3px solid var(--red); padding-left: 14px; }
.director__facts strong { display: block; font-size: 2.25rem; font-weight: 800; font-stretch: 66%; line-height: 1; }
.director__facts span { font-size: var(--fs-sm); color: var(--steel); }
@media (max-width: 680px) { .director { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta-band__inner { position: relative; z-index: 1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px 48px; }
.cta-band h2 { max-width: 16ch; }
.cta-band p { margin-top: 14px; color: var(--on-ink-soft); max-width: 48ch; }
.cta-band .shard { width: 120px; left: -30px; top: -80px; opacity: 1; }
.cta-band .shard--low { width: 96px; left: auto; right: 6%; top: auto; bottom: 36px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 4vw + 28px, 96px) clamp(40px, 4vw + 20px, 80px); border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(2.5rem, 1.5rem + 4vw, 4.5rem); max-width: 14ch; position: relative; z-index: 1; }
.page-hero .lead { margin-top: 22px; position: relative; z-index: 1; }
.page-hero .shard { width: clamp(90px, 10vw, 150px); right: max(-20px, calc((100vw - var(--max)) / 2)); top: -30px; }
.page-hero .shard--ink { background: var(--ink); width: clamp(44px, 4.6vw, 70px); right: calc(clamp(90px, 10vw, 150px) + max(-20px, calc((100vw - var(--max)) / 2)) + 14px); top: -40px; }

/* ---------- About ---------- */
.prose { max-width: 66ch; }
.prose p { color: #33373B; }
.two-col { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.mission { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.mission > div { padding: 26px 28px 0 0; }
.mission > div + div { padding-left: 28px; border-left: 1px solid var(--line); }
.mission h3 { font-size: 1.5rem; }
.mission p { margin-top: 12px; color: #464B51; }
@media (max-width: 860px) {
  .mission { grid-template-columns: 1fr; }
  .mission > div, .mission > div + div { padding: 22px 0; border-left: 0; }
  .mission > div + div { border-top: 1px solid var(--line); }
}

.vision { position: relative; overflow: hidden; }
.vision blockquote { margin: 0; position: relative; z-index: 1; }
.vision blockquote p { font-size: clamp(1.6rem, 1.1rem + 2.1vw, 2.75rem); font-weight: 700; font-stretch: 78%; line-height: 1.15; max-width: 26ch; }
.vision blockquote p + p { margin-top: 22px; font-size: var(--fs-lead); font-weight: 400; font-stretch: 100%; line-height: 1.5; color: var(--on-ink-soft); max-width: 52ch; }
.vision .shard { width: 140px; right: 4%; bottom: -60px; }

.values { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; border-top: 2px solid var(--ink); }
.values > div { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--line); }
.values dt { font-size: 1.5rem; font-weight: 800; font-stretch: 74%; }
.values dd { margin: 10px 0 0; color: #464B51; }

.facts { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.facts th, .facts td { text-align: left; vertical-align: top; padding: 14px 0; border-bottom: 1px solid var(--line); }
.facts th { width: 38%; padding-right: 20px; font-weight: 400; color: var(--steel); }
.facts td { font-weight: 600; }
.facts tr:first-child th, .facts tr:first-child td { border-top: 2px solid var(--ink); }
@media (max-width: 520px) {
  .facts th, .facts td { display: block; width: auto; padding: 0; border: 0; }
  .facts th { padding-top: 14px; }
  .facts td { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
  .facts tr:first-child th { border-top: 2px solid var(--ink); }
  .facts tr:first-child td { border-top: 0; }
}

/* ---------- Services page ---------- */
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; position: relative; z-index: 1; }
.jump a { padding: 8px 14px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: var(--fs-sm); font-weight: 600; font-stretch: 90%; background: #fff; }
.jump a:hover { border-color: var(--ink); }

.service-block { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); padding-block: clamp(40px, 4vw + 16px, 72px); border-top: 1px solid var(--line); }
.service-block:first-child { border-top: 0; }
.service-block h2 { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.75rem); }
.service-block__body > p:first-child { font-size: var(--fs-lead); line-height: 1.5; }
.service-block__body p { color: #33373B; max-width: 62ch; }
.service-block__body p + p { margin-top: 16px; }

.option-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 28px; border-top: 2px solid var(--ink); }
.option-grid > div { padding: 18px 18px 0 0; }
.option-grid > div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.option-grid h3 { font-size: 1.1875rem; }
.option-grid p { margin-top: 8px; font-size: var(--fs-sm); color: var(--steel); }
@media (max-width: 640px) {
  .option-grid { grid-template-columns: 1fr; }
  .option-grid > div, .option-grid > div + div { padding: 16px 0; border-left: 0; }
  .option-grid > div + div { border-top: 1px solid var(--line); }
}

.checklist { list-style: none; margin: 24px 0 0; padding: 0; columns: 2; column-gap: 40px; }
.checklist li { break-inside: avoid; position: relative; padding: 10px 0 10px 28px; border-top: 1px solid var(--line); }
.checklist li::before {
  content: ""; position: absolute; left: 2px; top: 17px; width: 9px; height: 14px; background: var(--red);
  clip-path: polygon(0 0, 100% 47.7%, 100% 100%, 0 51.7%);
}
.checklist small { display: block; color: var(--steel); font-size: var(--fs-xs); }
@media (max-width: 640px) { .checklist { columns: 1; } }

.callout { margin-top: 24px; padding: 16px 18px; background: var(--mist); border-left: 4px solid var(--red); font-size: var(--fs-sm); }

@media (max-width: 860px) { .service-block { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.segmented { display: inline-grid; grid-auto-flow: column; border: 2px solid var(--ink); }
.segmented button {
  min-height: 48px; padding: 10px 20px; border: 0; background: #fff; color: var(--ink);
  font: inherit; font-weight: 700; font-stretch: 88%; cursor: pointer;
}
.segmented button + button { border-left: 2px solid var(--ink); }
.segmented button[aria-pressed="true"] { background: var(--ink); color: #fff; }

.form { margin-top: 28px; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: var(--fs-sm); }
.field .hint { font-size: var(--fs-xs); color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1.5px solid #9CA2A9; border-radius: 0; background: #fff; color: var(--ink);
  font: inherit; font-size: 1rem;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--red-ui); outline-offset: 0; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--red-ui); }
.field__error { color: var(--red-ui); font-size: var(--fs-xs); font-weight: 600; min-height: 0; }
.form__actions { margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__note { margin-top: 16px; font-size: var(--fs-sm); color: var(--steel); }
.form__status { margin-top: 14px; font-weight: 600; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

.contact-card { background: var(--mist); padding: clamp(24px, 3vw, 36px); }
.contact-card h2 { font-size: 1.75rem; }
.contact-list { list-style: none; margin: 20px 0 0; padding: 0; }
.contact-list li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.contact-list svg { width: 22px; height: 22px; color: var(--red-ui); margin-top: 2px; }
.contact-list .label { display: block; font-size: var(--fs-xs); color: var(--steel); }
.contact-list a { color: var(--ink); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--red-ui); text-decoration: underline; }
.contact-list address { font-style: normal; font-weight: 600; }
.map { margin-top: 24px; aspect-ratio: 4 / 3; width: 100%; border: 0; display: block; background: var(--line); }
.directions { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 14px; font-size: var(--fs-sm); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--on-ink-soft); padding-block: 64px 28px; font-size: var(--fs-sm); border-top: 6px solid var(--red); }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 40px; }
.footer-logo { width: 220px; }
.footer-legal { margin-top: 20px; line-height: 1.55; }
.site-footer h2 { font-size: 1rem; font-stretch: 85%; font-weight: 700; color: #fff; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 8px; }
.site-footer address { font-style: normal; }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: var(--fs-xs); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Mobile action bar ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr;
    background: #fff; border-top: 1px solid var(--line);
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    gap: 8px;
  }
  .action-bar a {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; font-weight: 700; font-stretch: 88%; text-decoration: none;
  }
  .action-bar a svg { width: 20px; height: 20px; }
  .action-bar__call { color: var(--ink); border: 2px solid var(--ink); }
  .action-bar__wa { background: var(--red-ui); color: #fff; }
  .action-bar__wa:hover { color: #fff; background: var(--red-ui-dark); }
  body { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .action-bar, .shard, .map { display: none !important; }
}

/* Small-screen tidy-ups for the decorative shards */
@media (max-width: 760px) {
  .hero__shard-b, .page-hero .shard--ink { display: none; }
  .licence__low { left: -10px; width: 64px; }
  .cta-band .shard { width: 64px; left: -22px; top: -84px; }
  .cta-band .shard--low { width: 72px; bottom: 24px; }
  .page-hero .shard { width: 84px; right: -30px; top: -60px; }
  .page-hero h1 { max-width: 10ch; }
}

/* Domestic helpers: the lead service */
.service-row--feature { grid-column: 1 / -1; border-top: 6px solid var(--red); padding-top: 30px; }
.service-row--feature h3 { font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem); font-stretch: 72%; }
.service-row--feature p { font-size: var(--fs-lead); line-height: 1.5; max-width: 60ch; margin-top: 4px; }

.service-block--feature { border-top: 0; }
.service-block__tag {
  display: inline-block; margin-top: 14px; padding: 4px 10px;
  border: 2px solid var(--red-ui); color: var(--red-ui);
  font-size: var(--fs-sm); font-weight: 700; font-stretch: 88%;
}

/* Three-way switch on the enquiry form */
@media (max-width: 720px) {
  .segmented { display: grid; grid-auto-flow: row; width: 100%; }
  .segmented button { text-align: left; }
  .segmented button + button { border-left: 0; border-top: 2px solid var(--ink); }
}

/* Full registered name in the header, wrapping onto two balanced lines */
.brand .brand__name { max-width: 15em; font-size: 1.0625rem; line-height: 1.1; text-wrap: balance; }
@media (max-width: 900px) { .brand .brand__name { max-width: 12.5em; font-size: 0.9375rem; } }
@media (max-width: 380px) { .brand .brand__name { font-size: 0.875rem; } .brand img { width: 58px; } }
