:root {
  --navy: #101927;
  --navy-2: #17243a;
  --red: #c53435;
  --red-deep: #8f2428;
  --cream: #fff4df;
  --paper: #fffaf0;
  --blue: #174d8a;
  --brass: #d7a84d;
  --ink: #141414;
  --muted: #6b5e50;
  --line: rgba(20, 20, 20, .18);
  --white: #ffffff;
  --shadow: 0 28px 80px rgba(4, 10, 18, .22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(215, 168, 77, .22), transparent 32rem),
    linear-gradient(180deg, #fff4df 0%, #f4e2c2 45%, #101927 45%, #101927 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

a { color: inherit; }
a:focus-visible, button:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 4px solid rgba(215, 168, 77, .95);
  outline-offset: 4px;
}

main { overflow: hidden; }
.clock-stage {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto minmax(320px, 1fr) auto;
  place-items: center;
  gap: clamp(16px, 3vw, 28px);
  padding: clamp(22px, 4vw, 46px) clamp(14px, 4vw, 62px) clamp(20px, 4vw, 46px);
  position: relative;
  isolation: isolate;
}
.clock-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(90deg, rgba(23, 77, 138, .08) 0 10px, transparent 10px 30px),
    linear-gradient(180deg, rgba(255, 244, 223, .8), rgba(255, 244, 223, .2));
  z-index: -2;
}
.clock-stage::after {
  content: "";
  position: absolute;
  width: min(76vw, 880px);
  height: min(76vw, 880px);
  border-radius: 50%;
  border: clamp(18px, 4vw, 42px) solid rgba(16, 25, 39, .07);
  z-index: -1;
}
.market-hanger {
  width: min(100%, 760px);
  display: flex;
  justify-content: space-between;
  padding: 0 clamp(34px, 12vw, 136px);
  height: 38px;
}
.market-hanger span {
  width: 8px;
  height: 100%;
  background: var(--navy);
  border-radius: 99px;
}
.shop-sign {
  width: min(100%, 860px);
  background: var(--navy);
  color: var(--cream);
  border: 4px solid var(--brass);
  box-shadow: var(--shadow);
  text-align: center;
  padding: clamp(22px, 5vw, 46px) clamp(18px, 5vw, 58px);
  transform: rotate(-1deg);
}
.kicker {
  margin: 0 0 10px;
  font: 800 clamp(12px, 1.4vw, 14px)/1 Inter, sans-serif;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--brass);
}
h1, h2, h3 { margin: 0; }
h1 {
  font-family: Oswald, Impact, sans-serif;
  font-size: clamp(44px, 10vw, 116px);
  line-height: .9;
  letter-spacing: -.035em;
  text-transform: uppercase;
}
h1 span { color: var(--brass); }
.shop-sign p:last-child {
  max-width: 720px;
  margin: 18px auto 0;
  color: rgba(255, 244, 223, .86);
  font-size: clamp(16px, 2vw, 20px);
}
.clock-wrap {
  width: min(88vw, 560px);
  aspect-ratio: 1;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: clamp(6px, 2vw, 18px) auto;
}
.pole-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from -16deg, var(--red) 0 12deg, var(--cream) 12deg 24deg, var(--blue) 24deg 36deg, var(--cream) 36deg 48deg, var(--red) 48deg 60deg);
  box-shadow: var(--shadow);
  animation: slowTurn 36s linear infinite;
}
.clock-face {
  width: 62%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 34%, var(--paper), #f5dfba);
  border: 10px solid var(--navy);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(18px, 4vw, 32px);
  z-index: 2;
  box-shadow: inset 0 0 0 2px rgba(215,168,77,.45), 0 16px 48px rgba(0,0,0,.2);
}
.clock-label {
  margin: 0;
  color: var(--red);
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.8vw, 13px);
}
.clock-face strong {
  font-family: Oswald, sans-serif;
  font-size: clamp(26px, 5vw, 46px);
  line-height: 1;
  text-transform: uppercase;
  color: var(--navy);
}
.clock-face span {
  color: #594b3c;
  font-size: clamp(13px, 1.6vw, 16px);
}
.clock-choice {
  position: absolute;
  left: var(--x);
  top: var(--y);
  translate: -50% -50%;
  border: 3px solid var(--navy);
  background: var(--cream);
  color: var(--navy);
  min-height: 46px;
  min-width: 116px;
  padding: 10px 18px;
  border-radius: 999px;
  font: 900 14px/1 Inter, sans-serif;
  box-shadow: 0 12px 0 rgba(16, 25, 39, .14);
  cursor: pointer;
  z-index: 3;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.clock-choice:hover { transform: translateY(-2px); }
.clock-choice.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red-deep);
}
.counter-links {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.counter-links a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 12px 16px;
  background: var(--navy);
  color: var(--cream);
  border: 2px solid var(--brass);
  text-decoration: none;
  font-weight: 900;
  text-align: center;
  transition: transform .2s ease, background .2s ease;
}
.counter-links a:hover { transform: translateY(-2px); background: var(--red-deep); }

