/* Klippstället — design tokens & base */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500&family=Inter:wght@400;500;600&display=swap');

:root {
  --ink: #17140f;
  --ink-soft: #423c33;
  --muted: #6b6357;
  --paper: #f7f4ee;
  --paper-alt: #ffffff;
  --gold: #b28a52;
  --gold-soft: #d9c6a3;
  --line: #e4ddcf;

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --gutter: 20px;
  --max: 1280px;
}

@media (min-width: 750px) {
  :root {
    --gutter: 48px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: min(100% - var(--gutter) * 2, var(--max));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.25rem;
  padding-inline: 2rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid var(--ink);
  color: var(--paper);
  background: var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}

.btn:hover, .btn:focus-visible {
  background: transparent;
  color: var(--ink);
}

.btn--light {
  border-color: var(--paper);
  color: var(--ink);
  background: var(--paper);
}

.btn--light:hover, .btn--light:focus-visible {
  background: transparent;
  color: var(--paper);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover, .btn--outline:focus-visible {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(247 244 238 / 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.site-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 14px;
}

.site-header__logo img {
  height: 40px;
  width: auto;
}

.site-header__nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-header__nav a {
  color: var(--ink);
  text-decoration: none;
  padding-block: 0.25rem;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), opacity 0.3s var(--ease);
}

.site-header__nav a:hover {
  border-color: var(--gold);
}

@media (min-width: 850px) {
  .site-header__nav {
    display: flex;
  }
}

.site-header__cta {
  display: none;
}

@media (min-width: 850px) {
  .site-header__cta {
    display: inline-flex;
  }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(30rem, 92svh, 56rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--paper);
}

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

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

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to top, rgb(10 9 7 / 0.72) 0%, rgb(10 9 7 / 0.08) 55%, rgb(10 9 7 / 0.28) 100%);
}

.hero__content {
  padding-block: clamp(2.5rem, 7vw, 5.5rem);
}

.hero__inner {
  display: grid;
  gap: 1.25rem;
  max-width: 40rem;
}

.hero__title {
  font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4.75rem);
  text-wrap: balance;
}

.hero__text {
  margin: 0;
  max-width: 34ch;
  font-size: 1.0625rem;
  opacity: 0.92;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.5rem;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__media img {
    animation: hero-settle 2.4s var(--ease) both;
  }

  .hero__inner > * {
    animation: rise 0.9s var(--ease) both;
    animation-delay: calc(0.2s + var(--i, 0) * 0.12s);
  }
}

@keyframes hero-settle {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(1rem); }
  to { opacity: 1; transform: none; }
}

/* ---------- Intro statement ---------- */

.intro {
  padding-block: clamp(4rem, 9vw, 7rem);
  text-align: center;
}

.intro__inner {
  max-width: 42rem;
  margin-inline: auto;
  display: grid;
  gap: 1.25rem;
}

.intro__title {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
}

.intro__text {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.intro__brands {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Team ---------- */

.team {
  padding-block: clamp(3rem, 8vw, 6rem);
  background: var(--paper-alt);
  border-block: 1px solid var(--line);
}

.team__header {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  display: grid;
  gap: 0.75rem;
}

.team__title {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 700px) {
  .team__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 980px) {
  .team__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.team__photo {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
}

.team__photo img,
.team__photo .initial {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team__photo .initial {
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-size: 3.5rem;
  color: var(--gold);
  background: var(--paper);
  border: 1px solid var(--gold-soft);
}

.team__name {
  margin: 1rem 0 0.15rem;
  font-family: var(--serif);
  font-size: 1.375rem;
}

.team__role {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
  line-height: 1.5;
}

.team__ig {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: 0.8125rem;
  color: var(--gold);
  text-decoration: none;
}

.team__ig:hover {
  text-decoration: underline;
}

/* ---------- Prices ---------- */

.prices {
  padding-block: clamp(4rem, 9vw, 7rem);
}

.prices__header {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto clamp(2.5rem, 6vw, 4rem);
  display: grid;
  gap: 0.75rem;
}

.prices__title {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
}

.prices__note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9375rem;
}

.prices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.75rem 4rem;
}

@media (min-width: 800px) {
  .prices__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.price-group__title {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  color: var(--ink);
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 0.6rem;
}

.price-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}

.price-row__name {
  font-size: 0.9375rem;
}

.price-row__duration {
  color: var(--muted);
  font-size: 0.8125rem;
}

.price-row__leader {
  flex: 1;
  border-bottom: 1px dotted var(--line);
  min-width: 1rem;
  margin-bottom: 0.3rem;
}

.price-row__amount {
  font-family: var(--serif);
  font-size: 1.0625rem;
  font-weight: 500;
  white-space: nowrap;
}

.prices__cta {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

/* ---------- Gallery ---------- */

.gallery {
  padding-block: clamp(3rem, 8vw, 6rem);
}

.gallery__header {
  text-align: center;
  max-width: 34rem;
  margin: 0 auto clamp(2rem, 5vw, 3.5rem);
  display: grid;
  gap: 0.75rem;
}

.gallery__title {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
}

.gallery__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 700px) {
  .gallery__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery__item--wide {
    grid-column: span 2;
  }
}

.gallery__item {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: var(--line);
}

.gallery__item--wide {
  aspect-ratio: 8 / 5;
}

@media (max-width: 699px) {
  .gallery__item--wide {
    aspect-ratio: 4 / 5;
  }
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s var(--ease);
}

.gallery__item:hover img {
  transform: scale(1.04);
}

/* ---------- Contact ---------- */

.contact {
  padding-block: clamp(3rem, 8vw, 6rem);
  background: var(--paper-alt);
  border-block: 1px solid var(--line);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}

@media (min-width: 800px) {
  .contact__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 3.5rem;
  }
}

.contact__title {
  font-size: clamp(1.875rem, 1.3rem + 2vw, 2.75rem);
  margin-bottom: 1.5rem;
}

.contact__block {
  margin-bottom: 1.75rem;
}

.contact__label {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact__value {
  margin: 0;
  font-size: 1.0625rem;
}

.contact__value a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--gold-soft);
}

