:root {
  --ink: #12161c;
  --ink-soft: #3a4450;
  --paper: #f3f5f7;
  --paper-2: #e6ebef;
  --line: #c5ced6;
  --accent: #0f6e6a;
  --accent-deep: #0a4f4c;
  --warm: #c46b2d;
  --font-display: "Syne", sans-serif;
  --font-body: "Manrope", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(15, 110, 106, 0.14), transparent 55%),
    radial-gradient(900px 500px at -10% 30%, rgba(196, 107, 45, 0.1), transparent 50%),
    linear-gradient(180deg, #eef2f5 0%, var(--paper) 40%, #e8edf1 100%);
  min-height: 100vh;
  line-height: 1.55;
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.top,
.hero,
.section,
.foot {
  position: relative;
  z-index: 1;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 6vw;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 1.25rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent-deep);
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: end;
  padding: 4vh 6vw 8vh;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0 0 1.25rem;
  color: var(--ink);
}

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.85rem;
  max-width: 16ch;
}

.hero__lead {
  margin: 0 0 1.75rem;
  max-width: 36ch;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.hero__note {
  margin: 1rem 0 0;
  max-width: 40ch;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.2rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--solid {
  background: var(--accent);
  color: #fff;
}

.btn--solid:hover {
  background: var(--accent-deep);
}

.btn--ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent-deep);
}

.hero__visual {
  min-height: 280px;
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(18, 22, 28, 0.92), rgba(15, 110, 106, 0.75)),
    repeating-linear-gradient(
      -18deg,
      transparent,
      transparent 12px,
      rgba(255, 255, 255, 0.04) 12px,
      rgba(255, 255, 255, 0.04) 13px
    );
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.hero__visual:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.hero__panel-go {
  display: inline-block;
  margin-top: 0.85rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: #d7f3ef;
}

.hero__panel {
  color: #f4f7f8;
  max-width: 16rem;
}

.hero__panel-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.75;
  margin-bottom: 0.35rem;
}

.hero__panel strong {
  font-family: var(--font-display);
  font-size: 1.6rem;
  letter-spacing: -0.03em;
}

.hero__panel p {
  margin: 0.35rem 0 0;
  opacity: 0.85;
}

.section {
  max-width: 720px;
  margin: 0 auto;
  padding: 4.5rem 6vw;
}

.section--band {
  max-width: none;
  background: rgba(255, 255, 255, 0.45);
  border-block: 1px solid var(--line);
}

.section--band .section__title,
.section--band .section__text,
.section--band .projects {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section--band .projects {
  max-width: 900px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.section__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.offer {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}

.offer h3 {
  font-family: var(--font-display);
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
}

.offer p {
  margin: 0;
  color: var(--ink-soft);
}

.skills {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.project {
  display: block;
  padding: 1.25rem 1.35rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid var(--line);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.project:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.project--soon {
  opacity: 0.72;
}

.project__tag {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.5rem;
}

.project__name {
  font-family: var(--font-display);
  margin: 0 0 0.4rem;
  font-size: 1.35rem;
}

.project__desc {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.project__go {
  font-weight: 600;
  color: var(--accent-deep);
  font-size: 0.92rem;
}

.contact-mail {
  margin: 1.25rem 0 0.5rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
}

.contact-mail a {
  color: var(--accent-deep);
  text-decoration: none;
}

.contact-note {
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.contact-form {
  margin-top: 1.5rem;
  display: grid;
  gap: 0.9rem;
  max-width: 32rem;
}

.contact-field {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-field input,
.contact-field textarea {
  font: inherit;
  font-weight: 400;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
}

.contact-field textarea {
  resize: vertical;
  min-height: 7rem;
}

.contact-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-ok {
  margin: 1rem 0 0;
  color: var(--accent-deep);
  font-weight: 600;
}

.contact-err {
  margin: 1rem 0 0;
  color: #9b2c2c;
  font-weight: 600;
}

.foot {
  padding: 2.5rem 6vw 3rem;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.9rem;
  max-width: 1200px;
  margin: 0 auto;
}

.foot a {
  color: var(--accent-deep);
}

.js .hero__copy,
.js .hero__visual {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s ease forwards;
}

.js .hero__visual {
  animation-delay: 0.15s;
}

.js .project {
  opacity: 0;
  transform: translateY(12px);
  animation: rise 0.7s ease forwards;
}

.js .project:nth-child(1) {
  animation-delay: 0.05s;
}

.js .project:nth-child(2) {
  animation-delay: 0.18s;
}

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 860px) {
  .nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 2rem;
  }

  .hero__visual {
    min-height: 200px;
    order: -1;
  }

  .projects {
    grid-template-columns: 1fr;
  }
}
