:root {
  --bg: #ffffff;
  --bg-alt: #f4f6f7;
  --ink: #1c2428;
  --muted: #5c6b73;
  --accent: #0198b3;
  --accent-dark: #01788e;
  --lime: #99bc1a;
  --logo-ink: #3a3a3c;
  --line: #e3e8ea;
  --footer: #1c2428;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 36, 40, 0.06);
  --header: 76px;
  --max: 1120px;
  --radius: 10px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h1 {
  font-size: clamp(2.5rem, 5.4vw, 4.15rem);
}

h2 {
  font-size: clamp(1.85rem, 3vw, 2.5rem);
}

h3 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 20;
  background: var(--accent);
  color: var(--white);
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
}

.skip-link:focus {
  top: 1rem;
}

.eyebrow {
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--accent);
  color: var(--white);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn:hover,
.btn:focus-visible {
  background: var(--accent-dark);
}

.btn-small {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.92rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
}

.brand .logo-mark {
  width: 46px;
  height: auto;
  flex: none;
}

.brand-name {
  display: block;
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  line-height: 1;
  text-transform: uppercase;
  color: var(--logo-ink);
}

.brand-tagline {
  display: block;
  margin-top: 0.28rem;
  color: #8d8d8d;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  background: #ffffff;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.intro.is-done {
  opacity: 0;
  visibility: hidden;
}

body.is-intro {
  overflow: hidden;
}

.intro-logo {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2.5vw, 1.6rem);
  padding: 1.5rem;
  animation: lockup 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) 1.7s both;
}

.intro .logo-mark {
  width: clamp(96px, 18vw, 150px);
  height: auto;
  overflow: visible;
  filter: drop-shadow(0 14px 22px rgba(1, 152, 179, 0.14));
}

.piece-cyan {
  animation: join-cyan 0.9s cubic-bezier(0.16, 0.84, 0.28, 1.15) 0.12s both;
}

.piece-green {
  animation: join-green 0.95s cubic-bezier(0.16, 0.84, 0.28, 1.15) 0.32s both;
}

.intro-name {
  margin: 0;
  color: var(--logo-ink);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 5.4vw, 3.35rem);
  letter-spacing: -0.03em;
  line-height: 0.9;
  text-transform: uppercase;
}

.intro-name span {
  display: inline-block;
  animation: join-letter 0.55s cubic-bezier(0.16, 0.84, 0.3, 1.12) both;
}

.intro-name span:nth-child(1) { animation-delay: 0.72s; }
.intro-name span:nth-child(2) { animation-delay: 0.78s; }
.intro-name span:nth-child(3) { animation-delay: 0.84s; }
.intro-name span:nth-child(4) { animation-delay: 0.9s; }
.intro-name span:nth-child(5) { animation-delay: 0.96s; }
.intro-name span:nth-child(6) { animation-delay: 1.02s; }
.intro-name span:nth-child(7) { animation-delay: 1.08s; }
.intro-name span:nth-child(8) { animation-delay: 1.14s; }
.intro-name span:nth-child(9) { animation-delay: 1.2s; }
.intro-name span:nth-child(10) { animation-delay: 1.26s; }
.intro-name span:nth-child(11) { animation-delay: 1.32s; }

