/* Design Web — generated CSS (OKLCH palette) */
:root {
  --primary: #2D2D2D;
  --primary-light: #b2b2b2;
  --primary-dark: #585858;
  --accent: #F5F0E8;
  --surface: #fcfcfc;
  --surface-alt: #f7f7f7;
  --dark: #6c6c6c;
  --light: #fcfcfc;
  --muted: #b3b3b3;
  --text: var(--dark);
  --text-light: var(--muted);
  --bg: #ffffff;
  --bg-alt: var(--surface);
  --font-display: 'Schibsted Grotesk', Georgia, serif;
  --font-body: 'Schibsted Grotesk', system-ui, sans-serif;
  --max-width: 1200px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --radius: 8px;
  --transition: 0.3s ease;
  --header-height: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-height); }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography (fluid scale) ── */
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); margin-bottom: var(--space-md); }
h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); margin-bottom: var(--space-xs); }
h4 { font-size: clamp(1rem, 1.5vw, 1.15rem); }

a { color: inherit; text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

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

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-md); }

/* ── Skip to content (a11y — invisible until Tab, WCAG 2.4.1) ── */
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: var(--space-sm); left: var(--space-sm);
  width: auto; height: auto;
  padding: 0.75rem 1.5rem; margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  z-index: 999;
  font-weight: 600;
  font-size: 0.9rem;
}

/* ── Header + sticky scroll effect ── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 1px 8px rgba(0,0,0,0.08);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}
.site-header__logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}
.site-header__nav { display: flex; gap: var(--space-md); list-style: none; }
.site-header__nav a {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
}
.site-header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.site-header__nav a:hover,
.site-header__nav a.is-active { color: var(--text); }
.site-header__nav a:hover::after,
.site-header__nav a.is-active::after { transform: scaleX(1); }

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  margin: 5px 0;
  transition: var(--transition);
}

/* ── Mobile CTA bar ── */
.mobile-cta {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 90;
  background: var(--bg);
  border-top: 1px solid rgba(0,0,0,0.08);
  padding: 0.75rem var(--space-sm);
  gap: 0.5rem;
}
.mobile-cta a {
  flex: 1;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}
.mobile-cta__call { background: var(--primary); color: #fff !important; }
.mobile-cta__contact { border: 2px solid var(--primary); color: var(--primary) !important; }

/* ── Sections ── */
.section { padding: var(--space-xl) 0; }

/* ── Hero + entrance animation ── */
.section--hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: var(--header-height);
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}
.hero__content { position: relative; z-index: 2; }
.hero__title {
  animation: fadeInUp 0.8s ease-out both;
}
.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  opacity: 0.9;
  margin: var(--space-sm) 0 var(--space-md);
  max-width: 600px;
  animation: fadeInUp 0.8s ease-out 0.15s both;
}
.section--hero .btn--primary {
  background: #fff;
  color: var(--primary);
  animation: fadeInUp 0.8s ease-out 0.3s both;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.section--services { background: var(--surface-alt); }
.section--gallery { background: var(--bg); }
.section--about { background: var(--surface-alt); }
.section--testimonials { background: var(--bg); }
.section--faq { background: var(--surface-alt); }
.section--cta {
  background: var(--primary);
  color: #fff;
  text-align: center;
}
.section--cta .btn--primary {
  background: #fff;
  color: var(--primary);
}
.section--contact { background: var(--bg); }

/* ── Grid ── */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-md);
}

/* ── Cards ── */
.card {
  background: var(--bg);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  padding: var(--space-md);
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 30px rgba(0,0,0,0.08); }

/* ── Gallery ── */
.gallery__item { text-align: center; }
.gallery__placeholder {
  background: var(--surface-alt);
  border-radius: var(--radius);
  aspect-ratio: 3/2;
  margin-bottom: var(--space-sm);
}
.gallery__img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
  transition: transform var(--transition);
}
.gallery__item:hover .gallery__img { transform: scale(1.03); }

/* ── About ── */
.about__member { margin-bottom: var(--space-md); }
.about__role { color: var(--muted); font-size: 0.9rem; margin-bottom: var(--space-xs); }

/* ── Testimonials ── */
.testimonial {
  border-left: 3px solid var(--accent);
  padding: var(--space-md);
  margin-bottom: var(--space-md);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.testimonial cite {
  display: block;
  margin-top: var(--space-sm);
  font-size: 0.9rem;
  color: var(--muted);
  font-style: normal;
}

/* ── FAQ ── */
.faq__item {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: var(--radius);
  margin-bottom: var(--space-xs);
  overflow: hidden;
}
.faq__item summary {
  padding: var(--space-sm) var(--space-md);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
.faq__item summary::before {
  content: '+';
  float: right;
  font-size: 1.25rem;
  color: var(--accent);
  transition: transform var(--transition);
}
.faq__item[open] summary::before { content: '\2212'; }
.faq__item p {
  padding: 0 var(--space-md) var(--space-sm);
  color: var(--muted);
}

/* ── Contact ── */
.contact__info { margin-bottom: var(--space-md); font-style: normal; }
.contact__form label {
  display: block;
  font-weight: 600;
  margin-bottom: var(--space-xs);
  margin-top: var(--space-sm);
}
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0,0,0,0.15);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color var(--transition);
}
.contact__form input:focus,
.contact__form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}
.form__status { margin-top: var(--space-sm); font-size: 0.9rem; }
.contact__hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form__status--success { color: #16a34a; }
.form__status--error { color: #dc2626; }

/* ── Button ── */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
.btn--primary { background: var(--primary); color: #fff; }

/* ── Footer ── */
.site-footer {
  padding: var(--space-lg) 0;
  background: var(--dark);
  color: var(--light);
  text-align: center;
  font-size: 0.9rem;
}
.site-footer a { color: var(--light); }

/* ── Custom scrollbar ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--surface); }
::-webkit-scrollbar-thumb { background: var(--muted); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ── Selection color ── */
::selection { background: var(--accent); color: #fff; }

/* ── Mobile ── */
@media (max-width: 768px) {
  .hamburger { display: block; }
  .mobile-cta { display: flex; }
  body { padding-bottom: 70px; }  /* space for fixed CTA bar */
  .site-header__nav {
    display: none;
    position: fixed;
    inset: 0;
    background: #ffffff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    z-index: 300;
  }
  .site-header__nav.is-open { display: flex; }
  .site-header__nav a { font-size: 1.5rem; color: var(--dark); font-weight: 600; }
  .section { padding: var(--space-lg) 0; }
  .section--hero { min-height: 60vh; }
}

/* ── Print ── */
@media print {
  .site-header, .site-footer, .hamburger, .btn, .mobile-cta, .contact__form { display: none !important; }
  .section { padding: 1rem 0; break-inside: avoid; }
  .section--hero { min-height: auto; padding: 2rem 0; }
  body { color: #000; background: #fff; }
  a::after { content: " (" attr(href) ")"; font-size: 0.8em; color: #666; }
}
