@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ==========================================
   GLOBAL SETTINGS
========================================== */

:root {
    --ink: #17191c;
    --dark: #111316;
    --dark-soft: #1a1d20;
    --muted: #65696f;
    --gold: #c58b3d;
    --gold-light: #e4b66e;
    --pale: #f5f3ef;
    --white: #ffffff;
    --border: #dedbd5;
}

* {
    box-sizing: border-box;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font: 16px/1.7 'DM Sans', Arial, sans-serif;
    overflow-x: hidden;
}

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

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

h1,
h2,
h3 {
    font-family: 'Manrope', Arial, sans-serif;
}

h1 {
    font-size: clamp(40px, 6vw, 74px);
    line-height: 1.12;
    letter-spacing: -2px;
    margin: 22px 0;
}

h2 {
    line-height: 1.2;
}

em {
    color: var(--gold-light);
    font-style: normal;
}

label {
    display: inline-block;
}

/* ==========================================
   HEADER AND NAVIGATION
========================================== */

header {
    width: 100%;
    min-height: 86px;
    height: auto;
    padding: 8px 7%;
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    position: relative;
    z-index: 100;
}

.header-brand {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

header img {
    width: 82px;
    height: 74px;
    object-fit: contain;
}

nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(16px, 2.5vw, 30px);
    color: #eee;
    font-size: 13px;
}

nav a {
    transition: color .2s ease;
}

nav a:hover,
nav a.active {
    color: var(--gold-light);
}

.menu {
    display: none;
    border: 0;
    background: transparent;
    color: var(--white);
    font-size: 27px;
    cursor: pointer;
    padding: 7px;
}

/* ==========================================
   HOMEPAGE HERO
========================================== */

.hero {
    width: 100%;
    height: 680px;
    min-height: 560px;
    position: relative;
    background: var(--dark);
    overflow: hidden;
}

.slides,
.slide,
.shade {
    position: absolute;
    inset: 0;
}

.slide {
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.shade {
    background: linear-gradient(
        90deg,
        #090b0d e8,
        #090b0d88 55%,
        #090b0d22
    );
    background: linear-gradient(
        90deg,
        rgba(9,11,13,.91),
        rgba(9,11,13,.53) 55%,
        rgba(9,11,13,.13)
    );
}

.hero-text {
    position: relative;
    z-index: 2;
    max-width: 920px;
    padding: 135px 10%;
    color: var(--white);
}

.hero-text label,
.pagehero label,
.section > label,
.two label,
.band label,
.sector label,
.commodities-heading label {
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.hero-text p {
    max-width: 560px;
    margin-bottom: 30px;
    color: #ddd;
    font-size: 17px;
    line-height: 1.8;
}

.dots {
    position: absolute;
    z-index: 3;
    bottom: 35px;
    left: 10%;
    display: flex;
    gap: 9px;
}

.dots button {
    width: 26px;
    height: 3px;
    padding: 0;
    border: 0;
    background: #ffffff70;
    cursor: pointer;
}

.dots button.active {
    background: #d7a65d;
}

/* ==========================================
   BUTTONS
========================================== */

.btn {
    display: inline-block;
    padding: 13px 22px;
    background: var(--gold);
    color: var(--ink);
    font-size: 12px;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

.btn:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}

.btn.light {
    background: var(--gold-light);
}

/* ==========================================
   GENERAL CONTENT SECTIONS
========================================== */

.section {
    width: 100%;
    padding: 90px 10%;
}

.section p {
    color: var(--muted);
}

.pale {
    background: var(--pale);
}

.two {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: start;
    gap: 9%;
}

.section h2,
.two h2 {
    margin: 15px 0 22px;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.2;
    letter-spacing: -1px;
}

.two p {
    margin-top: 0;
}

.two a {
    font-weight: 700;
    font-size: 14px;
}

.two a:hover {
    color: var(--gold);
}

/* ==========================================
   DARK AND LIGHT BANDS
========================================== */

.band {
    width: 100%;
    padding: 65px 10%;
    background: var(--dark-soft);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 35px;
}

.band p {
    color: #c5c5c5;
    max-width: 650px;
}

.band h2 {
    margin: 10px 0;
    font-size: clamp(27px, 3.5vw, 40px);
}

.band.pale {
    background: var(--pale);
    color: var(--ink);
}

.band.pale p {
    color: var(--muted);
}

/* ==========================================
   CONTENT CARDS
========================================== */

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 35px;
}

.cards article {
    min-width: 0;
    padding: 25px;
    border: 1px solid var(--border);
}

.cards h3 {
    margin: 0 0 10px;
    font-size: 19px;
}

.cards p {
    font-size: 14px;
}

.cards.services {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.services article {
    padding: 20px 5px;
    border: 0;
    border-top: 2px solid var(--gold);
}

/* ==========================================
   INNER PAGE HERO
========================================== */

.pagehero {
    width: 100%;
    min-height: 420px;
    padding: 110px 10%;
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--white);
}

.pagehero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(17,19,22,.88),
        rgba(17,19,22,.55) 60%,
        rgba(17,19,22,.15)
    );
}