.visit-signs {
  background: var(--navy);
  color: var(--cream);
  padding: clamp(48px, 8vw, 110px) clamp(14px, 5vw, 72px);
}
.section-intro {
  width: min(960px, 100%);
  margin: 0 auto clamp(28px, 5vw, 60px);
  text-align: center;
}
h2 {
  font-family: Oswald, sans-serif;
  font-size: clamp(36px, 7vw, 82px);
  line-height: .95;
  text-transform: uppercase;
  letter-spacing: -.025em;
}
.section-intro p:last-child {
  max-width: 720px;
  margin: 16px auto 0;
  color: rgba(255, 244, 223, .78);
  font-size: clamp(16px, 2vw, 20px);
}
.sign-rail {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 2vw, 22px);
  align-items: stretch;
}
.hanging-sign {
  position: relative;
  min-height: 290px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
  padding: 26px;
  border: 3px solid var(--cream);
  color: var(--cream);
  overflow: hidden;
}
.hanging-sign::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto;
  height: 6px;
  background: currentColor;
  opacity: .65;
}
.hanging-sign span {
  position: absolute;
  top: 42px;
  left: 24px;
  font-family: Oswald, sans-serif;
  font-size: 54px;
  line-height: 1;
  opacity: .28;
}
.hanging-sign h3 {
  font-family: Oswald, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  line-height: .94;
  text-transform: uppercase;
  z-index: 1;
}
.hanging-sign p { margin: 0; color: rgba(255, 244, 223, .85); z-index: 1; }
.hanging-sign.red { background: var(--red-deep); }
.hanging-sign.blue { background: var(--blue); transform: translateY(28px); }
.hanging-sign.brass { background: #7a5222; }
.hanging-sign.ink { background: #101010; transform: translateY(-18px); }

.chair-path {
  position: relative;
  background: var(--cream);
  padding: clamp(54px, 8vw, 118px) clamp(14px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(90px, 170px) minmax(0, 360px) minmax(0, 1fr);
  gap: clamp(18px, 4vw, 48px);
  align-items: start;
}
.barber-pole {
  height: min(72vh, 560px);
  min-height: 360px;
  border: 10px solid var(--navy);
  border-radius: 999px;
  background: repeating-linear-gradient(135deg, var(--red) 0 28px, var(--cream) 28px 56px, var(--blue) 56px 84px, var(--cream) 84px 112px);
  box-shadow: var(--shadow);
  position: sticky;
  top: 28px;
}
.path-copy { position: sticky; top: 34px; }
.path-copy .kicker { color: var(--red); }
.path-copy h2 { color: var(--navy); }
.visit-flow {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
  counter-reset: step;
}
.visit-flow li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  background: var(--paper);
  border: 2px solid var(--line);
  padding: clamp(18px, 3vw, 28px);
  box-shadow: 8px 8px 0 rgba(197, 52, 53, .12);
}
.visit-flow li::before {
  content: counter(step, decimal-leading-zero);
  grid-row: 1 / span 2;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--cream);
  display: grid;
  place-items: center;
  font: 700 22px/1 Oswald, sans-serif;
}
.visit-flow strong {
  grid-column: 2;
  color: var(--navy);
  font-size: clamp(20px, 2.6vw, 28px);
}
.visit-flow span {
  grid-column: 2;
  color: #514537;
}

.counter {
  background:
    linear-gradient(90deg, rgba(197,52,53,.12), transparent 30%, rgba(23,77,138,.14)),
    var(--navy);
  color: var(--cream);
  padding: clamp(48px, 8vw, 112px) clamp(14px, 5vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .72fr);
  gap: clamp(20px, 4vw, 54px);
  align-items: stretch;
}
.counter-board, .contact-card {
  border: 3px solid var(--brass);
  background: rgba(255, 244, 223, .08);
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 42px);
}
.counter-board .kicker { color: var(--brass); }
.counter-board h2 { color: var(--cream); }
.counter-facts {
  margin-top: clamp(20px, 4vw, 38px);
  display: grid;
  gap: 12px;
}
.counter-facts p {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(110px, .3fr) minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(255, 244, 223, .24);
  padding-top: 14px;
}
.counter-facts strong { color: var(--brass); text-transform: uppercase; letter-spacing: .09em; font-size: 13px; }
.counter-facts a { color: var(--cream); font-weight: 800; }
.counter-facts span { color: rgba(255, 244, 223, .82); }
.contact-card {
  display: grid;
  gap: 12px;
  background: var(--paper);
  color: var(--ink);
}
.contact-card label {
  font-weight: 900;
  color: var(--navy);
}
select, textarea {
  width: 100%;
  max-width: 100%;
  border: 2px solid rgba(16, 25, 39, .28);
  border-radius: 0;
  background: #fffdf7;
  color: var(--ink);
  font: 600 16px/1.4 Inter, sans-serif;
  padding: 13px 14px;
}
textarea { min-height: 132px; resize: vertical; }
.button-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  margin-top: 4px;
}
.secondary-action, button[type="submit"] {
  min-height: 46px;
  border: 2px solid var(--navy);
  padding: 11px 20px;
  text-decoration: none;
  font-weight: 900;
  cursor: pointer;
  border-radius: 999px;
}
.secondary-action { color: var(--navy); background: transparent; }
button[type="submit"] { background: var(--red); color: #fff; }
.form-status { margin: 0; color: var(--muted); font-weight: 700; }
.market-footer {
  background: #080c12;
  color: rgba(255, 244, 223, .82);
  padding: 24px clamp(14px, 5vw, 72px);
  text-align: center;
}
.market-footer p { margin: 0; }
.market-footer a { color: var(--brass); font-weight: 800; }

@keyframes slowTurn { to { rotate: 360deg; } }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; transition: none !important; }
}

