@font-face {
  font-family: "Manrope";
  src: url("./manrope-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  src: url("./manrope-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #123650;
  --blue-2: #1b4967;
  --footer: #0b2236;
  --red: #96283a;
  --red-dark: #761d2d;
  --ink: #17212c;
  --muted: #68727b;
  --paper: #f4f3ef;
  --white: #fff;
  --line: #d9dcda;
  --max: 1180px;
  --header: 82px;
  --ease: cubic-bezier(.2, .75, .25, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header);
  display: grid;
  grid-template-columns: 170px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 0 clamp(20px, 3vw, 52px);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .97);
  transition:
    background-color .3s var(--ease),
    border-color .3s var(--ease),
    box-shadow .3s var(--ease);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.brand-switch {
  min-width: 128px;
  min-height: 42px;
  padding: 6px 13px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.15;
  transition: border-color .25s, background .25s, color .25s;
}

.brand-switch span {
  margin-bottom: 3px;
  color: var(--muted);
  font-size: .56rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brand-switch:hover {
  border-color: var(--ink);
}

.home-page .brand-switch {
  border-color: rgba(255, 255, 255, .38);
  color: var(--white);
}

.home-page .brand-switch span {
  color: rgba(255, 255, 255, .64);
}

.mobile-brand-switch {
  display: none;
}

.home-page .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border-bottom-color: rgba(255, 255, 255, .18);
  background: transparent;
  color: var(--white);
}

.site-header.is-scrolled {
  position: sticky;
  right: 0;
  left: 0;
  border-bottom-color: rgba(23, 33, 44, .1);
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 10px 30px rgba(14, 25, 36, .09);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
  animation: header-slide-in .38s var(--ease) both;
}

.home-page .site-header.is-scrolled {
  position: fixed;
  border-bottom-color: rgba(255, 255, 255, .12);
  background: rgba(8, 29, 46, .82);
  box-shadow: 0 12px 34px rgba(4, 17, 29, .22);
}

.mirvari-page.home-page .site-header.is-scrolled {
  background: rgba(11, 12, 15, .84);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .25);
}

@keyframes header-slide-in {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.home-page .brand img {
  filter: brightness(0) invert(1);
}

.home-page .nav a {
  color: var(--white);
  text-shadow: 0 1px 18px rgba(4, 20, 34, .25);
}

.brand {
  width: 132px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav a {
  position: relative;
  padding: 27px 0 24px;
  font-size: .88rem;
  font-weight: 700;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 100%;
  bottom: 19px;
  left: 0;
  height: 2px;
  background: var(--red);
  transition: right .3s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

.header-cta {
  min-height: 42px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--red);
  background: var(--red);
  color: var(--white);
  font-size: .82rem;
  font-weight: 800;
  transition: background .25s, transform .25s var(--ease);
}

.header-cta:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
}

.menu-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.mobile-cta {
  display: none;
}

.container {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.hero {
  min-height: 650px;
  background: var(--blue);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 30px;
  height: 1px;
  background: currentColor;
}

.page-hero h1,
.section-heading h2,
.story-copy h2,
.cta-band h2 {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-weight: 650;
  line-height: 1.05;
}

.section-heading em,
.story-copy em {
  color: var(--red);
  font-weight: 650;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid var(--ink);
  font-size: .85rem;
  font-weight: 800;
  transition: transform .25s var(--ease), color .25s, background .25s, border-color .25s;
}

.button::after {
  content: "↗";
  font-size: 1rem;
}

.button.primary {
  border-color: var(--red);
  background: var(--red);
  color: var(--white);
}

.button:hover {
  transform: translateY(-2px);
}

.button:not(.primary):hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
}

.hero-visual {
  position: relative;
  min-height: 650px;
  height: calc(100svh - var(--header));
  max-height: 760px;
  overflow: hidden;
  background: var(--blue);
}

.home-page .hero-visual {
  min-height: 720px;
  height: 100svh;
  max-height: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-wheat-image {
  position: absolute;
  inset: 0;
  object-position: center;
  animation: hero-image-in 1.4s var(--ease) both;
}

@keyframes hero-image-in {
  from {
    opacity: .35;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero-wheat-shade {
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 20, 34, .58) 0%, rgba(5, 20, 34, .08) 22%, transparent 38%),
    linear-gradient(90deg, rgba(7, 28, 46, .42) 0%, rgba(7, 28, 46, .08) 43%, rgba(7, 28, 46, .36) 100%),
    linear-gradient(0deg, rgba(5, 20, 34, .32), transparent 48%);
  pointer-events: none;
}

.hero-editorial-grid {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: min(var(--max), calc(100% - 96px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(280px, .78fr) minmax(540px, 1.35fr);
  align-items: center;
  gap: clamp(50px, 7vw, 120px);
  color: var(--white);
}

.home-page .hero-editorial-grid {
  padding-top: var(--header);
}

.hero-intro {
  align-self: end;
  max-width: 380px;
  margin-bottom: clamp(64px, 9vh, 112px);
  animation: hero-copy-in .9s .15s var(--ease) both;
}

.hero-intro .eyebrow {
  color: var(--white);
}

.hero-intro h2 {
  max-width: 360px;
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 2.5vw, 2.65rem);
  font-weight: 650;
  line-height: 1.08;
}

.hero-intro p {
  max-width: 350px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, .78);
  font-size: .95rem;
}

.hero-button {
  border-color: rgba(255, 255, 255, .72);
  color: var(--white);
}

.hero-button:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--blue);
}

