/* Gothia Barbershop — styles
   Typsnitt: Familjen Grotesk (Google Fonts)
   Färger: papper #EFECE6, bläck #121211, grön #1D3A33 */

@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/familjen-grotesk-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/fonts/familjen-grotesk-latin-wght-italic.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Familjen Grotesk"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("/fonts/familjen-grotesk-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Familjen Grotesk"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/fonts/familjen-grotesk-latin-ext-wght-italic.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --paper: #EFECE6;
  --paper-2: #D9D4CB;
  --ink: #121211;
  --ink-2: #2A2926;
  --mute: #5E5A53;
  --mute-dark: #9A948A;
  --green: #1D3A33;
  --green-mute: #A7B8B1;
  --green-text: #D5DDD9;
  --open: #2F7D5B;
  --closed: #B5B0A6;
  --rule: rgba(18, 18, 17, .16);
  --rule-light: rgba(239, 236, 230, .22);
  --gutter: 80px;
  --gap: 24px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --ease-io: cubic-bezier(.65, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Familjen Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-feature-settings: "ss01", "tnum";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, p, figure { margin: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--gutter); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.mute { color: var(--mute); }
.label { font-size: 16px; }
.label .idx { color: var(--mute); }

/* Länkar & knappar */
.u-link {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px; background-repeat: no-repeat; background-position: 0 100%;
  transition: background-size .5s var(--ease);
}
.u-link:hover { background-size: 100% 1px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 16px; font-weight: 500; white-space: nowrap;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}
.pill--dark { background: var(--ink); color: var(--paper); }
.pill--dark:hover { background: var(--green); }
.pill--outline { border: 1px solid rgba(18, 18, 17, .4); }
.pill--outline:hover { background: var(--ink); color: var(--paper); }
.pill--light { border: 1px solid rgba(239, 236, 230, .5); color: var(--paper); }
.pill--light:hover { background: var(--paper); color: var(--ink); }
.pill--sm { height: 44px; padding: 0 22px; font-size: 15px; }

.mark { flex-shrink: 0; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: var(--paper); }
.nav__inner { height: 88px; align-items: center; border-bottom: 1px solid var(--rule); }
.nav__brand { grid-column: span 3; display: flex; align-items: center; gap: 14px; }
.nav__brand span { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.nav__links { grid-column: 5 / span 5; display: flex; gap: 36px; font-size: 16px; }
.nav__links sup { font-size: 10px; color: var(--mute); }
.nav__right { grid-column: 10 / span 3; display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); }
.status__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--closed); }
.status.is-open .status__dot { background: var(--open); }
.nav__menu { display: none; }
.hero__intro .status { display: none; }

/* ---------- Hero ---------- */
.hero__intro { padding-top: 44px; align-items: start; font-size: 16px; line-height: 1.45; }
.hero__intro p:nth-child(1) { grid-column: span 3; }
.hero__intro p:nth-child(2) { grid-column: 5 / span 4; }
.hero__intro .hero__phone { grid-column: 10 / span 3; justify-self: end; }
.hero__word { padding-top: 36px; display: flex; align-items: flex-end; justify-content: space-between; }
.hero__word h1 {
  margin-left: -.035em;
  font-size: clamp(104px, 24.3vw, 350px); line-height: .78;
  font-weight: 600; letter-spacing: -.062em; white-space: nowrap;
}
.hero__word .mark { width: clamp(120px, 18.2vw, 262px); height: auto; margin-bottom: 1.1vw; }

