:root{color-scheme:light;--ink:#18362b;--paper:#faf8f2;--line:#dcded3;--accent:#23734f;font-family:"Leelawadee UI",Tahoma,sans-serif;color:var(--ink);background:var(--paper);scroll-behavior:smooth}*{box-sizing:border-box}body{margin:0}a{color:inherit}a:focus-visible{outline:3px solid #287e57;outline-offset:4px}img{display:block;width:100%;object-fit:cover}header,footer{padding:1.25rem clamp(1.25rem,5vw,5rem);display:flex;align-items:center;justify-content:space-between;gap:1rem}header{border-bottom:1px solid var(--line)}.brand{font-family:Arial,sans-serif;font-size:1.35rem;font-weight:900;letter-spacing:-.055em;text-decoration:none;white-space:nowrap}.brand span{font-size:.58em;letter-spacing:.08em;margin-left:.45em}nav,.actions{display:flex;align-items:center;gap:1.15rem;flex-wrap:wrap}nav a{text-decoration:none;font-size:.92rem}nav a:hover{text-decoration:underline}.hero{display:grid;grid-template-columns:1fr 1.15fr;min-height:540px;background:#eaece4}.hero-copy{padding:clamp(2rem,6vw,6rem) clamp(1.25rem,5vw,5rem);align-self:center}.hero-image{height:100%;min-height:340px;object-position:60% center}h1,h2,h3,p{margin:0}h1{font-size:clamp(2.5rem,5.25vw,5.6rem);line-height:1.08;letter-spacing:normal;margin:.45rem 0 1rem}h2{font-size:clamp(1.9rem,3.6vw,3.7rem);line-height:1.12;margin-bottom:1.4rem}h3{font-size:1.24rem;margin-bottom:.5rem}p{line-height:1.7}.eyebrow{font-size:.8rem;font-weight:800;letter-spacing:.13em}.minimum{margin:1rem 0;font-weight:700}.minimum strong{font-size:1.7rem}.button{display:inline-block;background:var(--ink);color:white;text-decoration:none;padding:.75rem 1.05rem;border:1px solid var(--ink);border-radius:.25rem;font-weight:700}.button:hover{background:var(--accent);color:#fff}.outline{background:transparent;color:var(--ink)}.section{padding:clamp(2.5rem,6vw,6rem) clamp(1.25rem,5vw,5rem)}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}.services article{background:#fff;border:1px solid var(--line);overflow:hidden}.services article>div:last-child{padding:1.3rem}.services img,.equipment{height:clamp(185px,18vw,290px)}.equipment{overflow:hidden;background:#ede9e3}.equipment img{height:auto;min-height:100%;transform:translateY(-22%)}.services a{display:inline-block;margin-top:1rem;font-weight:700}.process{background:#eaece4}.process ol{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;padding-left:1.35rem;margin:0}.process li::marker{font-weight:800;color:var(--accent)}.split{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.2rem,6vw,6rem);align-items:center}.split img{max-height:430px;aspect-ratio:4/3}.split .eyebrow{margin-bottom:.8rem}.activity{border-top:1px solid var(--line)}.contact{background:#e4ece1}.contact .actions{margin-top:1.3rem;overflow-wrap:anywhere}footer{background:var(--ink);color:#fff;font-size:.9rem}@media(max-width:760px){header{align-items:flex-start;flex-direction:column}nav{gap:.45rem 1rem}.hero,.split,.services,.process ol{grid-template-columns:1fr}.hero-image{min-height:0;aspect-ratio:16/10}.split img{max-height:340px}.services img,.equipment{height:210px}.equipment img{height:auto}.process ol{gap:1rem}}

/* MAT COFFEE visual theme */
:root {
  --ink: #35251e;
  --paper: #f8f2e8;
  --line: #dfd2c2;
  --accent: #815439;
  font-family: Kantalad, "Leelawadee UI", Tahoma, sans-serif;
}
header {
  min-height: 72px;
  background: #251813;
  color: #fff8ed;
  border-bottom-color: #5c4334;
}
.brand { font-family: inherit; letter-spacing: .035em; }
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: clamp(530px, 70vh, 820px);
  overflow: hidden;
  background: #2b1b15;
  color: #fff8ed;
}
.hero-image {
  position: absolute;
  z-index: -2;
  inset: 0;
  height: 100%;
  object-position: 65% center;
  filter: sepia(.32) brightness(.83) saturate(1.18);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(32,19,13,.96), rgba(42,25,17,.86) 30%, rgba(45,27,18,.42) 57%, rgba(45,27,18,.08) 100%);
}
.hero-copy { width: min(100%, 680px); padding-block: clamp(3rem, 8vw, 8rem); }
.hero h1 { font-size: clamp(3rem, 6.5vw, 6.6rem); letter-spacing: normal; }
.hero .eyebrow, .hero .minimum { color: #f2cd9d; }
.hero-copy > p:not(.eyebrow):not(.minimum) { max-width: 30rem; color: #f3e6d4; }
.button { border-radius: 999px; padding: .8rem 1.35rem; }
.hero .button { background: #edc093; border-color: #edc093; color: #281911; }
.hero .button:hover { background: #ffe0bb; }
.hero .outline { background: transparent; border-color: #f3e6d4; color: #fff8ed; }
.hero .outline:hover { background: #fff8ed; color: #281911; }
.section { scroll-margin-top: 1rem; }
.services { gap: clamp(1rem, 2.4vw, 2rem); }
.services article { background: #fffaf3; border-radius: .65rem; }
.services article>div:last-child { padding: 1.5rem; }
.services article a { color: #764a33; text-underline-offset: .25em; }
.services article img, .split img { border-radius: .5rem; }
.process { background: #eee1d0; }
.activity { background: #f1e7d9; }
.contact { background: #39251c; color: #fff8ed; }
.contact .button { background: #edc093; color: #281911; border-color: #edc093; }
footer { background: #251813; color: #f1deca; }
@media (max-width: 760px) {
  .hero { min-height: 600px; align-items: end; }
  .hero-image { object-position: 64% top; }
  .hero::after { background: linear-gradient(0deg, rgba(32,19,13,.98), rgba(34,20,14,.89) 32%, rgba(34,20,14,.18) 82%); }
  .hero-copy { padding-bottom: 2rem; }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 4.7rem); }
  .activity img { grid-row: 1; }
}


.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
}
.brand .brand-mark {
  width: 84px;
  height: 57px;
  margin: 0;
  background: url("assets/mat-brand-reference.png") -907px -14px / 1023px auto no-repeat;
  filter: grayscale(1) invert(1) brightness(.83) contrast(2.65);
  mix-blend-mode: screen;
}
.brand .brand-name {
  margin: 0;
  font-size: .68rem;
  letter-spacing: .13em;
}
header { padding-block: .55rem; }

/* A paper edge carries the hero into the darker coffee palette. */
:root {
  --coffee-base: #2a1a14;
  --coffee-panel: #38241b;
  --coffee-line: #644837;
  --cream: #f9eedf;
  --caramel: #f3c89f;
}
body { background: var(--coffee-base); color: var(--cream); }
.hero::before {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
  inset: auto 0 -1px;
  height: clamp(18px, 4vw, 58px);
  background: var(--coffee-base);
  clip-path: polygon(0 21%, 2% 17%, 4% 33%, 7% 26%, 9% 43%, 11% 35%, 13% 54%, 15% 45%, 17% 63%, 19% 58%, 21% 71%, 24% 63%, 27% 76%, 30% 68%, 34% 80%, 37% 72%, 40% 78%, 43% 65%, 46% 72%, 48% 57%, 51% 66%, 54% 53%, 57% 59%, 60% 40%, 63% 48%, 66% 31%, 69% 43%, 72% 26%, 75% 33%, 78% 16%, 80% 28%, 82% 13%, 85% 22%, 88% 6%, 90% 18%, 93% 12%, 96% 28%, 98% 18%, 100% 29%, 100% 100%, 0 100%);
}
.services article { background: var(--coffee-panel); border-color: var(--coffee-line); }
.services article a, .process li::marker, .split .eyebrow { color: var(--caramel); }
.process, .activity { background: #33221a; border-color: var(--coffee-line); }
.contact { background: #4a3023; }
main a:focus-visible { outline-color: var(--caramel); }
@media (max-width: 760px) { .hero-copy { padding-bottom: 3rem; } }