.hero-statement {
  position: relative;
  justify-self: end;
  width: min-content;
  margin: 0;
  padding-right: 30px;
  font-size: clamp(4.4rem, 7.15vw, 7.45rem);
  font-weight: 800;
  line-height: .88;
  text-transform: uppercase;
  animation: hero-copy-in .9s .3s var(--ease) both;
}

.hero-statement::after {
  content: "";
  position: absolute;
  top: 3%;
  right: 0;
  width: 2px;
  height: 94%;
  background: var(--red);
  transform-origin: top;
  animation: hero-rule-in 1s .6s var(--ease) both;
}

.hero-statement span {
  display: block;
  white-space: nowrap;
}

.hero-statement span:last-child {
  margin-top: 14px;
  color: rgba(255, 255, 255, .82);
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hero-rule-in {
  from { transform: scaleY(0); }
  to { transform: scaleY(1); }
}

.section {
  padding: 100px 0;
}

.section-white {
  background: var(--white);
}

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

.section-heading {
  display: grid;
  grid-template-columns: 1fr minmax(280px, .55fr);
  align-items: end;
  gap: 50px;
  margin-bottom: 44px;
}

.section-heading h2 {
  max-width: 720px;
  margin-bottom: 0;
  font-size: clamp(2.5rem, 4vw, 3.8rem);
}

.section-heading p {
  margin-bottom: 6px;
  color: var(--muted);
}

.section-blue .section-heading p {
  color: rgba(255,255,255,.68);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s;
}

.product-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 18px 45px rgba(8,43,76,.12);
}

.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-card-body {
  padding: 24px;
}

.product-card-body span {
  color: var(--red);
  font-size: .7rem;
  font-weight: 850;
  text-transform: uppercase;
}

.product-card h3 {
  margin: 8px 0 12px;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.15;
}

.product-card p {
  margin-bottom: 17px;
  color: var(--muted);
  font-size: .9rem;
}

.text-link {
  color: var(--blue);
  font-size: .82rem;
  font-weight: 850;
}

.text-link::after {
  content: " →";
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: 64px;
  align-items: center;
}

.story-media {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  grid-template-rows: 220px 310px;
  gap: 14px;
}

.story-media img:first-child {
  grid-row: 1 / 3;
}

.story-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-media img:last-child {
  background: var(--blue);
}

