
#mobile-hello {
  font-family: 'Russo One', sans-serif;
  font-size: clamp(64px, 20vw, 100px);
  color: #fff;
  font-weight: 700;
  text-align: center;
  width: 100%;
  line-height: 1;
  letter-spacing: 2px;
}
:root {
  --bg: #0a0a0a;
  --surface: #111;
  --border: #1e1e1e;
  --text: #e8e8e8;
  --muted: #555;
  --sans: 'Inter', -apple-system, sans-serif;
  --display: 'Russo One', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
}

#nav-island {
  display: none;
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  z-index: 99;
  background: rgba(14,14,14,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 9px 22px;
  gap: 22px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
  white-space: nowrap;
}
#nav-island.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: all;
}
#nav-island a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1px;
  transition: color .2s;
}
#nav-island a:hover,
#nav-island a:active { color: var(--text); }

#nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: 56px;
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  z-index: 100;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .4s ease, transform .4s ease, background .4s ease;
  pointer-events: none;
}
#nav.show {
  opacity: 1;
  transform: none;
  pointer-events: all;
  background: rgba(10,10,10,.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--display);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--text);
}
#nav ul { list-style: none; display: flex; gap: 36px; }
#nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  transition: color .2s;
}
#nav a:hover { color: var(--text); }

#intro {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  overflow: hidden;
}

.intro-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
  max-width: 100%;
}

#text-canvas {
  width: 96vw;
  max-width: 1200px;
  height: clamp(140px, 22vw, 360px);
  display: block;
  opacity: 0;
  animation: textIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

@keyframes textIn {
  from { opacity: 0; transform: scale(1.06); }
  to   { opacity: 1; transform: scale(1); }
}

.intro-sub {
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--muted);
  font-weight: 500;
  opacity: 0;
  animation: fadeUpSub 0.8s ease 1.2s forwards;
}

@keyframes fadeUpSub {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.scroll-down {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  animation: fadeUp 0.8s ease 1.8s forwards, bounce 2s ease 2.6s infinite;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateX(-50%) translateY(12px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

section:not(#intro) { padding: 110px 48px; }
.wrap { max-width: 960px; margin: 0 auto; }

section h2 {
  font-family: var(--display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  letter-spacing: 1px;
  margin-bottom: 56px;
  color: var(--text);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.on { opacity: 1; transform: none; }

#about { background: var(--bg); }

.about-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 72px;
  align-items: center;
}

.about-photo {
  position: relative;
  aspect-ratio: 3/4;
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 2px;
}

.about-content { display: flex; flex-direction: column; gap: 20px; }
.about-content h2 { margin-bottom: 0; }
.about-content p { color: var(--muted); font-size: 15px; line-height: 1.8; }

#projects { background: var(--surface); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.project-card {
  background: var(--surface);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  transition: background .2s;
}
.project-card:hover { background: #161616; }
.project-card.featured { background: #141414; }
.project-card.featured:hover { background: #1a1a1a; }

.proj-top { margin-bottom: 4px; }
.proj-tag {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.project-card h3 { font-size: 17px; font-weight: 700; }
.project-card p { color: var(--muted); font-size: 13px; line-height: 1.65; flex: 1; }
.proj-handle {
  font-size: 12px;
  color: var(--muted);
  font-family: var(--display);
  letter-spacing: 0.5px;
  margin-top: 6px;
  transition: color .2s;
}
.project-card:hover .proj-handle { color: var(--text); }

#services { background: var(--surface); }

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.card {
  background: var(--surface);
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: background .2s;
}
.card:hover { background: #161616; }

.card-num { font-size: 11px; letter-spacing: 3px; color: var(--muted); font-family: var(--display); }
.card h3 { font-size: 18px; font-weight: 700; letter-spacing: 0.5px; }
.card p { color: var(--muted); font-size: 14px; line-height: 1.7; flex: 1; }
.card-price { font-family: var(--display); font-size: 18px; color: var(--text); margin-top: 8px; }

#contacts { background: var(--bg); }

.contact-links { display: flex; flex-direction: column; max-width: 420px; }

.clink {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  color: var(--text);
  font-size: 18px;
  font-weight: 500;
  transition: padding-left .25s ease, color .25s ease;
}
.clink:first-child { border-top: 1px solid var(--border); }
.clink:hover { padding-left: 12px; color: #fff; }
.arr { color: var(--muted); transition: transform .25s ease; }
.clink:hover .arr { transform: translateX(6px); color: var(--text); }

footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  #nav { padding: 0 20px; }
  #nav ul { gap: 20px; }
  #nav a { font-size: 12px; letter-spacing: 0.5px; }
  section:not(#intro) { padding: 72px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-photo { max-width: 220px; margin: 0 auto; }
  .projects-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  footer { padding: 20px; }
}

@media (max-width: 480px) {
  #nav-island { display: flex; }
  #nav ul { display: none; }
  #nav.show { justify-content: center; }
  .nav-logo { font-size: 15px; letter-spacing: 1.5px; }

  #text-canvas { width: 100%; height: clamp(90px, 28vw, 160px); }
  .intro-sub { font-size: 11px; letter-spacing: 2px; }
  .scroll-down { bottom: 20px; font-size: 18px; }

  section:not(#intro) { padding: 56px 16px; }
  section h2 { font-size: clamp(26px, 7vw, 36px); margin-bottom: 36px; }

  .about-content p { font-size: 14px; }
  .project-card { padding: 20px 16px; }
  .project-card h3 { font-size: 15px; }
  .card { padding: 24px 18px; }
  .card h3 { font-size: 16px; }
  .card-price { font-size: 16px; }
  .clink { font-size: 16px; padding: 18px 0; }
  footer { font-size: 11px; }
}
