:root {
  --ink: #414546;
  --ink-deep: #282d2e;
  --blue: #84c4d9;
  --blue-deep: #5cabc5;
  --paper: #f4f1e9;
  --paper-light: #fbfaf6;
  --line: rgba(65, 69, 70, 0.2);
  --sans: "DM Sans", sans-serif;
  --display: "Manrope", sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 17%, rgba(132, 196, 217, 0.2), transparent 24rem),
    var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--ink-deep);
  color: white;
  transform: translateY(-200%);
}

.skip-link:focus { transform: translateY(0); }

.site-header,
main,
footer {
  width: min(100% - 3rem, 1240px);
  margin-inline: auto;
}

.site-header {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; }
.brand img { width: 176px; height: auto; display: block; }

.language-switch {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.language-switch span { opacity: 0.35; }

.lang-button {
  border: 0;
  padding: 0.45rem 0.2rem;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
  opacity: 0.42;
}

.lang-button:hover,
.lang-button:focus-visible,
.lang-button.is-active { opacity: 1; }

.hero {
  min-height: min(720px, calc(100vh - 112px));
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  padding: 6rem 0;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 1.5rem;
  color: var(--blue-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: -0.055em;
}

h1 { font-size: clamp(3.15rem, 6.3vw, 6.6rem); line-height: 0.98; }

.hero-intro {
  max-width: 560px;
  margin: 2.2rem 0;
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.65;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.text-link span:last-child { color: var(--blue-deep); transition: transform 180ms ease; }
.text-link:hover span:last-child { transform: translate(3px, 3px); }

.worlds {
  position: relative;
  min-height: 500px;
  isolation: isolate;
}

.world {
  position: absolute;
  display: grid;
  place-items: center;
  border-radius: 50%;
}

.world-large {
  top: 17%;
  left: 14%;
  width: min(25vw, 330px);
  aspect-ratio: 1;
  color: var(--paper-light);
  background: var(--ink);
  box-shadow: 0 28px 80px rgba(40, 45, 46, 0.18);
  font-family: var(--display);
  font-size: clamp(5rem, 10vw, 9.5rem);
  font-weight: 700;
  line-height: 1;
}

.world-large span { transform: translateY(-0.05em); }

.world-small {
  right: 7%;
  bottom: 15%;
  width: min(10vw, 126px);
  aspect-ratio: 1;
  background: var(--blue);
  box-shadow: 0 20px 50px rgba(92, 171, 197, 0.25);
}

.connection-line {
  position: absolute;
  z-index: -1;
  top: 57%;
  left: 51%;
  width: 38%;
  height: 1px;
  background: var(--ink);
  transform: rotate(24deg);
  transform-origin: left center;
  opacity: 0.35;
}

.orbit {
  position: absolute;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.orbit-one { inset: 5% 1% 8% 4%; transform: rotate(-11deg); }
.orbit-two { inset: 23% 12% 19% 19%; transform: rotate(17deg); }

.statement {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: end;
  gap: 3rem;
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.statement > p {
  max-width: 760px;
  margin: 0;
  color: var(--ink-deep);
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.statement-tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 0.6rem; }

.statement-tags span {
  padding: 0.7rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.83rem;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(3rem, 8vw, 8rem);
  padding: 8rem 0;
}

.contact-heading h2 { font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.06; }
.contact-heading > p:not(.eyebrow) { max-width: 420px; margin: 1.8rem 0 1rem; line-height: 1.65; }
.contact-heading > a { color: var(--blue-deep); text-underline-offset: 0.25em; }

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 1.5rem;
  align-content: start;
}

.form-field { display: flex; flex-direction: column; gap: 0.7rem; }
.form-field-wide { grid-column: 1 / -1; }

.form-field label {
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding: 0.6rem 0 0.9rem;
  outline: 0;
  color: var(--ink-deep);
  background: transparent;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--blue-deep); }

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(65, 69, 70, 0.45); }

.form-field input.is-invalid,
.form-field textarea.is-invalid { border-bottom-color: #a94e46; }

.honeypot { position: absolute; left: -10000px; }

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.form-status { margin: 0; font-size: 0.9rem; line-height: 1.4; }
.form-status.is-error { color: #8c403a; }
.form-status.is-success { color: #38715f; }

.submit-button {
  min-width: 178px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  border: 0;
  border-radius: 999px;
  padding: 1rem 1.2rem 1rem 1.4rem;
  color: white;
  background: var(--ink-deep);
  cursor: pointer;
  font-weight: 600;
  transition: background 180ms ease, transform 180ms ease;
}

.submit-button:hover { background: var(--blue-deep); transform: translateY(-2px); }
.submit-button:disabled { cursor: wait; opacity: 0.62; transform: none; }
.button-arrow { font-size: 1.25rem; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
}

footer p { margin: 0; }

@media (max-width: 820px) {
  .site-header, main, footer { width: min(100% - 2rem, 1240px); }
  .site-header { height: 88px; }
  .brand img { width: 150px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding: 4.5rem 0 3rem; }
  .worlds { min-height: 350px; }
  .world-large { left: 20%; width: min(52vw, 270px); }
  .world-small { right: 12%; width: min(22vw, 100px); }
  .statement, .contact-section { grid-template-columns: 1fr; }
  .statement-tags { justify-content: flex-start; }
  .contact-section { padding: 6rem 0; }
}

@media (max-width: 540px) {
  h1 { font-size: clamp(2.85rem, 14vw, 4rem); }
  .hero-intro { margin: 1.7rem 0; }
  .worlds { min-height: 290px; }
  .orbit-one { inset: 2% 0 2% 0; }
  .world-large { top: 11%; left: 12%; width: 210px; }
  .world-small { right: 4%; bottom: 8%; width: 82px; }
  .statement { padding: 4rem 0; }
  .statement-tags { gap: 0.45rem; }
  .contact-form { grid-template-columns: 1fr; }
  .form-field { grid-column: 1 / -1; }
  .form-footer { align-items: stretch; flex-direction: column; }
  .submit-button { width: 100%; }
  footer { flex-direction: column; gap: 0.5rem; }
}

@media (prefers-reduced-motion: no-preference) {
  .world-large { animation: float 7s ease-in-out infinite; }
  .world-small { animation: float 6s ease-in-out 0.8s infinite reverse; }
  .orbit-one { animation: orbit 20s linear infinite; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
  @keyframes orbit { to { transform: rotate(349deg); } }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
