/* ============================================================
   Sharper Edge Barber Shop — welcoming family barbershop (Stockbridge, GA)
   Palette: slate-blue + warm orange + off-white  ·  Oswald / Archivo / Inter
   Built by Margam · margam.io
   ============================================================ */
:root {
  --paper: #f6f4ef;          /* warm off-white page */
  --paper-2: #efece4;        /* faint sand section */
  --ink: #1d2733;            /* deep slate ink (near-navy) */
  --muted: #5b6776;          /* slate-grey text */
  --slate: #3a536b;          /* slate-blue primary */
  --slate-dark: #2c4054;     /* deeper slate for hovers */
  --slate-deep: #1f2e3d;     /* deep slate block */
  --slate-deep2: #17222e;
  --orange: #e8772e;         /* warm orange accent */
  --orange-dark: #cf6420;    /* deeper orange for hovers */
  --line: #e1dcd1;           /* hairline on paper */
  --radius: 16px;
  --shadow: 0 26px 50px -28px rgba(29, 39, 51, 0.45);
  --display: "Oswald", "Archivo", Impact, sans-serif;
  --alt: "Archivo", "Oswald", 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: .005em; line-height: 1.05; text-transform: uppercase; }
h1 em, h2 em { font-style: normal; color: var(--orange); }
.brand em { font-style: normal; color: var(--orange); }
.eyebrow { font-family: var(--alt); font-weight: 600; text-transform: uppercase; letter-spacing: .16em; font-size: .82rem; color: var(--orange); margin-bottom: 14px; }
.eyebrow--light { color: #f2a973; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 600; font-family: var(--alt);
  text-transform: uppercase; letter-spacing: .04em; font-size: .95rem;
  padding: .85em 1.5em; border-radius: 8px; border: 2px solid transparent; cursor: pointer; transition: .25s var(--ease); white-space: nowrap; }
.btn--sm { padding: .55em 1.05em; font-size: .82rem; }
.btn--lg { padding: .9em 1.7em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--orange); color: #fff; }
.btn--solid:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(232, 119, 46, .6); }
.btn--ghost { border-color: var(--slate); color: var(--slate); background: transparent; }
.btn--ghost:hover { border-color: var(--slate-dark); background: var(--slate); color: #fff; transform: translateY(-2px); }

/* brand / nav */
.brand { font-family: var(--display); font-weight: 700; font-size: 1.4rem; letter-spacing: .04em; text-transform: uppercase; }
.brand--light { color: var(--paper); font-size: 1.45rem; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246,244,239,.88); 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(--alt); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; font-size: .85rem; }
.nav__links a { color: var(--ink); position: relative; }
.nav__links a:hover { color: var(--orange); }
@media (max-width: 760px) { .nav__links { display: none; } }

/* hero — type & color (no photo) */
.hero { padding: clamp(58px, 9vw, 104px) 0 clamp(42px, 6vw, 76px); text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(58% 70% at 80% 6%, rgba(232,119,46,.14), transparent 60%),
    radial-gradient(60% 64% at 14% 92%, rgba(58,83,107,.18), transparent 62%); }
