/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

/* VARIABLES */
:root {
  --bg: #FAFAFA;
  --section-bg: #FAFAFA;
  --text: #1f2933;
  --highlight: #FFEE97;
  --btn-radius: 10px;
}

/* BASE */
body {
  background: var(--bg);
  font-family: "Inter Tight", sans-serif;
  color: var(--text);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: clamp(16px, 4vw, 40px);
}

/* HEADER */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  height: 40px;
}

/* BUTTON */
.btn {
  padding: 10px 22px;
  background: transparent;
  border: 1px solid var(--text);
  border-radius: var(--btn-radius);
  font-size: 14px;
  color: var(--text);
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.btn:hover {
  background: #232a31;
  color: #fff;
}

/* INVERSE BUTTON — GitHub */
.btn--inverse {
  background: #232a31;
  color: #fff;
  border-color: #232a31;
}

.btn--inverse:hover {
  background: transparent;
  color: var(--text);
  border-color: var(--text);
}

/* HERO */
.hero {
  padding: clamp(80px, 18vh, 160px) 0;
  text-align: center;
}

.hero-title {
  font-size: clamp(42px, 8vw, 96px);
  line-height: 1.05;
}

.hero-first,
.hero-second {
  white-space: nowrap;
  display: inline-block;
}

.hero-break {
  display: none;
}

/* HIGHLIGHT */
.highlight {
  display: inline-block;
  background: var(--highlight);
  padding: 0.02em 0.18em;
  border-radius: 12px;
  line-height: 1;
}

/* HERO ACTIONS */
.hero-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* CONTACT */
.contact-section {
  background: var(--bg);
  padding: 80px 0;
}

.mini-form {
  max-width: 760px;
  margin: auto;
}

/* ✅ RESTORED TYPOGRAPHY */
.mini-form-title {
  text-align: center;
  font-size: clamp(36px, 7vw, 72px);
  margin-bottom: 12px;
}

.mini-form-description {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 36px;
  font-size: 16px;
}

/* FORM */
.mini-form-fields {
  display: grid;
  gap: 16px;
}

.float-field {
  position: relative;
}

.mini-input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 2px 12px;
  font-size: 20px;
}

.mini-input:focus {
  outline: none;
  box-shadow: none;
}

/* Base underline */
.float-field::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--text);
  opacity: 0.35;
}

/* Animated underline */
.float-field::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;
  width: 100%;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  opacity: 0.85;
  transition: transform 360ms cubic-bezier(0.4, 0, 0.2, 1);
}

.float-field:focus-within::before {
  transform: scaleX(1);
}

.mini-label {
  position: absolute;
  top: 10px;
  left: 2px;
  font-size: 14px;
}

.mini-input:focus + .mini-label {
  opacity: 0;
}

/* FOOTER */
.footer {
  background: var(--bg);
  padding: 10px 0;
}

.footer-inner {
  display: flex;
  justify-content: center;
}

.footer-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-logo {
  height: 10px;
}

.footer-copy {
  font-size: 0.625rem;
  color: #545454;
  letter-spacing: 0.02em;
}

/* MOBILE */
@media (max-width: 520px) {
  .hero-break {
    display: block;
  }

  .hero-title {
    font-size: 38px;
  }
}
