:root {
  --white: #ffffff;
  --ink: #111111;
  --gray-100: #f0f0ef;
  --gray-200: #e1e1df;
  --gray-500: #999996;
  --blue: #213cff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.1;
}

::selection { background: var(--blue); color: var(--white); }
a { color: inherit; }

.site-header {
  position: fixed;
  z-index: 20;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 62px;
  border: 1px solid var(--gray-200);
  background: rgba(255, 255, 255, 0.95);
  padding: 12px 14px;
  backdrop-filter: blur(8px);
}

.site-mark {
  padding: 8px 11px;
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.06em;
  text-decoration: none;
  white-space: nowrap;
}

.site-header nav { display: flex; gap: 10px; }

.site-header nav a {
  display: block;
  background: var(--gray-100);
  padding: 9px 13px 8px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 120ms ease, color 120ms ease;
}

.site-header nav a:hover,
.site-header nav a.active { background: var(--ink); color: var(--white); }

.site-header a:focus-visible,
.contact-page a:focus-visible,
button:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.home-page {
  position: relative;
  display: flex;
  min-height: 100svh;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 128px 24px 32px;
}

.home-statement {
  width: min(100%, 760px);
  margin: 0;
  font-size: clamp(38px, 5.8vw, 76px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
  text-align: center;
}

.home-footer {
  position: absolute;
  right: 22px;
  bottom: 20px;
  left: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.home-footer p { margin: 0; }

.year-mark {
  color: var(--blue);
  font-family: "Courier New", Courier, monospace;
  font-size: 16px;
  transform: rotate(-4deg);
}

.contact-page {
  width: min(100% - 48px, 1180px);
  margin: 0 auto;
  padding: 152px 0 28px;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(150px, 0.55fr) minmax(0, 2fr);
  gap: 32px;
  min-height: calc(100svh - 205px);
  padding: 27px 0 72px;
  border-top: 1px solid var(--gray-200);
}

.contact-layout h1 {
  margin: 20px 0 0;
  font-size: clamp(42px, 6vw, 76px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.section-label {
  margin: 0;
  color: var(--gray-500);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-form { display: grid; max-width: 760px; gap: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: grid; gap: 7px; }
label > span { font-size: 12px; font-weight: 700; text-transform: uppercase; }

input,
textarea {
  width: 100%;
  border: 1px solid var(--gray-200);
  border-radius: 0;
  background: var(--gray-100);
  color: var(--ink);
  font: inherit;
  outline: none;
  padding: 13px 14px;
}

input:focus,
textarea:focus {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 3px 3px 0 var(--blue);
}

textarea { min-height: 142px; resize: vertical; }
.honey { position: absolute; left: -9999px; }
.form-footer { display: flex; min-height: 45px; align-items: center; gap: 18px; }

button {
  min-height: 43px;
  border: 0;
  border-radius: 0;
  background: var(--ink);
  color: var(--white);
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  padding: 0 17px;
  text-transform: uppercase;
}

button:hover:not(:disabled) { background: var(--blue); }
button:disabled { cursor: wait; opacity: 0.6; }
.form-status { margin: 0; color: var(--gray-500); font-size: 13px; line-height: 1.25; }
.form-status.sent { color: #18713b; }
.form-status.error { color: #a32929; }

.info-footer {
  display: flex;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .site-header {
    top: 10px;
    right: 10px;
    left: 10px;
    justify-content: space-between;
    gap: 8px;
    min-height: 54px;
    padding: 8px;
  }

  .site-mark { padding: 7px; font-size: 15px; }
  .site-header nav { gap: 5px; }
  .site-header nav a { padding: 8px 9px 7px; font-size: 10px; }
  .home-page { padding: 100px 15px 44px; }
  .home-statement { font-size: clamp(36px, 11vw, 58px); text-align: left; }
  .home-footer { right: 15px; bottom: 13px; left: 15px; font-size: 10px; }
  .contact-page { width: min(100% - 28px, 1180px); padding-top: 104px; }
  .contact-layout { grid-template-columns: 1fr; gap: 24px; min-height: auto; padding-bottom: 55px; }
  .field-row { grid-template-columns: 1fr; }
  .form-footer { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
