/* MADarc Group Landing — minimalist, premium, architectural */

:root{
  --bg:#ffffff;
  --ink:#0e0f12;
  --muted:#6a707a;
  --line:rgba(14,15,18,.12);
  --soft:#f4f5f6;

  --serif:"Fraunces", ui-serif, Georgia, serif;
  --sans:"Inter", ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  --max:1120px;
  --pad:clamp(18px,3vw,34px);
  --padlg:clamp(44px,6vw,92px);

  --r:16px;
  --shadow:0 10px 30px rgba(0,0,0,.06);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  background:var(--bg);
  color:var(--ink);
  font-family:var(--sans);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}

.container{
  width:min(var(--max), calc(100% - (var(--pad)*2)));
  margin:0 auto;
}

/* Header */
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.header__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 0;
}
.brand{
  font-family:var(--serif);
  letter-spacing:.2px;
  font-size:28px;
  line-height:1;
}
.nav{
  display:flex; gap:18px; align-items:center;
}
.nav__link{
  font-size:14px;
  color:rgba(14,15,18,.82);
  padding:10px 12px;
  border-radius:12px;
}
.nav__link:hover{ background:rgba(0,0,0,.04) }
.nav__link--pill{
  border:1px solid var(--line);
  background:#fff;
}

/* Mobile menu button */
.menuBtn{
  display:none;
  width:44px;height:44px;
  border:1px solid var(--line);
  border-radius:12px;
  background:transparent;
  cursor:pointer;
  padding:0 12px;
  align-items:center; justify-content:center;
  gap:6px;
}
.menuBtn span{
  display:block;
  width:18px;height:2px;background:var(--ink);
  border-radius:99px;
}

@media (max-width: 880px){
  .nav{ display:none; }
  .menuBtn{ display:flex; }
}

/* Drawer */
.drawer{
  position:fixed; inset:0;
  background:rgba(0,0,0,.32);
}
.drawer__panel{
  position:absolute; right:0; top:0;
  width:min(420px, 92vw);
  height:100%;
  background:#fff;
  border-left:1px solid var(--line);
  padding:22px;
}
.drawer__top{
  display:flex; align-items:center; justify-content:space-between;
  border-bottom:1px solid var(--line);
  padding-bottom:12px;
}
.drawer__title{ font-family:var(--serif); font-size:18px; }
.drawer__close{
  border:1px solid var(--line);
  background:#fff;
  border-radius:12px;
  padding:10px 12px;
  cursor:pointer;
}
.drawer__links{
  display:grid;
  gap:10px;
  padding:18px 0;
}
.drawer__links a{
  font-family:var(--serif);
  font-size:22px;
  padding:10px 8px;
  border-radius:12px;
}
.drawer__links a:hover{ background:rgba(0,0,0,.04) }

/* Sections */
.section{ padding: var(--padlg) 0; }
.kicker{
  letter-spacing:.22em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
  margin:0 0 14px;
}

.h1{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(40px, 4.6vw, 72px);
  line-height:1.04;
  margin:0 0 16px;
  max-width: 18ch;
}
.h2{
  font-family:var(--serif);
  font-weight:500;
  font-size:clamp(28px, 3vw, 44px);
  line-height:1.12;
  margin:0 0 14px;
  max-width: 26ch;
}

.lead{
  font-size:18px;
  color:rgba(14,15,18,.86);
  line-height:1.6;
  margin:0 0 10px;
  max-width: 64ch;
}
.body{
  font-size:16px;
  color:rgba(14,15,18,.74);
  line-height:1.8;
  margin:0 0 10px;
  max-width: 74ch;
}

.actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }
.btn{
  display:inline-flex;
  align-items:center; justify-content:center;
  border-radius:12px;
  padding:12px 16px;
  border:1px solid var(--ink);
  background:var(--ink);
  color:#fff;
  font-size:14px;
  cursor:pointer;
}
.btn:hover{ opacity:.94; }
.btn--ghost{
  background:#fff;
  color:var(--ink);
  border:1px solid var(--line);
}
.metaLine{
  display:flex; gap:10px; flex-wrap:wrap;
  margin-top:18px;
  color:var(--muted);
  font-size:13px;
}
.dot{ opacity:.6; }

/* Layout helpers */
.hero{ padding-top: calc(var(--padlg) - 10px); }
.hero__grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 26px;
  align-items: center;
}
@media (max-width: 980px){
  .hero__grid{ grid-template-columns: 1fr; }
}
.frame{
  border:1px solid var(--line);
  border-radius: var(--r);
  overflow:hidden;
  background:var(--soft);
  box-shadow: var(--shadow);
}
.frame img{
  width:100%;
  height: 520px;
  object-fit:cover;
  filter: grayscale(1);
}
.frame--hero img{ height: 620px; }
@media (max-width: 980px){
  .frame img, .frame--hero img{ height: 360px; }
}

.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: start;
}
@media (max-width: 980px){
  .split{ grid-template-columns: 1fr; }
}

.grid2{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items:center;
}
@media (max-width: 980px){
  .grid2{ grid-template-columns: 1fr; }
}

