:root {
  --bg: #efe6d9;
  --paper: #fffaf1;
  --paper-soft: #f7efe4;
  --ink: #2f261f;
  --walnut: #5b4636;
  --walnut-deep: #31241c;
  --clay: #8d6850;
  --reed: #756d60;
  --water: #697876;
  --line: #ded0bd;
  --line-strong: rgba(72, 52, 39, 0.22);
  --shadow-soft: 0 18px 48px rgba(47, 38, 31, 0.12);
  --shadow-lift: 0 30px 72px rgba(47, 38, 31, 0.18);
  --shadow-photo: 0 24px 58px rgba(47, 38, 31, 0.2);
  color: var(--ink);
  font-family: "Segoe UI", Roboto, Arial, system-ui, sans-serif;
  background: var(--bg);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.prototype {
  margin: 0;
  overflow-x: hidden;
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.72), rgba(239, 230, 217, 0.96)),
    var(--bg);
}

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

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

.proto-hero {
  position: relative;
  min-height: min(620px, 68svh);
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  color: #fffaf1;
  background: var(--proto-hero-image) center / cover;
  box-shadow: inset 0 -120px 120px rgba(47, 38, 31, 0.22);
}

.proto-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 220, 151, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(40, 30, 22, 0.82) 0%, rgba(52, 39, 28, 0.58) 42%, rgba(52, 39, 28, 0.18) 74%),
    linear-gradient(180deg, rgba(30, 22, 17, 0.18) 0%, rgba(30, 22, 17, 0.36) 100%);
}

.proto-hero::after {
  content: "";
  position: absolute;
  right: clamp(18px, 6vw, 88px);
  bottom: clamp(28px, 8vw, 90px);
  width: min(330px, 42vw);
  height: 120px;
  border-top: 1px solid rgba(255, 250, 241, 0.4);
  border-bottom: 1px solid rgba(255, 250, 241, 0.16);
  opacity: 0.75;
}

.proto-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 28px;
  align-items: center;
  margin: 18px clamp(14px, 4vw, 54px) 0;
  padding: 12px clamp(14px, 2.8vw, 24px);
  border: 1px solid rgba(91, 70, 54, 0.16);
  border-radius: 8px;
  color: var(--walnut-deep);
  background: rgba(255, 250, 241, 0.72);
  box-shadow: 0 18px 44px rgba(30, 22, 17, 0.2);
  backdrop-filter: blur(14px);
}

.proto-brand {
  width: min(178px, 44vw);
  border-radius: 5px;
}

.proto-brand img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.proto-menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.proto-menu-toggle {
  display: none;
}

.proto-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  color: var(--walnut-deep);
  font-size: 17px;
  font-weight: 720;
}

.proto-nav a,
.proto-phone {
  text-shadow: none;
}

.proto-phone {
  color: inherit;
  font-weight: 760;
  white-space: nowrap;
}

.proto-hero__content {
  position: relative;
  z-index: 2;
  align-self: end;
  width: min(760px, 100%);
  padding: 0 clamp(18px, 5vw, 72px) clamp(38px, 5.6vw, 64px);
}

.proto-kicker {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  text-transform: uppercase;
}

.proto-hero .proto-kicker {
  color: rgba(255, 250, 241, 0.75);
}

.prototype h1,
.prototype h2,
.prototype h3,
.prototype p {
  overflow-wrap: anywhere;
}

.prototype h1,
.prototype h2,
.prototype h3 {
  margin: 0;
  line-height: 1.04;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: 0;
}

.proto-hero h1 {
  max-width: 740px;
  font-size: clamp(32px, 4.8vw, 59px);
  text-shadow: 0 14px 36px rgba(24, 17, 12, 0.38);
}

.prototype h2 {
  max-width: 850px;
  font-size: clamp(31px, 4.4vw, 54px);
}

.prototype h3 {
  font-size: clamp(23px, 2.1vw, 32px);
}

.proto-hero__content > p:not(.proto-kicker) {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(255, 250, 241, 0.86);
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.6;
  text-shadow: 0 10px 26px rgba(24, 17, 12, 0.26);
}

.proto-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.proto-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid currentColor;
  border-radius: 5px;
  color: var(--walnut);
  font-weight: 760;
  box-shadow: 0 12px 26px rgba(47, 38, 31, 0.08);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.proto-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(47, 38, 31, 0.13);
}

