@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400&family=Playfair+Display:ital,wght@0,700;0,900;1,700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #faf9f7;
  --dark: #0e0e0d;
  --text: #1a1917;
  --text-dim: #6b665e;
  --text-mute: #a09a90;
  --orange: #d95b1f;
  --orange-hot: #e8641e;
  --mono: 'JetBrains Mono', monospace;
  --sans: 'DM Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); font-size: 15px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }


/* ===== TOPBAR (nav + hero combined) ===== */
.topbar {
  padding: 24px 0 16px;
  background: var(--bg);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.topbar__brand {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
}
.topbar__logo {
  display: inline-flex; align-items: center;
}
.topbar__logo img { height: 28px; width: auto; display: block; }
.topbar__sep {
  width: 1px; height: 20px; background: hsla(30,10%,40%,0.22); display: inline-block;
}
.topbar__title {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 700; line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 0;
}
.topbar__title em {
  font-style: italic;
  font-weight: 700;
  color: var(--orange);
}
.topbar__sub {
  margin-top: 8px;
  font-size: 13px; color: var(--text-dim); max-width: 520px; line-height: 1.5;
}

.nav__burger {
  width: 28px; height: 28px;
  display: flex; flex-direction: column; justify-content: center; align-items: flex-end; gap: 5px;
  z-index: 301;
}
.nav__burger span { height: 2px; background: var(--text); border-radius: 2px; transition: all 0.35s var(--ease); }
.nav__burger span:nth-child(1) { width: 28px; }
.nav__burger span:nth-child(2) { width: 18px; }
.nav__burger.active span { background: #fff; }
.nav__burger.active span:nth-child(1) { width: 28px; transform: translateY(3.5px) rotate(45deg); }
.nav__burger.active span:nth-child(2) { width: 28px; transform: translateY(-3.5px) rotate(-45deg); }

/* ===== FULLSCREEN MENU ===== */
.menu-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: var(--dark);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.35s var(--ease);
}
.menu-overlay.open { opacity: 1; pointer-events: auto; }
.menu-overlay nav { text-align: center; display: flex; flex-direction: column; gap: 6px; }
.menu-overlay__link {
  font-family: var(--sans); font-size: clamp(32px, 5vw, 52px); font-weight: 700;
  color: hsla(36,10%,80%,0.4); transition: color 0.2s; display: block;
}
.menu-overlay__link:hover { color: #fff; }
.menu-overlay__bottom {
  position: absolute; bottom: 32px; left: 0; right: 0; text-align: center;
  font-family: var(--mono); font-size: 11px; color: hsla(36,10%,60%,0.3);
}
.menu-overlay__bottom a { color: var(--orange); }


/* ===== SERVICES — asymmetric image grid ===== */
.services { padding: 8px 0 0; }
.services__label {
  font-family: var(--mono); font-size: 11px;
  color: var(--text-mute); letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 12px;
}

.services__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: auto auto;
  gap: 2px;
}

.srv {
  position: relative; overflow: hidden;
  background: var(--dark); min-height: 180px;
  cursor: default;
}
.srv:first-child { grid-row: 1 / 3; min-height: 340px; }
.srv:last-child { grid-column: 1 / -1; min-height: 180px; }

.srv img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.5; filter: saturate(0.6);
  transition: opacity 0.4s, transform 0.5s var(--ease), filter 0.4s;
}
.srv:hover img { opacity: 0.8; transform: scale(1.03); filter: saturate(1); }

.srv__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 18px 20px;
  background: linear-gradient(0deg, hsla(0,0%,0%,0.55) 0%, transparent 50%);
}
.srv__num {
  font-family: var(--mono); font-size: 9px;
  color: var(--orange); letter-spacing: 0.06em; margin-bottom: 2px;
}
.srv__name {
  font-family: var(--sans); font-size: clamp(18px, 2.5vw, 28px);
  font-weight: 700; color: #fff; line-height: 1.15;
}
.srv__desc {
  font-size: 12px; color: hsla(0,0%,100%,0.5); line-height: 1.4; margin-top: 2px;
}


