/* AM SUBWAY LLC — deli sandwich line station */

:root {
  --linen-deli: #F2F2E9;
  --deli-ink: #2E2B24;
  --mustard-delivery: #C9971F;
  --tomato-gloss: #D95B38;
  --rye-bark: #8A6A42;
  --paper-wrap: #EDEBDD;
  --crumb-deep: #2A2A20;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-size: 16px;
  font-family: Georgia, "Times New Roman", serif;
  background-color: #F2F2E9;
  color: #2E2B24;
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
}

a {
  color: #C9971F;
}

h1, h2, h3, h4 {
  font-family: "Trebuchet MS", "Lucida Grande", Verdana, sans-serif;
  line-height: 1.18;
  margin-top: 0;
}

p {
  margin-top: 0;
}

/* ============ STICKY TICKET-RAIL HEADER ============ */
.ticketrail {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #2A2A20;
  border-bottom: 4px solid #C9971F;
  padding: 10px 18px 6px;
}

.ticketrail-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 10px;
}

.brandticket {
  background-color: #EDEBDD;
  border: 2px solid #8A6A42;
  border-radius: 3px;
  padding: 10px 18px 12px;
  position: relative;
  flex: 0 1 auto;
}

.brandticket::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 14px;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #2A2A20;
}

.brandroll {
  display: inline-block;
  width: 26px;
  height: 12px;
  border: 2px solid #C9971F;
  border-radius: 50%;
  margin-right: 10px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}

.brandticket-name {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #2E2B24;
  vertical-align: middle;
}

.ticketrail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: flex-end;
  margin-left: auto;
}

.railticket {
  display: block;
  text-decoration: none;
  background-color: #EDEBDD;
  border: 2px solid #8A6A42;
  border-radius: 3px;
  position: relative;
  color: #2E2B24;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  padding: 11px 15px 9px;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.railticket::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: #2A2A20;
}

.railticket:hover,
.railticket:focus {
  background-color: #C9971F;
  color: #2A2A20;
  transform: translateY(-3px);
}

.railticket-a { width: 92px; transform: rotate(-0.8deg); }
.railticket-b { width: 112px; transform: rotate(0.6deg); }
.railticket-c { width: 98px; transform: rotate(-0.4deg); }
.railticket-d { width: 104px; transform: rotate(0.9deg); }
.railticket-e { width: 88px; transform: rotate(-1deg); }

.railticket-a:hover, .railticket-b:hover, .railticket-c:hover,
.railticket-d:hover, .railticket-e:hover { transform: translateY(-3px) rotate(0deg); }

.navtoggle {
  display: none;
  background-color: #C9971F;
  color: #2A2A20;
  border: 2px solid #8A6A42;
  border-radius: 3px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  padding: 8px 16px;
  cursor: pointer;
  margin-left: auto;
}

@media (max-width: 860px) {
  .ticketrail-links {
    display: none;
    width: 100%;
    flex-direction: column;
    margin-left: 0;
    gap: 7px;
  }
  .ticketrail-links.open {
    display: flex;
  }
  .railticket,
  .railticket-a, .railticket-b, .railticket-c, .railticket-d, .railticket-e {
    width: 100%;
    transform: none;
    text-align: center;
  }
  .navtoggle {
    display: block;
  }
  .brandticket {
    flex: 1 1 auto;
  }
}

/* ============ SANDWICH LINE HERO ============ */
.sandwichline {
  background-color: #F2F2E9;
  padding: 54px 18px 0;
}

.sandwichline-copy {
  max-width: 1180px;
  margin: 0 auto;
}

.sandwichline-kicker {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #8A6A42;
  margin-bottom: 14px;
}

.sandwichline-head {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  color: #2E2B24;
  margin: 0 0 4px;
  max-width: 15em;
}

.sandwichline-display {
  display: block;
  font-size: clamp(3.4rem, 11vw, 7.6rem);
  color: #D95B38;
  letter-spacing: 0.02em;
  line-height: 0.95;
  margin: 2px 0 20px;
}

.sandwichline-lede {
  max-width: 46em;
  font-size: 1.06rem;
  color: #2E2B24;
  margin-bottom: 16px;
}

.sandwichline-inline {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  color: #C9971F;
  text-decoration: none;
  border-bottom: 2px solid #C9971F;
  display: inline-block;
  margin-bottom: 40px;
}

.sandwichline-inline:hover {
  color: #2A2A20;
  border-bottom-color: #2A2A20;
}

/* prep counter band */
.prepband {
  background-color: #EDEBDD;
  border-top: 3px solid #8A6A42;
  padding: 0;
}

.prepband-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
}