.strip { margin-top: 52px; height: 520px; overflow: hidden; }
.strip__track { display: flex; gap: 16px; width: max-content; height: 100%; animation: strip 70s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__item { flex-shrink: 0; height: 100%; overflow: hidden; background: var(--paper-2); }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.strip__item:hover img { transform: scale(1.035); }
.strip__item--p { aspect-ratio: 3 / 4; }
.strip__item--l { aspect-ratio: 3 / 2; }
.strip__item--s { aspect-ratio: 9 / 16; }
.strip__item--sq { aspect-ratio: 15 / 16; }
@keyframes strip { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

.strip__meta { padding-top: 18px; display: flex; justify-content: space-between; font-size: 14px; color: var(--mute); }
.facts { margin-top: 56px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gap); border-top: 1px solid var(--rule); padding-top: 22px; font-size: 17px; line-height: 1.4; }
.facts > div { display: flex; flex-direction: column; }

/* ---------- Salongen ---------- */
.about { padding-top: 200px; padding-bottom: 160px; row-gap: 120px; }
.about .label { grid-column: span 3; padding-top: 14px; }
.about__lede {
  grid-column: 4 / span 9;
  font-size: clamp(34px, 4.45vw, 64px); line-height: 1.04; font-weight: 500; letter-spacing: -.035em; text-wrap: balance;
}
.about__lede em { color: var(--green); }
.fig { display: flex; flex-direction: column; gap: 14px; }
.fig__img { overflow: hidden; background: var(--paper-2); }
.fig__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.fig:hover .fig__img img { transform: scale(1.035); }
.fig figcaption { display: flex; justify-content: space-between; font-size: 14px; color: var(--mute); }
.about__a { grid-column: 4 / span 5; }
.about__a .fig__img { height: 690px; }
.about__b { grid-column: 10 / span 3; margin-top: 368px; }
.about__b .fig__img { height: 322px; }

/* ---------- Tjänster ---------- */
.services { padding-top: 40px; padding-bottom: 180px; row-gap: 72px; border-top: 1px solid var(--rule); }
.services .label { grid-column: span 3; padding-top: 22px; }
.services h2 { grid-column: 4 / span 9; font-size: clamp(68px, 9.45vw, 136px); line-height: .86; font-weight: 600; letter-spacing: -.055em; }
.services__cta { grid-column: span 3; display: flex; flex-direction: column; gap: 20px; align-self: end; padding-bottom: 8px; }
.services__cta p { font-size: 16px; line-height: 1.5; color: var(--mute); max-width: 240px; }
.services__cta .pill { align-self: flex-start; }
.price-list { grid-column: 4 / span 9; position: relative; border-top: 1px solid var(--rule); }
.price-row {
  height: 104px; display: grid; grid-template-columns: 64px 1fr 150px 170px; align-items: center;
  border-bottom: 1px solid var(--rule);
  transition: color .3s ease, padding-left .5s var(--ease);
}
.price-row:hover, .price-row.is-active { color: var(--green); }
.price-row:hover { padding-left: 20px; }
.price-row__n { font-size: 14px; color: var(--mute); }
.price-row__name { font-size: 44px; font-weight: 500; letter-spacing: -.03em; }
.price-row__time { font-size: 16px; color: var(--mute); }
.price-row__price { font-size: 24px; text-align: right; letter-spacing: -.01em; }
.price-preview {
  position: absolute; left: 430px; top: 31px; width: 190px; height: 240px; overflow: hidden;
  pointer-events: none; opacity: 0;
  box-shadow: 0 30px 60px -20px rgba(18, 18, 17, .45);
  transition: top .55s var(--ease), opacity .3s ease;
}
.price-preview.is-visible { opacity: 1; }
.price-preview img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Album ---------- */
.album { background: var(--ink); color: var(--paper); padding: 140px 0; }
.album__head { align-items: end; }
.album__head .label { grid-column: span 3; align-self: start; padding-top: 18px; }
.album__head .label .idx { color: var(--mute-dark); }
.album__head h2 { grid-column: 4 / span 6; font-size: clamp(96px, 13.9vw, 200px); line-height: .8; font-weight: 600; letter-spacing: -.06em; }
.album__controls { grid-column: 10 / span 3; display: flex; justify-content: flex-end; gap: 12px; }
.arrow {
  width: 64px; height: 64px; border-radius: 50%;
  border: 1px solid rgba(239, 236, 230, .35); background: transparent; color: var(--paper);
  font-size: 22px; cursor: pointer; transition: background-color .3s ease, color .3s ease;
}
.arrow:hover { background: var(--paper); color: var(--ink); }
.album__viewport { margin-top: 64px; height: 640px; overflow: hidden; }
.album__track { display: flex; gap: 24px; height: 100%; width: max-content; padding-left: max(var(--gutter), calc((100vw - 1440px) / 2 + var(--gutter))); transition: transform .9s var(--ease-io); }
.slide {
  flex-shrink: 0; height: 100%; padding: 0; border: 0; overflow: hidden; cursor: pointer;
  background: var(--ink-2); opacity: .38; transition: opacity .9s ease;
}
.slide.is-active { opacity: 1; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide--p { aspect-ratio: 3 / 4; }
.slide--l { aspect-ratio: 3 / 2; }
.slide--s { aspect-ratio: 9 / 16; }
.slide--sq { aspect-ratio: 15 / 16; }
.album__foot { margin-top: 64px; align-items: center; font-size: 16px; }
.album__count { grid-column: span 3; font-variant-numeric: tabular-nums; }
.album__count span { color: var(--mute-dark); }
.album__cap { grid-column: 4 / span 5; }
.album__bars { grid-column: 10 / span 3; display: flex; gap: 6px; }
.album__bars span { flex-grow: 1; height: 2px; background: var(--rule-light); transition: background-color .4s ease; }
.album__bars span.is-done { background: var(--paper); }

/* ---------- VIP ---------- */
.vip { background: var(--green); color: var(--paper); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); min-height: 860px; }
.vip__text { padding: 120px var(--gutter) 80px; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.vip__text .label .idx { color: var(--green-mute); }
.vip__body { display: flex; flex-direction: column; gap: 40px; }
.vip h2 { font-size: clamp(88px, 11.7vw, 168px); line-height: .8; font-weight: 600; letter-spacing: -.06em; }
.vip p { max-width: 420px; font-size: 20px; line-height: 1.45; color: var(--green-text); }
.vip__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(239, 236, 230, .25); padding-top: 26px; }
.vip__meta { display: flex; gap: 40px; font-size: 26px; letter-spacing: -.01em; }
.vip__img { overflow: hidden; }
.vip__img img { width: 100%; height: 100%; object-fit: cover; object-position: 40% center; transition: transform 1.4s var(--ease); }
.vip__img:hover img { transform: scale(1.035); }

/* ---------- Hitta hit ---------- */
.visit { padding-top: 180px; padding-bottom: 160px; row-gap: 100px; }
.visit .label { grid-column: span 3; padding-top: 22px; }
.visit h2 { grid-column: 4 / span 9; font-size: clamp(60px, 10.3vw, 148px); line-height: .84; font-weight: 600; letter-spacing: -.058em; }
.visit h2 span { color: var(--mute-dark); }
.visit__col { display: flex; flex-direction: column; gap: 14px; font-size: 17px; line-height: 1.4; }
.visit__hours { grid-column: 4 / span 3; }
.visit__contact { grid-column: 7 / span 3; }
.visit__contact a { align-self: flex-start; }
.visit__dir { grid-column: 10 / span 3; align-items: flex-end; justify-content: flex-end; }
.hours-row { display: flex; justify-content: space-between; border-top: 1px solid var(--rule); padding-top: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 110px 0 44px; }
.footer__cta { display: flex; align-items: flex-end; justify-content: space-between; }
.footer__cta span { font-size: clamp(88px, 16.7vw, 240px); line-height: .8; font-weight: 600; letter-spacing: -.062em; }
.footer__cta svg { width: clamp(72px, 11.8vw, 170px); height: auto; transition: transform .6s var(--ease); }
.footer__cta:hover svg { transform: translate(8px, -8px); }
.footer__bar { margin-top: 140px; align-items: center; border-top: 1px solid rgba(239, 236, 230, .2); padding-top: 26px; font-size: 15px; }
.footer__brand { grid-column: span 3; display: flex; align-items: center; gap: 12px; }
.footer__social { grid-column: 5 / span 5; display: flex; gap: 32px; }
.footer__copy { grid-column: 10 / span 3; text-align: right; color: var(--mute-dark); }

/* ================= Mobil ================= */
@media (max-width: 820px) {
  :root { --gutter: 20px; --gap: 16px; }
  .grid { display: flex; flex-direction: column; }
  .grid > * { grid-column: auto !important; }

  .nav__inner { height: 64px; flex-direction: row; justify-content: space-between; }
  .nav__brand .mark { width: 36px; }
  .nav__brand span { font-size: 15px; }
  .nav__links { display: none; }
  .nav__right { gap: 6px; }
  .nav__right .status { display: none; }
  .nav__menu {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(18, 18, 17, .3);
    background: transparent; color: var(--ink); cursor: pointer; padding: 0;
  }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 18px; position: absolute; top: 64px; left: 0; right: 0;
    background: var(--paper); padding: 24px 20px 32px; font-size: 28px; border-bottom: 1px solid var(--rule);
  }

  .hero__intro { padding-top: 24px; flex-direction: row; justify-content: space-between; font-size: 14px; }
  .hero__intro p:nth-child(2) { display: none; }
  .hero__intro .hero__phone { display: none; }
  .hero__intro .status { display: inline-flex; color: var(--ink); align-self: flex-start; }
  .hero__word { padding-top: 26px; }
  .hero__word h1 { font-size: 28.7vw; }
  .hero__word .mark { display: none; }
  .strip { margin-top: 28px; height: 360px; }
  .strip__track { gap: 8px; animation-duration: 55s; }
  .strip__meta { font-size: 13px; padding-top: 12px; }
  .strip__meta .handle-long { display: none; }
  .facts .mute { font-size: 14px; }
  .facts { margin-top: 36px; grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 20px; column-gap: 16px; font-size: 15px; padding-top: 18px; }

  .about { padding-top: 112px; padding-bottom: 96px; gap: 28px; }
  .about .label { padding-top: 0; font-size: 14px; }
  .about__lede { font-size: 34px; line-height: 1.06; letter-spacing: -.03em; }
  .about__a { margin-top: 20px; }
  .about__a .fig__img { height: 440px; }
  .about__b { margin: 0 0 0 130px; }
  .about__b .fig__img { height: 240px; }
  .fig figcaption { font-size: 13px; }

  .services { padding-top: 28px; padding-bottom: 112px; gap: 28px; }
  .services .label { padding-top: 0; font-size: 14px; }
  .services h2 { font-size: 68px; }
  .services__cta { order: 3; padding-bottom: 0; align-self: stretch; }
  .services__cta p { display: none; }
  .services__cta .pill { align-self: stretch; justify-content: center; height: 56px; }
  .price-list { margin-top: 8px; }
  .price-row { height: auto; min-height: 78px; padding: 12px 0; grid-template-columns: 1fr auto; grid-template-areas: "name price" "time price"; row-gap: 2px; }
  .price-row:hover { padding-left: 0; }
  .price-row__n { display: none; }
  .price-row__name { grid-area: name; font-size: 23px; letter-spacing: -.02em; }
  .price-row__time { grid-area: time; font-size: 13px; }
  .price-row__price { grid-area: price; font-size: 17px; white-space: nowrap; }
  .price-preview { display: none; }

  .album { padding: 88px 0; }
  .album__head { gap: 22px; align-items: stretch; }
  .album__head .label { padding-top: 0; font-size: 14px; }
  .album__head-row { display: flex; align-items: flex-end; justify-content: space-between; }
  .album__head h2 { font-size: 80px; }
  .album__controls { flex-shrink: 0; }
  .arrow { width: 48px; height: 48px; font-size: 18px; }
  .album__controls { gap: 8px; }
  .album__viewport { margin-top: 32px; height: 420px; }
  .album__track { gap: 12px; }
  .slide, .slide--p, .slide--l, .slide--s, .slide--sq { aspect-ratio: auto; width: 310px; }
  .album__foot { margin-top: 32px; gap: 14px; font-size: 15px; display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
  .album__count { order: 2; text-align: right; }
  .album__cap { order: 1; }
  .album__bars { order: 3; grid-column: 1 / -1; gap: 4px; }

  .vip { grid-template-columns: 1fr; min-height: 0; }
  .vip__text { padding: 72px 20px 48px; gap: 28px; }
  .vip__text .label { font-size: 14px; }
  .vip__body { gap: 28px; }
  .vip h2 { font-size: 88px; }
  .vip p { font-size: 17px; }
  .vip__meta { gap: 24px; font-size: 22px; }
  .vip__foot .pill { height: 46px; padding: 0 20px; font-size: 15px; }
  .vip__img { height: 420px; }

  .visit { padding-top: 100px; padding-bottom: 96px; gap: 32px; }
  .visit .label { padding-top: 0; font-size: 14px; }
  .visit h2 { font-size: 50px; line-height: .86; letter-spacing: -.055em; }
  .visit__col { font-size: 16px; }
  .visit__contact a:first-of-type { font-size: 22px; }
  .visit__dir { align-items: stretch; }
  .visit__dir .pill { justify-content: center; height: 56px; }

  .footer { padding: 64px 0 32px; }
  .footer__cta span { font-size: 88px; }
  .footer__cta span br { display: inline; }
  .footer__bar { margin-top: 48px; gap: 18px; }
  .footer__brand { display: none; }
  .footer__social { gap: 24px; }
  .footer__copy { text-align: left; }
}
@media (min-width: 821px) { .footer__cta span br { display: none; } .album__head-row { display: contents; } }

@media (prefers-reduced-motion: reduce) {
  .strip__track { animation: none; }
  .album__track, .slide, .price-preview { transition: none; }
  html { scroll-behavior: auto; }
}
