/* Marco Force Barber — shared styles */

:root {
  --ink: #120E0B;
  --shop: #1C1512;
  --bone: #F2EDE5;
  --paper: #FBF8F3;
  --red: #D8232A;
  --red-deep: #8E1318;
  --red-lift: #E8434A;
  --clay: #8B7A69;
  --line: rgba(216, 35, 42, 0.34);
  --line-dark: rgba(18, 14, 11, 0.14);
  --hex: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2272%22%20height%3D%2241.57%22%20viewBox%3D%220%200%2072%2041.57%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%23D9DDE2%22%20stroke-width%3D%221.3%22%20opacity%3D%220.11%22%3E%3Cpolygon%20points%3D%2248%2C20.78%2036%2C41.57%2012%2C41.57%200%2C20.78%2012%2C0%2036%2C0%22%2F%3E%3Cpolygon%20points%3D%2284%2C0%2072%2C20.78%2048%2C20.78%2036%2C0%2048%2C-20.78%2072%2C-20.78%22%2F%3E%3Cpolygon%20points%3D%2284%2C41.57%2072%2C62.35%2048%2C62.35%2036%2C41.57%2048%2C20.78%2072%2C20.78%22%2F%3E%3Cpolygon%20points%3D%2212%2C0%200%2C20.78%20-24%2C20.78%20-36%2C0%20-24%2C-20.78%200%2C-20.78%22%2F%3E%3Cpolygon%20points%3D%2212%2C41.57%200%2C62.35%20-24%2C62.35%20-36%2C41.57%20-24%2C20.78%200%2C20.78%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");

  --wrap: 1140px;
  --gutter: 24px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Schibsted Grotesk", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .display {
  font-family: "Archivo", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin: 0;
}

a { color: inherit; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible {
  outline: 3px solid var(--red-lift);
  outline-offset: 3px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 15px 26px;
  font-family: "Archivo", sans-serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.btn-red {
  background: var(--red);
  color: #FFFFFF;
  border-bottom: 3px solid var(--red-deep);
  padding-bottom: 12px;
}
.btn-red:hover { background: var(--red-lift); }

.btn-ghost { border-color: rgba(242, 237, 229, 0.45); color: var(--bone); }
.btn-ghost:hover { border-color: var(--bone); }

.btn svg { width: 17px; height: 17px; flex: none; }
.btn-ghost { background: rgba(242, 237, 229, 0.07); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { background: var(--shop); }

/* ---------- header ---------- */

.site-header {
  background: var(--ink);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.wordmark {
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.02em;
  color: var(--bone);
  text-decoration: none;
}
.wordmark span { color: var(--red); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.site-nav a {
  color: var(--bone);
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  opacity: 0.85;
}
.site-nav a:hover { opacity: 1; color: var(--red-lift); }
.site-nav .btn { padding: 10px 20px; font-size: 15px; }

@media (max-width: 820px) {
  .site-nav a:not(.btn) { display: none; }
}

/* ---------- hero ---------- */

.hero {
  background-color: var(--ink);
  background-image: var(--hex);
  color: var(--bone);
  overflow: hidden;
}

.hero .wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 60px;
}

.hero h1 {
  font-size: clamp(52px, 8.5vw, 104px);
  color: var(--bone);
}
.hero h1 .second { color: var(--red); display: block; }

.hero .where {
  margin: 22px 0 0;
  font-size: 18px;
  color: rgba(242, 237, 229, 0.72);
  max-width: 44ch;
}

.rule-set {
  margin: 26px 0 24px;
  background: var(--red);
  height: 3px;
  max-width: 120px;
}

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

.hero-photo {
  position: relative;
}
.hero-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 62% center;
  border-radius: 2px;
  filter: saturate(0.95) contrast(1.03);
}
.hero-photo figcaption {
  margin-top: 12px;
  font-size: 14px;
  color: rgba(242, 237, 229, 0.6);
}

@media (max-width: 880px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
    padding-bottom: 44px;
  }
  .hero-photo { order: -1; }
  .hero-photo img { aspect-ratio: 3 / 2; max-height: 42vh; object-position: 62% 14%; }
  .hero-photo figcaption { margin-top: 9px; }
}

/* ---------- facts strip ---------- */

.facts {
  background-color: var(--ink);
  background-image: var(--hex);
  color: var(--bone);
  border-top: 2px solid var(--red);
}
.facts .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
  padding-top: 30px;
  padding-bottom: 30px;
}
.fact {
  border-left: 2px solid var(--red);
  padding-left: 16px;
}
.fact b {
  display: block;
  font-family: "Archivo", sans-serif;
  font-weight: 800;
  font-size: 42px;
  line-height: 1;
  color: var(--bone);
  letter-spacing: -0.035em;
}
.fact b .mark { color: var(--red); font-size: 20px; margin-left: 5px; vertical-align: 0.35em; }
.fact.is-text b { font-size: 23px; letter-spacing: -0.02em; line-height: 1.15; }
.fact span {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: rgba(242, 237, 229, 0.6);
}
@media (max-width: 760px) {
  .facts .wrap { grid-template-columns: 1fr 1fr; gap: 22px; }
  .fact b { font-size: 34px; }
  .fact.is-text b { font-size: 19px; }
}

/* ---------- generic section ---------- */

.section { padding: 84px 0; }
.section-tight { padding: 60px 0; }

.section h2 {
  font-size: clamp(30px, 4.6vw, 46px);
  max-width: 20ch;
}
.section .lede {
  margin: 16px 0 0;
  max-width: 58ch;
  color: #5C5044;
  font-size: 18px;
}

.section-dark {
  background-color: var(--ink);
  background-image: var(--hex);
  color: var(--bone);
}
.section-dark h2 { color: var(--bone); }
.section-dark .lede { color: rgba(242, 237, 229, 0.7); }

/* ---------- services ---------- */

.cuts {
  margin: 44px 0 0;
  border-top: 2px solid var(--ink);
}
.cut {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-dark);
  align-items: baseline;
}
.cut h3 {
  font-size: 23px;
  font-weight: 700;
}
.cut p {
  margin: 0;
  color: #5C5044;
}
@media (max-width: 700px) {
  .cut { grid-template-columns: 1fr; gap: 6px; }
}

