/* ---------- Tokens ---------- */
:root {
  --color-bg: #f4f0e7;
  --color-fg: #000;
  --color-fg-muted: rgba(0, 0, 0, 0.5);
  --color-line: rgba(0, 0, 0, 0.1);
  --color-invert: #fff;
  --color-invert-muted: rgba(255, 255, 255, 0.5);
  --color-invert-line: rgba(255, 255, 255, 0.2);
  --color-banner: #bdb6ac;
  --color-footer: #111;

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Fluid typography — scales between mobile (375px) and desktop (1280px) */
  --fs-xs: 0.75rem;        /* 12px — labels */
  --fs-sm: 0.875rem;       /* 14px — body */
  --fs-md: 1.5rem;         /* 24px — section heading */
  --fs-lg: clamp(2.5rem, 6vw + 1rem, 4.5rem);  /* 40 → 72 — hero stanzas */
  --fs-xl: clamp(3.75rem, 9vw + 1rem, 8.125rem); /* 60 → 130 — display (Sketch: 130px) */

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;

  --gutter: clamp(0.9375rem, 3vw, 2rem);
  --max-width: 1440px;   /* content frame at >=1024 (design artboard width) */
  --pad: 20px;           /* horizontal padding inside the frame at >=1024 */
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: var(--fs-sm);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--color-fg);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

img { height: auto; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}

ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, p { margin: 0; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: #000;
  color: #fff;
  z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Typography utilities ---------- */
.display {
  font-size: var(--fs-xl);
  line-height: 0.85;
  letter-spacing: -0.1em;   /* Sketch: kerning -13 ÷ 130px font = -0.1em */
  text-transform: uppercase;
  font-weight: 400;
}

.heading-md {
  font-size: var(--fs-md);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 400;
}

/* ---------- Layout primitives ---------- */
.section {
  padding: var(--space-9) var(--gutter);
  max-width: var(--max-width);
  margin-inline: auto;
}

@media (min-width: 1024px) {
  .section { padding-block: 7rem; }
}

/* ---------- Header ---------- */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--gutter);
  color: var(--color-fg);
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Pages where the header sits over a dark hero photo */
.page-home .site-header {
  color: var(--color-invert);
}

.logo {
  display: inline-flex;
  color: inherit;
  position: relative;
}

/* Underline grows left → right on hover (matches the nav links). */
.logo::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.logo:hover::after,
.logo:focus-visible::after { transform: scaleX(1); }

.logo svg {
  height: 1.5rem;
  width: auto;
  fill: currentColor;
}

.menu-toggle {
  position: relative;
  width: 26px;
  height: 9px;
  display: grid;
  align-content: space-between;
}

/* Larger invisible hit-area without changing the visual icon size */
.menu-toggle::before {
  content: "";
  position: absolute;
  inset: -1rem;
}

