/* ===================================================================
   Brisbane Container Kings — industrial-premium identity
   Navy + gold, drawn from the logo. Corrugated-steel motif,
   corner-casting section markers, container-stack scroll reveals.
   =================================================================== */

:root{
  --navy:      #0d0d0d;   /* true black (brand) */
  --navy-2:    #161616;   /* raised panel */
  --navy-3:    #232323;   /* lighter panel hover */
  --ink:       #141414;   /* near-black text on light */
  --steel:     #5f5f5f;   /* neutral grey */
  --steel-lt:  #9a9a9a;
  --gold:      #e0b252;   /* brand gold */
  --gold-lt:   #fbbc34;   /* bright gold accent */
  --gold-dk:   #b8892a;   /* deeper gold for text-on-light */
  --paper:     #f6f4ee;   /* warm off-white */
  --paper-2:   #ece8de;
  --line:      rgba(20,20,20,.12);
  --line-d:    rgba(224,178,82,.18);   /* gold-tinted divider on dark */

  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --wrap: 1180px;
  --gap: clamp(1.5rem, 4vw, 4rem);
  --radius: 3px;

  --ease: cubic-bezier(.16,.84,.44,1);
}

/* ---------- reset ---------- */
*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; -webkit-text-size-adjust:100%; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--paper);
  line-height:1.6;
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
}
img{ display:block; max-width:100%; height:auto; }
a{ color:inherit; text-decoration:none; }
button{ font:inherit; cursor:pointer; }

.wrap{ width:100%; max-width:var(--wrap); margin-inline:auto; padding-inline:clamp(1.2rem,4vw,2rem); }

.skip-link{
  position:absolute; left:-999px; top:0; z-index:200;
  background:var(--gold); color:var(--navy); padding:.6rem 1rem; font-weight:700;
}
.skip-link:focus{ left:1rem; top:1rem; }

.gold{ color:var(--gold); }

/* ---------- eyebrow ---------- */
.eyebrow{
  font-family:var(--font-display);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.22em;
  font-size:.72rem;
  color:var(--steel);
  display:inline-flex; align-items:center; gap:.6rem;
}
.eyebrow::before{
  content:""; width:26px; height:2px; background:var(--gold); display:inline-block;
}
.eyebrow.gold{ color:var(--gold-lt); }

