/* TRIT Mines public site, v9.
   Visual language modelled on londonde.com: deep forest ground, pale mint
   breaks, gold as the only accent, a light high-contrast serif for display
   and letterspaced mono for labels. */

:root {
  --green:       #1c4435;
  --green-deep:  #123024;
  --green-soft:  #2a5a47;
  --mint:        #f0f5f1;
  --white:       #fefefe;
  --gold:        #c89766;
  --gold-pale:   #d8b188;
  --sage:        #8d9b92;
  --ink:         #0c0c0c;
  --rule:        rgba(28, 68, 53, .14);

  --serif: "Bodoni Moda", Didot, "Playfair Display", Georgia, "Times New Roman", serif;
  --sans:  "Helvetica Neue", Inter, Helvetica, Arial, sans-serif;
  --mono:  "Roboto Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --pad:   clamp(1.4rem, 5vw, 5rem);
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, h4, p, figure, ul, li { margin: 0; padding: 0; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

body.site {
  background: var(--white);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ------------------------------------------------------------ primitives */

.s-eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
}
.on-dark .s-eyebrow, .s-dark .s-eyebrow, .s-sec.dark .s-eyebrow { color: var(--gold); }

.s-display {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: -.005em;
  color: var(--green);
}
.s-dark .s-display, .on-dark .s-display, .s-sec.dark .s-display { color: var(--white); }

.s-d1 { font-size: clamp(2.5rem, 6.6vw, 5.2rem); }
.s-d2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.s-d3 { font-size: clamp(1.45rem, 2.8vw, 2.2rem); }
.s-d4 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.s-body { color: var(--sage); font-size: 1rem; line-height: 1.62; max-width: 38rem; }
.s-dark .s-body, .on-dark .s-body, .s-sec.dark .s-body { color: rgba(254, 254, 254, .72); }
.s-body + .s-body { margin-top: 1.1rem; }

.s-rule { height: 1px; background: var(--rule); width: 100%; }
.s-dark .s-rule, .on-dark .s-rule, .s-sec.dark .s-rule { background: rgba(254, 254, 254, .26); }

.s-btn {
  display: inline-block;
  border: 1.5px solid var(--gold);
  border-radius: 200px;
  padding: .66rem 1.4rem;
  color: var(--gold);
  background: transparent;
  font-family: var(--sans);
  font-size: .95rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: background .35s, color .35s;
}
.s-btn:hover { background: var(--gold); color: var(--white); }
.s-btn-solid { background: var(--gold); color: var(--white); }
.s-btn-solid:hover { background: var(--gold-pale); color: var(--white); }

.s-link {
  color: var(--gold);
  text-decoration: none;
  font-size: .95rem;
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.s-link:hover { border-bottom-color: var(--gold); }

/* --------------------------------------------------------------- header */

.s-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 40;
  padding: 1.8rem var(--pad) 1rem;
}
.s-head-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.s-mark { text-decoration: none; display: block; line-height: 1; }
.s-mark b {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.55rem;
  letter-spacing: .26em;
  color: var(--white);
}
.s-mark span {
  display: block;
  font-family: var(--sans);
  font-size: .62rem;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: rgba(254, 254, 254, .76);
  margin-top: .24rem;
}
.s-head.light .s-mark b { color: var(--green); }
.s-head.light .s-mark span { color: var(--green-soft); }

.s-nav { display: flex; align-items: center; gap: 2.1rem; }
.s-nav a {
  font-family: var(--sans);
  font-size: .82rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  opacity: .88;
  transition: opacity .3s, color .3s;
}
.s-nav a:hover, .s-nav a.on { opacity: 1; color: var(--gold); }
.s-head.light .s-nav a { color: var(--green); }

.s-menu-btn, .s-menu-box { display: none; }

/* ------------------------------------------------------------ mobile nav */

@media (max-width: 860px) {
  .s-nav {
    position: fixed; inset: 0; z-index: 50;
    background: var(--green-deep);
    flex-direction: column; align-items: flex-start; justify-content: center;
    gap: 1.6rem; padding: 0 var(--pad);
    transform: translateY(-100%);
    transition: transform .45s cubic-bezier(.5, 0, .2, 1);
  }
  .s-nav a { font-family: var(--serif); font-size: 1.9rem; letter-spacing: .02em; text-transform: none; color: var(--white); }
  .s-head.light .s-nav a { color: var(--white); }
  .s-menu-btn {
    display: block; position: relative; z-index: 60;
    font-family: var(--mono); font-size: .74rem; letter-spacing: .2em;
    text-transform: uppercase; color: var(--white); cursor: pointer;
    background: none; border: 0; padding: .4rem 0;
  }
  .s-head.light .s-menu-btn { color: var(--green); }
  .s-menu-btn .cl { display: none; }
  .s-menu-box:checked ~ .s-head-in .s-nav { transform: translateY(0); }
  .s-menu-box:checked ~ .s-head-in .s-menu-btn { color: var(--white); }
  .s-menu-box:checked ~ .s-head-in .s-mark { position: relative; z-index: 60; }
  .s-menu-box:checked ~ .s-head-in .s-menu-btn .op { display: none; }
  .s-menu-box:checked ~ .s-head-in .s-menu-btn .cl { display: inline; }
  .s-menu-box:checked ~ .s-head-in .s-mark b,
  .s-menu-box:checked ~ .s-head-in .s-mark span { color: var(--white); }
}

/* ----------------------------------------------------------------- hero */

.s-hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center; justify-content: center;
  padding: 9rem var(--pad) 5rem;
  background: var(--green-deep);
  overflow: hidden;
}
.s-hero-media { position: absolute; inset: 0; }
.s-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: contrast(1.06) saturate(.82); }
.s-hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 72% 58% at 50% 46%, rgba(18, 48, 36, .74) 0%, rgba(18, 48, 36, .26) 100%),
    linear-gradient(180deg, rgba(18, 48, 36, .82) 0%, rgba(18, 48, 36, .34) 34%, rgba(18, 48, 36, .48) 70%, rgba(18, 48, 36, .96) 100%);
}
.s-hero-body { position: relative; z-index: 2; text-align: center; max-width: 60rem; }
.s-hero-body .s-eyebrow { color: var(--gold); display: block; margin-bottom: 1.6rem; }
.s-hero-body h1 { color: var(--white); }
.s-hero-sub {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(1.05rem, 2.2vw, 1.7rem);
  line-height: 1.35; color: rgba(254, 254, 254, .9);
  margin: 1.1rem auto 0; max-width: 42rem;
}
.s-hero-cta { margin-top: 2.6rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; }

