:root {
  --page: #f2efe9;          /* Bone */
  --bg: #ffffff;            /* white surfaces */
  --bg-soft: #ece7de;       /* warm bone panel */
  --bg-soft-2: #e6e0d5;
  --panel: #ffffff;
  --ink: #1c2a26;           /* Charcoal */
  --muted: #5f6b64;
  --line: #e4ded3;
  --accent: #1f7a5c;        /* Emerald */
  --accent-dark: #185f48;
  --accent-soft: #e3efe8;
  --sand: #b8a98f;
  --radius: 14px;
  --maxw: 1180px;
  --shadow: 0 1px 2px rgba(28,42,38,0.04), 0 8px 30px rgba(28,42,38,0.07);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--page);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

a { color: inherit; text-decoration: none; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 32px;
  background: rgba(242,239,233,0.82); backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.nav.scrolled { border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 11px; font-weight: 600; }
.brand-mark {
  display: grid; place-items: center; width: 36px; height: 36px;
  border-radius: 9px; background: var(--accent); color: #fff;
}
.brand-mark svg { width: 20px; height: 20px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: "Fraunces", serif; font-size: 21px; font-weight: 500; letter-spacing: 0; }
.brand-tag {
  font-size: 9px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--accent); margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta {
  color: #fff !important; padding: 10px 20px; border-radius: 999px;
  background: var(--accent); font-weight: 500;
}
.nav-cta:hover { background: var(--accent-dark); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: .3s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: 999px; font-weight: 500; font-size: 15px;
  cursor: pointer; border: 1px solid transparent; transition: background .2s, border-color .2s, transform .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-1px); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { max-width: var(--maxw); margin: 0 auto; padding: 96px 32px 64px; }
.hero-inner { max-width: 820px; }
.eyebrow {
  display: inline-block; color: var(--accent); font-weight: 600; font-size: 12px;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 22px;
}
.hero-title { font-size: clamp(42px, 6.5vw, 78px); font-weight: 400; }
.grad { color: var(--accent); font-style: italic; }
.hero-sub { color: var(--muted); font-size: clamp(17px, 2vw, 20px); margin: 26px 0 36px; max-width: 600px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 56px; margin-top: 64px; flex-wrap: wrap; }
.stat { display: flex; flex-direction: column; }
.stat b { font-family: "Fraunces", serif; font-size: 32px; font-weight: 500; }
.stat span { color: var(--muted); font-size: 14px; }

/* ---------- Strip ---------- */
.strip {
  max-width: var(--maxw); margin: 24px auto; padding: 28px 32px;
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.strip > span { color: var(--muted); font-size: 14px; }
.strip ul { list-style: none; display: flex; gap: 32px; flex-wrap: wrap; }
.strip li { font-size: 14px; font-weight: 500; color: var(--ink); opacity: .55; }

/* ---------- Sections ---------- */
.section { max-width: var(--maxw); margin: 0 auto; padding: 96px 32px; }
.section-head { margin-bottom: 52px; max-width: 640px; }
.section-head h2 { font-size: clamp(30px, 4vw, 46px); margin-top: 12px; font-weight: 400; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card {
  background: var(--bg); padding: 36px 32px; transition: background .25s;
}
.card:hover { background: var(--bg-soft); }
.card-ico {
  width: 44px; height: 44px; display: grid; place-items: center; font-size: 18px;
  border-radius: 10px; background: var(--accent-soft); color: var(--accent); margin-bottom: 20px;
}
.card h3 { font-size: 22px; margin-bottom: 10px; font-weight: 500; }
.card p { color: var(--muted); font-size: 15px; }

/* ---------- Work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.work-item {
  border-radius: var(--radius); overflow: hidden;
  background: var(--bg); transition: transform .25s;
}
.work-item:hover { transform: translateY(-4px); }
.work-thumb {
  height: 280px; display: grid; place-items: center; position: relative; border-radius: var(--radius);
}
.work-thumb span { font-family: "Fraunces", serif; font-size: 30px; font-weight: 500; color: rgba(255,255,255,0.92); position: absolute; top: 22px; left: 26px; }
.thumb-1 { background: linear-gradient(160deg, #1f7a5c, #2f9b74); }
.thumb-2 { background: linear-gradient(160deg, #1c2a26, #2f4a3f); }
.thumb-3 { background: linear-gradient(160deg, #2f4a3f, #4f7a68); }
.thumb-4 { background: linear-gradient(160deg, #185f48, #1f7a5c); }
.work-meta { padding: 20px 4px; display: flex; justify-content: space-between; align-items: baseline; }
.work-meta h3 { font-size: 20px; font-weight: 500; }
.work-meta p { color: var(--muted); font-size: 14px; }
.work-note { text-align: center; color: var(--muted); margin-top: 40px; font-style: italic; font-family: "Fraunces", serif; }

/* ---------- Steps ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; counter-reset: step; }
.steps li { background: var(--bg); padding: 34px 30px; position: relative; }
.step-no {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent); font-family: "Fraunces", serif; font-weight: 500; font-size: 17px; margin-bottom: 20px;
}
.steps h3 { font-size: 20px; margin-bottom: 10px; font-weight: 500; }
.steps p { color: var(--muted); font-size: 15px; }

/* ---------- Contact ---------- */
.contact { padding-top: 40px; }
.contact-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: 20px; padding: 56px;
}
.contact-copy h2 { font-size: clamp(28px, 4vw, 42px); margin: 12px 0 16px; font-weight: 400; }
.contact-copy > p { color: var(--muted); }
.contact-direct { margin-top: 28px; }
.contact-direct a { color: var(--accent); font-weight: 600; font-size: 18px; border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0.02em; }
.field input, .field textarea {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; color: var(--ink); font: inherit; font-size: 15px; resize: vertical;
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.form-status { font-size: 14px; min-height: 18px; }
.form-status.ok { color: var(--accent); }
.form-status.err { color: #b4452f; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); margin-top: 64px; background: var(--bg-soft); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 56px 32px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-inner p { color: var(--muted); font-size: 15px; }
.copyright { font-size: 13px !important; opacity: .8; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-card { grid-template-columns: 1fr; padding: 36px; gap: 36px; }
}
@media (max-width: 720px) {
  .nav { padding: 18px 20px; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 70px; right: 16px;
    background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; gap: 16px; box-shadow: var(--shadow);
  }
  .cards, .work-grid, .steps { grid-template-columns: 1fr; }
  .hero { padding-top: 64px; }
  .hero-stats { gap: 32px; }
  .section { padding: 64px 20px; }
}
