:root {
  --brand:       #111111;
  --brand-dark:  #000000;
  --brand-light: #f0f0f0;
  --accent:      #555555;
  --text:        #111111;
  --text-muted:  #666666;
  --bg:          #ffffff;
  --bg-alt:      #f5f5f5;
  --border:      #e0e0e0;
  --radius:      10px;
  --shadow:      0 4px 24px rgba(0,0,0,0.09);
  --font-head:   'Space Grotesk', sans-serif;
  --font-body:   'Inter', sans-serif;
  --max-w:       1160px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--bg); line-height: 1.65; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 90%; max-width: var(--max-w); margin: 0 auto; }
h1,h2,h3 { font-family: var(--font-head); line-height: 1.15; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.1rem; font-weight: 600; }
em { color: var(--text); font-style: italic; }
.section-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem; }
.section-header { text-align: center; max-width: 560px; margin: 0 auto 3rem; }

.btn { display: inline-flex; align-items: center; background: var(--brand); color: #fff; padding: 0.75rem 1.75rem; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; border: 2px solid transparent; cursor: pointer; transition: background 0.2s, transform 0.15s; }
.btn:hover { background: var(--brand-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--text); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.85rem; }

/* NAV */
.nav { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav__inner { display: flex; align-items: center; height: 64px; gap: 2rem; }
.nav__logo { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; flex: 1; letter-spacing: 0.04em; }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a { font-size: 0.875rem; font-weight: 500; color: var(--text-muted); transition: color 0.15s; }
.nav__links a:hover { color: var(--brand); }
.nav__toggle { display: none; background: none; border: none; font-size: 1.4rem; cursor: pointer; }

/* HERO */
.hero { padding: clamp(5rem, 12vw, 9rem) 0 clamp(4rem, 8vw, 6rem); overflow: hidden; position: relative; }
.hero__inner { position: relative; z-index: 1; }
.hero__tag { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--brand-light); color: var(--text); border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.8rem; font-weight: 600; margin-bottom: 2rem; }
.hero__title { max-width: 800px; margin-bottom: 1.5rem; }
.hero__sub { font-size: 1.1rem; color: var(--text-muted); max-width: 520px; margin-bottom: 2.25rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero__deco { position: absolute; top: -10%; right: -5%; width: 50vw; max-width: 600px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--brand-light) 0%, transparent 70%); z-index: 0; pointer-events: none; opacity: 0.6; }

/* WORK / CASES */
.work { padding: clamp(3rem, 8vw, 5rem) 0; background: var(--bg-alt); }
.work__grid { display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: auto auto; gap: 1rem; }
.work__item { border-radius: var(--radius); overflow: hidden; background: var(--bg); box-shadow: var(--shadow); transition: transform 0.25s, box-shadow 0.25s; cursor: pointer; }
.work__item:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.14); }
.work__item--wide { grid-column: span 4; }
.work__item:not(.work__item--wide) { grid-column: span 2; }
.work__img { aspect-ratio: 4/3; display: flex; align-items: center; justify-content: center; }
.work__img--1 { background: linear-gradient(135deg, #0a0a0a 0%, #3a3a3a 100%); }
.work__img--2 { background: linear-gradient(135deg, #1a1a1a 0%, #555555 100%); }
.work__img--3 { background: linear-gradient(135deg, #111111 0%, #444444 100%); }
.work__img--4 { background: linear-gradient(135deg, #222222 0%, #666666 100%); }
.work__img--5 { background: linear-gradient(135deg, #0d0d0d 0%, #2e2e2e 100%); }
.case__icon { font-size: clamp(2rem, 5vw, 3rem); line-height: 1; opacity: 0.85; }
.work__info { padding: 1rem 1.25rem; }
.work__info h3 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.work__info p { font-size: 0.8rem; color: var(--text-muted); }

/* SERVICES */
.services { padding: clamp(3rem, 8vw, 5rem) 0; }
.services__list { display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.service { display: grid; grid-template-columns: 60px 1fr auto; align-items: center; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--border); }
.service__num { font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; color: #cccccc; }
.service__body h3 { margin-bottom: 0.4rem; }
.service__body p { color: var(--text-muted); font-size: 0.9rem; }
.service__from { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--accent); white-space: nowrap; }

/* ABOUT */
.about { background: var(--bg-alt); padding: clamp(3rem, 8vw, 5rem) 0; }
.about__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: center; }
.about__img-placeholder { background: linear-gradient(160deg, #111 0%, #3a3a3a 100%); border-radius: var(--radius); aspect-ratio: 3/4; max-height: 480px; display: flex; align-items: center; justify-content: center; }
.about__icon { font-size: 5rem; line-height: 1; }
.about__text h2 { margin: 0.5rem 0 1rem; }
.about__text p { color: var(--text-muted); }
.about__skills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.about__skills span { background: var(--brand-light); color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 0.3rem 0.85rem; font-size: 0.8rem; font-weight: 600; }

/* CONTACT */
.contact { padding: clamp(3rem, 8vw, 5rem) 0; }
.contact__inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 5rem; align-items: start; }
.contact__left h2 { margin: 0.5rem 0 1rem; }
.contact__left p { color: var(--text-muted); }
.contact__links { display: flex; flex-direction: column; gap: 0.5rem; margin-top: 1.5rem; }
.contact__links a { color: var(--brand); font-weight: 600; font-size: 0.95rem; text-decoration: underline; text-underline-offset: 3px; }
.contact__form { display: flex; flex-direction: column; gap: 1rem; }
.contact__form input, .contact__form textarea { border: 1.5px solid var(--border); border-radius: var(--radius); padding: 0.75rem 1rem; font-family: var(--font-body); font-size: 0.9rem; color: var(--text); background: var(--bg); width: 100%; transition: border-color 0.15s; }
.contact__form input:focus, .contact__form textarea:focus { outline: none; border-color: var(--brand); }

/* FOOTER */
.footer { background: #111111; color: rgba(255,255,255,0.5); padding: 1.75rem 0; }
.footer__inner { display: flex; align-items: center; gap: 2rem; flex-wrap: wrap; }
.footer__name { font-family: var(--font-head); font-weight: 700; color: #fff; flex: 1; letter-spacing: 0.04em; }
.footer__copy { font-size: 0.85rem; }
.footer__links { display: flex; gap: 1.5rem; }
.footer__links a { font-size: 0.875rem; transition: color 0.15s; }
.footer__links a:hover { color: #fff; }

@media (max-width: 900px) {
  .work__item--wide { grid-column: span 6; }
  .work__item:not(.work__item--wide) { grid-column: span 3; }
  .service { grid-template-columns: 48px 1fr; }
  .service__from { display: none; }
}
@media (max-width: 768px) {
  .nav__links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: var(--bg); border-bottom: 1px solid var(--border); padding: 1rem 5%; gap: 1rem; }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: block; }
  .nav__inner { position: relative; }
  .work__item { grid-column: span 6 !important; }
  .about__inner, .contact__inner { grid-template-columns: 1fr; gap: 2rem; }
  .about__img-wrap { display: none; }
  .footer__inner { flex-direction: column; text-align: center; gap: 1rem; }
}
