:root {
  --tera-bg: #ebebeb;
  --tera-brown: #5a2a0d;
  --tera-dark: #1d0900;
  --tera-gold: #c89a3a;
  --tera-black: #111;
  --tera-muted: #969696;
  --tera-line: rgba(0, 0, 0, 0.33);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--tera-bg);
  color: var(--tera-black);
}

a {
  color: inherit;
}

.page-shell {
  width: min(1240px, 100% - 48px);
  margin-inline: auto;
}

.tera-header {
  padding: 0;
}

.tera-nav {
  padding: 70px 0;
}

.brand-logo {
  width: min(184px, 34vw);
  height: auto;
  display: block;
}

.project-btn {
  border: 1px solid #7a3f18;
  color: var(--tera-brown);
  border-radius: 999px;
  width: 300px;
  height: 52px;
  padding: 0 22px;
  line-height: 1.15;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  white-space: nowrap;
  background: #f0f0f0;
  transition: background-color 0.24s ease, border-color 0.24s ease, color 0.24s ease;
}

.home-page .project-btn {
  border-color: rgba(255, 255, 255, 0.92);
  color: #fff;
  background: linear-gradient(135deg, rgba(81, 81, 86, 0.9), rgba(43, 43, 46, 0.9));
}

.project-btn:hover {
  background: var(--tera-brown);
  color: #fff;
}

.home-page .project-btn:hover,
.home-page .project-btn:focus-visible {
  border-color: #fff;
  background: linear-gradient(135deg, rgba(104, 104, 112, 0.96), rgba(57, 57, 60, 0.96));
  color: #fff;
}

.menu-trigger {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
  text-decoration: none;
}

.menu-trigger.light {
  background: transparent;
}

.menu-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
}

.page-divider {
  border: 0;
  border-top: 1px solid var(--tera-line);
  margin: 0;
}

.headline-section {
  padding-block: 56px 60px;
}

.headline-main,
.headline-sub {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--tera-brown);
}

.headline-main {
  font-size: clamp(34px, 3.8vw, 58px);
  line-height: 1.05;
  font-weight: 400;
}

.headline-main strong,
.headline-sub strong {
  font-style: italic;
  font-weight: 800;
}

.headline-sub {
  margin-top: 18px;
  margin-left: clamp(0px, 14vw, 220px);
  font-size: clamp(32px, 3.5vw, 50px);
  line-height: 1.06;
  font-weight: 500;
}

.content-section {
  padding-block: 46px 90px;
}

.side-nav {
  list-style: none;
  margin: 0;
  padding: 0;
}

.side-nav li {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin-bottom: 14px;
  color: var(--tera-muted);
  font-size: clamp(24px, 1.5vw, 33px);
  font-weight: 500;
  line-height: 1.14;
}

.side-nav .no {
  display: inline-block;
  width: 20px;
  color: rgba(0, 0, 0, 0.28);
  font-size: 12px;
  font-weight: 500;
}

.side-nav li.active {
  color: #151515;
  font-weight: 600;
}

.float-up {
  width: 58px;
  height: 58px;
  background: #000;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  line-height: 1;
  margin-left: auto;
  margin-top: 110px;
}

.float-up:hover {
  color: #fff;
}

.site-footer {
  background: var(--tera-dark);
  color: #fff;
  padding-top: 60px;
  padding-bottom: 16px;
}

.footer-logo {
  width: min(251px, 46vw);
  display: block;
}

.footer-social {
  display: flex;
  gap: 4px;
  align-items: center;
}

.footer-social a {
  width: 47px;
  height: 47px;
  border: 0;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
}

.footer-social a img {
  width: 47px;
  height: 47px;
  object-fit: contain;
  display: block;
}

.footer-top {
  width: 72px;
  height: 72px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
  padding: 0;
}

.footer-top img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-phone img {
  width: 19px;
  height: 18px;
  object-fit: contain;
}

.footer-address {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-address img {
  width: 24px;
  height: 21px;
  object-fit: contain;
}

.footer-line {
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
  margin: 18px 0 11px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  padding: 30px 0;
}

.footer-bottom .center {
  flex: 1;
  text-align: center;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 1040;
  overflow-y: auto;
  overflow-x: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.36s ease, visibility 0.36s ease;
}

.menu-overlay.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.menu-overlay .bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 6, 0, 0.93), rgba(20, 6, 0, 0.88));
  transform: scale(1.03);
  opacity: 0;
  transition: transform 0.55s ease, opacity 0.4s ease;
  will-change: transform, opacity;
}

