/* ==========================================================================
   MADX CUSTOM
   Type:  Chakra Petch (headings/UI)  +  Inter (body)
          The Sentex typeface is reserved for the LOGO only — the logo is a
          vector SVG with outlined letterforms, so no font file is needed.
   Brand: #f4ec35 yellow  /  #111210 near-black
   ========================================================================== */

:root{
  --yellow:#f4ec35;
  --yellow-soft:#fff878;
  --ink:#111210;
  --ink-2:#1a1c18;
  --ink-3:#20231c;
  --line:#34352d;
  --line-2:#3d3f35;
  --text:#f6f5ef;
  --muted:#b4b6ac;
  --muted-2:#92958a;
  --head:'Chakra Petch','Arial Narrow',Impact,sans-serif;
  --body:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:145px}
body{
  margin:0;background:var(--ink);color:var(--text);
  font-family:var(--body);font-size:16px;line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--yellow);outline-offset:5px}
img{max-width:100%;display:block}
button{cursor:pointer}
h1,h2,h3,p{margin-top:0}
h1,h2,h3{font-family:var(--head);font-weight:700;line-height:1.02;letter-spacing:.005em}
h2{font-size:clamp(40px,5.2vw,82px);margin-bottom:0}
h2 em{font-style:normal;color:var(--yellow)}
p{color:var(--muted)}
::selection{background:var(--yellow);color:var(--ink)}

.ico{width:17px;height:17px;fill:currentColor;flex:none}

