/* ============================================================
   Jacksons Barbershop — clean, friendly, down-to-earth (Stockbridge, GA)
   Built by Margam · margam.io
   Palette: deep forest green + warm tan / cream
   ============================================================ */
:root {
  --paper: #0f1a14;          /* deep forest near-black page */
  --paper-2: #14241b;        /* slightly raised section */
  --panel: #18291f;          /* card / panel surface */
  --ink: #f3efe4;            /* warm cream text */
  --muted: #a4b1a3;          /* soft sage-grey body text */
  --tan: #d8b483;            /* warm tan primary */
  --tan-dark: #c29a63;       /* deeper tan for hovers */
  --tan-soft: #ecd4ab;       /* light cream-tan accents on dark */
  --forest: #0a130e;         /* deepest green block */
  --line: #294135;           /* hairline on dark */
  --radius: 6px;
  --shadow: 0 26px 50px -26px rgba(0, 0, 0, 0.78);
  --display: "Oswald", "Archivo", Impact, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--body); color: var(--ink); background: var(--paper); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--cream { background: var(--paper-2); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: .01em; line-height: 1.05; text-transform: uppercase; }
h1 em, h2 em, .brand em { font-style: normal; color: var(--tan); }
.eyebrow { font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .22em; font-size: .82rem; color: var(--tan); margin-bottom: 16px; }
.eyebrow--light { color: var(--tan-soft); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 600; font-family: var(--display);
  text-transform: uppercase; letter-spacing: .08em; padding: .85em 1.6em; border-radius: var(--radius); border: 1.5px solid transparent;
  cursor: pointer; transition: .25s var(--ease); white-space: nowrap; }
.btn--sm { padding: .62em 1.15em; font-size: .9rem; }
.btn--lg { padding: .95em 1.8em; font-size: 1.02rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--tan); color: var(--forest); }
.btn--solid:hover { background: var(--tan-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(216, 180, 131, .5); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.03); }
.btn--ghost:hover { border-color: var(--tan); color: var(--tan-soft); transform: translateY(-2px); }

/* brand / nav */
.brand { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; }
.brand em { color: var(--tan); }
.brand--light { color: var(--ink); font-size: 1.6rem; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(15,26,20,.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__links { display: flex; gap: 30px; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .08em; font-size: .92rem; }
.nav__links a { color: var(--ink); position: relative; }
.nav__links a:hover { color: var(--tan); }
@media (max-width: 760px) { .nav__links { display: none; } }

/* hero */
.hero { padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 5vw, 50px); }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 6.4vw, 4.8rem); margin-bottom: 22px; }
.rating { display: inline-flex; align-items: center; gap: 8px; background: var(--panel); border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 16px; font-size: .95rem; margin-bottom: 20px; box-shadow: var(--shadow); }
.rating strong { color: var(--ink); }
.stars { color: var(--tan); letter-spacing: 1px; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; }
.hero__art img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.hero__badge { position: absolute; bottom: 18px; left: -14px; background: var(--tan); color: var(--forest); font-family: var(--display);
  font-weight: 600; text-transform: uppercase; font-size: 1rem; line-height: 1.05; text-align: center; padding: 16px 18px; border-radius: 50%;
  width: 112px; height: 112px; display: grid; place-items: center; box-shadow: var(--shadow); transform: rotate(-8deg); letter-spacing: .04em; }
@media (max-width: 760px) { .hero__in { grid-template-columns: 1fr; } .hero__art { max-width: 380px; margin: 0 auto; } }

/* ribbon */
.ribbon { background: var(--tan); color: var(--forest); overflow: hidden; padding: 14px 0; }
.ribbon__track { display: flex; align-items: center; gap: 26px; width: max-content; white-space: nowrap;
  font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: 1.05rem; animation: scroll 36s linear infinite; }
