:root {
  --bg: #f6f4ef;            /* off-white background */
  --bg-soft: #efece4;
  --ink: #1d1b16;
  --muted: #6f6a5e;
  --line: #e3ded2;
  --accent: #b3832a;
  --accent-ink: #8a6216;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Fraunces', Georgia, serif;
  --wrap: 1160px;
  --radius: 16px;
  --shadow: 0 10px 34px rgba(29, 27, 22, 0.07);
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

/* NAVBAR */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 32px;
  background: rgba(246, 244, 239, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__logo { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; }
.nav__dot { color: var(--accent); }
.nav__links { display: flex; gap: 30px; }
.nav__links a { font-size: 0.92rem; font-weight: 500; color: var(--muted); transition: color 0.2s ease; }
.nav__links a:hover { color: var(--ink); }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav__toggle span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.open span:nth-child(2) { opacity: 0; }
.nav__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px;
  min-height: 82vh; padding: 72px 32px; overflow: hidden;
}
.hero__art { position: relative; height: 100%; min-height: 420px; }
.hero__art svg, .hero__art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero__content { max-width: 560px; }
.hero__eyebrow { text-transform: uppercase; letter-spacing: 3px; font-size: 0.78rem; font-weight: 600; color: var(--accent); margin-bottom: 20px; }
.hero__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.6rem, 5.5vw, 4.2rem); line-height: 1.08; margin-bottom: 20px; }
.hero__title em { font-style: italic; color: var(--accent); }
.hero__sub { font-size: 1.08rem; color: var(--muted); margin-bottom: 34px; max-width: 460px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* BUTTONS */
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; font-weight: 600; font-size: 0.92rem; transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.btn--solid { background: var(--ink); color: var(--bg); }
.btn--solid:hover { background: var(--accent-ink); color: #fff; transform: translateY(-2px); }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); transform: translateY(-2px); }

/* SECTIONS */
.section { padding: 96px 32px; }
.section__head { margin-bottom: 48px; }
.section__label { text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem; font-weight: 600; color: var(--accent); margin-bottom: 12px; }
.section__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; }

/* ABOUT */
.about { background: var(--bg-soft); }
.about__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about__text p { color: var(--muted); font-size: 1.05rem; margin-bottom: 16px; }
.about__facts { list-style: none; border-top: 1px solid var(--line); }
.about__facts li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--muted); }
.about__facts strong { color: var(--ink); font-weight: 600; }

/* WORK */
.work__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px; }
.card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--bg-soft); }
.card__media svg, .card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.35s ease; }
.card:hover .card__media img, .card:hover .card__media svg { transform: scale(1.04); }
.card__body { padding: 22px 24px 26px; }
.card__title { font-family: var(--font-display); font-weight: 500; font-size: 1.3rem; margin-bottom: 4px; }
.card__meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; color: var(--accent); margin-bottom: 10px; }
.card__desc { color: var(--muted); font-size: 0.95rem; }

/* VIDEO */
.video { background: var(--bg-soft); }
.video__frame { max-width: 960px; margin: 0 auto; border-radius: var(--radius); overflow: hidden; background: #111; box-shadow: var(--shadow); }
.video__frame video { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; background: #111; }

/* CLIENTS */
.clients__wall { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 18px; }
.clients__wall li { display: flex; align-items: center; justify-content: center; min-height: 96px; padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); font-family: var(--font-display); font-size: 1.1rem; color: var(--muted); transition: color 0.2s ease, border-color 0.2s ease; }
.clients__wall li:hover { color: var(--ink); border-color: var(--accent); }
.clients__wall img { max-height: 56px; width: auto; }

/* CONTACT */
.contact { background: var(--bg-soft); text-align: center; }
.contact__mail { display: inline-block; font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.4rem); color: var(--ink); border-bottom: 2px solid var(--accent); padding-bottom: 6px; margin-bottom: 32px; transition: color 0.2s ease; }
.contact__mail:hover { color: var(--accent-ink); }
.contact__socials { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.contact__socials a { font-size: 0.95rem; font-weight: 500; color: var(--muted); transition: color 0.2s ease; }
.contact__socials a:hover { color: var(--ink); }

/* FOOTER */
.footer { padding: 28px 32px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.88rem; }

/* LIGHTBOX */
.lightbox { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; background: rgba(20, 18, 14, 0.92); padding: 24px; cursor: pointer; }
.lightbox__figure { max-width: min(1100px, 92vw); }
.lightbox__figure img { width: 100%; max-height: 86vh; object-fit: contain; border-radius: 8px; }
.lightbox__close { position: absolute; top: 20px; right: 26px; background: none; border: 0; color: #fff; font-size: 2.4rem; line-height: 1; cursor: pointer; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .nav__links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 0; }
  .nav__links.open { display: flex; }
  .nav__links a { padding: 14px 32px; }
  .nav__toggle { display: flex; }
  .hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; min-height: auto; }
  .hero__art { min-height: 300px; }
  .about__grid { grid-template-columns: 1fr; gap: 32px; }
  .section { padding: 64px 24px; }
}