.skip-link{position:fixed;top:-70px;left:16px;background:var(--yellow);color:#111;z-index:60;padding:10px}
.skip-link:focus{top:10px}

/* ---------- utility top bar ---------- */
.topbar{
  display:flex;align-items:center;justify-content:space-between;gap:20px;
  background:var(--yellow);color:#14160c;
  padding:9px 5%;font-size:12px;font-weight:600;letter-spacing:.07em;
  position:relative;z-index:12;
}
.topbar-tag{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.topbar-links{display:flex;align-items:center;gap:22px;flex:none}
.topbar-links a{display:inline-flex;align-items:center;gap:8px;transition:opacity .2s}
.topbar-links a:hover{opacity:.6}
.topbar-links b{
  font-family:var(--head);font-weight:700;letter-spacing:.1em;
  margin-right:5px;opacity:.55;
}

/* ---------- header ---------- */
.header{
  height:92px;display:flex;align-items:center;gap:40px;padding:0 5%;
  border-bottom:1px solid var(--line);background:var(--ink);
  position:sticky;top:0;z-index:11;
}
.brand{margin-right:auto;display:block}
.brand img{width:148px;height:auto}
.header nav{display:flex;gap:28px;font-size:14px;align-items:center}
.header nav>a{transition:color .2s}
.header nav>a:hover{color:var(--yellow)}
.nav-social{display:none}

.button{
  background:var(--yellow);color:#12130f;
  display:inline-flex;gap:26px;align-items:center;justify-content:space-between;
  padding:16px 22px;border:1px solid var(--yellow);
  font-weight:700;font-size:14px;letter-spacing:.01em;
  transition:background .2s,transform .2s,color .2s;
}
.button:hover{background:var(--yellow-soft);transform:translateY(-2px)}
.button>span{font-size:20px;line-height:1}
.button-ghost{background:transparent;color:var(--yellow);gap:12px;justify-content:flex-start}
.button-ghost:hover{background:var(--yellow);color:#12130f;transform:translateY(-2px)}
.button-ghost .ico{width:19px;height:19px}
.menu-toggle{display:none}

/* ---------- hero ---------- */
.hero{min-height:740px;height:calc(100svh - 150px);max-height:1000px;position:relative;isolation:isolate;overflow:hidden}
.hero-slides{position:absolute;inset:0;z-index:-3;background:#0b0d09}
.hero-slides img{
  position:absolute;inset:0;width:100%;height:100%;
  object-fit:cover;object-position:var(--pos,60%) center;
  opacity:0;transition:opacity 1.1s ease;
}
.hero-slides img.is-active{opacity:1}

.hero-dots{display:flex;gap:9px;align-items:center}
.hero-dots button{
  width:30px;height:3px;padding:0;border:0;background:#ffffff38;cursor:pointer;
  transition:background .3s,width .3s;
}
.hero-dots button:hover{background:#ffffff70}
.hero-dots button.is-active{background:var(--yellow);width:46px}
.hero-shade{position:absolute;inset:0;z-index:-2;
  background:linear-gradient(90deg,rgba(7,10,8,.92),rgba(7,10,8,.38) 55%,rgba(7,10,8,.03)),
             linear-gradient(0deg,var(--ink) 0%,transparent 42%);}
.hero-content{padding:64px 5% 110px;max-width:880px}
.eyebrow,.section-label{font-size:12px;font-weight:700;letter-spacing:.12em}
.eyebrow{color:var(--yellow);margin-bottom:24px}
.little-cross{margin-right:12px;font-size:20px}
.hero h1{font-size:clamp(46px,7vw,108px);line-height:.98;margin-bottom:22px;letter-spacing:-.01em}
.hero h1 span{color:var(--yellow)}
.hero-description{font-size:17px;max-width:380px;color:#d0d1c6;margin-bottom:30px}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px}
.hero-bottom{
  position:absolute;bottom:26px;left:5%;right:5%;
  display:flex;justify-content:space-between;gap:20px;align-items:center;
  font-size:11px;letter-spacing:.1em;color:#c2c3b8;font-weight:600;
}

/* ---------- brand strip ---------- */
.brand-strip{
  background:var(--yellow);color:#15170e;
  display:flex;justify-content:space-around;align-items:center;gap:25px;
  padding:22px 5%;font-family:var(--head);font-weight:700;
  font-size:clamp(17px,2vw,30px);line-height:1.3;letter-spacing:.01em;
}
.brand-strip b{font-family:var(--body);font-weight:400;font-size:26px}

/* ---------- generic section ---------- */
.section{padding:96px 5%}
.section-label{
  display:flex;justify-content:space-between;gap:25px;
  border-bottom:1px solid #36382f;padding-bottom:18px;margin-bottom:50px;color:var(--muted-2);
}
.section-label span:first-child{color:var(--yellow)}
.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:48px}
.section-heading>p{margin:0 0 6px;font-size:16px}

/* ---------- 01 intro ---------- */
.intro-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:10%}
.intro-copy{padding-top:4px}
.intro-copy .lead{font-size:25px;line-height:1.35;color:var(--text)}
.intro-copy p{max-width:530px;margin-bottom:22px}
.text-link{display:inline-flex;align-items:center;gap:50px;font-size:14px;font-weight:600;border-bottom:1px solid var(--yellow);padding:12px 0;color:var(--yellow)}

/* ---------- 02 capabilities ---------- */
.capabilities{background:var(--ink-2)}
.services{border-top:1px solid var(--line-2)}
.services details{border-bottom:1px solid var(--line-2)}
.services summary{list-style:none;display:flex;align-items:center;gap:30px;padding:26px 0;cursor:pointer}
.services summary::-webkit-details-marker{display:none}
.service-number{font-size:13px;font-weight:600;color:#8f9385}
.services h3{font-family:var(--head);font-size:clamp(22px,2.9vw,42px);margin:0;transition:color .2s}
.services summary:hover h3{color:var(--yellow)}
.service-toggle{margin-left:auto;color:var(--yellow);font-size:28px;line-height:1;transition:transform .2s}
.services details[open] .service-toggle{transform:rotate(45deg)}
.services details[open] h3{color:var(--yellow)}

.service-body{
  padding:4px 0 34px 46px;
  display:grid;grid-template-columns:minmax(0,420px) minmax(0,1fr);
  gap:44px;align-items:center;
}
.service-figure{margin:0;overflow:hidden;background:#0d0f0b}
.service-figure img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover}
.service-text p{max-width:560px;margin:0 0 20px;font-size:16.5px}
.tags{display:flex;gap:8px;flex-wrap:wrap}
.tags span{font-size:12px;font-weight:500;border:1px solid #45483b;padding:7px 12px;color:#bfc2b2}

/* ---------- 02.1 what we build ---------- */
.worklist{background:var(--ink)}
.work-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;background:var(--line-2);border:1px solid var(--line-2)}
.work-card{background:var(--ink-2);display:flex;flex-direction:column;transition:background .2s}
.work-card:hover{background:#23261f}
.work-media{overflow:hidden;background:#0d0f0b}
.work-media img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;transition:transform .5s ease,filter .3s}
.work-card:hover .work-media img{transform:scale(1.05);filter:brightness(1.08)}
.work-info{padding:22px 22px 26px;display:flex;flex-direction:column;gap:9px;flex:1}
.work-num{font-size:12px;font-weight:700;letter-spacing:.12em;color:var(--yellow)}
.work-info h3{font-family:var(--head);font-size:20px;margin:0;line-height:1.15}
.work-info p{font-size:14px;margin:0;color:#9ea196;line-height:1.55}
.work-note{margin:30px 0 0;font-size:15px;max-width:660px}
.work-note a{color:var(--yellow);border-bottom:1px solid var(--yellow)}

/* ---------- 03 build directions ---------- */
.build-showcase{position:relative;min-height:540px;overflow:hidden;background:var(--ink-3)}
.build-showcase>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% center}
.build-showcase:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#10130ded,transparent 92%)}
.build-overlay{position:relative;z-index:1;padding:64px 46px;max-width:620px}
.build-overlay h3{font-family:var(--head);font-size:clamp(30px,4vw,62px);margin-bottom:22px;line-height:1}
.build-overlay p:not(.eyebrow){max-width:400px;color:#d6d9cb}
.build-overlay .eyebrow{display:block;margin-bottom:22px}
.build-tabs{display:grid;grid-template-columns:repeat(3,1fr)}
.build-tabs button{
  background:transparent;border:0;border-bottom:2px solid #404238;color:#999e8d;
  padding:22px 17px;display:flex;align-items:center;gap:18px;text-align:left;
  font-size:13px;font-weight:600;transition:color .2s,border-color .2s,background .2s;
}
.build-tabs button:hover{color:var(--yellow)}
.build-tabs span{font-family:var(--head);font-weight:700;font-size:24px;margin-right:auto}
.build-tabs button.active{color:var(--yellow);border-color:var(--yellow);background:#f4ec3508}

/* ---------- 04 craft ---------- */
.craft{display:grid;grid-template-columns:1fr 1fr;background:var(--ink-3)}
.craft-image{position:relative;min-height:640px}
.craft-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.craft-copy{padding:72px 10%;align-self:center}
.craft-copy h2{margin-bottom:30px}
.craft-values{display:flex;gap:18px;flex-wrap:wrap;border-top:1px solid #484b3e;padding-top:24px;margin-top:34px;font-size:11px;font-weight:700;letter-spacing:.08em;color:var(--yellow)}

/* ---------- 05 process ---------- */
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);margin-top:52px;gap:34px}
.process-grid article{border-top:1px solid #414539;padding-top:26px}
.process-grid article>span{font-size:36px;color:var(--yellow);font-family:var(--head);font-weight:700;display:block;margin-bottom:32px}
.process-grid h3{font-size:22px;margin-bottom:16px;line-height:1.2}
.process-grid p{font-size:15px}

/* ---------- 06 contact ---------- */
.contact{background:var(--yellow);color:#12140d}
.contact .section-label{color:#5e602e;border-color:#b6b12e}
.contact .section-label span:first-child{color:#12140d}
.contact h2 em{color:#12140d}
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:9%}
.contact p{color:#4f5228;max-width:380px;margin-top:26px}
.contact .contact-note{font-size:14px;max-width:340px}

.contact-direct{display:flex;flex-direction:column;gap:10px;margin-top:30px;max-width:380px}
.contact-chip{
  display:flex;align-items:center;gap:14px;
  border:1px solid #12140d;padding:13px 16px;color:#12140d;
  transition:background .2s,color .2s;
}
.contact-chip:hover{background:#12140d;color:var(--yellow)}
.contact-chip .ico{width:20px;height:20px}
.contact-chip span{display:flex;flex-direction:column;font-size:14px;line-height:1.35}
.contact-chip b{font-family:var(--head);font-size:13px;letter-spacing:.08em;text-transform:uppercase}

.contact form{display:grid;gap:18px;align-content:start}
.contact label{display:grid;gap:7px;font-size:13px;font-weight:700}
.contact input,.contact textarea,.contact select{
  width:100%;min-width:0;border:0;border-bottom:1px solid #aaa72f;border-radius:0;
  background:transparent;padding:10px 0;color:#12140d;font-size:16px;
}
.contact input:focus,.contact textarea:focus,.contact select:focus{outline:2px solid #12140d;outline-offset:4px}
.contact ::placeholder{color:#666733;opacity:1}
.field-row{display:grid;grid-template-columns:1fr 1fr;gap:24px}
.contact .button{background:#12140d;color:var(--yellow);border-color:#12140d;justify-self:start;min-width:240px}
.contact .button:hover{background:#303522}
/* spam honeypot — hidden from people, visible to bots */
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.contact .form-note{margin:0;font-size:12px;max-width:none;line-height:1.5}
.contact .button[disabled]{opacity:.55;cursor:progress}
.link-btn{
  background:none;border:0;padding:0;font:inherit;color:#12140d;
  text-decoration:underline;text-underline-offset:3px;cursor:pointer;
}
.link-btn:hover{color:#4f5228}
.contact #form-status{margin:0;font-size:14px;font-weight:700}

/* ---------- footer ---------- */
footer{padding:54px 5% 22px}
.footer-top{display:flex;align-items:center;flex-wrap:wrap;gap:42px}
.footer-top>a:first-child img{width:180px;height:auto}
.footer-top>p{font-family:var(--head);font-weight:700;color:#d5d7cd;font-size:20px;margin:0;line-height:1.25}
.footer-contact{display:flex;align-items:center;gap:26px;margin-left:auto}
.footer-numbers{display:flex;flex-direction:column;gap:6px}
.footer-numbers a{display:inline-flex;align-items:center;gap:9px;font-size:14px;font-weight:600;color:var(--yellow)}
.footer-numbers a:hover{color:var(--yellow-soft)}
.footer-numbers b{
  font-family:var(--head);font-weight:700;font-size:11px;letter-spacing:.12em;
  color:#868b7a;width:26px;
}
.footer-social{display:flex;gap:10px}
.footer-social a{
  width:40px;height:40px;border:1px solid var(--line);display:grid;place-items:center;color:var(--text);
  transition:background .2s,color .2s,border-color .2s;
}
.footer-social a:hover{background:var(--yellow);color:var(--ink);border-color:var(--yellow)}
.footer-social .ico{width:19px;height:19px}
.back-top{font-size:12px;font-weight:600;letter-spacing:.06em;color:var(--yellow)}
.footer-bottom{
  border-top:1px solid #36382f;padding-top:24px;margin-top:34px;width:100%;
  display:flex;justify-content:space-between;gap:20px;color:#868b7a;font-size:11px;letter-spacing:.04em;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media(min-width:1600px){
  .topbar,.header,.section,footer{padding-left:8%;padding-right:8%}
  .hero-content{padding-left:8%;max-width:1040px}
  .hero-bottom{left:8%;right:8%}
}

@media(max-width:1180px){
  .work-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}

@media(max-width:1040px){
  .header{gap:20px}
  .header nav{gap:16px;font-size:13px}
  .header-cta{padding:13px 14px;gap:14px}
  .topbar-links{gap:18px}
  .intro-grid{gap:6%}
  .service-body{grid-template-columns:1fr;gap:24px;padding-left:44px}
  .service-figure img{aspect-ratio:16/9}
  .craft-copy{padding:52px 8%}
  .craft-image{min-height:560px}
  .process-grid{gap:20px}
  .build-tabs span{font-size:19px}
  .contact-grid{gap:6%}
}

@media(max-width:860px){
  .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .process-grid{grid-template-columns:1fr 1fr}
}

@media(max-width:760px){
  html{scroll-padding-top:20px}

  .topbar{padding:8px 6%;font-size:11px;gap:12px}
  .topbar-tag{display:none}
  .topbar-links{width:100%;justify-content:space-between;gap:10px}
  .topbar-links a span{font-size:10.5px;white-space:nowrap}
  .topbar-links a{gap:5px}
  .topbar-links b{margin-right:3px}
  /* the two numbers need the whole bar: drop the phone glyphs, and leave
     WhatsApp + Instagram to the mobile menu, which already carries them */
  .topbar-links .ico{display:none}
  .topbar-links .tb-icon{display:none}

  .header{height:76px;padding:0 6%;gap:16px;position:static}
  .brand img{width:120px}
  .header-cta{font-size:12px;padding:10px 12px;gap:10px}
  .menu-toggle{display:flex;flex-direction:column;gap:6px;justify-content:center;width:28px;background:none;border:0;padding:0;height:36px}
  .menu-toggle span{width:26px;height:2px;background:var(--yellow)}
  .header nav{
    display:none;position:absolute;left:0;right:0;
    background:var(--ink);padding:24px 6% 28px;border-bottom:1px solid #484a3d;font-size:17px;z-index:30;
  }
  .header nav.open{display:flex;flex-direction:column;align-items:flex-start;gap:20px}
  .nav-social{display:flex;gap:12px;padding-top:6px;border-top:1px solid var(--line);width:100%}
  .nav-social a{
    width:44px;height:44px;border:1px solid var(--line);display:grid;place-items:center;margin-top:14px;
  }
  .nav-social .ico{width:20px;height:20px}

  .hero{min-height:620px;height:auto;max-height:none}
  .hero-content{padding:42px 6% 108px}
  .hero h1{font-size:clamp(38px,11.5vw,72px)}
  .hero .eyebrow{font-size:10px;letter-spacing:.08em}
  .hero-description{font-size:16px;max-width:320px}
  .hero-shade{background:linear-gradient(90deg,#090b08d6,#090b0866),linear-gradient(0deg,var(--ink),transparent 68%)}
  /* at phone width the mural sits behind the headline, so crop to the
     workshop side of the same shot instead of cutting the mascot in half */
  .hero-slides img.mural{object-position:20% center}
  .hero-dots{order:3;width:100%}
  .hero-dots button{width:38px}
  .hero-dots button.is-active{width:54px}
  .hero-actions{gap:10px}
  .hero-actions .button{width:100%}
  .hero-bottom{left:6%;right:6%;flex-wrap:wrap;font-size:9px;gap:12px}

  .brand-strip{padding:18px 6%;font-size:15px;gap:14px;flex-wrap:wrap;justify-content:center}
  .brand-strip b{font-size:19px}
  .brand-strip b:last-child{display:none}

  .section{padding:58px 6%}
  .section-label{margin-bottom:32px;font-size:10px;gap:14px}
  .section-label span:last-child{text-align:right}
  h2{font-size:clamp(34px,9vw,58px)}
  .intro-grid,.contact-grid{grid-template-columns:1fr;gap:30px}
  .intro-copy .lead{font-size:21px}
  .section-heading{display:block;margin-bottom:32px}
  .section-heading>p{margin-top:20px}

  .services summary{gap:14px;padding:22px 0}
  .services h3{font-size:clamp(17px,4.6vw,28px)}
  .service-body{padding:0 0 26px 30px;gap:20px}
  .service-toggle{font-size:24px}

  .work-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .work-info{padding:14px 13px 18px;gap:6px}
  .work-info h3{font-size:15px}
  .work-info p{font-size:12.5px;line-height:1.45}
  .work-num{font-size:10px}

  .build-showcase{min-height:500px}
  .build-showcase>img{object-position:66% center}
  .build-showcase:after{background:linear-gradient(90deg,#10130deb,#10130d55)}
  .build-overlay{padding:40px 24px 70px}
  .build-overlay h3{font-size:clamp(26px,7.5vw,42px)}
  .build-tabs button{padding:18px 6px;font-size:10px;gap:5px;flex-direction:column;align-items:flex-start}
  .build-tabs span{font-size:clamp(11px,3vw,16px);margin-right:0}

  .craft{grid-template-columns:1fr}
  .craft-image{min-height:320px}
  .craft-copy{padding:46px 6%}

  .process-grid{gap:24px;margin-top:32px}
  .process-grid article>span{margin-bottom:22px;font-size:30px}
  .process-grid h3{font-size:19px}
  .process-grid p{font-size:14px}

  .contact-direct{max-width:none}
  .field-row{grid-template-columns:1fr;gap:18px}
  .contact .button{width:100%;justify-self:stretch}

  footer{padding:40px 6% 22px}
  .footer-top{gap:24px}
  .footer-top>a:first-child img{width:135px}
  .footer-top>p{font-size:16px}
  .footer-contact{margin-left:0;width:100%;justify-content:space-between;align-items:flex-start;gap:16px}
  .back-top{margin-left:auto}
  .footer-bottom{gap:22px;font-size:10px;align-items:flex-end;margin-top:26px}
  .footer-bottom span:last-child{text-align:right;max-width:180px}
}

@media(max-width:380px){
  .topbar-links a span{display:none}
  .topbar-links{justify-content:flex-start;gap:18px}
}

@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *{transition:none!important;animation:none!important}
}
