.about-design .map-link {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 105px;
  padding-top: 20px;
  border-top: 1px solid #c9c9c9;
  font-size: 10px;
  letter-spacing: .12em;
  transition: opacity .2s ease;
}

.about-design .map-link::after {
  display: block;
  grid-column: 1 / -1;
  width: 100%;
  height: 165px;
  margin-top: 22px;
  background: var(--about-map-image, url("map-location.png")) center / cover no-repeat;
  content: "";
  filter: grayscale(1) contrast(.82) brightness(1.08);
  opacity: .82;
  transition: filter .35s ease, opacity .35s ease;
}

.about-design .map-link:hover::after {
  filter: grayscale(.15) contrast(.9);
  opacity: 1;
}

.about-design .map-link:hover { opacity: .55; }
.about-design .map-link i { font-size: 18px; }
.about-design .map-link small {
  display: block;
  margin-top: 7px;
  color: #888;
  font-size: 8px;
  letter-spacing: .16em;
}

.about-design .design-profile,
.about-design .design-slogan {
  max-width: 390px;
  align-self: center;
}

.about-design .design-profile small {
  display: block;
  margin-bottom: 32px;
  color: #888;
  font-size: 9px;
  letter-spacing: .2em;
}

.about-design .design-profile p {
  margin: 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: .035em;
}

.about-design .design-slogan {
  padding-left: 4vw;
  border-left: 1px solid #ccc;
}

.about-design .design-slogan p {
  margin: 0;
  font-size: 14px;
  line-height: 1.9;
}

.about-design .design-slogan p + p {
  margin-top: 34px;
  color: #777;
  font-size: 13px;
}

.about.about-design {
  display: grid;
  grid-template-columns: .75fr 1fr 1fr;
  gap: 7vw;
  min-height: 72vh;
  padding: 9vw 7vw;
  align-items: center;
  color: #333;
  background: #f2f2ef;
}

.about-design .design-heading {
  align-self: center;
}

.about-design .design-heading span {
  display: block;
  margin-bottom: 38px;
  font-size: 9px;
  letter-spacing: .2em;
}

.about-design .design-heading h2 {
  display: inline-block;
  margin: 0;
  font-size: clamp(46px, 4.6vw, 70px);
  font-weight: 300;
  line-height: 1;
  letter-spacing: .02em;
  white-space: nowrap;
}

.about-design .design-heading h2 small {
  display: block;
  margin-top: 20px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .22em;
  text-align: right;
  white-space: nowrap;
}

.about-design .design-copy {
  max-width: 360px;
  margin: 75px 0 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: .04em;
}

.about-design .design-copy-en {
  color: #666;
  font-size: 15px;
  letter-spacing: 0;
}

.work .grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 60px 24px;
}

.work .grid article,
.work .grid article:nth-child(3n),
.work .grid article:nth-child(1),
.work .grid article:nth-child(2) { grid-column: auto; }

.work .grid article img,
.work .grid article:nth-child(2n) img {
  height: auto;
  aspect-ratio: 4 / 3;
}

.work .grid article:nth-child(2) img { aspect-ratio: 4 / 3; }
.work .project-info { min-height: 118px; padding-bottom: 18px; }
.work .project-info h3 { font-size: 16px; }
.work .project-info .desc { margin-top: 12px; font-size: 11px; line-height: 1.65; }

.asset-shop {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding-top: 14px;
}

.asset-price { font-size: 16px; }
.asset-shop > div { display: flex; gap: 8px; }
.asset-shop .asset-package {
  flex-direction: column;
  gap: 4px;
}
.asset-package small {
  color: #777;
  font-size: 9px;
  letter-spacing: .06em;
}
.asset-shop button {
  padding: 8px 10px;
  border: 1px solid #ccc;
  font-size: 9px;
  letter-spacing: .05em;
  transition: .2s ease;
}
.asset-shop button:hover { color: #fff; background: #111; border-color: #111; }

.project-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 95px;
  padding-top: 26px;
  border-top: 1px solid #ccc;
}

.project-pagination button {
  padding: 8px 0;
  color: #111;
  font-size: 10px;
  letter-spacing: .12em;
}

