/* Drawings page styles */

.dw-hero {
  padding: clamp(140px, 16vw, 200px) clamp(24px, 7vw, 140px) clamp(48px, 6vw, 80px);
}

.dw-hero__inner {
  max-width: 1180px;
  margin: 0 auto;
  text-align: center;
}

.dw-hero__label {
  font-family: var(--avenir);
  font-size: 14px;
  letter-spacing: 0.42em;
  color: var(--accent);
}

.dw-hero__title {
  font-family: var(--mincho);
  font-weight: 400;
  font-size: clamp(24px, 3.2vw, 42px);
  letter-spacing: 0.16em;
  margin: 22px 0 20px;
}

.dw-hero__lead {
  font-family: var(--mincho);
  font-size: clamp(13px, 1.1vw, 16px);
  line-height: 2.2;
  letter-spacing: 0.1em;
  color: #43423d;
  margin: 0 auto;
  max-width: 660px;
  text-wrap: pretty;
}

.dw-list {
  padding: 0 clamp(24px, 7vw, 140px) clamp(96px, 12vw, 170px);
}

.dw-list__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(96px, 12vw, 170px);
}

.dw-item__meta {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 80px;
}

.dw-item__no {
  font-family: var(--avenir);
  font-size: 14px;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.dw-item__line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.dw-item__spec {
  font-family: var(--avenir);
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--muted);
}

.dw-item__title {
  font-family: var(--mincho);
  font-weight: 500;
  font-size: clamp(19px, 2vw, 26px);
  letter-spacing: 0.1em;
  line-height: 1.6;
  margin: 0 0 14px;
}

.dw-item__price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 0 0 22px;
}

.dw-item__price-label {
  font-family: var(--avenir);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--muted);
}

.dw-item__price {
  font-family: var(--avenir);
  font-weight: 500;
  font-size: clamp(17px, 1.8vw, 23px);
  letter-spacing: 0.02em;
  color: #2f3a5c;
}

.dw-item__price-unit {
  font-family: var(--mincho);
  font-size: 12px;
  color: var(--muted);
}

.dw-item__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(20px, 2.6vw, 40px);
}

.dw-figure {
  margin: 0;
}

.dw-figure__frame {
  background: var(--bg2);
  border: 1px solid var(--line);
  aspect-ratio: 16 / 11;
  position: relative;
  overflow: hidden;
}

.dw-figure__frame--plan {
  background: #fff;
  cursor: zoom-in;
}

.dw-figure__frame img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.dw-figure__frame--plan img {
  object-fit: contain;
  object-position: center;
}

.dw-figure__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--avenir);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: #fff;
  background: rgba(38, 38, 31, 0.62);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  padding: 8px 12px;
  pointer-events: none;
}

.dw-figure__caption {
  font-family: var(--avenir);
  font-size: 11px;
  letter-spacing: 0.24em;
  color: var(--muted);
  margin-top: 12px;
}

.dw-item__desc {
  font-family: var(--mincho);
  font-size: clamp(14px, 1.05vw, 16px);
  line-height: 2.3;
  letter-spacing: 0.06em;
  color: #43423d;
  margin: clamp(22px, 2.6vw, 32px) 0 0;
  max-width: 820px;
  text-wrap: pretty;
  text-align: justify;
  text-justify: inter-character;
}

.dw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 56px);
  background: rgba(20, 20, 18, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease;
  cursor: zoom-out;
}

.dw-lightbox[data-open="1"] {
  opacity: 1;
  visibility: visible;
}

.dw-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: #fff;
  cursor: default;
}

.dw-lightbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
  padding: 0;
}

.dw-cta .contact-cta__btn {
  font-size: 15px;
  letter-spacing: 0.22em;
  padding: 19px 52px;
}

.dw-cta .contact-cta__title {
  font-size: clamp(22px, 3vw, 38px);
  letter-spacing: 0.1em;
  line-height: 1.7;
  margin: 24px 0 26px;
}

.dw-cta .contact-cta__text {
  font-size: clamp(13px, 1.1vw, 15px);
  margin: 0 0 42px;
}