/* ===== EXPERTISE ===== */
.expertise {
  background: var(--dark); color: var(--bg);
  padding: 36px 0; margin-top: 2px;
}
.expertise__title {
  font-family: var(--sans); font-size: clamp(20px, 3vw, 28px);
  font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.expertise__cols {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.expertise__group-title {
  font-family: var(--mono); font-size: 10px;
  color: var(--orange); letter-spacing: 0.06em; text-transform: uppercase;
  margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid hsla(36,10%,50%,0.12);
}
.exp {
  padding: 10px 0;
}
.exp__dot { width: 6px; height: 6px; border-radius: 50%; background: var(--orange); margin-bottom: 5px; }
.exp__name { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.exp__desc { font-size: 12px; color: hsla(36,10%,80%,0.4); line-height: 1.5; }


/* ===== ABOUT ===== */
.about { padding: 32px 0 24px; }
.about__row {
  display: flex; justify-content: space-between; align-items: start;
  gap: 40px; flex-wrap: wrap;
}
.about__heading {
  font-family: var(--sans); font-size: 22px; font-weight: 900;
  letter-spacing: -0.02em;
}
.about__sub {
  font-family: var(--mono); font-size: 11px; color: var(--text-mute);
  margin-top: 2px; letter-spacing: 0.04em;
}
.about__body { max-width: 480px; }
.about__body p {
  font-size: 14px; color: var(--text-dim); line-height: 1.65;
}
.about__links {
  display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap;
}
.about__ext {
  font-family: var(--mono); font-size: 11px;
  color: var(--orange); letter-spacing: 0.03em;
}
.about__ext:hover { text-decoration: underline; }


/* ===== CONTACT ===== */
.contact { padding: 24px 0 32px; border-top: 1px solid hsla(30,10%,50%,0.1); }
.contact__row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 36px; align-items: start; }
.contact__heading { font-family: var(--sans); font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.contact__info { display: flex; flex-direction: column; gap: 5px; }
.contact__line { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.contact__key { font-family: var(--mono); font-size: 10px; color: var(--text-mute); width: 44px; flex-shrink: 0; text-transform: uppercase; }
.contact__line a { color: var(--orange); font-weight: 500; }
.contact__line a:hover { text-decoration: underline; }

.contact__form { display: flex; flex-direction: column; gap: 8px; }
.contact__split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact__form input,
.contact__form textarea {
  width: 100%; padding: 9px 12px;
  font-family: var(--sans); font-size: 13px;
  background: #f0ede8; border: 1px solid transparent;
  border-radius: 3px; color: var(--text); outline: none;
  transition: border-color 0.2s;
}
.contact__form input:focus,
.contact__form textarea:focus { border-color: var(--orange); }
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: var(--text-mute); }
.contact__form textarea { min-height: 72px; resize: vertical; }
.contact__btn {
  align-self: flex-start; padding: 8px 24px;
  font-size: 11px; font-weight: 700;
  background: var(--orange); color: #fff;
  border-radius: 100px; text-transform: uppercase; letter-spacing: 0.04em;
  transition: background 0.2s;
}
.contact__btn:hover { background: var(--orange-hot); }


/* ===== FOOTER ===== */
.footer { padding: 12px 0; }
.footer__inner { display: flex; align-items: center; justify-content: center; }
.footer__copy { font-family: var(--mono); font-size: 10px; color: var(--text-mute); }


/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .topbar { padding: 18px 0 12px; }
  .topbar__brand { gap: 12px; }
  .topbar__sep { height: 16px; }
  .services__grid { grid-template-columns: 1fr; }
  .srv:first-child { grid-row: auto; min-height: 200px; }
  .srv:last-child { grid-column: auto; }
  .expertise__cols { grid-template-columns: 1fr; gap: 20px; }
  .about__row { flex-direction: column; gap: 12px; }
  .contact__row { grid-template-columns: 1fr; gap: 20px; }
  .contact__split { grid-template-columns: 1fr; }
}
