:root {
  --ww-bg: #f2eee4;
  --ww-surface: #fbfaf6;
  --ww-text: #182019;
  --ww-muted: #62685f;
  --ww-green: #24462f;
  --ww-green-dark: #14311f;
  --ww-deep: #203f42;
  --ww-line: #d7d0c2;
  --ww-line-strong: #bcb2a1;
  --ww-white: #ffffff;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  background: var(--ww-bg);
  color: var(--ww-text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.ww-page {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  background: var(--ww-surface);
}

.ww-photo {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #ded7cb;
  border-bottom: 1px solid var(--ww-line);
}

.ww-photo img {
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
}

.ww-info {
  border-bottom: 1px solid var(--ww-line);
  background: var(--ww-surface);
}

.ww-info-inner {
  width: min(100%, 1400px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: clamp(52px, 6vw, 104px);
  align-items: start;
  padding: clamp(56px, 5vw, 86px) clamp(32px, 5vw, 88px);
}

.ww-kicker {
  margin: 0 0 18px;
  color: var(--ww-green);
  font-size: 12px;
  line-height: 1;
  font-weight: 850;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.ww-text h1 {
  max-width: 940px;
  margin: 0 0 32px;
  color: var(--ww-green-dark);
  font-size: clamp(40px, 3.75vw, 60px);
  line-height: 1.07;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  font-weight: 900;
}

.ww-lead {
  max-width: 900px;
  margin: 0;
  color: var(--ww-muted);
  font-size: clamp(18px, 1.15vw, 21px);
  line-height: 1.78;
  font-weight: 450;
}

.ww-lead strong {
  color: var(--ww-green-dark);
  font-weight: 850;
}

.ww-side {
  border-left: 1px solid var(--ww-line);
  padding-left: clamp(30px, 3vw, 48px);
}

.ww-button {
  display: flex;
  width: 100%;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--ww-green-dark);
  background: var(--ww-green-dark);
  color: var(--ww-white);
  text-decoration: none;
  font-size: 14px;
  line-height: 1;
  font-weight: 850;
  transition: background-color 160ms ease, color 160ms ease;
}

.ww-button:hover,
.ww-button:focus-visible {
  background: transparent;
  color: var(--ww-green-dark);
}

.ww-contact {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--ww-line);
  color: var(--ww-muted);
  font-size: 15px;
  line-height: 1.7;
}

.ww-contact-title {
  margin: 0 0 18px !important;
  color: var(--ww-green-dark);
  font-size: 25px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 900;
}

.ww-contact p {
  margin: 0 0 10px;
}

.ww-contact span {
  color: var(--ww-text);
  font-weight: 850;
}

.ww-contact a {
  color: var(--ww-green-dark);
  text-decoration: none;
  font-weight: 850;
}

.ww-contact a:hover,
.ww-contact a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.ww-side-logo {
  margin-top: 32px;
  padding-top: 30px;
  border-top: 1px solid var(--ww-line);
}

.ww-side-logo img {
  width: 150px;
  height: auto;
}

.ww-error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--ww-bg);
}

.ww-error-box {
  width: min(100%, 760px);
  padding: clamp(34px, 6vw, 72px);
  border: 1px solid var(--ww-line-strong);
  background: var(--ww-surface);
}

.ww-error-code {
  margin: 0 0 18px;
  color: var(--ww-green);
  font-size: 12px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.ww-error-box h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ww-green-dark);
  font-size: clamp(42px, 7vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 900;
}

.ww-error-box p:not(.ww-error-code) {
  max-width: 560px;
  margin: 24px 0 0;
  color: var(--ww-muted);
  font-size: 18px;
  line-height: 1.7;
}

.ww-error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 36px 0 0;
}

.ww-error-actions .ww-button {
  width: auto;
  min-width: 210px;
}

.ww-error-actions .ww-button-secondary {
  background: transparent;
  color: var(--ww-green-dark);
}

.ww-error-actions .ww-button-secondary:hover,
.ww-error-actions .ww-button-secondary:focus-visible {
  background: var(--ww-green-dark);
  color: var(--ww-white);
}

@media (max-width: 980px) {
  body { background: var(--ww-deep); }

  .ww-page {
    width: min(100%, 760px);
    margin: 0 auto;
  }

  .ww-info-inner {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 42px 32px 56px;
  }

  .ww-side {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--ww-line);
    padding-top: 34px;
    text-align: center;
  }

  .ww-button {
    width: min(100%, 420px);
    margin: 0 auto;
  }

  .ww-contact {
    margin-top: 34px;
    padding-top: 30px;
  }

  .ww-side-logo img {
    margin: 0 auto;
  }
}

@media (max-width: 760px) {
  .ww-info-inner {
    padding: 34px 24px 48px;
  }

  .ww-text h1 {
    font-size: clamp(32px, 9.4vw, 48px);
    line-height: 1.1;
    letter-spacing: 0.035em;
  }

  .ww-lead {
    font-size: 17px;
    line-height: 1.75;
  }

  .ww-side-logo img {
    width: 136px;
  }

  .ww-error-actions .ww-button,
  .ww-button {
    width: 100%;
  }

  .ww-error-box {
    text-align: left;
  }
}