/* ---------- buttons ---------- */
.btn{
  --pad-y:.9rem; --pad-x:1.5rem;
  display:inline-flex; align-items:center; justify-content:center; gap:.5rem;
  font-family:var(--font-display); font-weight:700; font-size:.95rem;
  letter-spacing:.02em;
  padding:var(--pad-y) var(--pad-x);
  border:2px solid transparent; border-radius:var(--radius);
  transition:transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  will-change:transform;
}
.btn:active{ transform:translateY(1px); }
.btn-gold{ background:var(--gold); color:var(--navy); }
.btn-gold:hover{ background:var(--gold-lt); transform:translateY(-2px); }
.btn-ghost{ border-color:rgba(255,255,255,.55); color:#fff; }
.btn-ghost:hover{ border-color:#fff; background:rgba(255,255,255,.08); transform:translateY(-2px); }
.btn-block{ width:100%; }

/* ===================================================================
   HEADER
   =================================================================== */
.site-header{
  position:fixed; inset:0 0 auto 0; z-index:100;
  transition:background .35s var(--ease), box-shadow .35s, padding .35s;
  padding:.5rem 0;
}
.site-header.scrolled{
  background:rgba(13,13,13,.95);
  backdrop-filter:saturate(140%) blur(8px);
  box-shadow:0 1px 0 var(--line-d);
  border-bottom:1px solid rgba(224,178,82,.28);
}
.header-inner{ display:flex; align-items:center; justify-content:space-between; gap:2rem; }
.brand-logo{ height:62px; width:auto; transition:height .35s var(--ease);
  filter:drop-shadow(0 2px 10px rgba(0,0,0,.5)); }
.site-header.scrolled .brand-logo{ height:50px; }

.main-nav{ display:flex; align-items:center; gap:2rem; }
.main-nav a{
  font-family:var(--font-display); font-weight:600; font-size:.95rem;
  color:#fff; letter-spacing:.01em; position:relative; padding:.3rem 0;
  text-shadow:0 1px 4px rgba(0,0,0,.5);
}
.main-nav a:not(.nav-cta)::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background:var(--gold); transition:width .3s var(--ease);
}
.main-nav a:not(.nav-cta):hover::after{ width:100%; }
.nav-cta{
  background:var(--gold); color:var(--navy)!important; padding:.55rem 1.1rem;
  border-radius:var(--radius); text-shadow:none!important;
  transition:background .25s, transform .25s;
}
.nav-cta:hover{ background:var(--gold-lt); transform:translateY(-1px); }

.nav-toggle{ display:none; flex-direction:column; gap:5px; background:none; border:0; padding:.4rem; }
.nav-toggle span{ width:26px; height:2px; background:#fff; transition:.3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1){ transform:translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2){ opacity:0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3){ transform:translateY(-7px) rotate(-45deg); }

.mobile-nav{
  display:none; flex-direction:column;
  background:var(--navy); border-top:1px solid var(--line-d);
  max-height:0; overflow:hidden; transition:max-height .4s var(--ease);
}
.mobile-nav.open{ max-height:400px; }
.mobile-nav a{ padding:1rem clamp(1.2rem,4vw,2rem); color:#fff; font-family:var(--font-display); font-weight:600; border-bottom:1px solid var(--line-d); }
.mobile-nav .nav-cta{ background:var(--gold); color:var(--navy)!important; margin:1rem; border-radius:var(--radius); text-align:center; }

/* ===================================================================
   HERO
   =================================================================== */
.hero{ position:relative; min-height:100svh; display:flex; align-items:flex-end;
  padding-bottom:clamp(3rem,8vh,6rem); overflow:hidden; }
.hero-media{ position:absolute; inset:0; z-index:-2; }
.hero-media img{ width:100%; height:100%; object-fit:cover; object-position:center 60%; }
.hero-scrim{
  position:absolute; inset:0;
  background:
    linear-gradient(180deg, rgba(13,13,13,.6) 0%, rgba(13,13,13,.25) 35%, rgba(13,13,13,.9) 100%),
    linear-gradient(90deg, rgba(13,13,13,.75) 0%, rgba(13,13,13,0) 60%);
}
.hero-content{ position:relative; }
.hero h1{
  font-family:var(--font-display); font-weight:900; color:#fff;
  font-size:clamp(2.6rem, 7vw, 5.4rem); line-height:.98; letter-spacing:-.02em;
  margin:1.1rem 0 1.4rem; text-shadow:0 2px 20px rgba(0,0,0,.4);
}
.hero-lead{ color:rgba(255,255,255,.92); font-size:clamp(1.05rem,1.6vw,1.28rem);
  max-width:44ch; margin-bottom:2rem; text-shadow:0 1px 10px rgba(0,0,0,.5); }
.hero-actions{ display:flex; gap:1rem; flex-wrap:wrap; }

/* corrugated-steel corner casting motif, bottom-right */
.hero-corner{
  position:absolute; right:0; bottom:0; width:min(38vw,420px); height:14px;
  background:repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 28px);
  opacity:.9;
}

/* ===================================================================
   TRUST STRIP
   =================================================================== */
.strip{ background:var(--navy); color:#fff; }
.strip-inner{ display:grid; grid-template-columns:repeat(4,1fr);
  gap:1px; background:var(--line-d); }
.strip-item{ background:var(--navy); padding:2.4rem 1.5rem; text-align:center;
  display:flex; flex-direction:column; gap:.4rem; }
.strip-num, .strip-plain{
  font-family:var(--font-display); font-weight:800; color:var(--gold);
  font-size:clamp(2rem,4vw,3rem); line-height:1;
}
.strip-num::after{ content:"+"; color:var(--gold); }
.strip-label{ font-size:.9rem; color:var(--steel-lt); letter-spacing:.01em; }

/* ===================================================================
   SECTIONS (shared)
   =================================================================== */
.section{ padding:clamp(4rem,9vw,7.5rem) 0; }
.section-head{ max-width:62ch; margin-bottom:clamp(2.5rem,5vw,4rem); }
.section-head h2{
  font-family:var(--font-display); font-weight:800; color:var(--ink);
  font-size:clamp(1.9rem,4vw,3rem); line-height:1.05; letter-spacing:-.02em;
  margin:1rem 0 .8rem;
}
.section-lead{ color:var(--steel); font-size:1.1rem; max-width:52ch; }

/* ---------- services ---------- */
.services{ background:var(--paper); }
.service-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px;
  background:var(--line); border:1px solid var(--line); }
.service-card{ background:var(--paper); padding:clamp(1.8rem,3vw,2.6rem);
  transition:background .3s, transform .3s var(--ease); position:relative; }
.service-card:hover{ background:#fff; }
.service-index{
  font-family:var(--font-display); font-weight:800; font-size:.85rem;
  color:var(--gold); letter-spacing:.1em; margin-bottom:1.2rem;
}
.service-card h3{ font-family:var(--font-display); font-weight:700; font-size:1.3rem;
  color:var(--ink); margin-bottom:.6rem; }
.service-card p{ color:var(--steel); font-size:.98rem; }
.service-card::after{
  content:""; position:absolute; left:0; top:0; width:3px; height:0;
  background:var(--gold); transition:height .35s var(--ease);
}
.service-card:hover::after{ height:100%; }

/* ---------- work / gallery ---------- */
.work{ background:var(--navy); color:#fff; }
.work .section-head h2{ color:#fff; }
.gallery{
  display:grid; grid-template-columns:repeat(3,1fr);
  grid-auto-rows:260px; gap:12px;
  width:100%; max-width:var(--wrap); margin:2.5rem auto 0;
  padding-inline:clamp(1.2rem,4vw,2rem);
}
.g-item{ position:relative; overflow:hidden; border-radius:var(--radius);
  background:var(--navy-2); }
.g-tall{ grid-row:span 2; }
.g-item img{ width:100%; height:100%; object-fit:cover;
  transition:transform .7s var(--ease); }
.g-item:hover img{ transform:scale(1.06); }
.g-item figcaption{
  position:absolute; inset:auto 0 0 0; padding:1.4rem 1.2rem .95rem;
  background:linear-gradient(0deg, rgba(13,13,13,.94), transparent);
  font-size:.92rem; color:rgba(255,255,255,.88);
}
.g-item figcaption span{ display:block; font-family:var(--font-display);
  font-weight:700; color:var(--gold); font-size:.75rem; text-transform:uppercase;
  letter-spacing:.14em; margin-bottom:.25rem; }

/* ---------- services in detail ---------- */
.catalogue{ background:var(--paper); }
.detail-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1.4rem; }
.detail-card{ background:#fff; border:1px solid var(--line); border-radius:var(--radius);
  overflow:hidden; display:flex; flex-direction:column;
  transition:transform .3s var(--ease), box-shadow .3s; }
.detail-card:hover{ transform:translateY(-4px);
  box-shadow:0 22px 44px -24px rgba(13,13,13,.5); }
.detail-media{ aspect-ratio:16/10; overflow:hidden; background:var(--paper-2); position:relative; }
.detail-media::after{ content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, transparent 55%, rgba(13,13,13,.18)); }
.detail-media img{ width:100%; height:100%; object-fit:cover;
  transition:transform .6s var(--ease); }
.detail-card:hover .detail-media img{ transform:scale(1.06); }
.detail-body{ padding:1.4rem 1.5rem 1.6rem; display:flex; flex-direction:column; gap:.55rem;
  border-top:3px solid var(--gold); }
.detail-body h3{ font-family:var(--font-display); font-weight:700; font-size:1.22rem;
  color:var(--ink); line-height:1.15; }
.detail-body p{ color:var(--steel); font-size:.95rem; }
.detail-body strong{ color:var(--ink); font-weight:700; }
.catalogue-cta{ margin-top:3rem; text-align:center; display:flex; flex-direction:column;
  align-items:center; gap:1rem; }
.catalogue-cta p{ font-family:var(--font-display); font-weight:600; font-size:1.2rem; color:var(--ink); }

/* ---------- process ---------- */
.process{ background:var(--paper-2); }
.steps{ list-style:none; display:grid; grid-template-columns:repeat(4,1fr);
  gap:clamp(1.2rem,2.5vw,2rem); counter-reset:step; }
.step{ position:relative; padding-top:1.8rem; }
.step::before{ content:""; position:absolute; top:0; left:0; right:0; height:3px;
  background:var(--line); }
.step::after{ content:""; position:absolute; top:0; left:0; width:0; height:3px;
  background:var(--gold); transition:width .6s var(--ease); }
.step.in::after{ width:56px; }
.step-marker{ font-family:var(--font-display); font-weight:800;
  font-size:2.4rem; color:var(--navy); opacity:.16; line-height:1; margin-bottom:.6rem; }
.step h3{ font-family:var(--font-display); font-weight:700; font-size:1.2rem;
  color:var(--ink); margin-bottom:.5rem; }
.step p{ color:var(--steel); font-size:.96rem; }

/* ---------- about ---------- */
.about{ background:var(--paper); }
.about-grid{ display:grid; grid-template-columns:.9fr 1.1fr; gap:clamp(2rem,5vw,4.5rem);
  align-items:center; }
.about-media{ position:relative; }
.about-media img{ width:100%; border-radius:var(--radius);
  box-shadow:0 30px 60px -30px rgba(13,13,13,.55); }
.about-media::before{ content:""; position:absolute; inset:-14px auto auto -14px;
  width:70px; height:70px; border-top:3px solid var(--gold); border-left:3px solid var(--gold); }
.about-media::after{ content:""; position:absolute; inset:auto -14px -14px auto;
  width:70px; height:70px; border-bottom:3px solid var(--gold); border-right:3px solid var(--gold); }
.about-copy h2{ font-family:var(--font-display); font-weight:800;
  font-size:clamp(1.9rem,4vw,2.8rem); line-height:1.05; letter-spacing:-.02em;
  margin:1rem 0 1.2rem; }
.about-copy p{ color:var(--steel); margin-bottom:1rem; font-size:1.04rem; }
.tick-list{ list-style:none; margin-top:1.5rem; display:grid; gap:.7rem; }
.tick-list li{ position:relative; padding-left:2rem; color:var(--ink); font-weight:500; }
.tick-list li::before{ content:""; position:absolute; left:0; top:.15em;
  width:18px; height:18px; border-radius:2px; background:var(--gold);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/72% no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/%3E%3C/svg%3E") center/72% no-repeat; }

/* ---------- quote ---------- */
.quote{ background:var(--navy); color:#fff; position:relative; }
.quote::before{ content:""; position:absolute; inset:0 0 auto 0; height:12px;
  background:repeating-linear-gradient(90deg, var(--gold) 0 14px, transparent 14px 28px); opacity:.85; }
.quote-grid{ display:grid; grid-template-columns:1fr 1.05fr; gap:clamp(2rem,5vw,4.5rem); align-items:start; }
.quote-intro h2{ font-family:var(--font-display); font-weight:800; color:#fff;
  font-size:clamp(1.9rem,4vw,2.9rem); line-height:1.05; letter-spacing:-.02em; margin:1rem 0 1rem; }
.quote-intro p{ color:var(--steel-lt); font-size:1.06rem; max-width:44ch; }
.quote-contact{ margin-top:2.2rem; display:grid; gap:1.2rem; }
.qc-item{ display:block; padding:1rem 1.2rem; background:var(--navy-2);
  border-left:3px solid var(--gold); border-radius:2px; transition:background .25s; }
a.qc-item:hover{ background:var(--navy-3); }
.qc-label{ display:block; font-family:var(--font-display); font-weight:700;
  font-size:.7rem; text-transform:uppercase; letter-spacing:.16em; color:var(--gold); margin-bottom:.25rem; }
.qc-value{ color:#fff; font-size:1.02rem; word-break:break-word; }

.quote-form-wrap{ background:var(--paper); border-radius:var(--radius);
  padding:clamp(1.6rem,3vw,2.6rem); box-shadow:0 30px 70px -30px rgba(0,0,0,.6); }
.field{ margin-bottom:1.1rem; }
.field-row{ display:grid; grid-template-columns:1fr 1fr; gap:1rem; }
.field label{ display:block; font-family:var(--font-display); font-weight:600;
  font-size:.85rem; color:var(--ink); margin-bottom:.4rem; letter-spacing:.01em; }
.field input, .field select, .field textarea{
  width:100%; padding:.85rem .9rem; border:1.5px solid var(--line);
  border-radius:2px; background:#fff; color:var(--ink); font:inherit;
  transition:border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none; border-color:var(--gold);
  box-shadow:0 0 0 3px rgba(201,161,90,.2);
}
.field textarea{ resize:vertical; }
.form-note{ margin-top:.9rem; font-size:.92rem; font-weight:600; min-height:1.2em; }
.form-note.ok{ color:#2e7d4f; }
.form-note.err{ color:#c0392b; }

/* ===================================================================
   LOCATION MAP
   =================================================================== */
.map-section{ background:var(--navy); color:#fff; }
.map-intro{ padding:clamp(3rem,6vw,4.5rem) 0 2.5rem; }
.map-intro-inner{ display:grid; grid-template-columns:1.3fr 1fr; gap:2.5rem;
  align-items:end; }
.map-intro h2{ font-family:var(--font-display); font-weight:800; color:#fff;
  font-size:clamp(1.8rem,4vw,2.7rem); line-height:1.05; margin:1rem 0 .8rem; }
.map-intro p{ color:var(--steel-lt); max-width:46ch; }
.map-address{ display:grid; gap:.9rem; }
.map-addr-link{ display:block; padding:.9rem 1.1rem; background:var(--navy-2);
  border-left:3px solid var(--gold); border-radius:2px; transition:background .25s; }
.map-addr-link:hover{ background:var(--navy-3); }
.map-embed{ line-height:0; filter:grayscale(.2) contrast(1.05); }
.map-embed iframe{ display:block; width:100%; }

/* ===================================================================
   FOOTER
   =================================================================== */
.site-footer{ background:#0a0a0a; color:#fff; padding:clamp(3rem,6vw,4.5rem) 0 2rem;
  border-top:2px solid var(--gold); }
.footer-inner{ display:grid; grid-template-columns:1.4fr 1fr 1.2fr; gap:2.5rem;
  padding-bottom:2.5rem; border-bottom:1px solid var(--line-d); }
.footer-logo{ height:72px; width:auto; margin-bottom:1rem;
  filter:drop-shadow(0 2px 8px rgba(0,0,0,.5)); }
.footer-brand p{ color:var(--steel-lt); max-width:34ch; font-size:.96rem; }
.footer-nav{ display:flex; flex-direction:column; gap:.7rem; }
.footer-nav a{ color:rgba(255,255,255,.82); font-family:var(--font-display);
  font-weight:600; font-size:.95rem; transition:color .2s; width:fit-content; }
.footer-nav a:hover{ color:var(--gold); }
.footer-contact{ display:flex; flex-direction:column; gap:.5rem; align-items:flex-start; }
.footer-contact .qc-label{ color:var(--gold); margin-bottom:.2rem; }
.footer-contact a{ color:#fff; font-size:1rem; word-break:break-word; }
.footer-contact a:hover{ color:var(--gold-lt); }
.footer-base{ display:flex; justify-content:space-between; align-items:center;
  gap:1rem; flex-wrap:wrap; padding-top:1.6rem; color:var(--steel-lt); font-size:.88rem; }

/* ===================================================================
   SCROLL REVEAL
   =================================================================== */
.reveal{ opacity:0; transform:translateY(26px);
  transition:opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in{ opacity:1; transform:none; }
@media (prefers-reduced-motion: reduce){
  .reveal{ opacity:1; transform:none; transition:none; }
  .g-item img, .btn{ transition:none; }
}

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width:960px){
  .main-nav{ display:none; }
  .nav-toggle{ display:flex; }
  .mobile-nav{ display:flex; }
  .site-header{ background:rgba(13,13,13,.95); backdrop-filter:blur(8px); }
  .service-grid{ grid-template-columns:repeat(2,1fr); }
  .detail-grid{ grid-template-columns:repeat(2,1fr); }
  .strip-inner{ grid-template-columns:repeat(2,1fr); }
  .steps{ grid-template-columns:repeat(2,1fr); }
  .about-grid{ grid-template-columns:1fr; }
  .about-media{ order:-1; max-width:520px; }
  .quote-grid{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:repeat(2,1fr); grid-auto-rows:220px; }
  .footer-inner{ grid-template-columns:1fr 1fr; }
  .map-intro-inner{ grid-template-columns:1fr; gap:1.6rem; align-items:start; }
}
@media (max-width:600px){
  .service-grid{ grid-template-columns:1fr; }
  .detail-grid{ grid-template-columns:1fr; }
  .strip-inner{ grid-template-columns:1fr 1fr; }
  .steps{ grid-template-columns:1fr; }
  .field-row{ grid-template-columns:1fr; }
  .gallery{ grid-template-columns:1fr; grid-auto-rows:240px; }
  .g-tall{ grid-row:span 1; }
  .footer-inner{ grid-template-columns:1fr; }
  .hero{ min-height:92svh; }
}
