

:root {
  --bg: #f5f1ea;
  --bg-alt: #ebe3d8;
  --text: #1b1b19;
  --muted: #686259;
  --accent: #c57c4b;
  --accent-soft: #e5b693;
  --border-soft: #d8cbb8;
  --radius-sm: 6px;
  --radius-md: 12px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.06);
}

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

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: radial-gradient(circle at top left, #f8f3ed 0, var(--bg) 45%);
  color: var(--text);
  line-height: 1.7;
}

/* LAYOUT BASICS */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 1.2rem 7vw;
  height: 72px;

  backdrop-filter: blur(14px);
  background: rgba(245, 241, 234, 0.9);
  border-bottom: 1px solid rgba(216, 203, 184, 0.8);

  transition:
    transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1),
    opacity 0.3s ease;
  will-change: transform, opacity;
}


.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-header .brand-name {
  color: #000;
  font-size: 1.2rem;
  text-decoration: none;
  white-space: nowrap;
}

.logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-name {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--muted);
  position: relative;
  padding-bottom: 0.25rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(0, 1.3fr);
  gap: 3rem;
  padding: 5rem 7vw 4rem;
  align-items: center;
}

.hero-content h1 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  font-size: clamp(2.4rem, 3.6vw, 3.6rem);
  line-height: 1.1;
  margin: 0.5rem 0 1rem;
}

.eyebrow {
  letter-spacing: 0.17em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: var(--muted);
}

.hero-text {
  max-width: 34rem;
  color: var(--muted);
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.button {
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.75rem 1.5rem;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}

.button.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}

.button.primary:hover {
  filter: brightness(0.97);
}

.button.ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-soft);
}

.button.ghost:hover {
  border-color: var(--accent);
}

.hero-panel {
  background: rgba(235, 227, 216, 0.8);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  border: 1px solid rgba(216, 203, 184, 0.9);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1rem;
}

.hero-tag {
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(197, 124, 75, 0.18);
  background: rgba(245, 241, 234, 0.9);
}

.hero-tag-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-tag-value {
  font-size: 0.9rem;
}

/* SECTIONS */

.section {
  padding: 4rem 7vw;
}

.section-alt {
  background: linear-gradient(
    135deg,
    rgba(235, 227, 216, 0.8),
    rgba(245, 241, 234, 0.95)
  );
}

.section-header {
  max-width: 36rem;
  margin-bottom: 2rem;
}

.section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.9rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--muted);
  margin: 0;
}

/* CARDS / GRID */

.grid.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: rgba(245, 241, 234, 0.95);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(216, 203, 184, 0.9);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

/* PROCESS */

.process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 1.5rem;
}

.process-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px dashed rgba(197, 124, 75, 0.4);
  background: rgba(245, 241, 234, 0.7);
}

.process-step {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ABOUT */

.about-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.2fr);
  align-items: start;
}

.about-layout p + p {
  margin-top: 1rem;
}

.about-meta {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 203, 184, 0.9);
  background: rgba(245, 241, 234, 0.9);
}

.meta-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.meta-value {
  font-size: 0.95rem;
}

/* KONTAKT */

.contact-block {
  max-width: 32rem;
  padding: 1.8rem 2rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 203, 184, 0.9);
  background: rgba(245, 241, 234, 0.9);
}

.contact-line + .contact-line {
  margin-top: 0.4rem;
}

.contact-line a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 124, 75, 0.3);
}

.contact-line a:hover {
  border-bottom-color: rgba(197, 124, 75, 0.7);
}

.contact-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.2fr);
  align-items: start;
}

.contact-form {
  background: rgba(245, 241, 234, 0.98);
  border-radius: var(--radius-md);
  border: 1px solid rgba(216, 203, 184, 0.9);
  padding: 1.8rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field textarea {
  font: inherit;
  padding: 0.6rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(216, 203, 184, 0.9);
  background: #fdf7ef;
  outline: none;
}

.form-field textarea {
  border-radius: 18px;
  resize: vertical;
  min-height: 140px;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(197, 124, 75, 0.18);
}

.contact-submit {
  margin-top: 0.5rem;
}

.form-hint {
  margin-top: 0.7rem;
  font-size: 0.85rem;
  color: var(--muted);
}

@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form {
    padding: 1.5rem 1.4rem;
  }
}

.about-photo {
  width: 240px;
  height: 320px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
  position: relative;
  filter:sepia(0.5);

}

