:root {
  --navy: #a54812;
  --navy-deep: #71320f;
  --green: #c45b16;
  --green-deep: #9f4310;
  --gold: #f0ad18;
  --gold-pale: #ffd45a;
  --paper: #fff8e7;
  --paper-light: #fffdf5;
  --ink: #382513;
  --muted: #78624a;
  --line: #ead7b0;
}

@media (max-width: 1199px) {
  .header {
    box-sizing: border-box;
    min-height: 82px;
    border-top: 3px solid var(--navy);
    background: var(--paper);
    padding: 0 clamp(18px, 4vw, 40px);
  }

  .brand {
    gap: 10px;
  }

  .brand img {
    width: 54px;
    height: 48px;
    object-fit: contain;
    mix-blend-mode: multiply;
  }

  .brand-copy b {
    color: var(--ink);
    font-size: 12px;
    letter-spacing: 0.5px;
  }

  .brand-copy small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 1.5px;
  }

  .menu-toggle {
    color: var(--ink);
  }

  .nav {
    box-sizing: border-box;
    background: var(--paper);
    padding: 12px clamp(18px, 4vw, 40px) 24px;
  }

  .nav-link {
    position: relative;
    color: var(--ink);
    font-size: 15px;
    font-weight: 500;
  }

  .nav-link[aria-current="page"] {
    color: var(--green);
  }

  .nav-link[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--green);
    content: "";
  }

  .nav .nav-cta {
    display: flex !important;
    width: 100%;
    min-height: 58px;
    align-items: center;
    justify-content: space-between;
    margin: 12px 0 0;
    padding: 14px 18px;
    background: var(--green-deep);
    font-size: 14px;
    font-weight: 600;
  }
}

@media (max-width: 767px) {
  .header {
    min-height: 70px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 48px;
    height: 42px;
  }

  .brand-copy b {
    font-size: 11px;
    letter-spacing: 0.4px;
  }

  .brand-copy small {
    margin-top: 2px;
    font-size: 8px;
    letter-spacing: 1.2px;
  }
}

@media (min-width: 1200px) {
  .header {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    min-height: 118px;
    border-top: 3px solid var(--navy);
    padding: 0 clamp(32px, 7.5vw, 135px) 0 clamp(32px, 6.9vw, 124px);
    background: var(--paper);
  }

  .brand {
    position: relative;
    flex: 0 0 350px;
    height: 80px;
    padding-left: 0;
    gap: 12px;
  }

  .brand img {
    position: static;
    width: 74px;
    height: 50px;
    object-fit: contain;
    opacity: 1;
    mix-blend-mode: multiply;
  }

  .brand::before,
  .brand::after {
    display: none;
  }

  .brand-copy b {
    color: var(--ink);
    font-size: 18px;
    letter-spacing: 0.5px;
  }

  .brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 2px;
  }

  .nav {
    flex: 0 0 auto;
    justify-content: flex-start;
    gap: clamp(20px, 2.1vw, 38px);
    margin: 0 0 0 auto;
  }

  .nav-link {
    position: relative;
    padding: 10px 0;
    color: var(--ink);
    font-size: 18px;
    font-weight: 500;
    white-space: nowrap;
  }

  .nav-link[aria-current="page"] {
    color: var(--green);
  }

  .nav-link[aria-current="page"]::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: var(--green);
    content: "";
  }

  .nav .nav-cta {
    display: flex !important;
    margin-left: 80px;
    flex: 0 0 216px;
    width: 216px;
    height: 81px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 3px;
    padding: 14px 24px;
    background: var(--green-deep);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
  }

  .nav .nav-cta svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 1024px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  .hero,
  .intro-strip,
  .home-areas,
  .home-image-story,
  .home-trust,
  .cta-band,
  .footer,
  .mission-section,
  .responsibility,
  .values-section,
  .contact-page,
  .buying-section,
  .faq-layout,
  .page-intro {
    padding-left: 0;
    padding-right: 0;
  }

  .intro-grid,
  .home-image-story,
  .home-trust,
  .cta-band,
  .footer-main,
  .mission-grid,
  .responsibility-inner,
  .buying-grid,
  .partnership-grid,
  .contact-layout,
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .areas-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .cta-band {
    flex-direction: column;
    align-items: flex-start;
  }

  .cta-actions {
    width: 100%;
    align-items: stretch;
  }

  .cta-band .button {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 767px) {
  .wrap {
    width: min(100% - 22px, 1160px);
  }

  .hero {
    min-height: 440px;
    height: auto;
    padding: 34px 0 22px;
  }

  .hero h1 {
    font-size: clamp(38px, 14vw, 58px);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .areas-grid {
    grid-template-columns: 1fr;
  }

  .area-card,
  .area-card + .area-card {
    padding: 22px 0;
    border-left: 0;
    min-height: auto;
  }

  .story-img,
  .story-panel {
    min-height: 260px;
  }

  .story-panel {
    padding: 40px 20px;
  }

  .home-trust {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .cta-band {
    padding: 42px 20px;
  }

  .footer {
    padding: 42px 20px 18px;
  }

  .footer-main {
    gap: 26px;
    padding-bottom: 30px;
  }

  .topline-right {
    display: none !important;
  }

  .brand-copy small {
    letter-spacing: 0.1em;
  }

  .service-row {
    display: block;
  }

  .service-contact {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 520px) {
  .nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  .header {
    padding-left: 16px;
    padding-right: 16px;
  }

  .brand-copy b {
    font-size: 10px;
  }

  .brand-copy small {
    font-size: 7px;
  }

  .button {
    font-size: 11px;
    padding-left: 14px;
    padding-right: 14px;
  }
}

.hero-photo {
  background-image: url("/images/hero-mining.png");
  background-position: center center;
}

.story-img {
  background-image: url("/images/illustrative-gold-and-diamonds.png");
  background-position: center center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(52, 27, 8, 0.9), rgba(72, 37, 8, 0.58) 43%, rgba(16, 37, 49, 0.08)),
    linear-gradient(0deg, rgba(52, 27, 8, 0.48), transparent 36%);
}

@media (max-width: 767px) {
  .hero-photo {
    background-position: 65% center;
  }
}