.proto-button--fill {
  border-color: var(--walnut);
  background: var(--walnut);
  color: #fffaf1;
}

.proto-hero .proto-button {
  color: #fffaf1;
}

.proto-hero .proto-button--fill {
  border-color: rgba(255, 250, 241, 0.92);
  background: rgba(255, 250, 241, 0.92);
  color: var(--ink);
}

.proto-feature .proto-button--fill {
  border-color: var(--walnut);
  background: var(--walnut);
  color: #fffaf1;
}

.proto-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  padding: 34px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.proto-intro p {
  max-width: 780px;
  margin: 0;
  color: var(--reed);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.62;
}

.proto-intro div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.proto-intro span {
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--walnut);
  font-size: 13px;
  background: var(--paper-soft);
}

.proto-section,
.proto-feature,
.proto-story,
.proto-contacts,
.proto-footer {
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 72px);
}

.proto-heading {
  max-width: 850px;
  margin-bottom: 34px;
}

.proto-section-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.proto-section-card {
  position: relative;
  min-height: 440px;
  display: grid;
  align-items: end;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow-lift);
  isolation: isolate;
}

.proto-section-card__image {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.proto-section-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(44, 34, 27, 0.04), rgba(44, 34, 27, 0.72)),
    linear-gradient(90deg, rgba(44, 34, 27, 0.28), rgba(44, 34, 27, 0.06));
}

.proto-section-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.62) sepia(0.13) contrast(0.92) brightness(0.94);
  transform: scale(1.01);
  transition: transform 280ms ease, filter 280ms ease;
}

.proto-section-card:hover .proto-section-card__image img {
  filter: saturate(0.72) sepia(0.1) contrast(0.95) brightness(0.96);
  transform: scale(1.035);
}

.proto-section-card__body {
  max-width: 540px;
  padding: clamp(24px, 4vw, 42px);
  color: #fffaf1;
}

.proto-section-card .proto-kicker {
  color: rgba(255, 250, 241, 0.72);
}

.proto-section-card__body p:not(.proto-kicker),
.proto-section-card__body span {
  color: rgba(255, 250, 241, 0.82);
  line-height: 1.64;
}

.proto-section-card__body span {
  display: block;
  margin-top: 18px;
  font-size: 14px;
}

.proto-section--quiet {
  background:
    linear-gradient(180deg, rgba(255, 250, 241, 0.74), rgba(247, 239, 228, 0.96)),
    var(--paper-soft);
}

.proto-product-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 3vw, 30px);
}

.proto-product {
  display: grid;
  grid-template-columns: minmax(180px, 0.82fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 34px);
  align-items: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.9);
  box-shadow: var(--shadow-soft);
}

.proto-product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  filter: saturate(0.68) sepia(0.08) contrast(0.94);
  box-shadow: 0 14px 30px rgba(47, 38, 31, 0.16);
}

.proto-product p {
  margin: 0 0 10px;
  color: var(--reed);
  font-size: 13px;
}

.proto-product span {
  display: block;
  margin-top: 18px;
  color: var(--walnut);
  font-size: 22px;
  font-weight: 760;
}

.proto-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.86fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  background:
    linear-gradient(135deg, rgba(110, 86, 66, 0.1), rgba(255, 250, 241, 0.34)),
    #e6d8c7;
}

.proto-feature__image img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.7) sepia(0.08) contrast(0.94);
  box-shadow: var(--shadow-photo);
}

.proto-feature__copy p:not(.proto-kicker) {
  margin: 20px 0 0;
  color: var(--reed);
  font-size: 17px;
  line-height: 1.7;
}

.proto-feature dl {
  display: grid;
  gap: 1px;
  margin: 28px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: 0 14px 34px rgba(47, 38, 31, 0.08);
}

.proto-feature dl div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 14px;
  background: rgba(255, 250, 241, 0.72);
}

.proto-feature dt {
  color: var(--reed);
}

.proto-feature dd {
  margin: 0;
  font-weight: 700;
}

.proto-story {
  display: grid;
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 78px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.proto-story__image img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 8px;
  filter: saturate(0.72) sepia(0.08) contrast(0.96);
  box-shadow: var(--shadow-soft);
}

