:root {
  --bg: #f7f3ec;
  --surface: #fffdf9;
  --soft: #eee7dc;
  --text: #1f2321;
  --muted: #6a6f6c;
  --accent: #b5654a;
  --accent-dark: #8d4634;
  --dark: #1f2a27;
  --border: rgba(31,35,33,.11);
  --shadow: 0 22px 60px rgba(31,35,33,.10);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.section-pad { padding: 96px 0; }
.soft-bg { background: var(--soft); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(247,243,236,.86);
  border-bottom: 1px solid rgba(31,35,33,.06);
}
.nav-wrap { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--dark); color: white; font-size: 13px; letter-spacing: .06em; }
.brand-text { font-size: 16px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 600; }
.nav a { color: #4d514f; }
.nav a:hover { color: var(--text); }
.nav-cta { padding: 11px 16px; border-radius: 999px; background: var(--dark); color: white !important; }
.menu-toggle { display: none; border: 0; background: transparent; font-size: 24px; cursor: pointer; }

.hero { padding-top: 104px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 72px; }
.eyebrow { margin: 0 0 18px; font-size: 12px; font-weight: 700; letter-spacing: .18em; color: var(--accent-dark); }
h1, h2 { font-family: "Playfair Display", serif; line-height: 1.08; margin: 0; }
h1 { font-size: clamp(48px, 7vw, 78px); max-width: 800px; }
h1 span { color: var(--accent-dark); }
h2 { font-size: clamp(36px, 5vw, 54px); }
h3 { margin: 0 0 10px; line-height: 1.25; }
.hero-text { max-width: 690px; margin: 28px 0 0; font-size: 19px; color: var(--muted); }
.hero-actions { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 700; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: white; box-shadow: 0 10px 24px rgba(181,101,74,.22); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary { border: 1px solid var(--border); background: rgba(255,255,255,.5); }
.hero-note { margin-top: 24px; display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4b8b64; box-shadow: 0 0 0 5px rgba(75,139,100,.12); }

.hero-visual { position: relative; min-height: 440px; display: grid; place-items: center; }
.workspace-card { width: min(100%, 500px); background: #efe8dc; border: 1px solid rgba(31,35,33,.09); border-radius: 28px; box-shadow: var(--shadow); transform: rotate(1deg); overflow: hidden; }
.window-bar { height: 42px; display: flex; gap: 7px; align-items: center; padding: 0 16px; border-bottom: 1px solid rgba(31,35,33,.08); }
.window-bar span { width: 9px; height: 9px; border-radius: 50%; background: rgba(31,35,33,.2); }
.workspace-content { padding: 20px; display: grid; gap: 14px; }
.mini-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.mini-panel { padding: 20px; min-height: 150px; border-radius: 18px; background: var(--surface); border: 1px solid rgba(31,35,33,.08); }
.mini-panel strong { display: block; margin: 14px 0 8px; font-size: 18px; }
.mini-panel p { margin: 0; color: var(--muted); font-size: 14px; }
.mini-label { font-size: 10px; letter-spacing: .16em; font-weight: 700; color: var(--accent-dark); }
.flow-row { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; margin-top: 26px; }
.flow-node { padding: 11px 14px; border-radius: 12px; background: var(--soft); font-size: 13px; font-weight: 700; }
.flow-node.accent { background: var(--accent); color: #fff; }
.flow-line { height: 1px; background: #c8bfb1; }
.floating-note { position: absolute; padding: 12px 16px; border-radius: 14px; background: var(--surface); box-shadow: 0 14px 34px rgba(31,35,33,.12); font-size: 13px; font-weight: 700; }
.note-one { left: -8px; bottom: 54px; transform: rotate(-4deg); }
.note-two { right: -10px; top: 42px; transform: rotate(3deg); }

.trust-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: rgba(255,255,255,.28); }
.trust-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.trust-grid div { padding: 24px 32px; border-right: 1px solid var(--border); }
.trust-grid div:last-child { border-right: 0; }
.trust-grid strong { display: block; margin-bottom: 2px; }
.trust-grid span { color: var(--muted); font-size: 14px; }

.section-heading { max-width: 780px; margin-bottom: 44px; }
.section-heading p:last-child { margin: 20px 0 0; color: var(--muted); font-size: 18px; }
.cards { display: grid; gap: 18px; }
.four-col { grid-template-columns: repeat(4,1fr); }
.three-col { grid-template-columns: repeat(3,1fr); }
.service-card, .project-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; min-height: 250px; transition: transform .25s ease, box-shadow .25s ease; }
.service-card:hover, .project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.service-card .icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--soft); margin-bottom: 36px; font-size: 20px; }
.service-card p, .project-card p { color: var(--muted); margin-bottom: 0; }

.question-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.question-copy p { margin-top: 0; color: var(--muted); font-size: 18px; }
.question-copy strong { color: var(--text); }

.dark-section { background: var(--dark); color: white; }
.light .eyebrow { color: #e3ad98; }
.light p { color: rgba(255,255,255,.68) !important; }
.solution-list { border-top: 1px solid rgba(255,255,255,.14); }
.solution-item { display: grid; grid-template-columns: 80px 1fr; gap: 16px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.solution-item > span { color: #d39a83; font-weight: 700; }
.solution-item h3 { font-size: 23px; }
.solution-item p { margin: 6px 0 0; color: rgba(255,255,255,.66); }

.project-card { min-height: 300px; display: flex; flex-direction: column; }
.project-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 68px; color: var(--muted); font-size: 12px; }
.project-tag { padding: 7px 10px; border-radius: 999px; background: var(--soft); color: var(--accent-dark); font-weight: 700; letter-spacing: .08em; }
.project-card h3 { font-size: 24px; }

.process-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid var(--border); }
.process-step { padding: 26px 26px 0 0; }
.process-step span { color: var(--accent-dark); font-weight: 700; font-size: 13px; }
.process-step h3 { margin-top: 36px; font-size: 21px; }
.process-step p { color: var(--muted); }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 84px; align-items: center; }
.about-visual { min-height: 440px; border-radius: 30px; background: linear-gradient(145deg, #d6c7b8, #8c6e61); position: relative; overflow: hidden; }
.about-visual::before { content:""; position:absolute; inset:0; background: radial-gradient(circle at 28% 22%, rgba(255,255,255,.38), transparent 34%), linear-gradient(to bottom right, transparent, rgba(25,25,25,.15)); }
.quote-card { position: absolute; left: 28px; right: 28px; bottom: 28px; z-index: 1; padding: 24px; border-radius: 18px; background: rgba(255,253,249,.9); backdrop-filter: blur(10px); }
.quote-card span { font-family: Georgia, serif; font-size: 44px; line-height: .5; color: var(--accent-dark); }
.quote-card p { margin: 10px 0 0; font-family: "Playfair Display", serif; font-size: 24px; }
.about-copy p { color: var(--muted); font-size: 17px; }
.about-copy strong { color: var(--text); }
.signature-line { color: var(--accent-dark) !important; font-family: "Playfair Display", serif; font-size: 24px !important; font-weight: 700; }

.contact-section { padding-top: 48px; }
.contact-card { text-align: center; background: var(--surface); border: 1px solid var(--border); border-radius: 32px; padding: 72px 28px; box-shadow: var(--shadow); }
.contact-card p { max-width: 720px; margin: 20px auto 0; color: var(--muted); font-size: 18px; }
.contact-card .btn { margin-top: 30px; }
.contact-note { font-size: 14px !important; }
.site-footer { padding: 42px 0 58px; }
.footer-wrap { display: flex; justify-content: space-between; gap: 28px; align-items: end; border-top: 1px solid var(--border); padding-top: 28px; }
.footer-wrap p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@media (max-width: 980px) {
  .hero-grid, .question-grid, .about-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 46px; }
  .four-col, .process-grid { grid-template-columns: repeat(2,1fr); }
  .about-visual { min-height: 360px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, 1120px); }
  .section-pad { padding: 72px 0; }
  .hero { padding-top: 70px; }
  .nav { position: absolute; top: 72px; left: 14px; right: 14px; display: none; flex-direction: column; align-items: stretch; gap: 8px; padding: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 10px 12px; }
  .menu-toggle { display: block; }
  .brand-text { font-size: 15px; }
  h1 { font-size: clamp(44px, 15vw, 62px); }
  h2 { font-size: 38px; }
  .hero-text { font-size: 17px; }
  .hero-visual { min-height: 360px; }
  .mini-grid { grid-template-columns: 1fr; }
  .floating-note { font-size: 11px; }
  .note-one { left: 0; bottom: 6px; }
  .note-two { right: 0; top: 8px; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid div { border-right: 0; border-bottom: 1px solid var(--border); padding: 18px 0; }
  .trust-grid div:last-child { border-bottom: 0; }
  .four-col, .three-col, .process-grid { grid-template-columns: 1fr; }
  .service-card, .project-card { min-height: auto; }
  .project-top { margin-bottom: 42px; }
  .solution-item { grid-template-columns: 52px 1fr; }
  .footer-wrap { flex-direction: column; align-items: flex-start; }
}