.s-page-head {
  background: var(--green-deep);
  padding: 11rem var(--pad) 5rem;
}
.s-page-head .s-eyebrow { color: var(--gold); display: block; margin-bottom: 1.3rem; }
.s-page-head h1 { color: var(--white); max-width: 22ch; }
.s-page-head .s-body { margin-top: 1.4rem; color: rgba(254, 254, 254, .74); }

/* -------------------------------------------------------------- sections */

.s-sec { padding: clamp(3.5rem, 8vw, 6.5rem) var(--pad); background: var(--white); }
.s-sec.mint { background: var(--mint); }
.s-sec.dark { background: var(--green); }

.s-split { display: flex; justify-content: space-between; gap: clamp(2rem, 6vw, 6rem); }
.s-split > .s-eyebrow { flex: 0 0 auto; padding-top: .55rem; }
.s-split-body { display: flex; flex-direction: column; align-items: flex-start; gap: 1.6rem; max-width: 36rem; }
@media (max-width: 860px) { .s-split { flex-direction: column; gap: 1.6rem; } }

/* ------------------------------------------------------------- marquee */

.s-marquee { background: var(--white); padding: 2.2rem 0; position: relative; overflow: hidden; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.s-marquee-track { display: flex; width: max-content; animation: s-slide 42s linear infinite; }
.s-marquee-track ul { display: flex; align-items: baseline; gap: 3.4rem; padding-right: 3.4rem; }
.s-marquee li {
  font-family: var(--serif); font-size: 1.5rem; color: var(--gold);
  white-space: nowrap; letter-spacing: .04em;
}
.s-marquee li i { font-style: normal; font-family: var(--sans); font-size: .68rem; letter-spacing: .26em; color: var(--green); display: block; margin-top: .2rem; }
@keyframes s-slide { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.s-marquee::before, .s-marquee::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 12%; z-index: 2; pointer-events: none;
}
.s-marquee::before { left: 0; background: linear-gradient(90deg, var(--white), rgba(254, 254, 254, 0)); }
.s-marquee::after { right: 0; background: linear-gradient(270deg, var(--white), rgba(254, 254, 254, 0)); }
@media (prefers-reduced-motion: reduce) { .s-marquee-track { animation: none; } }

/* -------------------------------------------------------------- verticals */

.s-band { position: relative; min-height: 78vh; display: flex; align-items: flex-end; background: var(--green); overflow: hidden; }
.s-band.plain { min-height: 0; background: var(--green-deep); }
.s-band.plain::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 55% 85% at 14% 100%, rgba(200, 151, 102, .17) 0%, rgba(200, 151, 102, 0) 70%);
}
.s-band.plain.alt::before {
  background: radial-gradient(ellipse 55% 85% at 86% 100%, rgba(200, 151, 102, .17) 0%, rgba(200, 151, 102, 0) 70%);
}
.s-band.plain .s-band-in { padding-top: clamp(3.5rem, 8vw, 6.5rem); }
.s-band-media { position: absolute; inset: 0; }
.s-band-media img { width: 100%; height: 100%; object-fit: cover; }
.s-band-media img { filter: contrast(1.05) saturate(.86); }
.s-band-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg,
    rgba(18, 48, 36, .97) 4%,
    rgba(18, 48, 36, .86) 26%,
    rgba(18, 48, 36, .34) 64%,
    rgba(18, 48, 36, .12) 100%);
}
.s-band-in {
  position: relative; z-index: 2; width: 100%;
  padding: 5rem var(--pad) clamp(2.6rem, 6vw, 4.5rem);
  display: flex; justify-content: space-between; gap: clamp(1.8rem, 5vw, 5rem); align-items: flex-end;
}
.s-band-col { flex: 1 1 0; max-width: 30rem; display: flex; flex-direction: column; gap: .9rem; }
.s-band-num { font-family: var(--mono); font-size: .72rem; letter-spacing: .22em; color: var(--gold); }
@media (max-width: 860px) {
  .s-band { min-height: 0; }
  .s-band-in { flex-direction: column; align-items: flex-start; padding-top: 7rem; }
  .s-band-col { max-width: none; }
}

