
.odour-hub{--gold:#b8913a;--ink:#0b0b0b;--paper:#f5f2ec;--line:#cdbb8f;background:#fff;color:#0b0b0b}
.odour-hub .nav-links .active{color:#f5b528}

.odour-hub section{padding:44px 0}
.odour-hub .section-line{display:flex;align-items:center;gap:8px;margin-bottom:48px}
.odour-hub .section-line:before{content:"";width:20px;height:1px;background:var(--gold)}
.odour-hub .section-line:after{content:"";height:1px;background:#cdbb8f;flex:1}
.odour-hub .section-line span{text-transform:uppercase;font-size:14px;font-weight:800;letter-spacing:.03em;text-underline-offset:3px;color: #fff;}

.hub-hero{height:clamp(520px,48vw,100vh);padding:0!important;position:relative;overflow:hidden;color:#fff;background:#061321}
.hub-hero-image{position:absolute;inset:0;background:url("../img/banner3.jpg") center center/cover no-repeat}
.hub-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(3,15,27,.96) 0%,rgba(3,15,27,.84) 34%,rgba(3,15,27,.18) 70%,rgba(3,15,27,.05) 100%)}
.hub-hero-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:center}
.hub-hero .kicker{margin:0 0 20px;color:#c59628;text-transform:uppercase;font-size:14px;font-weight:800}
.hub-hero h1{font-size:clamp(3rem,5.2vw,62px);line-height:1.16;letter-spacing:-.03em;margin:0 0 28px;max-width:760px;text-transform: uppercase;}
.hub-hero h1 span{color:#fff}
.hero-copy{font-size:16px;line-height:1.55;color:#e4e9ee;max-width:440px;margin:0 0 28px}
.hero-link{display:inline-flex;align-items:center;gap:10px;width:max-content;color:#fff;text-decoration:none;font-size:14px}
.hero-link span{width:25px;height:25px;border:1px solid #fff;border-radius:50%;display:grid;place-items:center}

/* ==========================================================
   Application Matrix — 3 application cards
   ========================================================== */
.odour-hub .matrix-section {
    --mx-ease: cubic-bezier(.2, .75, .25, 1);
    --mx-gold: #b8800f;
    background: #f5f2ec;
    padding: clamp(40px, 4.4vw, 58px) 0 clamp(52px, 7.5vw, 100px);
    overflow: hidden;
}
.odour-hub .matrix-section .wrap { width: min(90%, 1300px); }

/* label: gold stub · text between two gold rules · long tan rule */
.odour-hub .matrix-section .section-line {
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0 0 clamp(22px, 2.6vw, 32px);
    font-family: "Roboto", "Outfit", sans-serif;
}
.odour-hub .matrix-section .section-line:before { content: ""; flex: none; width: clamp(18px, 2.6vw, 26px); height: 1px; background: var(--mx-gold); transform-origin: left center; }
.odour-hub .matrix-section .section-line:after { content: ""; flex: 1; height: 1px; background: #b9ad98; transform-origin: left center; }
.odour-hub .matrix-section .section-line span {
    padding: 7px 0;
    text-transform: uppercase;
    font-size: clamp(11.5px, 1.2vw, 14px);
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
    text-decoration: none;
    color: #0b0b0b;
    background:
        linear-gradient(var(--mx-gold), var(--mx-gold)) left top / 100% 1px no-repeat,
        linear-gradient(var(--mx-gold), var(--mx-gold)) left bottom / 100% 1px no-repeat;
}

.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: clamp(20px, 4.2vw, 60px);
    row-gap: 0;
    align-items: stretch;
}
.matrix-card {
    display: flex;
    flex-direction: column;
    position: relative;
    min-width: 0;
    padding: clamp(24px, 2.8vw, 34px) clamp(16px, 1.75vw, 24px) clamp(22px, 2.5vw, 34px);
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(60, 45, 20, .07), 0 0 0 1px rgba(60, 45, 20, .03);
    font-family: "Outfit", "Afacad", sans-serif;
    color: #0b0b0b;
    transition: transform .45s var(--mx-ease), box-shadow .45s var(--mx-ease);
}
/* rows (kicker / heading / copy) line up across the three cards */
@media (min-width: 901px) {
    @supports (grid-template-rows: subgrid) {
        .matrix-card { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
    }
}
.matrix-card sub { font-size: .62em; line-height: 0; vertical-align: -.2em; }

.matrix-card .card-kicker {
    margin: 0 0 clamp(16px, 1.9vw, 22px);
    font-family: "Roboto", "Outfit", sans-serif;
    font-size: clamp(11px, 1.08vw, 13.5px);
    font-weight: 700;
    letter-spacing: .015em;
    line-height: 1.3;
    text-transform: uppercase;
    color: var(--mx-gold);
}
.matrix-card h2 {
    margin: 0 0 clamp(14px, 1.7vw, 20px);
    font-family: "Gothic A1 Local", "Gothic A1", sans-serif;
    font-size: clamp(17px, 1.75vw, 25px);
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: uppercase;
    text-wrap: balance;
    color: #070707;
}
.matrix-card .card-copy {
    max-width: 21em;
    margin: 0 0 clamp(14px, 1.7vw, 20px);
    font-size: clamp(11px, 1.06vw, 14px);
    font-weight: 400;
    line-height: 1.5;
    color: #1d1d1d;
}
.card-tail { display: flex; flex-direction: column; gap: clamp(10px, 1.2vw, 14px); min-height: 0; }

.card-media {
    margin: 0;
    overflow: hidden;
    border-radius: 6px;
    background: #f1ece3;
}
.card-media img {
    display: block;
    width: 100%;
    height: auto;
    transform: translate3d(0, var(--ip, 0px), 0) scale(1.1);
    transition: scale .9s var(--mx-ease);
}
.matrix-card .card-note {
    margin: 0;
    font-size: clamp(11px, 1.02vw, 13.5px);
    line-height: 1.45;
    color: #1d1d1d;
}

/* divider + call to action — pinned to the bottom so all three cards end on the same line */
.card-link {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding-top: clamp(11px, 1.2vw, 14px);
    min-height: calc(clamp(11px, 1.2vw, 14px) + 2.9em);
    text-decoration: none;
    font-size: clamp(11px, 1.02vw, 13.5px);
    line-height: 1.45;
    color: #111;
    transition: color .3s;
}
.card-link:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: #8d877d;
    transform-origin: left center;
    transition: background .3s;
}
.card-link .arrow { flex: none; width: 12px; height: 12px; margin-top: .22em; transition: transform .35s var(--mx-ease); }

@media (hover: hover) {
    .matrix-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(60, 45, 20, .16), 0 0 0 1px rgba(184, 128, 15, .35); }
    .matrix-card:hover .card-media img { scale: 1.06; }
    .card-link:hover { color: var(--mx-gold); }
    .card-link:hover:before { background: var(--mx-gold); }
    .card-link:hover .arrow { transform: translate(3px, -3px); }
}
.matrix-card:focus-within { box-shadow: 0 0 0 2px rgba(184, 128, 15, .55), 0 10px 28px rgba(60, 45, 20, .12); }
.card-link:focus-visible { outline: 2px solid var(--mx-gold); outline-offset: 4px; border-radius: 3px; }

/* ---- entrance animation (classes added by the inline script; nothing is hidden without JS) ---- */
@keyframes mxCard { from { opacity: 0; transform: translateY(54px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes mxUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@keyframes mxLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes mxWipe { from { clip-path: inset(0 100% 0 0 round 6px); } to { clip-path: inset(0 0 0 0 round 6px); } }
@keyframes mxZoom { from { scale: 1.28; } to { scale: 1; } }
@keyframes mxArrow { from { opacity: 0; transform: translate(-8px, 8px); } to { opacity: 1; transform: none; } }
@keyframes mxRule { from { background-size: 0 1px, 0 1px; } to { background-size: 100% 1px, 100% 1px; } }
@keyframes mxFade { from { opacity: 0; } to { opacity: 1; } }

.mx-anim .section-line:not(.mx-in):before,
.mx-anim .section-line:not(.mx-in):after { transform: scaleX(0); }
.mx-anim .section-line:not(.mx-in) span { opacity: 0; background-size: 0 1px, 0 1px; }
.mx-anim .section-line.mx-in:before { animation: mxLine .6s var(--mx-ease) backwards; }
.mx-anim .section-line.mx-in span { animation: mxFade .6s var(--mx-ease) .15s backwards, mxRule .9s var(--mx-ease) .15s backwards; }
.mx-anim .section-line.mx-in:after { animation: mxLine 1.3s var(--mx-ease) .45s backwards; }

.mx-anim .matrix-card:not(.mx-in) { opacity: 0; }
.mx-anim .matrix-card.mx-in { animation: mxCard .95s var(--mx-ease) var(--d, 0s) backwards; }
.mx-anim .matrix-card.mx-in .card-kicker { animation: mxUp .7s var(--mx-ease) calc(var(--d, 0s) + .3s) backwards; }
.mx-anim .matrix-card.mx-in h2 { animation: mxUp .8s var(--mx-ease) calc(var(--d, 0s) + .4s) backwards; }
.mx-anim .matrix-card.mx-in .card-copy { animation: mxUp .8s var(--mx-ease) calc(var(--d, 0s) + .52s) backwards; }
.mx-anim .matrix-card.mx-in .card-media { animation: mxWipe 1.1s var(--mx-ease) calc(var(--d, 0s) + .6s) backwards; }
.mx-anim .matrix-card.mx-in .card-media img { animation: mxZoom 1.6s var(--mx-ease) calc(var(--d, 0s) + .6s) backwards; }
.mx-anim .matrix-card.mx-in .card-note { animation: mxUp .7s var(--mx-ease) calc(var(--d, 0s) + .95s) backwards; }
.mx-anim .matrix-card.mx-in .card-link:before { animation: mxLine .9s var(--mx-ease) calc(var(--d, 0s) + 1s) backwards; }
.mx-anim .matrix-card.mx-in .card-link span { animation: mxFade .7s var(--mx-ease) calc(var(--d, 0s) + 1.1s) backwards; }
.mx-anim .matrix-card.mx-in .card-link .arrow { animation: mxArrow .7s var(--mx-ease) calc(var(--d, 0s) + 1.2s) backwards; }
.mx-anim .matrix-card.mx-skip, .mx-anim .matrix-card.mx-skip * { animation: none !important; }

@media (prefers-reduced-motion: reduce) {
    .matrix-card, .card-media img, .card-link .arrow { transition: none; }
    .card-media img { transform: scale(1.1); }
}
@media print {
    .mx-anim .matrix-card, .mx-anim .section-line span { opacity: 1 !important; }
    .mx-anim .matrix-card * , .mx-anim .section-line * { animation: none !important; }
}

/* ---- Application Matrix: tablet + mobile ---- */
@media (max-width: 900px) {
    .odour-hub .matrix-section .wrap { width: calc(100% - 48px); }
    .matrix-grid { grid-template-columns: minmax(0, 1fr); row-gap: 20px; }
    .matrix-card { padding: 28px 24px 24px; }
    .matrix-card .card-kicker { font-size: 12.5px; margin-bottom: 14px; }
    .matrix-card h2 { font-size: clamp(21px, 3.4vw, 26px); }
    .matrix-card .card-copy { max-width: 36em; font-size: 14.5px; }
    .matrix-card .card-note, .card-link { font-size: 14px; }
    .card-link { min-height: 0; }
    .card-tail { gap: 14px; }
    .card-media img { height: clamp(118px, 30vw, 240px); object-fit: cover; object-position: 100% 50%; }
}
/* tablet: text on the left, picture + call to action on the right (keeps the small artwork sharp) */
@media (min-width: 601px) and (max-width: 900px) {
    .matrix-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 42%); grid-template-rows: auto auto auto 1fr; column-gap: 32px; align-items: start; }
    .matrix-card > .card-kicker, .matrix-card > h2, .matrix-card > .card-copy { grid-column: 1; }
    .matrix-card > .card-tail { grid-column: 2; grid-row: 1 / -1; align-self: stretch; }
    .card-media img { height: auto; }
}
@media (max-width: 600px) {
    .odour-hub .matrix-section .wrap { width: calc(100% - 36px); }
    .odour-hub .matrix-section .section-line:after { min-width: 24px; }
    .matrix-card { padding: 24px 18px 20px; }
    .matrix-card h2 { font-size: 21px; }
}
@media (max-width: 360px) {
    .matrix-card h2 { font-size: 19.5px; }
}

.utility-kicker{margin:0 0 24px;color:#b58318;font-size:13px;font-weight:800;text-transform:uppercase}
.utility-card h2,.contact-grid h2{font-family:"Gothic A1 Local","Gothic A1",sans-serif;font-weight:900;letter-spacing:-.025em}
.text-link{display:flex;align-items:center;justify-content:space-between;color:#111;text-decoration:none;font-size:14px;padding:12px 0;border-top:1px solid #aaa49a}
.text-link b{font-size:14px;font-weight:400}

.utilities-section{background:#030303;padding-top:42px;padding-bottom:50px}
.utility-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.utility-card{background: #0b0b0b;border: 1px solid #292929;padding:30px 28px;min-height:270px;display:flex;flex-direction:column}
.utility-kicker{color:#fff;font-size:12px;margin-bottom:28px}
.utility-card h2{font-size:28px;line-height:1.12;margin:0 0 18px;color: #fff;text-transform: uppercase;}
.utility-card>p:not(.utility-kicker){font-size:14px;line-height:1.45;max-width:520px;color:#fff;margin:0 0 22px}
.gold-button{display:inline-flex;background:#bf850d;color:#fff;text-transform:uppercase;text-decoration:none;border-radius:4px;padding:13px 20px;font-size:11px;font-weight:800;letter-spacing:.03em;align-self:flex-start;margin-top:auto;min-width:315px;justify-content:center}

.contact-section{background:#f7f4ef;padding:60px 0}
.contact-grid{display:grid;grid-template-columns:1fr 1.35fr;gap:70px;align-items:center}
.contact-grid h2{font-size:31px;line-height:1.1;margin:0 0 28px}
.contact-grid p{font-size:14px;line-height:1.5;max-width:440px;color:#403c36;margin:0 0 22px}
.contact-link{justify-content:flex-start;width:max-content;border-top:0;border-bottom:1px solid var(--gold);padding:7px 0;text-transform:uppercase;font-size:10px}
.contact-image{height:180px;overflow:hidden;border-radius:6px}
.contact-image img{width:100%;height:100%;object-fit:cover;object-position:center}

.odour-hub footer{background:#050505;color:#aaa;padding:52px 0 45px}
.odour-hub footer .footer-grid{grid-template-columns:1.5fr repeat(5,1fr);gap:34px}
.odour-hub footer .footer-grid h4{color:#b8913a}
.odour-hub footer .footer-grid a{color:#aaa;font-size:14px}
.odour-hub footer .footer-brand p{font-size:14px;line-height:1.5}
.odour-hub footer .brand img{max-width:145px}
.odour-hub footer .social{display:flex!important;gap:8px}
.odour-hub footer .social a{margin:0}
.odour-hub footer .social a img{width:20px;height:20px}

@media(max-width:900px){
  .utility-grid,.contact-grid{grid-template-columns:1fr}
  .contact-grid{gap:30px}
  .contact-image{height:240px}
}
@media(max-width:850px){
  .hub-hero{height:620px}
  .hub-hero-overlay{background:linear-gradient(90deg,rgba(3,15,27,.93),rgba(3,15,27,.68))}
  .hub-hero h1{font-size:42px}
  .gold-button{min-width:0;width:100%}
  .odour-hub footer .footer-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:600px){
  .odour-hub section{padding:38px 0}
  .hub-hero{height:600px}
  .hub-hero h1{font-size:36px}
  .hub-hero-image{background-position:60% center}
  .utility-card{padding:24px 20px}
  .utility-card h2{font-size:24px}
  .odour-hub footer .footer-grid{grid-template-columns:1fr}
}