.ribbon i { color: var(--forest); font-style: normal; opacity: .55; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* section heads */
.head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.head h2 { font-size: clamp(2.1rem, 4.8vw, 3.2rem); }
.head__sub { color: var(--muted); margin-top: 10px; }

/* gallery (masonry) — 3 columns reads full with ~6 images */
.masonry { column-count: 3; column-gap: 16px; }
.tile { display: block; width: 100%; border: 0; padding: 0; margin: 0 0 16px; background: none; cursor: pointer;
  border-radius: var(--radius); overflow: hidden; break-inside: avoid; box-shadow: var(--shadow); border: 1px solid var(--line); }
.tile img { width: 100%; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 540px) { .masonry { column-count: 1; column-gap: 12px; } .tile { margin-bottom: 12px; } }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); }
.about__copy h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 16px; }
.about__copy p { color: var(--muted); margin-bottom: 14px; }
.link { color: var(--tan); font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--tan-soft); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__art { max-width: 360px; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: .3s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--tan-dark); }
.card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__price { display: block; margin-top: 12px; font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--tan); font-size: 1rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* reviews — laid out cleanly for 2, centered with a comfortable max width */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 900px; margin: 0 auto; }
.review { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; }
.review__stars { color: var(--tan); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 1.08rem; line-height: 1.62; }
.review figcaption { color: var(--ink); font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; margin-top: auto; }
.review figcaption span { color: var(--muted); font-weight: 400; letter-spacing: .02em; }
.reviews__cta { text-align: center; margin-top: clamp(26px, 4vw, 40px); }
@media (max-width: 720px) { .reviews { grid-template-columns: 1fr; max-width: 520px; } }

/* book / appointment (tan-on-forest feature block) */
.section--blue { background: linear-gradient(160deg, var(--forest), #122019); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.order { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.order h2 { font-size: clamp(2.1rem, 4.8vw, 3.2rem); margin-bottom: 26px; }
.steps { list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.steps span { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(216,180,131,.16); color: var(--tan-soft);
  display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.order__call { margin-top: 26px; color: var(--muted); }
.order__call a { color: var(--tan-soft); border-bottom: 1px solid; }
.order__form { background: var(--panel); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; font-size: .82rem; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius);
  font-family: var(--body); font-size: 1rem; background: var(--paper); color: var(--ink); resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #6f8073; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--tan); box-shadow: 0 0 0 3px rgba(216,180,131,.18); }
.form__note { margin-top: 14px; text-align: center; font-weight: 600; min-height: 1.2em; }
.form__note.ok { color: var(--tan-soft); }
@media (max-width: 760px) { .order { grid-template-columns: 1fr; } }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.visit h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); margin-bottom: 24px; }
.info { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; }
.info b { min-width: 88px; font-family: var(--display); font-weight: 500; text-transform: uppercase; letter-spacing: .06em; color: var(--tan); }
.info a:hover { color: var(--tan); }
.info--hours { align-items: flex-start; }
.hours { list-style: none; padding: 0; display: grid; gap: 6px; flex: 1; }
.hours li { display: flex; justify-content: space-between; color: var(--muted); max-width: 320px; }
.hours li em { font-style: normal; color: var(--tan-soft); }
.visit__map { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.visit__map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.2) contrast(1.05); }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--forest); color: var(--ink); text-align: center; padding: 48px 0; border-top: 1px solid var(--line); }
.footer__in p { margin-top: 10px; color: var(--muted); }
.footer__in a { color: var(--ink); border-bottom: 1px solid rgba(255,255,255,.25); }
.footer__by { font-size: .9rem; margin-top: 18px; color: var(--muted); }
.footer__by a { color: var(--tan-soft); border-color: rgba(216,180,131,.4); }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(6,11,8,.94); display: grid; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.7); }

/* reveals */
.js .section .head, .js .about, .js .cards, .js .reviews, .js .order, .js .visit, .js .masonry { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .in { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js [class] { opacity: 1 !important; transform: none !important; }
}