.pagehero > * {
    position: relative;
    z-index: 1;
}

.pagehero-content {
    max-width: 800px;
}

.pagehero-content p {
    max-width: 570px;
    color: #ddd;
    line-height: 1.8;
}

.pagehero h1 {
    font-size: clamp(40px, 6vw, 66px);
}

.about {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1800&q=85');
}

.services {
    background-image: url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1800&q=85');
}

.sectors {
    background-image: url('https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1800&q=85');
}

.contact {
    background-image: url('https://images.unsplash.com/photo-1497366811353-6870744d04b2?auto=format&fit=crop&w=1800&q=85');
}

/* ==========================================
   SECTORS PAGE
========================================== */

.sectors-intro {
    padding-top: 75px;
    padding-bottom: 75px;
}

.lead {
    max-width: 780px;
    margin-bottom: 45px;
    font-size: 17px;
    line-height: 1.9;
}

.sector {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8%;
    margin: 70px 0;
}

.sector.reverse .photo {
    order: 2;
}

.sector-content {
    min-width: 0;
}

.sector h2 {
    margin: 12px 0 18px;
    font-size: 34px;
}

.sector p {
    line-height: 1.9;
}

.photo {
    width: 100%;
    height: 320px;
    background-size: cover;
    background-position: center;
}

.commodities {
    background-image: url('https://images.unsplash.com/photo-1518544801976-3e159e50e5bb?auto=format&fit=crop&w=1000&q=85');
}

.supply {
    background-image: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1000&q=85');
}

.mining {
    background-image: url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=1000&q=85');
}

/* ==========================================
   MINERALS AND COMMODITIES
========================================== */

.commodities-section {
    width: 100%;
    padding: 85px 10%;
    background: #15191d;
    color: var(--white);
}

.commodities-inner {
    width: 100%;
    max-width: 1120px;
    margin: 0 auto;
}

.commodities-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.commodities-heading h2 {
    margin: 15px 0 20px;
    font-size: clamp(32px, 5vw, 46px);
    line-height: 1.2;
}

.commodities-heading p {
    color: #b9bec3;
    font-size: 15px;
    line-height: 1.9;
}

.commodities-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.commodity-item {
    min-width: 0;
    min-height: 115px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.13);
    background: rgba(255,255,255,.035);
    transition: border-color .25s ease, background .25s ease;
}

.commodity-item:hover {
    border-color: var(--gold);
    background: rgba(196,154,90,.08);
}

.commodity-item span {
    color: var(--gold);
    font-size: 10px;
    letter-spacing: 1.5px;
}

.commodity-item h3 {
    margin: 12px 0 0;
    color: var(--white);
    font-size: 19px;
    font-weight: 600;
}

.commodities-note {
    max-width: 760px;
    margin-top: 30px;
    color: #858d94;
    font-size: 12px;
    line-height: 1.9;
}

/* ==========================================
   CONTACT DETAILS
========================================== */

.details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px 45px;
    margin-top: 25px;
}

.details p,
.contactbox p {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ddd;
    overflow-wrap: anywhere;
}