.menu-overlay.show .bg {
  transform: scale(1);
  opacity: 1;
}

.menu-overlay .inner {
  position: relative;
  min-height: 100svh;
  padding: 0;
  color: #fff;
  overflow-x: hidden;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease 0.06s, transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1) 0.06s;
  will-change: transform, opacity;
}

.menu-overlay.show .inner {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .menu-overlay,
  .menu-overlay .bg,
  .menu-overlay .inner {
    transition: none;
  }

  .overlay-links a,
  .overlay-links .no,
  .overlay-links .txt,
  .overlay-links a::after {
    transition: none;
  }
}

.menu-overlay .page-shell {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

.overlay-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 70px 0 28px;
  flex-shrink: 0;
}

.overlay-brand {
  width: min(184px, 34vw);
}

.overlay-close {
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.overlay-close .menu-icon {
  width: 52px;
  height: 52px;
}

.overlay-links {
  margin-top: 0;
}

.overlay-links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  text-decoration: none;
  color: #fff;
  margin-bottom: clamp(36px, 3.9vh, 72px);
  padding-right: 26px;
  position: relative;
  transition: transform 0.32s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.overlay-links a::after {
  content: "";
  position: absolute;
  left: 52px;
  right: 0;
  bottom: -13px;
  height: 1px;
  background: linear-gradient(90deg, rgba(221, 185, 107, 0.9), rgba(221, 185, 107, 0));
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.32s ease, opacity 0.32s ease;
}

.overlay-links .no {
  width: 34px;
  font-size: clamp(15px, 0.9vw, 22px);
  opacity: 0.82;
  line-height: 1;
  flex-shrink: 0;
  transition: color 0.26s ease, opacity 0.26s ease, transform 0.32s ease;
}

.overlay-links .txt {
  font-size: clamp(50px, 5.25vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.02em;
  font-weight: 500;
  transition: color 0.26s ease, transform 0.32s ease, text-shadow 0.32s ease;
}

.overlay-links a.active .txt {
  color: #ddb96b;
}

.overlay-links a:hover .no,
.overlay-links a:focus-visible .no,
.overlay-links a:hover .txt,
.overlay-links a:focus-visible .txt {
  color: #ddb96b;
  opacity: 1;
}

.overlay-links a:hover,
.overlay-links a:focus-visible {
  transform: translateX(10px);
}

.overlay-links a:hover::after,
.overlay-links a:focus-visible::after {
  transform: scaleX(1);
  opacity: 1;
}

.overlay-links a:hover .no,
.overlay-links a:focus-visible .no {
  transform: translateX(2px);
}

.overlay-links a:hover .txt,
.overlay-links a:focus-visible .txt {
  transform: translateX(6px);
  text-shadow: 0 8px 24px rgba(221, 185, 107, 0.24);
}

.overlay-extra {
  margin-top: 0;
}

.overlay-extra a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-size: clamp(44px, 2.85vw, 48px);
  line-height: 1.16;
  margin-bottom: clamp(20px, 2.3vh, 38px);
  font-weight: 500;
}

.overlay-extra a:hover,
.overlay-extra a:focus-visible {
  color: #ddb96b;
}

.overlay-grid {
  --bs-gutter-x: clamp(1.4rem, 3.1vw, 3.5rem);
  --bs-gutter-y: 1.3rem;
  margin: 0;
  flex: 1 1 auto;
  align-items: flex-start !important;
  padding-top: clamp(20px, 7.2vh, 96px);
}

.overlay-links a:last-child,
.overlay-extra a:last-child {
  margin-bottom: 0;
}

.overlay-grid > [class*="col-"] {
  display: flex;
  align-items: flex-start;
}

.overlay-links,
.overlay-extra {
  width: 100%;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tour-card {
  display: block;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.tour-card .gallery-img {
  display: block;
}

.tour-card .project-overlay {
  align-items: center;
  justify-content: center;
  padding: 0;
}

.tour-card:hover .project-overlay,
.tour-card:focus-visible .project-overlay {
  opacity: 1;
}

.map-box iframe {
  width: 100%;
  height: clamp(280px, 25vw, 380px);
  border: none;
}

.kv-title {
  font-size: clamp(34px, 3.2vw, 50px);
  font-weight: 500;
  line-height: 1.08;
  color: #191919;
}

.kv-title em {
  font-style: italic;
  color: var(--tera-gold);
  font-weight: 800;
}

.hero-card {
  position: relative;
  min-height: clamp(360px, 44vw, 740px);
  border-radius: 2px;
  overflow: hidden;
}

.hero-card .bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left, rgba(146, 64, 2, 0.35), rgba(24, 9, 0, 0.55) 44%, rgba(0, 0, 0, 0.62)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?q=80&w=2400&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.hero-card .overlay-content {
  position: relative;
  z-index: 1;
  color: #fff;
  min-height: inherit;
  padding: clamp(24px, 4vw, 58px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-topbar {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: flex-start;
}

.hero-title {
  max-width: 760px;
}

.hero-title h1 {
  margin: 0;
  font-size: clamp(52px, 7vw, 110px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.hero-title h1 em {
  color: var(--tera-gold);
  font-style: italic;
  font-weight: 800;
}

.hero-title p {
  margin-top: 16px;
  font-size: clamp(20px, 2vw, 34px);
  line-height: 1.3;
  max-width: 420px;
}

.hero-stats {
  text-align: right;
  min-width: 120px;
}

.hero-stats .big {
  display: block;
  font-size: clamp(58px, 5.2vw, 92px);
  line-height: 1;
  font-weight: 800;
  color: #f1cd79;
}

.hero-stats .label {
  font-size: clamp(20px, 1.7vw, 28px);
}

.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  font-size: 16px;
  opacity: 0.95;
}

.hero-bottom .meta {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
}

.slider-row {
  display: grid;
  grid-template-columns: minmax(320px, 1.7fr) repeat(3, minmax(180px, 1fr));
  gap: 8px;
}

.slider-row img {
  width: 100%;
  height: clamp(180px, 20vw, 460px);
  object-fit: cover;
}

.text-block {
  font-size: clamp(18px, 1.36vw, 25px);
  line-height: 1.55;
  font-weight: 500;
  max-width: 690px;
}

.text-block p {
  margin-bottom: 30px;
}

.contact-map iframe {
  width: 100%;
  height: clamp(260px, 24vw, 370px);
  border: 0;
}

.contact-info {
  margin-top: 28px;
}

.contact-info h3 {
  margin: 0 0 8px;
  font-size: clamp(26px, 1.8vw, 34px);
  line-height: 1.08;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-info p {
  margin: 0 0 28px;
  font-size: clamp(20px, 1.35vw, 25px);
  line-height: 1.36;
  font-weight: 500;
}

.floor-wrapper {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: center;
}

.floor-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.floor-vertical {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(34px, 2.8vw, 52px);
  font-weight: 700;
  font-style: italic;
}

.floor-image {
  width: 100%;
  max-height: 540px;
  object-fit: contain;
  background: #f6f6f6;
  padding: 18px;
}

.tab-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 60px;
  font-size: clamp(31px, 2.1vw, 44px);
  margin-top: 30px;
}

.tab-links a {
  text-decoration: none;
  color: #7b7b7b;
}

.tab-links a.active {
  color: #111;
  font-style: italic;
  font-weight: 700;
}

.project-hero {
  position: relative;
  min-height: clamp(260px, 34vw, 460px);
  overflow: hidden;
}

.project-hero .bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.46), rgba(0, 0, 0, 0.3)),
    url("https://images.unsplash.com/photo-1600585154526-990dced4db0d?q=80&w=2200&auto=format&fit=crop");
  background-size: cover;
  background-position: center;
}

.project-hero .inner {
  position: relative;
  z-index: 1;
  min-height: inherit;
  color: #fff;
  padding: clamp(18px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.project-hero h1 {
  margin: 0;
  font-size: clamp(32px, 3.9vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 500;
}

.project-hero h1 em {
  color: var(--tera-gold);
  font-style: italic;
  font-weight: 800;
}

.project-hero .stats {
  margin-top: 14px;
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.project-hero .stats .item b {
  display: block;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1;
}

.project-hero .stats .item span {
  font-size: clamp(12px, 1vw, 15px);
}

.project-detail-page {
  overflow-x: hidden;
}

.project-detail-main {
  padding-bottom: 24px;
}

.detail-hero-strip {
  background: linear-gradient(180deg, var(--tera-bg) 0 32%, var(--tera-dark) 32% 100%);
  padding: clamp(8px, 1.2vw, 18px) 0 clamp(112px, 10vw, 160px);
}

.detail-banner {
  margin: 0;
  width: min(1147px, 100%);
  margin-inline: auto;
  aspect-ratio: 1147 / 390;
  overflow: hidden;
}

.detail-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.detail-intro {
  padding-top: clamp(42px, 4.9vw, 72px);
  padding-bottom: clamp(38px, 4.8vw, 70px);
}

.detail-intro-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.detail-title {
  margin: 0;
  font-size: clamp(48px, 3.55vw, 64px);
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-weight: 500;
  color: #161616;
}

.detail-title em {
  font-style: italic;
  font-weight: 800;
}

.detail-title-sm {
  font-size: clamp(44px, 3.2vw, 58px);
  line-height: 1;
}

.detail-stats {
  display: flex;
  align-items: flex-start;
  gap: clamp(22px, 2.9vw, 44px);
  padding-top: 8px;
}

.detail-stat .num {
  display: block;
  color: #111;
  font-size: clamp(52px, 3.55vw, 76px);
  line-height: 0.92;
  font-weight: 700;
}

.detail-stat .txt {
  display: block;
  margin-top: 4px;
  font-size: clamp(12px, 0.84vw, 15px);
  color: #8b8b8b;
  line-height: 1.2;
}

.detail-intro-tools {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 18px;
  margin-top: 8px;
  margin-bottom: 12px;
}

.detail-note {
  margin: 0;
  width: min(320px, 34vw);
  color: #8e8e8e;
  font-size: clamp(12px, 0.74vw, 13px);
  line-height: 1.34;
}

.detail-nav {
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  z-index: 20;
}

.detail-gallery-wrap {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--tera-line);
}

.detail-gallery-layout {
  display: grid;
  grid-template-columns: minmax(360px, 43%) 1fr;
  gap: clamp(10px, 1.4vw, 20px);
  align-items: end;
  width: calc(100% + max(0px, (100vw - 100%) / 2));
  max-width: none;
}

.detail-gallery-feature {
  width: 100%;
}

.detail-gallery-feature-link {
  display: block;
  width: 100%;
}

.detail-gallery-feature-img {
  width: 100%;
  height: clamp(360px, 33vw, 575px);
  object-fit: cover;
  display: block;
}

.project-detail-page .detail-project-swiper,
.project-detail-page .detail-render-swiper {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.project-detail-page .detail-project-swiper .swiper-wrapper,
.project-detail-page .detail-render-swiper .swiper-wrapper {
  min-height: clamp(250px, 25.5vw, 442px);
  align-items: flex-end;
  will-change: transform;
}

.project-detail-page .detail-project-swiper .swiper-slide,
.project-detail-page .detail-render-swiper .swiper-slide {
  display: flex;
  align-items: flex-end;
  width: auto;
  transition: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.project-detail-page .detail-project-swiper .media-img,
.project-detail-page .detail-render-swiper .media-img {
  width: 100%;
  height: clamp(250px, 25.5vw, 442px);
  transition: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.detail-manifesto {
  text-align: left;
  padding-block: clamp(46px, 5.8vw, 84px) clamp(30px, 4vw, 56px);
}

.detail-manifesto-main,
.detail-manifesto-sub {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  color: #898989;
}

.detail-manifesto-main {
  font-size: clamp(34px, 3.1vw, 54px);
  line-height: 1.07;
  font-weight: 500;
}

.detail-manifesto-main strong,
.detail-manifesto-sub strong {
  color: #181818;
  font-style: italic;
  font-weight: 800;
}

.detail-manifesto-sub {
  margin-top: clamp(8px, 1.1vw, 20px);
  margin-left: clamp(26px, 10vw, 240px);
  font-size: clamp(34px, 2.85vw, 48px);
  line-height: 1.08;
  font-weight: 500;
}

.detail-plan-section {
  padding-block: clamp(18px, 3vw, 40px) clamp(40px, 5.2vw, 76px);
}

.detail-plan-grid {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: clamp(12px, 2vw, 28px);
  align-items: center;
}

.detail-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: clamp(300px, 34vw, 520px);
}

.detail-rail-top img {
  width: 109px;
  height: 109px;
}

.detail-rail-stack {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.detail-rail-bottom img {
  width: 57px;
  height: 57px;
}

.detail-rail-up img {
  width: 72px;
  height: 72px;
}

.detail-vertical-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: clamp(40px, 2.2vw, 48px);
  line-height: 1;
  letter-spacing: -0.02em;
  color: #101010;
  font-weight: 500;
}

.detail-vertical-label.plain {
  font-style: normal;
}

.detail-plan-main {
  position: relative;
  padding-right: 82px;
}

.detail-plan-swiper {
  overflow: hidden;
}

.detail-plan-swiper .swiper-slide {
  width: 100% !important;
}

.detail-plan-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 980px);
  margin-inline: auto;
  aspect-ratio: 1 / 1;
}

.project-detail-page [data-fancybox].media-link {
  position: relative;
  overflow: hidden;
}

.project-detail-page [data-fancybox].detail-plan-link {
  position: relative;
}

.project-detail-page [data-fancybox].media-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 9, 0, 0.42);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

.project-detail-page [data-fancybox].media-link::after {
  content: "+";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 3;
}

.project-detail-page [data-fancybox].media-link:hover::before,
.project-detail-page [data-fancybox].media-link:hover::after,
.project-detail-page [data-fancybox].media-link:focus-visible::before,
.project-detail-page [data-fancybox].media-link:focus-visible::after {
  opacity: 1;
}

.detail-plan-media {
  position: relative;
  display: inline-flex;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
}

.detail-plan-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(31, 9, 0, 0.24);
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 2;
}

.detail-plan-media::after {
  content: "+";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  color: #fff;
  background: rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 34px;
  line-height: 1;
  opacity: 0;
  transition: opacity 0.22s ease;
  pointer-events: none;
  z-index: 3;
}

.detail-plan-media:hover::before,
.detail-plan-media:hover::after,
.detail-plan-link:focus-visible .detail-plan-media::before,
.detail-plan-link:focus-visible .detail-plan-media::after {
  opacity: 1;
}

.detail-plan-img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.detail-plan-plus {
  position: absolute;
  right: 0;
  bottom: 14px;
}

.detail-plan-plus img {
  width: 72px;
  height: 72px;
}

.detail-render-section {
  padding-block: clamp(12px, 2.4vw, 30px) clamp(44px, 5.4vw, 80px);
}

.detail-render-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 10px;
}

.detail-note-render {
  margin-top: 10px;
}

.detail-location-section {
  padding-block: clamp(28px, 4vw, 60px) clamp(12px, 2vw, 28px);
}

.detail-location-grid {
  display: grid;
  grid-template-columns: 84px 1fr;
  gap: clamp(12px, 2vw, 28px);
  align-items: start;
}

.detail-location-rail {
  min-height: clamp(220px, 23vw, 340px);
  justify-content: flex-start;
  gap: clamp(24px, 4.2vw, 46px);
}

.detail-map iframe {
  height: clamp(220px, 20vw, 300px);
  filter: grayscale(1);
}

.detail-links-row {
  margin-top: clamp(18px, 2.4vw, 34px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.detail-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px clamp(26px, 4.2vw, 72px);
}

.detail-links a {
  text-decoration: none;
  color: #898989;
  font-size: clamp(27px, 2vw, 41px);
  line-height: 1.04;
  font-weight: 400;
}

.detail-links a strong {
  color: #151515;
  font-style: italic;
  font-weight: 800;
}

.detail-links-top img {
  width: 72px;
  height: 72px;
}

.home-page {
  background: #000;
}

.home-swiper {
  height: 100svh;
}

.home-slide {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
}

.home-slide .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-slide .bg-desktop {
  background-image: url("../../images/slider.jpg");
}

.home-slide .bg-mobile {
  display: none;
  background-image: url("../../images/slider.jpg");
}

.home-slide .content {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  color: #fff;
  display: flex;
  flex-direction: column;
  padding-top: 0;
  padding-bottom: 22px;
}

.home-main {
  flex: 1;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(78px, 10vh, 132px);
}

.home-copy {
  max-width: clamp(260px, 22vw, 430px);
}

.home-caption {
  margin: 0 0 24px;
  font-size: clamp(16px, 1.05vw, 21px);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.home-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 162px;
  min-height: 62px;
  padding: 10px 20px;
  background: #edc86f;
  color: #20190f;
  text-decoration: none;
  font-size: clamp(14px, 0.94vw, 18px);
  font-weight: 600;
  line-height: 1;
}

.home-detail-link:hover {
  color: #20190f;
  background: #f2d47f;
}

.home-stats-rail {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-28%);
  width: clamp(230px, 14.8vw, 335px);
  z-index: 3;
}

.home-stats-rail .big {
  display: block;
  color: #f1cd78;
  font-size: clamp(48px, 4.2vw, 90px);
  line-height: 0.92;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.home-stats-rail .small {
  display: block;
  margin-top: 6px;
  color: #fff;
  font-size: clamp(16px, 1.2vw, 31px);
  line-height: 1.2;
  font-weight: 400;
}

.home-stats-rail .line {
  display: block;
  width: 100%;
  height: 4px;
  background: #f0cd77;
  margin: 24px 0 20px;
}

.home-meta {
  margin-top: auto;
}

.home-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: clamp(11px, 0.68vw, 14px);
  line-height: 1.2;
  opacity: 0.94;
}

.home-bottom .footer-phone img {
  width: 18px;
  height: 17px;
}

.home-bottom .footer-address img {
  width: 23px;
  height: 20px;
}

.home-swiper .swiper-pagination {
  display: none;
}

.section-title {
  color: #111;
  margin: 0 0 14px;
  font-size: clamp(28px, 2.5vw, 46px);
  line-height: 1.08;
  font-weight: 500;
}

.section-title em {
  font-style: italic;
  font-weight: 800;
}

.media-swiper {
  overflow: visible;
}

.media-swiper .swiper-slide {
  height: auto;
  width: clamp(220px, 18vw, 330px);
  transition: width 0.35s ease;
}

.media-swiper .swiper-slide.is-featured {
  width: clamp(320px, 28vw, 520px);
}

.media-swiper .media-link {
  display: block;
  text-decoration: none;
}

.media-swiper .media-img {
  width: 100%;
  height: clamp(190px, 22vw, 370px);
  object-fit: cover;
  transition: height 0.35s ease, transform 0.35s ease;
}

.edge-right {
  width: calc(100% + 28vw);
  max-width: none;
}

.project-list-page .media-swiper,
.project-list-page .edge-right {
  overflow: hidden;
}

.project-list-page {
  overflow-x: hidden;
}

.project-list-page .media-swiper .swiper-wrapper {
  min-height: var(--featured-h, clamp(360px, 29vw, 520px));
  align-items: flex-end;
}

.project-list-page .media-swiper .swiper-slide {
  display: flex;
  align-items: flex-end;
}

.swiper-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 14px;
  gap: 12px;
}

.progress-toolbar {
  margin-bottom: 16px;
}

.swiper-toolbar-side {
  display: flex;
  align-items: flex-end;
  gap: 18px;
}

.progress-toolbar .swiper-toolbar-side {
  margin-right: clamp(8px, 1.6vw, 30px);
}

.progress-toolbar .swiper-caption {
  margin-bottom: 6px;
}

.swiper-caption {
  margin: 0;
  width: min(320px, 40vw);
  color: #8c8c8c;
  font-size: clamp(12px, 0.78vw, 14px);
  line-height: 1.34;
  font-weight: 400;
}

.completed-toolbar {
  margin-bottom: 16px;
  display: grid;
  grid-template-columns: minmax(280px, 380px) 1fr;
  align-items: end;
  column-gap: clamp(26px, 4vw, 72px);
}

.completed-copy {
  max-width: 380px;
}

.completed-copy .swiper-caption {
  width: min(300px, 100%);
}

.completed-nav {
  justify-self: start;
  margin-left: clamp(120px, 14vw, 300px);
  margin-bottom: 4px;
}

.swiper-nav {
  display: flex;
  gap: 4px;
}

.js-progress-swiper .swiper-slide.is-featured {
  width: clamp(430px, 33vw, 570px);
}

.js-completed-swiper .swiper-slide.is-featured {
  width: clamp(400px, 31vw, 540px);
}

.project-list-page .media-swiper .media-link {
  height: auto;
  display: block;
  position: relative;
  overflow: hidden;
}

.project-list-page .media-swiper .media-img {
  height: clamp(240px, 19vw, 350px);
}

.project-list-page .js-progress-swiper .swiper-slide.is-featured .media-img {
  height: clamp(360px, 29vw, 520px);
}

.project-list-page .js-completed-swiper .swiper-slide.is-featured .media-img {
  height: clamp(340px, 27vw, 500px);
}

.project-list-page .js-progress-swiper {
  --featured-h: clamp(360px, 29vw, 520px);
}

.project-list-page .js-completed-swiper {
  --featured-h: clamp(340px, 27vw, 500px);
}

.project-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: clamp(14px, 1.5vw, 24px);
  background: linear-gradient(90deg, rgba(31, 9, 0, 0.8), rgba(31, 9, 0, 0.58));
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.media-link:hover .project-overlay,
.media-link:focus-visible .project-overlay {
  opacity: 1;
}

.project-name {
  color: #fff;
  font-size: clamp(16px, 1.15vw, 24px);
  line-height: 1.15;
  font-weight: 500;
  letter-spacing: -0.01em;
}

.arrow-btn {
  border: 0;
  background: transparent;
  padding: 0;
  width: auto;
  height: auto;
  line-height: 1;
}

.arrow-btn img {
  width: 57px;
  height: 57px;
  object-fit: contain;
  display: block;
}

.arrow-btn.right img {
  width: 72px;
  height: 72px;
}

.pd-plan .media-img {
  object-fit: contain;
  background: #f6f6f6;
  padding: 14px;
}

@media (max-width: 991.98px) {
  .page-shell {
    width: min(1240px, 100% - 24px);
  }

  .tera-header {
    padding: 0;
  }

  .tera-nav {
    padding: 32px 0;
  }

  .project-btn {
    width: auto;
    min-width: 188px;
    height: 42px;
    padding: 0 14px;
    font-size: 11px;
  }

  .menu-trigger {
    width: 42px;
    height: 42px;
  }

  .menu-icon {
    width: 42px;
    height: 42px;
  }

  .headline-section {
    padding-block: 28px 34px;
  }

  .headline-main,
  .headline-sub {
    font-size: clamp(24px, 7vw, 38px);
  }

  .headline-sub {
    margin-left: 0;
  }

  .content-section {
    padding-block: 24px 38px;
  }

  .side-nav li {
    font-size: 27px;
  }

  .float-up {
    margin-top: 28px;
    width: 46px;
    height: 46px;
    font-size: 34px;
  }

  .footer-top {
    width: 52px;
    height: 52px;
  }

  .footer-top img {
    width: 52px;
    height: 52px;
  }

  .footer-social a,
  .footer-social a img {
    width: 36px;
    height: 36px;
  }

  .footer-bottom {
    justify-content: flex-start;
  }

  .footer-bottom .center {
    flex-basis: 100%;
    text-align: left;
  }

  .overlay-links .no {
    font-size: 12px;
    width: 22px;
  }

  .overlay-links .txt {
    font-size: clamp(34px, 11vw, 54px);
    line-height: 1.02;
  }

  .overlay-extra a {
    font-size: clamp(30px, 8.5vw, 44px);
    line-height: 1.14;
    margin-bottom: 16px;
  }

  .overlay-close,
  .overlay-close .menu-icon {
    width: 42px;
    height: 42px;
  }

  .overlay-topbar {
    padding: 32px 0 18px;
  }

  .overlay-grid {
    flex: 0 0 auto;
    margin-top: 10px;
    padding-top: 0;
  }

  .overlay-links a {
    margin-bottom: 28px;
  }

  .overlay-links a::after {
    left: 40px;
  }

  .overlay-extra {
    margin-top: 12px;
  }

  .hero-card .overlay-content {
    padding: 18px;
  }

  .hero-topbar {
    flex-direction: column;
  }

  .hero-title h1 {
    font-size: clamp(42px, 11vw, 56px);
  }

  .hero-title p {
    font-size: 18px;
  }

  .hero-stats {
    text-align: left;
    display: flex;
    gap: 24px;
  }

  .hero-stats .big {
    font-size: 42px;
  }

  .hero-stats .label {
    font-size: 16px;
  }

  .hero-bottom {
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
    gap: 12px;
  }

  .slider-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .slider-row img {
    height: 170px;
  }

  .slider-row img:first-child {
    grid-column: 1 / -1;
    height: 240px;
  }

  .floor-wrapper {
    grid-template-columns: 1fr;
  }

  .floor-side {
    flex-direction: row;
    justify-content: flex-start;
  }

  .floor-vertical {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 36px;
  }

  .tab-links {
    gap: 8px 24px;
    font-size: 26px;
  }

  .detail-hero-strip {
    background: linear-gradient(180deg, var(--tera-bg) 0 34%, var(--tera-dark) 34% 100%);
    padding-top: 8px;
    padding-bottom: 62px;
  }

  .detail-intro {
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .detail-intro-head {
    flex-direction: column;
    gap: 12px;
  }

  .detail-title,
  .detail-title-sm {
    font-size: clamp(40px, 10.4vw, 54px);
  }

  .detail-stats {
    gap: 20px;
  }

  .detail-stat .num {
    font-size: 38px;
  }

  .detail-stat .txt {
    font-size: 11px;
  }

  .detail-intro-tools {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 12px;
  }

  .detail-note {
    width: 100%;
    max-width: 320px;
    font-size: 11px;
  }

  .detail-manifesto {
    padding-block: 30px 26px;
  }

  .detail-manifesto-main,
  .detail-manifesto-sub {
    font-size: clamp(26px, 7vw, 34px);
  }

  .detail-manifesto-sub {
    margin-left: 0;
  }

  .detail-plan-grid,
  .detail-location-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .detail-rail,
  .detail-location-rail {
    min-height: 0;
    flex-direction: row;
    justify-content: flex-start;
    gap: 14px;
    align-items: center;
  }

  .detail-rail-stack {
    flex-direction: row;
  }

  .detail-rail-top img {
    width: 82px;
    height: 82px;
  }

  .detail-rail-bottom img {
    width: 57px;
    height: 57px;
  }

  .detail-rail-up img {
    width: 72px;
    height: 72px;
  }

  .detail-vertical-label {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 34px;
  }

  .detail-plan-main {
    padding-right: 0;
    padding-bottom: 56px;
  }

  .detail-plan-plus {
    right: 0;
    bottom: 0;
  }

  .detail-map iframe {
    height: 220px;
  }

  .detail-links a {
    font-size: clamp(22px, 7vw, 30px);
  }

  .detail-links-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .project-detail-page .detail-project-swiper .swiper-slide,
  .project-detail-page .detail-render-swiper .swiper-slide {
    width: auto;
  }

  .detail-gallery-layout {
    grid-template-columns: minmax(0, 60%) minmax(0, 40%);
    gap: 8px;
    width: 100%;
  }

  .detail-gallery-feature-img {
    height: 220px;
  }

  .project-detail-page .detail-project-swiper .media-img,
  .project-detail-page .detail-render-swiper .media-img {
    height: 180px;
  }

  .contact-info {
    margin-top: 18px;
  }

  .contact-info h3 {
    font-size: 23px;
  }

  .contact-info p {
    font-size: 18px;
    margin-bottom: 18px;
  }

  .home-slide .content {
    padding-bottom: 14px;
  }

  .home-slide .bg-desktop {
    display: none;
  }

  .home-slide .bg-mobile {
    display: block;
  }

  .home-main {
    align-items: flex-end;
    padding-bottom: 84px;
  }

  .home-copy {
    max-width: 268px;
  }

  .home-caption {
    font-size: 13px;
    margin-bottom: 14px;
  }

  .home-detail-link {
    min-width: 124px;
    min-height: 46px;
    font-size: 13px;
  }

  .home-stats-rail {
    width: 140px;
    top: auto;
    bottom: 128px;
    transform: none;
    right: 12px;
  }

  .home-stats-rail .big {
    font-size: 36px;
  }

  .home-stats-rail .small {
    font-size: 11px;
  }

  .home-stats-rail .line {
    height: 2px;
    margin: 10px 0;
  }

  .home-bottom {
    flex-direction: column;
    text-align: left;
    align-items: flex-start;
    font-size: 10px;
  }

  .home-page .home-bottom .footer-phone,
  .home-page .home-bottom .footer-address {
    display: none;
  }

  .section-title {
    font-size: clamp(24px, 6vw, 34px);
  }

  .swiper-toolbar {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }

  .swiper-toolbar-side {
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .swiper-caption {
    width: min(100%, 270px);
    font-size: 11px;
  }

  .completed-toolbar {
    display: flex;
    width: 100%;
  }

  .completed-nav {
    margin-left: 0;
    margin-bottom: 0;
  }

  .media-swiper .media-img {
    height: 190px;
  }

  .project-list-page .media-swiper .media-img,
  .project-list-page .js-progress-swiper .swiper-slide.is-featured .media-img,
  .project-list-page .js-completed-swiper .swiper-slide.is-featured .media-img {
    height: 190px;
  }

  .media-swiper .swiper-slide,
  .media-swiper .swiper-slide.is-featured {
    width: 74vw;
  }

  .edge-right {
    width: 100%;
  }

  .arrow-btn img {
    width: 44px;
    height: 44px;
  }

  .arrow-btn.right img {
    width: 52px;
    height: 52px;
  }
}