/* ------------------------------------------------------------- asset list */

.s-assets { display: flex; gap: clamp(2rem, 6vw, 5rem); align-items: flex-start; }
.s-assets-intro { flex: 0 0 34%; position: sticky; top: 5rem; display: flex; flex-direction: column; align-items: flex-start; gap: 1.4rem; }
.s-assets-list { flex: 1 1 auto; display: flex; flex-direction: column; gap: 1.6rem; }

.s-asset {
  background: var(--white);
  box-shadow: 0 2px 14px rgba(12, 12, 12, .07);
  display: flex; gap: 1.4rem; padding: 1rem;
}
.s-asset-tile {
  flex: 0 0 13rem; align-self: stretch; min-height: 11rem;
  position: relative; overflow: hidden;
  background: var(--green-deep);
  display: flex; align-items: flex-end; padding: .9rem;
}
.s-asset-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-asset-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(140deg, rgba(18,48,36,.15), rgba(18,48,36,.8)); }
.s-asset-tile em {
  position: relative; z-index: 2; font-style: normal;
  font-family: var(--mono); font-size: .62rem; letter-spacing: .2em;
  text-transform: uppercase; color: rgba(254, 254, 254, .82);
}
.s-asset-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: .5rem; padding: .4rem .4rem .4rem 0; }
.s-asset-mins { display: flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.s-asset-mins b { width: .5rem; height: .5rem; border-radius: 50%; background: var(--gold); flex: 0 0 auto; }
.s-asset .s-body { font-size: .92rem; }
.s-asset-where { font-family: var(--sans); font-size: .8rem; color: var(--sage); letter-spacing: .02em; }

@media (max-width: 980px) {
  .s-assets { flex-direction: column; }
  .s-assets-intro { position: static; flex: 1 1 auto; }
}
@media (max-width: 620px) {
  .s-asset { flex-direction: column; }
  .s-asset-tile { flex: 0 0 auto; min-height: 8rem; }
}

/* ------------------------------------------------------------------ team */

.s-team { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1px; background: rgba(254, 254, 254, .18); border: 1px solid rgba(254, 254, 254, .18); }
.s-person { background: var(--green); padding: clamp(1.5rem, 3vw, 2.2rem); display: flex; flex-direction: column; gap: .7rem; }
.s-person h3 { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; color: var(--white); line-height: 1.15; }
.s-person .role { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); line-height: 1.6; min-height: 3.2em; }
.s-person p.bio { color: rgba(254, 254, 254, .66); font-size: .9rem; line-height: 1.6; }

