/* ============================================================
   GSD Lab — styles.css
   Dark canvas, white text, burnt orange accent (#D9531E)
   ============================================================ */

:root {
  --canvas: #0a0a0a;
  --canvas-soft: #111111;
  --canvas-soft-2: #161616;
  --ink: #ffffff;
  --body: #a1a1a1;
  --mute: #6e6e6e;
  --hairline: #262626;
  --hairline-strong: #383838;
  --accent: #d9531e;
  --accent-deep: #b8410f;
  --accent-soft: rgba(217, 83, 30, 0.12);

  --font-display: "Space Grotesk", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;

  --maxw: 1080px;
  --pad: 24px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--canvas);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

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

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.section {
  padding: 96px 0;
}

.section--bordered {
  border-top: 1px solid var(--hairline);
}

/* ---------- Typography helpers ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.eyebrow__num {
  color: var(--mute);
  border: 1px solid var(--hairline-strong);
  border-radius: 3px;
  padding: 2px 6px;
  font-size: 11px;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.section__title--wide { max-width: 18ch; margin-bottom: 56px; }

.accent { color: var(--accent); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 10, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.26em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
}
.nav__logo-mark { color: var(--ink); }
.nav__logo-rest { color: var(--accent); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 15px;
  color: var(--body);
  transition: color 0.15s ease;
}
.nav__links a:hover { color: var(--ink); }

.nav__cta {
  border: 1px solid var(--hairline-strong);
  border-radius: 6px;
  padding: 8px 16px;
  color: var(--ink) !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.nav__cta:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: -240px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 620px;
  background: radial-gradient(ellipse at center,
    rgba(217, 83, 30, 0.28) 0%,
    rgba(217, 83, 30, 0.08) 38%,
    transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}

.hero .container { position: relative; }

.hero__logo {
  height: clamp(96px, 13vw, 152px);
  width: auto;
  display: block;
  margin-bottom: 30px;
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 6.4vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 16ch;
}

.hero__lead {
  margin-top: 28px;
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.6;
  max-width: 56ch;
  color: var(--body);
}

.hero__actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  margin-top: 72px;
  list-style: none;
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  border-top: 1px solid var(--hairline);
  padding-top: 32px;
}
.hero__stats li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero__stats strong {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.hero__stats span {
  font-size: 14px;
  color: var(--mute);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  padding: 13px 22px;
  border-radius: 7px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--accent);
  color: #fff;
}
.btn--primary:hover { background: var(--accent-deep); }

.btn--ghost {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--ink);
}
.btn--ghost:hover { border-color: var(--ink); }

.btn--full { width: 100%; }

/* ---------- What I Do ---------- */
.what__grid,
.about__grid,
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.section__art {
  display: flex;
  gap: 20px;
  margin-top: 44px;
}
.section__art img {
  width: clamp(116px, 16vw, 184px);
  height: auto;
  display: block;
}

.what__body p,
.about__body p,
.services__body p {
  margin-bottom: 18px;
}
.what__body p:last-child,
.about__body p:last-child,
.services__body p:last-child { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact__intro p {
  margin-top: 18px;
  max-width: 40ch;
}

.contact__art {
  width: clamp(150px, 19vw, 210px);
  height: auto;
  display: block;
  margin: 52px auto 0;
}

.contact__email {
  display: inline-block;
  margin-top: 28px;
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline-strong);
  padding-bottom: 2px;
  transition: color 0.15s ease, border-color 0.15s ease;
}
.contact__email:hover {
  color: var(--accent);
  border-color: var(--accent);
}

/* ---------- Form ---------- */
.form__row {
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form__row label {
  font-size: 14px;
  color: var(--ink);
  font-weight: 500;
}
.form__optional { color: var(--mute); font-weight: 400; }

.form input,
.form textarea {
  background: var(--canvas-soft);
  border: 1px solid var(--hairline-strong);
  border-radius: 7px;
  padding: 12px 14px;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form input:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--canvas-soft-2);
}
.form textarea { resize: vertical; }

.form__status {
  margin-top: 14px;
  font-size: 14px;
  min-height: 20px;
}
.form__status.is-ok { color: #5fbf6a; }
.form__status.is-error { color: #e5705f; }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--hairline);
  padding: 56px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer__wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.01em;
  display: inline-block;
}
.footer__brand p {
  margin-top: 12px;
  font-size: 14px;
  color: var(--mute);
  max-width: 32ch;
}
.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: var(--mute);
  text-align: right;
}
.footer__meta a:hover { color: var(--accent); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .what__grid,
  .about__grid,
  .services__grid,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .section__title--wide { margin-bottom: 36px; }
}

@media (max-width: 720px) {
  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    background: var(--canvas-soft);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 16px;
    transform: translateY(-120%);
    transition: transform 0.22s ease;
  }
  .nav__links.is-open { transform: translateY(0); }
  .nav__links a {
    padding: 14px 0;
    border-bottom: 1px solid var(--hairline);
    font-size: 16px;
  }
  .nav__cta {
    border: 0;
    border-radius: 0;
    padding: 14px 0;
  }
  .nav__cta:hover { background: transparent; }
  .nav__toggle { display: flex; }

  .nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav__toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .section { padding: 72px 0; }
  .hero { padding: 84px 0 72px; }

  .hero__stats { gap: 32px; }

}
