/* Ustaadz Pizza - oven yard skeleton, oakfire night theme */

:root {
  --oakfire: #121008;
  --menu: #E8E2D2;
  --basil: #406356;
  --oven: #040402;
  --crust: #302E24;
  --peelwood: #967062;
  --tomato: #B0523E;
  --basil-light: #5B8A78;
  --basil-deep: #2C453B;
  --menu-dim: #B8B2A2;
  --line: #3E3A2C;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #121008;
  color: #E8E2D2;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: #E8E2D2;
}

a {
  color: #E8E2D2;
  text-decoration: none;
}

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

/* ============ PEEL RAIL NAV ============ */
.peelrail {
  background-color: #040402;
  border-bottom: 3px solid #406356;
  padding: 0;
  position: relative;
  z-index: 20;
}

.peelrail-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.peelrail-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.peelrail-badge {
  background-color: #406356;
  color: #040402;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 22px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px 6px 2px 2px;
  box-shadow: inset 0 -4px 0 #2C453B;
}

.peelrail-name {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.02em;
  color: #E8E2D2;
  line-height: 1.2;
}

.peelrail-name span {
  display: block;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #B8B2A2;
  margin-top: 3px;
}

.peelrail-tabs {
  display: flex;
  align-items: stretch;
  gap: 6px;
  margin-left: auto;
  list-style: none;
}

.peelrail-tab {
  display: flex;
}

.peelrail-tab a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  background-color: #302E24;
  border: 1px solid #3E3A2C;
  border-bottom: 3px solid #967062;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #E8E2D2;
  transition: background-color 0.18s ease, border-color 0.18s ease;
}

.peelrail-tab a:hover,
.peelrail-tab a:focus {
  background-color: #406356;
  border-bottom-color: #E8E2D2;
  color: #040402;
}

.peelrail-tab--a a { min-width: 74px; }
.peelrail-tab--b a { min-width: 96px; }
.peelrail-tab--c a { min-width: 88px; }
.peelrail-tab--d a { min-width: 84px; }
.peelrail-tab--e a { min-width: 76px; }

.peelrail-burger {
  display: none;
  margin-left: auto;
  background-color: #406356;
  color: #040402;
  border: none;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 11px 18px;
  cursor: pointer;
  border-radius: 4px;
}

/* ============ HERO : FLAME ARCH ============ */
.flamearch {
  max-width: 1180px;
  margin: 0 auto;
  padding: 56px 24px 0;
}

.flamearch-head {
  max-width: 760px;
}

.flamearch-kicker {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: #967062;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.flamearch-kicker::before {
  content: "";
  width: 46px;
  height: 2px;
  background-color: #406356;
}

.flamearch-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 8px;
}

.flamearch-title strong {
  display: block;
  font-size: 96px;
  font-weight: 700;
  color: #406356;
  letter-spacing: -0.03em;
  line-height: 0.92;
  margin-top: 6px;
}

.flamearch-copy {
  font-size: 17px;
  color: #E8E2D2;
  max-width: 640px;
  margin-top: 22px;
}

.flamearch-copy a {
  color: #406356;
  font-weight: 700;
  border-bottom: 2px solid #406356;
  padding-bottom: 1px;
}

.flamearch-copy a:hover {
  color: #5B8A78;
  border-bottom-color: #5B8A78;
}

/* yard band */
.flamearch-band {
  margin-top: 38px;
  background-color: #040402;
  border: 1px solid #3E3A2C;
  border-top: 4px solid #302E24;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: end;
  gap: 0;
  position: relative;
  padding: 0 0 0 0;
}

.flamearch-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, #171308 0 2px, #040402 2px 42px);
  pointer-events: none;
}