.proto-story__copy p:not(.proto-kicker) {
  max-width: 780px;
  color: var(--reed);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.66;
}

.proto-contacts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.74fr);
  gap: 40px;
  align-items: start;
  background:
    linear-gradient(135deg, rgba(105, 120, 118, 0.2), transparent 38%),
    var(--walnut-deep);
  color: #fffaf1;
}

.proto-contacts .proto-kicker {
  color: rgba(255, 250, 241, 0.62);
}

.proto-contact-list {
  display: grid;
  gap: 14px;
  color: rgba(255, 250, 241, 0.84);
  font-size: 19px;
  font-weight: 700;
}

.proto-footer {
  display: grid;
  grid-template-columns: minmax(260px, 1.18fr) minmax(150px, 0.55fr) minmax(190px, 0.75fr) minmax(220px, 0.8fr);
  gap: 34px;
  background: #211914;
  color: rgba(255, 250, 241, 0.82);
  border-top: 1px solid rgba(255, 250, 241, 0.12);
}

.proto-footer__brand img {
  width: 210px;
  padding: 10px 12px;
  margin-bottom: 16px;
  border-radius: 6px;
  background: rgba(255, 250, 241, 0.88);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.18);
}

.proto-footer p {
  margin: 0;
  color: rgba(255, 250, 241, 0.64);
  line-height: 1.62;
}

.proto-footer nav,
.proto-footer > div:not(.proto-footer__brand) {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 4px;
}

.proto-footer a {
  color: rgba(255, 250, 241, 0.76);
}

.proto-footer span {
  margin-bottom: 8px;
  color: #fffaf1;
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .proto-header,
  .proto-intro,
  .proto-section-cards,
  .proto-product-row,
  .proto-feature,
  .proto-story,
  .proto-contacts,
  .proto-footer {
    grid-template-columns: 1fr;
  }

  .proto-header {
    gap: 16px;
  }

  .proto-nav {
    justify-content: start;
  }

  .proto-intro div {
    justify-content: flex-start;
  }

  .proto-section-card {
    min-height: 380px;
  }
}

@media (max-width: 640px) {
  .proto-hero {
    min-height: min(600px, 72svh);
  }

  .proto-hero::after {
    display: none;
  }

  .proto-header {
    padding-top: 16px;
    width: min(342px, calc(100% - 48px));
    margin: 18px 24px 0;
    padding: 12px 14px;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .proto-brand {
    width: min(172px, 64vw);
  }

  .proto-menu {
    justify-self: end;
  }

  .proto-menu-toggle {
    width: 44px;
    height: 44px;
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    align-items: center;
    border: 1px solid rgba(91, 70, 54, 0.22);
    border-radius: 6px;
    background: rgba(255, 250, 241, 0.42);
    color: var(--walnut-deep);
    cursor: pointer;
  }

  .proto-menu-toggle span {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 180ms ease, opacity 180ms ease;
  }

  .proto-menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .proto-menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .proto-menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .proto-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 5;
    min-width: 196px;
    display: grid;
    gap: 2px;
    padding: 8px;
    border: 1px solid rgba(91, 70, 54, 0.18);
    border-radius: 8px;
    background: rgba(255, 250, 241, 0.94);
    box-shadow: 0 18px 42px rgba(30, 22, 17, 0.18);
    color: var(--walnut-deep);
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  .proto-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
  }

  .proto-nav a {
    padding: 10px 12px;
    border-radius: 5px;
  }

  .proto-nav a:hover {
    background: rgba(91, 70, 54, 0.08);
  }

  .proto-phone {
    display: none;
  }

  .proto-hero__content {
    padding-bottom: 34px;
    max-width: 342px;
  }

  .proto-hero h1 {
    font-size: clamp(29px, 8.25vw, 38px);
  }

  .prototype h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .proto-heading,
  .proto-intro p,
  .proto-hero__content > p:not(.proto-kicker),
  .proto-story__copy p:not(.proto-kicker) {
    max-width: 342px;
  }

  .proto-kicker {
    max-width: 342px;
    line-height: 1.45;
  }

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

  .proto-product {
    grid-template-columns: 1fr;
  }

  .proto-feature dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
