:root {
  color-scheme: light;
  --ink: #221a14;
  --muted: #6f6258;
  --paper: #fffaf3;
  --flour: #f4eadb;
  --crust: #b85a23;
  --tomato: #c93428;
  --blue: #1e4f86;
  --green: #49684b;
  --line: rgba(34, 26, 20, 0.14);
  --shadow: 0 18px 60px rgba(34, 26, 20, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 48px);
  color: #fff;
  background: rgba(20, 14, 10, 0.78);
  backdrop-filter: blur(14px);
}

.brand,
nav,
.header-call,
.hero-actions,
.contact-lines,
footer {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  text-decoration: none;
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
  background: rgba(201, 52, 40, 0.88);
  font-size: 13px;
  letter-spacing: 0;
}

nav {
  gap: 22px;
  font-size: 14px;
  font-weight: 700;
}

nav a,
.header-call,
.contact-lines a {
  text-decoration: none;
}

.header-call {
  justify-self: end;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 999px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.hero picture,
.hero picture img,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero picture img {
  object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(16, 10, 6, 0.9), rgba(16, 10, 6, 0.4) 54%, rgba(16, 10, 6, 0.1)),
    linear-gradient(0deg, rgba(16, 10, 6, 0.76), rgba(16, 10, 6, 0) 42%);
}

.hero-content {
  position: relative;
  max-width: 790px;
  padding: 160px clamp(22px, 6vw, 76px) 96px;
}

.kicker {
  margin: 0 0 12px;
  color: var(--tomato);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .kicker {
  color: #ffd173;
}

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

h1 {
  max-width: 720px;
  margin-bottom: 16px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(64px, 12vw, 148px);
  line-height: 0.88;
  letter-spacing: 0;
}

h1 span {
  white-space: nowrap;
}

h2 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 5vw, 66px);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.hero p {
  max-width: 650px;
  font-size: clamp(18px, 2vw, 24px);
}

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

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--tomato);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.72);
  color: #fff;
}

.quick-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.quick-bar div {
  min-height: 138px;
  padding: 28px clamp(20px, 4vw, 44px);
  border-right: 1px solid var(--line);
}

.quick-bar div:last-child {
  border-right: 0;
}

.quick-bar strong,
.quick-bar span {
  display: block;
}

.quick-bar strong {
  margin-bottom: 8px;
  font-size: 22px;
}

.quick-bar span,
.section-copy p,
.delivery-points,
.product-card p,
.form-note {
  color: var(--muted);
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(20px, 5vw, 72px);
}

.intro,
.order {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: clamp(32px, 6vw, 78px);
  align-items: center;
}

.section-copy {
  max-width: 720px;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.service-list span {
  min-height: 70px;
  display: flex;
  align-items: center;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-weight: 850;
  box-shadow: 0 8px 24px rgba(34, 26, 20, 0.06);
}

.image-story {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  min-height: 620px;
  background: var(--ink);
  color: #fff;
}

.story-main {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
}

.story-panel {
  display: grid;
  align-content: center;
  padding: clamp(34px, 6vw, 72px);
  background: #1e4f86;
}

.story-panel .kicker {
  color: #f7d899;
}

.story-panel p {
  color: rgba(255, 255, 255, 0.78);
}

.served-section {
  padding: clamp(60px, 8vw, 104px) clamp(20px, 5vw, 72px);
  background: #fff;
}

.served-section .section-heading {
  align-items: start;
  margin-bottom: 28px;
}

.served-section .section-heading > p {
  max-width: 560px;
  color: var(--muted);
  font-size: 18px;
}

.served-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.served-grid article {
  position: relative;
  min-height: 340px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ink);
}

.served-grid img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  transition: transform 240ms ease;
}

.served-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(20, 14, 10, 0.72), rgba(20, 14, 10, 0.05) 62%);
}

.served-grid article:hover img {
  transform: scale(1.035);
}

.served-grid h3 {
  position: absolute;
  z-index: 1;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  color: #fff;
}

.products {
  background: var(--flour);
}

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

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 10px 0 28px;
}

.filter {
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.filter.is-active {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}

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

.product-card {
  min-height: 100%;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.product-card.is-hidden {
  display: none;
}

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

.product-card div {
  padding: 18px;
}

.delivery-band {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(320px, 1fr);
  gap: 44px;
  padding: clamp(56px, 8vw, 92px) clamp(20px, 5vw, 72px);
  background: var(--green);
  color: #fff;
}

.delivery-band .kicker,
.delivery-points {
  color: #f7d899;
}

.delivery-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.delivery-points p {
  min-height: 112px;
  margin: 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.delivery-points strong {
  color: #fff;
}

.route-graphic {
  grid-column: 1 / -1;
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.2);
}

.operations {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
}

.operations article {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border-right: 1px solid var(--line);
}

.operations article:last-child {
  border-right: 0;
}

.operations img {
  width: 100%;
  height: clamp(300px, 34vw, 520px);
  object-fit: cover;
}

.operations div {
  padding: clamp(28px, 5vw, 56px);
}

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

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 0;
}

.gallery img {
  width: 100%;
  height: clamp(240px, 28vw, 430px);
  object-fit: cover;
}

.order {
  background: #fff;
}

.contact-lines {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.contact-lines a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 850;
}

.order-form {
  display: grid;
  gap: 16px;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(34, 26, 20, 0.22);
  border-radius: 7px;
  padding: 13px 14px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input:focus,
textarea:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(30, 79, 134, 0.34);
  outline-offset: 3px;
}

.order-form .button {
  width: fit-content;
  border: 0;
}

.form-note {
  margin-bottom: 0;
  font-size: 13px;
}

.final-photo {
  position: relative;
  min-height: 560px;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
}

.final-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 14, 10, 0.86), rgba(20, 14, 10, 0.22)),
    linear-gradient(0deg, rgba(20, 14, 10, 0.74), rgba(20, 14, 10, 0));
}

.final-photo div {
  position: relative;
  z-index: 1;
  max-width: 640px;
  padding: clamp(46px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.final-photo .kicker {
  color: #f7d899;
}

.final-photo p {
  color: rgba(255, 255, 255, 0.82);
}

footer {
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: var(--ink);
  color: #fff;
}

footer span {
  color: rgba(255, 255, 255, 0.72);
}

footer a {
  font-weight: 850;
  text-decoration: none;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  nav {
    display: none;
  }

  .quick-bar,
  .intro,
  .order,
  .delivery-band,
  .delivery-points,
  .image-story,
  .operations {
    grid-template-columns: 1fr;
  }

  .quick-bar div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery,
  .served-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .story-main {
    min-height: 420px;
  }

  .operations article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 620px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 12px 16px;
  }

  .brand {
    gap: 8px;
    min-width: 0;
    font-size: 16px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    font-size: 12px;
  }

  .brand span:last-child {
    max-width: none;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
  }

  .header-call {
    min-height: 36px;
    padding: 0 10px;
    font-size: 14px;
  }

  .hero {
    min-height: 86vh;
  }

  .hero-content {
    padding: 128px 18px 58px;
  }

  h1 {
    font-size: clamp(50px, 15vw, 58px);
  }

  .product-grid,
  .service-list,
  .gallery,
  .served-grid {
    grid-template-columns: 1fr;
  }

  .gallery img {
    height: 280px;
  }

  footer {
    display: grid;
    justify-items: start;
  }
}
