/* Macro Group of Companies — design tokens from brand card */
:root {
  --color-black: #1a1a1a;
  --color-gold: #c88a3a;
  --color-gold-dark: #a66f2a;
  --color-white: #ffffff;
  --color-muted: rgba(255, 255, 255, 0.82);
  --color-navy: #1e2a3a;
  --font-serif: "Cormorant Garamond", "Georgia", serif;
  --font-sans: "Source Sans 3", system-ui, sans-serif;
  --radius: 6px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--color-navy);
  background: var(--color-white);
}

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

a {
  color: var(--color-gold-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--color-black);
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 0.75rem 1rem;
  background: var(--color-gold);
  color: var(--color-black);
  font-weight: 600;
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(200, 138, 58, 0.25);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.logo-svg {
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1.1;
}

.logo-text .m {
  color: var(--color-gold);
}

.logo-text .acro {
  color: var(--color-white);
}

.logo-sub {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 0.2rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(200, 138, 58, 0.5);
  color: var(--color-white);
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  cursor: pointer;
}

.nav-toggle:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 2px;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
  align-items: center;
}

.site-nav a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--color-gold);
}

@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--color-black);
    border-bottom: 1px solid rgba(200, 138, 58, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 420px;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0.75rem;
  }

  .header-inner {
    flex-wrap: wrap;
  }
}

/* Ribbon-style buttons (brand) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.15s;
}

.btn:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.btn-primary {
  background: linear-gradient(180deg, #d49a4a 0%, var(--color-gold) 45%, var(--color-gold-dark) 100%);
  color: var(--color-black);
  box-shadow: 0 4px 14px rgba(200, 138, 58, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-gold);
}

.btn-outline:hover {
  background: rgba(200, 138, 58, 0.12);
}

.btn-dark {
  background: var(--color-black);
  color: var(--color-white);
}

.btn-dark:hover {
  background: #2a2a2a;
}

/* Hero */
.hero {
  background: var(--color-black);
  color: var(--color-white);
  padding: 4rem 1.25rem 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -15%;
  width: 55%;
  max-width: 520px;
  aspect-ratio: 1;
  border: 2px solid rgba(200, 138, 58, 0.15);
  border-radius: 50%;
  pointer-events: none;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 4.5vw, 3.15rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 18ch;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--color-muted);
  max-width: 52ch;
  margin: 0 0 1.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-bottom: 2rem;
}

.hero-sectors {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.02em;
}

.hero-sectors strong {
  color: var(--color-gold);
  font-weight: 600;
}

.hero.hero-split {
  padding: 0;
}

.hero-split {
  padding-bottom: 0;
}

.hero-split h1 {
  max-width: none;
}

.hero-split .hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: 2rem 2.5rem;
  align-items: center;
  max-width: 1180px;
  margin: 0 auto;
  padding: 3rem 1.25rem 2rem;
}

.hero-copy {
  min-width: 0;
}

.hero-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(200, 138, 58, 0.35);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: min(70vh, 520px);
}

@media (max-width: 900px) {
  .hero-split .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-visual img {
    max-height: 360px;
  }
}

/* Original brochure-style illustrations (SVG, Macro branding only) */
.brochure-figure {
  margin: 0 0 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(200, 138, 58, 0.28);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.08);
  background: var(--color-white);
}

.brochure-figure--light {
  border-color: #e0dbd2;
}

.brochure-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.brochure-figure .presence-map-svg {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: top;
}

/* Steel & supply — real photography strip */
.steel-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-bottom: 0.35rem;
  align-items: stretch;
}