.hero__in { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6.6vw, 4.7rem); margin-bottom: 22px; }
.rating { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 16px; font-size: .95rem; margin-bottom: 20px; box-shadow: var(--shadow); }
.rating strong { font-family: var(--alt); }
.stars { color: var(--orange); letter-spacing: 1px; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 60ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* ribbon */
.ribbon { background: var(--slate-deep); color: #fff; overflow: hidden; padding: 13px 0; border-top: 3px solid var(--orange); border-bottom: 3px solid var(--orange); }
.ribbon__track { display: flex; align-items: center; gap: 26px; width: max-content; white-space: nowrap;
  font-family: var(--display); text-transform: uppercase; letter-spacing: .08em; font-size: 1.12rem; animation: scroll 38s linear infinite; }
.ribbon i { color: var(--orange); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* section heads */
.head { text-align: center; max-width: 660px; margin: 0 auto clamp(36px, 5vw, 56px); }
.head h2 { font-size: clamp(2rem, 4.6vw, 3rem); }
.head__sub { color: var(--muted); margin-top: 10px; font-family: var(--body); }

/* the shop / about */
.about { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__art { position: relative; }
/* type poster panel standing in for a storefront photo */
.poster { position: relative; aspect-ratio: 4/5; border-radius: var(--radius); box-shadow: var(--shadow);
  background:
    radial-gradient(120% 80% at 50% 0%, rgba(255,255,255,.06), transparent 55%),
    linear-gradient(165deg, var(--slate) 0%, var(--slate-deep) 100%);
  color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 30px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.poster::after { content: ""; position: absolute; inset: 14px; border: 1.5px solid rgba(255,255,255,.16); border-radius: 10px; pointer-events: none; }
.poster__pole { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 14px; height: 100%; opacity: .5;
  background: repeating-linear-gradient(45deg, var(--orange) 0 10px, #fff 10px 20px, var(--slate) 20px 30px, #fff 30px 40px); }
.poster__kicker { font-family: var(--alt); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; font-size: .72rem; color: #f2a973; margin-bottom: 16px; z-index: 1; }
.poster__name { font-family: var(--display); font-weight: 700; text-transform: uppercase; font-size: clamp(2.6rem, 6vw, 3.6rem); line-height: .96; letter-spacing: .02em; z-index: 1; }
.poster__rule { width: 54px; height: 3px; background: var(--orange); margin: 16px 0; z-index: 1; }
.poster__sub { font-family: var(--alt); font-weight: 600; text-transform: uppercase; letter-spacing: .34em; font-size: .92rem; z-index: 1; }
.about__badge { position: absolute; bottom: 18px; right: -14px; background: var(--orange); color: #fff; font-family: var(--display);
  text-transform: uppercase; font-size: .92rem; line-height: 1.05; text-align: center; padding: 16px 18px; border-radius: 50%;
  width: 104px; height: 104px; display: grid; place-items: center; box-shadow: var(--shadow); transform: rotate(7deg); letter-spacing: .03em; }
.about__copy h2 { font-size: clamp(1.9rem, 4.2vw, 2.7rem); margin-bottom: 16px; }
.about__copy p { color: var(--muted); margin-bottom: 18px; }
.about__copy p strong { color: var(--ink); font-weight: 600; }
.people { list-style: none; padding: 0; display: grid; gap: 14px; margin-bottom: 20px; }
.people li { display: grid; grid-template-columns: 92px 1fr; gap: 14px; align-items: baseline;
  padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.people li:last-child { border-bottom: 0; padding-bottom: 0; }
.people b { font-family: var(--display); text-transform: uppercase; letter-spacing: .03em; font-size: 1.18rem; color: var(--slate); }
.people span { color: var(--muted); font-size: .98rem; }
.about__note { font-size: .98rem; color: var(--slate-dark); background: var(--paper-2); border-left: 3px solid var(--orange);
  padding: 12px 16px; border-radius: 0 10px 10px 0; margin-bottom: 22px !important; }
.link { color: var(--slate); font-family: var(--alt); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .9rem; border-bottom: 2px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--orange); }
@media (max-width: 760px) {
  .about { grid-template-columns: 1fr; }
  .about__art { max-width: 320px; margin: 0 auto; }
  .people li { grid-template-columns: 84px 1fr; }
}

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

/* reviews */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.review__stars { color: var(--orange); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 1.06rem; line-height: 1.6; }
.review figcaption { color: var(--ink); font-family: var(--alt); font-weight: 600; font-size: .92rem; margin-top: auto; }
.review figcaption span { color: var(--muted); font-weight: 400; font-family: var(--body); }
.reviews__cta { text-align: center; margin-top: clamp(26px, 4vw, 40px); }
@media (max-width: 720px) { .reviews { grid-template-columns: 1fr; } }

/* book / appointment (deep slate) */
.section--ink { background: linear-gradient(160deg, var(--slate-deep), var(--slate-deep2)); color: #fff; }
.order { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.order h2 { font-size: clamp(2rem, 4.6vw, 3rem); 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.04rem; }
.steps span { flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: var(--orange);
  display: grid; place-items: center; font-family: var(--display); font-weight: 600; color: #fff; }
.order__call { margin-top: 26px; color: #b7c4d2; }
.order__call a { color: #fff; border-bottom: 1px solid; }
.order__form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--alt); font-weight: 600; text-transform: uppercase; letter-spacing: .05em; font-size: .8rem; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 9px;
  font-family: var(--body); font-size: 1rem; background: var(--paper); color: var(--ink); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--slate); box-shadow: 0 0 0 3px rgba(58,83,107,.18); }
.form__note { margin-top: 14px; text-align: center; font-weight: 600; min-height: 1.2em; }
.form__note.ok { color: var(--slate-deep); }
@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(1.9rem, 4.2vw, 2.7rem); 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); text-transform: uppercase; letter-spacing: .04em; font-weight: 600; }
.info a:hover { color: var(--orange); }
.info--hours { align-items: flex-start; }
.hours-note { flex: 1; max-width: 330px; }
.hours-note p { color: var(--muted); }
.hours-note strong { color: var(--ink); }
.hours-note a { color: var(--slate); border-bottom: 1.5px solid currentColor; font-weight: 600; }
.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; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--ink); color: var(--paper); text-align: center; padding: 48px 0; }
.footer__in p { margin-top: 10px; color: #b4bfca; }
.footer__in a { color: var(--paper); border-bottom: 1px solid rgba(255,255,255,.3); }
.footer__by { font-size: .9rem; margin-top: 18px; }

/* reveals */
.js .section .head, .js .about, .js .cards, .js .reviews, .js .order, .js .visit { 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; }
}