/* foto jag */
.about-photo img {
  width: 100%;
  height: 100%;
}


.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.5);
  pointer-events: none;
}

/* FOOTER */

.site-footer {
  padding: 2rem 7vw 2.5rem;
  border-top: 1px solid rgba(216, 203, 184, 0.9);
  font-size: 0.85rem;
  color: var(--muted);
}

.about-tagline {
  margin-top: 0.8rem;
  font-size: 2rem;
  color: var(--muted);
  font-family: "Playfair Display", serif, Impact;
}

/*-------------------------
  TESTIMONIAL CAROUSEL
-------------------------*/
.section-testimonials {
  padding: 4rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-carousel {
  max-width: 700px;
  width: 100%;
}

.testimonial-carousel {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-slide {
  min-width: 100%;
  text-align: center;
  padding: 2rem 1rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.testimonial-slide.active {
  opacity: 1;
  transform: translateY(0);
}

.t-avatar {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.t-quote {
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.t-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
}

/* Buttons */
.t-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0,0,0,0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.t-btn.prev { left: 0; }
.t-btn.next { right: 0; }

/* Dots */
.t-dots {
  display: flex;
  gap: 0.4rem;
  justify-content: center;
  margin-top: 1rem;
}

.t-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(0,0,0,0.25);
  cursor: pointer;
}

.t-dot.active {
  width: 16px;
  background: var(--accent);
}

.body-logo-bg {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70vw;               /* ändra storlek här */
  opacity: 0.07;             /* hur tydlig loggan ska vara */
  z-index: -1;               /* bakom allt innehåll */
  pointer-events: none;
  user-select: none;
}

@keyframes slowMove {
  0% { transform: translateX(-50%) translateY(0); }
  100% { transform: translateX(-49%) translateY(3px); }
}

.logo-watermark {
  animation: fadeWatermark 2s ease-out forwards,
             slowMove 8s ease-in-out infinite alternate;
}

.tech-trigger {
  margin-top: 1rem;
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 0.9rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.tech-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
}

.tech-modal.active {
  display: block;
}

.tech-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
}

.tech-modal-content {
  position: relative;
  max-width: 520px;
  margin: 10vh auto;
  background: #fdf7ef;
  border-radius: 16px;
  padding: 2rem 2.2rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
}

.tech-modal-content h3 {
  font-family: "Playfair Display", serif;
  margin-top: 0;
  margin-bottom: 0.8rem;
}

.tech-intro {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.tech-section {
  margin-bottom: 1rem;
}

.tech-section strong {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.tech-section span {
  font-size: 0.9rem;
}

.tech-modal-close {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--muted);
}

.punchline {
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  color: var(--muted);
}

/* Hamburger button */
.nav-toggle {
  display: none;
  border: 1px solid var(--border-soft);
  background: rgba(245, 241, 234, 0.9);
  border-radius: 999px;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  gap: 6px;
}

.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
}

/* Mobile menu */
@media (max-width: 700px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  /* visible nav */
  .main-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 5vw;
    left: 5vw;
    background: rgba(245, 241, 234, 0.98);
    border: 1px solid rgba(216, 203, 184, 0.9);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-soft);
    padding: 1rem;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 20;
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    padding: 0.6rem 0.2rem;
  }

  .site-header {
    position: sticky;
  }
}



/* RESPONSIVE */

@media (max-width: 900px) {
.hero {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .hero-content {
    order: 1;
  }

  .hero-panel {
    order: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  /* make watermark less dominant on small screens */
  .hero-panel .hero-watermark {
    align-self: center;
    max-width: 60%;
    opacity: 0.06;
    margin-top: 0.5rem;
  }

  .about-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .site-header {
    padding-inline: 5vw;
  }

  .section {
    padding-inline: 5vw;
  }
}

@media (max-width: 700px) {
  .hero {
    padding: 3.5rem 5vw 3rem;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .contact-block {
    padding: 1.5rem 1.4rem;
  }

  .body-logo-bg {
    width: 120vw;
  }

  .brand-name {
    font-size: 0.95rem;
    letter-spacing: 0.07em;
    white-space: nowrap;
  }

  .logo {
    height: 60px;
  }

  /* Hide-on-scroll ska gälla även på mobil */
  .site-header {
    padding: 0.8rem 5vw;
  }

  .site-header.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
  }
}
