:root{
  --bg: #f6f3ee;
  --bg-alt: #ffffff;
  --text: #1a1a1a;
  --muted: #5b5b5b;
  --line: #e7e0d7;
  --accent: #111111;
  --card: #ffffff;
  --shadow: 0 12px 30px rgba(0,0,0,.07);
  --radius: 18px;
}

/* Reset */
*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: linear-gradient(180deg, var(--bg), #fff);
  line-height:1.6;
}

/* Containers */
.container{
  width:min(1120px, 92vw);
  margin-inline:auto;
}

/* Top Navigation */
.topbar{
  position:sticky;
  top:0;
  z-index:10;
  background: rgba(246,243,238,.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:16px;
}

/* Brand */
.brand{
  text-decoration:none;
  color:var(--text);
  display:flex;
  flex-direction:column;
  gap:2px;
}

.brand__mark{
  font-family: "Playfair Display", serif;
  font-size:22px;
  font-weight:600;
  letter-spacing:.02em;
  .brand__mark {
  text-transform: none;
  font-weight: 600;
}

.mockup__logo {
  font-weight: 500;
}

}

.brand__sub{
  font-size:12px;
  color:var(--muted);
}

/* Navigation */
.nav{
  display:flex;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
}

.nav a{
  color:var(--text);
  text-decoration:none;
  font-size:14px;
  opacity:.85;
}

.nav a:hover{ opacity:1; }

.nav__cta{
  padding:10px 14px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.6);
}

/* Hero */
.hero{
  padding:72px 0 36px;
}

.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:32px;
  align-items:center;
}

h1, h2{
  font-family:"Playfair Display", serif;
  letter-spacing:.01em;
  margin:0 0 14px;
}

h1{
  font-size: clamp(36px, 5vw, 56px);
  line-height:1.05;
}

h2{
  font-size: clamp(26px, 3vw, 38px);
}

.lead{
  font-size:16px;
  color:var(--muted);
  max-width:60ch;
  margin-bottom:20px;
}

/* Buttons */
.hero__actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:14px;
  font-weight:600;
  text-decoration:none;
  cursor:pointer;
}

.btn--primary{
  background:var(--accent);
  color:#fff;
  border-color:var(--accent);
}

.btn--ghost{
  background:rgba(255,255,255,.65);
  color:var(--text);
}

.btn:hover{ transform: translateY(-1px); }

/* Meta Cards */
.hero__meta{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}

.metaCard{
  border:1px solid var(--line);
  background:rgba(255,255,255,.65);
  border-radius:var(--radius);
  padding:14px;
}

.metaCard__title{
  font-size:12px;
  color:var(--muted);
}

.metaCard__text{
  font-size:14px;
  font-weight:600;
}

/* Mockup */
.hero__visual{ display:flex; justify-content:flex-end; }

.mockup{
  width:min(420px,100%);
  background:rgba(255,255,255,.7);
  border-radius:24px;
  padding:18px;
  border:1px solid var(--line);
  box-shadow:var(--shadow);
}

.mockup__screen{
  height:240px;
  background:#101010;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.mockup__logo{
  font-family:"Playfair Display", serif;
  font-size:64px;
  font-weight:500;
  color:#f3f3f3;
  letter-spacing:.03em;
}

.mockup__caption{
  margin-top:12px;
  font-size:13px;
  color:var(--muted);
}

/* Sections */
.section{ padding:72px 0; }

.section--alt{
  background:rgba(255,255,255,.7);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section__head{
  display:flex;
  justify-content:space-between;
  gap:20px;
  margin-bottom:26px;
}

.section__head p{
  margin:0;
  max-width:60ch;
  color:var(--muted);
}

/* Grids */
.grid{ display:grid; gap:16px; }

.cards{ grid-template-columns: repeat(3,1fr); }

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
}

.card h3{ margin:0 0 8px; font-size:16px; }
.card p{ margin:0; font-size:14px; color:var(--muted); }

/* Work */
.work{ grid-template-columns: repeat(3,1fr); }

.workItem{
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  text-decoration:none;
  color:var(--text);
  overflow:hidden;
  box-shadow:0 10px 24px rgba(0,0,0,.05);
}

.workItem__thumb{
  height:100px;
  background:linear-gradient(135deg,#ece6de,#fff);
}

.workItem__info{ padding:14px; }

.tag{ font-size:12px; color:var(--muted); }

/* Process */
.steps{ grid-template-columns: repeat(4,1fr); }

.step{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:rgba(255,255,255,.65);
}

.step__num{
  font-size:12px;
  font-weight:700;
  color:var(--muted);
}

/* Downloads */
.downloads{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
}

.miniCard{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:18px;
  background:#fff;
  box-shadow:0 10px 22px rgba(0,0,0,.04);
}

/* Contact */
.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:20px;
}

.form{
  border:1px solid var(--line);
  border-radius:24px;
  padding:18px;
  background:#fff;
  box-shadow:var(--shadow);
  display:grid;
  gap:12px;
}

label{
  font-size:13px;
  color:var(--muted);
  display:grid;
  gap:6px;
}

input, select, textarea{
  padding:12px;
  border-radius:14px;
  border:1px solid var(--line);
  font-family:inherit;
}

/* Footer */
.footer{
  padding:36px 0;
}

.footer__inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  border-top:1px solid var(--line);
  padding-top:18px;
  color:var(--muted);
  font-size:14px;
}

/* Responsive */
@media(max-width:900px){
  .hero__grid,
  .downloads,
  .contact{
    grid-template-columns:1fr;
  }
  .cards,
  .work{
    grid-template-columns:repeat(2,1fr);
  }
  .steps{ grid-template-columns:repeat(2,1fr); }
}

@media(max-width:560px){
  .cards,
  .work{ grid-template-columns:1fr; }
  .hero__meta{ grid-template-columns:1fr; }
}

.hero__image{
  width:100%;
  max-width:520px;
  height:auto;
  border-radius:24px;
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  display:block;
}