.contact__value a:hover {
  border-color: var(--ink);
}

.contact__hours {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
  font-size: 1.0625rem;
}

.contact__hours li {
  display: flex;
  justify-content: space-between;
  max-width: 20rem;
}

.contact__hours span:last-child {
  color: var(--ink-soft);
}

.contact__map {
  width: 100%;
  aspect-ratio: 4 / 3;
  border: 1px solid var(--line);
  filter: grayscale(0.4) contrast(1.05);
}

@media (min-width: 800px) {
  .contact__map {
    aspect-ratio: auto;
    height: 100%;
    min-height: 24rem;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--ink);
  color: var(--paper);
}

.site-footer__grid {
  display: grid;
  gap: 2rem;
  text-align: center;
  justify-items: center;
}

@media (min-width: 700px) {
  .site-footer__grid {
    grid-template-columns: 1fr auto 1fr;
    text-align: left;
    justify-items: start;
  }

  .site-footer__center {
    justify-self: center;
    text-align: center;
  }

  .site-footer__end {
    justify-self: end;
    text-align: right;
  }
}

.site-footer__logo img {
  height: 34px;
  width: auto;
  filter: invert(1) brightness(1.6);
}

.site-footer__social {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer__social a {
  color: var(--gold-soft);
  text-decoration: none;
}

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

.site-footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgb(247 244 238 / 0.55);
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(247 244 238 / 0.14);
  text-align: center;
}

/* ---------- Scroll reveal ---------- */

@media (prefers-reduced-motion: no-preference) {
  html.js-reveal [data-reveal] {
    transition: opacity 0.9s var(--ease), transform 1s var(--ease);
    transition-delay: var(--reveal-delay, 0ms);
  }

  html.js-reveal [data-reveal]:not(.in-view) {
    opacity: 0;
    transform: translateY(2rem);
  }
}

/* ---------- Partner logos ---------- */

.intro__partners {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: clamp(2rem, 5vw, 3rem);
  padding-top: clamp(2rem, 5vw, 3rem);
  border-top: 1px solid var(--line);
}

.intro__partners img {
  height: clamp(28px, 4vw, 40px);
  width: auto;
  opacity: 0.85;
  filter: grayscale(1);
  transition: opacity 0.3s var(--ease), filter 0.3s var(--ease);
}

.intro__partners img:hover {
  opacity: 1;
  filter: grayscale(0);
}

/* ---------- Hero social icon rail ---------- */

.hero__social {
  display: none;
  position: absolute;
  top: 50%;
  right: clamp(1rem, 3vw, 2.5rem);
  transform: translateY(-50%);
  z-index: 2;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 750px) {
  .hero__social {
    display: flex;
  }
}

.hero__social a {
  display: block;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.hero__social a:hover,
.hero__social a:focus-visible {
  transform: scale(1.1);
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.45);
}

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

.team__ig {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.team__ig-icon {
  width: 16px;
  height: 16px;
  border-radius: 4px;
  flex: none;
}
