/* Black Opal Services — site styles
   Layout: full-bleed photography, square edges, black/white/concrete with one green action colour.
   The opal shows up once: a thin fire line along the very top of every page. */
:root {
  --black: #141114;      /* the logo's black */
  --ink: #1C1A1D;
  --ink-2: #4E5356;      /* body copy grey, slightly green-cool like concrete */
  --stone: #EEF0EE;      /* concrete band */
  --line: #D6DAD8;
  --white: #FFFFFF;
  --green: #0E7A4B;      /* action colour, from the logo's green fire */
  --green-dk: #0A5E3A;
  --display: "Archivo", "Arial Narrow", Arial, sans-serif;
  --body: "Archivo", Arial, sans-serif;
  --max: 1240px;
  --gl: max(20px, env(safe-area-inset-left, 0px));
  --gr: max(20px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; font-variation-settings: "wdth" 100; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--gl); padding-right: var(--gr); }
h1, h2, h3 { font-family: var(--display); line-height: 1.08; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-variation-settings: "wdth" 112; font-weight: 800; font-size: clamp(38px, 5.4vw, 68px); }
h2 { font-variation-settings: "wdth" 108; font-weight: 800; font-size: clamp(28px, 3.3vw, 42px); }
h3 { font-variation-settings: "wdth" 104; font-weight: 750; font-size: 21px; line-height: 1.2; }
p { margin: 0; }
.lead { font-size: clamp(18px, 1.5vw, 20px); color: var(--ink-2); max-width: 38em; }
.muted { color: var(--ink-2); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font: 650 16px/1 var(--body); padding: 16px 24px; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dk); }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.btn-dark { border-color: var(--ink); color: var(--ink); }
.btn-dark:hover { background: var(--ink); color: #fff; }
.text-link { font-weight: 650; text-decoration: none; border-bottom: 2px solid var(--green); padding-bottom: 2px; }
.text-link:hover { color: var(--green); }

/* Top fire line + utility bar */
.fire { height: 3px; background: linear-gradient(90deg, #1B9E5A 0%, #18A0B8 22%, #2D5BD8 42%, #7B3FC4 58%, #D23A2A 78%, #E9A21F 100%); }
.utility { background: var(--black); color: #C9C6C9; font-size: 14px; }
.utility .wrap { display: flex; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; padding-block: 9px; }
.utility .left, .utility .right { display: flex; gap: 8px 22px; flex-wrap: wrap; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }

/* Main nav */
.nav { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 78px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 50px; height: 42px; object-fit: cover; }
.brand-name { font-family: var(--display); font-variation-settings: "wdth" 120; font-weight: 850; font-size: 19px; line-height: 1; letter-spacing: 0.01em; }
.brand-sub { display: block; font-size: 12.5px; color: var(--ink-2); margin-top: 4px; font-weight: 500; letter-spacing: 0; }
.links { display: flex; align-items: center; gap: 30px; }
.links a { text-decoration: none; font-weight: 600; font-size: 16px; padding-block: 6px; border-bottom: 2px solid transparent; }
.links a:hover, .links a[aria-current="page"] { border-bottom-color: var(--green); }
.links .btn { padding: 13px 20px; border-bottom: 2px solid transparent; }
.links .btn:hover { border-bottom-color: transparent; }
.menu-btn { display: none; background: none; border: 2px solid var(--ink); padding: 9px 12px; font: 650 15px var(--body); cursor: pointer; color: var(--ink); }

/* Home hero */
.hero { position: relative; color: #fff; background: var(--black); overflow: hidden; }
.hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% 55%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,11,14,.86) 0%, rgba(14,11,14,.62) 45%, rgba(14,11,14,.15) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(80px, 12vw, 150px) clamp(64px, 8vw, 110px); }
.hero h1 { max-width: 13em; }
.hero .lead { color: #E3E1E3; margin-top: 22px; max-width: 34em; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.creds { position: relative; z-index: 1; background: var(--white); color: var(--ink); }
.creds .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.creds .item { padding: 24px 22px 24px 0; border-right: 1px solid var(--line); margin-right: 22px; min-width: 0; }
.creds .item:last-child { border-right: 0; margin-right: 0; }
.creds b { display: block; font-family: var(--display); font-variation-settings: "wdth" 108; font-weight: 800; font-size: 18px; line-height: 1.2; }
.creds span { display: block; color: var(--ink-2); font-size: 15px; margin-top: 4px; }

/* Page hero (inner pages) */
.page-hero { position: relative; color: #fff; background: var(--black); }
.page-hero img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,11,14,.85), rgba(14,11,14,.45)); }
.page-hero .wrap { position: relative; z-index: 1; padding-block: clamp(64px, 9vw, 112px); }
.crumbs { font-size: 14px; color: #CFCBCF; margin-bottom: 14px; }
.crumbs a { color: #fff; text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .lead { color: #E3E1E3; margin-top: 18px; }

/* Sections */
.section { padding-block: clamp(64px, 8vw, 112px); }
.section.stone { background: var(--stone); }
.section.dark { background: var(--black); color: #fff; }
.section.dark .muted, .section.dark .lead { color: #BDB8BD; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 44px; }
.head .lead { margin-top: 14px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split .copy > * + * { margin-top: 20px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.ticks li { padding: 13px 0 13px 30px; border-top: 1px solid var(--line); position: relative; }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.section.dark .ticks li { border-color: #3A343A; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.card { text-decoration: none; display: flex; flex-direction: column; min-width: 0; }
.card .ph { overflow: hidden; background: var(--stone); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform .5s ease; }
.card:hover img { transform: scale(1.04); }
.card h3 { margin-top: 18px; }
.card p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.card .more { margin-top: 14px; font-weight: 650; font-size: 15px; color: var(--green); }

/* Projects */
.project { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 0; background: var(--white); }
.project + .project { margin-top: 32px; }
.project img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.project .body { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 16px; justify-content: center; border: 1px solid var(--line); border-left: 0; }
.project.flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); }
.project.flip .ph { order: 2; }
.project.flip .body { border-left: 1px solid var(--line); border-right: 0; }
.meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 20px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; }
.meta dt { color: var(--ink-2); font-size: 13.5px; }
.meta dd { margin: 2px 0 0; font-weight: 650; }
.cores { display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: flex-end; }
.cores div { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 13.5px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.cores i { display: block; border-radius: 50%; background: var(--ink); }

/* Sectors */
.sectors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sectors div { padding: 28px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); min-width: 0; }
.sectors h3 { font-size: 19px; }
.sectors p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; counter-reset: s; }
.steps li { counter-increment: s; border-top: 2px solid var(--ink); padding-top: 18px; min-width: 0; }
.section.dark .steps li { border-color: #fff; }
.steps li::before { content: counter(s); display: block; font-family: var(--display); font-variation-settings: "wdth" 120; font-weight: 850; font-size: 34px; line-height: 1; margin-bottom: 14px; color: var(--green); }
.section.dark .steps li::before { color: #3CC383; }
.steps h3 { font-size: 19px; }
.steps p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.section.dark .steps p { color: #BDB8BD; }

/* Service detail */
.svc-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.svc-nav { position: sticky; top: 104px; border-top: 2px solid var(--ink); }
.svc-nav a { display: block; padding: 11px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 15.5px; }
.svc-nav a:hover { color: var(--green); }
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; padding-bottom: 64px; margin-bottom: 64px; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.svc:last-child { border-bottom: 0; margin-bottom: 0; padding-bottom: 0; }
.svc img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc .copy > * + * { margin-top: 16px; }
.svc h2 { font-size: clamp(26px, 2.6vw, 34px); }
.svc h4 { margin: 22px 0 0; font-size: 15px; font-weight: 700; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; }
.gallery img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; font-weight: 650; font-size: 15px; background: linear-gradient(transparent, rgba(14,11,14,.8)); }

/* Docs table */
.docs { width: 100%; border-collapse: collapse; font-size: 16px; }
.docs th, .docs td { text-align: left; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.docs th { font-size: 14px; color: var(--ink-2); font-weight: 600; border-bottom: 2px solid var(--ink); }
.docs td:last-child { font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* CTA band */
.cta { background: var(--green); color: #fff; }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px 40px; flex-wrap: wrap; padding-block: clamp(48px, 6vw, 72px); }
.cta h2 { max-width: 16em; }
.cta p { color: #D7EFE2; margin-top: 10px; }
.cta .phone { font-family: var(--display); font-variation-settings: "wdth" 110; font-weight: 800; font-size: clamp(26px, 3vw, 36px); color: #fff; text-decoration: none; display: block; }
.cta .actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta .btn-ghost:hover { color: var(--green); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(36px, 6vw, 88px); align-items: start; }
.detail { padding: 20px 0; border-top: 1px solid var(--line); }
.detail:last-child { border-bottom: 1px solid var(--line); }
.detail small { display: block; color: var(--ink-2); font-size: 14px; }
.detail .v { font-family: var(--display); font-variation-settings: "wdth" 106; font-weight: 750; font-size: 22px; text-decoration: none; word-break: break-word; }
.detail .row { display: flex; justify-content: space-between; gap: 12px; align-items: center; flex-wrap: wrap; }
.copy-btn { font: 600 14px var(--body); background: none; border: 1px solid var(--line); padding: 7px 12px; cursor: pointer; color: var(--ink); }
.copy-btn:hover { border-color: var(--ink); }
form.quote { background: var(--stone); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px 20px; }
form.quote h2 { grid-column: 1 / -1; font-size: 28px; }
form.quote .full { grid-column: 1 / -1; }
form.quote label { display: block; font-weight: 600; font-size: 15px; margin-bottom: 6px; }
form.quote input, form.quote select, form.quote textarea { width: 100%; font: 400 16px var(--body); padding: 13px 14px; border: 1px solid #B9BFBD; background: #fff; color: var(--ink); border-radius: 0; }
form.quote textarea { min-height: 140px; resize: vertical; }
form.quote input:focus, form.quote select:focus, form.quote textarea:focus { outline: 2px solid var(--green); outline-offset: 0; border-color: var(--green); }
.form-note { grid-column: 1 / -1; font-size: 14.5px; color: var(--ink-2); }
.form-done { grid-column: 1 / -1; background: #fff; border-left: 4px solid var(--green); padding: 16px 18px; }

/* Footer */
footer { background: var(--black); color: #B3AEB3; font-size: 15px; }
footer .top { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 36px; padding-block: 64px 48px; }
footer h3 { color: #fff; font-size: 16px; margin-bottom: 14px; font-variation-settings: "wdth" 100; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: #E6E3E6; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
footer .brand-name { color: #fff; }
footer .about { margin-top: 16px; max-width: 30em; }
footer .base { border-top: 1px solid #2E292E; }
footer .base .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 20px; font-size: 14px; }

/* Responsive */
@media (max-width: 1020px) {
  .links { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gr) 20px var(--gl); border-bottom: 1px solid var(--line); }
  .links.open { display: flex; }
  .links a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .links .btn { margin-top: 14px; justify-content: center; }
  .menu-btn { display: inline-block; }
  .creds .wrap { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .creds .item:nth-child(2) { border-right: 0; margin-right: 0; }
  .creds .item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .cards, .sectors, .steps, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-layout { grid-template-columns: minmax(0, 1fr); }
  .svc-nav { display: none; }
  footer .top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .split, .project, .project.flip, .svc, .contact-grid, form.quote { grid-template-columns: minmax(0, 1fr); }
  .project.flip .ph { order: 0; }
  .project .body, .project.flip .body { border: 1px solid var(--line); border-top: 0; }
  .project img { min-height: 0; aspect-ratio: 3 / 2; height: auto; }
  .meta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .utility .right { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cards, .sectors, .steps, .gallery { grid-template-columns: minmax(0, 1fr); }
  .creds .wrap { grid-template-columns: minmax(0, 1fr); }
  .creds .item { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); }
  .creds .item:last-child { border-bottom: 0; }
  footer .top { grid-template-columns: minmax(0, 1fr); }
  .brand-sub { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
@media (max-width: 760px) {
  .hero::after { background: linear-gradient(180deg, rgba(14,11,14,.72) 0%, rgba(14,11,14,.82) 100%); }
}

/* Major project cards */
.majors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.major { border-top: 3px solid var(--ink); background: var(--stone); padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.section.stone .major { background: var(--white); }
.major .val { font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 850; font-size: 34px; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; }
.major h3 { font-size: 21px; }
.major p { color: var(--ink-2); font-size: 16px; }
.major dl { margin: auto 0 0; padding-top: 16px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; border-top: 1px solid var(--line); font-size: 15px; }
.major dt { color: var(--ink-2); font-size: 13.5px; }
.major dd { margin: 2px 0 0; font-weight: 650; }

/* Client names */
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.clients li { padding: 22px 20px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--display); font-variation-settings: "wdth" 108; font-weight: 750; font-size: 18px; line-height: 1.25; background: var(--white); min-width: 0; }

/* Project list + register */
.plist { list-style: none; margin: 0; padding: 0; columns: 3 260px; column-gap: 40px; }
.plist li { break-inside: avoid; padding: 11px 0; border-bottom: 1px solid var(--line); }

/* People */
.people { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.people > div { background: var(--white); border-top: 3px solid var(--green); padding: 24px; min-width: 0; }
.people .role { color: var(--green); font-weight: 650; font-size: 15px; margin-top: 6px; }
.people p:last-child { color: var(--ink-2); font-size: 15.5px; margin-top: 12px; }
.ticks.cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; }
.ticks.cols li:nth-last-child(2) { border-bottom: 1px solid var(--line); }
.page-hero .actions .btn-ghost { color: #fff; }

@media (max-width: 1020px) {
  .majors, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .majors, .people, .ticks.cols { grid-template-columns: minmax(0, 1fr); }
  .ticks.cols li:nth-last-child(2) { border-bottom: 0; }
  .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clients li { font-size: 16px; padding: 16px 14px; }
}

/* Company mottos */
.motto { font-family: var(--display); font-variation-settings: "wdth" 118; font-weight: 850; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.motto.sm { font-size: 17px; font-variation-settings: "wdth" 110; font-weight: 750; color: var(--green); margin-bottom: 10px; letter-spacing: 0; }
.section.dark .motto.sm { color: #3CC383; }
.values { padding-block: clamp(56px, 7vw, 96px); }
.vals { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; }
.vals > div { min-width: 0; }
.vals .fire { width: 56px; margin-bottom: 22px; }
.vals .motto { font-size: clamp(28px, 2.8vw, 38px); }
.vals p:last-child { color: #BDB8BD; margin-top: 14px; max-width: 30em; }
.split img[src*="fitout"] { aspect-ratio: 4 / 3; }
.foot-motto { color: #fff; font-family: var(--display); font-variation-settings: "wdth" 112; font-weight: 750; font-size: 18px; margin-top: 10px; }
@media (max-width: 760px) { .vals { grid-template-columns: minmax(0, 1fr); gap: 36px; } }

[hidden]{display:none!important}