.menu-toggle__bar {
  display: block;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, width 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

.menu-toggle__bar:first-child { width: 100%; }
.menu-toggle__bar:last-child  { width: 50%; justify-self: end; }

/* Desktop horizontal nav (hidden by default; shown at >=1024px) */
.site-nav,
.site-cta { display: none; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: nowrap;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-nav a {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: inherit;
  text-decoration: none;
  /* Animated underline that grows left → right on hover (text-decoration can't
     be transitioned, so paint the line with a background gradient instead). */
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.3s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] { background-size: 100% 1px; }

.site-cta {
  align-items: center;
  gap: var(--space-2);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: inherit;
  text-decoration: none;
  position: relative;
}

/* Underline grows left → right, starting after the bullet (not under it). */
.site-cta::after {
  content: "";
  position: absolute;
  left: calc(6px + var(--space-2));   /* past the dot + its gap */
  right: 0;
  bottom: -2px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.site-cta__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  display: inline-block;
}

.site-cta:hover::after,
.site-cta:focus-visible::after { transform: scaleX(1); }

.menu-toggle[aria-expanded="true"] .menu-toggle__bar,
.menu-toggle--close .menu-toggle__bar {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  width: 100%;
  margin: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:first-child,
.menu-toggle--close .menu-toggle__bar:first-child {
  transform: translateY(-50%) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:last-child,
.menu-toggle--close .menu-toggle__bar:last-child {
  transform: translateY(-50%) rotate(-45deg);
}

/* ---------- Mobile menu (dialog) ---------- */
.mobile-menu {
  border: 0;
  padding: 0;
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: 100dvh;
  background: var(--color-banner);
  color: var(--color-fg);
  overflow: hidden;
}

.mobile-menu::backdrop { background: rgba(0, 0, 0, 0.4); }

.mobile-menu[open] {
  display: grid;
  grid-template-rows: auto 1fr auto;
  animation: menu-bg-in 250ms ease forwards;
}

.mobile-menu[open]::backdrop {
  animation: menu-bg-in 250ms ease forwards;
}

/* Stagger child sections in after the background settles, sliding in from the right (X only) */
.mobile-menu[open] > *,
.mobile-menu[open] .mobile-menu__nav li {
  opacity: 0;
  transform: translateX(16px);
  animation: menu-item-in 400ms cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}

/* Header (logo + X close): only fade, no offset slide */
.mobile-menu[open] .mobile-menu__header {
  transform: none;
  animation: menu-fade-in 400ms ease forwards;
  animation-delay: 200ms;
}

.mobile-menu[open] .mobile-menu__nav           { animation: none; opacity: 1; transform: none; }
.mobile-menu[open] .mobile-menu__nav li:nth-child(1) { animation-delay: 280ms; }
.mobile-menu[open] .mobile-menu__nav li:nth-child(2) { animation-delay: 340ms; }
.mobile-menu[open] .mobile-menu__nav li:nth-child(3) { animation-delay: 400ms; }
.mobile-menu[open] .mobile-menu__nav li:nth-child(4) { animation-delay: 460ms; }
.mobile-menu[open] .mobile-menu__nav li:nth-child(5) { animation-delay: 520ms; }
.mobile-menu[open] .mobile-menu__media         { animation-delay: 580ms; }
.mobile-menu[open] .mobile-menu__legal         { animation-delay: 640ms; }

@keyframes menu-bg-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes menu-item-in {
  to { opacity: 1; transform: translateX(0); }
}

@keyframes menu-fade-in {
  to { opacity: 1; }
}

/* Closing — whole menu (and backdrop) fades out together */
.mobile-menu.closing,
.mobile-menu.closing::backdrop {
  animation: menu-fade-out 220ms ease forwards;
}

.mobile-menu.closing {
  pointer-events: none;
}

@keyframes menu-fade-out {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu[open],
  .mobile-menu[open] > *,
  .mobile-menu[open] .mobile-menu__nav li,
  .mobile-menu[open]::backdrop { animation: none; opacity: 1; transform: none; }
}

.mobile-menu__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) var(--gutter);
  color: var(--color-fg);
}

.mobile-menu__social,
.site-header__social {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-left: auto;
  padding-right: var(--space-4);
}

.mobile-menu__social a,
.site-header__social a {
  display: inline-flex;
  color: currentColor;
  transition: opacity 0.2s ease;
}

.mobile-menu__social a:hover,
.site-header__social a:hover { opacity: 0.6; }

.mobile-menu__social svg,
.site-header__social svg { width: 20px; height: 20px; display: block; }

.mobile-menu__nav {
  padding: var(--space-6) var(--gutter) 0;
  align-self: start;
}

.mobile-menu__nav ul {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.mobile-menu__nav a {
  display: inline-block;
  /* font scales with width but capped by viewport height so all 5 links + media + footer fit */
  font-size: min(clamp(2rem, 12vw, 5rem), 7vh);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-weight: 400;
  transition: opacity 0.2s ease;
}

.mobile-menu__nav a:hover { opacity: 0.6; }

.mobile-menu__media {
  margin: 0;
  padding: 0 var(--gutter);
  align-self: end;
  max-width: min(60%, 30vh);
}

.mobile-menu__media img {
  width: 100%;
  aspect-ratio: 225 / 338;
  object-fit: cover;
}

.mobile-menu__legal {
  display: flex;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-5) var(--gutter);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

/* Lock background scroll when menu is open */
html.menu-open,
html.menu-open body { overflow: hidden; }

@media (min-width: 1024px) {
  .mobile-menu__nav { padding-top: var(--space-7); }
  .mobile-menu[open] {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto 1fr auto;
  }
  .mobile-menu__header { grid-column: 1 / -1; }
  .mobile-menu__nav { grid-column: 1; }
  .mobile-menu__media { grid-column: 2; grid-row: 2; max-width: 100%; align-self: center; }
  .mobile-menu__legal { grid-column: 1 / -1; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  /* mobile aspect — design 375×939 frame; scales with viewport width so the ratio holds */
  min-height: calc(100vw * 939 / 375);
  color: var(--color-invert);
  isolation: isolate;
  overflow: clip;
}

.hero__media {
  position: absolute;
  inset: 0;
  margin: 0;
  z-index: -1;
}

/* Hero image is static (no parallax) — fills the slot, cover-cropped, bottom-right anchored.
   No headroom needed since the figure never translates. */
.hero__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 100% 100%;
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.15) 50%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

.hero__wordmark {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding-inline: var(--gutter);
  pointer-events: none;
  z-index: 1;
  overflow: clip;
}

.hero__wordmark svg {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--color-invert);
  /* Mobile: oversize and pull up so only the bottom tips of letters peek */
  transform: scale(2.5);
  transform-origin: center top;
  margin-top: -32vw;
}

/* Home page (desktop only): replace the small logo SVG with the text "FRIZERAJ"
   styled to match the top nav links (font-size, letter-spacing, transform). */
@media (min-width: 1024px) {
  .site-header .logo svg { display: none; }
  .site-header .logo::before {
    content: "FRIZERAJ";
    color: inherit;
    font-size: var(--fs-xs);
    letter-spacing: -0.04em;
    text-transform: uppercase;
  }
}

@media (min-width: 1024px) {
  .hero__wordmark { top: 5rem; padding-inline: 2rem; }
  .hero__wordmark svg {
    transform: none;
    margin-top: 0;
    max-width: 1393px;
    margin-inline: auto;
  }
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  min-height: inherit;
  padding: 7rem var(--gutter) var(--space-7);
  gap: var(--space-7);
}

.hero__line {
  /* design mobile: Inter 40px @375 → 10.667vw, capped at the artboard's 40px; lh 36/40, ls -2/40 */
  font-size: min(10.667vw, 40px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  max-width: 22ch;
}

.hero__line:nth-child(2) { align-self: flex-start; }

.hero__bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-4);
}

.hero__cta {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--color-invert);
  background: var(--color-invert);
  color: #1a1a1a;
  display: grid;
  place-items: center;
  align-self: flex-end;
  transition: opacity 0.2s;
}

