/**
 * UCFER public overlay — mid-tier Australian professional-services layout.
 * Structure and rhythm only. No third-party copy, logo, colours or assets.
 * UCFER brand: monochrome-first, Archivo grotesk, navy CTA optional.
 * Type is self-hosted (SIL OFL) under assets/fonts/ — do not load Google Fonts.
 */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../assets/fonts/archivo-latin-wght-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../assets/fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
}

:root {
  --wb-ink: #111111;
  --wb-paper: #f3f1ec;
  --wb-muted: #5a5a5a;
  --wb-line: #d8d5ce;
  --wb-cta: #1a1a1a;
  --wb-cta-text: #f7f4ee;
  --wb-display: "Archivo", system-ui, sans-serif;
  --wb-body: "Source Sans 3", system-ui, sans-serif;
}

html.ucfer-wb-clone,
html.ucfer-wb-clone body {
  background: var(--wb-paper);
  color: var(--wb-ink);
  font-family: var(--wb-body);
}

html.ucfer-wb-clone h1,
html.ucfer-wb-clone h2,
html.ucfer-wb-clone h3,
html.ucfer-wb-clone .hero-title-edgy,
html.ucfer-wb-clone .section-title,
html.ucfer-wb-clone .section-title-centered {
  font-family: var(--wb-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--wb-ink);
}

/* Header: firm bar + text nav + Enquire */
html.ucfer-wb-clone .trust-strip {
  background: var(--wb-ink);
  color: var(--wb-paper);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

html.ucfer-wb-clone .header {
  background: var(--wb-paper);
  border-bottom: 1px solid var(--wb-line);
}

html.ucfer-wb-clone .header .ucfer-logo-image {
  height: 56px !important;
}

html.ucfer-wb-clone .header.scrolled .ucfer-logo-image {
  height: 48px !important;
}

html.ucfer-wb-clone .nav-menu a {
  color: var(--wb-ink);
  font-weight: 600;
  text-decoration: none;
  text-transform: none;
}

html.ucfer-wb-clone .nav-enquire {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  background: var(--wb-cta);
  color: var(--wb-cta-text) !important;
  font-weight: 700;
  text-decoration: none !important;
  letter-spacing: 0.02em;
}

html.ucfer-wb-clone .nav-enquire:hover {
  background: #2a2a2a;
}

html.ucfer-wb-clone .cart-icon-wrapper {
  display: none !important;
}

/* Full-bleed campaign hero — one composition */
.wb-hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #f7f4ee;
}

.wb-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.wb-hero-shade {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.62);
}

.wb-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  padding: clamp(5.5rem, 12vw, 8rem) clamp(1.25rem, 5vw, 4.5rem) clamp(2.5rem, 6vw, 4.5rem);
}

.wb-kicker {
  margin: 0 0 0.75rem;
  font-family: var(--wb-display);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.wb-hero-copy h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.25rem, 5.5vw, 4.15rem);
  line-height: 1.05;
  color: #f7f4ee;
}

.wb-hero-copy p {
  margin: 0 0 1.75rem;
  font-size: 1.125rem;
  line-height: 1.5;
  max-width: 36rem;
  color: rgba(247, 244, 238, 0.92);
}

.wb-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.wb-hero-cta a {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.25rem;
  font-weight: 700;
  text-decoration: none !important;
}

.wb-hero-cta a:first-child {
  background: #f7f4ee;
  color: var(--wb-ink) !important;
}

.wb-hero-cta a:last-child {
  border: 1px solid rgba(247, 244, 238, 0.7);
  color: #f7f4ee !important;
}

/* Editorial service list (not emoji cards) */
.wb-services {
  padding: clamp(3.5rem, 7vw, 5.5rem) 0;
  background: #fff;
}

.wb-services h2 {
  margin-bottom: 0.5rem;
}

.wb-service-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  border-top: 1px solid var(--wb-line);
}

.wb-service-list li {
  display: grid;
  grid-template-columns: minmax(10rem, 16rem) 1fr auto;
  gap: 1rem 2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--wb-line);
}

.wb-service-list a.wb-service-name {
  font-family: var(--wb-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--wb-ink) !important;
  text-decoration: none !important;
}

.wb-service-list p {
  margin: 0;
  color: var(--wb-muted);
}

.wb-service-list .wb-service-go {
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .wb-service-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  html.ucfer-wb-clone .header .ucfer-logo-image {
    height: 44px !important;
  }
}

/* Offices */
.wb-offices {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: var(--wb-ink);
  color: var(--wb-paper);
}

.wb-offices h2,
.wb-offices p,
.wb-offices a {
  color: var(--wb-paper);
}

.wb-offices-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.75rem;
  margin-top: 1.75rem;
}

.wb-offices-grid h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--wb-paper);
}

.wb-offices-grid p {
  margin: 0 0 0.35rem;
  color: rgba(247, 244, 238, 0.82);
}

/* Enquiry band */
.wb-enquire {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background: #fff;
  border-top: 1px solid var(--wb-line);
}

.wb-enquire .wb-enquire-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.wb-enquire h2 {
  margin: 0 0 0.35rem;
}

.wb-enquire p {
  margin: 0;
  color: var(--wb-muted);
  max-width: 36rem;
}

.wb-enquire a.wb-enquire-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.7rem 1.4rem;
  background: var(--wb-cta);
  color: var(--wb-cta-text) !important;
  font-weight: 700;
  text-decoration: none !important;
}

/* Insights: editorial, fewer tiles */
html.ucfer-wb-clone .articles-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

html.ucfer-wb-clone .articles-container .article-card-contained:nth-child(n + 4) {
  display: none;
}

@media (max-width: 900px) {
  html.ucfer-wb-clone .articles-container {
    grid-template-columns: 1fr;
  }
}

html.ucfer-wb-clone .article-card-contained {
  border: 0;
  box-shadow: none;
  background: transparent;
}

html.ucfer-wb-clone .article-image img {
  border-radius: 0;
}

/* Hide leftover ecommerce / v0 chrome on clone */
html.ucfer-wb-clone .service-price-badge,
html.ucfer-wb-clone .service-icon-modern {
  display: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .wb-hero-media {
    /* still image already; no extra motion */
  }
}