.values-section {
  overflow: hidden;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.values-heading {
  margin-bottom: 38px;
  display: grid;
  grid-template-columns: 1fr minmax(320px, .58fr);
  align-items: end;
  gap: 52px;
}

.values-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.7rem, 4.5vw, 4.2rem);
  line-height: 1;
}

.values-actions {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}

.values-actions p {
  max-width: 390px;
  margin-bottom: 2px;
  color: var(--muted);
}

.values-controls {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.values-controls button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--blue);
  font-size: 1.15rem;
  cursor: pointer;
  transition: border-color .25s, background .25s, color .25s, transform .25s;
}

.values-controls button:hover {
  border-color: var(--blue);
  background: var(--blue);
  color: var(--white);
  transform: translateY(-2px);
}

.values-viewport {
  margin-right: calc((100vw - min(var(--max), calc(100vw - 48px))) / -2);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  cursor: grab;
}

.values-viewport::-webkit-scrollbar {
  display: none;
}

.values-viewport.dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  user-select: none;
}

.values-track {
  width: max-content;
  padding: 0 max(24px, calc((100vw - var(--max)) / 2)) 12px 0;
  display: flex;
  gap: 14px;
}

.value-card {
  flex: 0 0 clamp(300px, 29vw, 370px);
  min-height: 285px;
  padding: 30px 30px 28px;
  border: 1px solid var(--line);
  scroll-snap-align: start;
  background: var(--white);
  transition: border-color .35s var(--ease), transform .35s var(--ease), box-shadow .35s var(--ease);
}

.value-card:hover {
  z-index: 1;
  border-color: rgba(18, 54, 80, .35);
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(18, 54, 80, .08);
}

.value-card span {
  display: block;
  margin-bottom: 54px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 850;
}

.value-card h3 {
  max-width: 270px;
  margin-bottom: 16px;
  color: var(--blue);
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 1.45rem;
  font-weight: 700;
  line-height: 1.18;
}

.value-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .9rem;
}


.story-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.6rem, 4vw, 3.8rem);
}

.story-copy p {
  color: var(--muted);
}

.check-list {
  margin: 25px 0 30px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px solid var(--line);
  font-weight: 650;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.stat-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255,255,255,.18);
}

.stat {
  min-height: 210px;
  padding: 34px;
  border-right: 1px solid rgba(255,255,255,.18);
}

.stat:last-child {
  border-right: 0;
}

.stat span {
  color: #d9e4ec;
  font-size: .74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.stat strong {
  display: block;
  margin: 58px 0 10px;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.4rem, 4vw, 4rem);
  font-weight: 500;
  line-height: 1;
}

.stat p {
  margin: 0;
  color: rgba(255,255,255,.6);
  font-size: .86rem;
}

.cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  padding: 70px max(24px, calc((100vw - var(--max)) / 2));
  background: var(--red);
  color: var(--white);
}

.cta-band h2 {
  max-width: 800px;
  margin-bottom: 10px;
  font-size: clamp(2.5rem, 4vw, 4rem);
}

.cta-band p {
  margin: 0;
  color: rgba(255,255,255,.75);
}

.cta-band .button {
  min-width: 190px;
  border-color: var(--white);
  background: var(--white);
  color: var(--red);
}

.page-hero {
  padding: 95px max(24px, calc((100vw - var(--max)) / 2)) 72px;
  background: var(--paper);
}

.page-hero h1 {
  max-width: 920px;
  margin-bottom: 20px;
  font-size: clamp(3rem, 4.8vw, 4.8rem);
}

.page-hero p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.about-copy {
  display: grid;
  grid-template-columns: .62fr 1.38fr;
  gap: 72px;
}

.about-copy h2 {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 2.1rem;
  font-weight: 500;
  line-height: 1.2;
}

.about-body {
  columns: 2;
  column-gap: 42px;
  color: var(--muted);
}

.about-body p {
  break-inside: avoid;
}