.flamearch-cell {
  position: relative;
  padding: 30px 22px 26px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* peel rack left */
.peelrail-rack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.peelrail-rack-pole {
  height: 10px;
  background-color: #967062;
  border-radius: 5px;
  box-shadow: 0 3px 0 #5E4438;
  position: relative;
}

.peelrail-rack-pole::after {
  content: "";
  position: absolute;
  right: 20%;
  top: -84px;
  width: 8px;
  height: 84px;
  background-color: #967062;
  border-radius: 4px;
}

.dough-tag {
  align-self: flex-start;
  background-color: #302E24;
  border: 1px solid #5E4438;
  border-left: 4px solid #B0523E;
  padding: 10px 14px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E8E2D2;
  transform: rotate(-1.5deg);
}

.dough-tag:nth-child(2) { margin-left: 14px; transform: rotate(1deg); }
.dough-tag:nth-child(3) { margin-left: 4px; transform: rotate(-0.6deg); }

.dough-tag em {
  color: #B0523E;
  font-style: normal;
}

/* flame arch center */
.flamearch-cell--center {
  align-items: center;
  border-left: 1px solid #3E3A2C;
  border-right: 1px solid #3E3A2C;
}

.flamearch-arch {
  width: 210px;
  height: 230px;
  border: 12px solid #967062;
  border-bottom: none;
  border-radius: 105px 105px 0 0;
  position: relative;
  margin-bottom: 18px;
  background-color: #121008;
  box-shadow: inset 0 0 0 6px #302E24;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
}

.flamearch-fire {
  width: 96px;
  height: 120px;
  background-color: #406356;
  border-radius: 50% 50% 42% 42%;
  margin-bottom: 22px;
  position: relative;
}

.flamearch-fire::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  width: 34px;
  height: 78px;
  background-color: #E8E2D2;
  border-radius: 50% 50% 46% 46%;
}

.flamearch-fire::after {
  content: "";
  position: absolute;
  inset: auto 0 -18px 0;
  height: 20px;
  background-color: #302E24;
}

.flamearch-arch-label {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #967062;
  text-align: center;
}

/* topping rail right */
.topping-rail {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.topping-rail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #302E24;
  border-bottom: 3px solid #406356;
  padding: 9px 13px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #E8E2D2;
}

.topping-rail-item i {
  display: inline-block;
  width: 13px;
  height: 13px;
  background-color: #B0523E;
  border-radius: 50%;
}

