/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  color: #1a1a1a;
  background-color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Hero Section ===== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  position: relative;
}

.hero__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.hero__domain {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #111;
  user-select: none;
}

/* ===== Social Icons ===== */
.hero__socials {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.hero__socials a {
  color: #999;
  text-decoration: none;
  border-bottom: none;
  transition: color 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__socials a:visited,
.hero__socials a:hover,
.hero__socials a:active {
  text-decoration: none;
  border-bottom: none;
}

.hero__socials a:hover {
  color: #111;
  transform: scale(1.1);
}

.hero__socials--disabled {
  opacity: 0.35;
  pointer-events: none;
  cursor: default;
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.4;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.hero__scroll-indicator:hover {
  opacity: 0.7;
}

.hero__scroll-indicator span {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #888;
}

.hero__scroll-indicator .arrow {
  width: 1px;
  height: 40px;
  background: #bbb;
  position: relative;
  animation: scrollArrow 2s ease-in-out infinite;
}

.hero__scroll-indicator .arrow::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 8px;
  height: 8px;
  border-right: 1px solid #bbb;
  border-bottom: 1px solid #bbb;
}

@keyframes scrollArrow {
  0%, 100% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(8px); }
}

/* ===== Contact Section ===== */
.contact {
  max-width: 560px;
  margin: 0 auto;
  padding: 6rem 1.5rem 8rem;
}

.contact__heading {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #999;
  margin-bottom: 3rem;
  text-align: center;
}

/* ===== Form Styles ===== */
.contact form div {
  margin-bottom: 2rem;
}

.contact form label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}

.contact form input[type="text"],
.contact form input[type="email"],
.contact form textarea {
  width: 100%;
  padding: 0.85rem 0;
  font-size: 1rem;
  font-family: inherit;
  color: #1a1a1a;
  background: transparent;
  border: none;
  border-bottom: 1px solid #ddd;
  outline: none;
  transition: border-color 0.3s ease;
}

.contact form input[type="text"]:focus,
.contact form input[type="email"]:focus,
.contact form textarea:focus {
  border-bottom-color: #111;
}

.contact form input::placeholder,
.contact form textarea::placeholder {
  color: #ccc;
}

.contact form textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.contact form button[type="submit"] {
  display: block;
  width: 100%;
  padding: 1rem;
  font-size: 0.85rem;
  font-family: inherit;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #fff;
  background: #111;
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-top: 1rem;
}

.contact form button[type="submit"]:hover {
  background: #333;
}

.contact form button[type="submit"]:active {
  transform: scale(0.98);
}

/* ===== Thanks Page ===== */
.thanks {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  text-align: center;
  padding: 2rem;
}

.thanks__message {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 600;
  color: #111;
  margin-bottom: 1rem;
}

.thanks__sub {
  font-size: 0.95rem;
  color: #888;
  margin-bottom: 3rem;
  line-height: 1.8;
}

.thanks__link {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid #111;
  transition: opacity 0.3s ease;
}

.thanks__link:hover {
  opacity: 0.5;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: #ccc;
}

/* ===== Fade-in Animation ===== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 600px) {
  .contact {
    padding: 4rem 1.25rem 6rem;
  }
}