.company-profile {
  padding: 96px 0;
  background: var(--footer);
  color: var(--white);
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(280px, .72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 76px;
}

.profile-intro h2 {
  max-width: 440px;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 3.4vw, 3.4rem);
  line-height: 1.08;
}

.profile-intro p {
  max-width: 490px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, .62);
}

.profile-facts {
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, .16);
}

.profile-facts div {
  padding: 22px 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.profile-facts dt {
  color: rgba(255, 255, 255, .58);
  font-size: .82rem;
  font-weight: 650;
}

.profile-facts dd {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  text-align: right;
  font-size: 1rem;
}

.profile-facts strong {
  color: var(--white);
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 650;
}

.mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.mission-card {
  min-height: 350px;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: var(--white);
}

.mission-card:last-child {
  background: var(--blue);
  color: var(--white);
}

.mission-card h2 {
  margin-bottom: 16px;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.mission-card p {
  max-width: 500px;
  margin: 0;
  color: var(--muted);
}

.mission-card:last-child p {
  color: rgba(255,255,255,.68);
}

.documents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.document-group {
  padding: 32px;
  border-top: 4px solid var(--red);
  background: var(--white);
}

.document-group h2 {
  margin-bottom: 22px;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 2rem;
  font-weight: 500;
}

.document-link {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  font-weight: 650;
}

.document-link::before {
  content: "PDF";
  color: var(--red);
  font-size: .65rem;
  font-weight: 900;
}

.document-link::after {
  content: "↗";
}

.catalog {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 55px;
}

.catalog-aside {
  position: sticky;
  top: 28px;
  align-self: start;
}

.catalog-aside h2 {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 2.3rem;
  font-weight: 500;
}

.catalog-aside p {
  color: var(--muted);
}

.catalog-list {
  border-top: 1px solid var(--line);
}

.catalog-row {
  min-height: 114px;
  display: grid;
  grid-template-columns: 1fr 190px;
  align-items: center;
  gap: 18px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
}

.catalog-row strong {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 1.35rem;
  font-weight: 500;
}

.catalog-row > span {
  color: var(--red);
  font-size: .84rem;
  font-weight: 850;
}

.catalog-row p {
  grid-column: 1 / -1;
  margin: -9px 0 0;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(300px, .72fr) minmax(500px, 1.28fr);
  gap: 68px;
  align-items: start;
}

.contact-copy {
  position: sticky;
  top: 28px;
}

.contact-copy h2 {
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: clamp(2.8rem, 4.4vw, 4.2rem);
  font-weight: 500;
  line-height: 1.05;
}

.contact-copy > p {
  color: var(--muted);
}

.contact-email {
  display: block;
  margin: 30px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--blue);
  font-weight: 800;
}

.contact-email span {
  display: block;
  color: var(--red);
  font-size: .68rem;
  text-transform: uppercase;
}

.contact-points {
  display: grid;
  gap: 13px;
}

.contact-point {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 12px;
}

.contact-point b {
  color: var(--red);
}

.contact-point p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: .86rem;
}

.contact-form {
  padding: 38px;
  background: var(--blue);
  color: var(--white);
}

.contact-form h2 {
  margin-bottom: 8px;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-size: 2.2rem;
  font-weight: 500;
}

.form-note {
  margin-bottom: 28px;
  color: rgba(255,255,255,.64);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 17px;
}

.field,
.field-full {
  display: grid;
  gap: 7px;
}

.field-full {
  grid-column: 1 / -1;
}

.field label,
.field-full label,
.choice-title {
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 0;
  outline: 0;
  background: rgba(255,255,255,.08);
  color: var(--white);
}

input,
select {
  height: 50px;
  padding: 0 14px;
}

textarea {
  min-height: 112px;
  padding: 13px 14px;
  resize: vertical;
}

select {
  color-scheme: dark;
}

select option {
  background: var(--white);
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: #b9d0e0;
  box-shadow: 0 0 0 3px rgba(185,208,224,.12);
}

