/* Tupudha Builds Ltd — site styles */
:root {
  --ink: #17201d;
  --ink-2: #3a4541;
  --muted: #6b7470;
  --paper: #f5f2eb;
  --paper-2: #ebe6da;
  --white: #ffffff;
  --brick: #b4532a;
  --brick-dark: #8f3f1e;
  --line: #d9d2c3;
  --radius: 4px;
  --max: 1160px;
  --head: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-block;
  font-family: var(--head);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brick);
  margin-bottom: 14px;
}
.lead { font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }

.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-weight: 700; font-size: .98rem;
  padding: 15px 26px; border-radius: var(--radius);
  text-decoration: none; border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s;
  cursor: pointer;
}
.btn-primary { background: var(--brick); color: var(--white); }
.btn-primary:hover { background: var(--brick-dark); }
.btn-ghost { border-color: currentColor; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(245, 242, 235, .94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 40px; height: 40px; }
.brand-name { font-family: var(--head); font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; line-height: 1.05; }
.brand-name small { display: block; font-weight: 600; font-size: .66rem; letter-spacing: .24em; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink-2); }
.nav a:hover { color: var(--brick); }
.nav .btn { padding: 11px 20px; color: var(--white); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Hero */
.hero { padding: 84px 0 96px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 span { color: var(--brick); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }
.hero-points {
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  margin-top: 40px; padding: 0; list-style: none;
  font-size: .93rem; color: var(--ink-2);
}
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 8px; height: 8px; background: var(--brick); }

/* Sections */
section { scroll-margin-top: 80px; }
.section { padding: 96px 0; }
.section-dark { background: var(--ink); color: var(--paper); }
.section-dark .lead, .section-dark p { color: #c9cfc9; }
.section-alt { background: var(--white); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 56px; }
.section-head p { margin: 0; }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.service { background: var(--white); padding: 36px 32px 34px; transition: background .2s; }
.service:hover { background: #fbfaf6; }
.service-num { font-family: var(--head); font-weight: 700; color: var(--brick); font-size: .85rem; letter-spacing: .1em; }
.service svg { width: 44px; height: 44px; margin: 18px 0 20px; color: var(--ink); }
.service p { color: var(--muted); margin: 0; font-size: .97rem; }

/* Clients */
.clients { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.client { border-top: 3px solid var(--brick); padding-top: 24px; }
.client p { margin: 0; }

/* Process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.step { padding: 0 28px 0 0; position: relative; }
.step::before {
  counter-increment: step; content: "0" counter(step);
  display: block; font-family: var(--head); font-weight: 800; font-size: 2.6rem;
  color: var(--brick); line-height: 1; margin-bottom: 18px;
}
.step::after { content: ""; position: absolute; top: 20px; left: 72px; right: 20px; height: 1px; background: #3c4844; }
.step:last-child::after { display: none; }
.step p { font-size: .97rem; }

/* Commitments */
.commit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.commit-list { list-style: none; padding: 0; margin: 0; }
.commit-list li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.commit-list li:first-child { padding-top: 0; }
.commit-list svg { width: 26px; height: 26px; color: var(--brick); margin-top: 3px; }
.commit-list h3 { margin-bottom: 4px; font-size: 1.08rem; }
.commit-list p { margin: 0; color: var(--muted); font-size: .97rem; }
.commit-panel { background: var(--paper-2); padding: 40px; border-left: 4px solid var(--brick); }
.commit-panel dl { margin: 24px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: .95rem; }
.commit-panel dt { color: var(--muted); }
.commit-panel dd { margin: 0; font-weight: 600; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; }
.contact-info a { color: var(--paper); }
.contact-line { display: flex; gap: 14px; align-items: flex-start; margin-top: 28px; }
.contact-line svg { width: 22px; height: 22px; color: var(--brick); flex: none; margin-top: 4px; }
.contact-line strong { display: block; font-family: var(--head); color: var(--white); }
form.quote { background: var(--paper); color: var(--ink); padding: 40px; border-radius: var(--radius); }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: 6px; color: var(--ink-2); }
input, select, textarea {
  width: 100%; font: inherit; font-size: .98rem; color: var(--ink);
  padding: 12px 14px; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--brick); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--ink-2); margin: 14px 0 0; }
form.quote .btn { width: 100%; justify-content: center; }

/* Footer */
.site-footer { background: #0f1513; color: #a5aea9; padding: 56px 0 36px; font-size: .9rem; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; padding-bottom: 32px; border-bottom: 1px solid #26302c; }
.site-footer .brand-name { color: var(--paper); }
.site-footer .brand-name small { color: #7d8781; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--white); }
.legal { padding-top: 24px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; }

/* Simple page */
.page { padding: 72px 0 96px; }
.page .wrap { max-width: 780px; }
.page h2 { font-size: 1.4rem; margin-top: 2em; }

/* Responsive */
@media (max-width: 960px) {
  .hero .wrap, .section-head, .commit-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .section-head { gap: 8px; margin-bottom: 40px; }
  .hero-art { max-width: 520px; }
  .services { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr 1fr; gap: 40px 0; }
  .step::after { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px 24px 20px; }
  .nav.open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; justify-content: center; border-bottom: 0; }
  .nav-toggle { display: block; }
  .hero { padding: 56px 0 64px; }
  .section { padding: 72px 0; }
  .services, .clients, .process, .field-row { grid-template-columns: 1fr; }
  form.quote, .commit-panel { padding: 28px 22px; }
}
