:root {
  color-scheme: dark;
  --background: #000000;
  --surface: #0d1217;
  --text: #edf2f0;
  --muted: #a6b2af;
  --quiet: #697673;
  --cyan: #83d6d2;
  --amber: #d9a86c;
  --line: rgba(211, 232, 226, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--background);
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--background);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 0.25rem;
}

.language-header {
  position: absolute;
  z-index: 5;
  top: 0;
  right: 0;
  left: 0;
  padding: 1.15rem clamp(1.4rem, 4vw, 4rem);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.88), transparent);
}

.language-nav {
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem;
  color: var(--quiet);
  font-size: 0.66rem;
  font-weight: 620;
  letter-spacing: 0.12em;
  line-height: 1.7;
  text-transform: uppercase;
}

.language-nav > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.3rem 0.85rem;
  max-width: 48rem;
}

.language-nav a {
  text-decoration: none;
  transition: color 160ms ease;
}

.language-nav a:hover,
.language-nav a[aria-current="page"] {
  color: var(--text);
}

.landing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(24rem, 1.28fr);
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  isolation: isolate;
}

.manifesto,
.contact {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--line);
}

.manifesto {
  padding: clamp(5rem, 10vw, 10rem) clamp(1.4rem, 8vw, 9rem);
  background:
    radial-gradient(circle at 18% 22%, rgba(78, 168, 170, 0.07), transparent 28rem),
    #030405;
}

.manifesto > * {
  width: min(100%, 53rem);
  margin-right: auto;
  margin-left: auto;
}

.section-kicker {
  margin: 0 0 1.2rem;
  color: var(--quiet);
  font-size: 0.67rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.manifesto h2,
.contact h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 5.6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.052em;
  line-height: 0.98;
}

.manifesto-copy {
  margin-top: clamp(3rem, 7vw, 6rem);
  color: #c4cecb;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.12rem, 1.55vw, 1.35rem);
  line-height: 1.82;
}

.manifesto-copy p {
  margin: 0 0 1.55em;
}

.manifesto-copy p:first-child,
.manifesto-copy p:nth-child(4),
.manifesto-copy p:nth-child(6) {
  color: var(--text);
  font-size: 1.2em;
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(20rem, 1fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(5rem, 9vw, 9rem) clamp(1.4rem, 8vw, 9rem);
  background: #07090b;
}

.contact-intro {
  max-width: 38rem;
}

.contact-intro > p:not(.section-kicker) {
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.privacy-note {
  color: var(--quiet) !important;
  font-size: 0.78rem !important;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  width: 100%;
  max-width: 40rem;
}

.contact-form label {
  display: grid;
  gap: 0.55rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 0.9rem 1rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.025);
  font: inherit;
  letter-spacing: normal;
  line-height: 1.5;
  text-transform: none;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
  border: 1px solid rgba(131, 214, 210, 0.42);
  padding: 0.85rem 1.35rem;
  color: var(--text);
  background: rgba(131, 214, 210, 0.08);
  font: inherit;
  cursor: pointer;
}

.contact-form button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.field-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
}

.form-status {
  min-height: 1.5em;
  margin: 0;
  color: var(--quiet);
  font-size: 0.8rem;
  line-height: 1.5;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem clamp(1.4rem, 8vw, 9rem);
  border-top: 1px solid var(--line);
  color: var(--quiet);
  background: #000;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

[dir="rtl"] .manifesto,
[dir="rtl"] .contact,
[dir="rtl"] .statement {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .principle {
  padding-right: 1.35rem;
  padding-left: 0;
  border-right: 1px solid var(--amber);
  border-left: 0;
}

[dir="rtl"] .language-nav,
[dir="rtl"] .language-nav > div {
  justify-content: flex-start;
}

.not-found {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 2rem;
}

.not-found main {
  width: min(100%, 58rem);
}

.not-found h1 {
  max-width: none;
}

.not-found .language-nav {
  margin-top: 3rem;
  justify-content: flex-start;
}

.atmosphere {
  position: fixed;
  z-index: -1;
  inset: 0;
  opacity: 0.38;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 6rem 6rem;
  mask-image: radial-gradient(circle at center, black, transparent 78%);
}

.statement {
  z-index: 2;
  max-width: 43rem;
  padding: clamp(3rem, 7vw, 8rem);
  padding-right: clamp(2rem, 3vw, 5rem);
}

.eyebrow,
.foundation,
.presence figcaption {
  color: var(--quiet);
  font-size: 0.68rem;
  font-weight: 620;
  letter-spacing: 0.18em;
  line-height: 1.7;
  text-transform: uppercase;
}

h1 {
  max-width: 8ch;
  margin: 1.25rem 0 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.8rem, 8.8vw, 8rem);
  font-weight: 400;
  letter-spacing: -0.072em;
  line-height: 0.84;
}

.thesis {
  max-width: 24ch;
  margin: 2.5rem 0 0;
  color: var(--cyan);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2.25rem);
  font-style: italic;
  line-height: 1.18;
}

.purpose {
  max-width: 36rem;
  margin: 2.2rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  font-weight: 350;
  line-height: 1.72;
}

.principle {
  max-width: 32rem;
  margin: 2.6rem 0 0;
  padding: 1.35rem 0 1.35rem 1.35rem;
  border-left: 1px solid var(--amber);
  color: #cfd8d5;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1rem;
  line-height: 1.65;
}

.foundation {
  margin-top: 2.2rem;
}

.presence {
  position: relative;
  align-self: stretch;
  min-height: 100vh;
  margin: 0;
  overflow: visible;
}

.image-field {
  position: absolute;
  inset: 4% -6% 4% -14%;
}

.image-field::before,
.image-field::after {
  position: absolute;
  z-index: 1;
  content: "";
  pointer-events: none;
}

.image-field::before {
  display: none;
}

.image-field::after {
  width: 30rem;
  height: 30rem;
  top: 24%;
  left: 39%;
  border-radius: 50%;
  background: rgba(166, 111, 59, 0.1);
  filter: blur(80px);
  animation: breathe 8s ease-in-out infinite alternate;
}

.presence img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0.96;
  filter: saturate(0.9) contrast(1.04) brightness(0.9);
}

.presence figcaption {
  position: absolute;
  z-index: 2;
  right: clamp(1.5rem, 4vw, 4rem);
  bottom: 2rem;
  max-width: 28rem;
  text-align: right;
}

@keyframes breathe {
  from {
    opacity: 0.4;
    transform: scale(0.9);
  }
  to {
    opacity: 0.85;
    transform: scale(1.1);
  }
}

@media (max-width: 850px) {
  .language-header {
    position: relative;
    padding-bottom: 0;
    background: #000;
  }

  .language-nav {
    display: block;
  }

  .language-nav > span {
    display: block;
    margin-bottom: 0.6rem;
  }

  .language-nav > div {
    justify-content: flex-start;
  }

  .landing {
    grid-template-columns: 1fr;
  }

  .statement {
    min-height: 72vh;
    padding: 4rem clamp(1.4rem, 8vw, 4rem) 3rem;
  }

  h1 {
    font-size: clamp(4rem, 19vw, 7rem);
  }

  .presence {
    min-height: 68vh;
    overflow: hidden;
  }

  .image-field {
    inset: -4% -12% 2%;
  }

  .presence img {
    object-position: center 44%;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