.choice-row {
  display: flex;
  gap: 10px;
}

.choice-row label {
  flex: 1;
  min-height: 44px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.25);
  cursor: pointer;
}

.choice-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--red);
}

.conditional-fields {
  display: none;
  grid-column: 1 / -1;
}

.conditional-fields.active {
  display: contents;
}

.contact-form button[type="submit"] {
  min-height: 52px;
  width: 100%;
  border: 0;
  background: var(--red);
  color: var(--white);
  font-weight: 850;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  color: #d7e4ed;
  font-size: .82rem;
  line-height: 1.55;
}

.form-status.is-success {
  color: #b9e4cc;
}

.form-status.is-error {
  color: #ffc1c8;
}

.site-footer {
  position: relative;
  padding: 82px max(24px, calc((100vw - var(--max)) / 2)) 26px;
  display: grid;
  grid-template-columns: 1.35fr .7fr .7fr 1fr;
  gap: 64px;
  overflow: hidden;
  background: var(--footer);
  color: var(--white);
}

.footer-wordmark {
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  color: var(--white);
  font-size: clamp(1.8rem, 2.5vw, 2.45rem);
  font-weight: 750;
  line-height: 1;
}

.footer-wordmark::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 42px;
  height: 2px;
  background: var(--red);
}

.footer-brand p {
  max-width: 330px;
  margin: 24px 0 18px;
  color: rgba(255,255,255,.58);
}

.footer-email {
  color: rgba(255, 255, 255, .84);
  font-size: .9rem;
  font-weight: 650;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col h3 {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .42);
  font-size: .7rem;
  font-weight: 750;
  text-transform: uppercase;
}

.footer-col a {
  color: rgba(255,255,255,.72);
  transition: color .2s, transform .2s;
}

.footer-col p {
  max-width: 280px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, .54);
  font-size: .88rem;
}

.footer-col .footer-inquiry {
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .35);
  color: var(--white);
  font-weight: 650;
}

.footer-col a:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-bottom {
  grid-column: 1 / -1;
  margin-top: 20px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.4);
  font-size: .8rem;
}

.mirvari-page {
  --blue: #202226;
  --blue-2: #2b2e33;
  --footer: #090a0c;
  --red: #982638;
  --red-dark: #741b2a;
  --ink: #181a1e;
  --muted: #6e7278;
  --paper: #f2f2f0;
  --line: #d9dad8;
}

.mirvari-brand {
  width: 150px;
  height: 64px;
}