.topping-rail-item:nth-child(2) i { background-color: #406356; }
.topping-rail-item:nth-child(3) i { background-color: #967062; }
.topping-rail-item:nth-child(4) i { background-color: #B0523E; }

/* primary CTA bar */
.fa-cta {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #406356;
  padding: 18px 26px;
  position: relative;
  z-index: 2;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #040402;
  transition: background-color 0.18s ease;
}

.fa-cta:hover,
.fa-cta:focus {
  background-color: #5B8A78;
}

.fa-cta span {
  font-size: 22px;
  line-height: 1;
}

/* ============ SECTION HEADINGS ============ */
.top-head {
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 10px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.top-head h2 {
  font-size: 32px;
  max-width: 640px;
}

.top-head p {
  max-width: 420px;
  color: #B8B2A2;
  font-size: 15px;
}

/* ============ TOPPING ROWS ============ */
.toppingrow {
  max-width: 1180px;
  margin: 0 auto;
  padding: 26px 24px 60px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.toppingrow-item {
  background-color: #302E24;
  border: 1px solid #3E3A2C;
  border-left: 6px solid #406356;
  padding: 24px 28px;
  position: relative;
  box-shadow: 0 6px 0 #1B1810;
}

.toppingrow-item:nth-child(1) { width: 96%; margin-left: 0; }
.toppingrow-item:nth-child(2) { width: 88%; margin-left: 11%; border-left-color: #967062; }
.toppingrow-item:nth-child(3) { width: 93%; margin-left: 4%; }
.toppingrow-item:nth-child(4) { width: 84%; margin-left: 15%; border-left-color: #967062; }
.toppingrow-item:nth-child(5) { width: 90%; margin-left: 7%; }
.toppingrow-item:nth-child(6) { width: 86%; margin-left: 12.5%; border-left-color: #967062; }

.toppingrow-mark {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #B0523E;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.toppingrow-item h3 {
  font-size: 23px;
  margin-bottom: 8px;
}

.toppingrow-item h3 a {
  color: #E8E2D2;
  border-bottom: 2px solid #406356;
}

.toppingrow-item h3 a:hover {
  color: #5B8A78;
}

.toppingrow-item p {
  font-size: 15.5px;
  color: #D6D0C0;
  max-width: 720px;
}

.basil-leaf {
  position: absolute;
  width: 18px;
  height: 12px;
  background-color: #406356;
  border-radius: 0 100% 0 100%;
  transform: rotate(24deg);
}

.basil-leaf--a { top: 18px; right: 22px; }
.basil-leaf--b { bottom: 16px; right: 46px; width: 11px; height: 8px; transform: rotate(-18deg); background-color: #5B8A78; }

/* ============ FLOUR BIN BAND ============ */
.flourbin {
  background-color: #040402;
  border-top: 3px solid #302E24;
  border-bottom: 3px solid #302E24;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 22px 24px;
  max-width: 1180px;
  margin: 0 auto 0;
}

.flourbin-lip {
  flex-shrink: 0;
  width: 120px;
  height: 54px;
  background-color: #302E24;
  border: 3px solid #967062;
  border-top: none;
  border-radius: 0 0 26px 26px;
  position: relative;
}

.flourbin-lip::before {
  content: "";
  position: absolute;
  left: -3px;
  right: -3px;
  top: 0;
  height: 10px;
  background-color: #967062;
  border-radius: 4px;
}

.flourbin p {
  font-size: 16.5px;
  color: #E8E2D2;
  max-width: 900px;
}

.flourbin p a {
  color: #5B8A78;
  border-bottom: 2px solid #406356;
  font-weight: 700;
}

/* ============ GENERIC SECTION PANELS ============ */
.panel-section {
  max-width: 1180px;
  margin: 0 auto;
  padding: 60px 24px;
}

.panel-section h2 {
  font-size: 30px;
  margin-bottom: 18px;
}

.panel-section p {
  font-size: 16px;
  color: #D6D0C0;
  margin-bottom: 16px;
}

.panel-section p a {
  color: #406356;
  font-weight: 700;
  border-bottom: 2px solid #406356;
}

.panel-section p a:hover {
  color: #5B8A78;
  border-bottom-color: #5B8A78;
}

.oven-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.side-note {
  background-color: #302E24;
  border-top: 5px solid #406356;
  padding: 26px 26px 30px;
}

.side-note h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.side-note ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.side-note li {
  font-size: 14.5px;
  color: #D6D0C0;
  padding-left: 18px;
  position: relative;
}

.side-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  background-color: #B0523E;
  border-radius: 50%;
}

/* process steps */
.process-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.process-list li {
  background-color: #302E24;
  border-bottom: 4px solid #967062;
  padding: 20px 22px;
}

.process-list h3 {
  font-size: 17px;
  margin-bottom: 6px;
  color: #E8E2D2;
}

.process-list p {
  font-size: 14.5px;
  margin-bottom: 0;
}

/* generic CTA strip */
.oven-cta {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 64px;
}

.oven-cta a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #406356;
  color: #040402;
  padding: 20px 28px;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.oven-cta a:hover {
  background-color: #5B8A78;
}

.oven-cta span {
  font-size: 22px;
}

/* ============ CONTACT PAGE ============ */
.contact-layout {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 60px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: start;
}

.contact-form {
  background-color: #302E24;
  border-top: 5px solid #406356;
  padding: 30px 30px 34px;
}

.contact-form label {
  display: block;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #B8B2A2;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 44px;
  background-color: #121008;
  border: 1px solid #5E4438;
  color: #E8E2D2;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  padding: 11px 12px;
  margin-bottom: 16px;
  border-radius: 2px;
}

.contact-form-message-field {
  min-height: 130px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid #406356;
  border-color: #406356;
}

.contact-form button {
  background-color: #406356;
  color: #040402;
  border: none;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 26px;
  cursor: pointer;
  border-radius: 3px;
}

.contact-form button:hover {
  background-color: #5B8A78;
}

.form-note {
  font-size: 13px;
  color: #B8B2A2;
  margin-top: 12px;
}

.contact-info {
  background-color: #040402;
  border: 1px solid #3E3A2C;
  padding: 26px 26px 30px;
}

.contact-info h3 {
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 12px;
  color: #E8E2D2;
}

.contact-info p,
.contact-info address {
  font-style: normal;
  font-size: 14.5px;
  color: #D6D0C0;
  margin-bottom: 14px;
}

.contact-info a {
  color: #5B8A78;
  border-bottom: 1px solid #406356;
}

.contact-info a:hover {
  color: #E8E2D2;
}

.contact-info hr {
  border: none;
  border-top: 1px solid #3E3A2C;
  margin: 18px 0;
}

/* FAQ */
.faq-block {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px 70px;
}

.faq-block h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.faq-item {
  border-bottom: 1px solid #3E3A2C;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #E8E2D2;
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  padding: 16px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-question:hover {
  color: #5B8A78;
}

.faq-question span {
  color: #B0523E;
  font-size: 20px;
  flex-shrink: 0;
}

.faq-answer {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
}

.faq-answer p {
  padding: 0 0 18px 0;
  font-size: 15px;
  color: #D6D0C0;
  max-width: 800px;
}

.faq-item.is-open .faq-answer {
  max-height: 320px;
}

/* ============ MARKET CRATE FOOTER ============ */
.marketcrate {
  background-color: #040402;
  border-top: 4px solid #302E24;
  padding: 50px 24px 0;
}

.marketcrate-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 40px;
}

.marketcrate-board {
  position: relative;
  padding-left: 20px;
  border-left: 4px solid #967062;
}

.marketcrate-board h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.marketcrate-board p {
  font-size: 14.5px;
  color: #B8B2A2;
  max-width: 420px;
}

.marketcrate-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.marketcrate-links h4 {
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #967062;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.marketcrate-links h4::before {
  content: "";
  width: 16px;
  height: 16px;
  background-color: #406356;
  border-radius: 50% 0 50% 50%;
  transform: rotate(45deg);
}

.marketcrate-links a {
  color: #E8E2D2;
  font-size: 14.5px;
  padding: 5px 0;
  border-bottom: 1px solid transparent;
  width: fit-content;
}

.marketcrate-links a:hover {
  border-bottom-color: #406356;
  color: #5B8A78;
}

.marketcrate-scoop {
  width: 60px;
  height: 30px;
  background-color: #302E24;
  border: 2px solid #967062;
  border-radius: 0 0 30px 30px;
  margin-top: 22px;
  position: relative;
}

.marketcrate-scoop::after {
  content: "";
  position: absolute;
  right: -30px;
  top: 12px;
  width: 34px;
  height: 5px;
  background-color: #967062;
  border-radius: 3px;
  transform: rotate(-20deg);
}

.marketcrate-strip {
  max-width: 1180px;
  margin: 0 auto;
  border-top: 1px solid #3E3A2C;
  padding: 20px 0 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  align-items: center;
  font-size: 13px;
  color: #B8B2A2;
}

.marketcrate-strip span.flame {
  color: #B0523E;
  font-size: 15px;
}

.marketcrate-strip a {
  color: #D6D0C0;
  border-bottom: 1px solid #3E3A2C;
}

.marketcrate-strip a:hover {
  color: #5B8A78;
}

/* ============ SCROLL REVEAL ============ */
.reveal-item {
  transform: translateY(18px);
  transition: transform 0.5s ease;
}

.reveal-item.is-revealed {
  transform: translateY(0);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 940px) {
  .flamearch-band {
    grid-template-columns: 1fr;
  }
  .flamearch-cell {
    min-height: auto;
    padding: 26px 20px;
  }
  .flamearch-cell--center {
    border-left: none;
    border-right: none;
    border-top: 1px solid #3E3A2C;
    border-bottom: 1px solid #3E3A2C;
  }
  .flamearch-arch {
    width: 170px;
    height: 190px;
  }
  .oven-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .marketcrate-inner {
    grid-template-columns: 1fr 1fr;
  }
  .marketcrate-board {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .peelrail-inner {
    flex-wrap: wrap;
    gap: 14px;
  }
  .peelrail-burger {
    display: block;
  }
  .peelrail-tabs {
    display: none;
    flex-direction: column;
    width: 100%;
    margin-left: 0;
    gap: 8px;
  }
  .peelrail-tabs.is-open {
    display: flex;
  }
  .peelrail-tab a {
    width: 100%;
  }
  .flamearch-title {
    font-size: 30px;
  }
  .flamearch-title strong {
    font-size: 64px;
  }
  .toppingrow-item,
  .toppingrow-item:nth-child(n) {
    width: 100%;
    margin-left: 0;
  }
  .process-list {
    grid-template-columns: 1fr;
  }
  .flourbin {
    flex-direction: column;
    align-items: flex-start;
  }
  .marketcrate-inner {
    grid-template-columns: 1fr;
  }
}