/* awning above */
.prepawning {
  height: 26px;
  background-color: #2A2A20;
  background-image: repeating-linear-gradient(90deg, #D95B38 0 34px, #EDEBDD 34px 68px);
  border-bottom: 2px solid #8A6A42;
}

.prepzone {
  padding: 34px 22px 28px;
  position: relative;
}

.prepzone-left { flex: 1 1 46%; min-width: 300px; }
.prepzone-center { flex: 0 1 22%; min-width: 210px; border-left: 1px dashed #8A6A42; border-right: 1px dashed #8A6A42; }
.prepzone-right { flex: 1 1 28%; min-width: 240px; }

.prepzone-title {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8A6A42;
  margin-bottom: 16px;
}

/* angled prep line */
.prepline {
  transform: rotate(-2.4deg);
  transform-origin: left center;
}

.panrow {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.pan {
  flex: 1 1 0;
  border: 2px solid #2E2B24;
  border-radius: 8px 8px 4px 4px;
  background-color: #F2F2E9;
  height: 62px;
  position: relative;
  overflow: hidden;
}

.pan-lettuce::after {
  content: "";
  position: absolute;
  inset: 6px;
  background-image: repeating-linear-gradient(74deg, #8A6A42 0 2px, transparent 2px 6px),
                    repeating-linear-gradient(-64deg, #C9971F 0 2px, transparent 2px 7px);
  opacity: 1;
}

.pan-tomato::after {
  content: "";
  position: absolute;
  inset: 6px;
  background-image: radial-gradient(circle at 24% 40%, #D95B38 6px, transparent 6px),
                    radial-gradient(circle at 62% 66%, #D95B38 6px, transparent 6px),
                    radial-gradient(circle at 86% 32%, #D95B38 6px, transparent 6px),
                    radial-gradient(circle at 40% 82%, #D95B38 6px, transparent 6px);
}

.pan-onion::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  border: 3px solid #C9971F;
  border-right-color: transparent;
  border-bottom-color: transparent;
}

.pan-cheese::after {
  content: "";
  position: absolute;
  inset: 8px;
  background-color: #C9971F;
  clip-path: polygon(0 40%, 100% 0, 100% 60%, 0 100%);
}

.pan-pickle::after {
  content: "";
  position: absolute;
  inset: 8px;
  background-image: radial-gradient(circle at 30% 50%, #8A6A42 7px, transparent 7px),
                    radial-gradient(circle at 68% 46%, #8A6A42 7px, transparent 7px);
}

/* cutting board with roll and knife */
.board {
  background-color: #EDEBDD;
  border: 2px dashed #8A6A42;
  border-radius: 6px;
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.board-roll {
  flex: 1 1 auto;
  height: 34px;
  border-radius: 20px;
  background-color: #C9971F;
  border: 3px solid #8A6A42;
  position: relative;
}

.board-roll::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 30%;
  width: 4px;
  height: calc(100% + 6px);
  background-color: #EDEBDD;
}

.board-knife {
  flex: 0 0 120px;
  height: 12px;
  background-color: #8A6A42;
  border-radius: 0 3px 3px 0;
  position: relative;
}

.board-knife::before {
  content: "";
  position: absolute;
  left: -30px;
  top: 0;
  width: 32px;
  height: 12px;
  background-color: #2E2B24;
  border-radius: 3px 0 0 3px;
}

/* center ticket rail */
.ticketrail-vertical {
  border-left: 3px solid #C9971F;
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.paperticket {
  background-color: #C9971F;
  color: #2A2A20;
  border-radius: 3px;
  padding: 13px 14px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  position: relative;
  transform: rotate(1.2deg);
}

.paperticket:nth-child(2) {
  transform: rotate(-1.4deg);
}

.paperticket::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -6px;
  width: 11px;
  height: 11px;
  margin-top: -5px;
  border-radius: 50%;
  background-color: #EDEBDD;
  border: 2px solid #8A6A42;
}

/* napkin dispenser + squeeze bottles */
.napkinstack {
  display: flex;
  gap: 18px;
  align-items: flex-end;
  flex-wrap: wrap;
}

.napkindispenser {
  width: 108px;
  height: 96px;
  border: 3px solid #2E2B24;
  border-radius: 6px 6px 3px 3px;
  background-color: #EDEBDD;
  position: relative;
}

.napkindispenser::after {
  content: "";
  position: absolute;
  top: 10px;
  left: 14px;
  right: 14px;
  bottom: 24px;
  background-image: repeating-linear-gradient(0deg, #F2F2E9 0 8px, #EDEBDD 8px 12px);
  border: 2px solid #8A6A42;
}

.squeezepair {
  display: flex;
  gap: 10px;
  align-items: flex-end;
}

.squeezebottle {
  width: 30px;
  border-radius: 6px 6px 3px 3px;
  border: 3px solid #2E2B24;
  position: relative;
}

.squeezebottle::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  margin-left: -5px;
  width: 10px;
  height: 14px;
  background-color: #2E2B24;
}

.squeeze-mustard { height: 96px; background-color: #C9971F; }
.squeeze-tomato { height: 78px; background-color: #D95B38; }

/* primary CTA bar */
.sandwichline-cta {
  display: block;
  background-color: #C9971F;
  color: #2A2A20;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-align: center;
  padding: 20px 18px;
  border-top: 3px solid #8A6A42;
}

.sandwichline-cta:hover {
  background-color: #D95B38;
  color: #EDEBDD;
}

/* ============ NAPKIN-DISPENSER RUN ============ */
.napkinrun {
  background-color: #F2F2E9;
  padding: 66px 18px 74px;
}

.napkinrun-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.napkinrun-head {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  color: #2E2B24;
  margin-bottom: 8px;
}

.napkinrun-sub {
  color: #2E2B24;
  max-width: 46em;
  margin-bottom: 48px;
}

.counterrun {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.boardcard {
  background-color: #EDEBDD;
  border: 2px solid #2E2B24;
  border-radius: 4px 4px 2px 2px;
  padding: 26px 26px 24px;
  position: relative;
}

.boardcard-mark {
  position: absolute;
  top: 12px;
  right: 16px;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #8A6A42;
  border: 1px solid #8A6A42;
  border-radius: 2px;
  padding: 2px 7px;
}

.boardcard h3 {
  font-size: 1.25rem;
  color: #2E2B24;
  margin-bottom: 10px;
  padding-right: 42px;
}

.boardcard p {
  margin-bottom: 0;
  color: #2E2B24;
}

.boardcard-a { width: 72%; align-self: flex-start; }
.boardcard-c { width: 83%; align-self: flex-end; }
.boardcard-f { width: 66%; align-self: flex-start; margin-left: 5%; }
.boardcard-j { width: 88%; align-self: flex-end; }
.boardcard-m { width: 70%; align-self: flex-start; margin-left: 9%; }
.boardcard-r { width: 80%; align-self: flex-end; margin-right: 3%; }

.boardcard-dot {
  position: absolute;
  bottom: 14px;
  left: 20px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background-color: #D95B38;
}

.boardcard-ticks {
  position: absolute;
  bottom: 12px;
  left: 20px;
  width: 40px;
  height: 14px;
  background-image: repeating-linear-gradient(90deg, #8A6A42 0 2px, transparent 2px 8px);
  border-bottom: 2px solid #8A6A42;
}

@media (max-width: 760px) {
  .boardcard,
  .boardcard-a, .boardcard-c, .boardcard-f,
  .boardcard-j, .boardcard-m, .boardcard-r {
    width: 100%;
    align-self: stretch;
    margin-left: 0;
    margin-right: 0;
  }
}

/* bread day strip */
.breadday {
  background-color: #2A2A20;
  border-top: 3px solid #C9971F;
  border-bottom: 3px solid #C9971F;
  padding: 22px 18px;
}

.breadday-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.breadday-tick {
  flex: 0 0 54px;
  height: 26px;
  background-image: repeating-linear-gradient(90deg, #8A6A42 0 3px, transparent 3px 10px);
  border-bottom: 3px solid #8A6A42;
}

.breadday-text {
  color: #F2F2E9;
  margin: 0;
  font-size: 1.02rem;
}

/* ============ STOCKROOM FOOTER ============ */
.stockfoot {
  background-color: #2A2A20;
  color: #F2F2E9;
  padding: 60px 18px 26px;
}

.stockfoot-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stockshelf {
  flex: 0 0 64px;
  border-left: 6px solid #8A6A42;
  border-right: 6px solid #8A6A42;
  position: relative;
  min-height: 240px;
}

.stockshelf::before,
.stockshelf::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  height: 34px;
  background-color: #8A6A42;
  border-radius: 3px;
}

.stockshelf::before { top: 22px; }
.stockshelf::after { top: 74px; width: 60%; }

.stockbody {
  flex: 1 1 300px;
  min-width: 260px;
}

.stockticket {
  background-color: #EDEBDD;
  color: #2E2B24;
  border: 2px solid #C9971F;
  border-radius: 4px;
  padding: 18px 20px;
  margin-bottom: 26px;
}

.stockticket-brand {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  letter-spacing: 0.06em;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.stockticket p {
  margin: 0;
  font-size: 0.96rem;
}

.stockcols {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.stockcol {
  flex: 1 1 150px;
  min-width: 130px;
}

.stockcol-head {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C9971F;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.napkin-glyph {
  display: inline-block;
  width: 16px;
  height: 14px;
  border: 2px solid #C9971F;
  border-radius: 2px;
}

.stockcol a {
  display: block;
  color: #F2F2E9;
  text-decoration: none;
  font-size: 0.96rem;
  padding: 4px 0;
  border-bottom: 1px solid #4A4A3C;
}

.stockcol a:hover {
  color: #C9971F;
  text-decoration: underline;
}

.stockstrip {
  max-width: 1180px;
  margin: 44px auto 0;
  padding-top: 20px;
  border-top: 2px solid #4A4A3C;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  font-size: 0.9rem;
  color: #F2F2E9;
  align-items: center;
}

.stockstrip a {
  color: #C9971F;
  text-decoration: none;
}

.stockstrip a:hover {
  text-decoration: underline;
}

.stockroll {
  display: inline-block;
  width: 20px;
  height: 10px;
  border: 2px solid #8A6A42;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* ============ SHARED INNER PAGE ============ */
.pagebanner {
  background-color: #2A2A20;
  color: #F2F2E9;
  padding: 48px 18px 42px;
  border-bottom: 4px solid #C9971F;
}

.pagebanner-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.pagebanner h1 {
  font-size: clamp(1.9rem, 4.2vw, 2.9rem);
  color: #F2F2E9;
  margin-bottom: 10px;
}

.pagebanner p {
  color: #F2F2E9;
  max-width: 52em;
  margin: 0;
}

.contentsection {
  padding: 56px 18px;
}

.contentsection-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.prose h2 {
  font-size: 1.6rem;
  color: #2E2B24;
  margin: 34px 0 12px;
}

.prose h3 {
  font-size: 1.2rem;
  color: #2E2B24;
  margin: 24px 0 8px;
}

.prose p {
  color: #2E2B24;
  margin-bottom: 16px;
  max-width: 60em;
}

.prose ul {
  color: #2E2B24;
  max-width: 58em;
  margin-bottom: 16px;
}

.prose li {
  margin-bottom: 8px;
}

.prose a {
  color: #C9971F;
  font-weight: 700;
}

.twocol {
  display: flex;
  gap: 44px;
  flex-wrap: wrap;
}

.twocol-main { flex: 1 1 440px; min-width: 280px; }
.twocol-side { flex: 0 1 300px; min-width: 250px; }

.sidecard {
  background-color: #EDEBDD;
  border: 2px solid #8A6A42;
  border-radius: 4px;
  padding: 22px 22px 18px;
}

.sidecard h3 {
  font-size: 1.05rem;
  color: #2E2B24;
  margin-bottom: 12px;
}

.sidecard p,
.sidecard li {
  color: #2E2B24;
  font-size: 0.94rem;
}

.sidecard ul {
  padding-left: 18px;
  margin: 0;
}

/* process steps */
.processgrid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 26px;
}

.processstep {
  flex: 1 1 210px;
  background-color: #EDEBDD;
  border: 2px solid #2E2B24;
  border-radius: 4px;
  padding: 20px;
}

.processstep-mark {
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: #8A6A42;
  margin-bottom: 8px;
}

.processstep h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
  color: #2E2B24;
}

.processstep p {
  font-size: 0.93rem;
  margin: 0;
  color: #2E2B24;
}

/* contact form */
.contactform {
  background-color: #EDEBDD;
  border: 2px solid #8A6A42;
  border-radius: 4px;
  padding: 28px;
  margin-top: 22px;
}

.fieldrow {
  margin-bottom: 18px;
}

.fieldrow label {
  display: block;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8A6A42;
  margin-bottom: 6px;
}

.fieldrow input,
.fieldrow textarea {
  width: 100%;
  padding: 12px;
  font-size: 1rem;
  font-family: Georgia, serif;
  color: #2E2B24;
  background-color: #F2F2E9;
  border: 2px solid #2E2B24;
  border-radius: 3px;
}

.fieldrow textarea {
  min-height: 140px;
  resize: vertical;
}

.formsubmit {
  display: block;
  width: 100%;
  background-color: #C9971F;
  color: #2A2A20;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.05em;
  border: none;
  border-top: 3px solid #8A6A42;
  padding: 17px;
  cursor: pointer;
}

.formsubmit:hover {
  background-color: #D95B38;
  color: #EDEBDD;
}

.formnote {
  margin-top: 14px;
  font-size: 0.9rem;
  color: #2E2B24;
}

/* faq */
.faqitem {
  border-bottom: 2px solid #8A6A42;
  padding: 18px 0;
}

.faqitem h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  color: #2E2B24;
}

.faqitem p {
  margin: 0;
  color: #2E2B24;
}

/* scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.no-js .reveal {
  opacity: 1;
  transform: none;
}
