/* Perth Industrial Flooring — single committed dark identity.
   Every colour is painted explicitly so the page holds on any host ground. */

:root{
  --ink:#0F1114;
  --surface:#171A1F;
  --surface-2:#1E222A;
  --line:#2B313A;
  --line-soft:#21262D;
  --text:#E9E6E0;
  --muted:#99A1AC;
  --gold:#CE9B46;
  --gold-hi:#E5B463;
  --gold-dim:#7E6231;
  --maxw:1120px;
  --gut:clamp(20px,5vw,56px);
  color-scheme:dark;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{
  margin:0;
  background:var(--ink);
  color:var(--text);
  font-family:"IBM Plex Sans","Helvetica Neue",Arial,sans-serif;
  font-size:17px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block}
a{color:var(--gold-hi);text-underline-offset:3px}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
  outline:2px solid var(--gold-hi);outline-offset:3px
}

.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gut)}

/* ---- type ---- */
h1,h2,h3,.display{
  font-family:Archivo,"Helvetica Neue",Arial,sans-serif;
  font-weight:800;
  letter-spacing:-.02em;
  text-wrap:balance;
  margin:0;
}
h1{font-size:clamp(2.1rem,5.4vw,3.9rem);line-height:1.04}
h2{font-size:clamp(1.55rem,3.4vw,2.4rem);line-height:1.1}
h3{font-size:1.16rem;line-height:1.25;letter-spacing:-.01em}
p{margin:0}
.lede{font-size:clamp(1.05rem,1.9vw,1.24rem);color:#CFCCC5;max-width:62ch}
.prose{display:flex;flex-direction:column;gap:1.1em;max-width:66ch;color:#CDCAC3}
.gold{color:var(--gold)}

.eyebrow{
  font-family:"IBM Plex Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  font-size:.74rem;font-weight:500;letter-spacing:.18em;text-transform:uppercase;
  color:var(--gold);margin:0;
}

/* ---- hazard rule: floor-marking tape, used sparingly ---- */
.tape{
  height:10px;border:0;margin:0;
  background:repeating-linear-gradient(135deg,
    var(--gold) 0 14px, var(--ink) 14px 28px);
  opacity:.85;
}

/* ---- header ---- */
.site-head{
  position:sticky;top:env(safe-area-inset-top,0px);z-index:20;
  background:rgba(15,17,20,.92);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--line-soft);
}
.head-in{display:flex;align-items:center;gap:10px 20px;min-height:64px;flex-wrap:wrap}
.brand{display:flex;align-items:baseline;gap:9px;text-decoration:none;color:var(--text);margin-right:auto}
.brand b{font-family:Archivo,sans-serif;font-weight:800;letter-spacing:-.02em;font-size:1rem;white-space:nowrap}
.brand span{
  display:none;
  font-family:"IBM Plex Mono",monospace;font-size:.66rem;letter-spacing:.16em;
  text-transform:uppercase;color:var(--gold)
}
@media (min-width:1180px){.brand span{display:inline}}
.nav{display:flex;gap:18px;flex-wrap:wrap}

/* Below the width where everything fits on one line, the nav drops to its own
   row and scrolls sideways — so the call button never gets pushed off. */
@media (max-width:1059px){
  .site-head .head-in{min-height:0;padding-block:9px;row-gap:6px}
  .nav{
    order:3;flex-basis:100%;flex-wrap:nowrap;gap:16px;
    overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch
  }
  .nav::-webkit-scrollbar{display:none}
  .nav a{white-space:nowrap;padding-block:3px}
}
.nav a{
  color:var(--muted);text-decoration:none;font-size:.9rem;
  padding:6px 0;border-bottom:1px solid transparent
}
.nav a:hover{color:var(--text);border-bottom-color:var(--gold)}
.nav a[aria-current="page"]{color:var(--text);border-bottom-color:var(--gold)}
.head-call{
  font-family:"IBM Plex Mono",monospace;font-size:.88rem;font-weight:600;
  color:var(--ink);background:var(--gold);text-decoration:none;
  padding:9px 14px;border-radius:2px;white-space:nowrap
}
.head-call:hover{background:var(--gold-hi)}

/* ---- hero ---- */
.hero{position:relative;overflow:hidden;background:var(--surface)}
.hero-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.38}
.hero::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,var(--ink) 4%,rgba(15,17,20,.72) 58%,rgba(15,17,20,.35) 100%)
}
.hero-in{position:relative;z-index:2;padding-block:clamp(56px,9vw,104px);display:flex;flex-direction:column;gap:22px}
.hero h1{max-width:17ch}
.cta-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
.btn{
  display:inline-flex;align-items:center;gap:9px;
  font-family:Archivo,sans-serif;font-weight:700;font-size:1rem;
  padding:14px 22px;border-radius:2px;text-decoration:none;border:1px solid transparent
}
.btn-gold{background:var(--gold);color:#14161A}
.btn-gold:hover{background:var(--gold-hi)}
.btn-ghost{border-color:var(--line);color:var(--text);background:transparent}
.btn-ghost:hover{border-color:var(--gold);color:var(--gold-hi)}

/* ---- spec strip: the trade's own units ---- */
.specs{background:var(--surface-2);border-block:1px solid var(--line)}
.specs-in{
  display:grid;gap:1px;background:var(--line);
  grid-template-columns:repeat(auto-fit,minmax(190px,1fr));
  padding:0;margin:0;list-style:none
}
.specs-in li{background:var(--surface-2);padding:22px var(--gut)}
.specs-in dt,.spec-k{
  font-family:"IBM Plex Mono",monospace;font-size:.68rem;letter-spacing:.15em;
  text-transform:uppercase;color:var(--muted);margin-bottom:7px
}
.spec-v{
  font-family:"IBM Plex Mono",monospace;font-size:1.22rem;font-weight:600;
  color:var(--gold);font-variant-numeric:tabular-nums
}
/* plain-English tiles: words, not spec-sheet figures */
.spec-v.plain{
  font-family:Archivo,"Helvetica Neue",Arial,sans-serif;font-size:1.06rem;
  font-weight:700;letter-spacing:-.01em;color:var(--gold);text-wrap:balance
}
.spec-v.plain + .spec-n{font-size:.9rem;line-height:1.5;color:#A8AFB9}
.spec-n{display:block;font-family:"IBM Plex Sans",sans-serif;font-size:.84rem;color:var(--muted);margin-top:5px;letter-spacing:0;text-transform:none}

/* ---- sections ---- */
section{padding-block:clamp(50px,7vw,86px)}
.sec-head{display:flex;flex-direction:column;gap:14px;margin-bottom:34px;max-width:62ch}

/* ---- service grid ---- */
.grid{display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(255px,1fr))}
/* fixed column counts so no card is ever left alone at the end of a row */
.grid-2{display:grid;gap:20px;grid-template-columns:1fr}
@media (min-width:700px){.grid-2{grid-template-columns:repeat(2,1fr)}}
.grid-3{display:grid;gap:20px;grid-template-columns:1fr}
@media (min-width:620px){.grid-3{grid-template-columns:repeat(2,1fr)}}
@media (min-width:940px){.grid-3{grid-template-columns:repeat(3,1fr)}}
.card{
  background:var(--surface);border:1px solid var(--line-soft);
  padding:26px 24px;display:flex;flex-direction:column;gap:11px;
  text-decoration:none;color:inherit
}
a.card:hover{border-color:var(--gold-dim);background:var(--surface-2)}
.card h3{color:var(--text)}
.card p{color:var(--muted);font-size:.95rem}
.card .more{
  margin-top:auto;padding-top:8px;color:var(--gold);font-size:.85rem;
  font-family:"IBM Plex Mono",monospace;letter-spacing:.06em
}

/* ---- split ---- */
.split{display:grid;gap:clamp(26px,4vw,52px);grid-template-columns:1fr;align-items:center}
@media (min-width:860px){.split{grid-template-columns:1.05fr .95fr}}
.split img{border:1px solid var(--line)}

/* ---- process: a real sequence ---- */
.steps{list-style:none;padding:0;margin:0;display:grid;gap:18px}
@media (min-width:760px){.steps{grid-template-columns:repeat(3,1fr)}}
.steps li{
  background:var(--surface);border-top:2px solid var(--gold);
  padding:22px 22px 24px;display:flex;flex-direction:column;gap:9px
}
.steps .n{
  font-family:"IBM Plex Mono",monospace;font-size:.72rem;letter-spacing:.16em;
  color:var(--gold);text-transform:uppercase
}
.steps p{color:var(--muted);font-size:.95rem}

/* ---- areas ---- */
.chips{display:flex;flex-wrap:wrap;gap:9px;padding:0;margin:0;list-style:none}
.chips a,.chips span{
  display:inline-block;border:1px solid var(--line);padding:7px 13px;
  font-size:.88rem;color:var(--muted);text-decoration:none;border-radius:2px
}
.chips a:hover{border-color:var(--gold-dim);color:var(--gold-hi)}

/* ---- quote form ---- */
.quote{background:var(--surface);border-top:1px solid var(--line)}
.quote-grid{display:grid;gap:clamp(26px,4vw,48px);grid-template-columns:1fr}
@media (min-width:880px){.quote-grid{grid-template-columns:1fr 1fr}}
form{display:flex;flex-direction:column;gap:15px}
/* block, not flex — otherwise the required asterisk becomes its own row */
label{display:block;font-size:.84rem;color:var(--muted)}
label input,label textarea{margin-top:6px}
.req{color:var(--gold)}
input,textarea{
  font:inherit;font-size:.98rem;color:var(--text);background:var(--ink);
  border:1px solid var(--line);border-radius:2px;padding:12px 13px;width:100%
}
input::placeholder,textarea::placeholder{color:#6E7681}
textarea{min-height:118px;resize:vertical}
.form-note{font-size:.84rem;color:var(--muted)}
.hp{position:absolute;left:-9999px}

/* ---- footer ---- */
.site-foot{border-top:1px solid var(--line-soft);background:var(--ink);padding-block:40px 34px;font-size:.92rem}
.foot-cols{display:grid;gap:28px 40px;grid-template-columns:1fr}
@media (min-width:700px){.foot-cols{grid-template-columns:repeat(3,1fr)}}
.foot-h{
  font-family:"IBM Plex Mono",monospace;font-size:.7rem;font-weight:500;
  letter-spacing:.16em;text-transform:uppercase;color:var(--muted);
  margin:0 0 12px
}
.foot-links{display:flex;flex-direction:column;gap:8px;align-items:flex-start}
.site-foot a{color:#BFC4CB;text-decoration:none}
.site-foot a:hover{color:var(--gold-hi)}
.foot-tel{font-family:"IBM Plex Mono",monospace;color:var(--gold)!important;font-weight:600}
.foot-quiet{color:#6E7681;font-size:.85rem}
.foot-meta{
  color:#6E7681;font-size:.82rem;margin:30px 0 0;
  padding-top:20px;border-top:1px solid var(--line-soft)
}

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