@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --black: #101010;
  --panel: #181818;
  --white: #f7f7f5;
  --silver: #b8b8b8;
  --muted: #929292;
  --line: #343434;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

.site {
  max-width: 1600px;
  margin: auto;
  overflow: hidden;
}

.navbar {
  min-height: 88px;
  padding: 22px 7%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.logo {
  font-family: 'Manrope', sans-serif;
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -2px;
}

.logo span {
  color: var(--silver);
  font-size: 13px;
  vertical-align: top;
  margin-left: 4px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a, .nav-cta {
  font-size: 12px;
  color: #c7c7c7;
  transition: color .2s;
}

nav a:hover, .nav-cta:hover {
  color: white;
}

.nav-cta {
  border: 1px solid #777;
  padding: 13px 17px;
}

.hero {
  position: relative;
  min-height: 630px;
  padding: 100px 9% 95px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 50px;
  background:
    radial-gradient(ellipse at 82% 45%, #292929 0%, transparent 43%);
}

.eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  color: var(--silver);
  font-weight: 700;
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(45px, 6vw, 76px);
  line-height: 1.08;
  letter-spacing: -4px;
  margin: 30px 0 24px;
}

.hero h1 span,
.intro h2 span,
.section-heading h2 span,
.process h2 span,
.contact h2 span {
  color: var(--silver);
}

.hero-text {
  color: var(--muted);
  max-width: 430px;
  font-size: 14px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 25px;
  margin-top: 32px;
}

.button {
  display: inline-block;
  padding: 16px 22px;
  border: 1px solid var(--white);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: .2s;
}

.button-light {
  background: var(--white);
  color: var(--black);
}

.button-light:hover {
  background: #c9c9c9;
  border-color: #c9c9c9;
}

.text-link {
  color: #ccc;
  font-size: 12px;
}

.hero-visual {
  position: relative;
  max-width: 450px;
  width: 100%;
  justify-self: center;
}

.visual-frame {
  min-height: 380px;
  border: 1px solid #505050;
  padding: 18px;
  background: linear-gradient(145deg, #272727, #111 75%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.visual-top, .visual-bottom {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: #aaa;
  font-size: 8px;
  letter-spacing: 1.5px;
}

.visual-center {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-monogram {
  z-index: 1;
  font-family: 'Manrope', sans-serif;
  font-size: clamp(90px, 12vw, 150px);
  font-weight: 800;
  letter-spacing: -13px;
  color: #ededeb;
  text-shadow: 0 0 55px #ffffff18;
}

.orbit {
  position: absolute;
  width: 235px;
  height: 235px;
  border: 1px solid #666;
  border-radius: 50%;
  transform: rotate(-30deg) scaleY(.6);
}

.orbit-two {
  width: 285px;
  height: 285px;
  transform: rotate(55deg) scaleY(.6);
  border-color: #3d3d3d;
}

.visual-caption {
  position: absolute;
  bottom: 16px;
  font-size: 8px;
  letter-spacing: 4px;
  color: #bdbdbd;
}

.side-note {
  text-align: right;
  color: #777;
  font-size: 8px;
  letter-spacing: 3px;
}

.hero-index {
  position: absolute;
  bottom: 28px;
  left: 9%;
  color: #777;
  font-size: 9px;
  letter-spacing: 2px;
}

.intro {
  padding: 105px 12%;
  background: #f0f0ed;
  color: #141414;
}

.intro .eyebrow {
  color: #666;
}

.intro h2, .section-heading h2, .process h2, .contact h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(32px, 4.5vw, 54px);
  line-height: 1.2;
  letter-spacing: -2px;
  font-weight: 600;
  margin: 25px 0;
}

.intro h2 span {
  color: #777;
}

.intro > p:last-child {
  max-width: 600px;
  line-height: 1.9;
  color: #626262;
  font-size: 14px;
}

.services {
  padding: 100px 8%;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.section-heading > p {
  color: var(--muted);
  font-size: 12px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  border: 1px solid var(--line);
  padding: 30px;
  min-height: 245px;
  background: linear-gradient(135deg, #191919, #121212);
  transition: border-color .25s, transform .25s;
}

.service-card:hover {
  border-color: #999;
  transform: translateY(-4px);
}

.number {
  color: #929292;
  font-size: 9px;
  letter-spacing: 2px;
}

.service-icon {
  margin-top: 22px;
  font-size: 27px;
  color: #d5d5d5;
}

.service-card h3 {
  font-size: 19px;
  font-weight: 500;
  margin: 18px 0 10px;
}

.service-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
  max-width: 390px;
}

.service-card a {
  display: inline-block;
  margin-top: 13px;
  font-size: 11px;
  color: #ddd;
}

.process {
  background: #1b1b1b;
  padding: 95px 8%;
}

.process h2 {
  margin-bottom: 45px;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.process-grid > div {
  border-top: 1px solid #515151;
  padding-top: 20px;
}

.process-grid span {
  color: #aaa;
  font-size: 11px;
}

.process-grid h3 {
  font-size: 18px;
  font-weight: 500;
}

.process-grid p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.8;
}

.contact {
  padding: 105px 8%;
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 70px;
  background: #111;
}

.contact h2 {
  font-size: clamp(36px, 4.5vw, 56px);
}

.contact-copy > p:not(.eyebrow) {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.contact-detail {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 16px;
}

.contact-detail span {
  color: #aaa;
  font-size: 9px;
  letter-spacing: 2px;
}

.contact-detail p {
  font-size: 12px;
  color: #ddd;
}

#contact-form {
  display: grid;
  gap: 10px;
}

#contact-form label {
  margin-top: 10px;
  font-size: 11px;
  color: #ddd;
}

#contact-form input,
#contact-form select,
#contact-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #414141;
  background: #191919;
  color: white;
  border-radius: 0;
  padding: 15px;
  outline: none;
  font-size: 12px;
}

#contact-form input:focus,
#contact-form select:focus,
#contact-form textarea:focus {
  border-color: #bdbdbd;
}

#contact-form input::placeholder,
#contact-form textarea::placeholder {
  color: #777;
}

