/* --- Reset & Base --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: var(--font-body);
  background: #fff;
  color: #000;
  line-height: 1.4;
  font-weight: 400;
  font-size: 16px;
  cursor: auto;
}

.skiplink {
  position: absolute;
  left: -9999px;
}
.skiplink:focus {
  position: static;
  background: #fff;
  padding: .5rem;
  border: 1px solid #a0a0a0;
}

/* --- Variables --- */
:root {
  --container: min(1200px, 90%);
  --gap: 2rem;
  --accent: #000;
  --text-light: #666;
  --border: #a0a0a0;

  /* ---- Font Stacks ---- */
  --font-body: 'Neue Haas Grotesk Text', 'Helvetica Neue', Arial, sans-serif;
  --font-title: 'bricolage-grotesque', sans-serif;
}

/* --- Container Helper --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1rem;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-title);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}
h1 { font-size: 3rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }

/* --- Header (full-bleed) --- */
.site-header {
  width: 100%;
  background: transparent;       /* fjernet hvid baggrund */
  position: fixed;
  top: 0;
  z-index: 100;
  border-bottom: none;           /* fjernet sorte streg */
  transition: transform .4s ease, opacity .4s ease;
}
.site-header.hidden {
  transform: translateY(-100%);
  opacity: 0;
}
.site-header .header-inner {
  max-width: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}

/* logo + nav */
.logo {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  color: #000;
}
.main-nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}
.main-nav a {
  text-decoration: none;
  color: #000;
  font-size: .9rem;
  font-weight: 400;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.main-nav a:hover {
  border-bottom: 1px solid var(--border);
}

/* --- Hero Carousel (inside container) --- */
.hero {
  margin: 120px 0 6rem;
}
.hero-inner.container {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #f5f5f5;
}
.hero-container {
  width: 100%;
  height: 100%;
  position: relative;
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.hero-slide.current {
  opacity: 1;
}
.hero-counter {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: #fff;
  padding: .5rem 1rem;
  font-size: .8rem;
  font-weight: 400;
  border: 1px solid var(--border);
}

/* --- Projects Section (inside container) --- */
.projects-section.container {
  margin: 4rem auto;
}

.section-title {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #000;
  font-weight: 400;
  text-align: center;
}
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1rem;
  width: 100%;
  justify-items: center;
}
.project {
  position: relative;
  background: #fff;
  overflow: hidden;
}
.project img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter .2s ease;
}
.project:hover img {
  filter: grayscale(0%);
}
.project .cap {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: .5rem;
  background: #fff;
  color: #000;
  text-align: center;
  font-size: .8rem;
  font-weight: 400;
  border-top: 1px solid var(--border);
}
.project-info {
  position: absolute;
  top: .5rem;
  left: .5rem;
  background: #fff;
  padding: .25rem .5rem;
  font-size: .7rem;
  color: #000;
  border: 1px solid var(--border);
}

/* --- Divider --- */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4rem 0;
}

/* --- Studio + Instagram (inside container) --- */
.studio-social.container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
  align-items: start;
}
.text-col h2 {
  margin-bottom: 1rem;
  color: #000;
  font-weight: 400;
}
.text-col h3 {
  margin: 2rem 0 1rem;
  color: #000;
  font-weight: 400;
}
.studio-intro {
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1rem;
  color: #000;
}
.studio-intro b {
  font-weight: 500;
}
#services-list {
  list-style: none;
  padding-left: 0;
}
#services-list li {
  margin-bottom: .5rem;
  line-height: 1.4;
  font-size: .9rem;
  color: #000;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: .5rem;
}
.journal {
  background: #fff;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}
.journal h2 {
  padding: 1rem;
  font-size: 1.2rem;
  color: #000;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-weight: 400;
}
.insta-iframe {
  width: 100%;
  height: 600px;
  border: none;
  display: block;
}

/* --- Footer (full-bleed) --- */
.site-footer {
  width: 100%;
  background: transparent;   /* fjernet hvid baggrund */
  border-top: none;          /* fjernet sorte streg */
  position: sticky;
  bottom: 0;
  z-index: 50;
  transition: transform .4s ease, opacity .4s ease;
}
.site-footer.hidden {
  transform: translateY(100%);
  opacity: 0;
}
.site-footer .footer-inner {
  max-width: none;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
}
.social-nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.social-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 400;
  font-size: .9rem;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
}
.social-nav a:hover {
  border-bottom: 1px solid var(--border);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .studio-social.container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .journal {
    position: static;
  }
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .main-nav ul {
    gap: 1rem;
  }
  h1 { font-size: 2rem; }
  h2 { font-size: 1.2rem; }
}
@media (max-width: 480px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
}