.mirvari-brand img {
  width: auto;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.mirvari-page.home-page .mirvari-brand img {
  filter: brightness(0) invert(1);
}

.mirvari-page .hero-wheat-shade {
  background:
    linear-gradient(90deg, rgba(7, 8, 10, .86) 0%, rgba(7, 8, 10, .54) 44%, rgba(7, 8, 10, .17) 76%),
    linear-gradient(0deg, rgba(7, 8, 10, .5), transparent 52%);
}

.mirvari-page .product-card:hover {
  box-shadow: 0 18px 45px rgba(24, 26, 30, .14);
}

.mirvari-page .text-link,
.mirvari-page .contact-email {
  color: var(--ink);
}

.mirvari-service-cards .product-card img {
  aspect-ratio: 4 / 3;
}

.mirvari-page .story-media {
  display: block;
  aspect-ratio: 4 / 3;
}

.mirvari-page .story-media img,
.mirvari-page .story-media img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mirvari-page .section-blue,
.mirvari-page .company-profile,
.mirvari-page .contact-form {
  background: var(--blue);
}

.mirvari-page .site-footer {
  background: var(--footer);
}

.mirvari-page .cta-band {
  background: var(--red);
}

.single-document {
  max-width: 760px;
  grid-template-columns: 1fr;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

@media (max-width: 980px) {
  :root {
    --header: 70px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    padding: 0 20px;
  }

  .brand {
    width: 116px;
    height: auto;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
    padding: 11px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 1px solid var(--line);
    background: var(--white);
    cursor: pointer;
  }

  .home-page .menu-toggle {
    border-color: rgba(255, 255, 255, .42);
    background: rgba(4, 22, 39, .24);
  }

  .menu-toggle span {
    height: 2px;
    background: var(--ink);
    transition: transform .25s, opacity .25s;
  }

  .home-page .menu-toggle span {
    background: var(--white);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav {
    position: fixed;
    top: var(--header);
    right: 0;
    left: 0;
    width: 100%;
    height: calc(100svh - var(--header));
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    transform: translateX(100%);
    transition: transform .35s var(--ease);
  }

  .nav.open {
    transform: none;
  }

  .home-page .nav.open a {
    color: var(--white);
    text-shadow: none;
  }

  .home-page .nav {
    top: 0;
    z-index: 45;
    height: 100svh;
    padding: calc(var(--header) + 28px) 22px 26px;
    background: rgba(5, 23, 39, .98);
  }

  .home-page .nav a {
    border-bottom-color: rgba(255, 255, 255, .14);
  }

  .home-page .brand,
  .home-page .menu-toggle {
    position: relative;
    z-index: 60;
  }

  .nav a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.18rem;
  }

  .nav a::after {
    display: none;
  }

  .nav .mobile-cta {
    margin-top: 12px;
    min-height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    font-size: .88rem;
  }

  .home-page .nav.open .mobile-cta {
    color: var(--white);
  }

  .header-cta {
    display: none;
  }

  .header-actions {
    display: none;
  }

  .nav .mobile-brand-switch {
    min-height: 62px;
    margin-top: auto;
    padding: 12px 0;
    display: flex;
    border: 0;
    border-bottom: 1px solid var(--line);
  }

  .home-page .nav.open .mobile-brand-switch,
  .mirvari-page.home-page .nav.open .mobile-brand-switch {
    border-bottom-color: rgba(255, 255, 255, .14);
    color: var(--white);
  }

  .home-page .nav.open .mobile-brand-switch span,
  .mirvari-page.home-page .nav.open .mobile-brand-switch span {
    color: rgba(255, 255, 255, .58);
  }

  .mirvari-page.home-page .nav {
    background: rgba(11, 12, 15, .985);
  }

  .mirvari-brand {
    width: 132px;
    height: 58px;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    left: 32px;
    width: min(620px, 78vw);
    padding: 58px 0;
  }

  .hero-editorial-grid {
    width: calc(100% - 64px);
    grid-template-columns: minmax(250px, .72fr) minmax(430px, 1.28fr);
    gap: 28px;
  }

  .hero-statement {
    padding-right: 22px;
    font-size: clamp(3.75rem, 7.4vw, 5.25rem);
  }

  .hero-visual {
    min-height: 650px;
    height: calc(100svh - var(--header));
  }

  .home-page .hero-visual {
    min-height: 720px;
    height: 100svh;
    max-height: none;
  }

  .section-heading,
  .values-heading,
  .story-grid,
  .about-copy,
  .contact-layout,
  .profile-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .values-actions {
    align-items: center;
  }

  .about-body {
    columns: 1;
  }

  .contact-copy,
  .catalog-aside {
    position: static;
  }

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

  .site-footer {
    grid-template-columns: 1fr 1fr;
    gap: 42px 32px;
  }

  .footer-brand,
  .footer-bottom {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .hero-copy {
    left: 20px;
    width: calc(100% - 40px);
    padding: 46px 0 40px;
  }

  .hero-visual {
    min-height: 690px;
    height: calc(100svh - var(--header));
    max-height: 730px;
  }

  .home-page .hero-visual {
    min-height: 720px;
    height: 100svh;
    max-height: none;
  }

  .hero-wheat-image {
    object-position: 47% center;
  }

  .hero-wheat-shade {
    background:
      linear-gradient(180deg, rgba(5, 22, 38, .5) 0%, rgba(5, 22, 38, .1) 38%, rgba(5, 22, 38, .76) 100%),
      linear-gradient(90deg, rgba(5, 22, 38, .28), rgba(5, 22, 38, .45));
  }

  .hero-editorial-grid {
    width: calc(100% - 40px);
    padding: 0;
    display: block;
  }

  .hero-intro {
    position: absolute;
    right: 0;
    bottom: 48px;
    left: 0;
    max-width: 340px;
    margin-bottom: 0;
  }

  .hero-intro h2 {
    margin-bottom: 12px;
    font-size: 1.55rem;
  }

  .hero-intro p {
    margin-bottom: 20px;
    font-size: .9rem;
  }

  .hero-statement {
    position: absolute;
    top: clamp(136px, 20vh, 178px);
    right: 0;
    padding-right: 16px;
    font-size: clamp(2.65rem, 11.7vw, 4rem);
    text-align: right;
  }

  .hero-statement span:last-child {
    margin-top: 8px;
  }

  .section {
    padding: 72px 0;
  }

  .section-heading {
    gap: 16px;
    margin-bottom: 32px;
  }

  .section-heading h2,
  .story-copy h2,
  .cta-band h2 {
    font-size: clamp(2.5rem, 12vw, 3.5rem);
  }

  .product-grid,
  .stat-band,
  .mission-grid,
  .documents {
    grid-template-columns: 1fr;
  }

  .product-card {
    max-width: 520px;
    margin-inline: auto;
  }

  .story-media {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 240px 180px;
  }

  .story-media img:first-child {
    grid-row: 1;
    grid-column: 1 / -1;
  }

  .mirvari-page .story-media {
    display: block;
    aspect-ratio: 4 / 3;
  }

  .value-card {
    flex-basis: min(82vw, 330px);
    min-height: 260px;
    padding: 26px;
  }

  .value-card span {
    margin-bottom: 42px;
  }

  .values-heading {
    margin-bottom: 28px;
  }

  .values-actions {
    align-items: flex-end;
  }

  .values-actions p {
    max-width: 240px;
    font-size: .86rem;
  }

  .values-viewport {
    margin-right: -20px;
  }

  .values-track {
    padding-right: 20px;
  }

  .profile-facts div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .profile-facts dd {
    text-align: left;
  }

  .stat {
    min-height: 170px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }

  .stat:last-child {
    border-bottom: 0;
  }

  .stat strong {
    margin-top: 36px;
  }

  .cta-band {
    grid-template-columns: 1fr;
    padding: 58px 20px;
  }

  .cta-band .button {
    width: 100%;
  }

  .page-hero {
    padding: 72px 20px 58px;
  }

  .page-hero h1 {
    font-size: clamp(3rem, 14vw, 4.3rem);
  }

  .mission-card {
    min-height: 290px;
    padding: 28px;
  }

  .document-group {
    padding: 25px 20px;
  }

  .document-link {
    grid-template-columns: 34px 1fr auto;
    font-size: .86rem;
  }

  .catalog-row {
    grid-template-columns: 1fr auto;
  }

  .contact-layout {
    gap: 32px;
  }

  .contact-copy h2 {
    font-size: 2.7rem;
  }

  .contact-points {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .contact-point {
    display: block;
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }

  .contact-point b,
  .contact-point strong {
    display: block;
  }

  .contact-point strong {
    font-size: .78rem;
    line-height: 1.25;
  }

  .contact-point p {
    display: none;
  }

  .contact-form {
    padding: 28px 20px;
  }

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

  .field-full,
  .conditional-fields {
    grid-column: auto;
  }

  .conditional-fields.active {
    display: contents;
  }

  .site-footer {
    padding: 56px 20px 22px;
    grid-template-columns: 1fr 1fr;
    gap: 34px 22px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

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

@media (max-width: 430px) {
  .button-row,
  .choice-row {
    display: grid;
    grid-template-columns: 1fr;
  }
}
