/* Arka Studio — public site styles
   Bold minimalist, black & gold design system. */

:root {
  --bg: #0a0a0b;
  --bg-soft: #141416;
  --bg-black: #000000;
  --surface: #18181b;
  --surface-hover: #202024;
  --border: #29292e;
  --ink: #f4f4f2;
  --ink-soft: #a7a6a2;
  --gold: #d4a83a;
  --gold-bright: #f0c14b;
  --gold-dark: #a9821f;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.75);
  font-size: 16px;
}

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

body {
  margin: 0;
  font-family: 'Roboto', system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Roboto Slab', Georgia, serif;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.9em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn--small { padding: 11px 22px; font-size: 0.88rem; }
.btn--primary { background: var(--gold); color: #0a0a0b; }
.btn--primary:hover { background: var(--gold-bright); transform: translateY(-1px); box-shadow: 0 12px 30px -10px rgba(212, 168, 58, 0.5); }
.btn--ghost { background: transparent; border-color: var(--border); color: var(--ink); }
.btn--ghost:hover { background: var(--surface); border-color: var(--gold); color: var(--gold); }
.btn--light { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255,255,255,0.22); }
.btn--light:hover { background: rgba(212,168,58,0.16); border-color: var(--gold); color: var(--gold-bright); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10, 10, 11, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 18px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.brand__mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #0a0a0b;
  font-family: 'Roboto Slab', serif;
  font-weight: 700;
  font-size: 1.1rem;
}
.brand__text { font-family: 'Roboto Slab', serif; font-size: 1.2rem; letter-spacing: -0.01em; color: var(--ink); }

.site-nav { display: flex; gap: 26px; margin-left: auto; }
.nav-link { font-size: 0.92rem; font-weight: 500; color: var(--ink-soft); padding: 6px 2px; border-bottom: 2px solid transparent; }
.nav-link:hover, .nav-link--active { color: var(--gold-bright); border-color: var(--gold); }
.site-header__cta { margin-left: 8px; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }
.site-nav--mobile { display: none; flex-direction: column; gap: 4px; padding: 0 24px 18px; }
.site-nav--mobile.is-open { display: flex; }
.site-nav--mobile a { padding: 10px 4px; border-bottom: 1px solid var(--border); }

@media (max-width: 860px) {
  .site-nav:not(.site-nav--mobile) { display: none; }
  .site-header__cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: var(--bg-black);
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.92) 100%);
}
.hero__content { position: relative; padding: 90px 0 70px; max-width: 760px; }
.hero__content p { color: rgba(244,244,242,0.78); font-size: 1.1rem; max-width: 560px; }
.hero__actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }
.section--alt { background: var(--bg-soft); }
.section--dark { background: var(--bg-black); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section--dark h2, .section--dark h3 { color: var(--ink); }
.section--dark p { color: var(--ink-soft); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 20px 10px; }
.stat__num { font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 2.4rem; color: var(--gold); }
.stat__label { font-size: 0.85rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.08em; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--2 { grid-template-columns: 1fr; } }

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--gold-dark); }
.card__index { font-family: 'Roboto Slab', serif; font-weight: 700; color: var(--gold); font-size: 1rem; margin-bottom: 10px; display: block; }

/* ---------- Project cards ---------- */
.project-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); display: flex; flex-direction: column; transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease; }
.project-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--gold-dark); }
.project-card__img { aspect-ratio: 4/3; overflow: hidden; }
.project-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s ease; }
.project-card:hover .project-card__img img { transform: scale(1.06); }
.project-card__body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.tag { display: inline-flex; align-items: center; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 8px; }
.project-card__meta { margin-top: auto; padding-top: 14px; display: flex; justify-content: space-between; font-size: 0.85rem; color: var(--ink-soft); border-top: 1px solid var(--border); }