.note {
  margin-top: 26px;
  font-size: 15px;
  color: var(--clay);
}

/* ---------- work grid ---------- */

.work {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.work img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 2px;
}
@media (max-width: 640px) {
  .work { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- voices ---------- */

.voices {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 34px 48px;
}
.voice {
  border-left: 2px solid var(--red);
  padding-left: 22px;
}
.voice p {
  margin: 0 0 10px;
  font-family: "Archivo", sans-serif;
  font-weight: 600;
  font-size: 21px;
  line-height: 1.32;
  letter-spacing: -0.02em;
  color: var(--bone);
}
.voice cite {
  font-style: normal;
  font-size: 14.5px;
  color: rgba(242, 237, 229, 0.6);
}
@media (max-width: 700px) { .voices { grid-template-columns: 1fr; gap: 26px; } }

/* ---------- visit ---------- */

.visit {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.hours { list-style: none; margin: 0; padding: 0; }
.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-dark);
  font-size: 16px;
}
.hours li span:last-child { color: #5C5044; }
.addr { font-size: 18px; line-height: 1.7; }
.addr a { color: var(--ink); }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- signup form ---------- */

.signup-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 15px; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit;
  font-size: 16px;
  padding: 13px 14px;
  border: 1.5px solid rgba(242, 237, 229, 0.28);
  border-radius: 2px;
  background: rgba(242, 237, 229, 0.06);
  color: var(--bone);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(242, 237, 229, 0.4); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--red);
  outline: none;
}

.consent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 2px;
  background: rgba(192, 138, 46, 0.07);
}
.consent input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  accent-color: var(--red);
}
.consent label {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(242, 237, 229, 0.85);
}
.consent a { color: var(--red-lift); }

.form-foot {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.form-foot small { color: rgba(242, 237, 229, 0.55); font-size: 14px; }

@media (max-width: 700px) { .signup-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */

.site-footer {
  background: var(--shop);
  color: rgba(242, 237, 229, 0.75);
  padding: 56px 0 130px;
  font-size: 15px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.site-footer h4 {
  font-family: "Archivo", sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--bone);
  margin: 0 0 12px;
  letter-spacing: 0;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: rgba(242, 237, 229, 0.75); text-decoration: none; }
.site-footer a:hover { color: var(--red-lift); text-decoration: underline; }
.legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid rgba(242, 237, 229, 0.12);
  font-size: 13.5px;
  color: rgba(242, 237, 229, 0.5);
}
@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .site-footer { padding-bottom: 120px; }
}

/* ---------- mobile call bar ---------- */

.callbar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  display: none;
  gap: 10px;
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  background: var(--ink);
  border-top: 1px solid var(--line);
}
.callbar .btn { flex: 1; text-align: center; padding: 14px 10px; font-size: 15px; }
@media (max-width: 820px) { .callbar { display: flex; } }

/* ---------- legal document pages ---------- */

.doc {
  max-width: 720px;
  padding-top: 60px;
  padding-bottom: 80px;
}
.doc h1 { font-size: clamp(34px, 6vw, 50px); }
.doc .updated { color: var(--clay); font-size: 15px; margin: 14px 0 40px; }
.doc h2 {
  font-size: 22px;
  margin: 40px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}
.doc p, .doc li { color: #3B322A; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc a { color: #8A5F14; }
.doc .callout {
  background: #F4EEE2;
  border-left: 3px solid var(--red);
  padding: 18px 22px;
  margin: 26px 0;
  border-radius: 2px;
}
.doc .callout p { margin: 0; }
