:root {
  --bg: #050505;
  --text: #d8d2c8;
  --muted: #aaa39a;
  --muted-2: #7f7870;
  --line: rgba(255,255,255,.12);
  --accent: #c9a66b;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: .18em;
}

.site-header {
  background:
    radial-gradient(circle at 15% 0%, rgba(201,166,107,.14), transparent 25%),
    linear-gradient(180deg, #0b0b0b 0%, #050505 100%);
  padding-top: 34px;
}

.topline {
  max-width: var(--max);
  margin: 0 auto 30px;
  padding: 0 clamp(22px, 4vw, 56px);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.logo {
  margin: 0;
  font-size: clamp(32px, 5vw, 58px);
  letter-spacing: -.03em;
  font-weight: 650;
  line-height: 1;
}

.site-tagline {
  margin: 14px 0 0;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(11px, 1.6vw, 13px);
  font-weight: 700;
}

.lang {
  color: var(--accent);
  font-size: 14px;
  letter-spacing: .12em;
  padding-top: 8px;
}

.hero-photo {
  display: block;
  width: 100%;
  height: clamp(360px, 58vw, 720px);
  object-fit: cover;
  object-position: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  filter: saturate(.88) contrast(1.03) brightness(.82);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 46px clamp(22px, 4vw, 56px);
}

.intro-section {
  padding-top: 52px;
  padding-bottom: 34px;
}

.main-message {
  max-width: 980px;
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 25px);
  line-height: 1.42;
  letter-spacing: 0;
  margin: 0;
}

.muted-message {
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  margin: 0;
}

strong { color: var(--text); font-weight: 650; }

.projects-section { padding-top: 44px; padding-bottom: 40px; }
.projects-section h2 {
  margin: 0 0 28px;
  color: var(--accent);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 650;
}

.project-list {
  border-top: 1px solid var(--line);
}

.project-item {
  display: grid;
  grid-template-columns: minmax(220px, .78fr) 1.22fr;
  gap: clamp(24px, 5vw, 72px);
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.project-title {
  margin: 0;
  color: var(--muted);
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.45;
  font-weight: 650;
  letter-spacing: 0;
}

.project-item p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.6vw, 18px);
  max-width: 700px;
}

.text-section,
.tech-section {
  color: var(--muted);
  font-size: clamp(18px, 2.3vw, 25px);
  line-height: 1.42;
}

.text-section p { max-width: 980px; margin: 0; }

.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
}

.info-block h2 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.4;
  font-weight: 650;
}

.info-block p {
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.7vw, 19px);
}

.gallery-section { padding-top: 44px; padding-bottom: 40px; }
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.gallery img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--line);
  filter: saturate(.88) contrast(1.03) brightness(.88);
}

.video-section { padding-top: 38px; padding-bottom: 38px; }
.video-section h2 {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: clamp(16px, 1.7vw, 19px);
  line-height: 1.4;
  letter-spacing: 0;
  font-weight: 650;
}
.video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact {
  padding-top: 38px;
  padding-bottom: 84px;
  color: var(--muted);
}
.contact p { margin: 0 0 3px; }
.contact a {
  color: var(--accent);
  text-decoration: none;
  font-size: inherit;
  line-height: inherit;
}
.contact a:hover { text-decoration: underline; text-underline-offset: .18em; }

@media (max-width: 820px) {
  .topline { margin-bottom: 24px; }
  .hero-photo { height: clamp(300px, 62vw, 520px); }
  .section { padding-top: 38px; padding-bottom: 38px; }
  .intro-section { padding-top: 42px; }
  .project-item { grid-template-columns: 1fr; gap: 12px; }
  .tech-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .site-tagline { letter-spacing: .09em; }
  .hero-photo { height: 300px; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 240px; }
  .contact { padding-bottom: 78px; }
}
.video-link {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.video-link a {
  color: var(--accent);
  text-decoration: none;
}
.video-link a:hover { text-decoration: underline; text-underline-offset: .18em; }
