:root {
  --paper: #d3d2d1;
  --paper-light: #efefec;
  --ink: #0f0f0f;
  --mid: #5d595a;
  --blue: #243cff;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", "SFMono-Regular", Consolas, monospace;
  --header-h: 68px;
}

* {
  box-sizing: border-box;
}

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

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.about-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(220px, 360px) 1fr;
  align-items: center;
  gap: 20px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--ink);
  background: rgba(211, 210, 209, .94);
  backdrop-filter: blur(15px);
}

.about-brand img {
  width: min(330px, 46vw);
  height: 28px;
  object-fit: contain;
  object-position: left center;
}

.about-header nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  font: 10px/1 var(--mono);
  text-transform: uppercase;
}

.about-header nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
}

.about-header nav a:hover {
  border-color: var(--ink);
}

.language-switch {
  background: var(--blue);
  color: white;
}

.statement-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(460px, .88fr);
  padding-top: var(--header-h);
  border-bottom: 1px solid var(--ink);
}

.statement-image {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  margin: 0;
  overflow: hidden;
  border-right: 1px solid var(--ink);
  background: #b9b7b3;
}

.statement-image > img {
  width: 100%;
  height: 100%;
  min-height: calc(100svh - var(--header-h));
  object-fit: cover;
  object-position: 51% center;
  filter: saturate(.86) contrast(1.025);
}

.statement-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.22), transparent 28%),
    linear-gradient(to right, transparent 72%, rgba(36, 60, 255, .07));
  pointer-events: none;
}

.statement-image figcaption {
  position: absolute;
  z-index: 2;
  left: 18px;
  bottom: 16px;
  color: white;
  font: 9px/1.3 var(--mono);
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.4);
}

.image-mark {
  position: absolute;
  z-index: 2;
  top: 22px;
  right: 22px;
  width: 49px;
  height: 34px;
}

.image-mark i {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--blue);
}

.image-mark i:nth-child(1) { left: 0; top: 0; }
.image-mark i:nth-child(2) { right: 0; top: 0; }
.image-mark i:nth-child(3) { left: 50%; bottom: 0; transform: translateX(-50%); }

.statement-panel {
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 2.4vw, 42px);
  background:
    linear-gradient(to bottom, transparent 0 72%, rgba(36, 60, 255, .055) 72% 100%),
    var(--paper);
}

.statement-code {
  margin: 0;
  color: var(--blue);
  font: 9px/1.2 var(--mono);
  letter-spacing: .05em;
  text-transform: uppercase;
}

.statement-panel h1 {
  max-width: 720px;
  margin: clamp(28px, 4vh, 54px) 0 0;
  font-size: clamp(48px, 5.45vw, 92px);
  font-weight: 590;
  font-stretch: 78%;
  line-height: .79;
  letter-spacing: -.078em;
  text-wrap: balance;
}

.statement-copy {
  max-width: 690px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin-top: clamp(28px, 4vh, 48px);
}

.statement-copy p {
  margin: 0;
  font-size: clamp(13px, .96vw, 16px);
  line-height: 1.28;
  letter-spacing: -.015em;
}

.statement-panel blockquote {
  max-width: 720px;
  margin: auto 0 0;
  padding-top: clamp(24px, 3vh, 38px);
  border-top: 1px solid var(--ink);
  color: var(--blue);
  font-size: clamp(24px, 2.35vw, 39px);
  font-weight: 560;
  line-height: .93;
  letter-spacing: -.045em;
}

.statement-actions {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: end;
  gap: 26px;
  margin-top: clamp(22px, 3vh, 36px);
}

.private-contact {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0 12px;
  border: 1px solid var(--ink);
  font: 9px/1 var(--mono);
  text-transform: uppercase;
}

.private-contact:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: white;
}

.statement-actions p {
  margin: 0;
  justify-self: end;
  text-align: right;
  color: var(--mid);
  font: 8px/1.4 var(--mono);
  text-transform: uppercase;
}