.steel-photo-card {
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.steel-photo-card img {
  max-height: min(42vh, 400px);
  object-fit: cover;
  width: 100%;
}

.steel-photo-caption {
  margin: 0;
  padding: 0.65rem 0.9rem 0.85rem;
  font-size: 0.82rem;
  color: #444;
  line-height: 1.45;
  background: #faf8f5;
  flex: 1;
}

.steel-photo-credit {
  font-size: 0.78rem;
  color: #666;
  margin: 0 0 1.75rem;
  max-width: 90ch;
}

.steel-photo-credit a {
  color: var(--color-gold-dark);
}

@media (max-width: 800px) {
  .steel-photo-grid {
    grid-template-columns: 1fr;
  }
}

.stat-strip {
  background: linear-gradient(90deg, #141414 0%, #1f1a14 50%, #141414 100%);
  border-top: 1px solid rgba(200, 138, 58, 0.25);
  border-bottom: 1px solid rgba(200, 138, 58, 0.2);
  margin-top: 0;
}

.stat-strip-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 1.35rem 1.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stat-item {
  color: var(--color-white);
}

.stat-num {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .stat-strip-inner {
    grid-template-columns: 1fr;
  }
}

/* Steel & supply */
.supply-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.supply-card {
  background: var(--color-white);
  border: 1px solid #e8e4de;
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  border-top: 3px solid var(--color-gold);
}

.supply-card h2,
.supply-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
  color: var(--color-black);
}

.supply-list {
  margin: 0;
  padding-left: 1.15rem;
  color: #444;
  font-size: 0.96rem;
}

.supply-list li {
  margin-bottom: 0.45rem;
}

.supply-lead {
  margin: 0;
  font-size: 0.96rem;
  color: #444;
}

.spec-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.spec-tag {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: #f0ebe4;
  border: 1px solid #ddd5cb;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-navy);
}

.supply-footnote {
  font-size: 0.9rem;
  color: #555;
  max-width: 75ch;
  margin: 0;
  padding: 1rem 1.1rem;
  background: #faf8f5;
  border-left: 3px solid var(--color-gold);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* MNC-style corporate web directory */
.mnc-directory {
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid #e0dbd2;
}

.mnc-directory-title {
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  margin: 0 0 0.5rem;
  color: var(--color-black);
}

.mnc-directory-intro {
  margin: 0 0 1.5rem;
  max-width: 72ch;
  color: #444;
  font-size: 0.98rem;
}

.mnc-table-wrap {
  overflow-x: auto;
  border: 1px solid #e0dbd2;
  border-radius: var(--radius);
  background: var(--color-white);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.05);
}

.mnc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.mnc-table th,
.mnc-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid #ece8e2;
}

.mnc-table th {
  background: #faf8f5;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.mnc-table tbody tr:last-child td {
  border-bottom: none;
}

.mnc-table tbody tr:hover {
  background: #fdfcfa;
}

.mnc-table td:nth-child(3) {
  white-space: nowrap;
}

@media (max-width: 720px) {
  .mnc-table td:nth-child(3) {
    white-space: normal;
  }
}

.mnc-tag {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.12rem 0.45rem;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  background: rgba(200, 138, 58, 0.12);
  border-radius: 3px;
  vertical-align: middle;
}

.mnc-link {
  display: inline-block;
  margin-right: 0.75rem;
  font-weight: 600;
  color: var(--color-navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 138, 58, 0.45);
}

.mnc-link:hover {
  color: var(--color-gold-dark);
  border-bottom-color: var(--color-gold);
}

.mnc-visit {
  display: inline-block;
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--color-black);
  background: linear-gradient(180deg, #d49a4a 0%, var(--color-gold) 50%, var(--color-gold-dark) 100%);
  border-radius: 3px;
}

.mnc-visit:hover {
  filter: brightness(1.05);
}

.mnc-footnote {
  margin: 1.25rem 0 0;
  font-size: 0.86rem;
  color: #555;
  max-width: 75ch;
}

/* Sections */
.section {
  padding: 4rem 1.25rem;
}

.section-alt {
  background: #f7f6f4;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.section-head {
  margin-bottom: 2rem;
}

.section-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0 0 0.5rem;
}

.section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  font-weight: 700;
  color: var(--color-black);
  margin: 0;
  line-height: 1.2;
}

.section-intro {
  margin: 0.75rem 0 0;
  max-width: 65ch;
  color: #444;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.profile-card {
  background: var(--color-white);
  border: 1px solid rgba(200, 138, 58, 0.35);
  border-radius: var(--radius);
  padding: 1.5rem 1.75rem;
  box-shadow: var(--shadow);
}