.project-pagination button:last-child { justify-self: end; }
.project-pagination button:disabled { color: #aaa; cursor: default; }
.project-pagination > div { display: flex; gap: 9px; font-size: 10px; letter-spacing: .1em; }
.project-pagination b { font-weight: 500; }

.payment-modal {
  position: fixed;
  z-index: 100;
  inset: 0;
  display: none;
  place-items: center;
  padding: 25px;
  background: rgba(0,0,0,.55);
}
.payment-modal.open { display: grid; }
.payment-panel { position: relative; width: min(460px, 100%); padding: 45px; background: #fff; }
.payment-close { position: absolute; top: 14px; right: 18px; font-size: 24px; }
.payment-panel > small { font-size: 9px; letter-spacing: .2em; }
.payment-panel h3 { margin: 28px 0 8px; font-size: 27px; font-weight: 400; }
.payment-panel > p { color: #777; font-size: 12px; }
.payment-total { display: flex; justify-content: space-between; margin: 35px 0; padding: 20px 0; border-top: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.payment-total span { font-size: 11px; }
.payment-total strong { font-size: 24px; font-weight: 400; }
.payment-methods { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payment-methods label { padding: 13px; border: 1px solid #ddd; font-size: 12px; }
.payment-methods input { margin-right: 8px; }
.payment-submit { width: 100%; margin-top: 16px; padding: 15px; color: #fff; background: #111; font-size: 11px; letter-spacing: .1em; }
.payment-panel .payment-note { margin: 14px 0 0; font-size: 9px; line-height: 1.6; }

.contact h2 {
  margin: 42px 0 52px;
  color: #333;
  font-size: clamp(48px, 6.2vw, 92px);
  line-height: 1.08;
  letter-spacing: .055em;
}

.contact {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 8vw;
  align-items: end;
}

.contact-intro > p:first-child {
  font-size: 11px;
  letter-spacing: 2px;
}

.contact-note {
  max-width: 480px;
  color: #777;
  font-size: 13px;
  line-height: 1.8;
}

.contact-list {
  border-top: 1px solid #d7d7d7;
}

.contact-list > a,
.contact-item {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 18px;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid #d7d7d7;
  transition: opacity .2s ease;
}

.contact-list > a:hover { opacity: .55; }
.contact-list i { font-size: 19px; }
.contact-list span { font-size: 12px; letter-spacing: .04em; }
.contact-list small {
  display: block;
  margin-bottom: 5px;
  color: #888;
  font-size: 9px;
  letter-spacing: .18em;
}

.logo { flex-shrink: 0; }
header nav { gap: clamp(24px, 3vw, 52px); }
header nav a { white-space: nowrap; }

.hero.reference-hero {
  display: flex;
  min-height: 100vh;
  padding: 150px 5vw 42px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  color: #111;
  background: #fff;
}

.hero.reference-hero::before,
.hero.reference-hero::after { display: none; }

/* Keep the homepage transition clean: the carousel flows directly into works. */
.intro { display: none; }

.feature-title {
  width: min(760px, 58vw);
  margin: 0 auto 38px;
  text-align: center;
}

.feature-title h1 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2vw, 38px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -.04em;
}

.feature-title p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  letter-spacing: .08em;
}

.feature-stage {
  position: relative;
  width: min(1400px, 88vw);
  overflow: hidden;
}

.feature-stage img {
  display: block;
  width: 100%;
  height: min(66vh, 780px);
  object-fit: cover;
}

.feature-controls {
  display: none;
  grid-template-columns: 90px auto 90px;
  align-items: center;
  gap: 28px;
  width: min(760px, 58vw);
  margin-top: 18px;
}

.feature-arrow,
.feature-dot {
  appearance: none;
  border: 0;
  background: transparent;
  color: #777;
  cursor: pointer;
}

.feature-arrow {
  padding: 8px 0;
  font-size: 9px;
  letter-spacing: .18em;
  transition: color .2s ease;
}

.feature-arrow:hover { color: #111; }
.feature-prev { text-align: left; }
.feature-next { text-align: right; }

.feature-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.feature-dot {
  width: 18px;
  height: 1px;
  padding: 5px 0;
  background: linear-gradient(#ccc, #ccc) center / 100% 1px no-repeat;
}

.feature-dot.active {
  background-image: linear-gradient(#111, #111);
}

.feature-index {
  position: absolute;
  top: 45%;
  left: calc(100% + 11vw);
  width: 80px;
  margin: 0;
  color: #555;
  font-size: 11px;
  letter-spacing: .08em;
  white-space: nowrap;
}

.feature-index,
.feature-more { display: none; }

.feature-more {
  margin-top: auto;
  padding-top: 48px;
  font-size: 9px;
  letter-spacing: .42em;
}

.feature-more::after {
  display: block;
  width: 1px;
  height: 26px;
  margin: 13px auto 0;
  background: #111;
  content: "";
}

.hero {
  display: grid;
  grid-template-columns: minmax(180px, 24%) 1fr;
  gap: 7vw;
  min-height: 100vh;
  padding: 170px 6vw 70px;
  align-items: end;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: #111;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: "";
  background: url("https://images.unsplash.com/photo-1600210492486-724fe5c67fb0?auto=format&fit=crop&w=2200&q=90") center/cover no-repeat;
  transform: scale(1.015);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, rgba(0,0,0,.58), rgba(0,0,0,.13) 65%, rgba(0,0,0,.24));
}

.hero-side {
  display: flex;
  min-height: 350px;
  flex-direction: column;
  justify-content: flex-end;
  padding-right: 3vw;
  border-right: 1px solid rgba(255,255,255,.38);
}

.hero-side p { margin: 0; }
.hero-side .count { margin-bottom: auto; }
.hero-label,
.hero-place {
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: .18em;
}
.hero-place { color: rgba(255,255,255,.7); }
.hero-line {
  width: 34px;
  height: 1px;
  margin: 22px 0;
  background: #fff;
}
.hero-main { max-width: 920px; }
.hero-main .kicker { margin: 0 0 32px; }
.hero-main h1 {
  margin: 0;
  font-size: clamp(48px, 5.4vw, 82px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -.07em;
}
.hero-foot {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.55);
  font-size: 11px;
  letter-spacing: .08em;
}
.hero-foot p { margin: 0; }

.grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px 22px;
}

.grid article,
.grid article:nth-child(3n) {
  grid-column: auto;
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.grid article img,
.grid article:nth-child(2n) img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.project-info {
  display: block;
  min-height: 150px;
  padding: 18px 0 24px;
  border-bottom: 1px solid #ddd;
}

.project-info h3 {
  margin: 0 0 9px;
  font-size: 19px;
  font-weight: 500;
}

.project-info p { margin: 0; }

.project-info .meta {
  color: #888;
  font-size: 10px;
  letter-spacing: 1.5px;
}

.project-info .desc {
  max-width: 430px;
  margin-top: 18px;
  color: #555;
  font-size: 13px;
  line-height: 1.75;
  letter-spacing: .02em;
}

@media (min-width: 761px) and (max-width: 1100px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .work .grid { grid-template-columns: 1fr; gap: 55px; }
  .work .grid article,
  .work .grid article:nth-child(1),
  .work .grid article:nth-child(2),
  .work .grid article:nth-child(3n) { grid-column: auto; }
  .asset-shop { align-items: flex-start; flex-direction: column; }
  .project-pagination { margin-top: 60px; }
  .project-pagination button span { display: none; }
  .payment-panel { padding: 36px 25px 26px; }

  .contact h2 {
    margin: 30px 0 38px;
    font-size: clamp(42px, 13vw, 60px);
    letter-spacing: .035em;
  }

  .about-design .design-slogan {
    padding-top: 30px;
    padding-left: 0;
    border-top: 1px solid #ccc;
    border-left: 0;
  }
  .about-design .map-link { margin-top: 55px; }
  .about-design .map-link::after { height: 190px; }

  .about.about-design {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: auto;
    padding: 90px 7vw;
  }
  .about-design .design-heading h2 { font-size: 52px; }
  .about-design .design-heading span { margin-bottom: 25px; }
  .about-design .design-copy { margin: 0; font-size: 14px; }

  .contact {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero.reference-hero {
    display: flex;
    min-height: 100svh;
    padding: 120px 6vw 34px;
  }
  .feature-title,
  .feature-stage { width: 100%; }
  .feature-title { margin-bottom: 26px; }
  .feature-title h1 { font-size: 25px; }
  .feature-stage img { height: 48vh; }
  .feature-controls {
    grid-template-columns: 72px auto 72px;
    gap: 12px;
    width: 100%;
    margin-top: 12px;
  }
  .feature-index {
    position: static;
    margin-top: 14px;
    margin-left: auto;
    text-align: right;
  }
  .feature-more { padding-top: 28px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 55px;
    min-height: 100svh;
    padding: 120px 6vw 48px;
  }
  .hero-side {
    min-height: auto;
    padding: 0;
    border-right: 0;
  }
  .hero-side .count { margin-bottom: 30px; }
  .hero-main h1 { font-size: clamp(47px, 14vw, 66px); }
  .hero-foot { align-items: flex-start; flex-direction: column; gap: 12px; }

  .grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .project-info {
    grid-template-columns: 1fr;
    gap: 16px;
    min-height: 0;
    padding-top: 16px;
  }
}
.footer-meta {
  display: flex;
  align-items: center;
  gap: 24px;
}

footer {
  color: #fff;
  background: #111;
  border-top-color: #111;
}

footer a {
  color: inherit;
}

.work .heading {
  width: max-content;
  max-width: 100%;
  margin-right: auto;
  margin-left: auto;
}

.work .heading > span {
  display: none;
}

.work .heading h2 {
  font-size: clamp(34px, 4.2vw, 64px);
}

.feature-latest {
  display: block;
  margin-bottom: 14px;
  color: #777;
  font-size: 9px;
  letter-spacing: .34em;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 22px;
}

.header-search {
  padding: 8px;
  color: #111;
  font-size: 20px;
}

.header-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid #ddd;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
}

.header-tools #lang {
  font-size: 12px;
  line-height: 1;
  letter-spacing: .08em;
}

.site-search-panel {
  position: fixed;
  z-index: 30;
  top: 88px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 4vw;
  border-bottom: 1px solid #ddd;
  background: rgba(255,255,255,.98);
  opacity: 0;
  transform: translateY(-110%);
  transition: opacity .25s ease, transform .25s ease;
  pointer-events: none;
}

.site-search-panel.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.site-search-panel label {
  display: flex;
  align-items: center;
  gap: 15px;
  width: 100%;
}

.site-search-panel input {
  width: 100%;
  padding: 10px 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  letter-spacing: .08em;
}

.site-search-panel > button { font-size: 25px; }

@media (max-width: 760px) {
  .header-tools { gap: 8px; }
  .header-search { font-size: 17px; }
  .header-login { font-size: 8px; }
  .site-search-panel { top: 72px; }
}