/* Statement panel */
.panel{
  border:1px solid var(--line);
  border-radius: var(--r);
  padding:22px;
  background:#fff;
}
.list{ margin-top:16px; display:grid; gap:10px; }
.list__item{ display:flex; gap:10px; align-items:center; color:rgba(14,15,18,.74); }
.list__dot{
  width:6px;height:6px;border-radius:50%;
  background:rgba(14,15,18,.55);
}

/* Steps */
.steps{
  margin-top: 14px;
  border:1px solid var(--line);
  border-radius: var(--r);
  overflow:hidden;
}
.step{
  display:grid;
  grid-template-columns: 60px 1fr;
  gap:14px;
  padding:16px 18px;
  border-top:1px solid var(--line);
}
.step:first-child{ border-top:0; }
.step__n{
  font-family:var(--serif);
  color:rgba(14,15,18,.55);
}
.step__t{
  font-weight:600;
  letter-spacing:.02em;
}
.step__d{
  color:rgba(14,15,18,.72);
  margin-top:4px;
  line-height:1.6;
  font-size:14px;
}
.note{
  margin-top:14px;
  padding:14px 16px;
  border:1px solid var(--line);
  border-radius: var(--r);
  color:rgba(14,15,18,.72);
  background: #fff;
}

/* Project profile */
.projectTop{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  flex-wrap:wrap;
}
.cards{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  margin-top:18px;
}
@media (max-width: 980px){
  .cards{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .cards{ grid-template-columns: 1fr; }
}
.card{
  border:1px solid var(--line);
  border-radius: var(--r);
  padding:16px;
  background:#fff;
}
.card__t{ font-weight:600; }
.card__d{ margin-top:8px; color:rgba(14,15,18,.72); line-height:1.6; font-size:14px; }

.projectBottom{ margin-top:22px; }
.muted{ color:var(--muted); font-size:14px; line-height:1.7; margin:0 0 14px; }
.frame--wide img{ height: 520px; }
@media (max-width: 980px){
  .frame--wide img{ height: 360px; }
}

/* Founder */
.sig{
  margin-top:14px;
  color:rgba(14,15,18,.64);
  font-size:14px;
}

/* Contact */
.contactCard{
  margin-top:18px;
  border:1px solid var(--line);
  border-radius: var(--r);
  padding:16px;
  display:grid;
  gap:12px;
}
.label{
  display:block;
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:6px;
}
.value{
  font-size:14px;
  color:rgba(14,15,18,.78);
}

.form{
  border:1px solid var(--line);
  border-radius: var(--r);
  padding:18px;
  background:#fff;
  box-shadow: var(--shadow);
}
.field{ display:grid; gap:8px; margin-bottom:12px; }
.field label{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:var(--muted);
}
.field input, .field textarea{
  border:1px solid var(--line);
  border-radius:12px;
  padding:12px 12px;
  font-family:var(--sans);
  font-size:15px;
  outline:none;
}
.field input:focus, .field textarea:focus{
  border-color: rgba(14,15,18,.38);
}
.fineprint{
  margin:12px 0 0;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  padding: 34px 0;
}
.footer__grid{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
}
@media (max-width: 980px){
  .footer__grid{ grid-template-columns: 1fr; }
}
.footer__brand{
  font-family:var(--serif);
  font-size:18px;
}
.footer__muted{
  color:var(--muted);
  font-size:13px;
  line-height:1.7;
  margin-top:6px;
}
.footer__cols{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 980px){
  .footer__cols{ grid-template-columns: 1fr; }
}
.footer__h{
  font-size:12px;
  letter-spacing:.18em;
  text-transform:uppercase;
  color:rgba(14,15,18,.65);
  margin-bottom:8px;
}


/* Logo image */
.brand img{height:28px;width:auto;display:block;}
@media (max-width:880px){.brand img{height:26px;}}


.brand img{filter:none !important;opacity:1 !important;}
/* FORCE REMOVE MOBILE MENU */
@media (max-width: 768px){
}
@media (max-width: 768px){
  .nav {
    display: none;
  }
}

/* Solid (not transparent) header/nav on mobile */
@media (max-width: 900px){
  header, .header, nav, .nav {
    background: #fff !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }
}

/* If some “transparent” classes are used */
@media (max-width: 900px){
  .header.transparent, .header.is-top, .header--transparent,
  .nav.transparent, .nav.is-top, .nav--transparent {
    background: #fff !important;
  }
}
/* iOS Safari: mobile menu must be solid + on top */
@media (max-width: 768px) {
  .mobile-menu {
    position: fixed !important;
    inset: 0 !important;
    background: #fff !important;
    z-index: 99999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}
/* MOBILE MENU – solid white + covers page */
@media (max-width: 768px) {

  /* desktop nav hide on mobile (optional) */
  .nav { display: none !important; }

  /* menu is hidden until active */
  .mobile-menu { 
    display: none !important;
  }

  /* when active, it becomes full-screen white overlay */
  .mobile-menu.active {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    background: #fff !important;
    opacity: 1 !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
}