#contact-form select option {
  background: #191919;
}

#contact-form textarea {
  resize: vertical;
}

.submit-button {
  margin-top: 15px;
  justify-self: start;
}

.form-note {
  color: #888;
  font-size: 10px;
  line-height: 1.6;
}

#form-feedback {
  color: #e0e0e0;
  font-size: 12px;
  line-height: 1.8;
  overflow-wrap: anywhere;
}

footer {
  border-top: 1px solid var(--line);
  padding: 30px 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

footer p, footer > a:last-child {
  color: #999;
  font-size: 9px;
  letter-spacing: 1px;
}

@media (max-width: 760px) {
  .navbar {
    padding: 20px 5%;
    flex-wrap: wrap;
  }

  nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .nav-cta {
    font-size: 10px;
    padding: 10px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 75px 7%;
    gap: 40px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-visual {
    max-width: 100%;
  }

  .visual-frame {
    min-height: 330px;
  }

  .hero-index {
    display: none;
  }

  .intro, .services, .process, .contact {
    padding: 70px 7%;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .service-grid, .process-grid, .contact {
    grid-template-columns: 1fr;
  }

  .contact {
    gap: 35px;
  }

  footer {
    flex-wrap: wrap;
  }
} .whatsapp-button {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  padding: 15px 20px;
  background: #f7f7f5;
  color: #101010;
  border: 1px solid #b8b8b8;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 30px #0005;
  transition: transform .2s, background .2s;
}

.whatsapp-button:hover {
  transform: translateY(-3px);
  background: #d8d8d5;
}

@media (max-width: 600px) {
  .whatsapp-button {
    right: 14px;
    bottom: 14px;
  }
} /* KB STUDIO — PORTFÖY */

.portfolio {
  padding: 100px 8%;
  background: #f0f0ed;
  color: #111;
}

.portfolio .eyebrow {
  color: #686868;
}

.portfolio-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 35px;
  margin-bottom: 42px;
}

.portfolio-heading h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.15;
  letter-spacing: -2px;
  margin: 22px 0 0;
}

.portfolio-heading h2 span {
  color: #777;
}

.portfolio-intro {
  max-width: 300px;
  color: #666;
  font-size: 12px;
  line-height: 1.9;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.portfolio-item {
  position: relative;
  display: block;
  height: 330px;
  overflow: hidden;
  background: #d5d5d2;
  color: #fff;
  isolation: isolate;
}

.portfolio-item.portfolio-large {
  height: 430px;
  grid-row: span 2;
}

.portfolio-item.portfolio-wide {
  grid-column: span 2;
  height: 320px;
}

.portfolio-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.65);
  transition: transform .6s ease, filter .4s ease;
}

.portfolio-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(
    180deg,
    transparent 35%,
    #000a 100%
  );
}

.portfolio-item:hover img {
  transform: scale(1.045);
  filter: saturate(.9);
}

.portfolio-overlay {
  position: absolute;
  z-index: 1;
  left: 24px;
  right: 24px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

.portfolio-overlay > span:first-child {
  font-size: 9px;
  letter-spacing: 2px;
  color: #e1e1e1;
}

.portfolio-overlay strong {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(18px, 2.4vw, 27px);
  font-weight: 600;
}

.portfolio-arrow {
  position: absolute;
  right: 0;
  bottom: 0;
  border: 1px solid #ffffff99;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  font-size: 18px;
}

.portfolio-footer {
  margin-top: 35px;
  padding-top: 22px;
  border-top: 1px solid #ccc;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.portfolio-footer p {
  color: #777;
  font-size: 9px;
  letter-spacing: 2px;
}

.portfolio-footer a {
  color: #222;
  font-size: 12px;
}

.portfolio-footer a:hover {
  color: #777;
}

@media (max-width: 650px) {
  .portfolio {
    padding: 70px 7%;
  }

  .portfolio-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-item,
  .portfolio-item.portfolio-large,
  .portfolio-item.portfolio-wide {
    grid-column: auto;
    grid-row: auto;
    height: 320px;
  }

  .portfolio-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}