.details b,
.contactbox b {
    color: var(--gold);
    font-size: 11px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.contactbox {
    min-width: 0;
    padding: 30px;
    background: var(--pale);
    overflow-wrap: anywhere;
}

.contactbox p {
    color: var(--ink);
}

.contactbox a {
    overflow-wrap: anywhere;
}

/* ==========================================
   FOOTER
========================================== */

footer {
    width: 100%;
    padding: 42px 8% 22px;
    background: var(--dark);
    color: #ddd;
}

.footer-brand {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.footer-logo {
    display: flex;
    flex: 0 0 170px;
    width: 170px;
    height: 170px;
    align-items: center;
    justify-content: center;
}

.footer-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-description {
    max-width: 470px;
}

.footer-description h3 {
    margin: 0 0 10px;
    color: var(--white);
    font-size: 21px;
    line-height: 1.4;
}

.footer-description p {
    margin: 0;
    color: #aaa;
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 18px;
    border-top: 1px solid #ffffff25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 25px;
    flex-wrap: wrap;
}

.footer-bottom small {
    display: block;
    color: #858585;
    font-size: 11px;
    line-height: 1.8;
}

.footer-credit {
    display: block;
    color: #777;
    font-size: 10px;
    letter-spacing: .2px;
    line-height: 1.8;
}

.footer-credit a {
    color: #aaa;
    text-decoration: none;
    transition: color .2s ease;
}

.footer-credit a:hover {
    color: var(--gold-light);
}

/* ==========================================
   TABLET RESPONSIVENESS
========================================== */

@media (max-width: 900px) {

    header {
        padding-left: 5%;
        padding-right: 5%;
    }

    nav {
        gap: 16px;
        font-size: 12px;
    }

    .two {
        gap: 35px;
    }

    .cards,
    .cards.services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sector {
        gap: 30px;
    }

    .commodities-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .footer-logo {
        flex-basis: 150px;
        width: 150px;
        height: 150px;
    }
}

/* ==========================================
   MOBILE RESPONSIVENESS
========================================== */

@media (max-width: 700px) {

    /* HEADER */

    header {
        min-height: 72px;
        padding: 5px 18px;
        justify-content: space-between;
    }

    header img {
        width: 70px;
        height: 64px;
    }

    .menu {
        display: block;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        padding: 14px 24px 22px;
        background: var(--dark);
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 0;
        box-shadow: 0 12px 18px #0003;
    }

    nav.open {
        display: flex;
    }

    nav a {
        display: block;
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid #ffffff18;
        font-size: 14px;
    }

    /* HOMEPAGE HERO */

    .hero {
        height: auto;
        min-height: 570px;
    }

    .hero-text {
        max-width: 100%;
        padding: 125px 25px 110px;
    }

    .hero-text h1 {
        font-size: clamp(36px, 10vw, 48px);
        line-height: 1.12;
        letter-spacing: -1.5px;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 1.8;
    }

    .dots {
        left: 25px;
        bottom: 25px;
    }

    /* GENERAL SECTIONS */

    .section {
        padding: 55px 23px;
    }

    .section h2,
    .two h2 {
        font-size: clamp(28px, 8vw, 36px);
    }

    .two,
    .sector {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .cards,
    .cards.services {
        grid-template-columns: minmax(0, 1fr);
        gap: 14px;
    }

    .cards article {
        padding: 22px;
    }

    /* BANDS */

    .band {
        padding: 48px 23px;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .band h2 {
        font-size: 29px;
        line-height: 1.25;
    }

    /* INNER PAGE HERO */

    .pagehero {
        min-height: 340px;
        padding: 85px 23px;
    }

    .pagehero h1 {
        font-size: clamp(35px, 9vw, 45px);
        line-height: 1.15;
        letter-spacing: -1px;
    }

    .pagehero-content p {
        font-size: 14px;
    }

    /* SECTORS */

    .sectors-intro {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .sector {
        margin: 45px 0;
    }

    .sector.reverse .photo {
        order: 0;
    }

    .photo {
        width: 100%;
        height: 230px;
    }

    .sector h2 {
        font-size: 29px;
    }

    /* COMMODITIES */

    .commodities-section {
        padding: 58px 23px;
    }

    .commodities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .commodity-item {
        min-height: 95px;
        padding: 16px;
    }

    .commodity-item h3 {
        font-size: 16px;
    }

    /* CONTACT */

    .details {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
    }

    .contactbox {
        padding: 23px;
    }

    /* FOOTER */

    footer {
        padding: 30px 22px 20px;
    }

    .footer-brand {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
        margin-bottom: 25px;
    }

    .footer-logo {
        flex: none;
        width: 165px;
        height: 165px;
    }

    .footer-description {
        max-width: 340px;
    }

    .footer-description h3 {
        font-size: 19px;
    }

    .footer-description p {
        font-size: 13px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}

/* ==========================================
   SMALL MOBILE SCREENS
========================================== */

@media (max-width: 380px) {

    .hero-text {
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-text h1 {
        font-size: 35px;
    }

    .pagehero h1 {
        font-size: 34px;
    }

    .commodities-grid {
        grid-template-columns: 1fr;
    }

    .footer-logo {
        width: 150px;
        height: 150px;
    }

}