@media (max-width: 1180px) {
  .statement-page {
    grid-template-columns: 1.2fr .9fr;
  }

  .statement-copy {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .statement-panel h1 {
    font-size: clamp(47px, 6vw, 72px);
  }

  .statement-copy p {
    font-size: 13px;
  }
}

@media (max-width: 820px) {
  body {
    overflow: auto;
  }

  .about-header {
    grid-template-columns: 1fr auto;
    padding: 8px 12px;
  }

  .about-brand img {
    width: min(250px, 64vw);
  }

  .about-header nav a {
    padding: 0 9px;
  }

  .statement-page {
    display: block;
  }

  .statement-image {
    min-height: 64svh;
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .statement-image > img {
    min-height: 64svh;
    object-position: 47% center;
  }

  .statement-panel {
    min-height: auto;
    padding: 30px 16px 40px;
  }

  .statement-panel h1 {
    margin-top: 34px;
    font-size: clamp(52px, 14vw, 92px);
  }

  .statement-copy {
    grid-template-columns: 1fr;
    margin-top: 36px;
  }

  .statement-copy p {
    font-size: 16px;
    line-height: 1.3;
  }

  .statement-panel blockquote {
    margin-top: 46px;
    font-size: clamp(30px, 9vw, 48px);
  }

  .statement-actions {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .statement-actions p {
    justify-self: start;
    text-align: left;
  }
}

@media (max-width: 520px) {
  :root {
    --header-h: 62px;
  }

  .about-header nav a:last-child {
    display: none;
  }

  .statement-image,
  .statement-image > img {
    min-height: 58svh;
  }

  .statement-image figcaption {
    max-width: 76%;
    left: 12px;
    bottom: 12px;
  }

  .image-mark {
    top: 16px;
    right: 14px;
    transform: scale(.8);
    transform-origin: top right;
  }
}

@media (max-height: 760px) and (min-width: 821px) {
  .statement-panel {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .statement-panel h1 {
    margin-top: 22px;
    font-size: clamp(43px, 4.7vw, 68px);
  }

  .statement-copy {
    margin-top: 22px;
    gap: 10px 16px;
  }

  .statement-copy p {
    font-size: 12px;
    line-height: 1.22;
  }

  .statement-panel blockquote {
    padding-top: 18px;
    font-size: clamp(22px, 2vw, 31px);
  }

  .statement-actions {
    margin-top: 17px;
  }
}


/* ================================================================
   MiniMoto — slogans / drift motion
   ================================================================ */
.statement-lead {
  will-change: transform, filter, opacity;
}

.statement-lead--top {
  letter-spacing: .045em !important;
  text-wrap: balance;
  animation: mmSkidTop 1.05s cubic-bezier(.2,.92,.18,1) both;
}

.statement-lead--bottom {
  position: relative;
  text-wrap: balance;
  animation: mmSkidBottom 1.18s cubic-bezier(.2,.92,.18,1) both .1s;
}

.statement-lead--bottom::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.22em;
  width: min(180px, 42%);
  height: 2px;
  background: linear-gradient(90deg, rgba(36,60,255,.58), rgba(36,60,255,0));
  opacity: 0;
  transform-origin: left center;
  animation: mmSkidTrace 1.18s ease-out both .1s;
}

@keyframes mmSkidTop {
  0% {
    opacity: 0;
    transform: translate3d(-92px, 12px, 0) rotate(-2.6deg);
    filter: blur(10px);
  }
  44% {
    opacity: 1;
    transform: translate3d(16px, 0, 0) rotate(.7deg);
    filter: blur(1px);
  }
  70% {
    transform: translate3d(-6px, 0, 0) rotate(-.15deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
    filter: blur(0);
  }
}

@keyframes mmSkidBottom {
  0% {
    opacity: 0;
    transform: translate3d(112px, 14px, 0) rotate(2deg);
    filter: blur(12px);
  }
  48% {
    opacity: 1;
    transform: translate3d(-18px, 0, 0) rotate(-.8deg);
    filter: blur(1px);
  }
  72% {
    transform: translate3d(8px, 0, 0) rotate(.2deg);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0);
    filter: blur(0);
  }
}

@keyframes mmSkidTrace {
  0% {
    opacity: 0;
    transform: translateX(40px) scaleX(.24);
  }
  26% {
    opacity: .9;
  }
  100% {
    opacity: 0;
    transform: translateX(0) scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .statement-lead--top,
  .statement-lead--bottom,
  .statement-lead--bottom::after {
    animation: none !important;
    filter: none !important;
    transform: none !important;
  }
}

@media (max-width: 820px) {
  .statement-lead--top {
    letter-spacing: .028em !important;
  }

  .statement-lead--bottom::after {
    width: min(120px, 50%);
  }
}