/* --------------------------------------------------------------- advisory */

.s-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: clamp(2rem, 5vw, 4rem); }
.s-two > div { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }

/* ----------------------------------------------------------------- portal */

.s-portal-wrap {
  min-height: 100vh; background: var(--green-deep);
  display: flex; align-items: center; justify-content: center;
  padding: 9rem var(--pad) 5rem;
}
.s-portal-card { width: 100%; max-width: 26rem; text-align: center; }
.s-portal-card .s-eyebrow { color: var(--gold); display: block; margin-bottom: 1.2rem; }
.s-portal-card h1 { color: var(--white); }
.s-portal-card .s-body { color: rgba(254, 254, 254, .66); margin: 1rem auto 2.2rem; }
.s-portal-form { display: flex; flex-direction: column; gap: .9rem; text-align: left; }
.s-portal-form input {
  width: 100%; background: transparent; color: var(--white);
  border: 0; border-bottom: 1px solid rgba(254, 254, 254, .3);
  padding: .7rem 0; font-family: var(--sans); font-size: .95rem;
}
.s-portal-form input::placeholder { color: rgba(254, 254, 254, .4); }
.s-portal-form input:focus { outline: none; border-bottom-color: var(--gold); }
.s-portal-form .s-btn { margin-top: .9rem; width: 100%; }
.s-portal-note { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-top: 1.6rem; }

/* ----------------------------------------------------------------- forms */

.s-form { display: flex; flex-direction: column; gap: 1rem; max-width: 30rem; width: 100%; }
.s-form label { display: flex; flex-direction: column; gap: .35rem; font-family: var(--mono); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--green); }
.s-form input, .s-form select, .s-form textarea {
  font-family: var(--sans); font-size: .95rem; color: var(--ink);
  background: var(--white); border: 1px solid var(--rule);
  padding: .7rem .8rem; width: 100%; border-radius: 0;
}
.s-form textarea { resize: vertical; }
.s-form input:focus, .s-form select:focus, .s-form textarea:focus { outline: none; border-color: var(--gold); }
.s-form .s-btn { align-self: flex-start; }
.s-ok { font-family: var(--serif); font-size: 1.4rem; color: var(--green); }

/* ---------------------------------------------------------------- footer */

.s-foot { background: var(--mint); padding: clamp(3.5rem, 7vw, 5.5rem) var(--pad) 0; }
.s-foot-top { display: flex; justify-content: space-between; gap: clamp(2rem, 6vw, 5rem); flex-wrap: wrap; }
.s-foot-top h2 { max-width: 16ch; }
.s-foot-nav { display: flex; gap: clamp(2rem, 5vw, 4rem); flex-wrap: wrap; padding: 3.5rem 0; }
.s-foot-nav section { display: flex; flex-direction: column; gap: .6rem; }
.s-foot-nav h3 { font-family: var(--mono); font-size: .66rem; letter-spacing: .22em; text-transform: uppercase; color: var(--sage); margin-bottom: .3rem; font-weight: 400; }
.s-foot-nav a { font-family: var(--sans); font-size: .92rem; color: var(--green); text-decoration: none; }
.s-foot-nav a:hover { color: var(--gold); }
.s-foot-bar { background: var(--green-deep); margin: 0 calc(-1 * var(--pad)); padding: 2.2rem var(--pad); display: flex; justify-content: space-between; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.s-foot-bar .s-mark b { font-size: 1.3rem; }
.s-foot-bar small { font-family: var(--sans); font-size: .75rem; color: rgba(254, 254, 254, .5); }

@media (max-width: 860px) {
  .s-foot-top { flex-direction: column; }
  .s-page-head { padding-top: 8.5rem; }
}

@media (max-width: 700px) {
  .s-hero-body h1 br { display: none; }
}