.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filter-pill { padding: 9px 20px; border-radius: 999px; border: 1px solid var(--border); font-size: 0.85rem; font-weight: 500; color: var(--ink-soft); background: transparent; }
.filter-pill--active, .filter-pill:hover { background: var(--gold); color: #0a0a0b; border-color: var(--gold); font-weight: 600; }

/* ---------- Team ---------- */
.team-card { text-align: center; }
.team-card__photo { width: 100%; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 18px; border: 1px solid var(--border); }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.team-card__role { color: var(--gold); font-size: 0.88rem; font-weight: 600; margin-bottom: 10px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, #17140b, #0a0a0b);
  border: 1px solid var(--gold-dark);
  color: var(--ink);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}
.cta-banner h2 { color: var(--ink); margin: 0; }
.cta-banner .btn--primary { background: var(--gold); color: #0a0a0b; }
.cta-banner .btn--primary:hover { background: var(--gold-bright); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font-family: inherit;
  font-size: 0.96rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: #6b6a66; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 120px; }

.alert { padding: 16px 20px; border-radius: var(--radius-sm); margin-bottom: 24px; font-size: 0.92rem; border: 1px solid transparent; }
.alert--success { background: rgba(52, 130, 60, 0.14); color: #7fd68a; border-color: rgba(127,214,138,0.3); }
.alert--error { background: rgba(180, 60, 40, 0.14); color: #f0938a; border-color: rgba(240,147,138,0.3); }

/* ---------- Calculator ---------- */
.calculator { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.calculator__result { margin-top: 22px; padding: 22px; border-radius: var(--radius-sm); background: var(--bg-soft); border: 1px solid var(--border); }
.calculator__result strong { display: block; font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 1.6rem; color: var(--gold); margin: 4px 0 6px; }

/* ---------- Contact info ---------- */
.contact-info { display: flex; flex-direction: column; gap: 18px; }
.contact-info__item { padding: 20px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); }
.contact-info__item h4 { margin-bottom: 4px; font-size: 0.95rem; color: var(--gold); }
.contact-info__item span, .contact-info__item a { color: var(--ink-soft); font-size: 0.92rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-black); color: var(--ink); padding: 70px 0 26px; border-top: 1px solid var(--border); }
.footer__inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.footer__brand .brand__text { color: var(--ink); }
.footer__tagline { margin-top: 14px; color: var(--ink-soft); max-width: 300px; }
.footer__social { display: flex; gap: 16px; margin-top: 14px; }
.footer__social a { color: var(--ink-soft); font-size: 0.88rem; }
.footer__social a:hover { color: var(--gold); }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: var(--gold); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 6px; }
.footer__col a, .footer__col span { color: var(--ink-soft); font-size: 0.92rem; }
.footer__col a:hover { color: var(--gold-bright); }
.footer__bottom { display: flex; justify-content: space-between; padding-top: 22px; font-size: 0.82rem; color: #6b6a66; flex-wrap: wrap; gap: 8px; }
@media (max-width: 760px) { .footer__inner { grid-template-columns: 1fr; } }

/* ---------- Page hero (secondary pages) ---------- */
.page-hero { padding: 70px 0 40px; background: var(--bg-black); border-bottom: 1px solid var(--border); }
.page-hero p { max-width: 640px; font-size: 1.08rem; }

/* ---------- Project detail ---------- */
.project-hero-img { width: 100%; border-radius: var(--radius); overflow: hidden; margin-bottom: 40px; aspect-ratio: 16/8; border: 1px solid var(--border); }
.project-hero-img img { width: 100%; height: 100%; object-fit: cover; }
.project-meta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 40px; padding: 26px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.project-meta-grid div span { display: block; font-size: 0.78rem; text-transform: uppercase; color: var(--ink-soft); letter-spacing: 0.08em; margin-bottom: 6px; }
.project-meta-grid div strong { font-family: 'Roboto Slab', serif; font-weight: 700; font-size: 1.1rem; color: var(--gold); }
@media (max-width: 760px) { .project-meta-grid { grid-template-columns: repeat(2, 1fr); } }

.empty-state { text-align: center; padding: 60px 20px; color: var(--ink-soft); }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: 140px 0; background: var(--bg-black); }
.error-page h1 { font-size: 5rem; color: var(--gold); font-weight: 700; }