.profile-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin: 0 0 0.25rem;
  color: var(--color-black);
}

.profile-role {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gold-dark);
  margin: 0 0 1rem;
}

/* Companies grid */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
}

.company-card {
  background: var(--color-white);
  border: 1px solid #e8e4de;
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  border-top: 3px solid var(--color-gold);
}

.company-card h2,
.company-card h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--color-black);
  line-height: 1.3;
}

.company-card .loc {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.65rem;
}

.company-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #4a4a4a;
}

/* Industries */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.industry-pill {
  display: inline-block;
  padding: 0.45rem 0.95rem;
  background: var(--color-white);
  border: 1px solid #ddd5cb;
  border-radius: 2px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy);
}

.section-alt .industry-pill {
  background: var(--color-white);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.service-card {
  padding: 1.25rem;
  background: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid #e5e0d8;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.service-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

/* Why */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .usp-grid {
    grid-template-columns: 1fr;
  }
}

.usp-card {
  padding: 1.5rem;
  background: linear-gradient(165deg, #252525 0%, var(--color-black) 100%);
  color: var(--color-white);
  border-radius: var(--radius);
  border: 1px solid rgba(200, 138, 58, 0.25);
}

.usp-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin: 0 0 0.5rem;
  color: var(--color-gold);
}

.usp-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* Contact */
.contact-section {
  background: var(--color-black);
  color: var(--color-white);
}

.contact-section .section-kicker {
  color: var(--color-gold);
}

.contact-section h2 {
  color: var(--color-white);
}

.contact-section .section-intro {
  color: rgba(255, 255, 255, 0.75);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 800px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-details p {
  margin: 0 0 0.75rem;
  color: var(--color-muted);
}

.contact-details a {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #444;
  border-radius: var(--radius);
  background: #242424;
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--color-gold);
  outline-offset: 1px;
  border-color: var(--color-gold);
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.form-actions {
  margin-top: 0.25rem;
}

.contact-form .form-footnote {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 1rem;
}

/* Footer */
.site-footer {
  background: #111;
  color: rgba(255, 255, 255, 0.65);
  padding: 2.5rem 1.25rem;
  font-size: 0.88rem;
}

.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.footer-meta {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
}

.footer-nav {
  margin: 0.65rem 0 1rem;
  line-height: 1.8;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  margin: 0 0.2rem;
}

.footer-nav a:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

/* Inner page hero (subpages) */
.page-hero {
  background: #f7f6f4;
  padding: 2.75rem 1.25rem 2.5rem;
  border-bottom: 1px solid #e8e4de;
}

.page-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.5vw, 2.65rem);
  font-weight: 700;
  color: var(--color-black);
  margin: 0 0 0.65rem;
  line-height: 1.15;
}

.page-hero-lead {
  margin: 0;
  max-width: 62ch;
  font-size: 1.05rem;
  color: #444;
  line-height: 1.6;
}

.page-hero--dark {
  background: var(--color-black);
  border-bottom: 1px solid rgba(200, 138, 58, 0.25);
}

.page-hero--dark h1 {
  color: var(--color-white);
}

.page-hero--dark .section-kicker {
  color: var(--color-gold);
}

.page-hero-lead--on-dark {
  color: rgba(255, 255, 255, 0.82);
}

.page-hero-lead--on-dark a {
  color: var(--color-gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 138, 58, 0.45);
}

.page-hero-lead--on-dark a:hover {
  color: #e0b87a;
}

/* Home teaser cards */
.home-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.home-card {
  background: var(--color-white);
  border: 1px solid #e8e4de;
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  border-top: 3px solid var(--color-gold);
}

.home-card h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  margin: 0 0 0.5rem;
}

.home-card h3 a {
  color: var(--color-black);
  text-decoration: none;
}

.home-card h3 a:hover {
  color: var(--color-gold-dark);
}

.home-card p {
  margin: 0;
  font-size: 0.95rem;
  color: #444;
}

.home-cta-bottom {
  margin: 2rem 0 0;
  text-align: center;
}

.sector-cta {
  margin-top: 2rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
}