@media (max-width: 1024px) {
  .sign-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hanging-sign.blue, .hanging-sign.ink { transform: none; }
  .chair-path { grid-template-columns: 84px minmax(0, 1fr); }
  .path-copy { grid-column: 2; position: relative; top: auto; }
  .visit-flow { grid-column: 1 / -1; }
  .counter { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .clock-stage { min-height: auto; }
  .shop-sign { transform: none; }
  .clock-wrap {
    width: min(100%, 460px);
    aspect-ratio: auto;
    min-height: 620px;
    padding-top: 120px;
    align-content: start;
  }
  .pole-ring {
    width: min(88vw, 390px);
    height: min(88vw, 390px);
    inset: 0 auto auto 50%;
    translate: -50% 0;
  }
  .clock-face {
    width: min(56vw, 250px);
    height: min(56vw, 250px);
    min-width: 218px;
    min-height: 218px;
  }
  .clock-choice {
    position: relative;
    inset: auto;
    translate: none;
    width: min(100% - 24px, 320px);
    min-width: 0;
    margin: 8px auto 0;
    display: block;
  }
  .counter-links { grid-template-columns: 1fr; }
  .sign-rail { grid-template-columns: 1fr; }
  .hanging-sign { min-height: 220px; }
  .chair-path { grid-template-columns: 1fr; }
  .barber-pole {
    position: relative;
    top: auto;
    width: 100%;
    height: 76px;
    min-height: 76px;
    border-radius: 999px;
  }
  .path-copy { grid-column: 1; }
  .visit-flow li {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 12px;
  }
  .visit-flow li::before { width: 46px; height: 46px; font-size: 18px; }
  .counter-facts p { grid-template-columns: 1fr; gap: 4px; }
  .button-row { justify-content: stretch; }
  .secondary-action, button[type="submit"] { flex: 1 1 190px; text-align: center; }
}

@media (max-width: 390px) {
  .shop-sign { padding-inline: 14px; }
  .clock-wrap { min-height: 595px; }
  .clock-face { min-width: 204px; min-height: 204px; border-width: 8px; }
  .clock-face span { font-size: 12px; }
  .hanging-sign, .counter-board, .contact-card { padding: 18px; }
  .visit-flow li { padding: 16px; }
}
