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

:root {
  --bg: #0a0a0a;
  --surface: #111111;
  --border: #1e1e1e;
  --text: #f0f0f0;
  --muted: #666;
  --accent: #fff;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

nav {
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}

nav .links {
  display: flex;
  gap: 28px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

nav a:hover, nav a.active { color: var(--text); }

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.mark {
  width: 96px;
  height: 96px;
  margin-bottom: 40px;
}

.tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 40px;
}

h1 {
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-bottom: 24px;
}

p.sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 48px;
}

.contact-link {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-size: 14px;
  border: 1px solid var(--border);
  padding: 12px 28px;
  border-radius: 8px;
  transition: border-color 0.2s, background 0.2s;
}

.contact-link:hover {
  border-color: #444;
  background: var(--surface);
}

footer {
  padding: 28px 48px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

footer a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover { color: var(--text); }

/* ---- Contact page ---- */

main.contact-page {
  justify-content: flex-start;
  padding: 64px 24px 80px;
}

.contact-page h1 {
  font-size: clamp(32px, 4.5vw, 52px);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 48px;
  width: 100%;
  max-width: 920px;
  text-align: left;
  margin-top: 16px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.field input,
.field textarea {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  transition: border-color 0.2s;
  width: 100%;
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: #555;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #444;
}

.submit-btn {
  align-self: flex-start;
  background: var(--accent);
  color: #0a0a0a;
  border: none;
  border-radius: 8px;
  padding: 13px 32px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: opacity 0.2s;
}

.submit-btn:hover { opacity: 0.85; }

.info-panel {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 28px;
  height: fit-content;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.info-item h3 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}

.info-item p, .info-item a {
  font-size: 15px;
  color: var(--text);
  text-decoration: none;
  line-height: 1.6;
  word-break: break-word;
}

.info-item a:hover { text-decoration: underline; }

@media (max-width: 800px) {
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  nav { padding: 20px 24px; }
  nav .links { gap: 18px; }
  footer { padding: 20px 24px; flex-direction: column; gap: 8px; text-align: center; }
}
