/* DAĞ / STUDIO: isolated styles for the homepage hero showroom. */
.dag-studio-frame {
  height: 490px;
  padding: 0;
  overflow: visible;
  border: 0;
  background: #101614;
}

.dag-studio {
  --studio-lime: #D7F53F;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  color: #F3F1EA;
  background: #101614;
  font-family: inherit;
}

.v3-hero h1 {
  font-size: clamp(42px, 4.2vw, 60px);
  line-height: 1.02;
}

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

.dag-studio__scene {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background-color: #17211e;
  background-image: linear-gradient(90deg, #0b1110a3 0%, transparent 48%),
    url("images/hero-professional-kitchen.png");
  background-position: center;
  background-size: cover;
}

.dag-studio__scene::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #08100eb8 0%, #08100e22 56%, #08100e08 100%),
    linear-gradient(0deg, #07100ee8 0%, transparent 39%),
    linear-gradient(180deg, #07100ea8 0%, transparent 25%);
  content: "";
  pointer-events: none;
}

.dag-studio__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.91) contrast(1.04);
  transition: opacity 220ms ease;
}

.dag-studio[data-image-fallback="true"] .dag-studio__image {
  opacity: 0;
}

.dag-studio__topbar {
  position: absolute;
  z-index: 5;
  top: 14px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.dag-studio__scene-switcher {
  width: min(100%, 360px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  background: #09110feb;
  backdrop-filter: blur(12px);
}

.dag-studio__scene-button {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 5px;
  border: 1px solid #ffffff30;
  color: #e5e9e2;
  background: #101614eF;
  font: inherit;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .045em;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.dag-studio__scene-button img {
  width: 42px;
  height: 36px;
  flex: 0 0 auto;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(.76) brightness(.78);
}

.dag-studio__scene-button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dag-studio__scene-button:hover,
.dag-studio__scene-button[aria-pressed="true"] {
  border-color: var(--studio-lime);
  color: var(--studio-lime);
  background: #202824f2;
}

.dag-studio__scene-button:hover img,
.dag-studio__scene-button[aria-pressed="true"] img {
  filter: saturate(.95) brightness(.98);
}

.dag-studio__scene-button:active {
  transform: translateY(1px);
}

.dag-studio__scene-title {
  position: absolute;
  z-index: 2;
  top: 72px;
  left: 16px;
  margin: 0;
  color: #f3f1ea;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .14em;
  text-shadow: 0 1px 12px #000;
}

.dag-studio__hotspots {
  position: absolute;
  z-index: 3;
  inset: 0;
  pointer-events: none;
}

.dag-studio__hotspot {
  position: absolute;
  left: var(--studio-x);
  top: var(--studio-y);
  width: 37px;
  height: 37px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border: 1px solid #e3fa77;
  border-radius: 50%;
  color: #101614;
  background: var(--studio-lime);
  box-shadow: 0 0 0 5px #d7f53f2b, 0 4px 18px #0008;
  font: 800 10px/1 var(--sans, Arial, sans-serif);
  cursor: pointer;
  pointer-events: auto;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.dag-studio__hotspot::after {
  position: absolute;
  top: 50%;
  left: calc(100% + 12px);
  width: max-content;
  max-width: 180px;
  padding: 8px 10px;
  transform: translateY(-50%) translateX(-3px);
  border: 1px solid #ffffff38;
  color: #f3f1ea;
  background: #09110ff2;
  content: attr(data-label);
  font: 600 10px/1.35 var(--sans, Arial, sans-serif);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.dag-studio__hotspot[data-side="left"]::after {
  right: calc(100% + 12px);
  left: auto;
  transform: translateY(-50%) translateX(3px);
}

.dag-studio__hotspot:hover,
.dag-studio__hotspot:focus-visible {
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: 0 0 0 7px #d7f53f3d, 0 4px 20px #000a;
}

.dag-studio__hotspot:hover::after,
.dag-studio__hotspot:focus-visible::after {
  transform: translateY(-50%);
  opacity: 1;
}

.dag-studio__footer {
  position: absolute;
  z-index: 3;
  right: 15px;
  bottom: 13px;
  left: 15px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.dag-studio__caption {
  max-width: 58%;
  color: #e0e5dc;
  font-size: 9px;
  line-height: 1.45;
  text-shadow: 0 1px 9px #000;
}

.dag-studio__caption strong {
  display: block;
  margin-bottom: 4px;
  color: var(--studio-lime);
  font-size: 8px;
  letter-spacing: .12em;
}

.dag-studio__quote-open,
.dag-studio__dialog button,
.dag-studio__dialog a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 13px;
  border: 1px solid var(--studio-lime);
  color: #101614;
  background: var(--studio-lime);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.dag-studio__quote-open:hover,
.dag-studio__dialog button:hover,
.dag-studio__dialog a:hover {
  border-color: #ebff91;
  background: #ebff91;
}

.dag-studio__quote-open span {
  min-width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--studio-lime);
  background: #111815;
  font-size: 9px;
}

.dag-studio__notice {
  position: absolute;
  z-index: 4;
  right: 14px;
  bottom: 72px;
  left: 14px;
  margin: 0;
  padding: 9px 11px;
  border: 1px solid #ffffff38;
  color: #f3f1ea;
  background: #09110fee;
  font-size: 10px;
}

.dag-studio__gallery {
  min-width: 0;
  padding: 9px 12px 11px;
  border-top: 1px solid #ffffff18;
  background: #101614;
}

.dag-studio__gallery-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: #aeb8ae;
  font-size: 8px;
  line-height: 1.2;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.dag-studio__gallery-heading span:first-child {
  overflow: hidden;
  color: var(--studio-lime);
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dag-studio__gallery-track {
  min-width: 0;
  display: flex;
  gap: 7px;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 1px 1px 3px;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scrollbar-color: #59634d #202824;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.dag-studio__gallery-card {
  min-width: 120px;
  min-height: 48px;
  flex: 0 0 clamp(120px, 22%, 145px);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 1px solid #ffffff1c;
  color: #f3f1ea;
  background: #18211d;
  font: inherit;
  text-align: left;
  scroll-snap-align: start;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.dag-studio__gallery-card:hover,
.dag-studio__gallery-card:focus-visible {
  transform: translateY(-2px);
  border-color: #d7f53f9c;
  background: #202824;
}

.dag-studio__gallery-card img {
  width: 49px;
  height: 38px;
  flex: 0 0 auto;
  display: block;
  object-fit: cover;
  filter: saturate(.82) brightness(.86);
  background: #26312b;
}

.dag-studio__gallery-card span {
  display: -webkit-box;
  overflow: hidden;
  color: #e9eee6;
  font-size: 9px;
  font-weight: 650;
  line-height: 1.3;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.dag-studio__dialog {
  width: min(520px, calc(100% - 30px));
  max-width: 520px;
  max-height: min(760px, calc(100dvh - 28px));
  padding: 0;
  overflow: auto;
  border: 1px solid #ffffff32;
  color: #f3f1ea;
  background: #111815;
  box-shadow: 0 24px 80px #000b;
}

.dag-studio__dialog::backdrop {
  background: #050908d9;
  backdrop-filter: blur(5px);
}

.dag-studio__dialog-inner {
  padding: 22px;
}

.dag-studio__dialog-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 15px;
}

.dag-studio__dialog-label {
  margin: 0 0 6px;
  color: var(--studio-lime);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .15em;
}

.dag-studio__dialog h2 {
  margin: 0;
  color: #f3f1ea;
  font-size: clamp(22px, 4vw, 30px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.dag-studio__dialog p {
  margin: 14px 0 0;
  color: #c4ccc4;
  font-size: 13px;
  line-height: 1.7;
}

.dag-studio__dialog .dag-studio__detail-image {
  width: 100%;
  height: 260px;
  display: block;
  margin: 16px 0 12px;
  object-fit: contain;
  border: 1px solid #ffffff24;
  background: #0d1210;
}

.dag-studio__dialog .dag-studio__item-description {
  margin-top: 0;
  color: #e8ede5;
  font-size: 14px;
  line-height: 1.65;
}

.dag-studio__item-usage {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 12px 14px;
  border-left: 2px solid var(--studio-lime);
  background: #ffffff08;
}

.dag-studio__item-usage span {
  color: var(--studio-lime);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .14em;
}

.dag-studio__item-usage strong {
  color: #f3f1ea;
  font-size: 12px;
  font-weight: 650;
}

.dag-studio__spec-note {
  padding: 12px 14px;
  border-left: 2px solid var(--studio-lime);
  color: #e3e8df !important;
  background: #ffffff08;
  font-size: 11px !important;
}

.dag-studio__dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 19px;
}

.dag-studio__dialog .dag-studio__close,
.dag-studio__dialog .dag-studio__remove {
  min-width: 44px;
  padding-inline: 12px;
  border-color: #ffffff52;
  color: #f3f1ea;
  background: #ffffff08;
}

.dag-studio__dialog .dag-studio__close:hover,
.dag-studio__dialog .dag-studio__remove:hover {
  border-color: #ffffffa3;
  color: #fff;
  background: #ffffff18;
}

.dag-studio__quote-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.dag-studio__quote-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #ffffff1f;
}

.dag-studio__quote-item strong,
.dag-studio__quote-item small {
  display: block;
}

.dag-studio__quote-item strong {
  color: #f3f1ea;
  font-size: 12px;
}

.dag-studio__quote-item small {
  margin-top: 3px;
  color: #aeb8ae;
  font-size: 9px;
}

.dag-studio__dialog .dag-studio__remove {
  min-height: 44px;
  padding-inline: 12px;
  font-size: 10px;
}

.dag-studio__empty {
  padding: 14px;
  border: 1px dashed #ffffff35;
  color: #c4ccc4;
  font-size: 12px;
}

.dag-studio__status {
  min-height: 18px;
  color: #dce7c5 !important;
  font-size: 10px !important;
}

.dag-studio button:focus-visible,
.dag-studio a:focus-visible,
.dag-studio__dialog button:focus-visible,
.dag-studio__dialog a:focus-visible {
  outline: 3px solid #f0ff98;
  outline-offset: 3px;
}

@media (min-width: 681px) and (max-width: 980px) {
  .header-inner {
    gap: 12px;
  }

  .brand {
    gap: 7px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 19px;
  }

  .brand-name {
    font-size: 10px;
    letter-spacing: .75px;
  }

  .brand-name small {
    font-size: 6px;
    letter-spacing: .8px;
  }

  .main-nav {
    flex-shrink: 0;
    gap: clamp(7px, 1.15vw, 11px);
  }

  .main-nav > a {
    flex-shrink: 0;
    font-size: clamp(9px, 1.08vw, 11px);
    white-space: nowrap;
  }

  .main-nav .nav-contact {
    gap: 5px;
    padding-inline: 8px;
  }

  .main-nav .nav-contact .button-icon {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 900px) {
  .dag-studio-frame {
    height: 430px;
  }

  .v3-hero h1 {
    font-size: clamp(37px, 5.1vw, 46px);
  }
}

@media (min-width: 681px) and (max-width: 780px) {
  .v3-hero-grid {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-top: 36px;
    padding-bottom: 30px;
  }

  .v3-hero-copy {
    max-width: 650px;
  }

  .dag-studio-frame {
    height: clamp(370px, 52vw, 420px);
    transform: none;
  }
}

@media (max-width: 680px) {
  .dag-studio-frame {
    height: clamp(288px, 79.5vw, 316px);
    transform: none;
  }

  .v3-hero h1 {
    font-size: clamp(34px, 9.2vw, 43px);
  }

  .dag-studio__topbar {
    top: 8px;
    left: 8px;
    right: 8px;
  }

  .dag-studio__scene-switcher {
    width: min(100%, 360px);
    gap: 4px;
  }

  .dag-studio__scene-button {
    min-height: 44px;
    gap: 5px;
    padding: 4px;
    font-size: 8px;
  }

  .dag-studio__scene-button img {
    width: 34px;
    height: 33px;
  }

  .dag-studio__scene-title {
    top: 58px;
    left: 10px;
    font-size: 8px;
  }

  .dag-studio__gallery {
    padding: 7px 8px 8px;
  }

  .dag-studio__gallery-heading {
    margin-bottom: 5px;
    font-size: 7px;
  }

  .dag-studio__gallery-card {
    min-width: 116px;
    min-height: 44px;
    flex-basis: 116px;
    gap: 6px;
    padding: 3px;
  }

  .dag-studio__gallery-card img {
    width: 43px;
    height: 35px;
  }

  .dag-studio__gallery-card span {
    font-size: 8px;
  }

  .dag-studio__hotspot {
    left: var(--studio-mobile-x, var(--studio-x));
    top: var(--studio-mobile-y, var(--studio-y));
    width: 34px;
    height: 34px;
  }

  .dag-studio__hotspot::before {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    content: "";
  }

  .dag-studio__footer {
    right: 10px;
    bottom: 10px;
    left: 10px;
    gap: 8px;
  }

  .dag-studio__caption {
    max-width: 52%;
    font-size: 8px;
  }

  .dag-studio__caption strong {
    font-size: 7px;
  }

  .dag-studio__quote-open {
    min-height: 44px;
    gap: 6px;
    padding-inline: 9px;
    font-size: 9px;
  }

  .dag-studio__dialog-inner {
    padding: 17px;
  }

  .dag-studio__dialog .dag-studio__detail-image {
    height: 220px;
  }
}

@media (max-width: 380px) {
  .dag-studio__scene-button {
    gap: 4px;
    font-size: 8px;
  }

  .dag-studio__scene-button img {
    width: 30px;
    height: 31px;
  }

  .dag-studio__caption {
    max-width: 48%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dag-studio *,
  .dag-studio *::before,
  .dag-studio *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