.hero__cta svg { width: 24px; height: 15px; }

.hero__cta:hover { opacity: 0.8; }

@media (min-width: 1024px) {
  .hero__content { padding-inline: 2rem; }
}

@media (min-width: 1024px) {
  .hero__cta { width: 96px; height: 96px; }
}

/* ---------- Gallery ---------- */
.gallery__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
  margin-block: var(--space-7);
}

.gallery__item {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 165 / 212;
  background: #ddd;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery__item--wide {
  grid-column: 1 / -1;
  aspect-ratio: 345 / 257;
}

.gallery__item--tall {
  grid-column: 1 / -1;
  aspect-ratio: 347 / 446;
}

@media (min-width: 1024px) {
  .gallery__grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto auto;
  }
  .gallery__item--small { aspect-ratio: 1 / 1; }
  .gallery__item--wide  { grid-column: span 2; aspect-ratio: 16 / 10; }
  .gallery__item--tall  { grid-column: span 2; aspect-ratio: 4 / 5; }
}

/* ---------- Link with bullet & arrow ---------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  letter-spacing: -0.04em;
  position: relative;
  padding-block: 0.25rem;
  text-decoration: none;
}

/* Underline grows left → right, starting after the bullet (not under it). */
.link-arrow::after {
  content: "";
  position: absolute;
  left: calc(6px + 0.5rem);              /* past the dot + its gap */
  right: 0;
  bottom: calc(0.25rem - 3px);           /* 3px below the text */
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.link-arrow__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.link-arrow:hover::after,
.link-arrow:focus-visible::after { transform: scaleX(1); }

.link-arrow--right {
  display: flex;
  margin-left: auto;
  width: max-content;
}

/* ---------- Products ---------- */
.products__scroller {
  display: flex;
  gap: var(--space-4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  margin-top: var(--space-6);   /* stay within the section gutters so the scrollbar is inset too */
  padding-bottom: var(--space-3);
  scrollbar-width: thin;
}

.product-card {
  flex: 0 0 min(285px, 78%);
  scroll-snap-align: start;
}

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.products__cta { margin-top: var(--space-5); }

.product-card__media {
  aspect-ratio: 285 / 252;
  background: var(--color-invert);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.product-card__media img:not(.product-card__media-hover) {
  width: 33%;          /* design: product image 93px in a 285px card */
  height: auto;
  object-fit: contain;
}

.product-card__meta {
  margin-top: 20px;        /* design: name sits 20px below the card */
  padding-bottom: 39px;    /* design: 39px from price to the divider */
  border-bottom: 1px solid var(--color-line);
}

/* Homepage product scroller: no divider under the card (matches the products page) */
.products__scroller .product-card__meta {
  padding-bottom: 0;
  border-bottom: none;
}

.product-card__name {
  display: block;
  font-size: var(--fs-xs);
  line-height: 14px;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.product-card__price {
  display: block;
  margin-top: 10px;        /* design: price 10px below the name */
  font-size: var(--fs-sm);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* ---------- Homepage product scroller: hover image + name underline ----------
   Mirrors the proizvodi grid (see proizvodi.css). The second image cross-fades
   on hover; every card gets the animated name underline. */
.products__scroller .product-card__media { position: relative; }

.products__scroller .product-card__media-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

@media (hover: hover) {
  .products__scroller .product-card--has-hover:hover .product-card__media-hover { opacity: 1; }
}

.products__scroller .product-card__name {
  position: relative;
  display: inline-block;
}

.products__scroller .product-card__name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

@media (hover: hover) {
  .products__scroller .product-card:hover .product-card__name::after { transform: scaleX(1); }
}

@media (min-width: 1024px) {
  .products__scroller {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    overflow: visible;
    margin-inline: 0;
    padding-inline: 0;
  }
  .product-card { flex: initial; }
}

/* ---------- About ---------- */
.about { display: grid; gap: var(--space-6); }

.about__media {
  margin: 0;
  aspect-ratio: 225 / 338;
  overflow: hidden;
  max-width: 65%;
}

.about__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about__media--wide {
  max-width: none;
  aspect-ratio: 375 / 508;
  margin: var(--space-6) calc(var(--gutter) * -1) calc(var(--space-9) * -1);
}

@media (min-width: 1024px) {
  .about {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
  .about > .display { grid-column: 1 / -1; }
  .about__media { max-width: 100%; }
  .about__media--wide {
    grid-column: 1 / -1;
    margin: var(--space-7) calc(var(--gutter) * -1) calc(var(--space-9) * -1);
  }
  .about > .link-arrow { align-self: end; }
}

/* ---------- Blog ---------- */
.blog__grid {
  display: grid;
  gap: var(--space-5);
  margin-block: var(--space-6);
}

.blog-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.blog-card__media {
  position: relative;
  aspect-ratio: 345 / 257;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.blog-card__media--tall { aspect-ratio: 345 / 380; }

.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Hover: fade in a translucent black overlay over the card image. */
.blog-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.blog-card__link:hover .blog-card__media::after,
.blog-card__link:focus-visible .blog-card__media::after {
  opacity: 1;
}

.blog-card__link:hover .blog-card__title,
.blog-card__link:focus-visible .blog-card__title {
  background-size: 100% 1px;
}

.blog-card__topic {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  margin-bottom: 0.25rem;
}

.blog-card__title {
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: -0.02em;
  display: inline-block;
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: background-size 0.3s ease;
}

.blog__cta { margin-top: var(--space-4); }

@media (min-width: 1024px) {
  .blog__grid { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ---------- Reviews ---------- */
.reviews {
  border-top: 1px solid var(--color-line);
  background: #ffffff;
  box-shadow: 0 0 0 100vmax #ffffff;
  clip-path: inset(0 -100vmax);
}

/* Full-width white band; .blog__inner holds the content at the frame width. */
.blog { background: #ffffff; }
.blog__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  padding: var(--space-9) var(--gutter);
}
@media (min-width: 1024px) {
  .blog__inner { padding-block: 7rem; }
}
.reviews > .display { margin-bottom: var(--space-7); }

.reviews__featured {
  padding-block: var(--space-5);
  border-top: 1px solid var(--color-line);
}

.reviews__title {
  font-size: var(--fs-sm);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.reviews__stars {
  display: flex;
  gap: 0.25rem;
  font-size: 1rem;
  margin-bottom: var(--space-4);
}

.reviews__quote {
  color: var(--color-fg-muted);
  font-size: var(--fs-sm);
  line-height: 1.4;
  max-width: 60ch;
}

.reviews__list li {
  border-top: 1px solid var(--color-line);
}

.reviews__list li:last-child { border-bottom: 1px solid var(--color-line); }

.reviews__cta { margin-top: var(--space-6); }

/* ---------- Reviews accordion (shared between homepage + o-nama) ----------
   Markup (button + body, no <details>):
     <li.reviews-accordion__item data-open>
       <button.reviews-accordion__summary aria-expanded>
         <span.reviews-accordion__title-text>…</span>
         <span.reviews-accordion__icon></span>
       </button>
       <div.reviews-accordion__body>
         <div.reviews-accordion__body-inner>…</div>
       </div>
     </li>
   The body's inline height/opacity/transition are driven by js/accordion.js,
   so the body's animated styles live in the script — not here. */
.reviews-accordion__summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  width: 100%;
  padding-block: var(--space-4);
  background: transparent;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: var(--fs-sm);
  letter-spacing: -0.02em;
  text-align: left;
  cursor: pointer;
  user-select: none;
}
.reviews-accordion__summary:hover .reviews-accordion__title-text { opacity: 0.7; }

/* Vertical arrow: shaft (::before) + chevron head (::after).
   Closed → points up (↑); open → rotates to point down (↓). */
.reviews-accordion__icon {
  position: relative;
  width: 12px;
  height: 16px;
  flex-shrink: 0;
  color: var(--color-fg-muted);
  transform: rotate(180deg);
  transition: transform 0.25s ease;
}
.reviews-accordion__icon::before,
.reviews-accordion__icon::after {
  content: "";
  position: absolute;
  left: 50%;
}
.reviews-accordion__icon::before {                                  /* shaft */
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  background: currentColor;
}
.reviews-accordion__icon::after {                                   /* arrowhead */
  bottom: 2px;
  width: 7px;
  height: 7px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateX(-50%) rotate(45deg);
}
.reviews-accordion__item[data-open="true"] .reviews-accordion__icon { transform: rotate(0deg); color: var(--color-fg); }

/* Body — JS owns the animated max-height/opacity. CSS just provides the
   transition curve and the overflow clip during height interpolation. */
.reviews-accordion__body {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 300ms ease, opacity 220ms ease;
}

.reviews-accordion__body-inner {
  padding: 0 0 var(--space-4);
  color: var(--color-fg-muted);
  font-size: var(--fs-sm);
  line-height: 1.5;
  max-width: 60ch;
}
.reviews-accordion__body-inner p { margin: 0 0 var(--space-3); }
.reviews-accordion__body-inner p:last-child { margin-bottom: 0; }
.reviews-accordion__stars {
  display: flex;
  gap: 0.25rem;
  font-size: 1rem;
  color: var(--color-fg);
  margin-bottom: var(--space-3);
}
.reviews-accordion__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin-top: var(--space-3);
  font-size: var(--fs-sm);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
@media (prefers-reduced-motion: reduce) {
  .reviews-accordion__body { transition: none; }
  .reviews-accordion__icon { transition: none; }
}

/* ---------- Booking banner ---------- */
.booking {
  background: var(--color-banner);
  color: var(--color-fg);
  padding: var(--space-8) var(--gutter) var(--space-7);
}

.booking__inner {
  max-width: var(--max-width);
  margin-inline: auto;
  display: grid;
  gap: var(--space-7);
  position: relative;
}

.booking__media {
  margin: 0;
  aspect-ratio: 240 / 359;
  overflow: hidden;
  margin-left: auto;
  width: 69.5%; /* Sketch: 240 / (375 - 2×15) content width */
  /* poke 60px above the banner background (Sketch: image y 5195, banner y 5255),
     so cancel the section's top padding too */
  margin-top: calc(-1 * var(--space-8) - 3.75rem);
  position: relative;
  z-index: 2;
  order: -1;
}

.booking__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.booking__heading {
  font-size: clamp(2.5rem, 5vw + 1rem, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  font-weight: 400;
  margin: 0;
}

.booking__social {
  font-size: 1.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 30ch;
}

.booking__social-icons,
.site-footer__social-icons {
  display: flex;
  gap: 17px;
  margin: 0;
}

.booking__social-icons a,
.site-footer__social-icons a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--color-bg);
  color: var(--color-fg);
  display: grid;
  place-items: center;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.booking__social-icons a:hover,
.site-footer__social-icons a:hover {
  background: var(--color-fg);
  color: var(--color-invert);
}

.booking__social-icons svg,
.site-footer__social-icons svg { width: 18px; height: 18px; display: block; }

.booking__cta {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 1px solid var(--color-fg);
  background: var(--color-fg);
  color: var(--color-invert);
  display: grid;
  place-items: center;
  justify-self: end;
  transition: opacity 0.2s;
}

.booking__cta svg { width: 24px; height: 15px; }

.booking__cta:hover { opacity: 0.8; }

/* ---------- Circular CTA arrow — hover slide (out right, in from left) ---------- */
.hero__cta,
.booking__cta,
.contact__booking-cta,
.gallery-page__booking-circle {
  overflow: hidden;
}

.hero__cta:hover svg,
.booking__cta:hover svg,
.contact__booking-cta:hover svg,
.gallery-page__item--booking:hover .gallery-page__booking-circle svg {
  animation: cta-arrow-slide 0.55s both;
}

@keyframes cta-arrow-slide {
  0%     { transform: translateX(0);      animation-timing-function: ease-in; }
  50%    { transform: translateX(260%); }                                       /* accelerates out to the right (clipped) */
  50.01% { transform: translateX(-260%);  animation-timing-function: ease-out; } /* instant, invisible reposition to the left */
  100%   { transform: translateX(0); }                                          /* decelerates back in from the left */
}

@media (min-width: 1024px) {
  .booking__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
    column-gap: var(--space-7);
    row-gap: var(--space-5);
  }
  .booking__media {
    grid-row: 1 / -1;
    grid-column: 2;
    width: 100%;
    aspect-ratio: 3 / 4;
    order: 0;
  }
  .booking__heading,
  .booking__cta,
  .booking__social,
  .booking__social-icons { grid-column: 1; }
  .booking__heading { align-self: start; }
  .booking__cta { justify-self: start; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-footer);
  color: var(--color-invert);
  padding: var(--space-5) var(--gutter) var(--space-4);
}

.site-footer__nav {
  max-width: var(--max-width);
  margin-inline: auto;
}

.site-footer__nav ul li {
  border-top: 1px solid var(--color-invert-line);
}

.site-footer__nav ul li:last-child { border-bottom: 1px solid var(--color-invert-line); }

.site-footer__nav a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--space-4);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: var(--color-invert-muted);
  transition: color 0.2s;
}

.site-footer__nav a:hover { color: var(--color-invert); }

.site-footer__nav a svg { width: 22px; height: 14px; flex-shrink: 0; }

.site-footer__social-icons {
  margin: var(--space-5) auto;
  max-width: var(--max-width);
  justify-content: flex-end;
}

.site-footer__brand {
  margin: 0 auto var(--space-4);
  max-width: var(--max-width);
}

.site-footer__brand svg {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--color-invert);
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  /* mobile: email on the left, © on the right (DOM is © first) — flipped at >=1024px */
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: -0.04em;
  color: var(--color-invert);
  max-width: var(--max-width);
  margin-inline: auto;
}

.site-footer__legal-start {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

/* mobile footer legal row shows just © + email; phone/address only on the desktop layout */
.site-footer__contact a[href^="tel:"],
.site-footer__contact > span { display: none; }

/* text "Instagram / Facebook" links — desktop footer only; mobile uses .site-footer__social-icons */
.site-footer__social {
  display: none;
  align-items: center;
  gap: clamp(1rem, 2vw, 2rem);
}

.site-footer__social a {
  color: var(--color-invert-muted);
  transition: color 0.2s;
}

.site-footer__social a:hover { color: var(--color-invert); }

.site-footer__contact {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 2rem);
}

@media (min-width: 1024px) {
  .site-footer { padding: var(--space-5) var(--gutter) var(--space-4); }
}

/* ============================================================
   Desktop layout (>= 1024px) — based on Figma 1440px frame
   ============================================================ */
@media (min-width: 1024px) {
  /* ----- Section sizing ----- */
  /* Content frame: max 1440 centered, 20px side padding (CLAUDE: design 1440 artboard). */
  .section { padding-block: var(--space-9); padding-inline: var(--pad); }

  /* ----- Header ----- */
  /* Sticky on every page at the desktop breakpoint. Lives outside
     [data-scroll-container] in the markup so Locomotive's smooth-scroll
     transform doesn't drag it off-screen. */
  .site-header {
    position: fixed;
    padding-block: var(--space-5);
    /* Bar stays full-width (so the scrolled white bg spans edge-to-edge) while
       the nav content lines up with the centered 1440 content frame. */
    padding-inline: max(var(--pad), calc((100% - var(--max-width)) / 2 + var(--pad)));
    justify-content: flex-start;
    gap: clamp(1rem, 2vw, 2rem);
    /* Align text baselines, not box centres — the logo (::before "FRIZERAJ")
       and nav links have slightly different line boxes, so centring left the
       logo a hair low. Baseline alignment lines the wordmark up with the nav. */
    align-items: baseline;
  }
  /* Solid white bar once the page is scrolled past ~one header height
     (html.header-solid toggled by js/locomotive-init.js). */
  html.header-solid .site-header {
    background: #fff;
    color: var(--color-fg);
  }
  .site-header .logo svg { height: 1.25rem; }
  .site-header .menu-toggle { display: none; }
  .site-header .site-header__social { display: none; }
  .site-header .site-nav { display: block; }
  .site-header .site-cta { display: inline-flex; margin-left: auto; }

  /* ----- Hero ----- */
  .hero {
    /* desktop aspect — design 1440×1596 frame; scales with viewport width so the ratio holds
       (1596px exactly at 1440, grows proportionally on larger monitors) */
    min-height: calc(100vw * 1596 / 1440);
  }
  /* Giant FRIZERAJ wordmark lines up with the content frame.
     design: wordmark at y57 (3.958vw), bottom ~y350; line 1 at y450 → 100px gap below it. */
  .hero__wordmark { top: 3.958vw; max-width: var(--max-width); margin-inline: auto; padding-inline: var(--pad); }
  .hero__wordmark svg { max-width: none; }
  .hero__content {
    max-width: var(--max-width);
    margin-inline: auto;
    /* design: line 1 starts at y450 (31.25vw); the three stanzas then sit a fixed 300px apart
       (block-to-block) rather than distributing, so the gap never stretches on tall heroes */
    padding-block: 31.25vw 6.94vw;
    padding-inline: var(--pad);
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    /* 300px gap @1440 → 20.833vw, capped at 300px (matches the fonts' scale-then-freeze) */
    row-gap: min(20.833vw, 300px);
    column-gap: 0;
  }
  .hero__line {
    flex: 0 0 100%;
    max-width: 60%;
    margin-left: auto;
  }
  /* design: all three stanzas are Inter 60px @1440 → 4.1667vw, capped at 60px (content frame
     stops growing past 1440); line-height 48/60 = 0.8; letter-spacing -4.2/60 = -0.07em */
  .hero__line {
    font-size: min(4.1667vw, 60px);
    line-height: 0.8;
    letter-spacing: -0.07em;
  }
  .hero__bottom {
    flex: 0 0 100%;
    max-width: 60%;
    margin-left: auto;
  }
  .hero__bottom .hero__line { flex: 0 0 auto; max-width: 100%; margin-left: 0; }
  .hero__cta { flex-shrink: 0; align-self: flex-start; }

  /* ----- Gallery ----- */
  .gallery {
    position: relative;
  }
  .gallery > .display {
    max-width: 70%;
  }
  .gallery__grid {
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto;
    gap: var(--space-5);
    margin-block: var(--space-7);
  }
  .gallery__item--small:nth-of-type(1) {
    grid-column: span 2;
    aspect-ratio: 217 / 278;
    align-self: start;
  }
  .gallery__item--small:nth-of-type(2) {
    grid-column: span 3;
    aspect-ratio: 335 / 430;
  }
  .gallery__item--wide {
    grid-column: span 4;
    aspect-ratio: 453 / 337;
    align-self: start;
  }
  .gallery__item--tall {
    grid-column: span 3;
    aspect-ratio: 335 / 430;
  }
  .gallery > .link-arrow--right {
    position: absolute;
    top: var(--space-9);
    right: var(--pad);
    margin-left: 0;
  }

  /* ----- Products ----- */
  .products__scroller {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-7);
  }
  .product-card__media {
    aspect-ratio: 453 / 400;
  }
  .product-card__media img:not(.product-card__media-hover) { width: 33%; }

  /* ----- About ----- */
  .about {
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2rem, 6vw, 6rem);
    row-gap: var(--space-7);
    align-items: start;
    /* No bottom padding — the full-bleed grass image is the section's flush
       bottom edge (the blog section's white begins immediately below it). */
    padding-bottom: 0;
  }
  .about > .display {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
  }
  .about__media:not(.about__media--wide) {
    grid-column: 1;
    grid-row: 1 / span 3;
    aspect-ratio: 453 / 680;
    max-width: 100%;
    position: relative;
    z-index: 2;
  }
  .about > .link-arrow {
    grid-column: 2;
    grid-row: 2;
    align-self: start;
    margin-left: 0;
  }
  .about__media--wide {
    grid-column: 1 / -1;
    grid-row: auto;
    aspect-ratio: 1440 / 632;
    /* Full-bleed: break out of the centered max-width section to span the
       whole viewport (design: image 45 is x=0, w=1440). */
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
    margin-bottom: 0;
    margin-top: clamp(-220px, -16vw, -120px);
    position: relative;
    z-index: 1;
  }

  /* ----- Blog ----- */
  .blog__inner {
    padding-block: var(--space-9);
    padding-inline: var(--pad);
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto 1fr;
    column-gap: clamp(2rem, 5vw, 5rem);
    row-gap: var(--space-4);
    align-items: start;
  }
  .blog__inner > .heading-md {
    grid-column: 1;
    grid-row: 1;
    font-size: clamp(2rem, 4vw, 2.625rem);
  }
  .blog__grid {
    grid-column: 2;
    grid-row: 1 / span 2;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-5);
    align-items: start;
    margin-block: 0;
  }
  .blog-card__media { aspect-ratio: 453 / 337; margin-bottom: var(--space-4); }
  .blog-card__media--tall { aspect-ratio: 453 / 500; }
  .blog__cta {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-left: 0;
    margin-top: var(--space-4);
  }

  /* ----- Reviews ----- */
  .reviews {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: clamp(2rem, 6vw, 6rem);
    row-gap: 0;
    align-items: start;
    padding-bottom: 282px; /* Sketch: reviews content end → booking section start */
  }
  .reviews > .display {
    grid-column: 1;
    grid-row: 1;
    margin-bottom: 0;
    align-self: start;
  }
  .reviews__featured {
    grid-column: 2;
    grid-row: 1;
  }
  /* Right column spans both rows so it stays one continuous list regardless of how
     short the heading/CTA stack in col 1 is. */
  .reviews__list {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
  }
  /* CTA sits directly under the heading (Sketch), NOT at the bottom of the tall
     right-hand review column. */
  .reviews__cta {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-left: 0;
    margin-top: var(--space-4);
  }

  /* ----- Booking banner ----- */
  .booking { padding: var(--space-9) 139px; }
  .booking__inner { max-width: none; }
  .booking__inner {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto 1fr;
    column-gap: clamp(2rem, 6vw, 6rem);
    row-gap: 0;
    align-items: stretch;
  }
  .booking__media {
    grid-column: 1;
    grid-row: 1 / -1;
    width: 50%;
    margin-left: auto;
    margin-right: 15%;
    margin-top: -10rem;
    aspect-ratio: 453 / 680;
    align-self: start;
    position: relative;
    z-index: 2;
  }
  .booking__heading {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-top: var(--space-6);
    margin-bottom: 30px;
    font-size: clamp(3rem, 4vw + 1rem, 3.75rem);
    max-width: 14ch;
  }
  .booking__cta {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    align-self: start;
    width: 80px;
    height: 80px;
  }
  .booking__social {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    margin-top: 50px;
    font-size: 1.5rem;
    max-width: 26ch;
  }
  .booking__social-icons {
    grid-column: 2;
    grid-row: 4;
    align-self: start;
    margin-top: 16px;
  }

  /* ----- Footer ----- */
  .site-footer {
    padding-block: var(--space-5) var(--space-4);
    /* bg stays full-width; inner blocks carry the frame padding so the giant
       wordmark + legal row line up with the rest of the content. */
    padding-inline: 0;
  }
  .site-footer__brand,
  .site-footer__legal { padding-inline: var(--pad); }
  /* mobile-only stacked nav + icon circles; desktop shows the text links + full contact in the legal row */
  .site-footer__nav,
  .site-footer__social-icons { display: none; }
  .site-footer__social { display: inline-flex; }
  .site-footer__contact a[href^="tel:"],
  .site-footer__contact > span { display: block; }
  .site-footer__brand {
    margin-block: 0 var(--space-4);
  }
  .site-footer__legal {
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: nowrap;
  }
}

/* ---------- Parallax ---------- */
[data-parallax],
figure[data-scroll-speed] { overflow: hidden; outline: 2px dashed transparent; }

[data-parallax] img,
figure[data-scroll-speed] img {
  display: block;
  width: 100%;
  height: 180%;
  margin-top: -40%;
  object-fit: cover;
  will-change: transform;
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-parallax] img,
  figure[data-scroll-speed] img {
    transform: none !important;
    will-change: auto;
  }
}
