@import url('https://fonts.googleapis.com/css2?family=Unbounded:wght@300;400;700&family=Jost:wght@300;400;500&family=Syne:wght@400;500&display=swap');

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

:root {
  --bg:       #0d0d0b;
  --bg-2:     #141412;
  --bg-3:     #1c1c19;
  --ink:      #f0efe8;
  --ink-2:    #8a8a7e;
  --ink-3:    #7e7e76;
  --rule:     #252520;
  --accent:   #e8d5a3;
  --accent-2: #c4a96b;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Syne', sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}

.cursor {
  position: fixed;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s;
}
.cursor-ring {
  position: fixed;
  width: 32px; height: 32px;
  border: 1px solid rgba(232,213,163,0.35);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width 0.3s ease, height 0.3s ease, border-color 0.2s;
}

nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 56px;
  border-bottom: 1px solid var(--rule);
  background: rgba(13,13,11,0.92);
  backdrop-filter: blur(16px);
}
.nav-logo { text-decoration: none; }
.nav-logo img { height: 28px; width: auto; display: block; opacity: 0.85; transition: opacity 0.2s; }
.nav-logo img:hover { opacity: 1; }
.nav-links { display: flex; gap: 32px; list-style: none; align-items: center; }
.nav-links a {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-avail {
  display: flex;
  align-items: center;
  gap: 7px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.avail-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #4caf50;
  animation: pulse 2.5s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.page-wrap { padding-top: 56px; }

.section-inner { padding: 80px 40px; border-bottom: 1px solid var(--rule); max-width: 1800px; margin: 0 auto; }

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 64px;
}
.section-num {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--accent-2);
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
.section-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--ink);
  line-height: 1;
}
.section-line { flex: 1; height: 1px; background: var(--rule); margin-bottom: 4px; }

.page-hero {
  padding: 100px 40px 72px;
  border-bottom: 1px solid var(--rule);
}
.page-hero-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--accent-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.page-hero-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--accent-2);
}
.page-hero h1 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(36px, 6vw, 76px);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 900px;
}
.page-hero-desc {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 560px;
  line-height: 1.8;
  border-left: 1px solid var(--rule);
  padding-left: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid;
  cursor: none;
  transition: all 0.2s;
}
.btn-primary { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--rule); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }

footer {
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-copy {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.footer-links { display: flex; gap: 24px; list-style: none; }
.footer-links a {
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--ink-3);
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--accent); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Next project preview ─────────────────────────────── */
.next-project {
  display: block;
  text-decoration: none;
  padding: 80px 40px 100px;
  border-top: 2px solid var(--accent-2);
  background: var(--bg-2);
  transition: background 0.35s;
  cursor: none;
}
.next-project:hover { background: var(--bg-3); }
.next-project-label {
  display: block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  color: var(--accent);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 56px;
}
.next-project-eyebrow {
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--accent-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.next-project-eyebrow::before {
  content: '';
  display: block;
  width: 24px; height: 1px;
  background: var(--accent-2);
  flex-shrink: 0;
}
.next-project-title {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 300;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.0;
  margin-bottom: 24px;
  max-width: 1000px;
}
.next-project-desc {
  font-size: 18px;
  color: var(--ink);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 40px;
}
.next-project-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: gap 0.25s, color 0.25s;
}
.next-project-cta svg { stroke: currentColor; transition: transform 0.25s; }
.next-project:hover .next-project-cta { gap: 22px; color: #ffffff; }
.next-project:hover .next-project-cta svg { transform: translateX(4px); }

/* ── Mobile burger + overlay ─────────────────────────── */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 200;
}
.nav-burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 56px 0 0 0;
  background: var(--bg);
  z-index: 99;
  flex-direction: column;
  justify-content: center;
  padding: 48px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.mobile-menu.open { opacity: 1; pointer-events: all; }
.mobile-menu nav-links-mobile { list-style: none; }
.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}
.mobile-menu ul a {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(40px, 14vw, 64px);
  font-weight: 300;
  color: var(--ink-2);
  text-decoration: none;
  letter-spacing: -0.03em;
  line-height: 1.15;
  display: block;
  transition: color 0.2s;
}
.mobile-menu ul a:hover { color: var(--ink); }
.mobile-menu-avail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}

/* ── Skip link ────────────────────────────────────────── */
.skip-link {
  position: fixed;
  top: -100%;
  left: 0;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--bg);
  font-family: 'Jost', sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 9999;
}
.skip-link:focus { top: 0; }

/* ── Focus indicators ─────────────────────────────────── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 1px var(--accent);
}

@media (max-width: 768px) {
  body { cursor: auto; }
  .cursor, .cursor-ring { display: none; }
  nav { padding: 0 20px; }
  .section-inner { padding: 56px 20px; }
  .page-hero { padding: 80px 20px 56px; }
  footer { padding: 24px 20px; }
  .next-project { padding: 56px 20px 72px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .mobile-menu { display: flex; }
}