.intro-tag {
  display: flex;
  gap: 0.45em;
  margin: 0.55rem 0 0;
  color: #8a8a8a;
  font-family: Montserrat, Inter, sans-serif;
  font-size: clamp(0.62rem, 1.5vw, 0.92rem);
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.tag-a,
.tag-b {
  display: inline-block;
  animation: join-tag 0.6s cubic-bezier(0.16, 0.84, 0.3, 1) both;
}

.tag-a {
  --from: -28px;
  animation-delay: 1.4s;
}

.tag-b {
  --from: 28px;
  animation-delay: 1.52s;
}

@keyframes join-cyan {
  0% { transform: translate(-78px, -46px) rotate(-18deg); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}

@keyframes join-green {
  0% { transform: translate(72px, 54px) rotate(16deg); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: none; opacity: 1; }
}

@keyframes join-letter {
  0% {
    transform: translate(var(--x), var(--y)) rotate(var(--r));
    opacity: 0;
  }
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes join-tag {
  0% { transform: translateX(var(--from, 0)); opacity: 0; }
  100% { transform: none; opacity: 1; }
}

@keyframes lockup {
  0% { transform: scale(0.97); }
  55% { transform: scale(1.02); }
  100% { transform: scale(1); }
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
}

.nav-list a {
  color: var(--ink);
  font-size: 0.95rem;
}

.nav-list a:hover,
.nav-list a:focus-visible {
  color: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}

.nav-toggle-bar {
  margin-inline: auto;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -6px;
}

.nav-toggle-bar::after {
  top: 6px;
}

.hero {
  padding: 5.5rem 0 6.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 4rem;
  align-items: center;
}

.lede {
  max-width: 38rem;
  margin-top: 1.25rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.hero .btn {
  margin-top: 1.75rem;
}

.hero-meta {
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-frame {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--bg-alt);
  box-shadow: var(--shadow);
}

.hero-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.about {
  padding: 1rem 0 6.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
  padding-top: 3rem;
  border-top: 1px solid var(--line);
}

.about-copy {
  display: grid;
  gap: 1rem;
  color: var(--muted);
}

.contact {
  background: var(--bg-alt);
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: start;
}

.contact-copy p {
  margin-top: 1rem;
  color: var(--muted);
}

.contact-mail {
  display: inline-block;
  margin-top: 1.25rem;
  color: var(--accent);
  font-weight: 500;
}

.form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
}

.field + .field {
  margin-top: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid #d5dee1;
  border-radius: 8px;
  padding: 0.75rem 0.85rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

.field textarea {
  resize: vertical;
  min-height: 8rem;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #8b989e;
}

.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: #9a3b32;
}

.field-error {
  margin-top: 0.35rem;
  color: #9a3b32;
  font-size: 0.85rem;
}

.form .btn {
  margin-top: 1.15rem;
}

.form-note,
.form-success {
  margin-top: 0.75rem;
  font-size: 0.88rem;
}

.form-note {
  color: var(--muted);
}

.form-success {
  color: var(--accent-dark);
  font-weight: 500;
}

.site-footer {
  background: var(--footer);
  color: #d5dcde;
  padding-top: 3.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}

.footer-lockup {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-lockup .logo-mark {
  width: 46px;
  height: auto;
  flex: none;
}

.footer-brand {
  color: var(--white);
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: 0.01em;
  font-size: 0.95rem;
  line-height: 1;
  text-transform: uppercase;
}

.footer-tagline {
  margin-top: 0.32rem;
  color: #9aa8ad;
  font-family: Montserrat, Inter, sans-serif;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-label {
  margin-top: 0;
  margin-bottom: 0.55rem;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.footer-grid a:hover,
.footer-grid a:focus-visible {
  color: var(--white);
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.15rem 0 1.4rem;
  color: #9aa8ad;
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .brand-tagline {
    display: none;
  }

  .brand .logo-mark {
    width: 40px;
  }

  .brand-name {
    font-size: 0.78rem;
  }

  .intro-logo {
    flex-direction: column;
    text-align: center;
  }

  .intro-tag {
    justify-content: center;
    letter-spacing: 0.12em;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem 1.25rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav.is-open {
    display: flex;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.15rem;
  }

  .nav-list a,
  .nav .btn {
    display: flex;
    padding: 0.7rem 0.2rem;
  }

  .hero,
  .about,
  .contact {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .about {
    padding-top: 0.5rem;
  }

  .hero-grid,
  .about-grid,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .intro {
    transition: none;
  }

  .intro {
    display: none;
  }
}
